/* Dale's Heating & Air Conditioning homepage concept. Mobile first, symmetric grids. */

:root {
  --ink: #14202e;
  --navy-950: #0c1826;
  --navy-900: #16293d;
  --navy-800: #1e3a56;
  --navy-700: #274b6d;
  --red-600: #c0202e;
  --red-700: #9c1a24;
  --red-50: #fdeced;
  --paper: #f7f6f4;
  --white: #ffffff;
  --tint: #eef2f6;
  --muted: #4d5a68;
  --line: #d9e0e7;
  --gold: #f2c14e;
  --focus: #0b57d0;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, Helvetica, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(12, 24, 38, 0.06), 0 10px 26px rgba(12, 24, 38, 0.08);
  --shadow-lg: 0 2px 6px rgba(12, 24, 38, 0.08), 0 20px 48px rgba(12, 24, 38, 0.12);
  --gutter: 16px;
  --section-pad: clamp(36px, 4.4vw, 64px);
  --grid-gap: 16px;

  /* Real heights get measured by script.js; these are the no-JS fallbacks. */
  --banner-h: 0px;
  --header-h: 0px;
  --callbar-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Keep anchor targets and keyboard focus clear of the fixed banner, header and call bar. */
  scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 12px);
  scroll-padding-bottom: calc(var(--callbar-h) + 16px + env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-top: var(--banner-h);
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.6rem, 0.95rem + 3vw, 3rem); }
h2 { font-size: clamp(1.4rem, 0.95rem + 2vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--red-700); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  left: 8px;
  top: calc(var(--banner-h) + 8px);
}

.hero-in > *,
.brian-in > *,
.quote-in > *,
.band-in > *,
.brands-layout > *,
.trust-list > *,
.footer-in > * { min-width: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: var(--banner-h);
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
  padding: 2px 0;
}
.brand-logo {
  display: block;
  width: clamp(168px, 44vw, 300px);
  height: auto;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 700 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.menu-bars { display: grid; gap: 4px; }
.menu-bars i { display: block; width: 18px; height: 2px; background: currentColor; }

.nav { display: none; width: 100%; }
.nav.is-open { display: block; }
.nav ul {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.nav a {
  display: block;
  padding: 12px 6px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover { color: var(--red-700); }

.header .header-call { display: none; }

@media (min-width: 900px) {
  .header-in { flex-wrap: nowrap; gap: 8px; }
  .brand-logo { width: 232px; }
  .menu-btn { display: none; }
  .nav { display: block; width: auto; min-width: 0; }
  .nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .nav a {
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 0.92rem;
    min-height: 0;
  }
  .header .header-call { display: inline-flex; margin-left: 6px; padding-inline: 16px; flex: none; }
  .header-call-text { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
  .header-call-text small { font-size: 0.7rem; font-weight: 600; opacity: 0.9; }
}

@media (min-width: 1140px) {
  .header-in { padding-block: 8px; }
  .brand-logo { width: 252px; }
  .nav a { padding: 8px 12px; font-size: 0.96rem; }
  .nav ul { gap: 2px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.15 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.06rem; }
.btn--full { width: 100%; }

.btn--red { background: var(--red-600); color: var(--white); }
.btn--red:hover { background: var(--red-700); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}
.btn--ghost:hover { color: var(--red-700); }

.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--tint); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-950);
  color: var(--white);
  border-bottom: 3px solid var(--red-600);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 18, 28, 0.9) 0%, rgba(8, 18, 28, 0.66) 42%, rgba(8, 18, 28, 0.92) 100%);
}

.hero-in { padding-block: clamp(52px, 8.5vw, 104px) clamp(86px, 10vw, 136px); }
.hero h1 { color: var(--white); max-width: 17ch; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero .lede { color: #d7e2ec; max-width: 46ch; }

.lede {
  font-size: clamp(1.04rem, 0.98rem + 0.4vw, 1.18rem);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-cta .btn { flex: 0 1 240px; }

@media (min-width: 720px) {
  .hero-cta .btn { flex: 0 0 auto; }
}

/* ---------- Facts row ---------- */

/* Lifted onto the hero so it reads as part of the opening, not a band after it. */
.facts {
  position: relative;
  z-index: 2;
  margin-top: clamp(-64px, -5vw, -34px);
}

.facts-list {
  list-style: none;
  margin: 0;
  padding: clamp(18px, 2.4vw, 26px) clamp(14px, 2vw, 22px);
  display: grid;
  gap: 4px clamp(10px, 1.6vw, 24px);
  grid-template-columns: minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(14, 24, 48, 0.08), 0 22px 50px rgba(14, 24, 48, 0.16);
}

.facts-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 13px;
  padding: 10px 2px;
  min-width: 0;
}

.fact-ico {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(150deg, #c0202e 0%, #e2603a 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(192, 32, 46, 0.34);
}
.fact-ico .ico { width: 1.5rem; height: 1.5rem; }

.facts-list strong {
  align-self: end;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.facts-list li > span:last-child {
  align-self: start;
  font-size: 0.87rem;
  line-height: 1.3;
  color: var(--muted);
}
.facts-list .link-ext { font-size: 0.87rem; min-height: 24px; }

@media (min-width: 640px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .facts-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts-list li + li { border-left: 1px solid var(--line); padding-left: clamp(12px, 1.6vw, 22px); }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.facts + .section { padding-top: clamp(30px, 3.6vw, 52px); }
.section--tint { background: var(--tint); }

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(20px, 2.6vw, 30px);
  text-align: center;
}
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ---------- Cards ---------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: minmax(0, 1fr);
}

.card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 4px;
  padding: 20px 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 4px; }
.card p { color: var(--muted); margin: 0; }

.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red-700);
}
.card-ico .ico { width: 1.45rem; height: 1.45rem; }

.card--accent { background: var(--white); border-color: var(--line); }
.cards--flat .card { box-shadow: none; }
.card--accent .card-ico { background: var(--navy-900); color: var(--gold); }

@media (min-width: 640px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 .card { grid-row: span 3; grid-template-rows: subgrid; }
}
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Emergency band ---------- */

.band {
  background: var(--navy-800);
  color: var(--white);
  padding-block: clamp(26px, 3.4vw, 42px);
}
.band-in {
  display: grid;
  gap: 22px;
  align-items: center;
}
.band h2 { margin: 0 0 8px; }
.band p { margin: 0; color: #cddae6; max-width: 46rem; }

@media (min-width: 860px) {
  .band-in { grid-template-columns: minmax(0, 1fr) auto; gap: 34px; }
}

/* ---------- Brands ---------- */

.brands-layout {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
}
.chips .ico { width: 1.05rem; height: 1.05rem; color: var(--red-600); }
.chips--brands li { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.chips--towns { justify-content: center; }

.brands-figure { margin: 0; text-align: center; }
.brands-figure img {
  display: block;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
  border: 1px solid var(--line);
}
.brands-figure figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (min-width: 880px) {
  .brands-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

/* ---------- About ---------- */

.link-ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  min-height: 30px;
}

.brands-label {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Centres cleanly whether nine tiles fit on one row or wrap to three. */
  grid-template-columns: repeat(auto-fit, minmax(94px, 116px));
  justify-content: center;
  gap: 10px;
}
.brand-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.brand-logos img {
  width: auto;
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
}
/* Round and stacked marks read small at a shared height cap, so give them a little more. */
.brand-logos li[data-brand="rheem"] img { max-height: 38px; }
.brand-logos li[data-brand="goodman"] img,
.brand-logos li[data-brand="carrier"] img { max-height: 34px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.15;
  color: var(--navy-800);
  text-align: center;
}

/* ---------- Videos ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.videos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.video { min-width: 0; }

.video-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}
.video-play img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 28, 0) 42%, rgba(8, 18, 28, 0.92) 100%);
}

.video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 1;
  width: 62px;
  height: 44px;
}
.video-badge svg { width: 100%; height: 100%; display: block; }
.video-badge .yt-bg { fill: rgba(18, 18, 18, 0.78); transition: fill 0.15s ease; }
.video-badge .yt-tri { fill: #fff; }
.video-play:hover .yt-bg { fill: #ff0000; }

.video-title {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.video-play iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.video-play.is-playing { cursor: default; }
.video-play.is-playing::after,
.video-play.is-playing .video-badge,
.video-play.is-playing .video-title { display: none; }

.videos-note { margin: 18px 0 0; text-align: center; font-size: 0.88rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .video-badge .yt-bg { transition: none; }
}

@media (min-width: 680px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Reviews ---------- *//* ---------- Reviews ---------- */

.reviews {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: minmax(0, 1fr);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review blockquote { margin: 0; flex: 1; }
.review p { margin: 0; }
.review blockquote p { color: var(--ink); }
.review .who {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Collapsed, the reviews fill exactly one row at every width. A wider breakpoint has to
   put the extra card back explicitly: a second display:none rule cannot undo the first. */
.reviews:not(.reviews--expanded) .review:nth-child(n + 3) { display: none; }
@media (min-width: 1040px) {
  .reviews:not(.reviews--expanded) .review:nth-child(3) { display: flex; }
  .reviews:not(.reviews--expanded) .review:nth-child(n + 4) { display: none; }
}

.reviews-more { text-align: center; }
.reviews-links .ico { width: 1.25rem; height: 1.25rem; fill: none; }
.reviews-links .ico * { fill: revert-layer; }
.reviews-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 14px 0 0;
}

/* ---------- Product category filter ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 12px;
}
.chip-btn {
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 700 0.95rem/1.2 var(--font-body);
  cursor: pointer;
}
.chip-btn:hover { border-color: var(--red-600); color: var(--red-700); }
.chip-btn.is-on {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.filter-count {
  margin: 0 0 16px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.product.is-hidden { display: none; }

/* ---------- Products ---------- */

.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* auto-fit plus a max track means any number of products centres as a tidy row. */
  grid-template-columns: repeat(auto-fit, minmax(160px, 208px));
  justify-content: center;
  gap: 14px;
}

.products { grid-auto-rows: auto; }

.product {
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product:hover { border-color: var(--red-600); }

.product-img {
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 116px;
  margin-bottom: 12px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.product-img img { width: auto; max-width: 100%; max-height: 102px; object-fit: contain; }

.product-cat {
  margin: 0 0 3px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-700);
}
.product h3 { font-size: 0.95rem; line-height: 1.25; margin: 0 0 7px; }
.product-link { color: var(--ink); text-decoration: none; }
.product-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.product:hover .product-link { color: var(--red-700); text-decoration: underline; }
.product-link:focus-visible { outline: none; }
.product:has(.product-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

.product p { margin: 0; }
.product .spec { align-self: start; font-size: 0.8rem; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
.product .price { margin-top: 8px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }

.products-note { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ---------- Product detail sheet ---------- */

.sheet {
  width: min(720px, calc(100% - 28px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  background: var(--white);
  overflow: auto;
  overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(9, 18, 28, 0.62); }
.sheet:not([open]) { display: none; }

.sheet-close-form { position: sticky; top: 0; z-index: 2; height: 0; }
.sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.sheet-close:hover { background: var(--tint); color: var(--red-700); }

.sheet-in { padding: clamp(22px, 4vw, 34px); }
.sheet-in > .product-cat { margin-bottom: 6px; }
.sheet-in h2 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.8rem); margin: 0 0 18px; padding-right: 46px; }
.sheet-in p { color: var(--muted); }

.sheet-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 230px;
  margin: 0 auto 20px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.table-wrap { overflow-x: auto; margin: 18px 0; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}
.spec-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 8px;
}
.spec-table th,
.spec-table td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th { background: var(--tint); white-space: nowrap; }
.spec-table tbody th { font-weight: 700; white-space: nowrap; }
.spec-table td { color: var(--muted); }

.feats-title { margin-bottom: 8px; font-weight: 600; color: var(--ink) !important; }
.feats { margin: 0 0 18px; padding-left: 1.15em; display: grid; gap: 7px; color: var(--muted); }

.sheet-price {
  margin: 20px 0 16px;
  font-weight: 700;
  color: var(--ink) !important;
}
.sheet-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-cta .btn { flex: 1 1 210px; }

/* ---------- Service area ---------- */

.area-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Quote form ---------- */

.section--quote { background: var(--navy-900); color: var(--white); }
.quote-in { display: grid; gap: clamp(26px, 4vw, 44px); align-items: start; }
.quote-copy h2 { color: var(--white); }
.quote-copy > p { color: #cddae6; font-size: 1.06rem; }

.quote-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.quote-points li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  /* At 200% text a phone has ~230px of line; let the long lines break rather than scroll. */
  overflow-wrap: anywhere;
  color: #dce7f1;
  font-weight: 600;
}
.quote-points .ico { color: var(--gold); margin-top: 3px; }
.qp-text { flex: 1 1 0; min-width: 0; }
.quote-points a { color: var(--white); }

.quote-form {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field label { font-weight: 700; font-size: 0.94rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--focus); }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}
.check input { width: 22px; height: 22px; accent-color: var(--red-600); flex: none; }

.form-status {
  margin: 0;
  font-weight: 700;
  color: var(--red-700);
  display: none;
}
.form-status--on { display: block; }

.form-fine { margin: 0; font-size: 0.88rem; color: var(--muted); }

.add {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 1px 7px;
  border-radius: 5px;
  background: #fff3c4;
  color: #5a4300;
  font-size: 0.86em;
  font-weight: 700;
}

@media (min-width: 900px) {
  .quote-in { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 9px; align-content: start; }

@media (min-width: 880px) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.99rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--red-600); transition: transform 0.18s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 16px 15px; color: var(--muted); font-size: 0.96rem; }

@media (prefers-reduced-motion: reduce) {
  .faq summary .ico { transition: none; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: #c6d3e0;
  padding-block: clamp(40px, 6vw, 64px) 26px;
}
.footer-in {
  display: grid;
  gap: 30px 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.footer h2 {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb3c6;
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr);
}
.footer a { color: var(--white); text-decoration: none; }
/* An email address has no break opportunity; let it wrap rather than widen the column. */
.footer-col a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; max-width: 26rem; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}
.footer-social .ico { width: 1.3rem; height: 1.3rem; }


.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
}
.footer-base p { margin: 0; }
/* Concept disclosure: one quiet line under the base row, which already carries the hairline. */
.footer .concept-note {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #9fb3c6;
}

/* ---------- Mobile call bar ---------- */

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.callbar--static { position: static; }

@media (min-width: 900px) {
  .callbar { display: none; }
}

/* ---------- No JS ---------- */

.no-js .nav { display: block; width: 100%; }
.no-js .menu-btn { display: none; }
.no-js .reviews .review { display: flex; }
.no-js #reviews-toggle { display: none; }
/* Without JS every product shows and each title links to its own page on their site. */
.no-js .filters,
.no-js .filter-count { display: none; }
.no-js .product.is-hidden { display: grid; }

@media (min-width: 900px) {
  .no-js .nav { width: auto; }
}

/* Card and product headings used to link out to the client's existing website. A prospect who
   clicked one landed on the old site and concluded that was the work on offer, so the links were
   removed and the text kept. */
.was-link { color: inherit; text-decoration: none; }
