/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-muted: #6B7280;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Sora', 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, 75, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(76, 29, 149, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.muted { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 6px 24px -18px rgba(76, 29, 149, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo-footer img { height: 60px; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .4rem; border-radius: 8px; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; }
.primary-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.primary-nav a:not(.btn):hover::after, .primary-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 1.25rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); align-items: stretch; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); text-decoration: none; }
.btn-sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(124, 58, 237, 0.75); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(202, 138, 4, 0.5); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 5rem 0 3rem; }
.hero-inner-page { padding-top: 3.5rem; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(167, 139, 250, 0.05) 60%, transparent); pointer-events: none; }
.hero-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(202, 138, 4, 0.14), transparent 60%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero .lede { font-size: 1.2rem; color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }
.hero-visual { margin: 3rem 0 0; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16/9; object-fit: cover; }
.proof-strip { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; margin-top: 2.5rem; font-size: .85rem; color: var(--color-muted); font-weight: 500; }
.proof-strip span:nth-child(even) { color: rgba(76, 29, 149, 0.35); }

/* === Sections === */
.section { padding: 4rem 0; }
.section-tinted { background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), transparent); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grids & Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(202, 138, 4, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-text); font-size: .97rem; margin: 0; }

/* === Testimonial === */
.testimonial { background: #fff; border-left: 4px solid var(--color-accent); padding: 2rem 2rem 2rem 2.25rem; margin: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); line-height: 1.55; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 3.5rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band a { color: #fff; text-decoration: underline; }
.cta-band .btn-primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.35); }
.cta-band .btn-primary:hover { color: var(--color-neutral-dark); }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); font-size: 1.05rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--color-primary); transition: transform .25s var(--ease-hover); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 1rem 0 0; color: var(--color-text); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours th, .hours td { text-align: left; padding: .4rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 500; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--color-muted); line-height: 1.45; }
.form-consent input { margin-top: .2rem; }

.success-icon { color: var(--color-accent); margin: 2rem auto 0; display: inline-block; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #fff; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a, .site-footer p, .site-footer address { color: rgba(255, 255, 255, 0.8); font-size: .92rem; font-style: normal; line-height: 1.7; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(255, 255, 255, 0.6); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.legal-links { display: flex; flex-direction: column; gap: .35rem; margin-top: 1rem; font-size: .85rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255, 255, 255, 0.55); }

/* === 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.1rem 1.25rem; border-radius: var(--radius-md); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: .9rem; margin: 0 0 .8rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(250, 245, 255, 0.1); color: #fff; }
.cookie-banner__actions .btn-primary { background: var(--color-accent); box-shadow: none; color: #fff; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs .btn-primary { 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; } }

/* === Breakpoints === */
@media (min-width: 640px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-band-inner > div { flex: 1; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo-footer img { height: 72px; }
  .hero { padding: 6.5rem 0 4rem; }
  .section { padding: 5.5rem 0; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
