/* ==========================================================
   Hawaii Painting Company
   Brand colors sampled from the logo.
   ========================================================== */
:root {
  /* Brand */
  --green-950: #021C0F;
  --green-900: #012A17;
  --green-800: #024A2A;
  --green-700: #0B5C36;
  --orange: #D77A48;          /* mascot-shirt orange, slightly desaturated: fills, accents, buttons (dark text, 5.8:1) */
  --orange-hover: #E38A58;
  --orange-ink: #A04F22;      /* orange for text on light backgrounds (5.8:1) */
  --orange-tint: #FBEFE6;     /* soft orange wash for selected/hover cards */
  --cream: #F8D2A6;           /* logo border cream */
  --overalls: #452E25;        /* mascot overalls brown: site header */
  --overalls-dark: #36231C;   /* deeper shade for header dropdowns */
  --overalls-hover: #5A3D31;
  --brown: #6C3016;           /* shirt shadow brown: button ledges, dividers on orange */

  /* Neutrals */
  --sand: #FBF4EA;
  --paper: #FFFFFF;
  --ink: #12241A;
  --ink-soft: #46584D;
  --line: #E8DCCB;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem);

  /* Space & shape */
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--orange); color: var(--green-950); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons: echo the logo's layered sign edge ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; touch-action: manipulation;
  transition: transform .15s var(--ease), background-color .2s var(--ease), box-shadow .15s var(--ease), color .2s var(--ease);
}
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: var(--green-950); box-shadow: 0 4px 0 var(--brown); }
.btn-orange:hover { background: var(--orange-hover); }
.btn-orange:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--brown); }
.btn-ghost { color: var(--paper); border-color: rgba(248, 210, 166, .55); }
.btn-ghost:hover { background: rgba(248, 210, 166, .12); border-color: var(--cream); }
.btn-outline { color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green-900);
  border-bottom: 3px solid var(--orange);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 128px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.main-nav ul { display: flex; gap: 1.5rem; }
.main-nav a:not(.btn) { color: #F4EADB; text-decoration: none; font-weight: 600; font-size: .98rem; padding: .5rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.main-nav a:not(.btn):hover { color: var(--paper); border-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--cream); font-weight: 700; text-decoration: none; padding: .5rem .25rem; white-space: nowrap; }
.header-phone:hover { color: var(--paper); }
.menu-toggle { display: none; }

@media (max-width: 1059px) {
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: transparent; color: var(--paper); border: 2px solid rgba(248, 210, 166, .4); cursor: pointer;
  }
  .menu-toggle .icon { width: 24px; height: 24px; }
  .menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem; margin: 0;
    background: var(--green-900); border-bottom: 3px solid var(--orange);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(248, 210, 166, .15); font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .header-phone span { display: none; }
  .header-phone { width: 48px; height: 48px; justify-content: center; border-radius: var(--radius-sm); background: var(--orange); color: var(--green-950); }
  .header-phone .icon { width: 22px; height: 22px; }
  .brand img { width: 112px; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green-900);
  color: var(--paper);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.15fr; } }
.hero-place { display: inline-flex; align-items: center; gap: .4rem; color: var(--cream); font-weight: 600; margin-bottom: 1.25rem; }
.hero h1 { font-size: var(--step-4); font-weight: 800; max-width: 14ch; }
.hero-lede { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.55; color: #E6EDE8; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.75rem; color: #E6EDE8; text-decoration: none; }
.hero-rating strong { color: var(--paper); }
.hero-rating:hover strong { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .icon { fill: currentColor; stroke: none; width: 1.1em; height: 1.1em; }

.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  box-shadow: 10px 10px 0 var(--orange);
}
.hero-media figcaption {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: rgba(1, 42, 23, .88); color: var(--paper);
  font-size: var(--step--1); font-weight: 600;
  padding: .45rem .8rem; border-radius: 8px;
}
@media (max-width: 959px) { .hero-media img { box-shadow: 6px 6px 0 var(--orange); } }

/* ---------- Stats ---------- */
.stats { background: var(--orange); color: var(--green-950); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; padding: 1.5rem 1rem; text-align: center; }
.stat + .stat { border-left: 2px solid rgba(89, 17, 0, .18); }
@media (max-width: 799px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 2px solid rgba(89, 17, 0, .18); } }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1; }
.stat-label { margin-top: .4rem; font-weight: 600; font-size: .95rem; line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: .9rem; color: var(--ink-soft); font-size: 1.1rem; }

/* Services */
.service-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.service {
  padding: 1.75rem; border-radius: var(--radius);
  background: var(--sand); border: 1px solid var(--line);
}
.service-icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--green-800); color: var(--cream); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--ink-soft); }
.service-consult { background: var(--green-800); border-color: var(--green-800); color: var(--paper); }
.service-consult .service-icon { background: var(--orange); color: var(--green-950); }
.service-consult p { color: #DCE7E0; }
.services-note { margin-top: 1.5rem; font-weight: 600; color: var(--green-800); }

/* Before / After */
.results { background: var(--sand); }
.ba-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.ba-tabs button {
  display: flex; flex-direction: column; gap: .5rem; padding: .5rem; text-align: left;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: 600 .95rem/1.3 var(--font-body); color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.ba-tabs button img { border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ba-tabs button span { padding: 0 .25rem .2rem; }
.ba-tabs button:hover { border-color: var(--green-700); }
.ba-tabs button[aria-selected="true"] { border-color: var(--orange); background: var(--orange-tint); box-shadow: 0 3px 0 var(--orange); }
@media (max-width: 600px) { .ba-tabs button img { display: none; } .ba-tabs button { justify-content: center; text-align: center; min-height: 56px; font-size: .88rem; } }

.ba {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--green-900);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--paper); pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--orange); border: 4px solid var(--paper);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; transform: translateY(-50%);
}
.ba-handle span::before { left: 5px; border-right-color: var(--green-950); }
.ba-handle span::after { right: 5px; border-left-color: var(--green-950); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; }
.ba-label {
  position: absolute; top: 1rem; padding: .35rem .75rem; border-radius: 6px;
  font-weight: 700; font-size: .9rem; pointer-events: none;
}
.ba-label-before { left: 1rem; background: rgba(1, 42, 23, .85); color: var(--paper); }
.ba-label-after { right: 1rem; background: var(--orange); color: var(--green-950); }
.ba-caption { margin-top: 1rem; color: var(--ink-soft); max-width: 48rem; }
.ba-caption strong { color: var(--ink); }

/* Why */
.why { background: var(--green-800); color: var(--paper); }
.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .why-grid { grid-template-columns: .9fr 1.6fr; gap: 4rem; } }
.why-intro p { margin-top: 1rem; color: #DCE7E0; font-size: 1.1rem; }
.why-points { display: grid; gap: 2rem; }
.why-point { padding-left: 1.25rem; border-left: 4px solid var(--orange); }
.why-point h3 { font-size: var(--step-2); color: var(--cream); margin-bottom: .5rem; }
.why-point p { color: #E6EDE8; max-width: 38rem; }

/* Process */
.steps { display: grid; gap: 1.25rem; counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { position: relative; padding-top: 1rem; }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--orange); color: var(--green-950);
  font: 800 1.5rem/1 var(--font-display); box-shadow: 0 3px 0 var(--brown);
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-soft); max-width: 30rem; }
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: calc(1rem + 26px); left: 68px; right: -1rem;
    border-top: 2px dashed var(--line);
  }
}

/* Reviews */
.reviews { background: var(--sand); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; max-width: none; }
.reviews-score { display: flex; align-items: center; gap: .6rem; }
.reviews-score strong { color: var(--ink); }
.review-grid { columns: 3 320px; column-gap: 1rem; }
.review {
  break-inside: avoid; margin: 0 0 1rem;
  padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.review figcaption { margin-top: 1rem; display: flex; flex-direction: column; font-size: .95rem; }
.review figcaption span { color: var(--ink-soft); }
.review-feature { background: var(--green-900); border-color: var(--green-900); color: var(--paper); }
.review-feature blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.4; letter-spacing: -0.01em; }
.review-feature figcaption span { color: var(--cream); }

/* Commercial */
.commercial { background: var(--orange); color: var(--green-950); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.commercial-inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 860px) { .commercial-inner { grid-template-columns: auto 1fr auto; gap: 2rem; } }
.commercial-icon { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.commercial h2 { font-size: var(--step-2); }
.commercial p { margin-top: .4rem; max-width: 44rem; font-weight: 500; }
.commercial .btn-orange { background: var(--green-900); color: var(--paper); box-shadow: 0 4px 0 var(--green-950); }
.commercial .btn-orange:hover { background: var(--green-800); }

/* About / letter */
.about-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.4fr; gap: 4rem; align-items: start; } .about-side { position: sticky; top: calc(var(--header-h) + 2rem); } }
.about-tag { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.letter {
  background: var(--sand); border: 1px solid var(--line); border-top: 6px solid var(--green-800);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem);
  font-size: 1.1rem; line-height: 1.75; max-width: 44rem;
}
.letter p + p { margin-top: 1.1rem; }
.signature { margin-top: 2rem !important; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--green-800); }
.signature-role { margin-top: .1rem !important; color: var(--ink-soft); font-size: 1rem; }

/* Areas */
.areas { background: var(--green-900); color: var(--paper); }
.areas .section-head p { color: #DCE7E0; }
.area-list { display: flex; flex-wrap: wrap; gap: .75rem; }
.area-list li {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
  padding: .65rem 1.2rem; border-radius: 999px;
  background: var(--green-800); border: 2px solid rgba(248, 210, 166, .35); color: var(--cream);
}
.areas-note { margin-top: 2rem; color: #DCE7E0; }
.areas-note a { color: var(--orange); font-weight: 700; }

/* FAQ */
.faq-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.4fr; gap: 4rem; } }
.faq .section-head a { color: var(--orange-ink); font-weight: 700; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--orange-ink); transition: transform .25s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 40rem; }

/* Contact */
.contact { background: var(--sand); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; } }
.contact-info > p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; font-weight: 600; overflow-wrap: anywhere; }
.contact-list .icon { margin-top: .2rem; color: var(--orange-ink); width: 1.3em; height: 1.3em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

.quote-form {
  background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--orange);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: 1.1rem;
}
.quote-form h3 { font-size: var(--step-2); }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .98rem; padding: 0; }
.field legend { margin-bottom: .5rem; }
.req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid #CDBFAB; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(2, 74, 42, .2); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field-error { color: #B42318; font-size: .9rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; }
.checks label {
  display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem .8rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.checks label:has(input:checked) { border-color: var(--green-800); background: #EEF5F0; }
.checks input { width: 20px; height: 20px; accent-color: var(--green-800); margin: 0; }
.form-note { font-size: .92rem; color: var(--ink-soft); }
.form-note a { color: var(--orange-ink); font-weight: 700; }
.form-status { font-weight: 600; color: var(--green-800); }
.form-status:empty { display: none; }

/* Footer */
.site-footer { background: var(--green-950); color: #CBD8CF; padding: 3.5rem 0 6rem; }
@media (min-width: 700px) { .site-footer { padding-bottom: 2rem; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand img { width: 160px; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--cream); margin-bottom: .9rem; }
.site-footer li + li { margin-top: .5rem; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 210, 166, .15); font-size: .92rem; }

/* Mobile call bar */
.mobile-call {
  position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90; display: none; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; border-radius: var(--radius-sm);
  background: var(--orange); color: var(--green-950); font-weight: 800; text-decoration: none;
  box-shadow: 0 4px 0 var(--brown), 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
@media (max-width: 699px) { .mobile-call { display: flex; } }
.mobile-call.hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* ==========================================================
   Service detail pages (services/*.html)
   ========================================================== */

/* Services dropdown in the header */
.main-nav .has-sub { position: relative; }
.main-nav .sub-nav { flex-direction: column; gap: 0; }
.sub-nav a[aria-current="page"] { color: var(--orange) !important; }
@media (min-width: 1060px) {
  .sub-nav {
    position: absolute; top: 100%; left: -1rem; min-width: 230px; z-index: 110;
    padding: .5rem; margin-top: .25rem;
    background: var(--green-900); border: 1px solid rgba(248, 210, 166, .2); border-top: 3px solid var(--orange);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  }
  .main-nav .sub-nav { display: none; }
  .sub-nav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .main-nav .has-sub:hover .sub-nav, .main-nav .has-sub:focus-within .sub-nav { display: flex; }
  .main-nav .sub-nav a:not(.btn) { display: block; padding: .6rem .75rem; border: 0; border-radius: 6px; }
  .main-nav .sub-nav a:not(.btn):hover { background: var(--green-800); }
}
@media (max-width: 1059px) {
  .sub-nav { padding-left: 1rem; }
  .main-nav .sub-nav a:not(.btn) { font-size: 1rem; color: var(--cream); }
}

/* Hero */
.svc-hero { padding-top: 1.25rem; }
.svc-hero h1 { max-width: 16ch; }
.breadcrumb { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); font-size: .95rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li { color: #CBD8CF; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(248, 210, 166, .5); }
.breadcrumb a { color: var(--cream); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--paper); font-weight: 600; }

.svc-hero-card {
  position: relative; padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--green-800); color: var(--paper);
  border: 6px solid var(--cream); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--orange);
}
@media (max-width: 959px) { .svc-hero-card { box-shadow: 6px 6px 0 var(--orange); } }
.svc-hero-icon {
  width: 72px; height: 72px; padding: 16px; border-radius: 16px;
  background: var(--orange); color: var(--green-950);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.svc-hero-card-title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1.05; }
.svc-hero-card ul { margin-top: 1.25rem; display: grid; gap: .65rem; }
.svc-hero-card li { position: relative; padding-left: 1.75rem; font-weight: 600; color: #E6EDE8; }
.svc-hero-card li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: .55rem;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}
.svc-hero-card-phone {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; min-height: 44px;
  color: var(--cream); font-weight: 700; text-decoration: none;
}
.svc-hero-card-phone:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

/* Intro + benefits */
.svc-intro { display: grid; gap: 2rem; }
@media (min-width: 900px) { .svc-intro { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; } }
.svc-intro .section-head { margin-bottom: 0; }
.svc-benefits { display: grid; gap: 1.75rem; }
.svc-benefits .why-point h3 { color: var(--green-800); font-size: var(--step-1); }
.svc-benefits .why-point p { color: var(--ink-soft); }

/* What's included */
.svc-included { background: var(--sand); }
.svc-included .section-head .btn { margin-top: 1.5rem; }
@media (min-width: 900px) { .svc-included .section-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.svc-list summary span { flex: 1; }
.svc-detail { padding: 0 0 1.5rem; max-width: 40rem; }
.svc-detail > p { color: var(--ink-soft); }
.check-list { margin-top: .9rem; display: grid; gap: .5rem; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before {
  content: ""; position: absolute; left: .1rem; top: .45em; width: .8rem; height: .45rem;
  border-left: 2.5px solid var(--orange-ink); border-bottom: 2.5px solid var(--orange-ink); transform: rotate(-45deg);
}

/* Featured review */
.svc-review-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .svc-review-inner { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.svc-review .review { margin: 0; }
.svc-review-side { display: grid; gap: 1rem; justify-items: start; }
.svc-review-side > p:not(.reviews-score) { color: var(--ink-soft); }

/* Other services */
.svc-links { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.svc-link {
  display: flex; align-items: center; gap: .9rem; min-height: 72px; padding: .9rem 1.1rem;
  background: var(--sand); border: 2px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.svc-link .service-icon { margin: 0; width: 40px; height: 40px; padding: 9px; flex: none; }
.svc-link:hover { border-color: var(--orange); background: var(--orange-tint); }

/* Closing CTA */
.svc-cta { background: var(--green-900); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 6px solid var(--orange); }
.svc-cta-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .svc-cta-inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.svc-cta p { margin-top: .6rem; color: #DCE7E0; font-size: 1.1rem; }
.svc-cta .hero-ctas { margin-top: 0; }

/* Homepage: service cards link to their pages */
.service { position: relative; transition: border-color .2s, background-color .2s; }
.service-link { text-decoration: none; }
.service-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-link:focus-visible { outline: none; }
.service:has(.service-link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.service:has(.service-link):hover { border-color: var(--orange); background: var(--orange-tint); }
.service-more {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem;
  font-weight: 700; color: var(--orange-ink);
}
.service:has(.service-link):hover .service-more { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   Mascot: rises into the homepage hero when the page opens
   ========================================================== */
.hero-media .mascot {
  position: absolute; z-index: 2;
  left: -13%; bottom: -10%;
  height: 142%; width: auto; max-width: none;
  border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4));
  transform-origin: 50% 100%;
  pointer-events: none;
  animation: mascot-in 1s cubic-bezier(.34, 1.56, .64, 1) .35s both;
}
.hero-media figcaption { left: auto; right: 1.25rem; }
@keyframes mascot-in {
  0%   { opacity: 0; transform: translateY(45%) scale(.85) rotate(-4deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@media (max-width: 959px) {
  .hero-media .mascot { left: -2%; bottom: -6%; height: 108%; }
  .hero-media figcaption { top: .85rem; bottom: auto; right: .85rem; max-width: 58%; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .mascot { animation: none; }
}

/* Mascot beside the headline on mid-width screens (single-column hero with room to the right) */
.hero-copy { position: relative; }
.mascot-beside { display: none; }
@media (min-width: 600px) and (max-width: 959px) {
  .hero-media .mascot { display: none; }
  .hero-media figcaption { top: auto; bottom: 1.25rem; max-width: none; font-size: var(--step--1); }
  .mascot-beside {
    display: block; position: absolute; z-index: 1;
    top: -.75rem; right: 4%;
    height: clamp(260px, calc(21vw + 130px), 315px); width: auto;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4));
    transform-origin: 50% 100%;
    pointer-events: none;
    animation: mascot-in 1s cubic-bezier(.34, 1.56, .64, 1) .35s both;
  }
  .hero h1, .hero-place { position: relative; z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .mascot-beside { animation: none; } }

/* Simplified service pages: brief list + quote buttons */
.svc-simple { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.svc-simple-inner { max-width: 760px; }
.svc-simple h2 { font-size: var(--step-2); }
.svc-simple-list { margin-top: 1.25rem; display: grid; gap: .75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.svc-simple-list li { position: relative; padding-left: 1.75rem; font-weight: 600; font-size: 1.05rem; }
.svc-simple-list li::before {
  content: ""; position: absolute; left: .1rem; top: .42em; width: .85rem; height: .48rem;
  border-left: 3px solid var(--orange-ink); border-bottom: 3px solid var(--orange-ink); transform: rotate(-45deg);
}
.svc-simple-note { margin-top: 1.75rem; color: var(--ink-soft); }
.svc-simple-ctas { margin-top: 1.75rem; }

/* ==========================================================
   Reviews slider (homepage, right under the stats strip)
   ========================================================== */
.reviews { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.reviews .section-head { margin-bottom: 1.5rem; }
.review-controls { display: flex; align-items: center; gap: .6rem; }
.slider-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 2px solid var(--green-800); background: var(--paper); color: var(--green-800);
  cursor: pointer; transition: background-color .2s, color .2s, opacity .2s;
}
.slider-btn .icon { width: 22px; height: 22px; }
.slider-btn[data-dir="-1"] .icon { transform: rotate(90deg); }
.slider-btn[data-dir="1"] .icon { transform: rotate(-90deg); }
.slider-btn:hover:not(:disabled) { background: var(--green-800); color: var(--paper); }
.slider-btn:disabled { opacity: .35; cursor: default; }

.review-track {
  display: flex; gap: 1rem; align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: .25rem var(--gutter) 1rem; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
}
.review-track:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.review-track .review {
  flex: 0 0 min(84%, 360px); margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between;
}
.review-track .review-feature blockquote { font-size: 1.15rem; }
@media (max-width: 599px) {
  .review-controls .btn { display: none; }
  .reviews-head { align-items: center; }
}

/* ==========================================================
   Before & after: one tab per service
   ========================================================== */
.results .ba-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.results .ba-tabs button {
  flex-direction: row; align-items: center; gap: .55rem;
  min-height: 48px; padding: .6rem 1.1rem; border-radius: 999px;
  font-size: 1rem; text-align: left;
}
.results .ba-tabs button .icon { width: 20px; height: 20px; color: var(--green-800); }
.results .ba-tabs button span { padding: 0; }
.results .ba-tabs button[aria-selected="true"] { box-shadow: 0 3px 0 var(--orange); }
@media (max-width: 600px) {
  .results .ba-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .5rem; scrollbar-width: none; }
  .results .ba-tabs::-webkit-scrollbar { display: none; }
  .results .ba-tabs button { flex: none; white-space: nowrap; font-size: .95rem; justify-content: flex-start; min-height: 48px; }
}

.ba[hidden], .ba-caption[hidden] { display: none; }
.ba-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 9; padding: 2rem 1.5rem; gap: .75rem;
  border-radius: var(--radius); background: var(--green-800); color: var(--paper);
  border: 2px dashed rgba(248, 210, 166, .35);
}
.ba-empty[hidden] { display: none; }
.ba-empty-icon {
  width: 64px; height: 64px; padding: 14px; border-radius: 16px;
  background: var(--orange); color: var(--green-950);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ba-empty-title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); }
.ba-empty-text { color: #DCE7E0; max-width: 30rem; }
.ba-empty .btn { margin-top: .5rem; }
@media (max-width: 600px) { .ba-empty { aspect-ratio: auto; min-height: 320px; } }

/* ==========================================================
   Services: photo cards on a brand-green band
   (cover photos live in assets/img/services/<service>.jpg, 4:3)
   ========================================================== */
.services { background: var(--green-900); color: var(--paper); }
.services .section-head p { color: #DCE7E0; }
.services .services-note { color: var(--cream); margin-top: 2rem; }

.svc-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: .75rem; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, .26); }
@media (prefers-reduced-motion: reduce) { .svc-card:hover { transform: none; } }
.svc-cover {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: calc(var(--radius) - 4px);
  background: var(--sand);
}
.svc-cover-empty {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(215, 122, 72, .35), transparent 55%),
    linear-gradient(145deg, var(--green-800), var(--green-900));
}
.svc-cover-empty svg {
  width: 30%; height: auto; aspect-ratio: 1; color: var(--cream);
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9;
}
.svc-card-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.1rem .5rem .5rem; }
.svc-card h3 { color: var(--green-800); font-size: var(--step-1); }
.svc-card p { color: var(--ink-soft); }
.svc-card-btn { margin-top: auto; align-self: stretch; }
.svc-card p + .svc-card-btn { margin-top: auto; }
.svc-card-body > p:last-of-type { margin-bottom: .6rem; }

.svc-card-consult { background: var(--orange); color: var(--green-950); }
.svc-card-consult .svc-card-body { padding: 1.25rem 1rem 1rem; }
.svc-card-consult .service-icon { background: var(--green-900); color: var(--cream); margin-bottom: .25rem; }
.svc-card-consult h3 { color: var(--green-950); font-size: var(--step-2); }
.svc-card-consult p { color: var(--green-950); }
.btn-outline-light { color: var(--green-950); border-color: var(--green-950); }
.btn-outline-light:hover { background: var(--green-950); color: var(--paper); }

/* Before & after: tall frame for portrait photo pairs (e.g. cabinets) */
.ba.is-portrait { aspect-ratio: 3 / 4; max-width: min(100%, 560px); margin-inline: auto; }

/* Our story page */
.story-hero { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.story-hero h1 { max-width: none; }
.story-hero .hero-lede { margin-top: 1rem; }
.story-cta { background: var(--sand); }
.footer-brand .footer-story { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.footer-brand .footer-story:hover { color: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--paper); border-color: var(--orange); }

/* ==========================================================
   Reviews: Google-style panel (format modeled on a reviews widget)
   ========================================================== */
.reviews { background: var(--paper); }
.rv-panel {
  background: #F8E6CF; border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.25rem; }
.rv-head h2 { font-size: var(--step-2); }
.rv-head p { margin-top: .35rem; color: var(--ink-soft); font-size: .98rem; max-width: 40rem; }
.rv-score { display: grid; justify-items: end; text-decoration: none; color: var(--ink); }
.rv-score-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.8rem + 1.5vw, 2.8rem); line-height: 1; }
.rv-score-line { display: flex; align-items: center; gap: .6rem; margin-top: .35rem; font-size: .95rem; }
.rv-score-count { padding-left: .6rem; border-left: 1.5px solid rgba(18, 36, 26, .35); }
.rv-score:hover .rv-score-count { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .rv-score { justify-items: start; } }

.rv-stars { display: inline-flex; gap: 1px; color: #E8A33A; }
.rv-stars .icon { fill: currentColor; stroke: none; width: 1em; height: 1em; }

.rv-track { gap: .9rem; padding: .25rem var(--gutter) .75rem; }
.review-track .rv-card {
  flex: 0 0 min(82%, calc((100% - 2.7rem) / 4)); min-width: 240px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 12px; padding: 1rem 1.1rem;
  box-shadow: 0 2px 10px rgba(89, 50, 10, .08);
}
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.rv-rating { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: 1.05rem; color: #9A6410; }
.rv-date { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.rv-text {
  margin-top: .75rem; font-size: .95rem; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.rv-card.is-open .rv-text { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.rv-more {
  align-self: flex-start; margin-top: .2rem; padding: .35rem 0; min-height: 32px;
  background: none; border: 0; cursor: pointer;
  font: 600 .9rem/1 var(--font-body); color: #1A5FB4;
}
.rv-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.rv-name { font-weight: 600; font-size: .95rem; }
.rv-g { width: 20px; height: 20px; flex: none; }

.rv-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.rv-google-link { font-weight: 700; color: var(--green-800); text-underline-offset: 4px; }
.rv-panel .slider-btn { background: var(--paper); }
.review-track .rv-card { position: relative; } /* keeps hidden screen-reader text inside the scroller */
.review-track { position: relative; }

/* ==========================================================
   Header in the mascot's overalls brown (less green up top)
   ========================================================== */
.site-header { background: var(--overalls); }
@media (min-width: 1060px) {
  .sub-nav { background: var(--overalls-dark); }
  .main-nav .sub-nav a:not(.btn):hover { background: var(--overalls-hover); }
}
@media (max-width: 1059px) {
  .main-nav { background: var(--overalls); }
}
.site-header .sub-nav a[aria-current="page"] { color: #E89A6C !important; } /* lighter orange: 5.5:1 on the brown header */

/* ==========================================================
   Service page: step-by-step process timeline (exterior page)
   ========================================================== */
.svc-process { background: var(--sand); }
.svc-process-inner { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .svc-process-inner { grid-template-columns: .8fr 1.4fr; gap: 4rem; align-items: start; }
  .svc-process .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.svc-process .section-head { margin-bottom: 0; }
.pr-list { display: grid; gap: 0; counter-reset: none; }
.pr-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding-bottom: 1.75rem; }
.pr-step:last-child { padding-bottom: 0; }
.pr-step:not(:last-child)::before {
  content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px;
  border-left: 2px dashed rgba(108, 48, 22, .3);
}
.pr-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: var(--green-950);
  font: 800 1.35rem/1 var(--font-display); box-shadow: 0 3px 0 var(--brown);
}
.pr-step > div {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.pr-step h3 { font-size: var(--step-1); color: var(--green-800); }
.pr-step p { margin-top: .4rem; color: var(--ink-soft); max-width: 40rem; }
@media (max-width: 520px) {
  .pr-step { grid-template-columns: 40px 1fr; gap: .8rem; }
  .pr-num { width: 40px; height: 40px; font-size: 1.1rem; }
  .pr-step:not(:last-child)::before { left: 19px; top: 44px; }
}

/* ==========================================================
   Map card: Google map + service areas panel
   ========================================================== */
.map-section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.map-card {
  display: grid; overflow: hidden; border-radius: 18px;
  background: #F8E6CF; color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}
@media (min-width: 860px) { .map-card { grid-template-columns: 1.25fr 1fr; } }
.map-frame { position: relative; min-height: 300px; background: #E9E3D8; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 859px) { .map-frame { min-height: 0; aspect-ratio: 4 / 3; } }
.map-info { padding: clamp(1.5rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; gap: .75rem; }
.map-label { font-weight: 700; color: var(--orange-ink); font-size: .95rem; }
.map-info h2 { font-size: var(--step-3); color: var(--green-900); }
.map-info > p:not(.map-label):not(.map-address) { color: var(--ink-soft); }
.map-areas { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .25rem; }
.map-areas li {
  padding: .35rem .8rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: var(--paper); border: 1px solid rgba(108, 48, 22, .18); color: var(--green-900);
}
.map-address { display: flex; align-items: flex-start; gap: .5rem; margin-top: .5rem; font-weight: 600; }
.map-address .icon { color: var(--orange-ink); margin-top: .15rem; }
.map-directions { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; color: var(--green-800); text-underline-offset: 4px; }
.map-directions:hover { color: var(--green-900); }
.areas.map-section { color: var(--ink); }

/* Hide Google's address card (drawn inside the map's top-left) by cropping the top of the embed.
   The pin, zoom controls and Google attribution (bottom) stay visible. */
.map-frame { overflow: hidden; }
.map-frame iframe { top: -135px; height: calc(100% + 135px); }

/* Service-area map (Leaflet) */
.map-frame { isolation: isolate; }               /* keep map layers under the sticky header */
.map-canvas { position: absolute; inset: 0; background: #AAD3DF; }
@media (max-width: 859px) { .map-frame { aspect-ratio: 4 / 5; } }
.map-pin { background: none; border: 0; }
.map-canvas .leaflet-control-attribution { font-size: 11px; }
.map-canvas .leaflet-tooltip { font: 600 .85rem/1.3 var(--font-body); }

/* Map: compact proportions (wide and short, like the original map) */
@media (max-width: 859px) {
  .map-frame { aspect-ratio: 16 / 10; max-height: 340px; }
}
@media (max-width: 520px) {
  .map-frame { aspect-ratio: 4 / 3; }
}
@media (min-width: 860px) {
  .map-card { grid-template-columns: 1fr 1fr; }
  .map-frame { min-height: 0; }
}
.map-section { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.map-info { padding: clamp(1.25rem, 3vw, 1.9rem); gap: .55rem; }
.map-info h2 { font-size: var(--step-2); }
.map-info > p:not(.map-label):not(.map-address) { font-size: .97rem; }
.map-areas { gap: .35rem; }
.map-areas li { padding: .25rem .65rem; font-size: .85rem; }
.map-address { margin-top: .25rem; font-size: .95rem; }
.map-directions { min-height: 40px; }
@media (min-width: 521px) and (max-width: 859px) {
  .map-frame { aspect-ratio: auto; max-height: none; width: 100%; height: clamp(260px, 48vw, 340px); }
}

/* Process: conversion message under the timeline (cabinet page) */
.pr-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center; display: grid; justify-items: center; gap: .9rem;
}
.pr-cta h2 { font-size: var(--step-2); color: var(--green-900); max-width: 32ch; }
.pr-cta p { color: var(--ink-soft); max-width: 46rem; }
.pr-cta .btn { margin-top: .4rem; }
@media (max-width: 520px) { .pr-cta .btn { width: 100%; } }

/* ==========================================================
   Service area pages + hub, linked map tags, 4-column footer
   ========================================================== */
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.map-areas a { color: inherit; text-decoration: none; display: inline-block; }
.map-areas li:has(a) { padding: 0; }
.map-areas li a { padding: .25rem .65rem; border-radius: 999px; min-height: 32px; line-height: 1.5; }
.map-areas li:has(a):hover { border-color: var(--orange-ink); background: var(--orange-tint); }
.map-areas a:focus-visible { outline-offset: 2px; }

.area-copy p { margin-top: .9rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 40rem; }
.area-sub { font-size: var(--step-1); color: var(--green-900); margin-bottom: 1rem; }
.area-services { background: var(--sand); }

.area-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.area-card a {
  display: grid; gap: .5rem; height: 100%; padding: 1.4rem 1.4rem 1.2rem;
  background: var(--sand); border: 2px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .2s, background-color .2s;
}
.area-card a:hover { border-color: var(--orange); background: var(--orange-tint); }
.area-card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--green-800); color: var(--cream); }
.area-card-icon .icon { width: 20px; height: 20px; }
.area-card-name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); color: var(--green-900); }
.area-card-text { color: var(--ink-soft); }
.area-card-more { margin-top: .25rem; font-weight: 700; color: var(--orange-ink); }
