:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --radius-sm: 12px;
  --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 -25px rgba(49, 46, 129, 0.35);
}

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

/* === Header / Nav === */
.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 rgba(49, 46, 129, 0.08);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(238, 242, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s; }
.primary-nav { display: none; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0.75rem;
  position: relative;
}
.primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; border-radius: 999px; padding: 0.55rem 1.15rem; margin-left: 0.5rem;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.primary-nav .nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem; gap: 0.25rem; box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 0.25rem; position: static; padding: 0; background: transparent; box-shadow: none; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-body); font-size: 1rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -10px rgba(99, 102, 241, 0.65); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border: 1.5px solid rgba(49, 46, 129, 0.2);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.55); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -10px rgba(34, 197, 94, 0.65); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero card === */
.hero {
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(129, 140, 248, 0.18), transparent 60%),
    radial-gradient(circle at 90% 30%, rgba(34, 197, 94, 0.10), transparent 55%),
    var(--color-neutral-light);
}
.hero-card__inner {
  max-width: 900px; margin: 0 auto;
  background: #fff;
  padding: 2.5rem 1.75rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-card__image {
  margin: 2rem auto 0;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); font-weight: 600; margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: rgba(49, 46, 129, 0.75); max-width: 56ch; margin-inline: auto; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin: 0; }

@media (min-width: 768px) {
  .hero { padding: 5rem 1.5rem 6rem; }
  .hero-card__inner { padding: 4rem 3rem; }
}

/* === Sections === */
.section {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section--narrow { max-width: 760px; }
.section--narrow p { font-size: 1.1rem; line-height: 1.75; }
.section--tinted {
  max-width: none;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.08), rgba(99, 102, 241, 0.04));
}
.section--tinted > * { max-width: 900px; margin-inline: auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }

/* === Cards grid === */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(49, 46, 129, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  color: var(--color-primary);
  padding: 0.6rem;
  background: var(--color-neutral-light);
  border-radius: 12px;
  width: auto; height: auto;
  display: inline-block;
  margin-bottom: 1rem;
}
.card h3 { margin-top: 0; }
.card p { color: rgba(49, 46, 129, 0.78); margin: 0; }
.stat-card { text-align: center; }
.stat { display: block; font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: 0.5rem; }

/* === Testimonial === */
.testimonial { margin: 0; text-align: center; padding: 2rem 0; }
.testimonial p { font-size: clamp(1.15rem, 2vw, 1.5rem); font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.4; max-width: 60ch; margin: 0 auto 1.5rem; }
.testimonial cite { font-style: normal; color: var(--color-primary); font-weight: 500; font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  max-width: 1200px; margin: 4rem auto; padding: 0 1.25rem;
}
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3rem 1.75rem;
  border-radius: 24px;
  text-align: center;
  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-inline: auto; }
.cta-band__inner .btn-accent { margin-top: 0.5rem; }
@media (min-width: 768px) { .cta-band__inner { padding: 4rem 3rem; } }

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

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-card h2 { margin-top: 0; }
.hours { display: grid; grid-template-columns: max-content 1fr; column-gap: 1.5rem; row-gap: 0.35rem; margin: 0; }
.hours dt { font-weight: 500; color: var(--color-neutral-dark); }
.hours dd { margin: 0; color: rgba(49, 46, 129, 0.75); }
.contact-band { text-align: center; }

/* === Forms === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; font-weight: 500; font-size: 0.95rem; gap: 0.4rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(49, 46, 129, 0.15);
  border-radius: 10px; background: var(--color-neutral-light);
  color: var(--color-neutral-dark); transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary); background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; font-weight: 400; color: rgba(49, 46, 129, 0.8); }
.form-consent input { margin-top: 0.2rem; }
.form-consent a { color: var(--color-primary); }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid rgba(49, 46, 129, 0.06); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; color: var(--color-neutral-dark); position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: rgba(49, 46, 129, 0.8); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(238, 242, 255, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.site-footer p { color: rgba(238, 242, 255, 0.75); font-size: 0.95rem; margin: 0.75rem 0; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer nav a, .site-footer a { color: rgba(238, 242, 255, 0.85); }
.site-footer nav a:hover, .site-footer a:hover { color: #fff; }
.legal-links { font-size: 0.85rem; margin-top: 1rem !important; }
.copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(238, 242, 255, 0.12); font-size: 0.85rem; color: rgba(238, 242, 255, 0.6); }

/* === 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);
  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: 0.95rem; color: rgba(238, 242, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit; font-weight: 500; cursor: pointer;
  padding: 0.55rem 1rem; border-radius: 999px; border: none;
  background: rgba(238, 242, 255, 0.12); color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(238, 242, 255, 0.2); }
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent); color: #fff;
}
.cookie-banner__actions [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 999px; border: none;
  background: var(--color-primary); color: #fff; font-weight: 500; cursor: pointer;
}

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