/* ==========================================================================
   Ridgeway Home Services — stylesheet
   Mobile-first. Navy #16324f · Safety yellow #f2b705 · Light #e8edf2 · White
   ========================================================================== */

:root {
  --navy: #16324f;
  --navy-900: #0d2136;
  --navy-700: #1f4468;
  --navy-500: #3a6489;
  --yellow: #f2b705;
  --yellow-600: #d9a204;
  --yellow-50: #fff7dc;
  --light: #e8edf2;
  --light-2: #f4f7fa;
  --white: #ffffff;
  --ink: #142333;
  --muted: #51616f;
  --line: #d3dbe3;
  --success: #1d7a46;
  --error: #b42318;

  --font-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Inter Tight", "Inter", "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(13, 33, 54, .06), 0 1px 3px rgba(13, 33, 54, .08);
  --shadow: 0 10px 30px -12px rgba(13, 33, 54, .28);
  --shadow-lg: 0 24px 60px -20px rgba(13, 33, 54, .45);

  --wrap: 1200px;
  --gutter: 20px;
  --mobilebar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--navy-900); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.section { padding-block: clamp(56px, 9vw, 96px); }
.section--light { background: var(--light-2); }
.section--navy { background: var(--navy); color: #d9e3ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy-500); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--yellow); }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9c8d8; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.sample-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: var(--light); border-radius: 999px; padding: 4px 10px; margin: 0;
}
.sample-note svg { width: 14px; height: 14px; flex: none; }
.section--navy .sample-note, .hero .sample-note { background: rgba(255,255,255,.1); color: #c8d5e3; }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  --bg: var(--navy); --fg: var(--white); --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; }
.btn--yellow { --bg: var(--yellow); --fg: var(--navy-900); --bd: var(--yellow); }
.btn--yellow:hover { --bg: #ffc61a; --bd: #ffc61a; }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.08); --bd: var(--white); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #d0dbe7; font-size: .88rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; padding-block: 6px; }
.topbar__emergency { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; text-decoration: none; }
.topbar__emergency:hover { color: var(--yellow); }
.topbar__emergency strong { color: var(--yellow); font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #ff5a4e; box-shadow: 0 0 0 0 rgba(255,90,78,.6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,90,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,78,0); } }
.topbar__meta { display: none; gap: 20px; color: #a9bacb; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__meta .icon { width: 15px; height: 15px; color: var(--yellow); }
@media (min-width: 900px) {
  .topbar .wrap { justify-content: space-between; }
  .topbar__meta { display: flex; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(13,33,54,.35); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.logo img { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.logo__sub { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-500); margin-top: 4px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 2px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-cta { display: none; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px; max-height: calc(100vh - 120px); overflow-y: auto;
}
.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav ul a {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--light);
}
.site-nav ul a[aria-current="page"] { color: var(--navy); box-shadow: inset 4px 0 0 var(--yellow); padding-left: 16px; }
.site-nav__cta { display: grid; gap: 10px; margin-top: 16px; }
.site-nav__cta .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; padding: 0; max-height: none; background: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav ul a { position: relative; border: 0; padding: 10px 14px; font-size: 1rem; border-radius: 8px; }
  .site-nav ul a:hover { background: var(--light-2); }
  .site-nav ul a[aria-current="page"] { box-shadow: none; padding-left: 14px; }
  .site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--yellow); border-radius: 2px; }
  .site-nav__cta { display: none; }
  .header-cta { display: inline-flex; align-items: center; gap: 18px; margin-left: 12px; }
  .header-phone { display: none; text-decoration: none; color: var(--navy); line-height: 1.15; }
  .header-phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .header-phone strong { font-family: var(--font-display); font-size: 1.08rem; }
}
@media (min-width: 1140px) { .header-phone { display: block; } }

/* ---------- Photo slots with designed fallbacks ---------- */
.ph {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(242,183,5,.28), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px),
    linear-gradient(140deg, var(--navy-700), var(--navy-900));
}
.ph::before {
  /* subtle house/tool mark so an empty slot still looks deliberate */
  content: ""; position: absolute; inset: 0; margin: auto; width: 34%; max-width: 120px; aspect-ratio: 1;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 24 24 8l18 16'/%3E%3Cpath d='M11 20v20h26V20'/%3E%3Cpath d='M20 40V29h8v11'/%3E%3C/svg%3E");
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--plumb::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23ffffff' stroke-opacity='.24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 14h14a6 6 0 0 1 6 6v6'/%3E%3Cpath d='M8 9v10M24 30h8M28 26v8'/%3E%3Cpath d='M28 38c0 2 1.8 4 4 4s4-2 4-4c0-2.5-4-7-4-7s-4 4.5-4 7z'/%3E%3C/svg%3E"); }
.ph--person { background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.12) 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.12) 0 38%, transparent 39%), radial-gradient(circle at 85% 10%, rgba(242,183,5,.3), transparent 40%), linear-gradient(160deg, var(--navy-500), var(--navy-900)); }
.ph--person::before { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #d7e2ee; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(13,33,54,.97) 0%, rgba(22,50,79,.92) 55%, rgba(22,50,79,.78) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    var(--navy);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,183,5,.18), transparent 65%); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 36px; padding-block: clamp(44px, 8vw, 88px); }
.hero h1 { color: var(--white); margin-bottom: 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 560px; color: #c4d2e1; margin-bottom: 28px; }
.hero__checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
.hero__checks .icon { color: var(--yellow); width: 22px; height: 22px; }
@media (min-width: 600px) { .hero__checks { grid-template-columns: repeat(2, max-content); column-gap: 28px; } }
@media (min-width: 980px) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
}

/* Quote card (hero + quote page) */
.quote-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow-lg); border-top: 6px solid var(--yellow);
}
.quote-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card__sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.quote-card__foot { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.quote-card__foot .icon { width: 16px; height: 16px; color: var(--success); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field .req { color: var(--error); }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316324f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b3c0cd; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(242,183,5,.45); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { display: none; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--error); }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: .7rem; font-weight: 800; flex: none; }
.field.has-error .field-error { display: flex; }
.field input[type="file"] { padding: 10px; min-height: 0; border-style: dashed; background: var(--light-2); cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 700; border: 0; border-radius: 8px; background: var(--navy); color: #fff; padding: 8px 14px; margin-right: 12px; cursor: pointer; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-group { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-group--3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px 12px 44px; border: 2px solid var(--line); border-radius: 10px;
  font-weight: 700; color: var(--navy); position: relative; transition: border-color .15s, background-color .15s;
}
.choice span small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.choice span::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9fb0c1; background: #fff; }
.choice input:checked + span { border-color: var(--navy); background: var(--yellow-50); }
.choice input:checked + span::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff; background: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.choice--urgent input:checked + span { border-color: var(--error); background: #fff1ef; }

.form-success {
  display: none; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 12px;
  background: #ecf8f1; border: 2px solid #9fd7b5; color: #0f4f2c;
}
.form-success.is-visible { display: flex; }
.form-success .icon { width: 28px; height: 28px; color: var(--success); flex: none; }
.form-success h3 { color: #0f4f2c; margin-bottom: 4px; font-size: 1.12rem; }
.form-success p { margin: 0; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Trust row ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { padding-block: 22px 18px; }
.trust__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust__item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trust__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--light); color: var(--navy); flex: none; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); line-height: 1.15; }
.trust__item span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.3; }
.trust__item sup { font-size: .62rem; color: var(--navy-500); font-weight: 700; }
.trust .sample-note { margin-top: 14px; }
@media (min-width: 900px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .trust__item { padding-inline: 24px; border-left: 1px solid var(--line); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.card {
  position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcc8d4; }
.card__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); margin-bottom: 18px; }
.card__icon .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link .icon { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__link .icon { transform: translateX(4px); }
.card:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.card__link:focus-visible { outline: none; }
.card--emergency { background: var(--navy); border-color: var(--navy); color: #c9d6e4; }
.card--emergency h3 { color: var(--white); }
.card--emergency p { color: #b9c8d8; }
.card--emergency .card__icon { background: var(--yellow); color: var(--navy); }
.card--emergency .card__link { color: var(--yellow); }
.badge { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--yellow); color: var(--navy-900); margin-bottom: 10px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { position: relative; padding: 28px 24px 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); }
.step__num { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step__num b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; flex: none; }
.step__num .icon { width: 30px; height: 30px; color: #8fb0cf; }
.step h3 { font-size: 1.35rem; }
.step p { margin: 0; color: #b9c8d8; }
@media (min-width: 860px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -24px; width: 20px; height: 20px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b705' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
}
.steps--light .step { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.steps--light .step p { color: var(--muted); }
.steps--light .step .step__num .icon { color: var(--navy-500); }

/* ---------- Before / after ---------- */
.ba-layout { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .ba-layout { grid-template-columns: 1.35fr .65fr; gap: 56px; } }
.ba { --pos: 50%; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; background: var(--navy-900); }
@media (min-width: 640px) { .ba { aspect-ratio: 16 / 10; } }
.ba .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba__before.ph {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 38px),
    linear-gradient(160deg, #8a8170, #5a5246 60%, #463f36);
}
.ba__before.ph::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23ffffff' stroke-opacity='.3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h28v6a10 10 0 0 1-10 10h-8a10 10 0 0 1-10-10z'/%3E%3Cpath d='M16 22V12a4 4 0 0 1 8 0'/%3E%3Cpath d='M30 14l4 4M36 10l-2 6'/%3E%3C/svg%3E"); }
.ba__before img { filter: sepia(.35) saturate(.75) brightness(.92); }
.ba__after.ph {
  background:
    radial-gradient(circle at 75% 25%, rgba(242,183,5,.25), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 64px),
    linear-gradient(160deg, #e9eef3, #b9c9d9 55%, #7f9ab4);
}
.ba__after.ph::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2316324f' stroke-opacity='.3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h28v6a10 10 0 0 1-10 10h-8a10 10 0 0 1-10-10z'/%3E%3Cpath d='M16 22V12a4 4 0 0 1 8 0'/%3E%3Cpath d='m32 8 1.5 3 3 1.5-3 1.5L32 17l-1.5-3-3-1.5 3-1.5z'/%3E%3C/svg%3E"); }
.ba__tag { position: absolute; top: 16px; z-index: 3; padding: 6px 12px; border-radius: 8px; font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba__tag--before { left: 16px; background: rgba(13,33,54,.82); color: #fff; }
.ba__tag--after { right: 16px; background: var(--yellow); color: var(--navy-900); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4; width: 4px; margin-left: -2px; background: var(--white); box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--yellow); color: var(--navy-900); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); border: 3px solid #fff; }
.ba__knob .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.ba__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 400px; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 4px; }
.ba:has(.ba__range:focus-visible) .ba__knob { box-shadow: 0 0 0 6px rgba(242,183,5,.5), 0 6px 18px rgba(0,0,0,.35); }
.ba-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.ba-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.ba-points li { display: flex; gap: 12px; }
.ba-points .icon { color: var(--navy); background: var(--yellow); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 3; margin-top: 1px; }

/* ---------- Area + reviews ---------- */
.area-reviews { display: grid; gap: 40px; }
@media (min-width: 980px) { .area-reviews { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.area-card { background: var(--navy); color: #c9d6e4; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 34px); position: relative; overflow: hidden; }
.area-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(242,183,5,.12); }
.area-card h2 { color: var(--white); font-size: clamp(1.5rem, 3.5vw, 2rem); }
.area-list { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; position: relative; z-index: 1; }
.area-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.area-list .icon { width: 18px; height: 18px; color: var(--yellow); }
.area-card p { position: relative; z-index: 1; }
.area-card a:not(.btn) { color: var(--yellow); }

.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.reviews-head h2 { margin: 0; }
.reviews { display: grid; gap: 16px; }
@media (min-width: 640px) { .reviews { grid-template-columns: 1fr 1fr; } .review:first-child { grid-column: 1 / -1; } }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.stars { display: flex; gap: 2px; color: var(--yellow); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .9rem; color: var(--muted); }
.review figcaption strong { display: block; color: var(--navy); font-size: .98rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--navy); font-family: var(--font-display); font-weight: 800; flex: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--yellow); color: var(--navy-900); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(22,50,79,.06) 0 14px, transparent 14px 28px); }
.cta-band .wrap { position: relative; display: grid; gap: 24px; padding-block: clamp(44px, 7vw, 72px); align-items: center; }
.cta-band h2 { color: var(--navy-900); margin-bottom: 8px; font-size: clamp(2rem, 5.5vw, 3.1rem); }
.cta-band p { margin: 0; font-size: 1.1rem; font-weight: 500; max-width: 560px; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.3rem); color: var(--navy-900); text-decoration: none; letter-spacing: -.02em; }
.cta-band__phone .icon { width: 1.1em; height: 1.1em; padding: 8px; box-sizing: content-box; background: var(--navy); color: var(--yellow); border-radius: 50%; }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band .btn--ghost:hover { --bg: var(--navy); --fg: #fff; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; gap: 48px; } .cta-band__actions { justify-items: end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bacb; font-size: .95rem; }
.site-footer a { color: #d6e1ec; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.site-footer .logo__sub { color: #8fa6bd; }
.site-footer h3 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--yellow); margin-top: 3px; }
.license { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; font-size: .84rem; color: #d6e1ec; }
.license .icon { width: 18px; height: 18px; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .credit { color: var(--yellow); font-weight: 700; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgba(13,33,54,.97); box-shadow: 0 -8px 24px -10px rgba(0,0,0,.45); border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-bar .btn { min-height: 48px; padding: 10px 12px; font-size: 1rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(100deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); color: #c4d2e1; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(242,183,5,.1); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(44px, 7vw, 80px); }
.page-hero h1 { color: var(--white); max-width: 780px; text-wrap: balance; }
.page-hero p { font-size: 1.12rem; max-width: 640px; margin-bottom: 24px; }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6f8aa5; }
.crumbs a { color: #c4d2e1; }
.crumbs [aria-current] { color: var(--yellow); font-weight: 600; }

/* ---------- Services page ---------- */
.svc-jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0; list-style: none; scrollbar-width: thin; }
.svc-jump a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .9rem; text-decoration: none; }
.svc-jump a:hover { border-color: var(--navy); }
.svc-jump .icon { width: 18px; height: 18px; color: var(--navy-500); }
.svc-jump-bar { background: var(--light-2); border-bottom: 1px solid var(--line); }
.svc-jump-bar .wrap { padding-block: 14px 6px; }

.svc { display: grid; gap: 28px; align-items: start; padding-block: clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .svc { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .svc:nth-child(even) .svc__media { order: 2; }
}
.svc__title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc__title .card__icon { margin: 0; flex: none; }
.svc__title h2 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.svc__lead { font-size: 1.08rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
@media (min-width: 560px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; color: var(--success); margin-top: 3px; stroke-width: 2.6; }
.price-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 12px; background: var(--yellow-50); border: 1px solid #f3dc8a; margin-bottom: 22px; }
.price-note strong { font-family: var(--font-display); color: var(--navy); }
.price-note span { color: var(--muted); font-size: .92rem; }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #b9c6d3; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--navy); border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--navy-500); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__body { padding: 0 20px 18px; color: var(--muted); }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- About page ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split__media { position: relative; }
.split__badge { position: absolute; left: 16px; bottom: -22px; z-index: 2; background: var(--yellow); color: var(--navy-900); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); font-family: var(--font-display); line-height: 1.1; }
.split__badge strong { display: block; font-size: 1.8rem; font-weight: 800; }
.split__badge span { font-size: .82rem; font-weight: 700; }
.lede { font-size: 1.15rem; color: var(--ink); }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; border-left: 3px solid var(--light); }
.timeline li { padding-left: 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.timeline b { font-family: var(--font-display); color: var(--navy); margin-right: 6px; }

.team { display: grid; gap: 22px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.member .ph { border-radius: 0; }
.member__body { padding: 20px 22px 24px; }
.member__body h3 { margin-bottom: 2px; }
.member__role { color: var(--navy-500); font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.member__body p:last-child { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.tags li { font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--light); color: var(--navy); }

.values { display: grid; gap: 18px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.value .icon { width: 34px; height: 34px; color: var(--yellow); margin-bottom: 14px; stroke-width: 1.8; }
.value h3 { font-size: 1.15rem; }
.value p { margin: 0; color: #b9c8d8; }

.guarantees { display: grid; gap: 18px; }
@media (min-width: 760px) { .guarantees { grid-template-columns: repeat(3, 1fr); } }
.guarantee { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 2px solid var(--line); }
.guarantee__seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy-900); margin-bottom: 10px; box-shadow: 0 0 0 6px var(--yellow-50); }
.guarantee__seal .icon { width: 30px; height: 30px; }
.guarantee p { margin: 0; color: var(--muted); }

.credentials { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .credentials { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 48px; } }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .cred-list { grid-template-columns: 1fr 1fr; } }
.cred-list li { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--light-2); border: 1px solid var(--line); }
.cred-list .icon { width: 26px; height: 26px; color: var(--navy); }
.cred-list strong { display: block; color: var(--navy); font-size: .95rem; }
.cred-list span { font-size: .86rem; color: var(--muted); }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.quote-form-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); border-top: 6px solid var(--yellow); }
.form-section { display: grid; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--light); }
.form-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.form-section__title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 0; }
.form-section__title b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: .85rem; }
.aside-stack { display: grid; gap: 20px; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: 100px; } }
.aside-card { border-radius: var(--radius-lg); padding: 24px; background: var(--light-2); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.3rem; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: #c9d6e4; }
.aside-card--navy h2 { color: #fff; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 14px; }
.next-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font-family: var(--font-display); flex: none; }
.next-steps strong { display: block; color: var(--navy); }
.next-steps span { color: var(--muted); font-size: .92rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--yellow); margin-top: 2px; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8fa6bd; font-weight: 700; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }

/* ---------- Reveal (only active once JS adds .js) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

.mt-0 { margin-top: 0; } .center { text-align: center; }
.more-link { margin-top: 32px; text-align: center; }

/* ---------- Refinements after screenshot review ---------- */
.page-hero p.eyebrow { font-size: .78rem; margin-bottom: 12px; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.member .ph--portrait { aspect-ratio: 4 / 3; }
.member .ph img { object-position: center 25%; }
@media (min-width: 640px) { .member .ph--portrait { aspect-ratio: 4 / 5; } }
@media (max-width: 559px) {
  .hero .btn-row .btn, .page-hero .btn-row .btn, .svc .btn-row .btn { flex: 1 1 100%; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}
.choice input { z-index: 2; }
html { scroll-padding-top: 96px; scroll-padding-bottom: calc(var(--mobilebar-h) + 16px); }
@media (min-width: 900px) { html { scroll-padding-bottom: 0; } }
h2 { text-wrap: balance; }
.timeline + .sample-note { margin-top: 18px; }
