/* ---------------------------------------------------------
   Tenosimbra Art Invest – style.css
   Modern gradient_modern design, responsive, flexbox only
------------------------------------------------------------*/
/* --- CSS RESET & NORMALIZE --- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* Remove list style & quotes */
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
/* Set base font, color, body bg */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f5f3f0;
  color: #233148;
  line-height: 1.6;
  transition: background 0.4s;
}
a {
  color: #233148;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #BDB06B;
  outline-offset: 3px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- BRAND VARIABLES (with fallback) --- */
:root {
  --primary: #233148;
  --secondary: #BDB06B;
  --accent: #F5F3F0;
  --gradient-from: #233148;
  --gradient-to: #BDB06B;
  --gradient-accent: #f7f2d0;
  --radius: 18px;
  --shadow: 0 4px 32px 0 rgba(34,49,72,0.11);
  --focus: #BDB06B;
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.17;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
p, li, dd {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #233148;
  margin-bottom: 14px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 600;
  color: var(--primary);
}
blockquote {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  background: var(--gradient-accent);
  border-left: 4px solid var(--secondary);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
dt {
  font-weight: bold;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 16px;
}
dd {
  margin-left: 12px;
  margin-bottom: 10px;
}

/* --- LAYOUT WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- FLEXBOX PATTERNS (MANDATORY) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  flex: 1 1 350px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(34,49,72,0.18);
  transform: translateY(-4px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f2d0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-bios > div {
  background: #f7f2d0;
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: 0 2px 10px 0 rgba(34,49,72,0.07);
  flex: 1 1 260px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

/* --- HERO & FEATURE SECTIONS --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 40%, #aa9566 100%);
  color: #fff;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 32px 0 rgba(34,49,72,0.095);
}
.hero .container {
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero h1, .hero h2 {
  color: #fff;
}
.hero p {
  color: #f7f2d0;
}

.features ul, .values ul, .about-artists ul, .artist-support ul, .services ul, .investment-benefits ul, .process-overview ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features ul li,
.values ul li,
.about-artists ul li,
.artist-support ul li,
.services ul li,
.investment-benefits ul li,
.process-overview ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
}
.features ul img,
.values ul img {
  width: 32px;
  min-width: 32px;
  height: 32px;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.99rem;
  color: var(--primary);
  background: #fffbe3;
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 2px 6px 0 rgba(189,176,107,0.07);
}
.trust-badges img {
  width: 28px; height: 28px;
}

/* Map section for Kontakt page */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f7f2d0;
  border-radius: var(--radius);
  padding: 26px 18px;
  margin-top: 10px;
}
.map-placeholder img {
  width: 84px;
  margin-bottom: 16px;
}

/* --- BUTTONS & CTA --- */
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #233148 60%, #BDB06B 100%);
  border: 0;
  border-radius: var(--radius);
  padding: 14px 34px;
  box-shadow: 0 2px 14px 0 rgba(34,49,72,0.16);
  cursor: pointer;
  transition: background 0.36s, transform 0.16s, box-shadow 0.22s;
  margin-top: 8px;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #BDB06B 60%, #233148 100%);
  color: #233148;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(189,176,107,0.19);
}

/* --- HEADER & TOP NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,49,72,0.06);
  position: relative;
  width: 100%;
  z-index: 6;
}
header .container, header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
header a img {
  height: 46px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-left: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 0;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
header .cta-btn {
  margin-left: 28px;
}

/* --- MOBILE NAV & BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  margin-left: 20px;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
  outline: 2px solid var(--focus);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 97vw;
  background: linear-gradient(120deg, #233148 80%, #BDB06B 100%);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.85,.13,.32,1.21), box-shadow 0.2s;
  z-index: 120;
  box-shadow: 0 0 40px 0 rgba(34,49,72,0.17);
  padding: 0 0 30px 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 22px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 125;
  padding: 5px 7px;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: var(--secondary);
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 80px;
  gap: 18px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 13px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.19s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #BDB06B;
  color: #233148;
  outline: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  header .cta-btn {
    padding: 10px 16px;
    font-size: 1rem;
    margin-left: 17px;
  }
}
@media (max-width: 870px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    display: none;
  }
}
/* --- MAIN CONTENT SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 650px) {
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .card,
  .team-bios > div {
    padding: 16px 10px;
  }
  .trust-badges {
    gap: 8px;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-preview .testimonial-card, .testimonials .testimonial-card {
  background: linear-gradient(95deg, #fffbe3 60%, #eeeeee 100%);
  color: #233148;
  border-left: 3px solid var(--secondary);
  margin-bottom: 23px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  gap: 18px;
  align-items: flex-start;
}
.testimonial-card p {
  color: #233148 !important;
  margin: 0;
  font-size: 1rem;
  padding-left: 3px;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(100deg, #233148 88%, #bdb06b 100%);
  color: #fff;
  padding-top: 50px;
  padding-bottom: 30px;
  margin-top: 45px;
  border-radius: 30px 30px 0 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-top a img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: #fffbe3;
  opacity: .92;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .19s, border .17s, opacity .2s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
  opacity: 1;
}
.footer-contact {
  margin-top: 6px;
  color: #fcfcfa;
  opacity: .92;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe3;
  color: #233148;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 22px 22px 20px;
  border-top: 2px solid #BDB06B;
  box-shadow: 0 -4px 28px 0 rgba(34,49,72,0.09);
  z-index: 5000;
  font-size: 1rem;
  animation: cookieSlideIn 0.45s cubic-bezier(.63,1.38,.34,1.01);
}
@keyframes cookieSlideIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 0;
  cursor: pointer;
  background: #BDB06B;
  color: #233148;
  transition: background 0.27s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 2px 7px 0 rgba(189,176,107,0.13);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #233148;
  color: #fffbe3;
  outline: none;
}
.cookie-banner .cookie-settings-btn {
  background: #f7f2d0;
  color: #233148;
  border: 1.5px solid #BDB06B;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #BDB06B;
  color: #233148;
}

/* --- Cookie Settings Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 5500;
  background: rgba(35,49,72,0.49);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-dialog {
  background: #fffbe3;
  color: #233148;
  border-radius: var(--radius);
  max-width: 420px;
  padding: 35px 26px 28px 26px;
  box-shadow: 0 8px 48px 0 rgba(34,49,72,0.17);
  font-size: 1rem;
  min-width: 290px;
  animation: modalScaleIn .4s cubic-bezier(.53,.2,.47,1.21);
}
@keyframes modalScaleIn {
  from {transform: scale(0.81) translateY(40px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-dialog h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.26rem;
  color: #233148;
  margin-bottom: 14px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-modal-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal-list input[type="checkbox"] {
  accent-color: #BDB06B;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  border: 2px solid #BDB06B;
}
.cookie-modal-close {
  position: absolute;
  right: 25px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.85rem;
  color: #233148;
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-actions {
  display: flex; gap: 14px; margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 8px 19px;
  border-radius: 8px;
  background: #BDB06B;
  color: #233148;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #233148;
  color: #fffbe3;
}
.cookie-modal-list .essential {
  font-style: italic;
  opacity: .77;
  color: #725800;
}

/* --- GENERAL RESPONSIVE & SPACING PATTERNS --- */
@media (max-width: 991px) {
  .footer-top {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav {
    margin-top: 7px;
  }
}
@media (max-width: 800px) {
  .container, .footer-contact {
    padding-left: 10px;
    padding-right: 10px;
  }
  .testimonials .testimonial-card, .testimonials-preview .testimonial-card {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
@media (max-width: 650px) {
  .h1, h1 {
    font-size: 1.34rem;
    margin-bottom: 15px;
  }
  .h2, h2 {
    font-size: 1.09rem;
    margin-bottom: 8px;
  }
  .footer-contact {
    font-size: 0.89rem;
    margin-bottom: 9px;
  }
}
@media (max-width: 600px) {
  .card-container, .content-grid, .team-bios {
    flex-direction: column;
    gap: 12px;
  }
  .card {
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 7px 19px 7px;
    font-size: .98rem;
  }
  .cookie-modal-dialog {
    max-width: 95vw;
    padding: 16px 5vw 16px 5vw;
  }
}

/* --- TEXT-IMAGE SECTION RESPONSIVENESS --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .features .content-wrapper,
  .about-intro .content-wrapper,
  .services-intro .content-wrapper {
    align-items: flex-start;
    gap: 14px;
  }
}

/* --- SPACING BETWEEN CARDS / SECTION AND COMPONENTS --- */
.card,
.section,
.card-container > *,
.content-grid > *,
.text-image-section > *,
.feature-item > * {
  margin-bottom: 20px;
}
.card:last-child,
.section:last-child,
.card-container > *:last-child,
.content-grid > *:last-child,
.text-image-section > *:last-child,
.feature-item > *:last-child {
  margin-bottom: 0;
}

/* --- MICRO-INTERACTIONS --- */
button, .cta-btn, .mobile-menu-toggle {
  transition: background 0.2s, color 0.12s, box-shadow 0.14s, transform 0.18s;
}
button:active, .cta-btn:active, .mobile-menu-toggle:active {
  transform: scale(.97);
}

/* Accordion in FAQ */
.faq dt {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}
.faq dt:after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 2px;
  font-size: 1.2rem;
  color: var(--secondary);
  transition: transform 0.18s;
}
.faq dt.open:after {
  content: '–';
  transform: rotate(180deg);
}
.faq dd {
  display: none;
}
.faq dt.open + dd {
  display: block;
}

/* --- UTILITIES --- */
.hidden { display: none!important; }
.nowrap { white-space: nowrap; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.bg-grad {
  background: linear-gradient(105deg, #f5f3f0 84%, #fffbe3 100%);
}
.bg-secondary { background: var(--secondary); color: #233148; }
.text-secondary { color: var(--secondary); }

/* Accessibility Focus */
a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* --- END OF STYLE.CSS --- */
