:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .75em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-accent); font-weight: 600; margin: 0 0 .75rem; }
.lede { font-size: 1.125rem; color: var(--color-secondary); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 4px 20px -12px rgba(2, 6, 23, 0.15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }
.site-nav { display: none; align-items: center; gap: 1.75rem; }
.site-nav.is-open { display: flex; }
.site-nav a { color: var(--color-secondary); font-weight: 500; position: relative; padding: .25rem 0; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.site-nav a:hover, .site-nav a.is-current { color: var(--color-primary); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.nav-toggle { background: none; border: 1px solid rgba(2,6,23,0.12); border-radius: 10px; padding: .5rem; color: var(--color-primary); cursor: pointer; display: inline-flex; }
@media (min-width: 860px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
@media (max-width: 859px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1.5rem; background: var(--color-neutral-light); border-bottom: 1px solid rgba(2,6,23,0.06); align-items: flex-start; gap: 1rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out);
  text-decoration: none;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--color-neutral-light); }
.btn--accent { background: linear-gradient(135deg, var(--color-accent), #0284c7); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary); border: 1px solid rgba(2,6,23,0.15); }
.btn--ghost:hover { background: rgba(2,6,23,0.05); }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card) === */
.hero { padding-block: 3rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 80%;
  background: radial-gradient(ellipse at top, rgba(3, 105, 161, 0.14), transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-card__box {
  max-width: 880px; margin-inline: auto;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-light);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(2,6,23,0.05);
  text-align: left;
}
.hero-card__box h1 { margin-bottom: 1rem; }
.hero-card__box .lede { max-width: 60ch; margin-bottom: 1.75rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-card__box { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow .container { max-width: 780px; }
.section--tint { background: linear-gradient(180deg, #eef2f7 0%, var(--color-neutral-light) 100%); }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__head .lede { color: var(--color-secondary); }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }

/* === Grid & Cards === */
.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 { gap: 1.75rem; }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(2,6,23,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
  color: var(--color-primary);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(3, 105, 161, 0.35); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(3, 105, 161, 0.10); color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--color-secondary); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-accent); }
.card--stat h3 { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--color-accent); }

/* === Quote === */
.section--quote { background: linear-gradient(135deg, rgba(3,105,161,0.05), transparent); }
.quote { margin: 0; padding: 2rem 1rem; text-align: center; position: relative; }
.quote__mark { color: var(--color-accent); opacity: .25; margin-bottom: .5rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--color-primary); font-weight: 500; margin-bottom: 1.25rem; max-width: 60ch; margin-inline: auto; }
.quote cite { font-style: normal; font-size: .95rem; color: var(--color-secondary); font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(3,105,161,0.4), transparent 55%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248,250,252,0.85); max-width: 60ch; margin-inline: auto 1.5rem; margin-bottom: 1.5rem; }
.cta-band__meta { font-size: .95rem; margin-bottom: 1.75rem; }

/* === FAQ === */
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid rgba(2,6,23,0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(3,105,161,0.3); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  cursor: pointer; list-style: none; padding-right: 2rem; position: relative;
  color: var(--color-primary);
}
.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-accent); transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 1rem 0 0; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(2,6,23,0.06); }
.form-row { display: grid; gap: .4rem; }
.form-row label { font-weight: 500; font-size: .95rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid rgba(2,6,23,0.15); background: #fff;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-primary);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3,105,161,0.15); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-secondary); flex-wrap: wrap; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248,250,252,0.75); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(248,250,252,0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; }
.tagline { color: rgba(248,250,252,0.65); font-size: .95rem; margin-top: .5rem; }
.site-footer__copy { border-top: 1px solid rgba(248,250,252,0.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(248,250,252,0.6); }
.site-footer__copy p { margin: 0; }

/* === 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: .9rem; line-height: 1.5; color: rgba(248,250,252,0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,0.3); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(248,250,252,0.1); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .6rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }

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