/* === Tokens === */
:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1533;
  --color-muted: #6B5A88;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-neutral-light); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--color-neutral-dark); margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
main { display: block; }
.section { padding: 3.5rem 1.25rem; max-width: 1180px; margin: 0 auto; }
.section--narrow { max-width: 760px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 245, 255, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--color-border); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(76, 29, 149, 0.18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: .75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.primary-nav { display: none; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: .25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current='page']::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); background: #fff; padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(139, 92, 246, 0.65); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: #fff; transform: translateY(-2px); text-decoration: none; }
.btn--sm { padding: .55rem .95rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card) === */
.hero { position: relative; padding: 3rem 1.25rem 4rem; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 20% auto -20%; height: 80%; background: radial-gradient(closest-side, rgba(16, 185, 129, 0.18), transparent 70%), radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent 70%); filter: blur(40px); z-index: 0; pointer-events: none; }
.hero-card__card { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 2.25rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.eyebrow { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(16, 185, 129, 0.14)); color: var(--color-primary); margin-bottom: .9rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Quotes === */
.section--quote { max-width: 820px; }
.quote { margin: 0; padding: 2rem 1rem; text-align: center; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { padding: 3rem 1.25rem; }
.cta-band__inner { max-width: 900px; margin: 0 auto; padding: 2.5rem; text-align: center; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band__inner h2 { color: #fff; }
.cta-band__inner p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 1.5rem; }
.cta-band__inner .btn--primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.3); }

/* === Split === */
.split { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* === Contact band === */
.contact-band { background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.contact-band__sub { color: var(--color-muted); }

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--color-primary); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.form { background: #fff; padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.form input, .form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.form-consent { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .85rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }
.hours { border-collapse: collapse; margin-top: .5rem; width: 100%; max-width: 320px; }
.hours th, .hours td { text-align: left; padding: .35rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 1.25rem 1.5rem; margin-top: 2rem; }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1180px; margin: 0 auto; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.7; margin-bottom: .75rem; }
.legal-links { margin-top: .75rem; font-size: .9rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.site-footer__copy { max-width: 1180px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .85rem; color: rgba(255,255,255,0.65); }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 560px; margin-left: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cookie-banner .btn--ghost:hover { background: rgba(255,255,255,0.1); }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .hero { padding: 5rem 1.5rem 6rem; }
  .hero-card__card { padding: 3.5rem; }
  .section { padding: 5rem 1.5rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
@media (min-width: 960px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--2 { gap: 1.75rem; }
}
