/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1E1B2E;
  --color-muted: #6B6480;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 46, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(76, 29, 149, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .5rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(250, 245, 255, 0)); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; color: var(--color-primary); margin: 0 0 1rem; font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === 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 transparent;
  transition: background .2s var(--ease-hover), box-shadow .2s var(--ease-hover), border-color .2s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 4px 24px rgba(76, 29, 149, 0.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.25rem; max-width: 1240px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 1px solid var(--color-border); color: var(--color-neutral-dark); border-radius: 10px; padding: .5rem; cursor: pointer; display: inline-flex; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { position: relative; font-weight: 500; color: var(--color-ink); font-size: .95rem; padding: .35rem 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-hover); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (max-width: 899px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; background: rgba(250, 245, 255, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); display: none; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .8rem 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { border-bottom: none; text-align: center; margin-top: .5rem; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s, color .2s; text-decoration: none; }
.btn:focus-visible { outline: 3px solid rgba(124, 58, 237, .35); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 30px -12px rgba(124, 58, 237, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(124, 58, 237, .7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #06331A; box-shadow: 0 12px 30px -12px rgba(34, 197, 94, .55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(34, 197, 94, .7); color: #06331A; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 197, 94, 0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124, 58, 237, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(167, 139, 250, 0.10), rgba(250, 245, 255, 0));
}
.hero-split__grid { max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-split__text h1 { margin-bottom: 1.25rem; }
.hero-split__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.proof-strip { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: .95rem; }
.proof-strip strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.15rem; margin-right: .35rem; }

@media (min-width: 900px) {
  .hero { padding-block: 6rem 5rem; }
  .hero-split__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Thank-you hero === */
.hero-thankyou { text-align: center; padding-block: 5rem 3rem; }
.hero-thankyou .lede { margin-inline: auto; }
.thankyou-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--color-accent); color: #06331A; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: 0 20px 40px -15px rgba(34, 197, 94, .5); }

/* === Cards === */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, .2); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(167, 139, 250, .18)); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card__step { font-family: var(--font-heading); color: var(--color-primary); font-weight: 600; letter-spacing: 0.1em; font-size: .85rem; margin-bottom: .75rem; display: inline-block; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card h3 { color: var(--color-neutral-dark); }
.card-link { text-decoration: none; color: inherit; }
.card-link h3 { color: var(--color-neutral-dark); }
.card--stat .stat { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--color-primary); line-height: 1; margin: 0 0 .75rem; letter-spacing: -0.03em; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); position: relative; }
.testimonial::before { content: '\201E'; position: absolute; top: -.4em; left: .3em; font-family: var(--font-heading); font-size: 6rem; color: var(--color-secondary); opacity: .35; line-height: 1; }
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1.25rem; position: relative; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(34, 197, 94, .18), transparent 45%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 55ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band a { color: #fff; }
.cta-band .cta-band__meta { font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 1.75rem; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; }
.contact-info h3 { color: var(--color-neutral-dark); margin-bottom: 1rem; }
.contact-info address { font-style: normal; margin-bottom: 1.5rem; }
.contact-info h4 { color: var(--color-neutral-dark); font-size: 1rem; margin-bottom: .75rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .4rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: var(--color-muted); text-align: right; }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.contact-form label { font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); font-size: .95rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); margin-bottom: 1.1rem; color: var(--color-ink); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); background: #fff; }
.contact-form textarea { resize: vertical; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); font-weight: 400; margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin: .25rem 0 0; flex-shrink: 0; }
.contact-form button { align-self: flex-start; }

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

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,.85); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,.7); font-family: var(--font-heading); }
.logo--footer { display: inline-block; margin-bottom: 1rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.site-footer ul li { padding: .3rem 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; margin-top: .5rem; }
.copyright { padding-top: 1.5rem; color: rgba(255,255,255,.6); font-size: .85rem; }

/* === 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 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1.1rem; font-size: .9rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.cookie-banner__prefs label { font-size: .9rem; display: flex; gap: .5rem; align-items: center; color: rgba(255,255,255,.9); }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

/* === 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; }
  html { scroll-behavior: auto; }
}
