:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(2, 6, 23, 0.25);
  --border-hair: 1px solid rgba(15, 23, 42, 0.08);
}

/* === 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;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 60ch; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #075985);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(3, 105, 161, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(3, 105, 161, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(15, 23, 42, 0.18);
}
.btn-ghost:hover { background: rgba(15, 23, 42, 0.04); }
.btn-on-dark { color: #fff; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 4px 20px -12px rgba(2, 6, 23, 0.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; }
.logo-footer img { height: 60px; }
.nav-toggle {
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-primary); border-radius: 2px; }
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  flex-direction: column;
  gap: 0.35rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.6rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  margin-top: 0.4rem;
}
.nav-cta:hover { text-decoration: none; background: var(--color-accent); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static;
    flex-direction: row; align-items: center;
    background: transparent; border: 0; padding: 0;
    gap: 1.5rem;
  }
  .primary-nav a { padding: 0.35rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--color-accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.2s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .nav-cta { margin: 0; }
}

/* === Hero card === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(3, 105, 161, 0.10), transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(3, 105, 161, 0.08), transparent 55%),
    var(--color-neutral-light);
  overflow: hidden;
}
.hero-card__box {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(15, 23, 42, 0.05);
}
.hero-card__box h1 { margin-bottom: 1rem; }
.hero-card__box .lede { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-card__figure {
  margin: 1.5rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e2e8f0;
}
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__box { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); }
.intro { text-align: center; }
.intro .container.narrow { max-width: 760px; }
.intro p { color: var(--color-secondary); font-size: 1.08rem; }

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

.card {
  background: #fff;
  border: var(--border-hair);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  color: var(--color-primary);
}
.card p { color: var(--color-secondary); margin-bottom: 0; font-size: 0.98rem; }
a.card, a.card-link { text-decoration: none; display: block; }
a.card:hover, a.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }
.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;
}

/* === Testimonial === */
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.5;
}
.testimonial cite { color: var(--color-secondary); font-style: normal; font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #1e293b);
  color: #fff;
  padding-block: 4.5rem;
  text-align: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: rgba(248, 250, 252, 0.85); max-width: 55ch; margin-inline: auto; }

/* === Stats === */
.stats-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: var(--border-hair);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  line-height: 1;
}
.stat p:last-child { color: var(--color-secondary); margin: 0; }

/* === Contact / Forms === */
.contact-band {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.form-section .contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-secondary); line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: var(--border-hair);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  color: var(--color-accent); font-size: 1.3rem;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--color-secondary); margin-top: 0.75rem; margin-bottom: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(248, 250, 252, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-contact .legal-links { margin-top: 1rem; font-size: 0.9rem; }
.tagline { color: rgba(248, 250, 252, 0.75); font-style: italic; margin-top: 0.5rem; }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.1); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(248, 250, 252, 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.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,0.2);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: 0.5rem; align-self: flex-start; background: var(--color-accent); border-color: var(--color-accent); }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.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; }
}

/* === Focus === */
:focus-visible {
  outline: 3px solid rgba(3, 105, 161, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}
