:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #64748B;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --container: 1200px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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); }
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.02em; margin: 0 0 .75rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

/* === 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: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(3, 105, 161, 0.6); color: var(--color-neutral-light); }
.btn--accent { background: linear-gradient(135deg, var(--color-accent), #0284c7); color: var(--color-neutral-light); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(3, 105, 161, 0.7); color: var(--color-neutral-light); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-primary); color: var(--color-neutral-light); border-color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 2px; }

/* === Header === */
.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 transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  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 { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { position: relative; color: var(--color-primary); font-weight: 500; font-size: .95rem; padding-block: .25rem; }
.primary-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:not(.btn):hover::after,
.primary-nav a.is-active:not(.btn)::after { transform: scaleX(1); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer;
  color: var(--color-primary);
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav.is-open a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open a.btn { border: none; margin-top: .5rem; }

/* === Hero split === */
.hero { padding-block: 3rem 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(3, 105, 161, 0.14), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(15, 23, 42, 0.06), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero__text { max-width: 42rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-secondary); max-width: 40ch; margin-block: 1rem 2rem; }
.hero__sub.center { margin-inline: auto; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 2.5rem 0 0; color: var(--color-secondary); font-size: .9rem; }
.hero__proof strong { display: block; font-family: var(--font-heading); color: var(--color-primary); font-size: 1.5rem; font-weight: 700; }
.hero__media img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero--centered { text-align: center; padding-block: 5rem 3rem; }
.hero--centered .hero__sub { margin-inline: auto; }
.success-mark { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: rgba(3, 105, 161, 0.1); color: var(--color-accent); margin-bottom: 1.5rem; }

@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow > .container,
.section > .container.section--narrow { max-width: 780px; }
.section--tinted {
  background:
    linear-gradient(180deg, rgba(3, 105, 161, 0.04), rgba(3, 105, 161, 0.02) 40%, transparent),
    var(--color-neutral-light);
  border-block: 1px solid var(--color-border);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-secondary); font-size: 1.05rem; }
.lede { font-size: 1.1rem; color: var(--color-secondary); }

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

/* === Split (content + image) === */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.split--form { align-items: start; }
@media (min-width: 900px) { .split--form { grid-template-columns: 1.4fr 1fr; } }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.5rem; 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); } }

.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), border-color .25s var(--ease);
}
.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.12); color: var(--color-accent); margin-bottom: 1rem; }
.card p { color: var(--color-secondary); margin-bottom: 0; }
.card--stat .stat { font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; color: var(--color-accent); margin: 0 0 .25rem; letter-spacing: -0.03em; }
.card--stat h3 { color: var(--color-secondary); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* === Quote === */
.quote { max-width: 780px; margin: 0 auto; text-align: center; padding: 2rem 1rem; }
.quote__mark { color: var(--color-accent); opacity: .35; margin: 0 auto .5rem; display: block; }
.quote p { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--color-primary); font-family: var(--font-heading); font-weight: 500; }
.quote cite { display: block; margin-top: 1.25rem; color: var(--color-secondary); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin-block: 2rem;
  color: var(--color-neutral-light);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 20%, rgba(3, 105, 161, 0.45), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; gap: 1.5rem; padding-block: 3rem; align-items: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.8); margin: 0; }
.cta-band__meta { font-size: .9rem; margin-top: .5rem !important; }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; padding-block: 4rem; }
}

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(3, 105, 161, 0.35); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 1rem; color: var(--color-secondary); margin-bottom: 0; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .9rem; color: var(--color-primary); }
.field input, .field textarea {
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-primary);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-secondary); line-height: 1.5; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: .5rem; }

.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-card address { font-style: normal; color: var(--color-secondary); line-height: 1.7; }
.contact-card h4 { margin-top: 1.5rem; }
.hours { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--color-border); color: var(--color-secondary); }
.hours li:last-child { border-bottom: none; }
.hours span:first-child { color: var(--color-primary); font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.75); padding-top: 4rem; margin-top: 4rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; grid-template-columns: 1fr; }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; font-size: .8rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__tag { margin-top: 1rem; max-width: 28ch; font-size: .95rem; }
.site-footer__contact address { font-style: normal; line-height: 1.8; font-size: .95rem; }
.site-footer__legal { margin-top: 1.25rem; font-size: .85rem; }
.site-footer__base { padding-block: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.1); font-size: .85rem; color: rgba(248, 250, 252, 0.55); }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; 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;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  max-width: 560px;
}
.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.2); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(248, 250, 252, 0.1); color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.4); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
