:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4C4A6E;
  --color-border: rgba(49, 46, 129, 0.12);
  --color-white: #ffffff;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(31, 27, 90, 0.06);
  --shadow-md: 0 20px 40px -20px rgba(49, 46, 129, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(49, 46, 129, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 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 .3s var(--ease-hover), box-shadow .3s var(--ease-hover), border-color .3s var(--ease-hover);
}
.site-header.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 6px 30px -18px rgba(49,46,129,0.35); border-bottom-color: var(--color-border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.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: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease-hover); }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
}
@media (max-width: 899px) {
  .primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); box-shadow: var(--shadow-md); padding: 1.5rem; }
  .primary-nav.is-open ul { flex-direction: column; gap: 1rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.75rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); text-align: center; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-white); box-shadow: 0 10px 25px -12px rgba(79,70,229,0.6); }
.btn--primary:hover { transform: translateY(-2px); color: var(--color-white); box-shadow: 0 14px 32px -12px rgba(79,70,229,0.75); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: var(--color-white); box-shadow: 0 10px 25px -12px rgba(34,197,94,0.6); }
.btn--accent:hover { color: var(--color-white); transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(34,197,94,0.75); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(135deg, var(--color-neutral-light), #ffffff 60%, #f3f4ff); }
.hero__glow { position: absolute; inset: -20% 30% auto -10%; height: 60%; background: radial-gradient(closest-side, rgba(34,197,94,0.14), transparent 70%); pointer-events: none; }
.hero__inner { position: relative; text-align: center; max-width: 820px; margin-inline: auto; padding-inline: 1.25rem; }
.hero__title { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 28ch; margin: 0 auto 1.5rem; font-weight: 700; }
.hero__sub { max-width: 56ch; margin: 0 auto 2rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--color-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero__media { margin-top: 3.5rem; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.proof-strip { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; color: var(--color-muted); font-size: 0.9rem; font-weight: 500; }
.proof-strip span { position: relative; }
@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head .lede { margin-top: 0.5rem; }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Grid & Cards === */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; height: 100%; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover); color: var(--color-text); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,0.25); }
.card-link { text-decoration: none; }
.card-link:hover { color: var(--color-text); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }

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

/* === Quote === */
.quote { margin: 0 auto; max-width: 700px; text-align: center; padding: 2rem 1rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1.25rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }
.quote__portrait { margin: 2rem auto 0; max-width: 320px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); aspect-ratio: 1/1; object-fit: cover; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-white); padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: -50% -20% auto auto; width: 60%; height: 200%; background: radial-gradient(closest-side, rgba(34,197,94,0.25), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: var(--color-white); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__meta { font-size: 0.9rem; margin-top: 0.75rem !important; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }

/* === FAQ === */
.faq details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; transition: box-shadow .2s var(--ease-hover); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease-hover); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.18); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem !important; font-weight: 400 !important; color: var(--color-muted) !important; font-size: 0.85rem !important; }
.form-consent input { flex: 0 0 auto; margin-top: 0.25rem; }
.contact-details h3 { margin-top: 0; }
.contact-details address { font-style: normal; color: var(--color-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.map-block { background: var(--color-neutral-light); border-radius: var(--radius-md); padding: 2rem 1rem; text-align: center; border: 1px dashed var(--color-border); position: relative; }
.map-block p { margin: 0.5rem 0 0; color: var(--color-muted); font-size: 0.9rem; }
.map-pin { display: inline-block; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--color-primary); transform: rotate(-45deg); box-shadow: 0 4px 12px rgba(79,70,229,0.4); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(238,242,255,0.85); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h3 { color: var(--color-white); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(238,242,255,0.75); }
.site-footer a:hover { color: var(--color-white); }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.footer__tag { color: rgba(238,242,255,0.7); font-size: 0.95rem; }
.footer__legal { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; margin-top: 1rem !important; font-size: 0.85rem; }
.footer__copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; margin-top: 2.5rem; font-size: 0.85rem; color: rgba(238,242,255,0.6); }
.logo--footer img { height: 60px; width: auto; filter: brightness(0) invert(1); }

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

/* === 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-md); box-shadow: var(--shadow-lg); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font-family: var(--font-heading); font-weight: 500; font-size: 0.85rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s, color .2s; }
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; border-color: #16a34a; }
.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.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); margin-top: 0.5rem; }
