/* =========================================================
   Weir Refrigeration Services LTD — stylesheet
   "Snowflake & Flame" design system. Mobile-first, WCAG 2.2 AA.
   Every colour pairing used here has been contrast-checked; only
   combine tokens as described in the comments.
   ========================================================= */

/* ---------- Self-hosted fonts (no Google Fonts CDN) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }
/* Metric-adjusted fallbacks reduce layout shift while fonts load */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 96%; descent-override: 24%; line-gap-override: 0%; }

:root {
  /* Colour tokens — contrast ratios noted (WCAG 2.x) */
  --navy:      #0b1b33;  /* hero, footer, headings, body text. White on it 17.23:1 */
  --navy-2:    #0f2a4a;  /* cards/strips on dark. White 14.48:1 */
  --blue:      #0b5cad;  /* links + secondary buttons on LIGHT only. 6.67:1 on white. Never on navy */
  --frost:     #38bdf8;  /* icons/highlights on DARK only. 8.04:1 on navy */
  --link-dark: #7cc4ff;  /* links on dark. 9.19:1 on navy */
  --ice:       #eaf4fb;  /* section background. Navy text 15.45:1 */
  --page:      #f4f8fb;  /* neutral page band. Navy text 16.14:1 */
  --white:     #ffffff;
  --flame:     #ff8a1f;  /* primary CTA fill ONLY, with navy label 7.31:1. Never white text */
  --flame-hover: #ffa04a;
  --flame-text:#c2410c;  /* orange text on light. 5.18:1 on white */
  --muted:     #475569;  /* secondary text on light. 7.58:1 on white */
  --muted-dark:#cbd5e1;  /* secondary text on dark. 11.61:1 on navy */
  --border:    #d3e2ef;
  --success:   #166534;
  --error:     #b42318;

  --font-head: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 10px 28px rgba(11, 27, 51, .09);
  --max: 1200px;
  --gutter: 16px;
  --bar-h: 72px; /* mobile call bar height (incl. padding) */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;                 /* sticky header never hides anchors/focus */
  scroll-padding-bottom: calc(var(--bar-h) + 16px); /* mobile call bar never hides focus (2.4.11) */
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  padding-bottom: var(--bar-h);
  font-feature-settings: "cv11", "ss01";
}
img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.45rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
p, li { max-width: 70ch; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 600; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.tnum { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-band :focus-visible { outline-color: var(--flame); }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }

/* Highlight for unfilled placeholders (added by main.js; vanishes once filled) */
.ph { background: #fff3c4; color: #5c4400; padding: 0 .25em; border-radius: 4px; font-size: .92em; }
.on-dark .ph, .hero .ph, .site-footer .ph, .cta-band .ph, .emergency .ph { background: #ffe8a3; color: #3d2d00; }

/* ---------- Buttons (min 48px tall: target size 2.5.8) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-flame { background: var(--flame); color: var(--navy); }          /* 7.31:1 */
.btn-flame:hover { background: var(--flame-hover); color: var(--navy); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: .8em 1.6em; }

/* ---------- Emergency strip ---------- */
.emergency { background: var(--navy-2); color: var(--muted-dark); font-size: .92rem; }
.emergency .container { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.emergency strong { color: var(--white); }
.emergency a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; }
.emergency a:hover { text-decoration: underline; }
.emergency svg { width: 16px; height: 16px; color: var(--flame); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); display: inline-block; margin-right: 6px; box-shadow: 0 0 0 0 rgba(255,138,31,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,138,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,31,0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(11,27,51,.08); }
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 72px; transition: min-height .2s; }
.site-header.is-scrolled .header-inner { min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; min-height: 44px; }
.brand img { width: 42px; height: 42px; }
.brand-text { font-family: var(--font-head); font-weight: 800; line-height: 1.05; font-size: 1.05rem; }
.brand-text small { display: block; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--flame-text); margin-top: 3px; }
.header-phone { display: none; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1.1; min-height: 44px; justify-content: center; }
.header-phone span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.header-phone strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 48px; height: 48px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--white); color: var(--navy); cursor: pointer; font: 600 .9rem var(--font-body);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow-y: auto; }
.site-nav.is-open { display: block; }
.no-js .site-nav { display: block; position: static; box-shadow: none; }
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.site-nav li { max-width: none; }
.site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 8px; text-decoration: none; font-family: var(--font-head); font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--ice); }
.site-nav a[aria-current="page"], .site-nav a.is-section { color: var(--blue); }
.site-nav .nav-cta { padding-top: 14px; }
.site-nav .nav-cta a { border: 0; justify-content: center; }

@media (min-width: 1100px) {
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; box-shadow: none; border: 0; background: transparent; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; padding: 0; }
  .site-nav a { border: 0; min-height: 44px; padding: 0 10px; border-radius: var(--radius-sm); font-size: .94rem; }
  .site-nav a:hover { background: var(--ice); }
  .site-nav a[aria-current="page"], .site-nav a.is-section { background: var(--ice); }
  .site-nav .nav-cta { display: none; }
  .header-phone { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; color: var(--muted-dark); }
.breadcrumbs li { max-width: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .7; }
.breadcrumbs a { color: var(--link-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--muted-dark); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,27,51,.97) 0%, rgba(11,27,51,.92) 45%, rgba(11,27,51,.72) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .06; background: url("../img/frost.svg") 0 0 / 220px; }
.hero .container { position: relative; z-index: 2; padding-top: 52px; padding-bottom: 60px; }
.hero h1 { color: var(--white); max-width: 22ch; }
.hero .lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted-dark); max-width: 58ch; }
.hero .lead strong { color: var(--white); }
.hero .eyebrow { color: var(--frost); }
.hero-micro { font-size: .95rem; color: var(--muted-dark); margin-top: 14px; }
.hero-micro strong { color: var(--white); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .hero .container { padding-top: 88px; padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1.55fr 1fr; }
}
.callout-card { background: rgba(15,42,74,.88); border: 1px solid rgba(124,196,255,.25); border-radius: var(--radius); padding: 24px; color: var(--muted-dark); }
.callout-card h2 { color: var(--white); font-size: 1.25rem; }
.callout-card .big-phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.3rem); color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; margin: 4px 0 10px; }
.callout-card .big-phone:hover { color: var(--link-dark); }
.callout-card p { margin: 0 0 6px; }
.page-hero .container { padding-top: 40px; padding-bottom: 48px; }
@media (min-width: 960px) { .page-hero .container { padding-top: 56px; padding-bottom: 64px; } }
.page-hero h1 { max-width: 26ch; }

.eyebrow { display: inline-block; font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--page); border-bottom: 1px solid var(--border); }
.trust ul { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .94rem; line-height: 1.3; }
.trust svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .trust ul { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-ice { background: var(--ice); }
.section-page { background: var(--page); }
.section-dark { background: var(--navy); color: var(--muted-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--link-dark); }
.section-dark .eyebrow { color: var(--frost); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--muted-dark); }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .section { padding: 88px 0; } }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 36px; align-items: center; }
.split.top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } .split.reverse > :first-child { order: 2; } .split.wide-left { grid-template-columns: 1.4fr 1fr; } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b5cde3; }
.card p { color: var(--muted); }
.card h2 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
.card h3 a, .card h2 a { color: var(--navy); text-decoration: none; }
.card h3 a::after, .card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.card h3 a:focus-visible, .card h2 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible), .card:has(h2 a:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.card .more { margin-top: auto; font-weight: 600; color: var(--blue); }
.card .more::after { content: " →"; }
.icon-badge { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); color: var(--blue); margin-bottom: 16px; flex: none; }
.icon-badge svg { width: 26px; height: 26px; }
.section-dark .card, .card-dark { background: var(--navy-2); border-color: rgba(124,196,255,.18); }
.section-dark .card p { color: var(--muted-dark); }
.section-dark .card h3 a, .section-dark .card h2 a { color: var(--white); }
.section-dark .icon-badge { background: rgba(56,189,248,.12); color: var(--frost); }

.photo-card { padding: 0; overflow: hidden; }
.photo-card picture, .photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--ice); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; align-self: flex-start; }

.photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tall { aspect-ratio: 3 / 4; }
.photo-ph { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--ice); border: 2px dashed #9fc1e0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--navy); font-weight: 600; }
.photo-ph svg { width: 44px; height: 44px; margin: 0 auto 8px; color: var(--blue); }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.section-dark .checklist svg { color: var(--frost); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 18px; height: 18px; color: var(--blue); }
.center .chips { justify-content: center; }

/* ---------- Steps ("what happens when you call") ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px 22px; max-width: none; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 1.05rem var(--font-head); margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Tier table ---------- */
.tiers { display: grid; gap: 20px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.tier .badge { align-self: flex-start; font: 500 .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--navy); color: var(--white); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.tier h3 { font-size: 1.4rem; }
.tier .price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.tier .checklist { margin-bottom: 20px; }
.tier .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.compare caption { text-align: left; padding: 16px 18px 0; font-weight: 600; color: var(--muted); }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-head); font-size: 1.05rem; background: var(--page); }
.compare tbody th { font-weight: 600; width: 32%; }
.compare tr:last-child > * { border-bottom: 0; }

/* ---------- Owner block ---------- */
.owner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .owner { grid-template-columns: 380px 1fr; gap: 56px; } }
.owner blockquote { margin: 0 0 18px; font: 700 clamp(1.25rem, 1.1rem + .8vw, 1.6rem)/1.35 var(--font-head); color: var(--navy); }
.section-dark .owner blockquote { color: var(--white); }

/* ---------- Content (prose) ---------- */
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--page); }
.note { background: var(--ice); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1.4em; }
.note p:last-child { margin-bottom: 0; }
.layout-aside { display: grid; gap: 40px; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; } .layout-aside aside { position: sticky; top: 96px; } }
.aside-card { background: var(--navy); color: var(--muted-dark); border-radius: var(--radius); padding: 24px; }
.aside-card h2 { color: var(--white); font-size: 1.25rem; }
.aside-card a:not(.btn) { color: var(--link-dark); }
.aside-card .big-phone { display: block; font: 800 1.6rem var(--font-head); color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; margin: 4px 0 14px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--border); }
.link-list a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-list a::after { content: "→"; margin-left: auto; }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0 0 1.6em; }
.facts div { background: var(--page); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.facts dt { font: 500 .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0 0 1.6em; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 14px 0; font: 700 1.06rem var(--font-head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--muted-dark); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .05; background: url("../img/frost.svg") 0 0 / 200px; pointer-events: none; }
.cta-band .container { position: relative; display: grid; gap: 24px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr auto; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-steps-indicator { display: none; list-style: none; padding: 0; margin: 0 0 22px; gap: 8px; counter-reset: fs; }
.js .form-steps-indicator { display: flex; }
.form-steps-indicator li { flex: 1; counter-increment: fs; font: 500 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: 4px solid var(--border); padding-top: 8px; max-width: none; }
.form-steps-indicator li.is-active, .form-steps-indicator li.is-done { color: var(--navy); border-color: var(--navy); }
.form-step { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.form-step > legend { font: 800 1.2rem var(--font-head); color: var(--navy); margin-bottom: 14px; padding: 0; }
.js .form-step[hidden] { display: none; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--navy); background: var(--white);
  border: 1.5px solid #6b8299; border-radius: var(--radius-sm);  /* 3:1 border contrast */
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field input[type=file] { padding: 10px; }
.hint { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.error-msg { color: var(--error); font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.error-msg:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } .choice-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #6b8299; border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; min-height: 48px; font-weight: 600; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.choice small { display: block; font-weight: 400; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--navy); background: var(--ice); box-shadow: inset 0 0 0 1px var(--navy); }
.choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.breakdown-alert { background: #fff4e8; border: 2px solid var(--flame); border-radius: var(--radius-sm); padding: 16px 18px; margin: 16px 0 0; }
.breakdown-alert p { margin: 0 0 10px; font-weight: 600; }
.js .breakdown-alert[hidden] { display: none; }
.form-nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.js .form-nav .btn-next[hidden], .js .form-nav .btn-back[hidden], .js .form-nav [type=submit][hidden] { display: none; }
.error-summary { border: 2px solid var(--error); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; background: #fef3f2; }
.error-summary[hidden] { display: none; }
.error-summary h2 { font-size: 1.05rem; color: var(--error); margin-bottom: 6px; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 16px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fef3f2; color: var(--error); border: 1px solid #f5c2bd; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 46px; height: 46px; }
.contact-list strong { display: block; font-family: var(--font-head); }
.contact-list a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-dark); padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: var(--link-dark); text-decoration: none; display: inline-flex; min-height: 28px; align-items: center; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: var(--white); font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand .brand-text small { color: var(--flame); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-phone { font: 800 1.35rem var(--font-head); color: var(--white) !important; font-variant-numeric: tabular-nums; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; font-size: .86rem; display: grid; gap: 10px; }
.footer-legal p { margin: 0; max-width: none; }
.footer-legal ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 44px; height: 44px; border-radius: 50%; justify-content: center; background: rgba(255,255,255,.08); }
.social svg { width: 20px; height: 20px; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(11,27,51,.1); }
.mobile-bar .btn { width: 100%; padding: .6em .8em; min-height: 52px; }
@media (min-width: 1100px) { .mobile-bar { display: none; } }

/* ---------- 404 ---------- */
.notfound .code { font: 800 clamp(4rem, 14vw, 8rem)/1 var(--font-head); color: var(--frost); margin: 0 0 10px; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media print {
  .emergency, .site-header, .mobile-bar, .cta-band, .site-footer .social { display: none !important; }
  body { padding: 0; }
  .hero, .section-dark { background: none !important; color: #000 !important; }
  .hero h1 { color: #000; }
}

/* ---------- Utilities / no-JS fallbacks ---------- */
.justify-center { justify-content: center; }
.no-js .js-only, .no-js .nav-toggle { display: none !important; }
.layout-aside aside > h2 { font-size: 1.1rem; }
.prose .card h3 { margin-top: 0; }
