:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F1B44;
  --color-muted: #4B5A87;
  --color-cream: #FBFDFF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 30px 60px -30px rgba(15, 27, 68, 0.35);
  --shadow-sm: 0 4px 14px -6px rgba(15, 27, 68, 0.2);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  font-size: 17px;
}
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); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* === Layout === */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 3.5rem; }
.section--narrow { max-width: 780px; margin-inline: auto; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); max-width: 55ch; margin: 0 0 1.75rem; }

/* === Header === */
.site-header { background: var(--color-cream); border-bottom: 1px solid rgba(30, 58, 138, 0.08); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: 0.6rem; display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav a { padding: 0.6rem 0.75rem; color: var(--color-neutral-dark); font-weight: 500; border-radius: 8px; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-cream); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); border-bottom: 1px solid rgba(30, 58, 138, 0.08); }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #04331A; }
.btn--accent:hover { background: #16a34a; color: #fff; }

/* === Hero card === */
.hero.hero-card { padding-block: 3rem 1rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-cream) 100%); }
.hero-card__card { background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.5rem; box-shadow: var(--shadow-lg); max-width: 880px; margin-inline: auto; text-align: left; }
.hero-card__figure { margin: 1.75rem 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--color-neutral-light); }
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Cards & grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid rgba(30, 58, 138, 0.08); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card .icon { color: var(--color-primary); }
.card--stat .stat { font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 3.5rem); color: var(--color-accent); margin: 0 0 0.25rem; line-height: 1; font-weight: 700; }

/* === Split section === */
.split__inner { display: grid; gap: 2rem; align-items: center; }
.split__figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.split__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Testimonial === */
.testimonial { background: var(--color-cream); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3rem; }
.cta-band__inner { text-align: center; max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; background: #fff; padding: 1.75rem 1.5rem; border-radius: var(--radius); border: 1px solid rgba(30, 58, 138, 0.08); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 500; font-size: 0.92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(30, 58, 138, 0.2); border-radius: 10px; background: var(--color-cream); color: var(--color-text); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(239, 246, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.tagline { font-family: var(--font-heading); font-style: italic; color: rgba(239, 246, 255, 0.75); margin-top: 0.5rem; }
.logo--footer img { height: 60px; }
.legal-links { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.88rem; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(239, 246, 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.1rem 1.25rem; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: 0.6rem 0.9rem; border-radius: 8px; border: 1px solid rgba(239, 246, 255, 0.3); background: transparent; color: var(--color-neutral-light); font-size: 0.9rem; font-weight: 500; }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #04331A; border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 0.9rem; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: 0.5rem; padding: 0.55rem 0.9rem; border-radius: 8px; border: 0; background: var(--color-neutral-light); color: var(--color-neutral-dark); font-weight: 600; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .hero-card__card { padding: 3rem 2.5rem; }
}
@media (min-width: 768px) {
  body { font-size: 17px; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .section { padding-block: 5rem; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 0.4rem; position: static; padding: 0; box-shadow: none; background: none; }
  .primary-nav a:hover { background: var(--color-neutral-light); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split__inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .hero.hero-card { padding-block: 5rem 2rem; }
  .hero-card__card { padding: 3.5rem; }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .hero-card__figure { aspect-ratio: 21/9; }
}
