:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.10);
  --color-muted: #64748B;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', 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);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
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.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 3.5rem; }
.section-tinted { background: linear-gradient(180deg, rgba(3, 105, 161, 0.04), rgba(3, 105, 161, 0.00)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); }
.eyebrow { font-family: var(--font-heading); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); font-weight: 600; margin-bottom: 1rem; }
.lede { font-size: 1.1875rem; color: var(--color-secondary); max-width: 56ch; margin-inline: auto; margin-bottom: 2rem; }

@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
}

/* === 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 var(--color-border);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -12px rgba(2, 6, 23, 0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a {
  position: relative;
  color: var(--color-primary);
  font-weight: 500; font-size: .9375rem;
  padding: .25rem 0;
  text-decoration: none;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: .5rem;
  color: var(--color-primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border);
}
@media (min-width: 900px) {
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; flex-direction: row; }
  .nav-toggle { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .9375rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #0284C7);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(3, 105, 161, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(3, 105, 161, 0.65); }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: rgba(15, 23, 42, 0.04); }

/* === Hero card === */
.hero { padding-block: 3rem 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(3, 105, 161, 0.10), transparent 55%),
              radial-gradient(ellipse at bottom right, rgba(15, 23, 42, 0.06), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
@media (min-width: 768px) { .hero { padding-block: 5rem 6rem; } }

.hero-card__inner {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lift);
  text-align: center;
  border: 1px solid var(--color-border);
}
.hero-card__inner .eyebrow { margin-bottom: 1rem; }
.hero-card__inner h1 { margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1rem; }
.hero-figure {
  margin: 2.25rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(2, 6, 23, 0.4);
}
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) { .hero-card__inner { padding: 4rem 3.5rem; } }

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

/* === Cards === */
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: .625rem; }
.card p { color: var(--color-secondary); margin: 0; font-size: .9375rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.12), rgba(3, 105, 161, 0.04));
  color: var(--color-accent);
  margin-bottom: 1.125rem;
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2rem 1.25rem;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.testimonial p { font-size: 1.1875rem; font-style: italic; color: var(--color-primary); margin-bottom: 1rem; line-height: 1.55; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-secondary); font-size: .9375rem; }

/* === CTA band === */
.cta-band {
  margin-block: 3rem;
  padding-block: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(3, 105, 161, 0.35), transparent 55%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(248, 250, 252, 0.82); margin-bottom: 1.5rem; }

/* === Split (image + text) === */
.split-inner { display: grid; gap: 2rem; align-items: center; }
.split-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
@media (min-width: 900px) {
  .split-inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === Contact === */
.contact-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-soft);
  max-width: 640px; margin: 0 auto;
}
.contact-card address { font-style: normal; margin-bottom: 1.5rem; color: var(--color-secondary); line-height: 1.8; }
.contact-card a { color: var(--color-accent); }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-soft); display: grid; gap: 1.125rem; }
.form-row { display: grid; gap: .375rem; }
.form-row label { font-size: .875rem; font-weight: 600; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font: inherit; color: var(--color-primary);
  padding: .75rem .875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-light);
  transition: border-color .2s, box-shadow .2s;
}
.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-consent { display: flex; gap: .625rem; align-items: flex-start; font-size: .875rem; color: var(--color-secondary); line-height: 1.5; }
.form-consent input { margin-top: .2rem; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }

/* === FAQ === */
.faq { display: grid; gap: .625rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-primary); list-style: none; padding-right: 1.5rem;
  position: relative; font-size: 1.0625rem;
}
.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); font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .875rem 0 0; color: var(--color-secondary); }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(248, 250, 252, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.02em; text-transform: uppercase; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { height: 60px; }
.footer-tagline { color: rgba(248, 250, 252, 0.65); font-size: .9375rem; margin-top: .75rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(248, 250, 252, 0.10); }
.footer-nav, .footer-legal { display: grid; gap: .5rem; }
.footer-legal { margin-top: 1.25rem; }
.footer-contact address { font-style: normal; line-height: 1.75; font-size: .9375rem; }
.footer-copy { padding-top: 1.5rem; font-size: .875rem; color: rgba(248, 250, 252, 0.55); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; }
}

/* === 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: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9375rem; line-height: 1.55; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.cookie-banner__actions .btn { padding: .625rem 1.125rem; font-size: .875rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .875rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; justify-self: start; }
