:root {
  --bg: #f5f8fb;
  --bg-warm: #fbfaf7;
  --ink: #101923;
  --muted: #5e6d7c;
  --line: #d9e3ec;
  --panel: #ffffff;
  --blue: #126db2;
  --blue-dark: #0b4d81;
  --blue-deep: #10283f;
  --blue-soft: #e7f2fa;
  --red: #c91f36;
  --red-soft: #fde8eb;
  --shadow-sm: 0 10px 32px rgba(15, 34, 52, 0.07);
  --shadow-md: 0 22px 65px rgba(15, 34, 52, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --content: 1180px;
  --edge: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
p, h1, h2, h3 { overflow-wrap: break-word; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.container {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 10px var(--edge);
  border-bottom: 1px solid rgba(217, 227, 236, 0.72);
  background: rgba(245, 248, 251, 0.84);
  backdrop-filter: blur(18px) saturate(135%);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(146px, 13vw, 174px);
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(217, 227, 236, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 30px rgba(15, 34, 52, 0.04);
  font-size: 0.9rem;
  font-weight: 750;
}

nav a {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #344657;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

nav a:hover,
nav a[aria-current="true"] {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

nav a:hover { transform: translateY(-1px); }

nav .nav-cta,
nav .nav-cta:hover,
nav .nav-cta[aria-current="true"] {
  background: var(--blue);
  color: white;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 8vw, 112px) var(--edge) clamp(66px, 8vw, 108px);
  background:
    linear-gradient(rgba(18, 109, 178, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 109, 178, 0.045) 1px, transparent 1px),
    linear-gradient(122deg, #ffffff 2%, #f6f9fc 58%, #eaf4fb 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 110px;
  background: linear-gradient(transparent, var(--bg));
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-glow-one {
  top: -180px;
  right: -130px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(18, 109, 178, 0.18);
  background: radial-gradient(circle, rgba(84, 174, 225, 0.18), transparent 66%);
}

.hero-glow-two {
  bottom: -240px;
  left: 42%;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(237, 38, 61, 0.09), transparent 68%);
  animation-delay: -4s;
}

@keyframes drift {
  from { transform: translate3d(0, -8px, 0) scale(0.98); }
  to { transform: translate3d(-22px, 18px, 0) scale(1.04); }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 8vw, 108px);
}

.hero-copy { max-width: 740px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; }

h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 6.3vw, 6.15rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.75rem);
  font-weight: 830;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-kicker,
.hero h1,
.hero-lede,
.hero-actions,
.proof-list,
.service-map {
  animation: hero-in 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero h1 { animation-delay: 70ms; }
.hero-lede { animation-delay: 140ms; }
.hero-actions { animation-delay: 210ms; }
.proof-list { animation-delay: 280ms; }
.service-map { animation-delay: 200ms; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: #435568;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button span,
.choice-footer a span,
.project-card > a span {
  transition: transform 180ms ease;
}

.button:hover span,
.choice-footer a:hover span,
.project-card > a:hover span { transform: translateX(4px); }

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 30px rgba(18, 109, 178, 0.23);
}

.button.primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 18px 38px rgba(18, 109, 178, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #b6c8d8;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 25px 0 0;
  padding: 0;
  color: #405366;
  font-size: 0.9rem;
  font-weight: 760;
  list-style: none;
}

.proof-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.service-map {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(183, 207, 226, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.map-heading span,
.map-heading strong { display: block; }
.map-heading span { color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.map-heading strong { font-size: 1.12rem; }

.map-line {
  position: absolute;
  top: 99px;
  bottom: 108px;
  left: 44px;
  width: 2px;
  overflow: hidden;
  background: var(--line);
}

.map-line span {
  display: block;
  width: 100%;
  height: 40%;
  background: linear-gradient(transparent, var(--blue), transparent);
  animation: route-pulse 3.2s ease-in-out infinite;
}

@keyframes route-pulse {
  from { transform: translateY(-120%); }
  to { transform: translateY(330%); }
}

.map-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(247, 250, 252, 0.75);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.map-step:hover,
.map-step.active {
  border-color: #c8dce9;
  background: white;
  transform: translateX(-5px);
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.map-step.active .step-number { background: var(--blue); color: white; }
.map-step p, .map-step strong, .map-step small { display: block; margin: 0; }
.map-step p { color: var(--red); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.map-step strong { margin-top: 1px; font-size: 1rem; }
.map-step small { margin-top: 2px; color: var(--muted); }
.map-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

.trust-strip {
  padding: 17px var(--edge);
  border-block: 1px solid var(--line);
  background: white;
}

.trust-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.trust-track p { margin: 0; color: #405163; font-size: 0.86rem; font-weight: 850; text-align: center; }
.trust-track > span { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--red); }

.section { padding: clamp(76px, 9vw, 128px) var(--edge); }

.section-heading { max-width: 790px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-heading h2 { max-width: 12ch; }
.section-heading > p:last-child,
.section-heading > div + p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered h2 { max-width: none; }
.section-heading.centered > p:last-child { max-width: 670px; margin-inline: auto; }

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 50px;
  max-width: none;
}

.split-heading > p { margin: 0; }

.choose-section { background: var(--bg); }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(23px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.choice-card:hover {
  border-color: #b9d0e0;
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.choice-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 42px; }
.choice-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 34px; border-radius: 9px; background: var(--red-soft); color: var(--red); font-size: 0.76rem; font-weight: 900; }
.choice-label { margin: 0; color: var(--muted); font-size: 0.8rem; font-weight: 850; text-transform: uppercase; }
.choice-card h3 { max-width: 15ch; }
.choice-card > p { margin: 15px 0 28px; color: var(--muted); }
.choice-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.choice-footer p { display: grid; gap: 2px; margin: 0; }
.choice-footer p span { color: var(--muted); font-size: 0.78rem; }
.choice-footer p strong { font-size: 1.05rem; }
.choice-footer a,
.project-card > a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-dark); font-size: 0.9rem; font-weight: 900; text-decoration: none; }

.projects-section {
  background:
    linear-gradient(rgba(18, 109, 178, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 109, 178, 0.035) 1px, transparent 1px),
    white;
  background-size: 52px 52px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: clamp(23px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-card:hover { border-color: #b7cfdf; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card-featured { background: linear-gradient(145deg, #f2f8fc, white); border-color: #b9d5e6; }
.project-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 30px; color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.project-meta span { color: var(--red); text-transform: uppercase; }
.project-meta strong { color: var(--blue-dark); }
.project-card h3 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.project-card > p { max-width: 570px; margin: 13px 0 22px; color: var(--muted); }
.project-card > .project-scope {
  margin-top: auto;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--blue-soft);
  color: #405163;
  font-size: 0.8rem;
  line-height: 1.45;
}
.project-card ul { display: grid; gap: 6px; margin: -5px 0 24px; padding: 0; color: #405163; font-size: 0.9rem; list-style: none; }
.project-card li::before { content: "✓"; margin-right: 8px; color: var(--blue); font-weight: 900; }
.project-card > a { margin-top: 0; }

.more-services {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.more-services summary,
.faq-list summary { cursor: pointer; list-style: none; }
.more-services summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker { display: none; }

.more-services summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  color: var(--muted);
}

.more-services summary strong { display: block; color: var(--ink); font-size: 1.08rem; }
.summary-action { flex: 0 0 auto; color: var(--blue); font-size: 0.88rem; font-weight: 900; }
.summary-action::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 10px; border-radius: 50%; background: var(--blue-soft); font-size: 1.1rem; }
.more-services[open] .summary-action::after { content: "−"; }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.service-list p { display: flex; flex-direction: column; min-height: 150px; margin: 0; padding: 20px; background: var(--bg); }
.service-list strong { font-size: 0.95rem; line-height: 1.25; }
.service-list span { margin-top: 12px; color: var(--blue-dark); font-size: 0.88rem; font-weight: 900; }
.service-list small { margin-top: auto; padding-top: 16px; color: var(--muted); line-height: 1.4; }

.care-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(35, 125, 192, 0.23), transparent 32%),
    linear-gradient(145deg, #0d1e2e, #132c43 70%, #0d2234);
  color: white;
}

.care-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.care-section .container { position: relative; }
.section-heading.light > p:last-child { color: #b9c9d7; }
.care-section .eyebrow { color: #ff6d7e; }

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.care-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 31px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.care-card:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); transform: translateY(-6px); }
.care-card.featured { border-color: rgba(101, 184, 237, 0.62); background: white; color: var(--ink); box-shadow: 0 28px 78px rgba(0, 0, 0, 0.28); transform: translateY(-12px); }
.care-card.featured:hover { transform: translateY(-17px); }
.care-fit { align-self: flex-start; margin: 0 0 24px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #c9d8e5; font-size: 0.74rem; font-weight: 900; text-transform: uppercase; }
.care-card.featured .care-fit { background: var(--red-soft); color: var(--red); }
.care-card h3 { font-size: 1.65rem; }
.care-price { display: flex; align-items: baseline; gap: 6px; margin: 13px 0 0; }
.care-price strong { font-size: clamp(2.6rem, 4vw, 3.7rem); letter-spacing: -0.055em; line-height: 1; }
.care-price span { color: #aebfcd; font-size: 0.9rem; font-weight: 750; }
.care-card.featured .care-price span,
.care-card.featured .care-description { color: var(--muted); }
.care-description { min-height: 76px; margin: 18px 0 0; color: #b9c9d7; }
.care-card ul { display: grid; gap: 11px; margin: 24px 0 28px; padding: 23px 0 0; border-top: 1px solid rgba(255,255,255,.14); color: #d8e2ea; list-style: none; }
.care-card.featured ul { border-color: var(--line); color: #405163; }
.care-card li { position: relative; padding-left: 22px; }
.care-card li::before { content: ""; position: absolute; top: .68em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #5fb5e8; }
.care-card.featured li::before { background: var(--red); }
.care-card .button { width: 100%; margin-top: auto; }
.care-card:not(.featured) .button.secondary { border-color: rgba(255,255,255,.24); background: transparent; color: white; }
.care-card:not(.featured) .button.secondary:hover { border-color: rgba(255,255,255,.5); box-shadow: none; }
.care-note { max-width: 760px; margin: 34px auto 0; color: #9fb1c0; font-size: 0.88rem; text-align: center; }

.process-section { background: var(--bg-warm); }
.process-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(420px, 1fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.process-layout .section-heading { position: sticky; top: 120px; margin-bottom: 0; }
.process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.process-list li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 46px; }
.process-list li:last-child { padding-bottom: 0; }
.process-list li:not(:last-child)::after { content: ""; position: absolute; top: 52px; bottom: 0; left: 25px; width: 2px; background: linear-gradient(var(--blue), var(--line)); }
.process-list li > span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: white; font-size: .78rem; font-weight: 900; box-shadow: 0 0 0 8px var(--blue-soft); }
.process-list li div { padding: 7px 0 0; }
.process-list strong { font-size: 1.15rem; }
.process-list p { margin: 7px 0 0; color: var(--muted); }

.faq-section { background: white; }
.faq-layout { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(440px, 1fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.faq-layout .section-heading { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 48px 22px 0; font-size: 1.05rem; font-weight: 850; }
.faq-list summary::after { content: "+"; position: absolute; top: 18px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.2rem; transition: transform 180ms ease, background-color 180ms ease; }
.faq-list details[open] summary::after { content: "−"; background: var(--blue); color: white; transform: rotate(180deg); }
.faq-list details p { margin: -4px 0 0; padding: 0 48px 23px 0; color: var(--muted); }

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(74px, 9vw, 120px) var(--edge);
  background: linear-gradient(112deg, #0b4d81, #147bbf);
  color: white;
}

.contact-glow { position: absolute; right: -120px; bottom: -230px; z-index: -1; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025); animation: contact-pulse 8s ease-in-out infinite alternate; }
@keyframes contact-pulse { to { transform: scale(1.08) translate(-16px, -12px); } }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(40px, 7vw, 90px); }
.contact h2 { max-width: 12ch; }
.contact p:not(.eyebrow) { max-width: 650px; margin: 20px 0 0; color: white; font-size: 1.08rem; }
.contact .eyebrow { color: white; }
.contact-actions { flex-direction: column; align-items: stretch; margin: 0; }
.contact-primary { background: white; color: var(--blue-dark); box-shadow: 0 15px 36px rgba(0,0,0,.14); }
.contact-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(0,0,0,.2); }
.text-link { color: white; font-size: .9rem; font-weight: 750; text-align: center; text-underline-offset: 4px; }
.contact-privacy { display: block; max-width: 330px; color: white; font-size: .74rem; line-height: 1.45; text-align: center; }
.contact-privacy a { color: white; font-weight: 800; text-underline-offset: 3px; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px var(--edge); background: white; color: var(--muted); font-size: .86rem; }
footer .brand img { width: 145px; }
footer p { margin: 0; }
.footer-tagline { text-align: center; }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px 16px; text-align: right; }
.footer-meta a { color: #405163; font-weight: 760; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--blue-dark); }
.legal-hero {
  padding: clamp(72px, 8vw, 108px) var(--edge) clamp(56px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(18, 109, 178, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 109, 178, 0.045) 1px, transparent 1px),
    linear-gradient(122deg, #ffffff 2%, #f6f9fc 58%, #eaf4fb 100%);
  background-size: 48px 48px, 48px 48px, auto;
}
.legal-hero .container { max-width: 980px; }
.legal-hero h1 { max-width: 15ch; font-size: clamp(3rem, 6vw, 5.5rem); }
.legal-lede { max-width: 720px; margin: 24px 0 0; color: #435568; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.legal-updated { margin: 18px 0 0; color: var(--muted); font-size: .82rem; font-weight: 760; }
.error-hero { display: grid; min-height: 610px; align-items: center; }
.error-hero h1 { max-width: 11ch; }

.legal-section { padding: clamp(60px, 8vw, 100px) var(--edge); background: white; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; align-items: start; gap: clamp(44px, 7vw, 90px); }
.legal-toc { position: sticky; top: 108px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.legal-toc strong { display: block; margin-bottom: 12px; color: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-toc ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.legal-toc a { color: #405163; font-size: .82rem; font-weight: 720; text-decoration: none; }
.legal-toc a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy section { scroll-margin-top: 110px; }
.legal-copy section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-copy h2 { max-width: none; margin-bottom: 16px; font-size: clamp(1.65rem, 2.7vw, 2.35rem); letter-spacing: -.035em; line-height: 1.08; }
.legal-copy h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal-copy p { margin: 0 0 14px; color: #405163; }
.legal-copy ul { display: grid; gap: 8px; margin: 12px 0 16px; padding-left: 1.25rem; color: #405163; }
.legal-copy a { color: var(--blue-dark); font-weight: 720; text-underline-offset: 3px; }
.legal-callout { margin: 26px 0 0; padding: 18px 20px; border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--red-soft); color: #5b2b31; }
.legal-callout strong { color: #41171c; }
.privacy-contact { padding: 20px; border: 1px solid #bfd5e5; border-radius: var(--radius-sm); background: var(--blue-soft); }
.privacy-contact p:last-child { margin-bottom: 0; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms cubic-bezier(.2,.75,.25,1), transform 650ms cubic-bezier(.2,.75,.25,1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.choice-grid [data-reveal]:nth-child(2), .care-grid [data-reveal]:nth-child(2), .project-grid [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.choice-grid [data-reveal]:nth-child(3), .care-grid [data-reveal]:nth-child(3), .project-grid [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.project-grid [data-reveal]:nth-child(4) { transition-delay: 90ms; }

@media (max-width: 1020px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 9px; }
  nav { width: 100%; justify-content: space-between; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-copy h1 { max-width: 11.5ch; }
  .service-map { width: min(100%, 680px); }
  .choice-grid, .care-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 0; }
  .care-card { max-width: 720px; width: 100%; margin-inline: auto; }
  .care-card.featured { transform: none; }
  .care-card.featured:hover { transform: translateY(-6px); }
  .care-description { min-height: 0; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-layout, .faq-layout { grid-template-columns: 1fr; }
  .process-layout .section-heading { position: static; }
  .faq-layout .section-heading { max-width: 720px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 126px; }
  .site-header { padding: 10px 16px; }
  nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 13px; font-size: .72rem; }
  nav a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 38px; padding: 6px 3px; text-align: center; line-height: 1.15; }
  .hero, .section, .contact { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.8rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .service-map { padding: 18px; }
  .map-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .map-line { top: 119px; bottom: 112px; left: 38px; }
  .map-step { grid-template-columns: 38px 1fr; padding: 12px; }
  .step-number { width: 38px; height: 38px; }
  .proof-list { gap: 8px 15px; }
  .trust-track { flex-wrap: wrap; justify-content: center; }
  .trust-track > span { display: none; }
  .trust-track p { flex: 1 1 42%; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 260px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list p { min-height: 120px; }
  .more-services summary { align-items: flex-start; padding: 20px; }
  .summary-action { font-size: 0; }
  .summary-action::after { margin: 0; font-size: 1.1rem; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 18px; }
  .process-list li > span { width: 44px; height: 44px; }
  .process-list li:not(:last-child)::after { top: 44px; left: 21px; }
  .contact-layout { grid-template-columns: 1fr; align-items: start; }
  .contact-actions { align-items: flex-start; }
  .contact-privacy { text-align: left; }
  footer { grid-template-columns: 1fr; }
  .footer-tagline { text-align: left; }
  .footer-meta { flex-wrap: wrap; justify-content: flex-start; text-align: left; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 420px) {
  nav { font-size: .67rem; }
  nav a { padding-inline: 2px; }
  .brand img { width: 142px; }
  .hero-actions .button { width: 100%; }
  .choice-footer { align-items: flex-start; flex-direction: column; }
  .project-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
