:root {
  --ink: #102f35;
  --deep: #071a1f;
  --teal: #1f8a80;
  --mint: #d9f0ec;
  --orange: #f28f4b;
  --sand: #f5f1e9;
  --paper: #fffdf8;
  --steel: #536367;
  --line: #d9dedb;
  --shadow: 0 24px 70px rgba(7, 26, 31, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sand);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 10px 14px;
  font-weight: 850;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid rgba(16, 47, 53, 0.12);
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img, .footer-brand img { width: 210px; height: auto; border-radius: 4px; }
.desktop-nav { display: flex; justify-content: center; gap: 5px; }
.desktop-nav a, .mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 7px;
  color: #27464a;
  font-size: 0.94rem;
  font-weight: 820;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"],
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] {
  background: var(--mint);
  color: var(--deep);
}
.header-cta, .primary-button, .secondary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.header-cta, .primary-button { background: var(--deep); color: white; }
.header-cta:hover, .primary-button:hover { background: var(--teal); transform: translateY(-1px); }
.secondary-button { border-color: rgba(16, 47, 53, 0.28); background: var(--paper); color: var(--ink); }
.secondary-button:hover { border-color: var(--teal); background: #eef9f6; transform: translateY(-1px); }
.ghost-button { min-height: 42px; padding-inline: 0; color: var(--ink); }
.ghost-button:hover { color: var(--teal); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(16, 47, 53, 0.18);
  border-radius: 8px;
  background: var(--paper);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}
.mobile-nav {
  position: fixed;
  inset: 76px 14px auto;
  z-index: 85;
  display: none;
  border: 1px solid rgba(16, 47, 53, 0.12);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
  padding: 10px;
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a { justify-content: space-between; border-radius: 4px; }

.section { padding: clamp(64px, 8vw, 118px) clamp(18px, 4vw, 56px); }
.section-tight { padding-top: clamp(44px, 6vw, 82px); padding-bottom: clamp(44px, 6vw, 82px); }
.inner { width: min(1460px, 100%); margin: 0 auto; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
.hero-title, .page-title, .section-title {
  color: var(--deep);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
}
.hero-title { max-width: 760px; font-size: clamp(3rem, 7.2vw, 6.4rem); }
.page-title { max-width: 980px; font-size: clamp(2.8rem, 7vw, 6.5rem); }
.section-title { max-width: 980px; font-size: clamp(2.2rem, 5vw, 5rem); }
.lead {
  max-width: 710px;
  color: var(--steel);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}
.copy { color: var(--steel); font-size: 1.02rem; line-height: 1.75; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 110px clamp(18px, 4vw, 56px) 44px;
  overflow: hidden;
  background: var(--deep);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 31, 0.9) 0%, rgba(7, 26, 31, 0.74) 38%, rgba(7, 26, 31, 0.15) 80%);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content { position: relative; z-index: 1; width: min(1460px, 100%); margin: 0 auto; }
.hero .eyebrow, .hero .lead { color: #d5f0eb; }
.hero .hero-title { color: #fffdf8; text-shadow: 0 14px 46px rgba(0, 0, 0, 0.28); }
.hero .lead { max-width: 680px; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .secondary-button { border-color: rgba(255,255,255,0.34); background: rgba(255,255,255,0.08); color: white; }
.hero .secondary-button:hover { background: white; color: var(--deep); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero-proof span {
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.08);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.split.reverse { grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr); }
.image-frame {
  overflow: hidden;
  border: 1px solid rgba(16, 47, 53, 0.12);
  background: #dfe5e1;
  box-shadow: var(--shadow);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.image-frame.tall img { aspect-ratio: 4 / 4.7; }
.grid-3, .grid-2, .result-grid {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.panel, .service-card, .result-card, .faq-item, .contact-card {
  border: 1px solid rgba(16, 47, 53, 0.12);
  background: var(--paper);
}
.panel { padding: clamp(24px, 4vw, 42px); }
.service-card, .result-card, .faq-item, .contact-card { padding: 24px; }
.service-card h3, .result-card h3, .faq-item h3 { margin-bottom: 10px; font-size: 1.15rem; }
.tag {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--deep);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}
.number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--deep);
  color: white;
  font-weight: 950;
}
.dark-band {
  background: var(--deep);
  color: white;
}
.dark-band .section-title, .dark-band h2, .dark-band h3 { color: white; }
.dark-band .copy, .dark-band .lead { color: #cbd8d6; }
.dark-band .panel, .dark-band .service-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }

.finder {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}
.option-group { display: grid; gap: 10px; margin-top: 18px; }
.option-button {
  width: 100%;
  border: 1px solid rgba(16, 47, 53, 0.16);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
  font-weight: 850;
}
.option-button[aria-pressed="true"] { border-color: var(--teal); background: var(--mint); }
.recommendation {
  position: sticky;
  top: 100px;
  background: var(--deep);
  color: white;
  padding: clamp(26px, 4vw, 42px);
}
.recommendation h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; }
.recommendation ul, .check-list { padding-left: 1.1rem; color: inherit; line-height: 1.8; }
.check-list { color: var(--steel); }
.timeline { display: grid; gap: 14px; margin-top: 24px; }
.timeline-item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.timeline-item strong { color: var(--teal); }
.quote { border-left: 5px solid var(--orange); padding-left: 18px; color: var(--deep); font-size: 1.25rem; line-height: 1.45; font-weight: 750; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: var(--deep); font-size: 0.92rem; font-weight: 850; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(16, 47, 53, 0.18);
  border-radius: 0;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
}
textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.45;
}
.privacy-row input { width: auto; margin-top: 4px; }
.form-message { min-height: 24px; color: var(--teal); font-weight: 850; }
.map-box {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 47, 53, 0.12);
  background: linear-gradient(135deg, #edf3f1, #dbe8e5);
  text-align: center;
  padding: 28px;
}
.map-box iframe { width: 100%; height: 360px; border: 0; }

.site-footer {
  border-top: 1px solid rgba(16, 47, 53, 0.12);
  background: var(--paper);
  padding: 48px clamp(18px, 4vw, 56px);
}
.footer-grid { display: grid; width: min(1460px, 100%); margin: 0 auto; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-grid a, .footer-button { display: block; margin: 8px 0; color: var(--steel); }
.footer-button { border: 0; background: transparent; padding: 0; text-align: left; }
.footer-note { max-width: 340px; color: var(--steel); line-height: 1.65; }

.cookie-banner, .cookie-panel {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  width: min(520px, calc(100% - 36px));
  border: 1px solid rgba(16, 47, 53, 0.16);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-panel label { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 13px 0; }
.cookie-panel input { width: auto; }
.noscript { position: fixed; inset: auto 16px 16px; z-index: 130; background: white; border: 1px solid var(--ink); padding: 12px; }

@media (max-width: 1120px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .split, .split.reverse, .finder { grid-template-columns: 1fr; }
  .recommendation { position: static; }
  .grid-3, .result-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .brand img, .footer-brand img { width: 174px; }
  .site-header { min-height: 70px; padding-inline: 14px; }
  .mobile-nav { inset-top: 70px; }
  .hero { min-height: 92vh; padding-top: 96px; }
  .hero::after { background: linear-gradient(180deg, rgba(7,26,31,0.3), rgba(7,26,31,0.92) 58%, rgba(7,26,31,0.96)); }
  .hero img { object-position: 58% center; }
  .grid-2, .grid-3, .result-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .hero .eyebrow { max-width: 260px; font-size: 0.68rem; letter-spacing: 0.14em; }
  .hero-title { max-width: 340px; font-size: clamp(2.3rem, 9.8vw, 2.75rem); line-height: 1.03; }
  .hero .lead { max-width: 320px; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
  .page-title { font-size: clamp(2.5rem, 13vw, 4rem); }
  .section-title { font-size: clamp(2rem, 10vw, 3.2rem); }
  .section { padding-inline: 16px; }
  .cookie-banner, .cookie-panel { left: 12px; right: auto; bottom: 12px; width: calc(100vw - 24px); max-width: calc(100vw - 24px); padding: 16px; }
  .cookie-banner h2, .cookie-panel h2 { margin-bottom: 8px; font-size: 1.12rem; }
  .cookie-banner .copy { max-width: 300px; font-size: 0.9rem; line-height: 1.45; overflow-wrap: anywhere; }
  .cookie-actions { gap: 8px; }
  .cookie-actions .primary-button, .cookie-actions .secondary-button { min-height: 42px; padding-inline: 10px; font-size: 0.8rem; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .primary-button, .hero-actions .secondary-button { width: min(100%, 320px); }
  .hero-proof span { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
