/* === Tokens === */
:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #F5F3FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5273;
  --color-border: rgba(30, 27, 75, 0.1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -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);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.75em; }
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; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-neutral-dark); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 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 ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 20px -12px rgba(30, 27, 75, 0.2);
  border-bottom-color: var(--color-border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.logo--footer img { height: 72px; }

.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; position: relative; padding-block: 0.25rem; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
}

.primary-nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.primary-nav.is-open a { padding: 0.65rem 0.5rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(99, 102, 241, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(99, 102, 241, 0.7); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-neutral-light); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 3rem 3.5rem;
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(70% 70% at 10% 20%, rgba(129, 140, 248, 0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__grid--single { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; text-align: center; }
.hero__text .eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .hero { padding-block: 5rem 5.5rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero__grid--single { text-align: center; }
  .hero__grid--single .hero__ctas { justify-content: center; }
  .hero__grid--single .hero__sub { margin-inline: auto; }
}

/* === Section === */
.section { padding-block: 4rem; }
.section--muted { 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; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); }

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

/* === Card === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  color: inherit;
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); font-size: 0.97rem; margin: 0; }
.card h3 { margin-bottom: 0.5rem; }

/* === Two-column media/text === */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.two-col__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}

/* === Testimonial === */
.testimonial {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.testimonial__mark { color: rgba(99, 102, 241, 0.18); margin: 0 auto 1rem; }
.testimonial p { font-size: 1.25rem; line-height: 1.6; color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; font-weight: 600; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  padding-block: 3.5rem;
  background: linear-gradient(135deg, var(--color-neutral-dark), #312e81);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(16, 185, 129, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band p { color: rgba(245, 243, 255, 0.85); margin: 0; max-width: 60ch; }
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* === Stats === */
.stat { text-align: center; padding: 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); }
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.stat p { color: var(--color-muted); margin: 0; }

/* === Contact band === */
.contact-band {
  background: var(--color-neutral-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
}
.contact-band h2 { margin-bottom: 0.5rem; }
.contact-band p { color: var(--color-muted); margin: 0; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }
.form-consent a { color: var(--color-primary); }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.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); list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-primary); line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(245, 243, 255, 0.85);
  padding-block: 3.5rem 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: rgba(245, 243, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav h4, .footer__contact h4 { color: #fff; margin-bottom: 1rem; }
.footer__contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer__legal { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(245, 243, 255, 0.55); }
.footer__base p { margin: 0; }
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}

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

/* === 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: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); color: #fff; margin-top: 0.5rem; }
