:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1F2E;
  --color-muted: #4B6478;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(12, 74, 110, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(12, 74, 110, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(3, 105, 161, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(3, 105, 161, 0.7); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(249, 115, 22, 0.6);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 32px -12px rgba(249, 115, 22, 0.7); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 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 var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px -12px rgba(12, 74, 110, 0.2);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
  position: absolute;
  left: 0; right: 0; top: 100%;
}
.primary-nav.open { display: flex; }
.primary-nav a {
  padding: 0.6rem 0.25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { color: var(--color-accent) !important; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    position: static;
    padding: 0;
    background: transparent;
    border: none;
  }
  .primary-nav a { padding: 0.35rem 0; border: none; position: relative; }
  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero (split + gradient) === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(249, 115, 22, 0.10), transparent 70%),
    radial-gradient(60% 60% at 15% 85%, rgba(14, 165, 233, 0.14), transparent 70%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff);
}
.hero-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-split__text .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-split__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero { padding-block: 6rem; }
  .hero-split__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

.hero-thanks { padding-block: 5rem; text-align: center; }
.hero-thanks .lede { margin-inline: auto; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.intro { text-align: left; }
.intro .narrow > h2 { margin-bottom: 1rem; }
.intro p { font-size: 1.05rem; color: var(--color-text); }

.split-media__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.split-media__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .split-media__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--color-primary); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(3, 105, 161, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { transition: color .2s var(--ease); }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(3, 105, 161, 0.06));
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote p {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* === CTA Band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 60% at 90% 10%, rgba(249, 115, 22, 0.20), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; max-width: 46ch; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
  background: #fff;
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer-grid nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-tag { color: rgba(255,255,255,0.7); margin: 0.5rem 0 0; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer-copy {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }

/* === 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.4rem;
  border-radius: var(--radius-md);
  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: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }

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