/* ------------------------------------------------------------------
   CG Insulation — styles.css (emitted by build-cg-site.mjs, do not edit
   by hand: rebuild instead).

   PALETTE — a "thermal" scheme, which is the brand idea: warm on the
   outside, cool and steady on the inside. Nothing was sampled from a
   logo because the client has no logo and no photos on their Google
   profile; the mark and palette are ours.

   BUTTON CONTRACT — this is where invisible-button bugs come from, so
   it is written down:
     .btn.primary  amber fill, dark text   → safe on dark AND light
     .btn.ghost    transparent, cream text → DARK backgrounds only
     .btn.ink      solid ink, cream text   → LIGHT backgrounds only
   Sections are .dark / .band / .cta-band (dark ground) or .light (cream
   ground). A ghost button inside .light is a bug.
   ------------------------------------------------------------------ */

:root {
  --ink: #0E1526;
  --ink-2: #131C33;
  --panel: #1C2843;
  --panel-2: #243352;
  --line: rgba(247, 244, 237, 0.14);
  --cream: #F7F4ED;
  --cream-2: #EFEADF;
  --muted: #97A7C4;
  --muted-ink: #55617A;
  --flame: #F5A524;
  --flame-2: #FF7A3D;
  --cool: #5AC8DE;
  --cool-2: #2E7F97;
  --wrap: 1180px;
  --r: 16px;
  --shadow: 0 22px 60px rgba(6, 11, 24, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  /* Long compound words in city names / headings must not overflow. */
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.98rem, 4.5vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.4rem); font-weight: 780; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.012em; }
p { margin: 0 0 1.05em; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--flame); color: #17120A; padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip:focus { left: 0; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.17em; font-size: 0.735rem; font-weight: 800;
  color: var(--flame); margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

.kw {
  color: var(--flame);
  /* marker-swash highlight behind the key phrase */
  background: linear-gradient(180deg, transparent 62%, rgba(245, 165, 36, 0.22) 62%);
  padding: 0 0.08em;
}

.lede { font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section-lede { font-size: 1.05rem; color: var(--muted); max-width: 66ch; }
.section-lede.center { margin-left: auto; margin-right: auto; }
.fine { font-size: 0.86rem; color: var(--muted); }

/* ---------------------------- BUTTONS ---------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-weight: 750; font-size: 0.985rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--cool); outline-offset: 3px; }

.btn.primary {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-2) 100%);
  color: #1A1206; box-shadow: 0 12px 28px rgba(245, 165, 36, 0.26);
}
.btn.primary:hover { box-shadow: 0 16px 34px rgba(245, 165, 36, 0.34); }

/* DARK backgrounds only. */
.btn.ghost { border-color: rgba(247, 244, 237, 0.42); color: var(--cream); background: transparent; }
.btn.ghost:hover { border-color: var(--cream); background: rgba(247, 244, 237, 0.09); }

/* LIGHT backgrounds only. */
.btn.ink { background: var(--ink); color: var(--cream); }
.btn.ink:hover { background: var(--panel); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn-row.tight { margin-top: 16px; }
.btn-row.center-row { justify-content: center; }

/* ---------------------------- HEADER ---------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(14, 21, 38, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.04; }
.brand-text strong { font-size: 1.19rem; font-weight: 850; letter-spacing: 0.01em; color: var(--cream); }
.brand-text em {
  font-style: normal; font-size: 0.665rem; font-weight: 750;
  letter-spacing: 0.235em; text-transform: uppercase; color: var(--flame);
}
.brand-text.ink strong { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 620; color: var(--cream);
  opacity: 0.86; padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { opacity: 1; border-bottom-color: var(--flame); }
.site-nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--flame); }
.site-nav .nav-cta {
  border: 2px solid var(--flame); color: var(--flame); border-radius: 999px;
  padding: 9px 17px; opacity: 1; font-weight: 780;
}
.site-nav .nav-cta:hover { background: var(--flame); color: #1A1206; border-bottom-color: var(--flame); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 11px; cursor: pointer; min-height: 48px; min-width: 48px; align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px 22px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 2px solid var(--flame); }
}

/* ---------------------------- SECTIONS ---------------------------- */

.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section.dark { background: var(--ink); color: var(--cream); }
.section.light { background: var(--cream); color: var(--ink); }
.section.light .eyebrow { color: var(--cool-2); }
.section.light .lede,
.section.light .section-lede,
.section.light .fine { color: var(--muted-ink); }
.section.light h1, .section.light h2, .section.light h3 { color: var(--ink); }
.section.light p { color: #313B52; }
/* Body links on cream get an underline — but card-shaped links (.card, .pill,
   .door, .btn) are blocks, not prose, and underlining them looks broken. */
.section.light a:not(.btn):not(.pill):not(.card):not(.door) { color: var(--cool-2); text-decoration: underline; text-underline-offset: 3px; }

.section.band { background: var(--panel); color: var(--cream); }
.section.cta-band { background: linear-gradient(140deg, var(--panel-2) 0%, var(--ink) 72%); color: var(--cream); }

.split { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px, 5vw, 62px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------------------------- HERO ---------------------------- */

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 560px at 78% -10%, rgba(245, 165, 36, 0.16), transparent 62%),
              radial-gradient(900px 520px at 8% 106%, rgba(90, 200, 222, 0.13), transparent 60%),
              var(--ink);
  padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(30px, 5vw, 60px); align-items: center; position: relative; z-index: 2; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

.hero-copy h1 { margin-bottom: 18px; }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.hero-points .icon { color: var(--cool); flex: 0 0 auto; margin-top: 2px; }

.hero-visual { display: flex; justify-content: center; }
.wall-svg { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 26px 50px rgba(5, 10, 22, 0.5)); }

/* Thermal band — animated warm-to-cool wash. Purely decorative. */
.thermal { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.thermal .th {
  position: absolute; left: -20%; right: -20%; height: 46%;
  filter: blur(58px); opacity: 0.5;
  background: linear-gradient(90deg, rgba(255, 122, 61, 0.55), rgba(245, 165, 36, 0.4) 42%, rgba(90, 200, 222, 0.4) 78%, transparent);
  animation: drift 17s ease-in-out infinite alternate;
}
.thermal .th2 { top: 34%; animation-duration: 23s; animation-direction: alternate-reverse; opacity: 0.34; }
.thermal .th3 { top: 62%; animation-duration: 29s; opacity: 0.24; }
.thermal.subtle .th { opacity: 0.26; }
.thermal.subtle .th2 { opacity: 0.18; }
.thermal.subtle .th3 { opacity: 0.12; }
@keyframes drift {
  from { transform: translate3d(-6%, 0, 0) skewY(-1.6deg); }
  to { transform: translate3d(6%, 3%, 0) skewY(1.6deg); }
}
@media (prefers-reduced-motion: reduce) { .thermal .th { animation: none; } }

.heat { animation: shimmer 4.4s ease-in-out infinite alternate; transform-origin: center; }
@keyframes shimmer { from { opacity: 0.55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .heat { animation: none; } }

.subhero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.subhero .wrap { position: relative; z-index: 2; }

/* ---------------------------- DOORS (two audiences) ---------------------------- */

.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 38px; }
.door {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--ink); color: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 28px 26px; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(245, 165, 36, 0.5); }
.door-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 14px;
  background: rgba(245, 165, 36, 0.14); color: var(--flame);
}
.door-icon .icon { width: 26px; height: 26px; }
.door-kicker {
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.7rem; font-weight: 800;
  color: var(--cool); margin: 0 0 8px;
}
.door h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: 10px; }
.door p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.door-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--flame); font-weight: 750; font-size: 0.95rem; }
.door-cta .icon { width: 19px; height: 19px; }
/* On a cream section the doors stay dark cards — deliberate, they are the
   primary action on the page and the contrast is the point. */
.section.light .doors .door h3,
.section.light .doors .door-cta { color: inherit; }
.section.light .doors .door h3 { color: var(--cream); }
.section.light .doors .door-cta { color: var(--flame); }
.section.light .doors .door p { color: var(--muted); }
.section.light .doors .door a { color: var(--cream); }
.contact-doors { margin-top: 34px; }

/* ---------------------------- CARDS ---------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 20px; margin-top: 36px; }
.card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; text-decoration: none; color: var(--cream);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(90, 200, 222, 0.45); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 15px;
  background: rgba(90, 200, 222, 0.15); color: var(--cool);
}
/* min-height reserves the second line so h3 baselines line up across the grid
   even when one eyebrow wraps and its neighbours do not. */
.card-eyebrow { text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.69rem; font-weight: 800; color: var(--flame); margin: 0 0 7px; min-height: 2.2em; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.945rem; margin-bottom: 14px; }
.card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--cool); font-weight: 720; font-size: 0.92rem; }
.card-cta .icon { width: 18px; height: 18px; }

.card-light { background: #FFFFFF; border-color: rgba(14, 21, 38, 0.1); color: var(--ink); box-shadow: 0 3px 14px rgba(14, 21, 38, 0.05); }
.card-light:hover { border-color: rgba(46, 127, 151, 0.42); box-shadow: 0 18px 40px rgba(14, 21, 38, 0.12); }
.card-light .card-icon { background: rgba(46, 127, 151, 0.12); color: var(--cool-2); }
.card-light .card-eyebrow { color: #B7761A; }
.card-light h3 { color: var(--ink); }
.card-light p { color: #3C465C; }
.card-light .card-cta { color: var(--cool-2); }
.section.light a.card-light { text-decoration: none; }

/* ---------------------------- VALUE / STEPS / STATS ---------------------------- */

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 22px; margin-top: 36px; }
.value { background: rgba(247, 244, 237, 0.05); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.value-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 13px;
  background: rgba(245, 165, 36, 0.16); color: var(--flame);
}
.value h3 { margin-bottom: 8px; color: var(--cream); }
.value p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; margin-top: 38px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--flame), var(--flame-2)); color: #1A1206;
  font-weight: 850; font-size: 1.02rem;
}
.step h3 { color: var(--cream); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.stat-stack { display: grid; gap: 16px; }
.stat { background: #FFFFFF; border: 1px solid rgba(14, 21, 38, 0.1); border-radius: var(--r); padding: 22px 24px; box-shadow: 0 3px 14px rgba(14, 21, 38, 0.05); }
.stat-big { font-size: 2.1rem; font-weight: 850; color: var(--ink); margin: 0; line-height: 1; letter-spacing: -0.03em; }
.stat-small { text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.7rem; font-weight: 800; color: #B7761A; margin: 8px 0 8px; }
.stat-note { font-size: 0.9rem; color: #3C465C; margin: 0; }

/* ---------------------------- SYMPTOMS / PARTNERS ---------------------------- */

.sym-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 20px; margin-top: 36px; }
.sym { background: #FFFFFF; border: 1px solid rgba(14, 21, 38, 0.1); border-left: 4px solid var(--flame); border-radius: 12px; padding: 22px 22px; }
.sym h3 { color: var(--ink); margin-bottom: 8px; }
.sym p { color: #3C465C; font-size: 0.94rem; margin: 0; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; margin-top: 36px; }
.partner { background: #FFFFFF; border: 1px solid rgba(14, 21, 38, 0.1); border-radius: 12px; padding: 22px 22px; }
.partner-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px;
  background: rgba(46, 127, 151, 0.12); color: var(--cool-2);
}
.partner h3 { color: var(--ink); margin-bottom: 7px; }
.partner p { color: #3C465C; font-size: 0.93rem; margin: 0; }

/* ---------------------------- LISTS / NOTE CARDS ---------------------------- */

.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; }
.ticks .icon { color: var(--cool); flex: 0 0 auto; margin-top: 3px; }
.section.light .ticks .icon { color: var(--cool-2); }

.note-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.note-card h3 { color: var(--cream); margin-bottom: 15px; }
.note-card p { color: var(--muted); }
.note-card.light-note { background: #FFFFFF; border-color: rgba(14, 21, 38, 0.1); box-shadow: 0 3px 14px rgba(14, 21, 38, 0.05); }
.note-card.light-note h3 { color: var(--ink); }
.note-card.light-note p { color: #3C465C; }

.facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(14, 21, 38, 0.09); font-size: 0.95rem; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted-ink); }
.facts strong { text-align: right; }
.note-card:not(.light-note) .facts li { border-bottom-color: var(--line); }
.note-card:not(.light-note) .facts span { color: var(--muted); }
.note-card:not(.light-note) .facts strong { color: var(--cream); }

/* ---------------------------- PILLS / COUNTIES ---------------------------- */

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; text-decoration: none;
  background: rgba(247, 244, 237, 0.07); border: 1px solid var(--line);
  color: var(--cream); border-radius: 999px; padding: 10px 17px; font-size: 0.92rem; font-weight: 640;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.pill span { opacity: 0.55; font-weight: 500; }
.pill:hover { background: rgba(245, 165, 36, 0.15); border-color: rgba(245, 165, 36, 0.5); transform: translateY(-2px); }

.light-pills .pill { background: #FFFFFF; border-color: rgba(14, 21, 38, 0.12); color: var(--ink); }
.light-pills .pill:hover { background: rgba(245, 165, 36, 0.16); border-color: rgba(183, 118, 26, 0.5); }
.section.light .light-pills .pill { text-decoration: none; }

.county-list { display: grid; gap: 14px; margin-top: 34px; }
.county { background: #FFFFFF; border: 1px solid rgba(14, 21, 38, 0.11); border-radius: 14px; overflow: hidden; }
.county > summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-weight: 760; color: var(--ink); font-size: 1.03rem;
}
.county > summary::-webkit-details-marker { display: none; }
.county > summary::after {
  content: ''; width: 10px; height: 10px; flex: 0 0 auto;
  border-right: 2.4px solid var(--cool-2); border-bottom: 2.4px solid var(--cool-2);
  transform: rotate(45deg); transition: transform 0.18s ease; margin-left: auto;
}
.county[open] > summary::after { transform: rotate(-135deg); }
.county-name { flex: 1 1 auto; }
.county-count {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  color: #B7761A; background: rgba(245, 165, 36, 0.14); border-radius: 999px; padding: 5px 11px; flex: 0 0 auto;
}
.county .pills { margin: 0; padding: 0 22px 22px; }

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

.faqs { display: grid; gap: 12px; margin-top: 32px; }
.faq { background: #FFFFFF; border: 1px solid rgba(14, 21, 38, 0.11); border-radius: 13px; overflow: hidden; }
.faq > summary {
  cursor: pointer; list-style: none; padding: 19px 54px 19px 22px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.0rem; line-height: 1.45;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: ''; position: absolute; right: 22px; top: 24px;
  width: 10px; height: 10px;
  border-right: 2.4px solid var(--cool-2); border-bottom: 2.4px solid var(--cool-2);
  transform: rotate(45deg); transition: transform 0.18s ease;
}
.faq[open] > summary::after { transform: rotate(-135deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { margin: 0; color: #3C465C; font-size: 0.97rem; }

/* ---------------------------- CONTACT ---------------------------- */

/* Explicit colours here on purpose: a previous build shipped an
   invisible estimate card because .contact-hero p inherited a light
   colour on a light card. Every text colour in this block is stated. */
.contact-hero { padding-top: clamp(46px, 6vw, 84px); }
.contact-hero h1 { color: var(--cream); }
.contact-hero > .wrap > .section-lede { color: var(--muted); }

/* stretch, not start: an unequal pair of cards leaves an obvious dead gap */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 22px; margin-top: 40px; align-items: stretch; }
.contact-card { display: flex; flex-direction: column; }
.form-card .form-placeholder { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; }
.contact-card h2 { font-size: 1.32rem; color: var(--cream); margin-bottom: 12px; }
.contact-card p { color: var(--muted); }
.contact-big { font-size: clamp(1.5rem, 3.6vw, 2.05rem); font-weight: 850; letter-spacing: -0.03em; margin: 0 0 6px; }
.contact-big a { color: var(--flame); text-decoration: none; }
.contact-big a:hover { text-decoration: underline; }
.contact-facts { margin-top: 22px; }
.contact-card .fine { color: var(--muted); }
.contact-card .fine a { color: var(--cool); }

.form-card { background: #FFFFFF; border-color: rgba(14, 21, 38, 0.1); }
.form-card h2 { color: var(--ink); }
.form-card p { color: #3C465C; }
.form-placeholder {
  border: 2px dashed rgba(14, 21, 38, 0.2); border-radius: 13px;
  padding: 30px 24px; text-align: center; background: #FAF8F3; margin-top: 18px;
}
.form-placeholder p { color: #3C465C; margin: 0 0 8px; }
.form-placeholder p:last-child { margin-bottom: 0; }
.form-placeholder strong { color: var(--ink); }

/* ---------------------------- LEGAL ---------------------------- */

.legal h2 { font-size: 1.28rem; margin-top: 38px; }
.legal h2:first-child { margin-top: 0; }
.legal .ticks { margin-bottom: 18px; }

/* ---------------------------- FOOTER ---------------------------- */

.site-footer { background: #0A1020; border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 74px) 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); font-size: 0.94rem; max-width: 40ch; margin-top: 16px; }
.footer-phone { font-size: 1.18rem; font-weight: 800; margin: 6px 0 8px; }
.footer-phone a { color: var(--flame); text-decoration: none; }
.footer-phone a:hover { text-decoration: underline; }
.footer-col h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--flame); margin-bottom: 15px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: var(--cream); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
}
.footer-base p { color: var(--muted); font-size: 0.85rem; margin: 0; }
.footer-base a { color: var(--muted); }

/* ---------------------------- STICKY CTA ---------------------------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 10px; padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(14, 21, 38, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform 0.22s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1 1 auto; padding: 13px 16px; font-size: 0.93rem; }
.sticky-cta .btn.ghost { flex: 0 0 96px; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 0; }
}

/* ---------------------------- REVEAL ---------------------------- */

/* Visible by default; only hidden when JS is confirmed running. */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------- SMALL SCREENS ---------------------------- */

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .section { padding: 52px 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .sticky-cta .btn { width: auto; }
  .facts li { flex-direction: column; gap: 2px; }
  .facts strong { text-align: left; }
}
