/* The 2026 homepage (index.php), from the mockup on the claude.ai canvas.
   The same file on appliance-geeks.net and salem.appliance-geeks.net: change both copies.
   Archivo for headings, Atkinson Hyperlegible Next for text, brand blue #0B5FFF.
   Widths as in the mockup: wide from 1000 px, mid 720–999 px, narrow below 720 px, tiny below 360 px. */

:root {
  --ink: #0B1220;
  --ink-2: #3D4757;
  --ink-3: #4B5563;
  --blue: #0B5FFF;
  --blue-d: #063DBF;
  --line: #DCE3EE;
  --line-2: #CFDAEA;
  --bg: #F6F8FC;
  --tint: #EAF1FF;
  --green: #0F7A36;
  --red: #B42318;
  --head: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-photo: 0 2px 4px rgba(11, 18, 32, 0.08), 0 18px 40px rgba(11, 18, 32, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[id] { scroll-margin-top: 84px; }

.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.h-blue { color: var(--blue); }
.h-underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #9DB0CC; }
.h-narrow-only { display: none; }

/* ---------- Header ---------- */
.h-header { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.h-header__bar {
  max-width: 1200px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: 24px;
}
.h-logo { display: flex; align-items: center; flex: 0 0 auto; }
.h-logo img, .h-footer__brand img { display: block; height: 44px; width: auto; }
.h-nav { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; }
.h-nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px;
}
.h-header__right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.h-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 2px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--blue-d); text-decoration: none;
  font-family: var(--head); font-stretch: 92%; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.h-header__phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none;
  font-family: var(--head); font-stretch: 92%; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px;
  background: var(--blue); color: #FFFFFF; font-family: var(--head); font-stretch: 92%; font-weight: 700; font-size: 16px;
  text-decoration: none; white-space: nowrap;
}
.h-header__compact { display: none; align-items: center; gap: 10px; margin-left: auto; }
.h-btn--mid { display: none; padding: 0 18px; }
.h-pill--compact { min-height: 46px; padding: 0 12px; }
.h-iconbtn {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border-radius: 12px;
  background: #FFFFFF; cursor: pointer;
}
.h-iconbtn--call { border: 2px solid var(--blue); color: var(--blue-d); }
.h-iconbtn--menu { border: 2px solid var(--line-2); color: var(--ink); }
.h-menu-close { display: none; }
.h-iconbtn--menu[aria-expanded="true"] .h-menu-open { display: none; }
.h-iconbtn--menu[aria-expanded="true"] .h-menu-close { display: block; }
.h-menu {
  display: none; border-top: 1px solid var(--line); background: #FFFFFF;
  max-height: calc(100vh - 71px); overflow-y: auto;
}
.h-menu.is-open { display: block; }
.h-menu nav { display: flex; flex-direction: column; padding: 8px 16px 20px; }
.h-menu__label { padding: 16px 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.h-menu__label:first-child { padding-top: 12px; }
.h-menu a {
  display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid #EEF2F7;
}
.h-menu a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.h-hero { padding: clamp(20px, 4vw, 56px) 0 clamp(40px, 6vw, 88px); }
.h-hero__inner { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: clamp(14px, 4vw, 56px); }
.h-hero__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.h-h1 {
  margin: 0; font-family: var(--head); font-stretch: 86%; font-weight: 800; font-size: clamp(32px, 4.3vw, 60px);
  line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance;
}
.h-city {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: -6px; padding: 0 14px;
  border: 2px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--blue-d); text-decoration: none;
  font-family: var(--head); font-stretch: 92%; font-weight: 700; font-size: 15px;
}
.h-city svg { flex: 0 0 auto; }
.h-lead { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.h-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.h-btn-lg {
  flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 16px;
  border-radius: 14px; font-family: var(--head); font-stretch: 92%; font-weight: 700; font-size: 18px; white-space: nowrap;
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.h-btn-lg--book { background: var(--blue); color: #FFFFFF; box-shadow: 0 1px 2px rgba(6, 61, 191, 0.3), 0 10px 24px rgba(11, 95, 255, 0.22); }
.h-btn-lg--call { background: #FFFFFF; color: var(--blue-d); border: 2px solid var(--blue); }
.h-hero__help { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; font-size: 15px; color: var(--ink-3); }
.h-linkbtn {
  min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--blue-d);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.h-callback {
  display: none; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 10px 28px rgba(11, 18, 32, 0.08);
}
.h-callback.is-open { display: flex; }
.h-callback__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.h-callback__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h-callback__title strong { font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 19px; line-height: 1.3; }
.h-callback__title span { color: var(--ink-2); font-size: 15px; }
.h-callback__close {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border: 0;
  border-radius: 12px; background: #F1F4F9; color: var(--ink); cursor: pointer;
}
.h-callback__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.h-callback.is-sent .h-callback__form { display: none; }
.h-callback__form label { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; }
.h-callback__form input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #8A99B0; border-radius: 12px; background: #FFFFFF; color: var(--ink);
  font: inherit; font-weight: 400; font-size: 16px;
}
.h-callback__submit {
  flex: 1 1 160px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--blue); color: #FFFFFF;
  font-family: var(--head); font-stretch: 92%; font-weight: 700; font-size: 16px; cursor: pointer;
}
.h-callback__submit:disabled { opacity: 0.6; cursor: default; }
.h-callback__msg { margin: 0; font-weight: 700; }
.h-callback__msg:empty { display: none; }
.h-callback__msg.is-ok { color: var(--green); }
.h-callback__msg.is-err { color: var(--red); }
.h-callback__call {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-d); text-decoration: none;
  font-family: var(--head); font-stretch: 92%; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums;
}

.h-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.h-stars { display: inline-flex; gap: 2px; }
.h-rating a { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; color: var(--ink); text-decoration: none; }
.h-checks {
  list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 10px 22px; font-size: 16px;
}
.h-checks--team { margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.h-checks li { display: flex; gap: 10px; align-items: flex-start; }
.h-checks svg { flex: 0 0 auto; margin-top: 2px; }
.h-checks a { color: var(--ink); }

.h-hero__figure { flex: 1 1 440px; min-width: 0; margin: 0; position: relative; }
.h-hero__figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; object-position: 50% 33%;
  border-radius: 22px; box-shadow: var(--shadow-photo);
}
.h-hero__figure figcaption {
  position: absolute; left: 14px; top: 14px; padding: 8px 12px; border-radius: 10px; background: #FFFFFF; color: var(--ink);
  font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px rgba(11, 18, 32, 0.16);
}

/* ---------- Sections ---------- */
.h-section { padding: clamp(56px, 7vw, 96px) 0; }
.h-section--white { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-stack { display: flex; flex-direction: column; gap: 28px; }
.h-stack--32 { gap: 32px; }
.h-stack--24 { gap: 24px; }
.h-h2 {
  margin: 0; font-family: var(--head); font-stretch: 88%; font-weight: 800; font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance;
}
.h-intro { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }
.h-intro p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.h-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--blue); font-weight: 700; text-decoration: none; }

/* ---------- Reviews ---------- */
.h-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.h-reviews__title { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.h-reviews__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.h-arrows { display: flex; align-items: center; gap: 8px; }
.h-arrows__count { font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.h-arrow {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--line-2);
  border-radius: 50%; background: #FFFFFF; color: var(--ink); cursor: pointer;
}
.h-arrow:disabled { opacity: 0.4; cursor: default; }
.h-rev-viewport { overflow: hidden; padding: 4px 0 12px; }
.h-rev-track { display: flex; gap: 20px; transition: transform 0.35s ease; }
.h-rev-card {
  margin: 0; flex: 0 0 calc((100% - 40px) / 3); padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  display: flex; flex-direction: column; gap: 16px;
}
.h-rev-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.h-rev-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.h-rev-card__initial {
  width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--blue-d);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto;
}
.h-rev-card__who { display: flex; flex-direction: column; line-height: 1.3; }
.h-rev-card__who span { font-size: 14px; color: var(--ink-3); }

/* ---------- Prices ---------- */
.h-prices {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 12px 32px rgba(11, 18, 32, 0.06);
}
.h-prices__row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr) 130px 190px; grid-template-areas: 'name prob price book';
  align-items: center; gap: 6px 24px; padding: 22px 28px; border-bottom: 1px dashed #CBD5E3;
}
.h-prices__row:nth-last-child(2) { border-bottom: 0; }
.h-prices__head { padding: 14px 28px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-3); }
.h-prices__name { grid-area: name; justify-self: start; }
a.h-prices__name {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: #B9C6DA;
  text-underline-offset: 4px; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 20px; line-height: 1.25;
}
.h-prices__prob { grid-area: prob; }
.h-prices__row:not(.h-prices__head) .h-prices__prob { color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.h-prices__price { grid-area: price; justify-self: end; text-align: right; }
.h-prices__row:not(.h-prices__head) .h-prices__price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.h-prices__price span { font-size: 14px; color: var(--ink-3); }
.h-prices__price strong { font-family: var(--head); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.h-prices__book { grid-area: book; justify-self: end; }
.h-prices__booklink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--blue); font-weight: 700; text-decoration: none; }
.h-prices__bookicon {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--tint); color: var(--blue-d);
}
.h-prices__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding: 22px 28px;
  background: var(--bg); border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}

/* ---------- How it works ---------- */
/* Four in a row when the list is at least 1004 px wide, two from 488 px, else one (no media query: the list's own width). */
.h-steps {
  list-style: none; margin: 0; padding: 22px 0 0; display: grid; gap: 44px 28px;
  grid-template-columns: repeat(auto-fit, minmax(clamp(25% - 21.1px, (1004px - 100%) * 1000, clamp(50% - 14.1px, (488px - 100%) * 1000, 100%)), 1fr));
}
.h-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 34px; border-top: 2px solid var(--line-2); }
.h-steps__num {
  position: absolute; top: -23px; left: 0; width: 44px; height: 44px; border-radius: 50%; border: 4px solid #FFFFFF;
  background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 800; font-size: 18px;
}
.h-steps h3 { margin: 0; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 21px; line-height: 1.2; }
.h-steps p { margin: 0; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }

/* ---------- Team ---------- */
.h-team { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); }
.h-team__figure { flex: 1 1 340px; min-width: 0; max-width: 460px; margin: 0 auto; }
.h-team__figure img { display: block; width: 100%; height: auto; aspect-ratio: 1342 / 2000; border-radius: 22px; box-shadow: var(--shadow-photo); }
.h-team__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.h-team__text > p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.h-promise { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--tint); border: 1px solid #BFD3FF; }
.h-promise svg { flex: 0 0 auto; margin-top: 1px; color: var(--blue-d); }
.h-promise div { display: flex; flex-direction: column; gap: 4px; }
.h-promise strong { font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 19px; line-height: 1.3; }
.h-promise span { color: #33415A; font-size: 16px; }

/* ---------- Brands ---------- */
.h-brands { padding: 0 0 clamp(56px, 7vw, 96px); }
.h-brands__box {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: 24px 28px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px;
}
.h-brands__box h2 { margin: 0; flex: 0 0 auto; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 20px; line-height: 1.3; }
.h-brands__box p { margin: 0; flex: 1 1 480px; min-width: 0; color: var(--ink-2); text-wrap: pretty; }
.h-brands__box strong { color: var(--ink); }

/* ---------- Areas ---------- */
.h-areas__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.h-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.h-cities a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 500;
}
.h-cities__here {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--blue); border-radius: 999px;
  background: var(--tint); color: var(--blue-d); font-weight: 700;
}
.h-areas__lead { margin: 0; color: var(--ink-2); max-width: 46em; text-wrap: pretty; }
/* isolation keeps Leaflet's own z-indexes under the sticky header */
.h-map { position: relative; isolation: isolate; z-index: 0; aspect-ratio: 16 / 5; border-radius: 20px; overflow: hidden; background: #E8EEF8; border: 1px solid var(--line); }
.h-map .leaflet-control-attribution { font-size: 11px; }
/* Salem: the map in a box, next to a line about the area */
.h-mapbox {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: clamp(18px, 3vw, 32px);
  border-radius: 20px; background: var(--bg); border: 1px solid var(--line);
}
.h-mapbox__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.h-mapbox__text strong { font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 22px; line-height: 1.3; }
.h-mapbox__text span { color: var(--ink-2); text-wrap: pretty; }
.h-mapbox__map { flex: 1 1 320px; min-width: 0; max-width: 520px; }
.h-map.h-map--square { aspect-ratio: 594 / 580; border-radius: 16px; }

/* ---------- Salem: local section ---------- */
.h-local { padding: clamp(56px, 7vw, 96px) 0 0; }
.h-local .h-wrap { display: flex; flex-direction: column; gap: 16px; }
.h-local .h-h2 { max-width: 24em; }
.h-local p { margin: 0; max-width: 46em; color: var(--ink-2); text-wrap: pretty; }

/* ---------- FAQ ---------- */
.h-faq { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px 48px; }
.h-faq > div { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.h-faq dt { font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 19px; line-height: 1.3; }
.h-faq dd { margin: 0; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Final call to action ---------- */
.h-final { padding: clamp(56px, 7vw, 96px) 0; background: var(--blue-d); color: #FFFFFF; }
.h-final__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.h-final__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.h-final__text p { margin: 0; color: #DCE6FF; text-wrap: pretty; }
.h-final__btns { flex: 0 1 470px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.h-final__btns .h-btn-lg { flex: 1 1 190px; }
.h-btn-lg--light { padding: 0 24px; background: #FFFFFF; color: var(--blue-d); }
.h-btn-lg--outline { padding: 0 22px; border: 2px solid #FFFFFF; color: #FFFFFF; }

/* ---------- Footer ---------- */
.h-footer { background: #0B1220; color: #C9D3E3; padding: 48px 0 40px; font-size: 15px; }
.h-footer .h-wrap { display: flex; flex-direction: column; gap: 32px; }
.h-footer__cols { display: flex; flex-wrap: wrap; gap: 28px 32px; }
.h-footer__brand { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.h-footer__brand a { align-self: flex-start; }
.h-footer__brand p { margin: 0; text-wrap: pretty; }
.h-footer__col { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; }
.h-footer__col h3 { margin: 0 0 4px; font-size: 15px; color: #FFFFFF; }
.h-footer__col a { display: flex; align-items: center; min-height: 44px; color: #C9D3E3; text-decoration: none; overflow-wrap: anywhere; }
.h-footer__col > span { padding: 4px 0; }
.h-footer__col .h-footer__note { padding: 10px 0; }
.h-footer__col .h-footer__phone { color: #FFFFFF; font-family: var(--head); font-stretch: 92%; font-weight: 700; font-variant-numeric: tabular-nums; }
.h-footer__col .h-footer__white { color: #FFFFFF; }
.h-footer__col .h-footer__strong { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.h-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid #26324A;
  font-size: 14px; color: #A9B6CB;
}

/* ---------- Inner pages (city, service, prices, legal): the homepage's parts, plus these ---------- */
.h-hero--page { padding: clamp(20px, 4vw, 48px) 0 clamp(40px, 5vw, 72px); }
.h-hero__inner--page { flex-wrap: wrap; align-items: flex-start; }
.h-hero--page .h-hero__text { flex: 1 1 520px; }
.h-h1--page { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; }
.h-eyebrow { margin: 0; font-size: 15px; font-weight: 700; color: var(--blue-d); }
.h-eyebrow a { color: inherit; }
.h-areacard {
  flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 12px 32px rgba(11, 18, 32, 0.06);
}
.h-areacard__title { margin: 0; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 21px; line-height: 1.25; }
.h-areacard p { margin: 0; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.h-zips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-zips li {
  padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-d);
  font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
}
.h-prose { display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.h-prose p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.h-prose strong { color: var(--ink); }
.h-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.h-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; }
.h-section--white .h-card { background: var(--bg); }
.h-card h3 { margin: 0; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 20px; line-height: 1.25; }
.h-card p { margin: 0; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.h-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.h-reviews-grid .h-rev-card { flex: none; }
.h-hero--short .h-hero__text { max-width: 760px; }
.h-faq dd strong { color: var(--ink); }

/* Prices page: the service call card in the hero, and a block of starting prices per appliance */
.h-areacard__badge { margin: 0; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-d); font-size: 14px; font-weight: 700; }
.h-areacard .h-areacard__lead { color: var(--ink); font-size: 18px; }
.h-fee { color: var(--blue); }
.h-priceblocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.h-priceblock { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.h-priceblock h3 { margin: 0; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 21px; line-height: 1.25; }
.h-pricelist { list-style: none; margin: 0; padding: 0; }
.h-pricelist li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0;
  border-bottom: 1px dashed #CBD5E3; color: var(--ink-2); font-size: 16px;
}
.h-pricelist li:last-child { border-bottom: 0; }
.h-pricelist strong { color: var(--ink); font-family: var(--head); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.h-priceblock .h-more { margin-top: auto; }

/* Legal pages (legal, sms-consent): their text and markup stay as they are (the A2P campaign quotes them), styled here */
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: #FFFFFF; color: var(--blue-d); text-decoration: none; font-weight: 700;
}
.h-legalpage .container { max-width: 860px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.h-legalpage .legal-section { padding: clamp(40px, 5vw, 64px) 0; background: #FFFFFF; border-top: 1px solid var(--line); }
.h-legalpage .legal-section--alt { background: var(--bg); }
.h-legalpage .legal-section__title {
  margin: 0 0 14px; font-family: var(--head); font-stretch: 88%; font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1;
}
.h-legalpage .legal-section__intro { margin: 0 0 20px; color: var(--ink-2); }
.h-legalpage .legal-h3 { margin: 30px 0 10px; font-family: var(--head); font-stretch: 92%; font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--ink); }
.h-legalpage .legal-h3:first-child { margin-top: 0; }
.h-legalpage p { margin: 0 0 14px; color: var(--ink-2); }
.h-legalpage .legal-list { margin: 0 0 14px; padding-left: 1.3em; color: var(--ink-2); }
.h-legalpage .legal-list li { margin-bottom: 8px; }
.h-legalpage a { color: var(--blue-d); }
.h-legalpage strong { color: var(--ink); }
.h-legalpage .legal-contact-block {
  margin-top: 14px; max-width: 480px; padding: 18px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  line-height: 1.8; color: var(--ink-2);
}
.h-legalpage .legal-section--alt .legal-contact-block { background: #FFFFFF; }
.h-legalpage .sms-quote {
  margin: 0 0 18px; padding: 16px 20px; background: var(--tint); border: 1px solid #BFD3FF; border-radius: 14px;
  color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.6;
}
.h-legalpage .sms-bubble {
  max-width: 380px; margin: 0 0 14px; padding: 14px 18px; background: #E9EDF3; border-radius: 18px 18px 18px 4px;
  color: #111827; font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere;
}

/* ---------- Phone bar (narrow only) ---------- */
.h-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px; padding: 10px 12px; background: #FFFFFF; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 18, 32, 0.08);
}
.h-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border-radius: 14px;
  font-family: var(--head); font-stretch: 92%; font-weight: 700; white-space: nowrap; text-decoration: none;
}
.h-bar__call { border: 2px solid var(--blue); color: var(--blue-d); }
.h-bar__book { background: var(--blue); color: #FFFFFF; }

/* ---------- Mid and narrow ---------- */
@media (max-width: 999px) {
  .h-nav, .h-header__right { display: none; }
  .h-header__compact { display: flex; }
  .h-hero__figure img { aspect-ratio: 3 / 2; }
  /* A 360 px phone is too narrow for the logo and the buttons (Salem's "Portland" pill needs 379 px): the logo shrinks instead of the page overflowing. */
  .h-logo { flex: 0 1 138px; min-width: 0; }
  .h-logo img { width: 100%; height: auto; }
}
@media (min-width: 720px) and (max-width: 999px) {
  .h-btn--mid { display: inline-flex; }
}
/* Below 900 px the four price columns leave "Refrigerator" too little room: two lines per appliance. */
@media (max-width: 899px) {
  .h-prices__head { display: none; }
  .h-prices__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name price' 'prob book'; }
}
@media (min-width: 1000px) {
  .h-menu.is-open { display: none; }
}
@media (max-width: 719px) {
  .h-header__bar { gap: 12px; }
  .h-pin { display: none; }
  .h-menu { max-height: calc(100vh - 71px - 84px); }
  .h-hero__text { gap: 14px; }
  .h-hero__figure img { aspect-ratio: 16 / 10; }
  .h-wide-only { display: none; }
  .h-narrow-only { display: inline; }

  .h-arrows { display: none; }
  .h-rev-viewport { overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding-left: 16px; }
  .h-rev-track { gap: 14px; transform: none !important; }
  .h-rev-card { flex: 0 0 84%; scroll-snap-align: start; padding: 22px; }
  .h-reviews-grid .h-rev-card { flex: none; }
  .h-areacard { max-width: none; }

  .h-prices__row { padding: 16px; }
  .h-prices__booklink { display: none; }
  .h-prices__bookicon { display: flex; }
  .h-prices__foot { padding: 16px; }

  .h-map { aspect-ratio: 4 / 3; }
  .h-footer { padding-bottom: calc(40px + 84px); }
  .h-bar { display: grid; }
}
@media (max-width: 359px) {
  .h-pill--compact { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-rev-track { transition: none; }
}
