/* Amigo Construction. Design notes: DESIGN.md.
   One typeface (Archivo, variable width): wide and heavy for headings like the logo's AMIGO, normal width for reading.
   Red and black from the logo, on white and a light stone gray. One signature: the arched photo frame from the logo's arch. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1c1c;
  --ink-2: #464542;
  --muted: #66645f;
  --red: #cd4d51;        /* the logo red: lines and marks */
  --red-deep: #b3262e;   /* buttons and links: 6.4:1 with white */
  --red-dark: #941d25;
  --stone: #f1f0ee;
  --line: #dcdad5;
  --field: #b5b2ab;
  --char: #1c1c1c;
  --on-char: #d9d7d2;
  --wrap: 1200px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--red-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, .h3 { margin: 0 0 0.5em; color: var(--ink); font-weight: 780; line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.9rem); font-stretch: 116%; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.55rem); font-stretch: 112%; }
h3, .h3 { font-size: 1.3rem; font-stretch: 108%; font-weight: 740; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.12rem, 1.02rem + 0.4vw, 1.3rem); color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i-lg { width: 30px; height: 30px; color: var(--red-deep); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.preview-note p { margin: 0; }
.preview-note { background: #fff1bd; color: #3a3000; text-align: center; font-size: 0.92rem; font-weight: 600; padding: 6px 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-stretch: 104%; line-height: 1.15; text-decoration: none; cursor: pointer; text-align: center;
}
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red-deep); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red-deep); }
.btn-white:hover { background: var(--stone); color: var(--red-dark); }
.btn-line-white { border-color: #fff; color: #fff; }
.btn-line-white:hover { background: #fff; color: var(--red-deep); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 680; }

/* ---------- top bar and header ---------- */
.topbar { background: var(--char); color: var(--on-char); font-size: 0.92rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .i { color: var(--red); }
.topbar-contact { gap: 22px !important; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar :focus-visible { outline-color: #fff; }

.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: auto; height: 46px; }
.brand-word { display: grid; line-height: 1; }
.brand-amigo { font-size: 1.55rem; font-weight: 860; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.66rem; font-weight: 680; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.17em; color: var(--ink-2); margin-top: 4px; }

.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .menu-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.main-nav a:hover, .menu-btn:hover { background: var(--stone); color: var(--ink); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.chev { transition: transform 0.15s; }
.menu-btn[aria-expanded="true"] .chev, details[open] > summary .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.services-menu {
  position: absolute; top: calc(100% + 10px); left: -16px; width: min(600px, 90vw); z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; box-shadow: 0 18px 40px rgba(28, 28, 28, 0.14);
}
.services-menu ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px !important; }
.services-menu a { display: grid !important; gap: 2px; padding: 10px 12px !important; min-height: 0 !important; align-content: start; }
.menu-name { font-weight: 700; }
.menu-desc { font-size: 0.88rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
.menu-all { display: block !important; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 12px !important; color: var(--red-deep) !important; font-weight: 700 !important; }

.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 22px; height: 22px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 18px 0 24px; max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-label { margin: 0 0 6px; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.mobile-nav ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mobile-nav li a { display: flex; align-items: center; min-height: 46px; color: var(--ink); text-decoration: none; font-weight: 640; border-bottom: 1px solid var(--line); }
.mobile-pages li a { font-size: 1.12rem; font-weight: 700; font-stretch: 108%; }

@media (max-width: 1079px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-in { min-height: 66px; gap: 12px; }
}
@media (max-width: 719px) {
  .topbar { display: none; }
  .header-cta { display: none; }
  .brand img { height: 40px; }
  .brand-amigo { font-size: 1.35rem; }
}

/* ---------- sections ---------- */
.section { padding: clamp(52px, 4vw + 30px, 88px) 0; }
.section-tight { padding: clamp(28px, 2vw + 18px, 44px) 0 clamp(48px, 3vw + 30px, 72px); }
.section-stone { background: var(--stone); }
.section-head { max-width: 46rem; margin-bottom: 30px; }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; max-width: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 3vw + 20px, 76px) 0 clamp(48px, 4vw + 24px, 92px); }
.hero-grid { display: grid; gap: 28px; grid-template-areas: 'title' 'photo' 'rest'; }
.hero-title { grid-area: title; }
.hero-rest { grid-area: rest; }
.hero-photo { grid-area: photo; }
.hero-title h1 { max-width: 13ch; margin: 0; }
.hero-rest .lead { margin-top: 0; }
.hero-service .hero-title h1 { max-width: 18ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 9px; font-weight: 650; }
.trust .i { color: var(--red-deep); width: 22px; height: 22px; }

/* The arch: the logo's arch as a photo frame, with a red outline behind it. */
.hero-photo { margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.hero-photo picture { position: relative; isolation: isolate; }
.hero-photo picture::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px; z-index: -1;
  border: 2px solid var(--red); border-radius: 999px 999px 8px 8px;
}
.hero-photo img { width: 100%; border-radius: 999px 999px 8px 8px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.hero-photo figcaption, .why-photo figcaption, .about-side figcaption { margin-top: 26px; font-size: 0.92rem; color: var(--muted); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-rows: auto auto; grid-template-areas: 'title photo' 'rest photo'; column-gap: 72px; row-gap: 0; align-items: end; }
  .hero-title { align-self: end; }
  .hero-rest { align-self: start; padding-top: 22px; }
  .hero-photo { justify-self: end; align-self: center; }
}
@media (max-width: 959px) {
  .hero-photo { padding: 14px 0 0 14px; max-width: 520px; justify-self: start; }
  .hero-photo img { aspect-ratio: 1 / 1; }
  .hero-photo figcaption { margin-top: 12px; }
}
@media (max-width: 599px) {
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- service cards ---------- */
.svc-grid, .gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .svc-grid, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .svc-grid, .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-card > a { display: block; color: var(--ink); text-decoration: none; }
.svc-card img, .g-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.svc-name { display: block; margin-top: 12px; font-weight: 740; font-stretch: 108%; font-size: 1.12rem; line-height: 1.25; }
.svc-short { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.svc-card > a:hover .svc-name { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.svc-other-line { margin: 26px 0 0; color: var(--ink-2); }
@media (min-width: 760px) { .review-list-few { grid-template-columns: repeat(2, minmax(0, 420px)) !important; } }
@media (max-width: 759px) { .review-list-few li:only-child { flex-basis: 100%; } }
.svc-other > div { height: 100%; min-height: 220px; display: flex; flex-direction: column; justify-content: center; padding: 22px; background: var(--char); color: #fff; border-radius: var(--radius); }
.svc-other .svc-short { color: var(--on-char); }
.svc-other-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-other :focus-visible { outline-color: #fff; }
.svc-other .svc-name { margin-top: 0; }
.svc-other-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 44px; border: 1.5px solid #fff; border-radius: var(--radius); color: #fff; text-decoration: none; font-weight: 700; }
.svc-other-link:hover { background: #fff; color: var(--ink); }

/* ---------- estimate ---------- */
.estimate { background: var(--stone); }
.estimate-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .estimate-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; } .estimate-copy { position: sticky; top: 110px; } }
.estimate h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); }
.steps { list-style: none; counter-reset: step; margin: 28px 0; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center;
  border: 2px solid var(--red-deep); border-radius: 50%; color: var(--red-deep); font-weight: 800; font-stretch: 120%; font-size: 1.15rem;
}
.step-title { font-weight: 740; font-stretch: 106%; font-size: 1.1rem; }
.step-text { color: var(--ink-2); }
.estimate-alt { color: var(--ink-2); }
.estimate-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 2vw + 10px, 34px); }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: 7px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--field); border-radius: var(--radius);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input[type="file"] { padding: 9px; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 650; margin-right: 12px; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-deep) !important; background: #fff6f6 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: 1.5px solid var(--field); border-radius: 999px; font-size: 0.96rem; font-weight: 560; background: #fff; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red-deep); outline-offset: 2px; }
.radios { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.radios label { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 560; margin: 0; cursor: pointer; }
.radios input { width: 20px; height: 20px; accent-color: var(--red-deep); margin: 0; }
.form-error { background: #fbeaea; color: #7d1219; border-left: 4px solid var(--red-deep); padding: 10px 14px; border-radius: 4px; font-weight: 600; }
.call-card-title { font-weight: 780; font-stretch: 110%; font-size: 1.35rem; margin-bottom: 6px; }
.call-card-btns { display: grid; gap: 12px; margin-top: 18px; }
.form-fine { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); }
.form-done { margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--ink); background: var(--stone); border-radius: 4px; }
.form-done-title { font-weight: 780; font-stretch: 108%; font-size: 1.2rem; margin-bottom: 4px; }

/* ---------- gallery ---------- */
.g-item a { display: block; border-radius: var(--radius); }
.g-cap { margin: 9px 0 0; font-size: 0.93rem; color: var(--ink-2); line-height: 1.4; }
.g-item[hidden] { display: none; }
@media (min-width: 760px) { .gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; } .gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; } }
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.g-filter button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: 999px; background: #fff; font: inherit; font-weight: 600; font-size: 0.96rem; color: var(--ink); cursor: pointer; }
.g-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- why ---------- */
.why { background: var(--char); color: var(--on-char); }
.why h2 { color: #fff; }
.why .lead { color: var(--on-char); }
.why :focus-visible { outline-color: #fff; }
.why-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 72px; } }
.reasons { display: grid; gap: 26px 32px; margin: 30px 0 0; }
@media (min-width: 560px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons > div { border-top: 3px solid var(--red); padding-top: 14px; }
.reasons dt { font-weight: 780; font-stretch: 112%; font-size: 1.25rem; color: #fff; }
.reasons dd { margin: 6px 0 0; }
.reasons-light dt { color: var(--ink); }
.reasons-light dd { color: var(--ink-2); }
.why-sub { margin: 26px 0 0; color: #fff; font-weight: 650; }
.why .reasons { margin-top: 16px; }
.why-sign { margin: 30px 0 0; color: #fff; font-weight: 700; font-stretch: 110%; }
.text-first { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.text-first p { margin: 0; flex: 1 1 240px; }
.fb-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; color: #fff; font-weight: 680; min-height: 44px; }
.fb-link:hover { color: #fff; }
.why-photo { margin: 0; }
.why-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); max-height: 640px; }
.why .why-photo figcaption { color: #a9a7a2; margin-top: 12px; }
.why-photo-david img { aspect-ratio: 1 / 1; }

/* ---------- areas ---------- */
.area-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .area-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.town-list { list-style: none; margin: 22px 0 22px; padding: 0; columns: 2; column-gap: 28px; }
.town-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 640; break-inside: avoid; }
.town-table { list-style: none; margin: 0 0 22px; padding: 0; }
.town-table li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); }
.town-name { font-weight: 720; font-stretch: 106%; font-size: 1.1rem; }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); }
.area-map figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.area-map figcaption a { color: var(--muted); }
.area-map .map-bg { fill: #e4e2dd; }
.area-map .county { fill: #ebe9e5; stroke: #b9b5ad; stroke-width: 1; stroke-linejoin: round; }
.area-map .county.served { fill: #fff; }
.area-map .road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.area-map .road-minor { stroke: #d3cec6; stroke-width: 1.3; }
.area-map .road-major { stroke: #a7a198; stroke-width: 2.4; }
.area-map .county-label { fill: #a29e96; font: 500 12.5px 'Archivo', sans-serif; font-stretch: 108%; }
.area-map .county-label.served { fill: #7d7971; font-weight: 600; }
.area-map .town circle { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.area-map .town text { fill: var(--ink); font: 680 16px 'Archivo', sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.area-map .town-home circle { fill: var(--red-deep); stroke-width: 3; }
.area-map .town-home text { font-weight: 820; fill: var(--red-deep); }
.area-map .scale rect { fill: var(--ink); }
.area-map .scale text { fill: var(--ink); font: 600 12px 'Archivo', sans-serif; }
/* phones: the map is drawn ~760 wide and shown ~340 wide, so its text needs to be about twice as big */
@media (max-width: 599px) {
  .area-map .town text { font-size: 31px; stroke-width: 9px; }
  .area-map .town circle { r: 9; }
  .area-map .town-home circle { r: 12; }
  .area-map .county-label { font-size: 21px; }
  .area-map .county-label:not(.served) { display: none; }
  .area-map .scale text { font-size: 22px; }
}

/* before and after */
.pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
@media (min-width: 1000px) { .pairs { grid-template-columns: 1fr 1fr; gap: 40px; } }
.pair { margin: 0; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair-img { position: relative; }
.pair-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.pair-tag { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.9rem; }
.pair-img + .pair-img .pair-tag { background: var(--red-deep); }
.pair figcaption { margin-top: 12px; color: var(--ink-2); max-width: 40em; }
.pair-title { font-weight: 740; color: var(--ink); font-stretch: 106%; }
.after-gallery { margin: 18px 0 0; }
.pairs-section + .section { border-top: 0; }

/* reviews (shown only when confirmed real) */
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .review-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-list { grid-template-columns: repeat(4, 1fr); gap: 16px; } .review-list blockquote p { font-size: 1rem; } }
/* phones: one swipeable row, so four reviews don't make the page long */
@media (max-width: 759px) {
  .review-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; }
  .review-list li { flex: 0 0 84%; scroll-snap-align: start; }
  .review-hint { display: block; }
}
.review-hint { display: none; margin: 10px 0 0; font-size: 0.92rem; color: var(--muted); }
.review-list figure { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 10px; }
.review-list blockquote { margin: 0; }
.review-list blockquote p { margin: 0; font-size: 1.05rem; }
.review-list figcaption { display: grid; gap: 2px; }
.rev-name { font-weight: 760; font-stretch: 108%; }
.rev-job { color: var(--muted); font-size: 0.93rem; }

/* home: one-line service area */
.area-strip { border-top: 1px solid var(--line); padding: 28px 0; }
.area-strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.area-strip h2 { margin: 0; }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; flex: 1 1 420px; }
.area-chips li { padding: 7px 14px; border-radius: 999px; background: var(--stone); font-weight: 620; font-size: 0.96rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq { border-top: 1px solid var(--line); margin-bottom: 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0;
  font-weight: 690; font-size: 1.1rem; font-stretch: 104%; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--red-deep); width: 22px; height: 22px; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 66ch; }
.faq-compact summary { font-size: 1.02rem; min-height: 52px; }

/* ---------- page heads, lists, cards ---------- */
.page-head { padding: clamp(28px, 2vw + 18px, 52px) 0 8px; }
.page-head-short { padding-bottom: 0; }
.page-head h1 { margin-top: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: 0.92rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #a4a19a; }
.crumbs a { color: var(--ink-2); }
.hero-service .crumbs { margin-bottom: 18px; }
.list-grid, .how-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .list-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 72px; } .how-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; columns: 1; }
@media (min-width: 700px) { .ticks-2 { columns: 2; column-gap: 36px; } }
.ticks li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 1.15em; width: 11px; height: 11px; background: var(--red); border-radius: 2px; }
.side-card { border: 1px solid var(--line); border-top: 4px solid var(--red-deep); border-radius: 10px; padding: 24px; }
.side-title { font-weight: 780; font-stretch: 110%; font-size: 1.35rem; margin-bottom: 6px; }
.side-or { margin: 12px 0 0; text-align: center; color: var(--ink-2); }
.more-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.more-links a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--field); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 640; }
.more-links a:hover { border-color: var(--ink); background: var(--stone); }
.contact-cards { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-cards a { display: grid; gap: 6px; height: 100%; padding: 24px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.contact-cards a:hover { border-color: var(--ink); }
.cc-title { font-weight: 760; font-stretch: 108%; font-size: 1.2rem; margin-top: 8px; }
.cc-value { color: var(--ink-2); overflow-wrap: anywhere; }
.contact-note { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.contact-note .i { color: var(--red-deep); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 72px; } }
.about-logo { width: 100%; max-width: 300px; margin-bottom: 32px; }
.facts { margin: 0 0 8px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-2); }
.prose .more-links { margin-top: 6px; }
.form-more { color: var(--ink-2); }
.hero-photo-plain picture::before { display: none; }
.hero-photo-plain img { border-radius: var(--radius); }
.about-side figure { margin: 0; }
.about-side img:not(.about-logo) { border-radius: var(--radius); }

/* ---------- CTA band and footer ---------- */
.cta-band { background: var(--red-deep); color: #fff; padding: clamp(44px, 3vw + 26px, 68px) 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #fbe9e9; max-width: 34em; }
.cta-band-in { display: grid; gap: 8px 40px; align-items: center; }
@media (min-width: 960px) { .cta-band-in { grid-template-columns: 1fr auto; } .cta-band .cta-row { margin: 0; } }
.cta-band :focus-visible { outline-color: #fff; }

.site-footer { background: var(--char); color: var(--on-char); padding: 60px 0 26px; font-size: 0.98rem; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }
.site-footer h2 { font-size: 1.02rem; font-stretch: 110%; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-char); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; min-height: 36px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-mark { width: 76px; margin-bottom: 14px; }
.footer-name { color: #fff; font-weight: 760; font-stretch: 110%; font-size: 1.15rem; margin-bottom: 4px; }
.footer-fb { margin-top: 4px; }
.footer-contact li { display: grid; }
.footer-contact li > span:not(.footer-plain) { font-size: 0.9rem; color: #a9a7a2; margin: -6px 0 6px 31px; }
.footer-plain { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; }
.site-footer .i { color: var(--red); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #3a3a38; font-size: 0.9rem; color: #a9a7a2; }
.footer-base p { margin: 0; display: flex; gap: 20px; }

/* Phone: call, text and estimate always one tap away. */
.actionbar { display: none; }
@media (max-width: 959px) {
  .actionbar {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(28, 28, 28, 0.08);
  }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 700; }
  .actionbar .actionbar-main { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
  body { padding-bottom: 76px; }
  .no-actionbar-cta .actionbar { grid-template-columns: 1fr 1fr; }
  .no-actionbar-cta .actionbar-main { display: none !important; }
}

/* ---------- photo viewer ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 18, 0.95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(18, 18, 18, 0.95); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 60px 16px 24px; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 4px; }
.lightbox figcaption { font-size: 1rem; color: #e6e4df; text-align: center; }
.lb-btn, .lb-close { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 400 2rem/1 'Archivo', sans-serif; cursor: pointer; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; font-size: 1.8rem; }
.lightbox :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) { .lb-btn { top: auto; bottom: 18px; transform: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .topbar, .site-header, .actionbar, .cta-band, .estimate-card { display: none; } }

/* ---------- phones: shorter pages ---------- */
@media (max-width: 599px) {
  /* services as a compact list with small photos */
  .svc-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .svc-card > a { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .svc-card picture { grid-row: span 2; }
  .svc-card img { aspect-ratio: 1 / 1; }
  .svc-name { margin-top: 0; align-self: end; }
  .svc-short { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; align-self: start; font-size: 0.92rem; }
  .svc-other { margin-top: 14px; }
  .svc-other > div { min-height: 0; }
  .svc-other .svc-name { align-self: auto; }
  /* the owner section keeps its words and drops the extra photo */
  .why-photo:not(.why-photo-david) { display: none; }
  /* footer link lists side by side */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer a { min-height: 40px; }
}
