/* =========================================================
   Mold Remediation Coral Gables — direction "Clearance"
   The clearance report is the brand. Warm paper ground, near-black
   ink, one deep teal. The pass mark is the only ornament: it
   replaces every decorative rule on the site. Figures are mono and
   tabular, always. Headings are sentence case, because a report is
   not shouted. Plain CSS, no build step.
   ========================================================= */

/* shortcut: Google Fonts via @import (one extra round trip). Self-host all three faces before the renting contractor goes live. */
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  /* ground: warm paper, four steps */
  /* Warm, but held just under impeccable's cream-palette line (r-b <= 5 on
     the page background): a document white rather than a beige sheet. */
  --paper:  #f4f3ef;   /* page */
  --card:   #fffefb;   /* raised surface: cards, panels, header */
  --paper2: #f0eee8;   /* alternating sections */
  --well:   #e9e6dd;   /* deepest wells: readouts, table heads */

  /* rules */
  --rule:        #dcd8cc;   /* hairlines between cells */
  --rule-strong: #bdb6a6;   /* panel borders */

  /* ink */
  --ink:       #15181a;   /* 16.1:1 on paper, 13.9:1 on well */
  --ink-soft:  #40474c;   /* 8.5:1 on paper, 7.3:1 on well */
  --ink-faint: #5b6268;   /* 5.6:1 on paper, 5.0:1 on well */

  /* deep teal: the only saturated colour on the site */
  --teal:      #0b5750;   /* 7.6:1 on paper. Button fills take paper text: 7.6:1 */
  --teal-deep: #073f39;   /* pressed, borders, hover */
  --teal-tint: #dceae7;   /* 6.8:1 against the teal band */

  /* legacy aliases so shared elements (the chat widget) resolve */
  --brand: var(--teal); --brand-dark: var(--teal-deep); --line: var(--rule-strong);
  --bg: var(--paper); --bg-alt: var(--paper2); --bg-dark: var(--teal-deep);
  --surface: var(--card); --text: var(--ink); --muted: var(--ink-soft);
  --border: var(--rule-strong); --accent: var(--teal); --cta: var(--teal);

  --max: 1180px;
  --radius: 2px;
  --font-head: "Libre Franklin", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* the pass mark: the one ornament. A checked box, drawn in CSS so it
     costs nothing and scales anywhere. It is what a clearance report ends in. */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' fill='none' stroke='%23bdb6a6' stroke-width='1.4'/%3E%3Cpath d='M4.6 9.2l2.8 3 6-7' fill='none' stroke='%230b5750' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  --mark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' fill='none' stroke='%236e9b95' stroke-width='1.4'/%3E%3Cpath d='M4.6 9.2l2.8 3 6-7' fill='none' stroke='%23dceae7' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  /* the section rule: a dotted leader, the way a form rules a blank field */
  --leader: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='3' viewBox='0 0 8 3'%3E%3Crect x='0' y='1' width='4' height='1' fill='%23bdb6a6'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.018em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.022em; }
h3 { font-size: 1.24rem; font-weight: 600; line-height: 1.25; }
h4 { font-size: 1rem; }
p + p { margin-top: 1.05em; }
strong { font-weight: 600; color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--ink-faint); font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.sheet { background: var(--card); border: 1px solid var(--rule-strong); }

/* ---------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,254,251,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-strong); }
.nav { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 22px; min-height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em; flex: 0 0 auto; }
/* logomark = favicon, reused: a checked box on deep teal. The mark a
   clearance report ends in. Same artwork as favicon.svg. */
.nav__logo::before {
  content: ""; width: 30px; height: 30px; flex: 0 0 auto;
  background-color: var(--teal); border-radius: var(--radius);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 16.5l5 5.5 11-12' fill='none' stroke='%23f6f2e9' stroke-width='3.4' stroke-linecap='square'/%3E%3C/svg%3E");
  background-size: 30px 30px; background-repeat: no-repeat;
}
.nav__logo strong { font-weight: 700; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: .93rem; font-weight: 500; }
.nav__links a:hover { color: var(--teal); }
.nav__call { font-family: var(--font-mono); font-weight: 600; font-size: .89rem !important; letter-spacing: -.02em; color: var(--teal) !important; white-space: nowrap; }
.nav__end { display: none; align-items: center; gap: 14px; margin-left: auto; }
.nav__toggle { background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); width: 42px; height: 38px; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.nav__toggle svg { width: 21px; height: 21px; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: -14px; min-width: 285px; background: var(--card); border: 1px solid var(--rule-strong); list-style: none; padding: 7px 0; opacity: 0; visibility: hidden; transition: opacity .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 9px 18px; font-weight: 400; font-size: .92rem; }
.dropdown a:hover { background: var(--well); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
  padding: 15px 28px; border: 1px solid var(--teal); border-radius: var(--radius);
  background: var(--teal); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: transform .12s var(--ease-out), background .12s;
}
.btn:hover { background: var(--teal-deep); color: var(--paper); transform: translateY(-2px); }
.btn:active { transform: translateY(0); background: var(--teal-deep); }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

/* ---------------------------------------------------------- section marker: number, dotted leader, label */
.dim { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dim__no { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--teal); letter-spacing: .06em; flex: 0 0 auto; }
.dim__line { flex: 1 1 auto; height: 3px; background-image: var(--leader); background-repeat: repeat-x; background-position: left center; background-size: 8px 3px; opacity: 1; }
.dim__label { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); flex: 0 0 auto; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; background: var(--card); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--rule-strong); }
/* the document's head rule: a teal hairline across the top of the page, the
   way a report is ruled before anything is written on it. No photograph in
   this direction -- the hero is paper, type and the clearance card. */
.hero__photo { position: absolute; inset: 0 0 auto; height: 3px; background: var(--teal); }
.hero__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 76px 28px 82px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 52px; align-items: start; }
.hero h1 { color: var(--ink); max-width: 17ch; }
.hero__sub { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 44ch; }
.hero__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero__stats { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule-strong); max-width: 470px; background: var(--paper); }
.hero__stat { padding: 14px 19px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero__stat:nth-child(2n) { border-right: 0; }
.hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
.hero__stat b { display: block; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--teal); }
.hero__stat span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }

/* the clearance card: what the end of a proper job looks like, on paper */
.hero__plan { position: relative; }
.gauge { border: 1px solid var(--rule-strong); background: var(--card); box-shadow: 0 1px 0 var(--rule); }
.gauge__read { padding: 22px 24px 18px; border-bottom: 1px solid var(--rule-strong); background: var(--teal); }
.gauge__label { display: block; font-family: var(--font-mono); font-size: .71rem; text-transform: uppercase; letter-spacing: .18em; color: var(--teal-tint); }
.gauge__fig { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 8px; }
.gauge__fig b { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7.4vw, 4.4rem); line-height: .9; letter-spacing: -.04em; color: var(--paper); }
.gauge__fig span { font-family: var(--font-mono); font-size: .79rem; font-weight: 500; text-transform: uppercase; letter-spacing: .09em; color: var(--teal-tint); }
.gauge__sub { margin-top: 12px; font-size: .89rem; line-height: 1.52; color: var(--teal-tint); }
.gauge__rows { list-style: none; }
.gauge__rows li { padding: 15px 24px 15px 50px; border-bottom: 1px solid var(--rule); position: relative; }
.gauge__rows li::before { content: ""; position: absolute; left: 22px; top: 17px; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }
.gauge__rows li:last-child { border-bottom: 0; }
.gauge__rows b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); }
.gauge__rows span { display: block; margin-top: 3px; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.gauge__foot { padding: 14px 24px 16px; border-top: 1px solid var(--rule-strong); background: var(--well); font-size: .81rem; line-height: 1.5; color: var(--ink-soft); }

/* inner-page hero: shorter, no card */
.hero--inner .hero__in { grid-template-columns: 1fr; padding: 58px 28px 62px; max-width: 900px; }
.hero--inner h1 { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.1rem); }

/* ---------------------------------------------------------- sections */
.sec { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.sec--alt { background: var(--paper2); }
/* the 58ch measure belongs to running text only; tables, the widgets and the
   card grids use the full column. */
.sec__body > p, .sec__body > ul, .sec__body > h3, .sec__body > .muted { max-width: 58ch; }
.sec__body h3 { margin-top: 2.1em; margin-bottom: .55em; }
.sec__body > :first-child { margin-top: 0; }
.sec__body p { color: var(--ink-soft); }
.sec__body ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.sec__body li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.sec__body li::before { content: ""; position: absolute; left: 0; top: .34em; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 0; margin-top: 32px; border: 1px solid var(--rule-strong); background: var(--card); }
.card { padding: 27px 24px 29px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.card__no { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--teal); letter-spacing: .08em; display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--teal); text-decoration: underline; }
.card p { font-size: .96rem; color: var(--ink-soft); }

/* link list */
.linklist { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.wrap > h3 { margin-top: 2.1em; }
.wrap > h2 + h3 { margin-top: 1.1em; }
.linklist a { display: inline-block; padding: 9px 15px; background: var(--card); border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: .92rem; font-weight: 500; }
.linklist a:hover { border-color: var(--teal); color: var(--teal); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--rule-strong); }
.step { counter-increment: step; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--rule); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 1.02rem; font-weight: 600; color: var(--teal); }
.step h3 { margin-bottom: 5px; font-size: 1.12rem; }
.step p { color: var(--ink-soft); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule-strong); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); }
th { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink); background: var(--well); }
td { color: var(--ink-soft); }
td:last-child { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -.012em; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-family: var(--font-mono); font-size: 1.25rem; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 40px 19px 0; color: var(--ink-soft); }

/* CTA band: the one teal flood on the site */
.cta { background: var(--teal); color: var(--paper); padding: 78px 0; border-bottom: 1px solid var(--teal-deep); }
.cta h2 { color: var(--paper); font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; letter-spacing: -.028em; max-width: 17ch; }
.cta p { margin-top: 14px; color: var(--teal-tint); max-width: 52ch; }
.cta__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 13px; }
.cta .btn { background: var(--paper); color: var(--teal-deep); border-color: var(--paper); }
.cta .btn:hover { background: #fff; color: var(--teal-deep); }
.cta .btn--ghost { background: transparent; color: var(--paper); border-color: #4c837d; }
.cta .btn--ghost:hover { background: var(--paper); color: var(--teal-deep); border-color: var(--paper); }

/* split heading */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; align-items: end; }
.split p { color: var(--ink-soft); }

/* ---------------------------------------------------------- the cost estimator: a worksheet */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule-strong); background: var(--card); margin-top: 32px; }
.est__controls { padding: 28px 26px; border-right: 1px solid var(--rule-strong); }
.est__out { padding: 28px 26px; background: var(--well); }
.est__legend { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 7px; display: block; }
.est__row { margin-bottom: 24px; }
.est__row:last-child { margin-bottom: 0; }
.est__val { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.est__val small { font-size: .8rem; font-weight: 500; color: var(--ink-faint); margin-left: 5px; }
input[type=range] { width: 100%; margin-top: 11px; accent-color: var(--teal); height: 28px; }
.est__hint { font-size: .86rem; color: var(--ink-faint); margin-top: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.chip { font-family: var(--font-head); font-size: .89rem; font-weight: 500; padding: 9px 14px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink-soft); cursor: pointer; }
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip[aria-pressed=true] { background: var(--teal); border-color: var(--teal); color: var(--paper); }
/* the figure: the one place a number is allowed to be large */
.est__range { font-family: var(--font-mono); font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--teal-deep); letter-spacing: -.02em; line-height: 1.15; padding-top: 10px; border-top: 2px solid var(--teal); margin-top: 2px; }
.est__note { font-size: .88rem; color: var(--ink-soft); margin-top: 13px; }
.est__drivers { list-style: none; margin-top: 18px; font-size: .92rem; }
.est__drivers li { padding-left: 30px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.est__drivers li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }

/* ---------------------------------------------------------- the rule check */
.hoa { border: 1px solid var(--rule-strong); background: var(--card); margin-top: 32px; padding: 28px 26px; }
/* the rule check sits in a full-width section, so its prose needs its own
   measure or the note under it renders at ~156 characters a line. */
.hoa > p, .hoa__out p, .hoa__out li { max-width: 56ch; }
.hoa__q { margin-bottom: 22px; border: 0; }
.hoa__q legend { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; letter-spacing: -.012em; margin-bottom: 8px; color: var(--ink); }
.hoa__q label { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; }
.hoa__q input { accent-color: var(--teal); width: 18px; height: 18px; }
.hoa__out { margin-top: 24px; padding: 24px; background: var(--paper2); border: 1px solid var(--rule-strong); border-left: 4px solid var(--teal); }
.hoa__out h3 { color: var(--ink); margin-bottom: 10px; }
.hoa__out p { color: var(--ink-soft); font-size: .97rem; }
.hoa__out ul { list-style: none; margin-top: 14px; margin-bottom: 14px; font-size: .94rem; }
.hoa__out li { padding-left: 30px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.hoa__out li::before { content: ""; position: absolute; left: 0; top: .26em; width: 18px; height: 18px; background-image: var(--mark); background-repeat: no-repeat; background-size: 18px 18px; }
.hoa__law { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--teal); text-transform: uppercase; display: block; margin-bottom: 8px; }

/* ---------------------------------------------------------- form */
.form-card { background: var(--card); border: 1px solid var(--rule-strong); padding: 27px 24px; }
.form-card h2 { font-size: 1.4rem; }
.form-card p { color: var(--ink-soft); }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-faint); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius);
}
.field input::placeholder, .field textarea::placeholder { color: #857c6c; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid rgba(11,87,80,.28); outline-offset: 0; }
.form-error { color: #8c2f22; font-weight: 600; font-size: .94rem; margin-bottom: 12px; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--paper2); color: var(--ink-soft); padding: 58px 0 0; font-size: .95rem; border-top: 1px solid var(--rule-strong); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 0; border: 1px solid var(--rule-strong); background: var(--card); }
.footer-grid > div { padding: 25px 22px; border-right: 1px solid var(--rule-strong); }
.footer-grid > div:last-child { border-right: 0; }
.site-footer h3 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--teal); margin-bottom: 14px; line-height: 1.4; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer p { color: var(--ink-soft); }
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule-strong); border-bottom: 0; background: var(--well); }
.titleblock div { padding: 12px 22px; border-right: 1px solid var(--rule-strong); }
.titleblock div:last-child { border-right: 0; }
.titleblock dt { font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-faint); }
.titleblock dd { font-family: var(--font-mono); font-size: .73rem; font-variant-numeric: tabular-nums; color: var(--ink); margin-top: 3px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--rule-strong); margin-top: 0; padding: 21px 0 94px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); letter-spacing: .02em; }

/* ---------------------------------------------------------- sticky phone bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; border-top: 1px solid var(--teal-deep); }
.sticky-cta a { flex: 1 1 0; text-align: center; padding: 16px 8px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; text-decoration: none; }
.sticky-cta__call { background: var(--teal); color: var(--paper); }
.sticky-cta__est { background: var(--card); color: var(--ink); border-left: 1px solid var(--rule-strong); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock div:nth-child(2n) { border-right: 0; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; display: none; }
  .nav__links.open { display: flex; }
  .nav__links > li > a { display: block; padding: 12px 28px; }
  .nav__links .nav__call { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; border: 0; padding: 0 0 6px 14px; min-width: 0; background: none; }
  .nav__end { display: flex; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 20ch; }
  .gauge { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .est { grid-template-columns: 1fr; }
  .est__controls { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(2n) { border-right: 0; }
  .footer-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule-strong); }
}
@media (max-width: 700px) {
  .wrap, .nav, .hero__in { padding-left: 18px; padding-right: 18px; }
  .sec { padding: 50px 0; }
  .hero__in { padding: 48px 18px 54px; }
  .hero h1 { max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__stats { max-width: 100%; }
  .gauge { max-width: 100%; }
  .gauge__read, .gauge__foot { padding-left: 20px; padding-right: 20px; }
  .gauge__rows li { padding-left: 46px; padding-right: 20px; }
  .gauge__rows li::before { left: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid > div:last-child { border-bottom: 0; }
  .sticky-cta { display: flex; }
}
@media (max-width: 560px) {
  /* the header keeps the mark, the name and the menu; the sticky bottom bar
     already carries Call now. */
  .nav__end .nav__call { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 480px) {
  .nav__logo { font-size: .93rem; }
  .nav__logo::before { width: 26px; height: 26px; }
  .hero__btns .btn { width: 100%; }
}
