/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4869;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', 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 12px 32px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: 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);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-io); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); 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; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); line-height: 1.75; }

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

/* === Header (glass) === */
.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 .3s var(--ease-io), box-shadow .3s var(--ease-io), border-color .3s var(--ease-io);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 8px 24px -16px rgba(30, 27, 75, 0.18);
  border-bottom-color: var(--color-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; border-radius: var(--radius-sm); }
.nav-toggle:hover { background: rgba(124, 58, 237, 0.08); }
.site-nav { display: none; }
.site-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: .25rem; box-shadow: var(--shadow-md); }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .25rem; border-radius: var(--radius-sm); position: relative; }
.site-nav a.is-active { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .site-nav a { padding: .25rem 0; }
  .site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-io); }
  .site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

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

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 10% auto 10%; height: 480px; background: radial-gradient(closest-side, rgba(6, 182, 212, 0.18), transparent 70%), radial-gradient(closest-side, rgba(124, 58, 237, 0.22), transparent 70%); filter: blur(20px); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.125rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__image { margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--alt { background: #fff; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.section__title { text-align: center; margin-bottom: 2rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--center { align-items: center; }
.grid--gap-lg { gap: 3rem; }

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-io), box-shadow .25s var(--ease-io), border-color .25s var(--ease-io);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.25); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(6, 182, 212, 0.14)); color: var(--color-primary); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Intro split === */
.intro-split__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.intro-split__img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05)); }
.quote { max-width: 780px; margin: 0 auto; text-align: center; padding: 2rem 1rem; border: 0; position: relative; }
.quote::before { content: "“"; display: block; font-family: var(--font-heading); font-size: 5rem; color: var(--color-accent); line-height: .6; margin-bottom: .5rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin: 0 0 1rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA Band === */
.cta-band { }
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band__inner h2 { color: #fff; margin-bottom: .35rem; }
.cta-band__inner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__inner .btn--primary { background: #fff; color: var(--color-primary); }
.cta-band__inner .btn--primary:hover { background: var(--color-accent); color: #fff; }
@media (min-width: 720px) {
  .cta-band__inner { grid-template-columns: 1fr auto; padding: 3rem 3.5rem; gap: 2.5rem; }
}

/* === FAQ === */
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease-io), border-color .2s var(--ease-io); }
.faq__item[open] { border-color: rgba(124, 58, 237, 0.35); box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--color-primary); font-weight: 400; font-size: 1.35rem; transition: transform .2s var(--ease-io); }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted); }
.contact-list strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 600; }
.hours { border-collapse: collapse; width: 100%; margin-top: .5rem; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--color-border); }
.hours th { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Form === */
.form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.form h2 { margin: 0 0 .25rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; color: var(--color-neutral-dark); font-weight: 500; font-family: var(--font-heading); }
.form input, .form textarea { font: inherit; font-family: var(--font-body); font-weight: 400; 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 var(--ease-io), box-shadow .2s var(--ease-io); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .55rem !important; font-size: .85rem !important; color: var(--color-muted) !important; font-weight: 400 !important; font-family: var(--font-body) !important; }
.form-consent input { flex: 0 0 auto; margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.78); padding-top: 3.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__tagline { color: rgba(255,255,255,0.65); margin: 1rem 0 0; font-family: var(--font-heading); }
.logo--footer { display: inline-block; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.site-footer__legal { margin-top: 1rem; font-size: .9rem; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.25rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,0.6); }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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.35rem; 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: .93rem; line-height: 1.5; color: rgba(255,255,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(255,255,255,0.25); }
.cookie-banner__actions .btn--ghost:hover { color: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: .9rem; }
.cookie-banner__prefs label { display: inline-flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .35rem; }

/* === 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; }
}
