/* Huber Plumbing & Heating homepage demo
   Design system: design-system/huber-plumbing-heating/MASTER.md (UI UX Pro Max) */

:root {
  --navy-950: #0B1424;
  --navy-900: #0F1B2D;
  --navy-800: #1A2A44;
  --navy-700: #2A3D5C;
  --gold: #F5C518;
  --gold-strong: #E0AE00;
  --gold-soft: #FFF6D1;
  --red: #C8102E;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --soft: #EEF2F6;
  --fg: #0F172A;
  --muted-fg: #475569;
  --on-dark-muted: #B6C2D4;
  --line: #E2E8F0;

  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --header-h: 76px;
  --container: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 160ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.section--soft :focus-visible, .section:not(.section--dark) :focus-visible { outline-color: var(--navy-950); }
.section--dark :focus-visible, .footer :focus-visible, .site-header :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; transition: top var(--fast) var(--ease); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.ico { width: 20px; height: 20px; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.ico--gold { color: var(--gold); }

/* Placeholder marker: anything the owner still has to confirm */
.ph {
  display: inline;
  padding: 1px 6px;
  border-radius: 4px;
  background: repeating-linear-gradient(-45deg, #FFF3B0 0 8px, #FFE680 8px 16px);
  color: #3A2E00;
  font-weight: 600;
  font-size: .92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  text-wrap: balance;
}
.display--h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: 18px; }
.eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--dark { color: var(--navy-950); }
.lead { font-size: 1.1875rem; color: var(--muted-fg); margin-bottom: 14px; }
.section--dark .lead { color: var(--on-dark-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font: 700 1rem/1.1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; white-space: nowrap; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-strong); }
.btn--dark { background: var(--navy-950); color: #fff; }
.btn--dark:hover { background: var(--navy-800); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-950); border-color: #fff; }
.btn--outline { border-color: var(--navy-950); color: var(--navy-950); }
.btn--outline:hover { background: var(--navy-950); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.btn-row--center { justify-content: center; margin-top: 40px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--navy-950); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--gold);
  transition: text-decoration-color var(--fast) var(--ease);
}
.text-link:hover { text-decoration-color: var(--navy-950); }
.text-link--light { color: #fff; }
.text-link--light:hover { text-decoration-color: #fff; }

/* Demo ribbon + utility bar */
.demo-ribbon { background: var(--gold-soft); color: #3A2E00; font-size: .875rem; padding: 6px 0; border-bottom: 1px solid #F0DC8A; }
.utility { background: var(--navy-950); color: var(--on-dark-muted); font-size: .875rem; border-bottom: 1px solid var(--navy-800); }
.utility__row { display: flex; align-items: center; gap: 8px 28px; min-height: 40px; flex-wrap: wrap; }
.utility__item { display: inline-flex; align-items: center; gap: 8px; }
.utility__item .ico { width: 16px; height: 16px; color: var(--gold); }
.utility__links { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.utility__links a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.utility__links a:hover { color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-950); color: #fff; height: var(--header-h); border-bottom: 1px solid var(--navy-800); }
.site-header__row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; background: #fff; border-radius: 8px; padding: 4px 10px; }
.brand img { width: 132px; height: auto; aspect-ratio: 1376 / 513; }
.nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  background: none; border: 0; color: #fff; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; border-radius: var(--radius-sm); white-space: nowrap;
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.nav__link:hover, .nav__trigger[aria-expanded="true"] { color: var(--gold); }
.nav__trigger .ico { transition: transform var(--fast) var(--ease); }
.nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -12px; z-index: 60;
  display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 8px 28px;
  width: max-content; padding: 24px 28px;
  background: var(--surface); color: var(--fg); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(11, 20, 36, .22);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility 0s linear var(--fast);
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.mega a { display: flex; align-items: center; gap: 6px; min-height: 40px; color: var(--fg); text-decoration: none; font-weight: 600; }
.mega a:hover { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mega__all { color: var(--navy-950) !important; margin-top: 4px; }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.125rem; white-space: nowrap; min-height: 44px; }
.header-phone .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--navy-800); color: var(--gold); }
.header-phone small { display: block; font-size: .75rem; font-weight: 600; color: var(--on-dark-muted); letter-spacing: .04em; line-height: 1.1; }
.header-phone:hover span { color: var(--gold); }

.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm); background: var(--navy-800); color: #fff; cursor: pointer; place-items: center; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Photo tag for temporary stock images */
.photo-tag { position: absolute; z-index: 3; right: 12px; top: 12px; padding: 3px 8px; border-radius: 4px; background: rgba(11, 20, 36, .78); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .03em; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,20,36,.94) 0%, rgba(11,20,36,.82) 42%, rgba(11,20,36,.35) 100%); }
.hero__inner { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__copy { max-width: 700px; }
.hero h1 { margin-bottom: 22px; }
.hero__lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: #DCE3EE; max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(11, 20, 36, .7); border: 1px solid var(--navy-700); font-size: .9375rem; color: #E5EAF2; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark-muted); flex: none; }
.status[data-state="open"] .status__dot { background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.status[data-state="lunch"] .status__dot { background: var(--gold); }
.status[data-state="closed"] .status__dot { background: #F87171; }

.trustbar { background: rgba(11, 20, 36, .92); border-top: 1px solid var(--navy-800); }
.trustbar__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar li { display: flex; align-items: center; gap: 14px; padding: 20px 18px; border-left: 1px solid var(--navy-800); }
.trustbar li:first-child { border-left: 0; padding-left: 0; }
.trustbar .ico { width: 28px; height: 28px; color: var(--gold); }
.trustbar strong { display: block; font-size: 1.0625rem; color: #fff; }
.trustbar span { font-size: .875rem; color: var(--on-dark-muted); line-height: 1.35; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy-950); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted-fg); }
.section--dark .section-head p:not(.eyebrow) { color: var(--on-dark-muted); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Intro + emblem */
.intro { background: var(--surface); }
.intro__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.intro p + p { margin-top: 6px; }
.emblem { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.emblem__ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--line); }
.emblem__ring:nth-child(1) { inset: 0; }
.emblem__ring:nth-child(2) { inset: 12%; border-color: #D3DBE6; }
.emblem__ring:nth-child(3) { inset: 24%; border-color: #C3CEDC; border-style: dashed; }
.emblem__core { position: relative; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--navy-950); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--soft); }
.emblem__core svg { width: 48%; height: 48%; color: var(--gold); }
.emblem__chip { position: absolute; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
.emblem__chip--a { top: 14%; left: 2%; }
.emblem__chip--b { bottom: 14%; right: 2%; background: var(--navy-950); color: #fff; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px 22px 22px; border-radius: var(--radius);
  background: var(--navy-900); border: 1px solid var(--navy-800);
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.svc:hover { border-color: var(--gold); }
.svc__icon { width: 44px; height: 44px; padding: 9px; border-radius: var(--radius-sm); background: var(--navy-800); color: var(--gold); }
.svc h3 { font-size: 1.1875rem; line-height: 1.25; color: #fff; margin-top: 6px; }
.svc p { font-size: .9688rem; color: var(--on-dark-muted); flex: 1; }
.svc__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; color: var(--gold); font-weight: 700; text-decoration: none; }
.svc__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.svc__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc--feature { background: var(--gold); border-color: var(--gold); }
.svc--feature .svc__icon { background: var(--navy-950); }
.svc--feature h3, .svc--feature .svc__link { color: var(--navy-950); }
.svc--feature p { color: #3B2F00; }
.svc--feature:hover { border-color: #fff; }

/* Heating band */
.heating { background: var(--surface); }
.heating__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.heating__media { position: relative; margin: 0; }
.heating__media img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius); }
.heating__badge { position: absolute; left: -18px; bottom: 28px; max-width: 220px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--gold); color: var(--navy-950); font-size: 1rem; line-height: 1.35; }
.heating__badge strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; }
.checks { display: grid; gap: 10px; margin: 22px 0 28px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.checks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--navy-950); color: var(--gold); margin-top: 1px; }
.checks--dark .ico { background: var(--navy-950); color: var(--gold); }

/* Split paths */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.path h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 16px 0 12px; }
.path p { color: var(--muted-fg); }
.path__icon { width: 52px; height: 52px; padding: 11px; border-radius: var(--radius-sm); background: var(--gold); color: var(--navy-950); }
.path__list { display: grid; gap: 8px; margin: 18px 0 4px; }
.path__list li { position: relative; padding-left: 20px; font-weight: 600; }
.path__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.path .btn-row { margin-top: auto; padding-top: 26px; }
.path--dark { color: #fff; background: var(--navy-950); border-color: var(--navy-950); isolation: isolate; }
.path__bg, .path__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.path__bg { z-index: -2; }
.path__bg img { object-fit: cover; }
.path--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 20, 36, .86); }
.path__body { display: flex; flex-direction: column; flex: 1; }
.path--dark p { color: var(--on-dark-muted); }
.path--dark .path__list li::before { background: var(--gold); }

/* Why / facts */
.why { background: var(--surface); }
.why__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.why__intro p:not(.eyebrow) { color: var(--muted-fg); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.fact::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--gold); }
.fact__num { font-family: var(--font-display); font-size: clamp(2.75rem, 4vw, 3.5rem); line-height: .9; color: var(--navy-950); }
.fact__label { font-size: .9375rem; color: var(--muted-fg); line-height: 1.4; }

/* Reviews */
/* Reviews: Google review widget */
.reviews { overflow-x: clip; }
.gr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.gr__bar { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); color: var(--fg); }
.gr__logo { flex: none; width: 44px; height: 44px; }
.gr__summary { flex: 1; display: grid; gap: 2px; }
.gr__title { margin: 0; font-weight: 700; font-size: 1.0625rem; }
.gr__score { margin: 0; display: flex; align-items: center; gap: 8px; }
.gr__num { font-weight: 700; font-size: 1.375rem; line-height: 1; color: #E37400; }
.gr__stars { display: inline-flex; gap: 1px; color: #FBBC04; }
.gr__stars .ico, .gr-card__stars .ico { width: 18px; height: 18px; }
.gr__partial { position: relative; display: inline-flex; color: #DADCE0; }
.gr__partial-fill { position: absolute; inset: 0 auto 0 0; width: 40%; overflow: hidden; color: #FBBC04; }
.gr__count { margin: 0; font-size: .875rem; color: var(--muted-fg); }
.gr__count a { color: var(--muted-fg); }
.gr__write { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #1A73E8; color: #FFF; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.gr__write:hover { background: #1557B0; }
.gr__viewport { position: relative; }
.gr__track { list-style: none; margin: 0; padding: 4px 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gr__track::-webkit-scrollbar { display: none; }
.gr__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }
.gr-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; border-radius: var(--radius); background: var(--surface); color: var(--fg); }
.gr-card__head { display: flex; align-items: center; gap: 12px; }
.gr-card__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #FFF; font-weight: 700; font-size: 1.125rem; }
.gr-card__who { flex: 1; min-width: 0; }
.gr-card__name { margin: 0; font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.gr-card__date { margin: 0; font-size: .8125rem; color: var(--muted-fg); }
.gr-card__g { flex: none; width: 20px; height: 20px; align-self: flex-start; }
.gr-card__stars { margin: 0; display: flex; gap: 1px; color: #FBBC04; }
.gr-card__text { margin: 0; font-size: .9375rem; line-height: 1.55; color: #202124; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.gr-card.is-open .gr-card__text { display: block; -webkit-line-clamp: none; }
.gr-card__more { align-self: flex-start; margin-top: auto; padding: 6px 0; min-height: 32px; border: 0; background: none; color: var(--muted-fg); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.gr-card__more:hover { color: var(--fg); text-decoration: underline; }
.gr__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--fg); box-shadow: 0 2px 8px rgba(11, 20, 36, .25); cursor: pointer; transform: translateY(-50%); }
.gr__nav .ico { width: 22px; height: 22px; }
.gr__nav--prev { left: -22px; }
.gr__nav--prev .ico { transform: rotate(90deg); }
.gr__nav--next { right: -22px; }
.gr__nav--next .ico { transform: rotate(-90deg); }
.gr__nav:disabled { opacity: 0; pointer-events: none; }
.gr__nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gr__foot { margin: 0; font-size: .8125rem; color: var(--on-dark-muted); text-align: center; }
.gr__foot a { color: var(--on-dark-muted); }

/* Process */
.process { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.step__num { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--navy-950); color: var(--gold); font-family: var(--font-display); font-size: 1.75rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted-fg); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -18px; width: 18px; height: 2px; background: var(--gold); }

/* Area */
.area__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.towns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.towns a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 12px 18px;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; text-decoration: none; color: var(--navy-950);
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.towns a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg); flex: none; }
.towns a:hover { border-color: var(--navy-950); background: var(--gold-soft); }

/* FAQ */
.faq { background: var(--surface); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq__grid > div:first-child p:not(.eyebrow) { color: var(--muted-fg); }
.faq__grid > div:first-child a { color: var(--navy-950); font-weight: 700; }
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color var(--fast) var(--ease); }
.faq details[open] { border-color: var(--navy-950); background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; cursor: pointer; font-weight: 700; font-size: 1.0625rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; transition: transform var(--fast) var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted-fg); }

/* CTA block + form */
.cta-block { padding-top: 0; background: var(--surface); }
.cta-block__panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; padding: clamp(28px, 5vw, 56px); border-radius: 14px; background: var(--gold); color: var(--navy-950); }
.cta-block__copy p:not(.eyebrow) { color: #2E2500; }
.cta-block__copy .btn { margin-top: 4px; }
.form { padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 30px rgba(11, 20, 36, .14); }
.form__demo { padding: 10px 14px; margin-bottom: 18px; border-radius: var(--radius-sm); background: var(--soft); border: 1px solid var(--line); font-size: .9375rem; }
.form__demo strong { color: var(--red); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field label span[aria-hidden] { color: var(--red); }
.field__opt { font-weight: 400; color: var(--muted-fg); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm); background: #fff;
  font: 400 1rem var(--font-body); color: var(--fg);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-950); box-shadow: 0 0 0 3px rgba(245, 197, 24, .55); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { min-height: 0; font-size: .875rem; font-weight: 600; color: var(--red); }
.field__error:empty { display: none; }
.form__result { margin-top: 14px; font-weight: 600; }
.form__result:empty { display: none; }
.form__result.is-ok { padding: 12px 14px; border-radius: var(--radius-sm); background: #ECFDF5; color: #065F46; }

/* Footer */
.footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 72px 0 0; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr .9fr .8fr; gap: 36px; }
.brand--footer { display: inline-block; margin-bottom: 18px; }
.brand--footer img { width: 160px; }
.footer__title { color: #fff; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8125rem; margin-bottom: 14px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.footer address a { display: inline-block; min-height: 32px; padding: 4px 0; }
.footer__links li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__social { display: inline-grid !important; place-items: center; width: 44px; height: 44px; margin-top: 18px; border-radius: 50%; background: var(--navy-800); }
.hours { margin: 0; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { color: #fff; font-weight: 600; white-space: nowrap; }
.hours dd { margin: 0; white-space: nowrap; }
.footer__note { margin-top: 10px; font-size: .875rem; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--navy-800); font-size: .875rem; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold); font-weight: 700; }

/* Mobile bar */
.mobile-bar { display: none; }

/* Reveal on scroll (opt-in by JS, respects reduced motion) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1140px) {
  .gr__nav--prev { left: -14px; }
  .gr__nav--next { right: -14px; }
  .header-phone small { display: none; }
  .site-header__row { gap: 14px; }
  .brand img { width: 116px; }
  .header-phone .ico { display: none; }
  .nav__link { padding: 8px 9px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; max-width: 460px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .header-phone { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 49; margin: 0;
    padding: 12px var(--gutter) 120px; overflow-y: auto; background: var(--navy-950);
    visibility: hidden; opacity: 0; transition: opacity var(--fast) var(--ease), visibility 0s linear var(--fast);
  }
  .nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--navy-800); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.125rem; padding: 12px 4px; }
  .mega { position: static; display: none; width: auto; grid-template-columns: 1fr; padding: 4px 4px 16px; background: transparent; color: #fff; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__item--mega.is-open .mega { display: grid; }
  .mega__title { color: var(--gold); margin-top: 10px; }
  .mega a { color: #E5EAF2; min-height: 44px; }
  .mega__all { color: var(--gold) !important; }

  .intro__grid, .heating__grid, .split__grid, .area__grid, .faq__grid, .cta-block__panel { grid-template-columns: 1fr; gap: 40px; }
  .emblem { width: min(100%, 320px); }
  .heating__badge { left: 12px; }
  .trustbar__list { grid-template-columns: repeat(2, 1fr); }
  .trustbar li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--navy-800); }
  .gr__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .gr__nav--prev { left: -12px; }
  .gr__nav--next { right: -12px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -18px; left: 56px; right: auto; width: 2px; height: 18px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--navy-950); border-top: 1px solid var(--navy-800);
  }
  .mobile-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius-sm); border: 2px solid #fff; color: #fff; font-weight: 700; text-decoration: none; }
  .mobile-bar__btn--call { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .utility__item:first-child { display: none; }
  .utility__row { flex-wrap: nowrap; }
  .utility__links a:first-child { display: none; }
  .utility__links { margin-left: auto; }
  .site-header .btn--gold { display: none; }
  .brand img { width: 116px; }
  .hero::before { background: linear-gradient(180deg, rgba(11,20,36,.82) 0%, rgba(11,20,36,.9) 100%); }
  .hero__ctas .btn { width: 100%; }
  .status { border-radius: var(--radius-sm); align-items: flex-start; }
  .status__dot { margin-top: 6px; }
  .trustbar__list { grid-template-columns: 1fr; }
  .svc-grid, .facts, .towns { grid-template-columns: 1fr; }
  .towns { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .path { padding: 26px 22px; }
  .form { padding: 22px 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gr__bar { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .gr__write { width: 100%; justify-content: center; }
  .gr__track { grid-auto-columns: 86%; }
  .gr__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
