/* A.W. Crooks Plumbing, Heating & Cooling — homepage preview */
:root {
  --navy: #000661;
  --navy-hover: #00044a;
  --yellow: #FFEA00;
  --gold-dark: #756000;
  --cream: #fffce6;
  --gray: #F2F3F7;
  --body: #333333;
  --white: #ffffff;
  --muted: #6b6e7a;
  --border: #e2e4ea;
  --danger: #8b1a1a;
  --max: 1280px;
  --radius: 2px;
  --ls: 0.12em;
  --fs-kicker: 0.78rem;
  --fs-ui: 0.95rem;
  --fs-body: 1.2rem;
  --fs-h2: clamp(2.25rem, 4vw, 3rem);
  --fs-h1: clamp(3rem, 6vw, 4.5rem);
  --font: "IBM Plex Sans", "IBM Plex Sans Fallback", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.55;
  font-size: var(--fs-body);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: var(--ls);
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-hover); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn-yellow:hover { filter: brightness(0.96); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* —— Sticky header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 6, 97, 0.08);
}

.hours-strip {
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hours-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.hours-strip .financing {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: var(--ls);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.utility {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 64px;
  max-width: 160px;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-bar {
  background: var(--gray);
  border-bottom: 1px solid var(--border);
}

.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}
.nav-bar .container::-webkit-scrollbar { display: none; }

.nav-bar a {
  flex-shrink: 0;
  padding: 0.85rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: var(--ls);
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-bar a:hover { color: var(--navy); }
.nav-bar a.active {
  color: var(--navy);
  border-bottom-color: var(--yellow);
}

.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;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(0, 6, 97, 0.2);
  color: var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bars span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--navy);
  transition: transform 0.15s, opacity 0.15s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  background: var(--navy);
  align-items: stretch;
}

.hero-copy {
  padding: 1.75rem 2rem 1.75rem clamp(1rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  max-width: 640px;
  margin-left: auto;
  width: 100%;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  max-width: 36rem;
  margin-bottom: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  background: var(--white);
  border-left: 1px solid rgba(0, 6, 97, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.75rem;
  min-height: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* —— Specials —— */
.specials {
  background: var(--gray);
  padding: 2rem 0;
}

.section-label {
  display: inline-flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.section-label span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::after,
.section-label .bar {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--yellow);
}

.section-title {
  color: var(--navy);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--body);
  max-width: 40rem;
  margin-bottom: 1rem;
}

.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.special-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.special-card .tag {
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.special-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.special-card .price {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.special-card .price span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.special-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.special-card--opinion {
  grid-column: 1 / -1;
  background: var(--yellow);
  border-color: transparent;
}
.special-card--opinion p { color: var(--navy); }

@keyframes specials-rotate {
  0%, 11.2500% {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
  }
  11.2600%, 100% {
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
  }
}
.special-banner {
  margin-top: 1rem;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.special-banner-rotator {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 5.75rem;
}
.specials-slide {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  min-width: 0;
  animation-name: specials-rotate;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.specials-slide.absolute {
  position: absolute;
  inset: 0;
}
.specials-slide.relative {
  position: relative;
}
.specials-slide:first-child {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.special-banner .banner-price {
  font-weight: 700;
  line-height: 1.15;
}
.special-banner .banner-price small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.special-banner .banner-price strong {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.special-banner .banner-price em {
  font-style: normal;
  font-size: 2rem;
  display: block;
}
.special-banner p {
  font-weight: 600;
  font-size: 1.05rem;
}

/* —— Trust strip + stats band (TCTC-style, Crooks-only) —— */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.trust-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  font-size: 1rem;
}
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2.75rem;
}
.stats-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 56rem;
  text-align: center;
}
.stats-value {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.stats-label {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.intro-inner--solo {
  grid-template-columns: 1fr;
}
@media (max-width: 820px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
  }
}
@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .trust-list {
    gap: 0.55rem 1.25rem;
  }
}

/* —— Intro band —— */
.intro-band {
  background: var(--gray);
  padding: 0 0 1.75rem;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: end;
}

.stats {
  display: flex;
  gap: 1rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  min-width: 110px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

/* —— Services —— */
.services {
  padding: 2.25rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.service-col .section-label { margin-bottom: 0.75rem; }
.service-col .section-title { margin-bottom: 0.85rem; }

.service-list {
  display: grid;
  gap: 0.35rem;
}

.service-item {
  border-left: 3px solid var(--yellow);
  padding: 0.45rem 0 0.45rem 0.85rem;
  background: var(--white);
}

.service-item h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.service-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Protection plan —— */
.protection {
  background: var(--navy);
  padding: 2.25rem 0;
}

.protection .container {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2.5rem;
  align-items: center;
}

.protection .eyebrow { margin-bottom: 0.85rem; }

.protection h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.protection p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.protection-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 240px;
}

/* —— Reviews —— */
.reviews {
  background: var(--gray);
  padding: 2.25rem 0;
}

.reviews-meta {
  color: var(--muted);
  font-weight: 600;
  margin: 0.35rem 0 0;
  max-width: 40rem;
}
.reviews-meta a { color: var(--navy); font-weight: 700; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.stars {
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  font-size: 1rem;
  line-height: 1;
}

.review-card blockquote {
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
}

.review-card cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}

/* —— Address / mid CTA —— */
.mid-cta {
  background: var(--white);
  padding: 2rem 0;
}

.mid-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.mid-cta img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.mid-cta h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.mid-cta p {
  color: var(--body);
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

.mid-cta .quiet {
  color: var(--muted);
  font-size: 0.9rem;
  border-left: 3px solid var(--yellow);
  padding-left: 0.9rem;
  margin-top: 1.5rem;
}

.address-line {
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* —— Bottom CTA —— */
.bottom-cta {
  background: var(--navy);
  padding: 2.25rem 0;
}

.bottom-cta .container {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}

.bottom-cta h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.bottom-cta p {
  color: rgba(255, 255, 255, 0.88);
}

.bottom-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 240px;
}

/* —— Footer (Crooks-only) —— */
.site-footer {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 0 1.15rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
}

.footer-brand strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: 28rem;
  margin-bottom: 1.25rem;
}

.pay-note {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.footer-contact .est {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-contact .phone {
  display: block;
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-contact .addr {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.footer-quiet {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* —— Back to top —— */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 6, 97, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* —— Mobile sticky Call | Book —— */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  gap: 0.65rem;
  box-shadow: 0 -6px 24px rgba(0, 6, 97, 0.08);
}

.mobile-bar .btn { flex: 1; padding: 0.95rem 0.75rem; }

/* —— Responsive —— */
@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 72vw; padding: 0.35rem 0.35rem 0; border: none; }
  .hero-visual img { max-height: 78vw; width: auto; margin: 0 auto; }
  .hero-copy {
    max-width: none;
    margin: 0;
    padding: 3rem 1.5rem;
  }
  .specials-grid,
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { gap: 2rem; }
  .protection .container,
  .bottom-cta .container,
  .intro-inner,
  .mid-cta-inner,
  .footer-grid { grid-template-columns: 1fr; }
  .special-banner { flex-wrap: wrap; }
  .specials-slide { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .special-banner-rotator { min-height: 8.5rem; }
  .protection-actions,
  .bottom-cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .utility-actions .btn-outline { display: none; }
  .hours-strip .container { font-size: 0.7rem; }
  .page-hero .hero-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    min-height: 7.25rem;
  }
  .hero-actions .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-bar .container {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
  }
  .site-header:has(.nav-bar.open) {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
  }
  .site-header:has(.nav-bar.open) .nav-bar {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-bar.open .container {
    display: flex;
    padding: 0.5rem 0 5.75rem;
  }
  .nav-bar a { border-bottom: none; border-left: 3px solid transparent; }
  .nav-bar a.active { border-left-color: var(--yellow); }
  html.nav-open, body.nav-open {
    overflow: hidden;
    height: 100%;
  }
  .specials-grid,
  .reviews-grid,
  .services-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  .back-top { bottom: 6.5rem; }
  .brand-text strong { font-size: 0.82rem; }
  .utility-actions .btn { padding: 0.7rem 0.85rem; font-size: 0.68rem; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, var(--max)); }
  .utility .container { flex-wrap: wrap; }
  .utility-actions { width: 100%; }
  .utility-actions .btn { flex: 1; }
  .stats { width: 100%; }
  .stat-card { flex: 1; }
}


/* —— About page —— */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--navy);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(22rem, 38rem) minmax(0, 1fr);
  gap: 0 1.5rem;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: 0;
  min-height: 20rem;
}
.page-hero-copy {
  position: relative;
  z-index: 8;
  padding: 1.85rem 0 1.9rem;
  max-width: none;
  background: var(--navy);
}
.page-hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.9);
  max-width: 38rem;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}
.page-hero .hero-actions {
  margin-top: 1.15rem;
}
.page-hero-van {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  z-index: 5;
  overflow: hidden;
  min-height: 20rem;
}
.page-hero-van::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 6%;
  bottom: 6%;
  height: 16%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.page-hero-van img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 22rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4));
}
.page-hero-van picture { display: block; width: 100%; aspect-ratio: 480 / 253; }


@media (max-width: 860px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-hero-copy {
    padding: 1.35rem 0 0.35rem;
  }
  .page-hero-van {
    min-height: 0;
    max-width: 28rem;
    margin: 0 auto -0.15rem;
  }
  .page-hero-van img {
    max-height: 13rem;
    height: auto;
  }
}

.story { padding: 2.25rem 0; background: var(--white); }
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.story p { margin-bottom: 0.9rem; color: var(--body); max-width: 40rem; }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--yellow);
}
.timeline li {
  padding: 0.55rem 0 0.55rem 1rem;
}
.timeline strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline span { color: var(--muted); font-size: 0.92rem; }
.about-promise {
  background: var(--gray);
  padding: 2rem 0;
}
.about-promise p { max-width: 40rem; }
@media (max-width: 1100px) {
  .story-grid { grid-template-columns: 1fr; }
}


/* Contact form (UI only) */
.contact-form {
  max-width: 32rem;
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.contact-form .form-row {
  display: grid;
  gap: 0.4rem;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}
.contact-form button {
  justify-self: start;
  margin-top: 0.25rem;
}


/* —— Plan cards —— */
.plans-section {
  padding: 2.25rem 0;
  background: var(--gray);
}
.plan-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.plan-card-eyebrow {
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}
.plan-card-lead {
  color: var(--muted);
  margin: 0;
}
.plan-card ul {
  list-style: none;
  margin: 0.35rem 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.plan-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--body);
  font-size: 0.95rem;
}
.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}
.plan-card-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
}
.plan-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) {
  .plan-cards { grid-template-columns: 1fr; }
}


.story-prose {
  max-width: 42rem;
}
.story-prose p {
  margin-bottom: 0.95rem;
  color: var(--body);
  line-height: 1.6;
}


/* —— The Crew —— */
.crew {
  background: var(--gray);
  padding: 2.5rem 0;
}
.crew-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
.crew-heading .section-title {
  margin-bottom: 0;
  max-width: 16rem;
}
.crew-copy p {
  margin: 0 0 1rem;
  color: var(--body);
  line-height: 1.65;
  max-width: 40rem;
}
.crew-copy p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .crew-grid { grid-template-columns: 1fr; gap: 1rem; }
  .crew-heading .section-title { max-width: none; }
}


/* —— Powered by TCTC —— */
.powered-by {
  padding: 0.85rem 0 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.75rem;
}
.powered-by a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.powered-by a:hover { color: var(--yellow); }
.powered-by img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.95;
}


/* —— Blog —— */
.blog-list { padding: 2.25rem 0; background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.blog-card {
  background: var(--gray);
  border: 1px solid var(--border);
  border-top: 4px solid var(--yellow);
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.blog-date {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-card h2 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: var(--navy); text-decoration: underline; }
.blog-card p { color: var(--body); margin: 0; flex: 1; font-size: 1.2rem; }
.blog-card .btn { align-self: flex-start; margin-top: 0.35rem; }
.blog-post a { color: var(--navy); font-weight: 600; }
.page-hero a { text-decoration: none; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* —— Blog index hero (TCTC-style light header) —— */
.blog-hero {
  background: var(--gray);
  padding: 2.75rem 0 2.25rem;
}
.blog-hero .section-label span {
  color: var(--gold-dark);
}
.blog-hero .section-label::after,
.blog-hero .section-label .bar {
  background: var(--yellow);
  width: 36px;
  height: 3px;
}
.blog-hero h1 {
  color: var(--navy);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0.35rem 0 0.85rem;
}
.blog-hero p {
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 36rem;
  margin: 0;
}


/* —— Trade pages (Plumbing / Heating & Cooling) —— */
.trade-tabs {
  display: flex;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trade-tabs .container {
  display: flex;
  gap: 0;
}
.trade-tabs a {
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.trade-tabs a:hover { color: var(--navy); }
.trade-tabs a.active {
  border-bottom-color: var(--yellow);
  background: var(--cream);
}
.trade-intro {
  padding: 2.25rem 0 1.75rem;
  background: var(--gray);
}
.trade-intro .trade-area-inner { align-items: center; }
.trade-intro .area-map-wrap { background: var(--white); }

.trade-intro .section-title { margin-bottom: 0.75rem; }
.trade-intro p {
  max-width: 44rem;
  color: var(--body);
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.trade-block {
  padding: 2.15rem 0;
  background: var(--white);
}
.trade-block.alt { background: var(--gray); }
.trade-block h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--navy);
  margin: 0.35rem 0 0.75rem;
}
.trade-block > .container > p,
.trade-copy {
  max-width: 44rem;
  color: var(--body);
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.trade-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.trade-pills li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  padding: 0.7rem 0.85rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.trade-block.alt .trade-pills li { background: var(--white); }
.trade-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
}
.faq {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
}
.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq details p {
  margin: 0.65rem 0 0;
  color: var(--body);
  font-weight: 600;
}
.trade-review {
  margin-top: 1.25rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.4rem;
}
.trade-review .stars { color: var(--gold-dark); margin-bottom: 0.5rem; }
.trade-review blockquote {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
.trade-review cite { font-style: normal; color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.home-trade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.home-trade-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem 1.4rem 1.35rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.home-trade-card:hover { border-color: var(--navy); }
.home-trade-card h3 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.35rem 0 0.55rem;
}
.home-trade-card p { color: var(--body); font-weight: 600; margin: 0 0 1rem; }
@media (max-width: 860px) {
  .trade-pills, .trade-split, .home-trade-cards { grid-template-columns: 1fr; }
  .trade-tabs a { padding: 0.85rem 0.9rem; font-size: 0.75rem; }
}

/* —— Service area map (TCTC Crooks) —— */
.trade-area {
  padding: 2.25rem 0 2.5rem;
  background: var(--gray);
}
.trade-area-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.2fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.trade-area h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--navy);
  margin: 0.35rem 0 0.7rem;
}
.trade-area p {
  color: var(--body);
  font-weight: 600;
  margin: 0 0 1rem;
  max-width: 36rem;
}
.area-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  max-width: 22rem;
}
.area-stats div {
  background: var(--white);
  padding: 0.85rem 1rem;
}
.area-stats strong {
  display: block;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.1;
}
.area-stats span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.area-map-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  min-height: 360px;
}
.area-map {
  height: 420px;
  width: 100%;
  z-index: 0;
}
.area-legend {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  z-index: 1000;
  width: min(240px, calc(100% - 1.3rem));
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  padding: 0.85rem 0.95rem;
  pointer-events: none;
}
.area-legend p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  max-width: none;
}
.area-legend ul {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
}
.area-legend li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}
.area-swatch {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 1px solid var(--gold-dark);
  background: var(--yellow);
}
.area-legend small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.7rem;
}
.trade-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.9rem 1.15rem;
  margin-top: 1.1rem;
  text-decoration: none;
  font-weight: 700;
}
.trade-offer strong { font-size: 1.15rem; letter-spacing: 0.02em; }
.trade-offer em { font-style: normal; font-size: 1.6rem; }
.offer-band {
  background: var(--yellow);
}
.offer-band .container { padding: 0.75rem 0; }
.tctc-logo-marker-wrap,
.leaflet-div-icon.tctc-logo-marker-wrap,
.tctc-town-label-wrap,
.leaflet-div-icon.tctc-town-label-wrap {
  background: transparent !important;
  border: none !important;
}
.tctc-logo-marker {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--white);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.25), 0 3px 10px rgba(0,0,0,0.35);
}
.tctc-logo-marker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tctc-town-label {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}
.tctc-town-label--primary {
  padding: 0.22rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--white);
  border: 1.5px solid rgba(0,6,97,0.35);
  color: var(--navy);
}
@media (max-width: 860px) {
  .trade-area-inner { grid-template-columns: 1fr; }
  .area-map { height: 340px; }
}

.trade-specials-cta {
  padding: 0 0 2.35rem;
  background: var(--white);
}
.trade-block.alt + .trade-specials-cta { background: var(--gray); padding-top: 0; }
.trade-specials-cta .btn { min-width: 14rem; }

.second-opinion {
  background: var(--yellow);
  color: var(--navy);
  padding: 2.35rem 0;
}
.second-opinion-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.second-opinion .kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.second-opinion h2 {
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0 0 0.65rem;
}
.second-opinion p {
  font-size: 1.25rem;
  font-weight: 700;
  max-width: 38rem;
  margin: 0;
}
.second-opinion .btn {
  min-width: 14rem;
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
@media (max-width: 820px) {
  .second-opinion-inner { grid-template-columns: 1fr; }
}

/* —— Audit 2026-09-11: a11y / LCP helpers —— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.contact-form .form-status {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.contact-form .form-status.is-ok { color: var(--navy); }
.contact-form .form-status.is-err { color: var(--danger); }
.contact-form .hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 340px;
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--border) 0%, var(--gray) 45%, var(--border) 100%);
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font);
}
.map-placeholder .map-eyebrow {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.map-placeholder strong {
  font-size: 1.35rem;
  line-height: 1.25;
  max-width: 18rem;
}
.map-placeholder .map-hint {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 22rem;
}
.area-map.is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  background: var(--gray);
  color: var(--muted);
  font-weight: 700;
}


.page-hero-photo {
  position: relative;
  align-self: stretch;
  min-height: 20rem;
  overflow: hidden;
}
.page-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  max-height: 22rem;
  object-fit: cover;
  object-position: center;
}
.gen-photo {
  padding: 2.15rem 0;
  background: var(--white);
}
.gen-photo-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.gen-photo-inner img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 860px) {
  .page-hero-photo, .page-hero-photo img { min-height: 14rem; max-height: 16rem; }
  .gen-photo-inner { grid-template-columns: 1fr; }
}

/* —— In your home / house care / promise —— */
.in-your-home { background: var(--white); padding: 2.25rem 0; }
.in-your-home .section-title { max-width: 22ch; }
.in-your-home > .container > p { color: var(--body); max-width: 40rem; margin: 0 0 0.85rem; }
.house-care { background: var(--cream); padding: 2rem 0; }
.house-care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.15rem;
}
.house-care-card {
  background: var(--white);
  border-left: 3px solid var(--yellow);
  padding: 1.05rem 1.1rem;
}
.house-care-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.house-care-card p { color: var(--muted); margin: 0; font-size: 1rem; }
.commitment {
  background: var(--navy);
  color: var(--white);
  padding: 2.35rem 0;
}
.commitment .section-label span { color: var(--yellow); }
.commitment .section-label::after { background: var(--yellow); }
.commitment h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}
.commitment p { color: rgba(255,255,255,0.9); max-width: 38rem; margin: 0 0 0.75rem; }
.commitment .commitment-note { color: var(--yellow); font-weight: 700; margin: 0; }
.warranty { background: var(--white); padding: 2.25rem 0; }
.warranty-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.warranty-copy p { color: var(--body); margin: 0 0 0.9rem; max-width: 40rem; }
.promise-card {
  display: block;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--yellow);
  padding: 1.25rem 1.2rem;
  text-decoration: none;
}
.promise-card .eyebrow { color: var(--yellow); margin-bottom: 0.45rem; }
.promise-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}
.promise-card p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.95rem; font-weight: 600; }
@media (max-width: 820px) {
  .house-care-grid, .warranty-grid { grid-template-columns: 1fr; }
}
.home-promise { margin-top: 1.15rem; max-width: 28rem; }

/* —— Terms disclosure —— */
.legal-terms {
  width: 100%;
  max-width: 40rem;
  margin: 1rem auto 0;
  text-align: left;
}
.legal-terms summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 0.4rem;
  border-bottom: 2px solid var(--navy);
}
.legal-terms summary::-webkit-details-marker { display: none; }
.legal-terms summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.legal-terms[open] summary::after { content: "–"; }
.legal-terms p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0.85rem 0 0;
  text-align: center;
}
.rotw { background: var(--cream); padding: 2.25rem 0; }
.rotw .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rotw .section-label { align-items: center; }
.rotw .section-title { max-width: 18ch; }
.rotw .section-lead { margin-left: auto; margin-right: auto; }
.rotw-card {
  position: relative;
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--yellow);
  padding: 1.4rem 1.35rem 1.5rem;
  max-width: 40rem;
  width: 100%;
  text-align: left;
  overflow: visible;
}

.rotw-offer {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0.85rem;
}
.rotw-card .stars { color: var(--yellow); letter-spacing: 0.08em; margin-bottom: 0.65rem; }
.rotw-card blockquote { color: var(--white); font-size: 1.2rem; line-height: 1.45; margin: 0 0 0.85rem; }
.rotw-card cite { display: block; color: var(--yellow); font-style: normal; font-weight: 700; font-size: 0.95rem; }

/* Van drive-in lives in each page's inlined critical CSS only.
   Do not redeclare the animation here — a second apply restarts it and looks like a jerk. */

/* House lights: motion lives in generators.html critical CSS only (do not redeclare animation). */
.house-lights { position: relative; overflow: hidden; }
.house-lights-glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* Fall leaves — overlay on .page-hero (van pages + generators). Transform only. */
.fall-leaves {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.fall-leaves i {
  position: absolute;
  top: -1.5rem;
  display: block;
  border-radius: 2px 12px 3px 12px;
  opacity: 0.9;
  will-change: transform;
  animation: leaf-fall 9s linear infinite;
}
@keyframes leaf-fall {
  0% { transform: translate3d(0, -2rem, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translate3d(var(--drift, 36px), 24rem, 0) rotate(380deg); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .fall-leaves { display: none; }
}

.rotw-star-outline {
  position: absolute;
  inset: -8px;
  pointer-events: none;
  z-index: 2;
}
.rotw-star-outline i {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: #4a3d00;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: rotw-star-flash 0.85s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes rotw-star-flash {
  0%, 100% { background: #4a3d00; transform: scale(0.9); }
  50% { background: #FFEA00; transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .rotw-star-outline { display: none; }
}


@media (min-width: 821px) and (max-width: 1400px) {
  .nav-bar a {
    padding: 0.85rem 0.52rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }
}
.rotw { overflow-x: clip; }
@media (max-width: 820px) {
  .rotw-star-outline { inset: 0; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .nav-bar a {
    padding: 0.85rem 0.3rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
}
