/* Home Fixerz landing pages: shared styles.
   Type: Source Serif 4 (headlines) + Atkinson Hyperlegible Next (everything else), self-hosted in fonts/.
   Built for readers 45-75 on phones: 18px+ body, 48px+ tap targets, body text >= 7:1 contrast. */

:root {
  --ink: #0f2233;
  --navy: #163a5a;
  --blue: #2e6e9e;
  --sand: #f5f1e8;
  --sand-2: #ece5d6;
  --paper: #ffffff;
  --line: #e0d8c7;
  --muted: #3d4852;
  --sun: #ffd23f;
  --sun-hover: #f5c400;
  --star: #f4b400;
  --ok: #1f7a4d;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 34, 51, .06), 0 12px 32px -12px rgba(15, 34, 51, .22);
  --wrap: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
:is(.topbar, .hero-photo, .ba-section, .interview-sec, .cta-band, .foot, .lightbox, .modal-panel) :focus-visible { outline-color: var(--sun); }
.lead-card :focus-visible, .lead-card .choice input:focus-visible + label { outline-color: var(--blue); }
.lead-card header :focus-visible { outline-color: var(--sun); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6vw, 4rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { font: 700 .82rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #285f8c; text-wrap: balance; }
.lede { font-size: clamp(1.15rem, 2vw, 1.3rem); color: #2b3a47; max-width: 36em; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sun); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1.1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 rgba(15, 34, 51, .18), 0 10px 24px -10px rgba(245, 196, 0, .7);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--sun-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(15, 34, 51, .2); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #fff; position: relative; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.topbar .logo img { width: 184px; height: auto; }
.topbar-meta { display: flex; align-items: center; gap: 22px; }
.topbar-meta .lic { font-size: .9rem; color: #b9c6d2; }
.topbar-meta .lic b { color: #fff; font-weight: 700; }
.topbar .call { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.topbar .call span { white-space: nowrap; }
.topbar .call svg { width: 20px; height: 20px; color: var(--sun); }
.topbar .call small { display: block; font-weight: 400; font-size: .8rem; color: #c9d4de; line-height: 1.1; }
@media (max-width: 760px) {
  .topbar-meta .lic { display: none; }
  .topbar .logo img { width: 132px; }
  .topbar .call small { display: none; }
  .topbar .call { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(46, 110, 158, .12), transparent 60%),
    linear-gradient(180deg, #fbf8f2 0%, var(--sand) 100%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero-copy { display: grid; gap: 22px; padding-top: 8px; }
.hero-copy h1 em { font-style: italic; font-weight: 600; color: var(--navy); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 1.1rem; }
.checks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd23f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 6px; }
.g-rating { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.g-rating .g { width: 26px; height: 26px; }
.g-rating strong { font-size: 1.15rem; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.g-rating span.count { color: var(--muted); font-size: .95rem; }
.rating-row .small { color: var(--muted); font-size: .98rem; }

/* Mini before/after in the hero: message-matches the ad creative above the fold. */
.hero-side { display: grid; gap: 22px; }
.hero-ba { margin: 0; display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 8px; }
.hero-ba > div { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.hero-ba img { width: 100%; height: 100%; object-fit: cover; }
.hero-ba span { position: absolute; left: 10px; top: 10px; font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(15,34,51,.8); color: #fff; }
.hero-ba span.a { background: var(--sun); color: var(--ink); }
.hero-ba .arr { width: 30px; height: 30px; color: var(--navy); justify-self: center; }
.hero-ba figcaption { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-ba { display: none; }
  /* Paid mobile traffic: headline, proof, then the form, all in the first screen. Bullets move below the form. */
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .lede { order: 3; }
  .hero-copy .rating-row { order: 4; padding-top: 0; }
  .hero-side { order: 5; margin-top: 6px; }
  .hero-copy .checks { order: 6; margin-top: 10px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 26px; }
  .hero-copy .lede { font-size: 1.08rem; }
  .hero-copy .lede .more { display: none; }
  .rating-row .small { display: none; }
}

/* ---------- Lead form ---------- */
.lead-card {
  background: var(--paper); border-radius: 20px; box-shadow: var(--shadow);
  border: 1px solid rgba(15, 34, 51, .06);
  overflow: hidden; position: relative;
  color: var(--ink);
}
.lead-card header { background: var(--ink); color: #fff; padding: 20px 26px 18px; }
.lead-card header .offer { font: 700 1.35rem/1.2 var(--serif); }
.lead-card header p { color: #c9d4de; font-size: .98rem; margin-top: 4px; }
.progress { height: 6px; background: #22384d; }
.progress i { display: block; height: 100%; width: 25%; background: var(--sun); transition: width .35s ease; }
.lead-form { padding: 24px 26px 26px; }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { display: grid; gap: 16px; animation: stepIn .35s ease both; }
.step:focus { outline: none; } /* focused by script on touch screens instead of a text field */
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step.is-active { animation: none; } }
.step legend { font: 700 1.25rem/1.25 var(--sans); padding: 0; margin-bottom: 12px; }
.step .hint { color: var(--muted); font-size: .95rem; margin-top: -8px; }
/* Job seekers / vendors: a quiet exit so they don't fill the homeowner form */
.not-customer { margin-top: 14px; text-align: center; color: var(--muted); font-size: .9rem; }
.not-customer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices.one-col { grid-template-columns: 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: flex; align-items: center; gap: 12px; min-height: 64px; height: 100%;
  padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  transition: border-color .15s, background-color .15s, transform .1s;
}
.choice label .ico { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--sand); display: grid; place-items: center; color: var(--navy); }
.choice label .ico svg { width: 22px; height: 22px; }
.choice label small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.choice label:hover { border-color: var(--blue); }
.choice input:checked + label { border-color: var(--ink); background: #fffbea; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: .98rem; }
.field input {
  min-height: 56px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: 400 1.1rem var(--sans); color: var(--ink); background: #fff; width: 100%;
}
.field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(46, 110, 158, .18); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: .9rem; display: none; }
.field input[aria-invalid="true"] ~ .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step-nav { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.step-nav .back { background: none; border: 0; color: var(--muted); font: 700 1rem var(--sans); cursor: pointer; padding: 12px 6px; min-height: 48px; }
.step-nav .back:hover { color: var(--ink); }
.step-nav .btn { flex: 1; }
.fine { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.form-assure { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; padding: 14px 26px 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); background: #fbf9f4; }
.form-assure span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.success { display: none; padding: 34px 26px 36px; text-align: center; gap: 14px; justify-items: center; }
.lead-card.is-done .lead-form, .lead-card.is-done .progress, .lead-card.is-done .form-assure { display: none; }
.lead-card.is-done .success { display: grid; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.success .tick svg { width: 34px; height: 34px; }
.success h3 { font-size: 1.6rem; }
@media (max-width: 420px) {
  .choices { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .lead-form { padding: 20px 18px 22px; }
  .lead-card header { padding: 18px 18px 16px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.trust li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; font-size: .95rem; line-height: 1.3; color: var(--muted); }
.trust li b { display: block; color: var(--ink); font-size: 1.05rem; }
.trust .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--navy); }
.trust .ic svg { width: 24px; height: 24px; }
@media (max-width: 1060px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:last-child { grid-column: 1 / -1; } }

/* ---------- Before / after ---------- */
.ba-section { background: var(--ink); color: #fff; }
.ba-section .eyebrow { color: var(--sun); }
.ba-section .lede { color: #c9d4de; }
.ba-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.ba-tabs button {
  min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid #34506a; background: transparent;
  color: #dbe4ec; font: 700 1rem var(--sans); cursor: pointer; transition: all .15s;
}
.ba-tabs button:hover { border-color: #fff; color: #fff; }
.ba-tabs button[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.ba-stage { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #0a1826;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .tag {
  position: absolute; top: 16px; padding: 8px 14px; border-radius: 999px;
  font: 700 .85rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(15, 34, 51, .78); color: #fff; backdrop-filter: blur(6px); pointer-events: none;
}
.ba .tag.b { left: 16px; }
.ba .tag.a { right: 16px; background: var(--sun); color: var(--ink); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.ba .handle span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.ba .handle svg { width: 28px; height: 28px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type="range"]:focus-visible ~ .handle span { outline: 3px solid var(--sun); outline-offset: 3px; }
.ba-meta { display: grid; gap: 16px; }
.ba-meta h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.ba-meta .loc { color: var(--sun); font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.ba-meta p { color: #c9d4de; }
.ba-meta ul { margin: 0; padding-left: 1.1em; color: #dbe4ec; display: grid; gap: 6px; }
.ba-hint { color: #9fb1c1; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.ba-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.ba-strip figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #0a1826; }
.ba-strip img { width: 100%; height: 100%; object-fit: cover; }
.ba-strip figcaption { position: absolute; left: 10px; bottom: 10px; font: 700 .8rem/1 var(--sans); background: rgba(15,34,51,.8); padding: 7px 10px; border-radius: 999px; }
@media (max-width: 900px) {
  .ba-stage { grid-template-columns: 1fr; }
  .ba { max-width: 520px; width: 100%; margin-inline: auto; }
  .ba-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Video reviews ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.vcard { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; }
.vcard .vwrap { position: relative; aspect-ratio: 16 / 9; background: #0a1826; }
.vcard.portrait .vwrap { aspect-ratio: 9 / 16; max-height: 560px; }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard .play {
  position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.vcard .play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard .play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 24, 38, .55)); }
.vcard .play span {
  position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 50%; background: var(--sun); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s;
}
.vcard .play:hover span { transform: scale(1.06); }
.vcard .play svg { width: 30px; height: 30px; margin-left: 4px; }
.vcard .vbody { padding: 20px 22px 24px; display: grid; gap: 8px; }
.vcard blockquote { margin: 0; font: 600 1.2rem/1.4 var(--serif); }
.vcard cite { font-style: normal; color: var(--muted); font-size: .95rem; }

.vfeature { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1000px; margin-inline: auto; }
.vquote { display: grid; gap: 18px; }
.vquote .stars { font-size: 1.3rem; }
.vquote blockquote { margin: 0; font: 600 clamp(1.6rem, 3.2vw, 2.3rem)/1.22 var(--serif); letter-spacing: -.01em; }
.vquote p { color: #34424f; font-size: 1.12rem; }
.vquote cite { font-style: normal; color: var(--muted); }
.vquote cite b { color: var(--ink); }
@media (max-width: 800px) { .vfeature { grid-template-columns: 1fr; } .vfeature .vcard { max-width: 340px; width: 100%; margin-inline: auto; } }

/* ---------- Reviews ---------- */
.reviews-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.score { display: flex; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line); padding: 16px 22px; border-radius: var(--radius); }
.score .big { font: 700 3rem/1 var(--serif); }
.score .stars { font-size: 1.3rem; }
.score small { display: block; color: var(--muted); font-size: .95rem; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: grid; gap: 12px; }
.review .stars { font-size: 1rem; }
.review p { font-size: 1.08rem; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review footer b { display: block; }
.review footer span { color: var(--muted); font-size: .88rem; }

/* ---------- Problem / promise ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.promise { display: grid; gap: 18px; margin-top: 26px; }
.promise .item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.promise .num { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--sun); display: grid; place-items: center; font: 700 1.2rem var(--serif); }
.promise h3 { font-size: 1.2rem; font-family: var(--sans); margin-bottom: 4px; }
.promise p { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .photo { aspect-ratio: 4 / 3; } }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; background: #fdfcf9; }
.svc .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--sand); color: var(--navy); display: grid; place-items: center; }
.svc .ic svg { width: 26px; height: 26px; }
.svc p { color: var(--muted); font-size: 1.02rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { list-style: none; background: var(--paper); border-radius: var(--radius); padding: 28px 24px; position: relative; border: 1px solid var(--line); display: grid; gap: 10px; }
.steps li::before { counter-increment: s; content: counter(s); font: 700 3.2rem/1 var(--serif); color: var(--sun); -webkit-text-stroke: 1.5px var(--ink); }
.steps li p { color: var(--muted); }
.steps { padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band .wrap { display: grid; gap: 20px; justify-items: center; }
.cta-band h2 { max-width: 24ch; }
.cta-band p { color: #c9d4de; max-width: 40em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-ghost { --fg: #fff; border-color: #fff; }
.cta-band .btn:not(.btn-ghost), .ba-section .btn { border-color: var(--sun); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 1.12rem/1.35 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--sans); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: #34424f; }

/* ---------- Area + footer ---------- */
.area { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.area span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .98rem; }
.foot { background: var(--ink); color: #b9c6d2; padding: 40px 0 120px; font-size: .95rem; }
.foot .wrap { display: grid; gap: 14px; justify-items: center; text-align: center; }
.foot a { color: #fff; }
.foot img { width: 150px; }

/* ---------- Sticky mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.mbar.show { transform: none; }
.mbar .btn { flex: 1; min-height: 54px; padding: 0 14px; font-size: 1.02rem; }
.mbar .btn-ghost { flex: .8; }
@media (max-width: 760px) { .mbar { display: flex; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ================= v2: belief-ordered layout ================= */

/* Meta hero: copy + the same before/after the ad showed */
.hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; }
.hero-v2 .hero-copy { padding-top: 0; }
.hero-v2 .ba { box-shadow: var(--shadow); }
.hero-v2 .ba-cap { margin-top: 12px; text-align: center; color: var(--muted); font-size: .95rem; }
/* Recordings showed visitors play with this slider, then scroll on with nothing asking them to act. */
.hero-v2 .ba-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 14px; }
.hero-v2 .ba-cta span { font-weight: 700; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .hours { color: var(--muted); font-size: .95rem; }
.timeline-pill { display: inline-flex; align-items: center; gap: 8px; align-self: start; justify-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .95rem; }
.timeline-pill svg { width: 18px; height: 18px; color: var(--blue); }
@media (max-width: 960px) {
  .hero-v2 .hero-grid { grid-template-columns: 1fr; }
  .hero-v2 .hero-copy { display: grid; }
  .hero-v2 .hero-copy > * { order: 0; }   /* undo the search-hero reordering */
  .hero-v2 .hero-side { order: 0; }
  .hero-v2 .hero-ba-wrap { max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 600px) {
  .hero-v2 .checks { display: none; }
  .hero-v2 .ba { aspect-ratio: 4 / 5; }
}

/* Estimate section: form + what happens next */
.estimate { background: var(--sand-2); }
.estimate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.next-steps { display: grid; gap: 22px; }
.next-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.next-steps li::before { counter-increment: n; content: counter(n); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font: 700 1.1rem var(--serif); }
.next-steps li b { display: block; font-size: 1.1rem; }
.next-steps li span { color: var(--muted); }
.team-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.team-card img { width: 120px; height: 96px; object-fit: cover; border-radius: 10px; }
.team-card p { font-size: 1rem; color: var(--muted); }
.team-card b { color: var(--ink); }
@media (max-width: 960px) { .estimate-grid { grid-template-columns: 1fr; } .estimate-grid .lead-card { order: -1; } }

/* Form additions */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .why { color: var(--muted); font-size: .88rem; }
.consent { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.next-step { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f3efe4; font-size: .95rem; line-height: 1.45; }
.consent a { color: var(--ink); }
.lead-card .outside { display: none; padding: 30px 26px 34px; text-align: center; gap: 12px; justify-items: center; }
.lead-card.is-outside .lead-form, .lead-card.is-outside .progress, .lead-card.is-outside .form-assure { display: none; }
.lead-card.is-outside .outside { display: grid; }

/* Mechanism: how we keep it on time and on budget */
.mech { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.mech .photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.mech .photo img { width: 100%; height: 100%; object-fit: cover; }
.mech-list { display: grid; gap: 18px; margin-top: 26px; }
.mech-list .item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.mech-list .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--sun); display: grid; place-items: center; }
.mech-list .ic svg { width: 24px; height: 24px; }
.mech-list h3 { font: 700 1.15rem/1.3 var(--sans); margin-bottom: 2px; }
.mech-list p { color: var(--muted); }
.mech-list q { font-style: italic; }
@media (max-width: 900px) { .mech { grid-template-columns: 1fr; } .mech .photo { aspect-ratio: 4 / 3; } }

/* Package card */
.pkg { background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.pkg .eyebrow { color: var(--sun); }
.pkg h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 10px; }
.pkg ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pkg li { border: 1px solid #34506a; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .95rem; color: #dbe4ec; }
.pkg p { color: #c9d4de; }
@media (max-width: 760px) { .pkg { grid-template-columns: 1fr; } }

/* Long review */
.review.feature { grid-column: span 2; }
.review.feature p { font-size: 1.15rem; }
.review .meta { color: var(--muted); font-size: .88rem; }
@media (max-width: 700px) { .review.feature { grid-column: auto; } }

/* Simple content pages (thanks, privacy) */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .wrap { max-width: 760px; display: grid; gap: 18px; }
.page h2 { font-size: 1.5rem; margin-top: 18px; }
.page ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.notice { background: #fff6d6; border: 1px solid #f0d77a; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }

/* ================= v3: modal, Google-style reviews, logos ================= */

/* Header CTA */
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .98rem; }
.topbar .top-cta { border-color: var(--sun); box-shadow: none; }
@media (max-width: 760px) { .topbar .top-cta { display: none; } }

/* Google wordmark + G tile */
.gword { font: 700 1rem/1 Arial, Helvetica, sans-serif; letter-spacing: -.02em; }
.gword b { font-weight: 700; }
.trust .ic-g { background: #fff; border: 1px solid var(--line); }
.trust .ic-g svg { width: 24px; height: 24px; }
.trust li a { color: var(--blue); font-weight: 700; }

/* Estimate modal */
html.modal-open { overflow: hidden; }
.lead-modal { padding: 0; border: 0; background: transparent; max-width: 520px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow: visible; }
.lead-modal::backdrop { background: rgba(10, 24, 38, .62); backdrop-filter: blur(3px); }
.lead-modal[open] { animation: modalIn .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lead-modal[open] { animation: none; } }
.modal-panel { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 20px; }
.modal-slot .lead-card { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.modal-slot .lead-card header { padding-right: 64px; }
.modal-x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: 400 1.8rem/1 var(--sans); cursor: pointer;
}
.modal-x:hover { background: rgba(255, 255, 255, .26); }
.modal-call { text-align: center; color: #fff; margin-top: 12px; font-size: .98rem; }
.modal-call a { color: var(--sun); font-weight: 700; }
@media (max-width: 600px) {
  .lead-modal { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 100dvh; margin: 0; }
  .modal-panel { max-height: 100dvh; border-radius: 20px 20px 0 0; }
  .modal-slot .lead-card { border-radius: 20px 20px 0 0; }
  .modal-call { background: var(--ink); margin: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
}

/* Google-style review cards */
.greview { margin: 0; background: #fff; border: 1px solid #dadce0; border-radius: 12px; padding: 18px 18px 14px; display: grid; gap: 10px; align-content: start; font-family: var(--sans); }
.greview.feature { grid-column: span 2; }
@media (max-width: 700px) { .greview.feature { grid-column: auto; } }
.gr-head { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.gr-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 500 1.15rem/1 Arial, Helvetica, sans-serif; object-fit: cover; }
.gr-who b { display: block; font-size: 1rem; line-height: 1.25; color: #202124; }
.gr-who b a { color: inherit; text-decoration: none; }
.gr-who span { display: block; color: #5f6368; font-size: .86rem; line-height: 1.3; }
.gr-g { width: 22px; height: 22px; }
.gr-rating { display: flex; align-items: center; gap: 10px; }
.gstars { color: #fbbc04; letter-spacing: 1px; font-size: 1.05rem; }
.gr-when { color: #5f6368; font-size: .88rem; }
.gr-text { color: #202124; font-size: 1.04rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.greview.is-open .gr-text { -webkit-line-clamp: unset; display: block; }
.gr-more { justify-self: start; background: none; border: 0; padding: 4px 0; color: #1a73e8; font: 700 .95rem var(--sans); cursor: pointer; min-height: 44px; }
.gr-src { color: #5f6368; font-size: .82rem; border-top: 1px solid #ececec; padding-top: 10px; }

/* ================= v4: photography + motion polish ================= */

/* Photo heroes: real Home Fixerz bathroom behind a navy wash. Text sits on the solid side (>= 7:1). */
.hero-photo { isolation: isolate; color: #fff; background: var(--ink) url("../bathroom/img/hero-bg.webp") center / cover no-repeat; padding-bottom: clamp(84px, 10vw, 128px); }
.hero-photo::before { z-index: -1; background: linear-gradient(90deg, rgba(10,24,38,.96) 0%, rgba(10,24,38,.9) 40%, rgba(10,24,38,.62) 70%, rgba(10,24,38,.5) 100%); }
.hero-photo .eyebrow { color: var(--sun); }
.hero-photo h1 { color: #fff; }
.hero-photo h1 em { color: var(--sun); }
.hero-photo .lede { color: #dbe4ec; }
.hero-photo .checks li { color: #fff; }
.hero-photo .checks li::before { background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2233' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.hero-photo .rating-row .small, .hero-photo .hero-actions .hours, .hero-photo .ba-cap, .hero-photo .hero-ba figcaption { color: #c9d4de; }
.hero-photo .rating-row .small a { color: var(--sun); }
.hero-photo .btn { border-color: var(--sun); }
.hero-photo .btn-ghost { --fg: #fff; border-color: #fff; }
.hero-photo .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero-photo .hero-ba .arr { color: var(--sun); }
.hero-photo .ba { box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); outline: 6px solid rgba(255,255,255,.08); }
@media (max-width: 960px) { .hero-photo::before { background: linear-gradient(180deg, rgba(10,24,38,.95), rgba(10,24,38,.9)); } }

/* Trust strip floats over the hero edge */
.trust { background: transparent; border: 0; position: relative; z-index: 3; margin-top: clamp(-64px, -6vw, -44px); }
.trust ul { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 26px; }

/* Subtle hex-tile texture (a nod to their tile work) on the sand sections */
.estimate, .team-sec { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%230f2233' stroke-opacity='.05' stroke-width='1.2'/%3E%3C/svg%3E"); }
.team-sec { background-color: var(--sand); }

/* Finished-work marquee */
.marquee { overflow: hidden; margin-top: clamp(32px, 5vw, 52px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marq 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.mq-toggle { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: 700 .9rem var(--sans); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .mq-toggle { display: none; } }
.marquee figure { margin: 0; width: clamp(220px, 26vw, 320px); aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; flex: none; background: #0a1826; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.marquee figure:hover img { transform: scale(1.05); }
@keyframes marq { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }

/* Team section */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.team-photos { position: relative; padding: 0 0 48px 0; max-width: 520px; }
.team-photos figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.team-photos img { width: 100%; height: 100%; object-fit: cover; }
.tp-main { aspect-ratio: 4 / 5; width: 82%; }
.tp-sub { position: absolute !important; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 6px solid var(--sand); }
.team-photos figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(15,34,51,.82); color: #fff; font: 700 .8rem/1 var(--sans); padding: 7px 11px; border-radius: 999px; }
.team-photos .tp-main figcaption { top: 12px; bottom: auto; }
.team-copy { display: grid; gap: 20px; }
.team-copy h2 { font-style: italic; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 18px 0; border-block: 1px solid var(--line); }
.stats b { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--serif); color: var(--ink); }
.stats > div > span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.3; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } .team-photos { margin-inline: auto; } }

/* CTA band over a real finished shower */
.cta-photo { isolation: isolate; position: relative; background: var(--navy) url("../bathroom/img/cta-bg.webp") center / cover no-repeat; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,34,51,.88), rgba(15,34,51,.93)); }

/* Small team avatar in the estimate panel */
.team-card img { border-radius: 50%; width: 96px; height: 96px; }
.team-card { grid-template-columns: 96px 1fr; }
.hero-photo .g-rating { color: var(--ink) !important; }

/* fixes: portrait video fills its card; review cards share one height with footers on one line */
.vfeature { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.vcard.portrait .vwrap { max-height: none; aspect-ratio: 9 / 16; width: 100%; }
.vcard.portrait video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0a1826; }
.vcard .vwrap { overflow: hidden; }
.review-grid { align-items: stretch; }
.greview { display: flex; flex-direction: column; gap: 10px; }
.greview .gr-src { margin-top: auto; }
.greview .gr-more { align-self: flex-start; }

/* Service cards: real project photo on top, fading into the card so the text stays crisp */
.svc { position: relative; overflow: hidden; padding-top: 150px; background-color: #fdfcf9; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; transition: transform .25s ease, box-shadow .25s ease; }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253,252,249,0) 0%, rgba(253,252,249,.25) 28%, rgba(253,252,249,.92) 52%, #fdfcf9 62%); pointer-events: none; }
.svc > * { position: relative; }
.svc .ic { background: #fff; box-shadow: 0 4px 14px rgba(15,34,51,.14); }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .svc:hover { transform: none; } }
.svc-1 { background-image: url("../bathroom/img/svc-1.webp"); }
.svc-2 { background-image: url("../bathroom/img/svc-2.webp"); }
.svc-3 { background-image: url("../bathroom/img/svc-3.webp"); }
.svc-4 { background-image: url("../bathroom/img/svc-4.webp"); }
.svc-5 { background-image: url("../bathroom/img/svc-5.webp"); }
.svc-6 { background-image: url("../bathroom/img/svc-6.webp"); }

/* Trust strip: badge-style icons */
.trust .ic { width: 48px; height: 48px; border-radius: 14px; position: relative; }
.trust .ic svg { width: 26px; height: 26px; }
.trust .ic-g { background: #fff; border: 1px solid #e3e3e3; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.trust .ic-fl { background: #e8f1f8; color: var(--blue); }
.trust .ic-fl svg:first-child { width: 32px; height: 32px; }
.trust .ic-fl .ck { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; border: 2px solid #fff; }
.trust .ic-seal { background: none; color: var(--sun); }
.trust .ic-seal svg { position: absolute; inset: 0; width: 48px; height: 48px; filter: drop-shadow(0 2px 4px rgba(245,196,0,.45)); }
.trust .ic-seal em { position: relative; font: 700 1.05rem/1 var(--serif); font-style: normal; color: var(--ink); }
.trust .ic-heart { background: #fde8ea; color: #d93a4a; }
.trust .ic-plane { background: var(--ink); color: var(--sun); }
.trust .ic-plane svg { transform: rotate(45deg); }
.trust li { grid-template-columns: 48px minmax(0, 1fr); }

/* Primary CTA: glowing, animated gradient border + light sweep */
.btn:not(.btn-ghost):not(.btn-sm) {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--sun), var(--sun)) padding-box,
    linear-gradient(120deg, #fff3b0, #ffb800, #ff8a00, #ffe066, #fff3b0) border-box;
  background-size: 100% 100%, 300% 300%;
  box-shadow: 0 0 0 4px rgba(255, 210, 63, .22), 0 10px 28px -6px rgba(255, 184, 0, .75), 0 0 34px -4px rgba(255, 210, 63, .55);
  position: relative; overflow: hidden; isolation: isolate;
  animation: ctaBorder 6s ease infinite;
}
.btn:not(.btn-ghost):not(.btn-sm)::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); animation: ctaShine 4.5s ease-in-out infinite;
}
.btn:not(.btn-ghost):not(.btn-sm):hover { box-shadow: 0 0 0 6px rgba(255, 210, 63, .3), 0 14px 34px -6px rgba(255, 184, 0, .85), 0 0 44px -2px rgba(255, 210, 63, .7); }
@keyframes ctaBorder { 0%, 100% { background-position: 0 0, 0% 50%; } 50% { background-position: 0 0, 100% 50%; } }
@keyframes ctaShine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn:not(.btn-ghost):not(.btn-sm), .btn:not(.btn-ghost):not(.btn-sm)::after { animation: none; } .btn:not(.btn-ghost):not(.btn-sm)::after { display: none; } }

/* Form: colourful badge icons for the project choices */
.choice label .ico { width: 42px; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(15,34,51,.06); }
.choice label .ico svg { width: 26px; height: 26px; }
.choice label .ico.ci-1 { background: linear-gradient(135deg, #e3f0fb, #cfe3f5); color: #1f6fae; }
.choice label .ico.ci-2 { background: linear-gradient(135deg, #fff4cc, #ffe38a); color: #8a5a00; }
.choice label .ico.ci-3 { background: linear-gradient(135deg, #dff5f1, #c3ebe3); color: #0f7c6c; }
.choice label .ico.ci-4 { background: linear-gradient(135deg, #fde9df, #f9d3c1); color: #b24a1c; }
.choice input:checked + label .ico { box-shadow: 0 0 0 2px var(--ink); }
.choice label:hover .ico { transform: scale(1.06); }
.choice label .ico { transition: transform .15s ease; }

/* Bathroom Bliss: real shower photo behind a navy wash */
.pkg-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--ink) url("../bathroom/img/pkg-bg.webp") right center / cover no-repeat; }
.pkg-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,24,38,.97) 0%, rgba(10,24,38,.9) 45%, rgba(10,24,38,.55) 100%); }
.pkg-photo li { background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }

/* Clickable gallery + lightbox */
.mq-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.mq-btn::after { content: "⤢"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(15,34,51,.75); color: #fff; display: grid; place-items: center; font-size: 1rem; opacity: 0; transition: opacity .2s; }
.mq-btn:hover::after, .mq-btn:focus-visible::after { opacity: 1; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; animation: modalIn .25s ease both; }
.lightbox::backdrop { background: rgba(6, 14, 22, .92); }
.lb-fig { margin: 0; grid-column: 2; grid-row: 1; display: grid; justify-items: center; gap: 12px; min-height: 0; max-height: calc(100dvh - 120px); }
.lb-fig img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-fig figcaption { color: #c9d4de; font-size: .95rem; text-align: center; }
.lb-nav, .lb-x { border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font: 400 2rem/1 var(--sans); display: grid; place-items: center; justify-self: center; }
.lb-nav:hover, .lb-x:hover { background: rgba(255,255,255,.25); }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; font-size: 1.8rem; z-index: 2; }
.lb-cta { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 14px; align-items: center; justify-content: center; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); color: #fff; font-weight: 700; flex-wrap: wrap; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 44px 1fr 44px; } .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; } }

/* CTA: thicker, more visible animated gold edge (moved here from the form card) */
.btn:not(.btn-ghost):not(.btn-sm) { border-width: 3px; }

/* ================= Whole-home remodel page ================= */
.hero-photo.hero-remodel { background-image: url("../remodel/img/hero-bg.webp"); }
.cta-photo.cta-remodel { background-image: url("../remodel/img/cta-bg.webp"); }

/* Room cards are links that open the estimate modal with the room preselected */
a.svc.room { color: inherit; text-decoration: none; cursor: pointer; }
a.svc.room h3 { color: var(--ink); }
.room-cta { margin-top: 4px; font-weight: 700; color: var(--blue); font-size: .98rem; }
a.svc.room:hover .room-cta { text-decoration: underline; }
a.svc.room:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.room-1 { background-image: url("../remodel/img/room-kitchen.webp"); }
.room-2 { background-image: url("../remodel/img/room-bath.webp"); }
.room-3 { background-image: url("../remodel/img/room-whole.webp"); }
.room-4 { background-image: url("../remodel/img/room-floors.webp"); }
.room-5 { background-image: url("../remodel/img/room-paint.webp"); }
.room-6 { background-image: url("../remodel/img/room-windows.webp"); }

/* Three packages side by side */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pkg-grid .pkg { grid-template-columns: 1fr; align-content: space-between; padding: 28px 26px; }
.pkg-grid .pkg h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.pkg-grid .pkg .btn { justify-self: start; font-size: 1rem; min-height: 52px; padding: 0 20px; }
.pkg-grid .pkg-photo::before { background: linear-gradient(180deg, rgba(10,24,38,.82) 0%, rgba(10,24,38,.93) 55%, rgba(10,24,38,.97) 100%); }
.pkg-grid .pkg-kitchen { background-image: url("../remodel/img/rk1.webp"); background-position: center; }
.pkg-grid .pkg-whole { background-image: url("../remodel/img/rk3.webp"); background-position: center; }
@media (max-width: 960px) { .pkg-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .vfeature { grid-template-columns: 1fr; } .vfeature .vcard { max-width: 320px; width: 100%; margin-inline: auto; } }

/* Client interview (second video proof) */
.interview-sec { background: var(--ink); color: #fff; }
.interview-sec .eyebrow { color: var(--sun); }
.interview-sec h2 { max-width: 30ch; font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-style: italic; }
.iv-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.iv-video { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.iv-video .vwrap { aspect-ratio: 16 / 9; }
.iv-video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.iv-quotes { display: grid; gap: 16px; }
.iv-quotes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.iv-quotes li { font: 600 1.22rem/1.35 var(--serif); padding-left: 18px; border-left: 3px solid var(--sun); }
.iv-quotes cite { font-style: normal; color: #c9d4de; font-size: .98rem; }
.iv-quotes cite b { color: #fff; }
.iv-quotes .btn { border-color: var(--sun); }
.iv-project { margin-top: clamp(32px, 5vw, 52px); display: grid; gap: 12px; }
.iv-pairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.iv-pairs figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: #0a1826; }
.iv-pairs img { width: 100%; height: 100%; object-fit: cover; }
.iv-pairs figcaption { position: absolute; left: 10px; top: 10px; font: 700 .76rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(15,34,51,.82); }
.iv-pairs figcaption.a { background: var(--sun); color: var(--ink); }
@media (max-width: 900px) { .iv-grid { grid-template-columns: 1fr; } .iv-pairs { grid-template-columns: repeat(2, 1fr); } }

/* ================= Viewport fit: every block fits one screen on any device ================= */
/* --screen is the visible height under the 72px top bar. svh ignores the phone's collapsing URL bar,
   so nothing sized with it jumps while scrolling. vh is the fallback for older browsers. */
:root { --topbar: 72px; --screen: calc(100vh - var(--topbar)); }
@supports (height: 100svh) { :root { --screen: calc(100svh - var(--topbar)); } }

/* Top bar: drop the license line on tablets so the phone number stays on one line (it's in the trust strip too) */
@media (max-width: 900px) { .topbar-meta .lic { display: none; } }

/* One spacing rhythm for every section; short screens (landscape phones, small laptops) spend less on padding */
.section { padding-block: clamp(56px, min(9vw, 12vh), 112px); }
@supports (height: 100svh) { .section { padding-block: clamp(56px, min(9vw, 12svh), 112px); } }

/* Hero fills the first screen and its content fits inside it */
.hero-v2 { min-height: var(--screen); display: grid; align-content: center; padding-top: clamp(24px, 4vh, 72px); padding-bottom: clamp(76px, 11vh, 128px); }
.hero-photo h1 { font-size: clamp(2.35rem, min(6vw, 8.5vh), 4rem); }
.hero-v2 .hero-copy { gap: clamp(14px, 2.4vh, 22px); }
.hero-v2 .ba { aspect-ratio: auto; height: clamp(260px, calc(var(--screen) - 200px), 613px); }
/* Short desktop screens: drop the bullets (the trust strip right below repeats them) so the hero still fits */
@media (max-height: 860px) and (min-width: 961px) { .hero-photo .checks { display: none; } }

/* Search hero (form in the hero): same first-screen fit on desktop. On short screens the small
   before/after under the form goes, so the form itself stays whole above the fold. */
@media (min-width: 961px) {
  .hero-photo:not(.hero-v2) { min-height: var(--screen); display: grid; align-content: center; padding-top: clamp(24px, 4vh, 72px); padding-bottom: clamp(76px, 11vh, 128px); }
}
@media (min-width: 961px) and (max-height: 860px) { .hero-photo:not(.hero-v2) .hero-ba { display: none; } }

/* Tablets: copy and slider side by side, so the hero fits one portrait screen instead of two */
@media (min-width: 700px) and (max-width: 960px) {
  .hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 28px; align-items: center; }
  .hero-v2 .hero-ba-wrap { max-width: none; }
  .hero-v2 .ba { height: clamp(260px, calc(var(--screen) - 240px), 560px); }
  .hero-v2 .checks { display: none; }
}
/* Phones: headline, offer and CTA fill the first screen; the slider follows at no more than one screen tall */
@media (max-width: 699px) {
  .hero-v2 { min-height: 0; }
  .hero-v2 .ba { aspect-ratio: 4 / 5; height: auto; max-height: calc(var(--screen) - 120px); }
}

/* Media never taller than the screen: shrink width with the height so the photo keeps its shape */
.ba-section .ba { width: min(100%, calc((var(--screen) - 96px) * .75)); margin-inline: auto; }
.vfeature .vcard.portrait { width: min(100%, 320px, calc((var(--screen) - 96px) * .5625)); justify-self: center; }
.mech .photo, .split .photo { max-height: calc(var(--screen) - 96px); }
.team-photos { width: min(100%, 520px, calc((var(--screen) - 96px) * .97)); }
.iv-video { max-width: calc((var(--screen) - 96px) * 1.7778); justify-self: center; width: 100%; }
.iv-pairs figure { max-height: calc(var(--screen) - 24px); }

/* Landscape phones (about 320px of usable height): tighter cards so each one still fits the screen */
@media (max-height: 500px) and (orientation: landscape) {
  .svc { padding-top: 96px; }
  .gr-text { -webkit-line-clamp: 4; }
  .pkg-grid .pkg { padding: 20px 22px; gap: 14px; }
}

/* Phones and small tablets: repeated cards become one swipe row instead of a stack several screens tall.
   The next card peeks in from the right so it reads as swipeable. */
@media (max-width: 760px) {
  .svc-grid, .review-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); }
}
@media (max-width: 960px) {
  .pkg-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 400px); }
}
@media (max-width: 760px) {
  .svc-grid, .review-grid, .pkg-grid {
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  }
  .svc-grid > *, .review-grid > *, .pkg-grid > * { scroll-snap-align: start; }
  .svc-grid::-webkit-scrollbar, .review-grid::-webkit-scrollbar, .pkg-grid::-webkit-scrollbar { display: none; }
  .svc:hover { transform: none; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .pkg-grid { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 16px; }
  .pkg-grid > * { scroll-snap-align: start; }
}

/* Narrow phones: one-column trust strip, compact header, and a top-anchored desktop modal */
@media (max-width: 400px) { .trust ul { grid-template-columns: 1fr; padding: 18px; gap: 14px; } .trust li:last-child { grid-column: auto; } }
@media (max-width: 360px) { .topbar .logo img { width: 112px; } .topbar .call { gap: 8px; font-size: .95rem; } }
@media (min-width: 601px) { .lead-modal { margin-top: max(24px, 8vh); margin-bottom: auto; } }

/* Second client video: a compact supporting card under the featured review */
.vmini { display: grid; grid-template-columns: minmax(0, 168px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; max-width: 760px; margin: clamp(32px, 5vw, 52px) auto 0; padding: clamp(14px, 2vw, 20px); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.vmini .vcard { box-shadow: none; border-radius: 12px; }
.vmini .vcard.portrait .vwrap { max-height: none; }
.vmini .play span { width: 52px; height: 52px; }
.vmini .play svg { width: 22px; height: 22px; }
.vmini-quote { display: grid; gap: 10px; }
.vmini-quote blockquote { margin: 0; font: 600 clamp(1.08rem, 1.8vw, 1.3rem)/1.35 var(--serif); }
.vmini-quote p { margin: 0; color: #34424f; }
.vmini-quote cite { font-style: normal; color: var(--muted); font-size: .92rem; }
.vmini-quote cite b { color: var(--ink); }
@media (max-width: 520px) { .vmini { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } .vmini-quote p { display: none; } .vmini-quote blockquote { font-size: 1rem; } }

/* Phones: the hero photo sits under a ~93% dark overlay, so a 960px copy looks the same and is a third of the bytes. */
@media (max-width: 699px) { .hero-photo:not(.hero-remodel) { background-image: url("../bathroom/img/hero-bg-960.webp"); } }
