/* ==========================================================================
   Vacinek Plumbing, Heating & Roofing — design system
   Brand red from the original logo/site (#a50002 / #c3000c), warm "paper"
   neutrals for a hometown feel, ink blacks for an enterprise backbone.
   ========================================================================== */

:root {
  --red-800: #8a0002;
  --red-700: #a50002;
  --red-600: #c3000c;
  --red-100: #fbe7e5;
  --red-50: #fdf3f2;

  --ink-950: #0f0f10;
  --ink-900: #161617;
  --ink-800: #222224;
  --ink-700: #34312f;
  --ink-600: #4a4642;
  --ink-500: #6b655f;
  --ink-400: #8f8981;

  --paper: #f7f3ec;
  --paper-2: #efe9df;
  --line: #e4ddd2;
  --line-strong: #d2c9bb;
  --white: #ffffff;
  --brass: #b5893a;
  --ok: #1d7a46;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(22 22 23 / 6%), 0 1px 1px rgb(22 22 23 / 4%);
  --shadow: 0 2px 4px rgb(22 22 23 / 4%), 0 8px 24px rgb(22 22 23 / 8%);
  --shadow-lg: 0 4px 8px rgb(22 22 23 / 5%), 0 24px 60px rgb(22 22 23 / 14%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] {
  display: none !important;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--red-700);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--red-800);
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink-950);
  line-height: 1.12;
  font-weight: 600;
}
h1,
h2,
.h1,
.h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}
.h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}
.h2,
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
}
.h3,
h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--red-600) 70%, white);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--red-100);
  color: var(--ink-950);
}
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink-950);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
.icon {
  flex: none;
}
.muted {
  color: var(--ink-500);
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-600);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-700);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light {
  color: #ffb4ad;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-950);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.25s var(--ease);
}
.btn .icon {
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
}
.btn:hover .icon:last-child {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  --btn-bg: var(--red-700);
  box-shadow: 0 6px 18px -6px rgb(165 0 2 / 55%);
}
.btn--primary:hover {
  --btn-bg: var(--red-800);
  box-shadow: 0 10px 26px -8px rgb(165 0 2 / 60%);
}
.btn--dark:hover {
  --btn-bg: var(--ink-700);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink-900);
  --btn-fg: var(--ink-950);
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink-950);
}
.btn--light:hover {
  --btn-bg: var(--paper);
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgb(255 255 255 / 45%);
}
.btn--outline-light:hover {
  border-color: #fff;
  --btn-bg: rgb(255 255 255 / 8%);
}
.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.02rem;
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-row--center {
  justify-content: center;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.icon-btn:hover {
  border-color: var(--ink-900);
  transform: translateY(-1px);
}
.link-arrow,
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.link-quiet {
  color: var(--ink-600);
  font-size: 0.95rem;
}

.pulse {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  flex: none;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #ff3b30;
  opacity: 0;
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  /* Both bars stay in place; no scroll threshold or geometry changes. */
  top: 0;
  z-index: 100;
}
.topbar {
  background: var(--ink-950);
  color: #d9d4cd;
  font-size: 0.84rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar__emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: #fff;
}
.topbar__meta {
  display: flex;
  gap: 22px;
}
.topbar__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar__meta a {
  color: inherit;
  text-decoration: none;
}
.topbar__meta a:hover {
  color: #fff;
}
.topbar__meta .icon {
  color: var(--ink-400);
}

.navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px -12px rgb(22 22 23 / 18%);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand img {
  width: auto;
  height: 54px;
}
.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item {
  position: relative;
}
.nav__item--mega {
  position: static;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 0;
  background: none;
  border-radius: 999px;
  color: var(--ink-800);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav__link:hover,
.nav__link[aria-expanded='true'] {
  background: var(--paper);
  color: var(--ink-950);
}
.nav__link[aria-current='page'],
.nav__link.is-active {
  color: var(--red-700);
}
.nav__chev {
  transition: transform 0.25s var(--ease);
}
.nav__link[aria-expanded='true'] .nav__chev {
  transform: rotate(180deg);
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-950);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.15;
}
.navbar__phone small {
  display: block;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}
.navbar__phone-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-700);
}
.navbar__phone:hover {
  color: var(--red-700);
}
.burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
}

/* Mega menu */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.22s;
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin-top: 8px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: calc(var(--container) - 2 * var(--gutter));
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mega__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink-950);
}
.mega__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--red-50);
  color: var(--red-700);
}
.mega__col a {
  display: block;
  padding: 7px 0;
  color: var(--ink-600);
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    color 0.15s,
    transform 0.2s var(--ease);
}
.mega__col a:hover {
  color: var(--red-700);
  transform: translateX(3px);
}
.mega__promo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(195 0 12 / 55%), transparent 60%),
    var(--ink-950);
  color: #e9e4dd;
  text-decoration: none;
  font-size: 0.93rem;
}
.mega__promo strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
}
.mega__promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  color: #fff;
}
.mega__promo:hover {
  color: #fff;
}

/* Small dropdown */
.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.25s var(--ease),
    visibility 0.2s;
}
.drop.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.drop a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-800);
  font-weight: 500;
  text-decoration: none;
}
.drop a:hover {
  background: var(--paper);
  color: var(--red-700);
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgb(15 15 16 / 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer.is-open {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer__logo {
  height: 44px;
  width: auto;
}
.drawer__close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}
.drawer__nav {
  padding: 8px 20px;
}
.drawer__nav > a,
.drawer__nav summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-950);
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.drawer__nav summary::-webkit-details-marker {
  display: none;
}
.drawer__nav details[open] summary .icon {
  transform: rotate(180deg);
}
.drawer__nav details ul {
  padding: 6px 0 10px 14px;
  border-bottom: 1px solid var(--line);
}
.drawer__nav details a {
  display: block;
  padding: 9px 0;
  color: var(--ink-600);
  text-decoration: none;
}
.drawer__foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 20px;
  background: var(--paper);
}
.drawer__meta {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--ink-500);
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: 40px 0;
}
.section--tight-top {
  padding-top: 48px;
}
.section--paper {
  background: var(--paper);
}
.section--ink {
  background: var(--ink-950);
  color: #cfc9c1;
}
.section--ink h2,
.section--ink h3 {
  color: #fff;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow::before {
  display: none;
}
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.section-head--split .h2 {
  margin: 0;
  max-width: 640px;
}
.section-head__aside {
  max-width: 380px;
  margin: 0;
  color: var(--ink-500);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--top {
  align-items: start;
}
.split--reverse .split__media {
  order: 2;
}
.split__copy > p {
  color: var(--ink-600);
}
.section--ink .split__copy > p {
  color: #bdb6ad;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px);
  background:
    radial-gradient(60% 70% at 100% 0%, rgb(165 0 2 / 7%), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  /* subtle blueprint grid — a nod to the trades */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(22 22 23 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(22 22 23 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 80% at 25% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: italic;
  color: var(--red-700);
  font-weight: 500;
}
.hero__lede {
  max-width: 560px;
  font-size: 1.18rem;
  color: var(--ink-600);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-600);
}
.hero__trust li,
.hero__trust a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust a {
  color: var(--ink-800);
  font-weight: 600;
  text-decoration: none;
}
.hero__trust a:hover span {
  color: var(--red-700);
}
.hero__trust .icon {
  color: var(--red-700);
}
.stars {
  display: inline-flex;
  gap: 1px;
  color: #e3a008;
}
.hero__media {
  position: relative;
}
.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.2;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.02);
}
.hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(15 15 16 / 40%));
}
.hero__badge {
  position: absolute;
  left: -28px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink-600);
  animation: float 7s ease-in-out infinite;
}
.hero__badge-year {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--red-700);
  line-height: 1;
}
.hero__chip {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgb(15 15 16 / 78%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.3;
}
.hero__chip small {
  display: block;
  color: #cfc9c1;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Brand strip ---------- */
.brands {
  border-block: 1px solid var(--line);
  background: #fff;
}
.brands__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 22px;
}
.brands__label {
  margin: 0;
  flex: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  max-width: 120px;
  line-height: 1.4;
}
.brands__list {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
}
.brands__list img {
  height: 64px;
  width: auto;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.75;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.brands__list li:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-card__media img {
  transform: scale(1.05);
}
.service-card__icon {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red-700);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgb(165 0 2 / 60%);
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 22px;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.service-card__body > p {
  font-size: 0.95rem;
  color: var(--ink-500);
}
.service-card__links {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.service-card__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
}
.service-card__links a .icon {
  color: var(--ink-400);
  transition:
    transform 0.2s var(--ease),
    color 0.2s;
}
.service-card__links a:hover {
  color: var(--red-700);
}
.service-card__links a:hover .icon {
  color: var(--red-700);
  transform: translateX(3px);
}

/* ---------- Stats ---------- */
.stats {
  background:
    radial-gradient(80% 120% at 0% 0%, rgb(195 0 12 / 30%), transparent 60%),
    var(--ink-950);
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 44px 28px;
  border-left: 1px solid rgb(255 255 255 / 10%);
}
.stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  color: #bdb6ad;
  font-size: 0.93rem;
  max-width: 220px;
}

/* ---------- Photo stack / duo ---------- */
.photo-stack {
  position: relative;
}
.photo-stack img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-stack::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--red-700);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.25;
}
.photo-stack__note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-600);
}
.photo-stack__note .icon {
  color: var(--red-700);
  margin-top: 2px;
}
.photo-stack__note strong {
  display: block;
  color: var(--ink-950);
}
.mini-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px 0 32px;
  counter-reset: none;
}
.mini-timeline li {
  position: relative;
  padding-top: 18px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-600);
  border-top: 2px solid var(--line);
}
.mini-timeline li::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-700);
  box-shadow: 0 0 0 4px #fff;
}
.mini-timeline__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-950);
}

.duo {
  position: relative;
  aspect-ratio: 1 / 1;
}
.duo img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 60%);
}
.duo__a {
  width: 70%;
  height: 72%;
  top: 0;
  right: 0;
}
.duo__b {
  width: 58%;
  height: 50%;
  bottom: 0;
  left: 0;
  border: 6px solid var(--ink-950);
}
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}
.cap {
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 3%);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cap p {
  margin: 0;
}
.cap__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px !important;
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
}
.cap__head .icon {
  color: #ff6b61;
}

/* ---------- Work: compare + photos ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}
.work-grid--inline {
  gap: 18px;
}
.compare-card,
.photo-card {
  margin: 0;
}
.compare-card figcaption,
.photo-card figcaption {
  margin-top: 12px;
  font-size: 0.93rem;
  color: var(--ink-500);
}
.compare-card figcaption strong,
.photo-card figcaption strong {
  color: var(--ink-950);
  margin-right: 6px;
}
.compare {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--paper-2);
  user-select: none;
  touch-action: pan-y;
}
.compare__img,
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgb(0 0 0 / 35%);
  pointer-events: none;
}
.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-950);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease);
}
.compare:hover .compare__handle span {
  transform: scale(1.08);
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare__range:focus-visible + .compare__handle,
.compare:focus-within .compare__handle span {
  outline: 3px solid var(--red-600);
}
.photo-card__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.photo-card__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.photo-card__btn:hover img {
  transform: scale(1.04);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(10 10 10 / 88%);
  border: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}
.lightbox:not([open]) {
  display: none;
}
.lightbox::backdrop {
  background: rgb(10 10 10 / 88%);
}
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox p {
  margin: 14px 0 0;
  color: #e6e1da;
  text-align: center;
}
.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* ---------- Reviews ---------- */
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  transition:
    box-shadow 0.3s,
    transform 0.3s var(--ease);
}
.review:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.review__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review__quote {
  color: var(--red-100);
  stroke: var(--red-700);
  opacity: 0.35;
}
.review blockquote {
  margin: 16px 0 22px;
  flex: 1;
}
.review blockquote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-700);
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review figcaption small {
  display: block;
  color: var(--ink-500);
  font-size: 0.8rem;
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink-950);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.carousel-controls {
  display: flex;
  gap: 10px;
}
.review-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
}

/* ---------- Financing band ---------- */
.fin-band {
  padding-block: var(--section);
  background:
    radial-gradient(50% 80% at 100% 50%, rgb(165 0 2 / 8%), transparent 70%),
    #fff;
}
.fin-band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.fin-band__copy > p {
  color: var(--ink-600);
  max-width: 560px;
}
.fin-band__card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--ink-950);
  color: #e3ddd5;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
.fin-band__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: #fff;
}
.fin-band__logos img {
  height: 34px;
  width: auto;
}
.fin-band__plus {
  color: var(--ink-400);
  font-weight: 600;
}
.fin-band__profunds,
.fin-option__logo--text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink-950);
  letter-spacing: -0.01em;
}
.ticks {
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticks .icon {
  color: #fff;
  background: var(--red-700);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}
.ticks--stack {
  margin: 24px 0;
  color: var(--ink-700);
}

/* ---------- Area & map ---------- */
.town-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 8px;
}
.town-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
}
.town-chips--links li {
  padding: 0;
}
.town-chips--links a,
.town-chips--links span {
  display: block;
  padding: 7px 14px;
  color: inherit;
  text-decoration: none;
}
.town-chips--links a:hover {
  color: var(--red-700);
}
.town-chips li[hidden] {
  display: none;
}
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.map-card img {
  width: 100%;
}
.map-card--sticky {
  position: sticky;
  top: 110px;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
  min-height: 360px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
.map-embed--tall,
.map-embed--tall iframe {
  min-height: 460px;
}
.area-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  max-width: 420px;
  transition: border-color 0.2s;
}
.area-filter:focus-within {
  border-color: var(--ink-900);
}
.area-filter .icon {
  color: var(--red-700);
}
.area-filter input {
  flex: 1;
  height: 50px;
  border: 0;
  outline: 0;
  background: none;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.area-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scroll-margin-top: 130px;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.area-card:target {
  border-color: var(--red-700);
  box-shadow: 0 0 0 4px var(--red-100);
}
.area-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.area-card h3 .icon {
  color: var(--red-700);
}
.area-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-600);
}
.area-closing {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
  color: var(--ink-600);
}
.visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

/* ---------- Contact list / quick cards ---------- */
.contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  line-height: 1.4;
}
.contact-list small {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 2px;
}
.contact-list a {
  color: var(--ink-950);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:hover {
  color: var(--red-700);
}
.contact-list em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-weight: 600;
  color: var(--red-700);
  font-size: 0.92rem;
}
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red-700);
}
.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-950);
  text-decoration: none;
  line-height: 1.3;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
  min-width: 0;
}
a.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink-950);
}
.quick-card small {
  display: block;
  color: var(--ink-500);
  font-size: 0.8rem;
  margin-bottom: 2px;
}
.quick-card strong {
  display: block;
  font-size: 0.95rem;
  overflow-wrap: break-word;
}
.quick-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--red-700);
}
.quick-card--accent {
  background: var(--red-700);
  border-color: var(--red-700);
  color: #fff;
}
.quick-card--accent small {
  color: #ffd9d5;
}
a.quick-card--accent:hover {
  color: #fff;
  background: var(--red-800);
}
.quick-card--accent .quick-card__icon {
  background: rgb(255 255 255 / 16%);
  color: #fff;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}
.side-social {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- Forms ---------- */
.estimate-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.estimate-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.estimate-layout__intro {
  position: sticky;
  top: 110px;
}
.estimate-layout__intro > p {
  color: var(--ink-600);
}
.form-card {
  position: relative;
  padding: clamp(22px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field label,
.field legend,
.field .label {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-900);
  padding: 0;
}
.req {
  color: var(--red-700);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field input:not([type='radio']):not([type='checkbox']):not([type='file']),
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--ink-400);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--ink-900);
  box-shadow: 0 0 0 4px rgb(22 22 23 / 8%);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px var(--red-100);
}
.field__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-500);
}
.field__error {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-700);
}
.field__error:empty {
  display: none;
}
.select {
  position: relative;
}
.select .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-500);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
}
.chip input,
.service-option input,
.seg__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: 9px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.chip:hover span {
  border-color: var(--ink-500);
}
.chip input:checked + span {
  background: var(--ink-950);
  border-color: var(--ink-950);
  color: #fff;
}
.chip input:focus-visible + span,
.service-option input:focus-visible + .service-option__body,
.seg__opt input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--red-600) 70%, white);
  outline-offset: 2px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--red-700);
}
.service-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-option__body {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.3;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.service-option__body small {
  display: block;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 0.84rem;
}
.service-option__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink-700);
  transition:
    background 0.2s,
    color 0.2s;
}
.service-option:hover .service-option__body {
  border-color: var(--ink-500);
}
.service-option input:checked + .service-option__body {
  border-color: var(--red-700);
  background: var(--red-50);
  box-shadow: 0 0 0 3px var(--red-100);
}
.service-option input:checked + .service-option__body .service-option__icon {
  background: var(--red-700);
  color: #fff;
}
.step {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.step__title {
  margin-bottom: 4px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink-950);
}
.form--steps.is-stepped .step {
  display: none;
}
.form--steps.is-stepped .step.is-current {
  display: grid;
  animation: stepIn 0.4s var(--ease);
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}
.steps-progress {
  display: grid;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.steps-progress__bar {
  height: 6px;
  border-radius: 6px;
  background: var(--paper-2);
  overflow: hidden;
}
.steps-progress__bar i {
  display: block;
  height: 100%;
  width: var(--progress, 33%);
  background: linear-gradient(90deg, var(--red-700), var(--red-600));
  border-radius: inherit;
  transition: width 0.4s var(--ease);
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.form__actions [data-step-next],
.form__actions [data-submit] {
  margin-left: auto;
}
.form__fine {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-500);
}
.form-status {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--red-50);
  border: 1px solid var(--red-100);
  color: var(--red-800);
  font-weight: 600;
  font-size: 0.93rem;
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}
.btn.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 40%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .icon {
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-success {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 40px 16px;
  text-align: center;
  animation: stepIn 0.5s var(--ease);
}
.form-success[hidden] {
  display: none;
}
.form-success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e8f5ed;
  color: var(--ok);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
}
.form-success p {
  max-width: 420px;
  color: var(--ink-600);
}
.form-success__call {
  font-size: 0.92rem;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 16px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.dropzone:hover,
.dropzone.is-over {
  border-color: var(--red-700);
  background: var(--red-50);
}
.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.dropzone__icon {
  color: var(--red-700);
}
.dropzone__text {
  font-size: 0.95rem;
  color: var(--ink-600);
}
.dropzone__text strong {
  color: var(--ink-950);
}
.dropzone__file {
  font-weight: 700;
  color: var(--ok);
  font-size: 0.92rem;
}
.dropzone__file:empty {
  display: none;
}
.field.has-error .dropzone {
  border-color: var(--red-600);
}

.estimate-hero {
  padding-block: clamp(32px, 5vw, 64px) var(--section);
  background:
    radial-gradient(60% 60% at 0% 0%, rgb(165 0 2 / 6%), transparent 70%),
    var(--paper);
}
.estimate-layout--hero .estimate-layout__intro {
  padding-top: 8px;
}
.intro-photo {
  margin: 24px 0 0;
  max-width: 420px;
}
.intro-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.intro-photo--wide {
  max-width: 480px;
}
.emergency-note,
.info-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.94rem;
}
.emergency-note p,
.info-note p {
  margin: 0;
}
.emergency-note .icon {
  color: var(--red-700);
  margin-top: 2px;
}
.info-note .icon {
  color: var(--brass);
  margin-top: 2px;
}
.trade-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.trade-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-weight: 600;
  font-size: 0.93rem;
}
.trade-list .icon {
  color: var(--red-700);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px);
  background: var(--ink-950);
  color: #e6e1da;
  overflow: hidden;
  isolation: isolate;
}
.page-hero--compact {
  padding-block: clamp(44px, 6vw, 72px);
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(15 15 16 / 96%) 0%, rgb(15 15 16 / 82%) 45%, rgb(15 15 16 / 40%) 100%),
    linear-gradient(0deg, rgb(15 15 16 / 50%), transparent 40%);
}
.page-hero__inner {
  max-width: var(--container);
}
.page-hero__title {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.page-hero__lede {
  max-width: 640px;
  font-size: 1.17rem;
  color: #cfc9c1;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.crumbs {
  margin-bottom: 26px;
  font-size: 0.86rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-400);
}
.crumbs a {
  color: inherit;
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs li[aria-current] {
  color: #fff;
}
.estimate-hero .crumbs li,
.estimate-hero .crumbs a {
  color: var(--ink-500);
}
.estimate-hero .crumbs li[aria-current] {
  color: var(--ink-950);
}
.estimate-hero .crumbs a:hover {
  color: var(--red-700);
}

/* ---------- Article (service pages) ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(48px, 7vw, 88px);
  align-items: start;
}
.prose {
  max-width: 760px;
  font-size: 1.06rem;
  color: var(--ink-700);
}
.prose__intro p:first-child {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-800);
}
.prose__intro p:first-child::first-letter {
  float: left;
  margin: 6px 12px 0 0;
  font-family: var(--font-display);
  font-size: 4.1rem;
  line-height: 0.8;
  font-weight: 700;
  color: var(--red-700);
}
.prose__section {
  margin-top: 52px;
  scroll-margin-top: 120px;
}
.prose h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  margin-bottom: 18px;
}
.prose a {
  font-weight: 600;
}
.toc {
  margin: 36px 0 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border-left: 4px solid var(--red-700);
}
.toc__label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.toc ol {
  display: grid;
  gap: 4px;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 10px;
  padding: 4px 0;
  color: var(--ink-800);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--red-700);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  padding-top: 2px;
}
.toc a:hover {
  color: var(--red-700);
}
.toc a.is-active {
  color: var(--red-700);
}
.term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 26px;
}
.term {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.3s;
}
.term:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.term p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-600);
}
.term__title {
  position: relative;
  margin-bottom: 6px !important;
  padding-left: 16px;
  font-weight: 700;
  color: var(--ink-950) !important;
  font-size: 1rem !important;
}
.term__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--red-700);
}
.steps {
  display: grid;
  gap: 0;
  margin: 24px 0 26px;
}
.steps li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child {
  border-top: 1px solid var(--line);
}
.steps p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-600);
}
.steps .term__title {
  padding-left: 0;
}
.steps .term__title::before {
  display: none;
}
.steps__n {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red-700);
  min-width: 44px;
}
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 20px 0 24px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.45;
}
.checklist .icon {
  margin-top: 2px;
  color: #fff;
  background: var(--red-700);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, rgb(195 0 12 / 35%), transparent 60%),
    var(--ink-950);
  color: #cfc9c1;
}
.inline-cta p {
  margin: 0;
  font-size: 0.92rem;
}
.inline-cta__title {
  margin-bottom: 4px !important;
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  color: #fff;
  font-weight: 600;
}

.aside {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}
.aside-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.95rem;
}
.aside-card--cta {
  background: var(--paper);
  border-color: var(--paper-2);
}
.aside-card__eyebrow,
.aside-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-700);
}
.aside-card__label--sub {
  margin-top: 18px;
  color: var(--ink-500);
}
.aside-card__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink-950);
}
.aside-card--cta .btn {
  margin-top: 8px;
}
.aside-card__phone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink-950);
  text-decoration: none;
}
.aside-card__meta {
  display: block;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-500);
  text-align: center;
}
.aside-card__meta .pulse {
  margin-right: 6px;
  vertical-align: 1px;
}
.aside-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-800);
  font-weight: 600;
  text-decoration: none;
}
.aside-links li:last-child a {
  border-bottom: 0;
}
.aside-links a .icon {
  color: var(--ink-400);
}
.aside-links a:hover,
.aside-links a[aria-current='page'] {
  color: var(--red-700);
}
.aside-links a[aria-current='page'] .icon {
  color: var(--red-700);
}
.aside-links--muted a {
  font-weight: 500;
  color: var(--ink-600);
}
.aside-card--fin {
  background: var(--ink-950);
  border-color: var(--ink-950);
  transition: transform 0.25s var(--ease);
}
.aside-card--fin .aside-card__title {
  color: #fff;
}
.aside-card--fin .aside-card__label {
  color: #ff8f86;
}
.aside-card--fin .link-arrow {
  color: #fff;
}
.aside-card--fin:hover {
  transform: translateY(-2px);
}

/* ---------- Services hub ---------- */
.cat-list {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
.cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  scroll-margin-top: 120px;
}
.cat-row:nth-child(even) .cat-row__media {
  order: 2;
}
.cat-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cat-row__body > p {
  color: var(--ink-600);
}
.cat-row__links {
  margin: 20px 0 28px;
  border-top: 1px solid var(--line);
}
.cat-row__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-950);
  text-decoration: none;
}
.cat-row__links small {
  display: block;
  color: var(--ink-500);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 2px;
}
.cat-row__links .icon {
  color: var(--ink-400);
  transition:
    transform 0.25s var(--ease),
    color 0.2s;
}
.cat-row__links a:hover strong,
.cat-row__links a:hover .icon {
  color: var(--red-700);
}
.cat-row__links a:hover .icon {
  transform: translateX(4px);
}

/* ---------- About: timeline ---------- */
.pull {
  margin: 30px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--red-700);
}
.pull p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  font-style: italic;
  color: var(--ink-950);
}
.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--red-700), var(--line-strong));
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding-bottom: 28px;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: 104px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red-700);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-950);
  line-height: 1.2;
  padding-right: 24px;
  text-align: right;
}
.timeline__card {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.timeline__card h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.timeline__card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.97rem;
}
.thanks {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}
.thanks > p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink-950);
}

/* ---------- Financing page ---------- */
.fin-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fin-option {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.fin-option__logo {
  display: flex;
  align-items: center;
  height: 72px;
  margin-bottom: 22px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--paper);
}
.fin-option__logo img {
  height: 36px;
  width: auto;
}
.fin-option h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.fin-option > p {
  color: var(--ink-600);
}
.fin-option .btn-row {
  margin-top: auto;
  padding-top: 8px;
}
.fin-option__fine {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--ink-500);
}
.planner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.planner__intro > p {
  color: var(--ink-600);
}
.mini-steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.mini-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--ink-800);
}
.mini-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-950);
  color: #fff;
  font-size: 0.9rem;
}
.planner__card {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.affix {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.affix:focus-within {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 4px rgb(22 22 23 / 8%);
}
.affix span {
  padding: 0 0 0 16px;
  font-weight: 600;
  color: var(--ink-500);
}
.affix--end span {
  padding: 0 16px 0 0;
}
.field .affix input {
  border: 0 !important;
  box-shadow: none !important;
  font-size: 1.15rem !important;
  font-weight: 600;
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: var(--paper);
}
.seg__opt {
  flex: 1;
  min-width: 64px;
}
.seg__opt span {
  display: block;
  padding: 10px 6px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.seg__opt input:checked + span {
  background: #fff;
  color: var(--red-700);
  box-shadow: var(--shadow-sm);
}
.planner__result {
  display: grid;
  gap: 2px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--ink-950);
  color: #cfc9c1;
  text-align: center;
}
.planner__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.planner__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.planner__sub {
  font-size: 0.88rem;
}

/* ---------- Message pages ---------- */
.message-page {
  padding-block: clamp(80px, 12vw, 160px);
  background: var(--paper);
  text-align: center;
}
.message-page__inner {
  max-width: 680px;
}
.message-page__icon {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e8f5ed;
  color: var(--ok);
}
.message-page__icon.is-error {
  background: var(--red-50);
  color: var(--red-700);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: #bdb6ad;
  font-size: 0.95rem;
}
.footer-cta {
  background:
    radial-gradient(60% 140% at 100% 0%, rgb(255 255 255 / 12%), transparent 60%),
    linear-gradient(120deg, var(--red-800), var(--red-600));
  color: #fff;
}
.footer-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 44px;
}
.footer-cta__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.footer-cta .eyebrow--light {
  color: #ffd2cd;
}
.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr;
  gap: 40px;
  padding-block: 64px 40px;
}
.footer-logo {
  display: inline-block;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #fff;
}
.footer-logo img {
  height: 50px;
  width: auto;
}
.footer-brand p {
  max-width: 300px;
}
.footer-head {
  margin: 0 0 16px;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer a {
  color: #d9d3cb;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer a.btn {
  color: var(--btn-fg);
}
.footer-col ul {
  display: grid;
  gap: 8px;
}
.footer-col address {
  font-style: normal;
  margin-bottom: 12px;
}
.footer-col p {
  margin-bottom: 10px;
}
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff !important;
}
.footer-hours {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
}
.footer-hours .icon {
  display: inline;
  vertical-align: -3px;
  margin-right: 4px;
}
.footer-hours strong {
  color: #ff8f86;
}
.social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 16%);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.social a:hover {
  background: var(--red-700);
  border-color: var(--red-700);
  transform: translateY(-2px);
}
.social--dark a {
  color: var(--ink-800);
  border-color: var(--line-strong);
}
.social--dark a:hover {
  color: #fff;
}
.footer-areas {
  padding-block: 22px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.88rem;
}
.footer-areas p {
  margin: 0;
}
.footer-areas strong {
  color: #fff;
}
.footer-legal {
  background: #080808;
  font-size: 0.84rem;
}
.footer-legal__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.footer-legal p {
  margin: 0;
}
.mobile-bar {
  display: none;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .navbar__phone small,
  .hide-md {
    display: none;
  }
  .navbar__phone > span:last-child {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega__inner {
    grid-template-columns: 1fr;
  }
  .mega__promo {
    display: none;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-h: 72px;
  }
  .nav,
  .navbar__phone {
    display: none;
  }
  .burger {
    display: grid;
  }
  .navbar__actions {
    margin-left: auto;
  }
  .brand img {
    height: 46px;
  }
  .topbar__meta li:first-child {
    display: none;
  }
  .hero__inner,
  .split,
  .fin-band__inner,
  .estimate-layout,
  .contact-layout,
  .visit,
  .planner,
  .cat-row {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media,
  .cat-row:nth-child(even) .cat-row__media {
    order: 0;
  }
  .hero__media {
    max-width: 560px;
  }
  .hero__badge {
    left: 16px;
  }
  .estimate-layout__intro,
  .contact-side,
  .map-card--sticky {
    position: static;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .aside-card--cta {
    grid-column: 1 / -1;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat {
    padding: 32px 20px;
  }
  .stats__grid .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }
  .carousel {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .fin-band__card {
    transform: none;
  }
  .brands__label {
    display: none;
  }
  .duo {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    padding-bottom: 68px;
  }
  .topbar__meta {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
  .hero__title {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }
  .hero__actions .btn,
  .page-hero__actions .btn {
    width: 100%;
  }
  .hero__chip {
    right: 10px;
    top: 10px;
  }
  .hero__badge {
    left: 10px;
    bottom: 14px;
    padding: 12px 14px;
  }
  .hero__badge-year {
    font-size: 1.6rem;
  }
  .hero__frame {
    aspect-ratio: 4 / 3.6;
  }
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .service-grid,
  .work-grid,
  .work-grid--3,
  .term-grid,
  .checklist,
  .area-grid,
  .quick-cards,
  .fin-options,
  .cap-grid,
  .trade-list,
  .service-picker,
  .field-row,
  .aside,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .brands__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
  }
  .brands__list img {
    height: 50px;
  }
  .mini-timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .carousel {
    grid-auto-columns: 88%;
  }
  .carousel-controls {
    display: none;
  }
  .photo-stack::before {
    display: none;
  }
  .timeline::before {
    left: 7px;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 32px;
  }
  .timeline__item::before {
    left: 0;
    top: 8px;
  }
  .timeline__year {
    text-align: left;
    padding: 0;
  }
  .inline-cta,
  .footer-cta__inner,
  .footer-legal__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta__actions,
  .footer-cta__actions .btn {
    width: 100%;
  }
  .form__actions .btn {
    flex: 1;
  }
  .prose__intro p:first-child::first-letter {
    font-size: 3.4rem;
  }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-bar__call {
    background: var(--ink-950);
    color: #fff;
  }
  .mobile-bar__cta {
    background: var(--red-700);
    color: #fff;
  }
  .mobile-bar a:hover {
    color: #fff;
  }
}

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

@media print {
  .site-header,
  .mobile-bar,
  .footer-cta,
  .aside,
  .drawer {
    display: none !important;
  }
}

/* ---------- Homepage: shorter paths, clearer local proof ---------- */
.page-home .reveal {
  opacity: 1;
  transform: none;
}
.home-work__link {
  margin: 24px 0 0;
}
.page-home .hero {
  padding-block: clamp(34px, 5vw, 68px) clamp(38px, 5vw, 68px);
}
.page-home .hero::before {
  opacity: 0.42;
}
.page-home .hero__inner {
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(32px, 4vw, 58px);
}
.page-home .hero__title {
  max-width: 640px;
  font-size: clamp(2.65rem, 5vw, 4.2rem);
  margin-bottom: 18px;
}
.page-home .hero__lede {
  font-size: 1.12rem;
  margin-bottom: 0;
}
.page-home .hero__actions {
  gap: 10px;
  margin: 24px 0 22px;
}
.page-home .hero__actions .btn {
  padding-inline: 20px;
}
.page-home .hero__trust {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px 18px;
  align-items: center;
  padding-top: 18px;
  font-size: 0.86rem;
}
.page-home .hero__trust li {
  gap: 7px;
  white-space: nowrap;
}
.page-home .hero__trust li > .icon {
  color: var(--red-700);
}
.page-home .hero__trust a {
  gap: 7px;
  font-size: 0.86rem;
}
.trust-proof__year {
  color: var(--red-700);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.page-home .hero__frame {
  aspect-ratio: 1.62 / 1;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgb(22 22 23 / 11%);
}
.page-home .hero__frame img {
  object-position: 55% 50%;
  transform: none;
}
.page-home .hero__badge {
  left: -16px;
  bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgb(22 22 23 / 10%);
  animation: none;
}
.home-services,
.home-work,
.home-area,
.home-estimate {
  padding-block: clamp(48px, 6vw, 76px);
}
.page-home .section-head {
  margin-bottom: clamp(24px, 3vw, 38px);
}
.page-home .section-head__aside {
  max-width: 350px;
  font-size: 0.98rem;
}
.page-home .service-grid {
  gap: 16px;
}
.page-home .service-card {
  border-radius: 16px;
  box-shadow: none;
}
.page-home .service-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 7px 20px rgb(22 22 23 / 8%);
}
.page-home .service-card__media {
  aspect-ratio: 2.15 / 1;
}
.page-home .service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: none;
}
.page-home .service-card__body {
  padding: 18px 18px 16px;
}
.page-home .service-card__title {
  margin-bottom: 7px;
}
.page-home .service-card__body > p {
  margin-bottom: 14px;
  line-height: 1.52;
}
.page-home .service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--red-700);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}
.page-home .service-card__link .icon {
  transition: transform 0.2s var(--ease);
}
.page-home .service-card__link:hover .icon {
  transform: translateX(3px);
}
.page-home .home-work .work-grid {
  gap: 18px;
}
.home-work__more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.home-work__more > span {
  grid-column: 1 / -1;
  color: var(--ink-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.home-work__more .photo-card img {
  max-height: 230px;
  object-fit: cover;
}
.page-home .reviews {
  padding-block: clamp(48px, 6vw, 76px);
}
.home-area {
  background: var(--paper);
}
.home-area__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.home-area__copy > p:not(.eyebrow) {
  max-width: 540px;
  color: var(--ink-600);
}
.home-area__copy .link-arrow {
  margin: 0 0 22px;
}
.home-area__subhead {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.home-area__copy .town-chips {
  margin-bottom: 16px;
}
.home-area__map img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgb(22 22 23 / 7%);
}
.home-estimate .estimate-layout {
  gap: clamp(28px, 5vw, 64px);
}

@media (max-width: 1000px) {
  .page-home .hero__inner,
  .home-area__layout {
    grid-template-columns: 1fr;
  }
  .page-home .hero__media {
    max-width: none;
  }
  .home-area__map {
    max-width: 680px;
  }
  .navbar__actions > .btn {
    display: none;
  }
}
@media (max-width: 720px) {
  .page-home .hero {
    padding-block: 30px 38px;
  }
  .page-home .hero__title {
    max-width: 520px;
    font-size: clamp(2.25rem, 10vw, 3.05rem);
    line-height: 1.04;
    margin-bottom: 14px;
  }
  .page-home .hero__lede {
    font-size: 1rem;
  }
  .page-home .hero__actions {
    display: none;
  }
  .page-home .hero__trust {
    grid-template-columns: 1fr 1fr;
    gap: 12px 8px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .page-home .hero__trust li,
  .page-home .hero__trust a {
    white-space: normal;
    font-size: 0.8rem;
  }
  .page-home .hero__trust li:last-child {
    grid-column: 1 / -1;
  }
  .page-home .hero__frame {
    aspect-ratio: 1.5 / 1;
    border-radius: 14px;
  }
  .page-home .hero__badge {
    left: 10px;
    bottom: 10px;
    padding: 9px 12px;
    font-size: 0.75rem;
  }
  .page-home .hero__badge-year {
    font-size: 1.35rem;
  }
  .home-services,
  .home-work,
  .home-area,
  .home-estimate,
  .page-home .reviews {
    padding-block: 42px;
  }
  .page-home .section-head {
    margin-bottom: 22px;
  }
  .page-home .section-head__aside {
    font-size: 0.92rem;
  }
  .page-home .service-grid,
  .home-work__more {
    grid-template-columns: 1fr;
  }
  .page-home .service-card__media {
    aspect-ratio: 2.4 / 1;
  }
  .home-work__more {
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
  }
  .home-work__more > span {
    grid-column: auto;
  }
  .home-area__layout {
    gap: 24px;
  }
}

/* ---------- "Proudly serving" area band (every page) ---------- */
.area-band {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.area-band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.area-band__title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.area-band__title small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--red-700);
}
.area-band__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-600);
  margin-bottom: 10px;
}
.area-band__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-500);
}
.area-band__tags span[aria-hidden] {
  color: var(--red-700);
}
.area-band__towns .town-chips {
  margin-top: 0;
}
.area-band__note,
.buffalo-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--ink-600);
}
.area-band__note .icon {
  color: var(--red-700);
  margin-top: 3px;
}
.area-band__note strong,
.buffalo-note strong {
  color: var(--ink-950);
}
.buffalo-note {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red-700);
}
.buffalo-note .icon {
  color: var(--red-700);
  margin-top: 2px;
}
@media (max-width: 1000px) {
  .area-band__inner {
    grid-template-columns: 1fr;
  }
}
