: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);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 40px -20px rgba(2, 6, 23, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 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;
  -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.015em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--color-secondary); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--color-accent); font-weight: 600; margin: 0 0 0.85rem; }
.section { padding: 4rem 0; }
.section-tint { background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.section-head p { margin: 0; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  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 transparent;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px -18px rgba(2, 6, 23, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo-footer img { height: 64px; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--color-primary); border-radius: 2px; transition: transform .2s; }
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav a { padding: 0.75rem 0; color: var(--color-primary); font-weight: 500; }
.primary-nav a:hover { color: var(--color-accent); text-decoration: none; }
.primary-nav .nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: 0.6rem 1.1rem; border-radius: 999px; text-align: center; margin-top: 0.5rem;
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; align-items: center; gap: 1.6rem;
    position: static; background: transparent; padding: 0; border: 0; box-shadow: none;
  }
  .primary-nav a { padding: 0.4rem 0; position: relative; font-size: 0.95rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
    background: var(--color-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; font-family: var(--font-body);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: var(--color-neutral-light); }
.btn-accent { background: var(--color-neutral-light); color: var(--color-primary); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(3, 105, 161, 0.06); }

/* === Hero (split) === */
.hero { position: relative; overflow: hidden; padding: 3rem 0 4rem; }
.hero::before {
  content: ''; position: absolute; inset: -20% -20% auto auto;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(3, 105, 161, 0.14), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: auto auto -30% -20%;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(closest-side, rgba(15, 23, 42, 0.10), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-grid.single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-secondary); margin-bottom: 1.75rem; max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.proof-strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--color-secondary); font-size: 0.9rem; }
.proof-strip li { position: relative; padding-left: 1.1rem; }
.proof-strip li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Cards / grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: block; padding: 1.75rem; background: var(--color-neutral-light);
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(3, 105, 161, 0.28); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.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.15), rgba(15, 23, 42, 0.08));
  color: var(--color-accent); margin-bottom: 1rem;
}
.card h3 { margin: 0 0 0.5rem; }
.card p { margin: 0; font-size: 0.98rem; }

/* === Quote === */
.quote { margin: 0; padding: 2rem; border-left: 3px solid var(--color-accent); background: var(--color-neutral-light); border-radius: 0 var(--radius-md) var(--radius-md) 0; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.15rem; color: var(--color-primary); font-style: italic; margin-bottom: 1rem; }
.quote cite { font-style: normal; color: var(--color-secondary); font-size: 0.95rem; font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding: 3.5rem 0; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.78); margin: 0; }
.cta-band .contact-line { margin-top: 0.5rem; font-size: 0.95rem; }
.cta-inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
@media (min-width: 900px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-primary); list-style: none; padding-right: 2rem; position: relative; font-family: var(--font-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0.75rem 0 0; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: var(--color-neutral-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-size: 0.88rem; font-weight: 500; color: var(--color-secondary); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-primary);
  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: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--color-secondary); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.contact-quick { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; color: var(--color-secondary); }
.contact-quick strong { color: var(--color-primary); }

/* === Map block === */
.map-block { margin-top: 1.5rem; background: #e2e8f0; border-radius: var(--radius-md); padding: 3rem 1rem; text-align: center; color: var(--color-secondary); }
.map-block p { margin: 0.5rem 0 0; font-weight: 500; color: var(--color-primary); }
.map-pin { color: var(--color-accent); display: inline-flex; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.75); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); display: block; padding: 0.25rem 0; font-size: 0.95rem; }
.site-footer a:hover { color: var(--color-neutral-light); text-decoration: none; }
.footer-nav { display: flex; flex-direction: column; }
.footer-contact address { font-style: normal; margin-bottom: 0.5rem; }
.tagline { color: rgba(248, 250, 252, 0.6); font-size: 0.95rem; margin: 0.75rem 0 0; }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.legal-links a { display: inline-block; font-size: 0.85rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.12); color: rgba(248, 250, 252, 0.5); font-size: 0.85rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* === 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: var(--shadow-lg);
  max-width: 640px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248, 250, 252, 0.9); margin: 0 0 0.9rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  border: 1px solid rgba(248, 250, 252, 0.2); background: transparent; color: var(--color-neutral-light);
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer; font-family: var(--font-body); font-size: 0.9rem;
  transition: background .2s, transform .2s;
}
.cookie-banner__actions button:hover, .cookie-banner__prefs button:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #0284c7; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: rgba(248, 250, 252, 0.85); }

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