:root {
      --red: #c1121f;
      --red-dark: #8f0712;
      --black: #111214;
      --charcoal: #202226;
      --grey: #6f747c;
      --light: #f5f6f8;
      --white: #ffffff;
      --shadow: 0 24px 60px rgba(17, 18, 20, 0.14);
      --shadow-soft: 0 16px 40px rgba(17, 18, 20, 0.09);
      --radius: 15px;
      --transition: 0.35s ease;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--black);
      background: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .section {
      padding: 96px 0;
      position: relative;
    }

    .section-light { background: var(--light); }
    .section-dark { background: var(--black); color: var(--white); }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--red);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.78rem;
      margin-bottom: 14px;
    }

    .eyebrow::before {
      content: "";
      width: 28px;
      height: 3px;
      background: var(--red);
      border-radius: 999px;
    }

    h1, h2, h3 { line-height: 1.1; margin: 0; }
    h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); letter-spacing: -0.055em; }
    h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -0.04em; }
    h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

    p { margin: 0; color: var(--grey); }
    .section-dark p { color: #b7bac0; }

    .lead {
      font-size: 1.12rem;
      max-width: 720px;
      margin-top: 20px;
    }

    .section-heading {
      max-width: 790px;
      margin-bottom: 42px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 54px;
      padding: 0 24px;
      border-radius: 12px;
      font-weight: 800;
      border: 0;
      cursor: pointer;
      transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    }

    .btn:hover { transform: translateY(-3px); }
    .btn-primary {
      background: var(--red);
      color: var(--white);
      box-shadow: 0 14px 28px rgba(193, 18, 31, 0.28);
    }
    .btn-primary:hover { background: var(--red-dark); box-shadow: 0 18px 36px rgba(193, 18, 31, 0.35); }
    .btn-secondary {
      background: rgba(255,255,255,.14);
      color: var(--white);
      backdrop-filter: blur(10px);
      box-shadow: 0 14px 30px rgba(0,0,0,.24);
    }
    .btn-secondary:hover {
      background: rgba(255,255,255,.22);
      box-shadow: 0 18px 38px rgba(0,0,0,.30);
    }

    header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;
      transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
      padding: 18px 0;
    }
    header.scrolled {
      background: rgba(17,18,20,.93);
      backdrop-filter: blur(14px);
      box-shadow: 0 12px 35px rgba(0,0,0,.18);
      padding: 10px 0;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      color: var(--white);
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -0.02em;
    }

    .header-actions { display: flex; align-items: center; gap: 12px; }

    .social-links {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .social-link {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: rgba(255,255,255,.10);
      color: var(--white);
      box-shadow: 0 10px 24px rgba(0,0,0,.22);
      transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    }

    .social-link svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .social-link:hover {
      background: var(--red);
      color: var(--white);
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(193,18,31,.30);
    }
    .header-call {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--white);
      font-weight: 700;
    }

    .hero {
      min-height: 820px;
      display: flex;
      align-items: center;
      position: relative;
      color: var(--white);
      background:
        linear-gradient(90deg, rgba(193,18,31,.30) 0%, rgba(17,18,20,.42) 42%, rgba(17,18,20,.94) 100%),
        url('../images/richmond-roofing-hero.jpg') center/cover no-repeat;
      isolation: isolate;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 180px;
      background: linear-gradient(to bottom, transparent, rgba(17,18,20,.34));
      z-index: -1;
    }

    .hero-content {
      width: min(760px, 100%);
      padding-top: 90px;
    }

    .hero .eyebrow { color: #ff5b66; }
    .hero h1 span { color: #ff4150; }
    .hero p {
      color: #d7d8dc;
      font-size: 1.15rem;
      max-width: 680px;
      margin-top: 24px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
    }

    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 38px;
    }

    .trust-pill {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      border-radius: 12px;
      background: rgba(255,255,255,.09);
      backdrop-filter: blur(12px);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.11);
      font-weight: 700;
      color: #f3f3f4;
    }

    .stats-wrap {
      margin-top: -66px;
      position: relative;
      z-index: 5;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .stat {
      padding: 30px;
      text-align: center;
      position: relative;
    }

    .stat:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 22%;
      width: 1px;
      height: 56%;
      background: linear-gradient(transparent, #d7d9de, transparent);
    }

    .stat strong {
      display: block;
      font-size: 2rem;
      color: var(--red);
      letter-spacing: -0.04em;
    }
    .stat span { color: var(--grey); font-weight: 700; }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow-soft);
      transition: transform var(--transition), box-shadow var(--transition);
      position: relative;
      overflow: hidden;
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 55px rgba(17,18,20,.15);
    }

    .service-card::before {
      content: "";
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, var(--red), #ef4652);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition);
    }
    .service-card:hover::before { transform: scaleX(1); }

    .icon {
      width: 52px;
      height: 52px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      background: rgba(193,18,31,.10);
      color: var(--red);
      font-size: 1.35rem;
      margin-bottom: 20px;
      box-shadow: inset 0 0 0 1px rgba(193,18,31,.10);
    }

    .service-card p { margin-top: 12px; }

    .split {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 60px;
      align-items: center;
    }

    .image-stack { position: relative; }
    .image-stack img {
      width: 100%;
      min-height: 520px;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .floating-card {
      position: absolute;
      left: -30px;
      bottom: 34px;
      width: min(320px, 82%);
      background: var(--white);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: 0 22px 50px rgba(17,18,20,.22);
    }
    .floating-card strong { font-size: 1.15rem; }
    .floating-card p { margin-top: 7px; font-size: .95rem; }

    .check-list {
      display: grid;
      gap: 14px;
      margin-top: 28px;
    }
    .check-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      font-weight: 700;
      color: #2c2f34;
    }
    .check-item span:first-child {
      width: 24px;
      height: 24px;
      flex: 0 0 24px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background: rgba(193,18,31,.11);
      color: var(--red);
      font-size: .85rem;
      margin-top: 1px;
    }

    .cta-band {
      padding: 34px;
      border-radius: var(--radius);
      background:
        linear-gradient(120deg, rgba(193,18,31,.96), rgba(143,7,18,.96)),
        url('../images/richmond-roofing-hero.jpg') center/cover;
      color: var(--white);
      box-shadow: var(--shadow);
      display: flex;
      justify-content: space-between;
      gap: 30px;
      align-items: center;
    }
    .cta-band p { color: rgba(255,255,255,.78); margin-top: 8px; }

    .review-card .stars { color: #f2b01e; font-size: 1.1rem; letter-spacing: 2px; }
    .review-card blockquote {
      margin: 18px 0 22px;
      color: #35383d;
      font-weight: 600;
    }
    .review-author { display: flex; align-items: center; gap: 12px; }
    .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--black);
      color: var(--white);
      font-weight: 800;
    }
    .review-author small { color: var(--grey); }

    .areas {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 26px;
    }
    .area-chip {
      padding: 12px 16px;
      border-radius: 12px;
      background: #fff;
      color: #2e3035;
      font-weight: 700;
      box-shadow: 0 10px 24px rgba(17,18,20,.08);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .area-chip:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(17,18,20,.13); }

    .faq-list { display: grid; gap: 14px; }
    .faq-item {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }
    .faq-question {
      width: 100%;
      border: 0;
      background: transparent;
      padding: 21px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: left;
      font-weight: 800;
      cursor: pointer;
      color: var(--black);
    }
    .faq-question span:last-child { color: var(--red); font-size: 1.4rem; transition: transform var(--transition); }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
    .faq-answer p { padding: 0 24px 22px; }
    .faq-item.active .faq-answer { max-height: 240px; }
    .faq-item.active .faq-question span:last-child { transform: rotate(45deg); }

    .contact-wrap {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 28px;
    }

    .contact-panel, .form-panel {
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 34px;
    }
    .contact-panel {
      background: var(--black);
      color: var(--white);
    }
    .contact-panel p { color: #b7bac0; margin-top: 18px; }
    .contact-details { display: grid; gap: 16px; margin-top: 28px; }
    .contact-detail {
      display: flex;
      gap: 13px;
      align-items: center;
      padding: 16px;
      border-radius: 12px;
      background: rgba(255,255,255,.07);
      transition: background var(--transition), transform var(--transition);
    }
    .contact-detail:hover { background: rgba(255,255,255,.11); transform: translateX(4px); }
    .contact-detail strong { display: block; }
    .contact-detail small { color: #aaaeb5; }

    .form-panel { background: var(--white); }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .field { display: grid; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    label { font-size: .9rem; font-weight: 800; }
    input, textarea, select {
      width: 100%;
      border: 0;
      background: #f1f2f4;
      border-radius: 12px;
      padding: 15px 16px;
      outline: none;
      box-shadow: inset 0 0 0 1px transparent;
      transition: box-shadow var(--transition), background var(--transition);
    }
    input:focus, textarea:focus, select:focus {
      background: #fff;
      box-shadow: inset 0 0 0 2px rgba(193,18,31,.45), 0 8px 22px rgba(193,18,31,.08);
    }
    textarea { min-height: 140px; resize: vertical; }

    footer {
      background: #090a0c;
      color: var(--white);
      padding: 70px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1.15fr;
      gap: 40px;
    }
    footer h3 { margin-bottom: 18px; }
    footer p, footer a { color: #a8abb2; }
    footer a { transition: color var(--transition), transform var(--transition); display: inline-block; }
    footer a:hover { color: var(--white); transform: translateX(3px); }
    footer .social-link { color: var(--white); }
    footer .social-link:hover { transform: translateY(-3px); }
    .footer-social { margin-top: 22px; }
    .footer-links { display: grid; gap: 10px; }
    .footer-cta {
      padding: 22px;
      border-radius: var(--radius);
      background: linear-gradient(145deg, #1a1c20, #101114);
      box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }
    .footer-cta p { margin: 10px 0 18px; }
    .footer-bottom {
      margin-top: 42px;
      padding-top: 22px;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255,255,255,.08);
      color: #7e8289;
      font-size: .9rem;
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity .75s ease, transform .75s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    .mobile-call {
      display: none;
      position: fixed;
      z-index: 1001;
      left: 16px;
      right: 16px;
      bottom: 16px;
      min-height: 54px;
      border-radius: 14px;
      background: var(--red);
      color: var(--white);
      font-weight: 800;
      align-items: center;
      justify-content: center;
      box-shadow: 0 15px 34px rgba(193,18,31,.35);
    }

    @media (max-width: 980px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .split, .contact-wrap { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      .stats { grid-template-columns: repeat(2, 1fr); }
      .stat:nth-child(2)::after { display: none; }
      .image-stack { max-width: 720px; }
    }

    @media (max-width: 680px) {
      .container { width: min(100% - 28px, 1180px); }
      .section { padding: 72px 0; }
      .hero { min-height: 760px; background-position: 62% center; }
      .header-actions .btn { display: none; }
      .header-call { font-size: .9rem; }
      .social-links-header { display: none; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .btn { width: 100%; }
      .stats-wrap { margin-top: -42px; }
      .stats, .grid-3, .footer-grid, .form-grid { grid-template-columns: 1fr; }
      .stat:not(:last-child)::after { display: none; }
      .stat:not(:last-child) { box-shadow: inset 0 -1px 0 #eceef1; }
      .floating-card { left: 14px; bottom: 14px; }
      .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
      .contact-panel, .form-panel { padding: 26px; }
      .footer-bottom { flex-direction: column; }
      .mobile-call { display: flex; }
      body { padding-bottom: 78px; }
    }

/* Form integration and accessibility */
.website-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; min-height: 24px; font-weight: 700; }
.form-status.success { color: #167443; }
.form-status.error { color: var(--red-dark); }
strong { color: inherit; font-weight: 800; }
:focus-visible { outline: 3px solid rgba(193,18,31,.4); outline-offset: 4px; }


/* Monthly offer */
.offer-section { padding-top: 76px; padding-bottom: 28px; }
.offer-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border-radius: 20px;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(195,25,43,.98), rgba(112,8,21,.96)),
    url('../images/richmond-roofing-hero.jpg') center/cover;
  box-shadow: 0 28px 65px rgba(112,8,21,.28);
}
.offer-card .eyebrow { color: var(--white); }
.offer-card .eyebrow::before { background: var(--white); }
.offer-card p { margin-top: 18px; color: rgba(255,255,255,.84); max-width: 720px; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.countdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.countdown-box {
  min-height: 118px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 16px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}
.countdown-box strong { font-size: 2rem; line-height: 1; }
.countdown-box span { margin-top: 8px; font-weight: 700; color: rgba(255,255,255,.75); }

/* Review platform logos and rating cards */
.review-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}
.review-platform-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-soft);
}
.platform-logo-wrap {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,18,21,.12);
  overflow: hidden;
}
.platform-logo-wrap img { width: 48px; height: 48px; object-fit: contain; }
.google-logo-wrap { border-radius: 18px; }
.trustatrader-logo-wrap { border-radius: 10000px; }
.trustatrader-logo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 10000px; }
.review-platform-card h3 { margin-bottom: 7px; }
.platform-rating { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.platform-rating .stars { color: #f2b01e; letter-spacing: 1px; }
.review-platform-card p { margin-top: 4px; font-size: .92rem; }
.btn-review {
  min-width: 170px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(195,25,43,.30);
}
.btn-review:hover { background: var(--charcoal); color: var(--white); }

/* Roofing gallery */
.gallery-section { background: var(--light); }
.roof-gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr;
  grid-template-rows: 270px 270px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.gallery-item-large { grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2 / 4; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .offer-card { grid-template-columns: 1fr; }
  .review-platforms { grid-template-columns: 1fr 1fr; }
  .btn-review { grid-column: 1 / -1; }
  .roof-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 240px 240px; }
  .gallery-item-large { grid-row: auto; grid-column: 1 / -1; }
  .gallery-item:nth-child(2) { grid-column: auto; }
}

@media (max-width: 680px) {
  .offer-card { padding: 28px; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .countdown-box { min-height: 96px; }
  .review-platforms { grid-template-columns: 1fr; }
  .btn-review { grid-column: auto; }
  .review-platform-card { align-items: flex-start; }
  .roof-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 240px); }
  .gallery-item-large, .gallery-item:nth-child(2) { grid-column: auto; grid-row: auto; }
}


/* Shared component refinements */
.floating-card strong { color: var(--black); }
.contact-panel .eyebrow {
  color: var(--white);
  background: rgba(193,18,31,.92);
  padding: 8px 12px;
  border-radius: 999px;
}
.contact-panel .eyebrow::before { background: var(--white); }
.form-panel .btn-primary { background: var(--red); color: var(--white); }
.form-panel .btn-primary:hover { background: var(--charcoal); color: var(--white); }
.btn-review:hover {
  background: var(--white) !important;
  color: var(--red-dark) !important;
  box-shadow: 0 18px 38px rgba(255,255,255,.24), 0 18px 38px rgba(0,0,0,.18) !important;
}
.platform-logo.trustatrader-logo { border-radius: 10000px; }


/* ============================================================
   RICHMOND ROOFING SERVICES — ALTERNATIVE THEME
   Same palette and typography, different placement and colour use
   ============================================================ */
.richmond-theme { background: #f5f6f8; }
.richmond-theme header {
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 36px rgba(17,18,20,.10);
}
.richmond-theme header.scrolled { background: rgba(255,255,255,.98); }
.richmond-theme .brand,
.richmond-theme .header-call { color: var(--black); }
.richmond-theme header .social-link {
  background: var(--black);
  color: var(--white);
}
.richmond-theme header .social-link:hover { background: var(--red); }
.richmond-theme header .btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(17,18,20,.24);
}
.richmond-theme header .btn-primary:hover { background: var(--red); }

.hero-richmond {
  min-height: 820px;
  background:
    linear-gradient(90deg, rgba(193,18,31,.30) 0%, rgba(17,18,20,.42) 42%, rgba(17,18,20,.94) 100%),
    var(--hero-image, url('../images/richmond-roofing-hero.jpg')) center/cover no-repeat !important;
}
.hero-content-right {
  margin-left: auto;
  width: min(700px,100%);
  padding: 150px 0 100px;
}
.hero-richmond .eyebrow { color: #ffd9dd; }
.hero-richmond h1 span { color: #ff5966; }
.hero-richmond .btn-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 34px rgba(255,255,255,.24);
}
.hero-richmond .btn-primary:hover { background: var(--red); color: var(--white); }
.hero-richmond .btn-secondary { background: var(--red); color: var(--white); }
.hero-richmond .trust-pill { background: rgba(255,255,255,.13); }

.richmond-intro { background: var(--white); padding: 80px 0; }
.richmond-intro-grid { align-items: start; }
.richmond-intro .btn-secondary { background: var(--black); }
.richmond-intro .btn-secondary:hover { background: var(--red); }

.reviews-richmond {
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: var(--white);
}
.reviews-richmond p { color: rgba(255,255,255,.80); }
.reviews-richmond .eyebrow { color: var(--white); }
.reviews-richmond .eyebrow::before { background: var(--white); }
.reviews-richmond .review-platform-card,
.reviews-richmond .review-card { background: var(--white); color: var(--black); }
.reviews-richmond .review-card p,
.reviews-richmond .review-platform-card p { color: var(--grey); }
.reviews-richmond .btn-review { background: var(--black); }
.reviews-richmond .btn-review:hover { background: var(--white) !important; color: var(--red) !important; }

.services-richmond {
  background: var(--black);
  color: var(--white);
}
.services-richmond p { color: #b7bac0; }
.services-richmond .eyebrow { color: #ff6671; }
.services-richmond .card {
  background: #1b1d21;
  color: var(--white);
  box-shadow: 0 20px 48px rgba(0,0,0,.30);
}
.services-richmond .service-card p { color: #bfc2c8; }
.services-richmond .icon { background: rgba(255,255,255,.09); color: #ff5966; }

.offer-richmond { background: var(--light); }
.offer-richmond .offer-card {
  background: linear-gradient(135deg, var(--white), #eceff2);
  color: var(--black);
}
.offer-richmond .offer-card p { color: var(--grey); }
.offer-richmond .countdown-box { background: var(--black); color: var(--white); }
.offer-richmond .offer-card .btn-primary { background: var(--red); color: var(--white); }
.offer-richmond .offer-card .btn-primary:hover { background: var(--black); }

.why-richmond { background: var(--white); }
.why-richmond .split { grid-template-columns: .95fr 1.05fr; }
.why-richmond .image-stack { order: 2; }
.why-richmond .split > .reveal:not(.image-stack) { order: 1; }
.why-richmond .btn-primary { background: var(--black); }
.why-richmond .btn-primary:hover { background: var(--red); }

.areas-richmond {
  background: linear-gradient(145deg, var(--red), var(--red-dark));
}
.areas-richmond .area-chip { background: rgba(255,255,255,.15); color: var(--white); }
.areas-richmond .area-panel { background: var(--white) !important; color: var(--black) !important; }
.areas-richmond .area-panel p { color: #4c5158 !important; }
.areas-richmond .area-panel .btn-primary { background: var(--black); color: var(--white); }
.areas-richmond .area-panel .btn-primary:hover { background: var(--red); }

.faq-richmond { background: var(--white); }
.faq-richmond .faq-sticky-card { background: var(--black); color: var(--white); }
.faq-richmond .faq-sticky-card p { color: #c2c5ca; }
.faq-richmond .faq-sticky-card .eyebrow { color: #ff6671; }
.faq-richmond .faq-sticky-card .btn-primary { background: var(--red); color: var(--white); }
.faq-richmond .faq-sticky-card .btn-primary:hover { background: var(--white); color: var(--black); }

.richmond-theme .contact-panel { background: var(--black); }
.richmond-theme .contact-panel .eyebrow { background: var(--red); }
.richmond-theme .form-panel .btn-primary { background: var(--red); }
.richmond-theme .form-panel .btn-primary:hover { background: var(--black); }
.richmond-theme footer { background: var(--black); }
.richmond-theme .footer-cta { background: var(--red); }
.richmond-theme .footer-cta .btn-primary { background: var(--white); color: var(--black); }
.richmond-theme .footer-cta .btn-primary:hover { background: var(--charcoal); color: var(--white); }

@media (max-width: 980px) {
  .hero-content-right { margin-left: 0; }
  .why-richmond .image-stack,
  .why-richmond .split > .reveal:not(.image-stack) { order: initial; }
}
@media (max-width: 680px) {
  .hero-richmond { background-position: 46% center !important; }
  .hero-content-right { padding: 125px 0 80px; }
}

/* ============================================================
   RICHMOND ORIGINAL DESIGN REFINEMENT
   ============================================================ */

/* Reliable button contrast across light and dark sections */
.richmond-theme .btn {
  border-radius: 14px;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.richmond-theme .btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(193,18,31,.30);
}
.richmond-theme .btn-primary:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(17,18,20,.28);
}
.richmond-theme .btn-secondary {
  background: var(--black);
  color: var(--white);
  backdrop-filter: none;
  box-shadow: 0 14px 30px rgba(17,18,20,.24);
}
.richmond-theme .btn-secondary:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(193,18,31,.30);
}

/* Hero: familiar structure, original asymmetrical treatment */
.hero-richmond {
  min-height: 820px;
  background:
    linear-gradient(90deg, rgba(13,15,18,.95) 0%, rgba(13,15,18,.82) 48%, rgba(193,18,31,.26) 100%),
    var(--hero-image, url('../images/richmond-roofing-hero.jpg')) center/cover no-repeat !important;
}
.hero-richmond::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -170px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(193,18,31,.58);
  filter: blur(2px);
  z-index: -1;
}
.hero-richmond .hero-content {
  margin-left: 0;
  width: min(720px,100%);
  padding: 145px 0 100px;
}
.hero-richmond .eyebrow { color: #ff7a84; }
.hero-richmond h1 span { color: #ff4d5b; }
.hero-richmond .btn-primary {
  background: var(--red);
  color: var(--white);
}
.hero-richmond .btn-primary:hover { background: var(--white); color: var(--black); }
.hero-richmond .btn-secondary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 14px 30px rgba(255,255,255,.18);
}
.hero-richmond .btn-secondary:hover { background: var(--red); color: var(--white); }

/* Intro button must be readable on white */
.richmond-intro .btn-secondary { background: var(--black); color: var(--white); }
.richmond-intro .btn-secondary:hover { background: var(--red); color: var(--white); }

/* Original offer module */
.offer-richmond {
  background:
    linear-gradient(180deg, var(--light) 0%, var(--light) 58%, var(--white) 58%, var(--white) 100%);
  padding: 88px 0;
}
.offer-shell {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr) 360px;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(17,18,20,.17);
}
.offer-accent {
  background: linear-gradient(155deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  position: relative;
}
.offer-accent::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 50%;
  right: -22px;
  top: 24px;
}
.offer-discount { font-size: 3.65rem; font-weight: 800; line-height: .95; letter-spacing: -.07em; }
.offer-discount-label { margin-top: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .22em; }
.offer-main { padding: 40px 42px; }
.offer-main .eyebrow { margin-bottom: 12px; }
.offer-main h2 { font-size: clamp(2rem,3.5vw,3.15rem); }
.offer-main p { color: var(--grey); margin-top: 17px; max-width: 700px; }
.offer-main .btn-primary { background: var(--red); color: var(--white); }
.offer-main .btn-primary:hover { background: var(--black); color: var(--white); }
.offer-main .btn-secondary { background: var(--black); color: var(--white); }
.offer-main .btn-secondary:hover { background: var(--red); color: var(--white); }
.offer-timer-panel {
  background: var(--black);
  color: var(--white);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timer-kicker {
  display: block;
  margin-bottom: 16px;
  color: #ff7a84;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.offer-timer-panel .countdown {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.offer-timer-panel .countdown-box {
  min-height: 88px;
  padding: 12px 6px;
  border-radius: 13px;
  background: #202329;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 12px 24px rgba(0,0,0,.22);
}
.offer-timer-panel .countdown-box strong { font-size: 1.7rem; color: var(--white); }
.offer-timer-panel .countdown-box span { color: #aeb2b9; font-size: .72rem; margin-top: 7px; }
.offer-timer-panel small { display: block; margin-top: 15px; color: #878c94; line-height: 1.45; }

/* FAQ rebuilt as a deliberate editorial layout */
.faq-richmond {
  background: linear-gradient(180deg, #f4f5f7 0%, #ffffff 100%);
}
.faq-richmond .faq-layout {
  display: grid;
  grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr);
  gap: 44px;
  align-items: start;
}
.faq-richmond .faq-intro { min-width: 0; }
.faq-richmond .faq-intro-sticky {
  position: sticky;
  top: 108px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 26px 60px rgba(17,18,20,.22);
  padding: 32px;
}
.faq-richmond .faq-intro-sticky::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(193,18,31,.24);
  right: -80px;
  top: -80px;
}
.faq-richmond .faq-intro-sticky .eyebrow { color: #ff6671; position: relative; z-index: 1; }
.faq-richmond .faq-intro-sticky h2,
.faq-richmond .faq-intro-sticky p,
.faq-richmond .faq-intro-sticky img,
.faq-richmond .faq-intro-sticky .faq-cta { position: relative; z-index: 1; }
.faq-richmond .faq-intro-sticky p { color: #bfc3c9; }
.faq-richmond .faq-intro-sticky img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin: 26px 0 18px;
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
}
.faq-richmond .faq-cta {
  width: 100%;
  background: var(--red);
  color: var(--white);
}
.faq-richmond .faq-cta:hover { background: var(--white); color: var(--black); }
.faq-richmond .faq-list { gap: 12px; }
.faq-richmond .faq-item {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(17,18,20,.08);
}
.faq-richmond .faq-question {
  padding: 23px 24px;
  gap: 20px;
}
.faq-richmond .faq-question span:last-child {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(193,18,31,.10);
  color: var(--red);
}
.faq-richmond .faq-answer p { color: var(--grey); padding: 0 24px 24px; }
.faq-richmond .faq-item.active { box-shadow: 0 20px 48px rgba(17,18,20,.13); }
.faq-richmond .faq-item.active .faq-question { color: var(--red-dark); }

/* Other context-specific button safeguards */
.reviews-richmond .btn-review { background: var(--black); color: var(--white); }
.reviews-richmond .btn-review:hover { background: var(--white) !important; color: var(--red-dark) !important; }
.areas-richmond .area-panel .btn-primary { background: var(--black); color: var(--white); }
.areas-richmond .area-panel .btn-primary:hover { background: var(--red); color: var(--white); }
.richmond-theme .footer-cta .btn-primary { background: var(--white); color: var(--black); }
.richmond-theme .footer-cta .btn-primary:hover { background: var(--red); color: var(--white); }

@media (max-width: 1080px) {
  .offer-shell { grid-template-columns: 130px minmax(0,1fr); }
  .offer-timer-panel { grid-column: 1 / -1; }
  .offer-timer-panel .countdown { max-width: 560px; }
}
@media (max-width: 980px) {
  .faq-richmond .faq-layout { grid-template-columns: 1fr; }
  .faq-richmond .faq-intro-sticky { position: relative; top: auto; }
  .faq-richmond .faq-intro-sticky img { height: 300px; }
}
@media (max-width: 680px) {
  .hero-richmond .hero-content { padding: 128px 0 82px; }
  .offer-richmond { padding: 68px 0; }
  .offer-shell { grid-template-columns: 1fr; }
  .offer-accent { min-height: 130px; flex-direction: row; gap: 12px; }
  .offer-discount { font-size: 3rem; }
  .offer-main { padding: 30px 24px; }
  .offer-timer-panel { grid-column: auto; padding: 28px 20px; }
  .offer-timer-panel .countdown { grid-template-columns: repeat(2,1fr); }
  .faq-richmond .faq-intro-sticky { padding: 26px; }
  .faq-richmond .faq-intro-sticky img { height: 220px; }
}

/* ============================================================
   FINAL LAYOUT POLISH
   ============================================================ */

/* Keep the main hero headline to two deliberate lines on desktop. */
.hero-richmond h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.15vw, 5.15rem);
  line-height: .98;
  text-wrap: balance;
}
.hero-richmond h1 span { display: inline-block; }

/* Original proof ribbon replacing the generic four-column stat strip. */
.hero-proof {
  position: relative;
  z-index: 8;
  margin-top: -58px;
  padding-bottom: 30px;
}
.proof-shell {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 2.2fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 26px 65px rgba(17,18,20,.18);
}
.proof-lead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 28px;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: var(--white);
}
.proof-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255,255,255,.16);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.proof-lead strong,
.proof-item strong { display: block; line-height: 1.2; }
.proof-lead small { display: block; margin-top: 5px; color: rgba(255,255,255,.75); }
.proof-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 24px 26px;
  position: relative;
}
.proof-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24%;
  width: 1px;
  height: 52%;
  background: linear-gradient(transparent, #d8dbe0, transparent);
}
.proof-item > span {
  color: var(--red);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.05em;
}
.proof-item small { display: block; margin-top: 4px; color: var(--grey); line-height: 1.35; }

/* Tighter rhythm after the overlapping hero proof ribbon. */
.richmond-intro { padding-top: 72px; }
.reviews-richmond,
.services-richmond,
.gallery-section,
.areas-richmond,
.faq-richmond { scroll-margin-top: 90px; }

@media (max-width: 980px) {
  .proof-shell { grid-template-columns: 1fr; }
  .proof-items { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .hero-richmond h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 1.01;
  }
  .hero-proof { margin-top: -34px; padding-bottom: 18px; }
  .proof-items { grid-template-columns: 1fr; }
  .proof-item { padding: 20px 24px; }
  .proof-item:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: 0;
    left: 24px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d8dbe0, transparent);
  }
  .richmond-intro { padding-top: 58px; }
}

/* ============================================================
   WHY CHOOSE US — RESPONSIVE COLUMN FIX
   Prevents both columns becoming narrow vertical text pillars.
   ============================================================ */

/* Keep the Richmond why-us content in two usable columns on desktop. */
.why-richmond .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.why-richmond .split > * {
  min-width: 0;
  width: 100%;
}

.why-richmond .image-stack {
  width: 100%;
  max-width: none;
}

.why-richmond .image-stack img {
  width: 100%;
  min-height: 0;
  height: clamp(420px, 42vw, 560px);
  object-fit: cover;
}

.why-richmond .split > .reveal:not(.image-stack) {
  width: 100%;
  max-width: 620px;
}

.why-richmond .lead,
.why-richmond .check-item,
.why-richmond h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Stack before either column becomes too narrow. */
@media (max-width: 900px) {
  .why-richmond .split {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .why-richmond .image-stack,
  .why-richmond .split > .reveal:not(.image-stack) {
    order: initial;
    max-width: 100%;
  }

  .why-richmond .image-stack img {
    height: clamp(340px, 62vw, 500px);
  }

  .why-richmond .floating-card {
    left: 20px;
    right: auto;
    bottom: 20px;
    width: min(340px, calc(100% - 40px));
  }
}

@media (max-width: 680px) {
  .why-richmond .split {
    gap: 28px;
  }

  .why-richmond .image-stack img {
    height: 320px;
  }

  .why-richmond .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
  }

  .why-richmond .check-list {
    gap: 12px;
  }

  .why-richmond .check-item {
    align-items: flex-start;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .why-richmond .image-stack img {
    height: 270px;
  }
}
