:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5175;
  --color-border: rgba(49, 46, 129, 0.12);
  --color-surface: #FFFFFF;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(49, 46, 129, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 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-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
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 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: .75rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.mt-lg { margin-top: 3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.1rem; color: var(--color-muted); }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 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 .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 24px -20px rgba(49, 46, 129, 0.3);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

/* Nav */
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a { display: block; padding: .75rem .5rem; font-weight: 500; color: var(--color-neutral-dark); border-radius: 8px; position: relative; }
.primary-nav a:hover { background: var(--color-neutral-light); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { background: var(--color-primary); color: #fff !important; text-align: center; }
.nav-cta:hover { background: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav ul { flex-direction: row; align-items: center; gap: .25rem; }
  .primary-nav a { padding: .5rem .85rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { margin-left: .5rem; padding: .55rem 1.1rem; border-radius: 999px; }
}

/* === Hero card === */
.hero-card {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(129, 140, 248, 0.18), transparent 60%),
    linear-gradient(180deg, #F5F7FF 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-card__card {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
.hero-card__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.75rem; }
.hero-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 20px 60px -30px rgba(49, 46, 129, 0.35); }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) {
  .hero-card { padding-block: 5rem 6rem; }
  .hero-card__card { padding: 4rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; font-family: var(--font-heading); font-weight: 600; font-size: .98rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:focus-visible { outline: 3px solid rgba(79, 70, 229, 0.4); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -14px rgba(79, 70, 229, 0.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(79, 70, 229, 0.75); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #052e13; box-shadow: 0 10px 24px -14px rgba(34, 197, 94, 0.7); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(34, 197, 94, 0.8); color: #052e13; }
.btn--link { background: transparent; color: var(--color-neutral-dark); padding-inline: .75rem; }
.btn--link:hover { color: var(--color-primary); }

/* === Grid + Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  display: block;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  color: inherit;
}
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(34, 197, 94, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { text-decoration: none; }
.card-link:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79, 70, 229, 0.35); }

/* === Stats === */
.stats .stat { text-align: left; }
.stat__value {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--color-accent);
  line-height: 1.15; margin: 0 0 .5rem;
}
.stat p { color: var(--color-muted); margin: 0; }

/* === Quote === */
.quote { margin: 0; padding: 2rem; background: #fff; border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

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

/* === Form === */
.contact-form { display: grid; gap: 1.1rem; margin-bottom: 2.5rem; }
.form-row { display: grid; gap: .4rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea {
  font: inherit; padding: .8rem 1rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: #fff; color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); }

/* === Hours === */
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours th { color: var(--color-muted); font-weight: 500; }
.hours td { color: var(--color-neutral-dark); font-weight: 600; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-top: 3.5rem; margin-top: 3rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer .logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer__h { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; font-size: .9rem; opacity: .85; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-block: 1.25rem; font-size: .88rem; opacity: .8; }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  padding: 1.25rem; max-width: 520px;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .88rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.25); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__actions .btn--link { color: var(--color-neutral-light); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; justify-self: start; }

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