/* === Tokens === */
:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --ink: #0F1B3D;
  --muted: #4A5A85;
  --border: rgba(30, 58, 138, 0.14);
  --shadow-sm: 0 2px 20px rgba(15, 27, 61, 0.06);
  --shadow-md: 0 12px 40px -18px rgba(15, 27, 61, 0.28);
  --shadow-lg: 0 30px 60px -30px rgba(15, 27, 61, 0.35);
  --radius: 18px;
  --radius-lg: 24px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --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);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }

/* === Header (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 246, 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, box-shadow .25s, border-color .25s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px -18px rgba(15, 27, 61, 0.25);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: .5rem; color: var(--color-primary); cursor: pointer; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; gap: .25rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
.primary-nav a { padding: .6rem .25rem; font-weight: 500; color: var(--ink); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); border-radius: 999px; padding: .55rem 1.1rem; text-align: center; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; box-shadow: none; background: transparent; border: 0; }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-secondary); 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); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 28px -12px rgba(30, 58, 138, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(30, 58, 138, 0.6); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero card === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 60vh; background: radial-gradient(60% 60% at 50% 30%, rgba(59, 130, 246, 0.18), transparent 70%), radial-gradient(50% 50% at 80% 40%, rgba(249, 115, 22, 0.1), transparent 70%); z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-card__box { max-width: 880px; margin-inline: auto; padding: 2.25rem; border-radius: var(--radius-lg); background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--shadow-lg); text-align: left; }
.hero-card__box h1 { margin-top: .5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.hero-card__figure { margin: 1.5rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 5rem; }
  .hero-card__box { padding: 3.5rem; }
}

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

/* === Cards === */
.card { display: block; padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); color: var(--ink); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; }
.card-link:hover { color: var(--ink); }
.card-link h3 { color: var(--color-primary); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }

/* === Stats === */
.stats-band { background: var(--color-neutral-light); border-radius: var(--radius-lg); }
.stats-band .stat { padding: 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--color-accent); margin: 0 0 .5rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, var(--color-neutral-light) 40%, transparent); }
.testimonial { margin: 0; padding: 2rem 1.5rem; text-align: center; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--ink); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; margin-block: 2rem; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 20%, rgba(249,115,22,0.35), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; text-align: center; max-width: 700px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

/* === Contact band === */
.contact-band { background: var(--color-neutral-light); border-radius: var(--radius-lg); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(59,130,246,0.2); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--muted); }
.form-consent input { margin-top: .25rem; }

/* === FAQ === */
.faq { border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--ink); list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-secondary); font-size: 1.25rem; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; color: var(--muted); }

/* === Footer === */
.site-footer { background: #0B1637; color: rgba(255,255,255,0.82); margin-top: 3rem; padding-top: 3rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.78); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.logo-footer img { filter: brightness(0) invert(1); height: 64px; }
.tagline { color: rgba(255,255,255,0.7); margin-top: .75rem; }
.legal-links { margin-top: 1rem; font-size: .88rem; }
.copyright { 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); }
.copyright p { margin: 0; }

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

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: #0B1637; color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; cursor: pointer; font-size: .9rem; }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions button:hover { border-color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; justify-self: start; padding: .5rem 1rem; border-radius: 999px; border: 0; background: #fff; color: var(--color-primary); cursor: pointer; font-weight: 600; }
