:root {
  --blue: #174A8B;
  --red: #D9272E;
  --navy: #102E50;
  --light: #EAF3FA;
  --white: #FAFAF7;

  --ink: #252B31;
  --muted: #68737D;
  --line: #DDE3E8;
  --pure: #fff;
  --max: 1180px;

  --shadow: 0 18px 50px rgba(16, 46, 80, 0.12);
  --radius: 18px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--ink);
  background: var(--pure);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}


h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0.2rem 0 1rem;
}

.muted {
  color: var(--muted);
}


/* =========================
   Top Bar
========================= */

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 36px;
}

.topbar a {
  font-weight: 700;
}


/* =========================
   Header / Navigation
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 227, 232, 0.85);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  width: 142px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 0.72rem 1rem;
  background: var(--red);
  color: #fff !important;
  border-radius: 8px;
}

.menu-btn {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  font-size: 1.5rem;
}

.mobile-nav {
  display: none;
}


/* =========================
   Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 9px;
  padding: 0.92rem 1.15rem;
  font-weight: 800;
  border: 2px solid transparent;
  transition: 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-light {
  background: var(--light);
  color: var(--navy);
}


/* =========================
   Hero
========================= */

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(16, 46, 80, 0.98) 0%,
      rgba(16, 46, 80, 0.94) 38%,
      rgba(16, 46, 80, 0.55) 60%,
      rgba(16, 46, 80, 0.08) 100%
    ),
    url("../images/hero-truck.webp") center right / cover no-repeat;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
  color: #fff;
  padding: 80px 0;
}

.hero h1 {
  color: #fff;
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}


/* =========================
   Mobile App Promo
========================= */

/* =========================
   RCC Customer Login
========================= */

.mobile-app-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}


.rcc-login-card {
  width: 320px;

  background: #fff;

  border: 1px solid var(--line);
  border-radius: 20px;

  padding: 26px;

  box-shadow:
    0 18px 50px rgba(16, 46, 80, 0.14);
}


.rcc-login-header {
  text-align: center;
  margin-bottom: 24px;
}


.rcc-login-logo {
  width: 130px;
  height: auto;

  margin: 0 auto 18px;
}


.rcc-login-header .eyebrow {
  margin-bottom: 6px;
}


.rcc-login-header h3 {
  margin-bottom: 8px;

  font-size: 1.55rem;
}


.rcc-login-header p {
  margin: 0;

  color: var(--muted);

  font-size: 0.88rem;
  line-height: 1.45;
}


/* Form */

.rcc-login-form {
  display: grid;
  gap: 15px;
}


.rcc-field {
  display: grid;
  gap: 6px;
}


.rcc-field label {
  color: var(--navy);

  font-size: 0.78rem;
  font-weight: 800;
}


.rcc-field input {
  width: 100%;

  padding: 12px 14px;

  background: #f8fafc;

  border: 1px solid var(--line);
  border-radius: 9px;

  color: var(--ink);

  font: inherit;
  font-size: 0.92rem;
}


.rcc-field input::placeholder {
  color: #9aa5af;
}


.rcc-field input:focus {
  outline: none;

  border-color: var(--blue);

  box-shadow:
    0 0 0 3px rgba(23, 74, 139, 0.12);
}


/* Login Button */

.rcc-login-button {
  width: 100%;

  margin-top: 4px;

  padding: 13px 16px;

  border: 0;
  border-radius: 9px;

  background: var(--red);
  color: #fff;

  font: inherit;
  font-weight: 800;

  cursor: pointer;

  transition: 0.18s ease;
}


.rcc-login-button:hover {
  background: #bd2027;
  transform: translateY(-1px);
}


.rcc-login-button:active {
  transform: translateY(0);
}


/* Help Link */

.rcc-login-help {
  display: block;

  text-align: center;

  color: var(--blue);

  font-size: 0.8rem;
  font-weight: 700;
}


.rcc-login-help:hover {
  text-decoration: underline;
}


/* Footer */

.rcc-login-footer {
  margin-top: 20px;
  padding-top: 16px;

  border-top: 1px solid var(--line);

  text-align: center;

  color: var(--muted);

  font-size: 0.7rem;
}


/* Mobile */

@media (max-width: 900px) {

  .rcc-login-card {
    width: 100%;
    max-width: 360px;
  }

}


@media (max-width: 620px) {

  .mobile-app-visual {
    justify-content: flex-start;
  }

  .rcc-login-card {
    max-width: 100%;
  }

}

.quick-actions {
  margin-top: -42px;
  position: relative;
  z-index: 4;
}

.mobile-app-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;

  background: #fff;
  border-radius: 20px;
  padding: 38px 42px;

  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.mobile-app-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-top: 6px;
}

.mobile-app-copy > p {
  max-width: 700px;
  color: var(--muted);
}

.mobile-app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 24px;
}

.mobile-app-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mobile-app-feature b {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.mobile-app-feature span {
  font-size: 0.86rem;
  color: var(--muted);
}

.quick-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  border-radius: 50%;
  background: var(--light);

  display: grid;
  place-items: center;

  color: var(--blue);
  font-weight: 800;
}

.mobile-app-visual {
  display: flex;
  justify-content: center;
}

.mobile-app-card .phone-mock {
  width: 220px;
  margin: 0;
}

.mobile-app-card .app-links {
  margin-top: 12px;
}


/* =========================
   Sections
========================= */

.section {
  padding: 88px 0;
}

.section.light {
  background: var(--light);
}

.section.navy {
  background: var(--navy);
  color: #fff;
}

.section.navy h2,
.section.navy h3 {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}


/* =========================/* =====================================================
   HOMEPAGE SERVICES
===================================================== */

.service-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-photo {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  margin: 0 0 10px;
}

.service-card-body p {
  margin: 0 0 22px;
}

.service-card-cta {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
}


/* Maintenance Plan */

.maintenance-callout {
  margin-top: 32px;
  padding: 28px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.maintenance-callout-copy {
  max-width: 680px;
}

.maintenance-callout h3 {
  margin: 6px 0 8px;
}

.maintenance-callout p {
  margin: 0;
}

.maintenance-callout .btn {
  flex-shrink: 0;
}


/* Responsive */

@media (max-width: 900px) {

  .service-grid-horizontal {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 620px) {

  .service-grid-horizontal {
    grid-template-columns: 1fr;
  }

  .service-card-photo {
    height: 220px;
  }

  .maintenance-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .maintenance-callout .btn {
    width: 100%;
  }

}

/* =====================================================
   REVIEWS
===================================================== */

.reviews-section {
  background: #fff;
}

.reviews-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 36px;
}

.reviews-head h2 {
  margin-bottom: 0;
}

.reviews-summary {
  text-align: right;
}

.reviews-summary .stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 1px;
}

.reviews-rating-line {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
}

.reviews-rating-line strong {
  color: var(--navy);
  font-size: 1.1rem;
}


/* Cards */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  min-height: 330px;
  padding: 30px;

  display: flex;
  flex-direction: column;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;

  box-shadow: 0 8px 24px rgba(16, 46, 80, 0.05);
}


/* Reviewer */

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 16px;
}

.review-google-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.review-card h3 {
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;

  color: var(--ink);

  font-size: 0.95rem;
  font-weight: 800;
}


/* Stars */

.review-card .stars {
  margin-bottom: 18px;

  color: #fbbc04;

  font-size: 1rem;
  letter-spacing: 1px;
}


/* Review */

.review-card p {
  margin: 0 0 24px;

  color: #3f4b57;

  font-size: 0.93rem;
  line-height: 1.65;
}


/* Source */

.review-card .source {
  margin-top: auto;

  padding-top: 12px;

  color: var(--muted);

  font-size: 0.76rem;
}


/* Footer */

.reviews-footer {
  margin-top: 28px;
  text-align: center;
}

.reviews-google-link {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.reviews-google-link:hover {
  text-decoration: underline;
}


/* Tablet */

@media (max-width: 900px) {

  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* Mobile */

@media (max-width: 620px) {

  .reviews-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-summary {
    text-align: left;
  }

  .reviews-rating-line {
    justify-content: flex-start;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
    padding: 24px;
  }

}
/* =========================
   Split Layout
========================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.photo-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


/* =========================
   Check List
========================= */

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.check {
  display: flex;
  gap: 12px;
}

.check::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  height: 26px;
  background: var(--light);
  color: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}


/* =====================================================
   SERVICE AREA HUB
===================================================== */

.service-area-hero {
  padding: 78px 0 84px;
  background: var(--navy);
  color: #fff;
}

.service-area-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 70px;
  align-items: center;
}

.service-area-hero-copy {
  max-width: 680px;
}

.service-area-hero .eyebrow {
  color: #ff7b80;
}

.service-area-hero h1 {
  margin: 8px 0 18px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.service-area-hero-copy p {
  max-width: 650px;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
}


/* Lookup card */

.service-area-hero-checker {
  padding: 30px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  color: var(--ink);
}

.service-area-hero-checker h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.75rem;
}

.service-area-hero-checker .address-checker-head p {
  margin: 0 0 18px;
  color: var(--muted);
}


/* Google autocomplete */

.address-autocomplete {
  width: 100%;
}

.address-autocomplete gmp-place-autocomplete {
  width: 100%;
  min-height: 52px;

  background: #fff;
  border: 1px solid #cfd9e2;
  border-radius: 9px;

  color: var(--ink);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color-scheme: light;
}

.address-autocomplete gmp-place-autocomplete:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,74,139,.11);
}

.address-checker-status {
  min-height: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .77rem;
}


/* Results */

.address-result {
  margin-top: 18px;
  padding: 18px;

  display: grid;
  grid-template-columns: 36px minmax(0,1fr);
  gap: 13px;

  border-radius: 11px;
}

.address-result[hidden] {
  display: none;
}

.address-result-icon {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  font-weight: 900;
}

.address-result strong {
  display: block;
  color: var(--navy);
}

.address-result p {
  margin: 4px 0 14px;
  font-size: .83rem;
}

.address-result-success {
  background: #eef7f1;
  border: 1px solid #cfe5d5;
}

.address-result-success .address-result-icon {
  background: #dcefe2;
  color: #26733c;
}

.address-result-outside {
  background: #fff5f5;
  border: 1px solid #efd3d4;
}

.address-result-outside .address-result-icon {
  background: #f7dddd;
  color: var(--red);
}


/* Directory */

.service-area-directory-head {
  margin-bottom: 52px;
}

.location-county-group + .location-county-group {
  margin-top: 58px;
}

.location-county-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.location-county-head h3 {
  margin: 0 0 3px;
  font-size: 1.55rem;
}

.location-county-head span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.location-card {
  padding: 18px 20px;

  display: grid;
  gap: 4px;

  background: #fff;

  border: 1px solid var(--line);
  border-radius: 10px;

  transition:
    border-color .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}

.location-card:hover {
  transform: translateY(-2px);
  border-color: #b7c6d4;
  box-shadow: 0 10px 24px rgba(16,46,80,.07);
}

.location-card strong {
  color: var(--navy);
  font-size: .95rem;
}

.location-card span {
  color: var(--muted);
  font-size: .74rem;
}


/* Bottom note */

.service-area-note {
  margin-top: 58px;
  padding: 28px 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  background: var(--light);
  border-radius: 14px;
}

.service-area-note strong {
  color: var(--navy);
}

.service-area-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .88rem;
}


/* Tablet */

@media (max-width: 900px) {

  .service-area-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-area-hero-checker {
    max-width: 620px;
  }

  .location-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

}


/* Mobile */

@media (max-width: 620px) {

  .service-area-hero {
    padding: 56px 0 64px;
  }

  .service-area-hero-checker {
    padding: 22px 18px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .service-area-note {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .service-area-note .btn {
    width: 100%;
  }

}

/* =====================================================
   SERVICE AREA ADDRESS CHECKER
===================================================== */

.service-area-section {
  background: #f8fafc;
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
  align-items: center;
}

.service-area-copy {
  max-width: 560px;
}

.service-area-copy h2 {
  margin-top: 8px;
}

.service-area-counties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}

.service-area-counties span {
  padding: 7px 11px;
  background: var(--light);
  border-radius: 100px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-area-details-link {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.service-area-details-link:hover {
  text-decoration: underline;
}


/* Address checker */

.address-checker {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.address-checker-head {
  margin-bottom: 20px;
}

.address-checker-head h3 {
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.address-checker-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}


/* Google autocomplete */

.address-autocomplete {
  width: 100%;
}

.address-autocomplete gmp-place-autocomplete {
  width: 100%;
  min-height: 52px;

  background: #fff;
  color: var(--ink);

  border: 1px solid #cfd9e2;
  border-radius: 9px;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 0.95rem;

  color-scheme: light;
}

.address-autocomplete gmp-place-autocomplete:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 74, 139, 0.11);
}


/* Status */

.address-checker-status {
  min-height: 20px;
  margin-top: 8px;

  color: var(--muted);

  font-size: 0.78rem;
}


/* Results */

.address-result {
  margin-top: 20px;
  padding: 20px;

  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;

  border-radius: 12px;
}

.address-result[hidden] {
  display: none;
}

.address-result-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  font-weight: 900;
  font-size: 1rem;
}

.address-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.address-result p {
  margin: 0 0 16px;
  color: #526273;
  font-size: 0.84rem;
}

.address-result .btn {
  padding: 0.72rem 1rem;
  font-size: 0.86rem;
}


/* Success */

.address-result-success {
  background: #eef7f1;
  border: 1px solid #cfe5d5;
}

.address-result-success .address-result-icon {
  background: #dcefe2;
  color: #26733c;
}


/* Outside */

.address-result-outside {
  background: #fff5f5;
  border: 1px solid #efd3d4;
}

.address-result-outside .address-result-icon {
  background: #f7dddd;
  color: var(--red);
}


/* Tablet */

@media (max-width: 900px) {

  .service-area-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-area-copy {
    max-width: 700px;
  }

}


/* Mobile */

@media (max-width: 620px) {

  .address-checker {
    padding: 24px 18px;
  }

  .service-area-counties {
    gap: 6px;
  }

  .address-result {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 17px;
  }

  .address-result-icon {
    width: 32px;
    height: 32px;
  }

  .address-result .btn {
    width: 100%;
  }

}

.reviews-rating-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.reviews-rating-line strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.reviews-footer {
  margin-top: 24px;
  text-align: center;
}

.reviews-google-link {
  color: var(--blue);
  font-weight: 800;
}

.reviews-google-link:hover {
  text-decoration: underline;
}


/* =========================
   Customer Portal / App
========================= */

.portal-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.phone-mock {
  justify-self: end;
  width: 260px;
  background: #fff;
  border: 8px solid #0a2038;
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.phone-mock .screen {
  background: var(--light);
  border-radius: 20px;
  padding: 22px 18px;
}

.app-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  border-radius: 9px;
  padding: 0.75rem 0.9rem;
  font-weight: 800;
  font-size: 0.88rem;
}

.store-btn.dark {
  background: #081a2c;
  color: #fff;
}


/* =========================
   Internal Page Hero
========================= */

.page-hero {
  background: linear-gradient(
    135deg,
    var(--navy),
    var(--blue)
  );

  color: #fff;
  padding: 92px 0 82px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4.3vw, 4.4rem);
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}


/* =========================
   Content Cards
========================= */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cta-box {
  padding: 40px;
  border-radius: 22px;
  background: var(--navy);
  color: #fff;
}

.cta-box h2 {
  color: #fff;
}


/* =========================
   Contact
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.map-box {
  min-height: 320px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    #dfeaf3,
    #cfe0ed
  );

  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--navy);
}


/* =========================
   Footer
========================= */

footer {
  background: #081f36;
  color: rgba(255, 255, 255, 0.84);
  padding-top: 58px;
}

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

.footer-logo {
  width: 154px;
  background: #fff;
  border-radius: 7px;
  padding: 6px;
}

.footer-title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-app {
  margin-top: 26px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}


/* =========================
   Tablet
========================= */

@media (max-width: 900px) {

  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-nav.open {
    display: grid;
    padding: 0 18px 18px;
    gap: 12px;
    background: #fff;
  }

  .mobile-nav a {
    font-weight: 800;
    padding: 9px 0;
  }


  .hero {
    min-height: 560px;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(16, 46, 80, 0.98),
        rgba(16, 46, 80, 0.88) 58%,
        rgba(16, 46, 80, 0.58)
      ),
      url("../images/hero-truck.webp") center / cover no-repeat;
  }


  .quick-grid,
  .service-grid,
  .county-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }


  .split,
  .portal-band,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }


  .phone-mock {
    justify-self: start;
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* =========================
   Mobile
========================= */

@media (max-width: 620px) {

  .container {
    width: min(calc(100% - 28px), var(--max));
  }


  .topbar .container {
    justify-content: center;
  }

  .topbar span:last-child {
    display: none;
  }


  .nav-wrap {
    min-height: 68px;
  }

  .logo {
    width: 125px;
  }


  .hero {
    min-height: 600px;
  }

  .hero-copy {
    padding: 68px 0 90px;
  }


  .quick-actions {
    margin-top: -56px;
  }


  .quick-grid,
  .service-grid,
  .county-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .quick-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }


  .section {
    padding: 68px 0;
  }


  .reviews-head,
  .footer-app,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }


  .footer-app {
    display: flex;
  }


  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

}
@media (max-width: 900px) {

  .mobile-app-card {
    grid-template-columns: 1fr;
  }

  .mobile-app-features {
    grid-template-columns: 1fr;
  }

  .mobile-app-visual {
    justify-content: flex-start;
  }

}


@media (max-width: 620px) {

  .quick-actions {
    margin-top: -56px;
  }

  .mobile-app-card {
    padding: 28px 22px;
    gap: 30px;
  }

  .mobile-app-card .phone-mock {
    width: 100%;
    max-width: 240px;
  }

}

/* =====================================================
   HERO + RCC CUSTOMER PORTAL
   Homepage hero layout with new-service CTA on the left
   and RCC customer access on the right.
===================================================== */

.hero {
  min-height: 680px;
}

.hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(16, 46, 80, 0.98) 0%,
      rgba(16, 46, 80, 0.94) 42%,
      rgba(16, 46, 80, 0.72) 68%,
      rgba(16, 46, 80, 0.42) 100%
    ),
    url("../images/hero-truck.webp") center right / cover no-repeat;
}

.hero-layout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
  padding: 88px 0;
}

.hero-eyebrow {
  color: #ff777b;
  margin-bottom: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-portal {
  display: flex;
  justify-content: flex-end;
  padding: 52px 0;
}


/* =====================================================
   RCC LOGIN CARD
===================================================== */

.hero .rcc-login-card {
  width: 100%;
  max-width: 380px;
  padding: 28px;

  background: rgba(255, 255, 255, 0.98);

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;

  box-shadow:
    0 24px 65px rgba(4, 22, 40, 0.28);
}

.rcc-panel {
  display: none;
}

.rcc-panel.is-active {
  display: block;
}

.hero .rcc-login-header {
  text-align: left;
  margin-bottom: 22px;
}

.hero .rcc-login-header .eyebrow {
  margin-bottom: 7px;
}

.hero .rcc-login-header h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.hero .rcc-login-header p {
  margin: 0;

  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.5;
}


/* Form */

.hero .rcc-login-form {
  display: grid;
  gap: 14px;
}

.hero .rcc-field {
  display: grid;
  gap: 6px;
}

.hero .rcc-field label {
  color: var(--navy);

  font-size: 0.79rem;
  font-weight: 800;
}

.hero .rcc-field input {
  width: 100%;
  min-height: 46px;

  padding: 11px 13px;

  background: #f8fafc;

  border: 1px solid var(--line);
  border-radius: 9px;

  color: var(--ink);

  font: inherit;
  font-size: 0.92rem;
}

.hero .rcc-field input::placeholder {
  color: #9aa5af;
}

.hero .rcc-field input:focus {
  outline: none;

  border-color: var(--blue);

  box-shadow:
    0 0 0 3px rgba(23, 74, 139, 0.12);
}


/* Login Button */

.hero .rcc-login-button {
  width: 100%;
  min-height: 47px;

  margin-top: 3px;
  padding: 12px 16px;

  border: 0;
  border-radius: 9px;

  background: var(--red);
  color: #fff;

  font: inherit;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.hero .rcc-login-button:hover {
  background: #bd2027;
  transform: translateY(-1px);
}


/* Login Utility Links */

.rcc-login-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: 15px;

  color: var(--muted);

  font-size: 0.79rem;
}

.rcc-text-link,
.rcc-employee-link,
.rcc-back-button {
  appearance: none;

  padding: 0;

  border: 0;
  background: transparent;

  color: var(--blue);

  font: inherit;
  font-weight: 800;

  cursor: pointer;
}

.rcc-text-link:hover,
.rcc-employee-link:hover,
.rcc-back-button:hover {
  text-decoration: underline;
}

.rcc-employee-link {
  display: block;

  margin: 11px auto 0;

  font-size: 0.78rem;
}

.hero .rcc-login-footer {
  margin-top: 18px;
  padding-top: 14px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  text-align: center;

  font-size: 0.69rem;
}


/* =====================================================
   RCC REMOTE FORGOT / REGISTER / EMPLOYEE VIEWS
===================================================== */

.rcc-remote-toolbar {
  min-height: 42px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;

  margin: -4px 0 14px;
}

.rcc-remote-toolbar strong {
  color: var(--navy);

  text-align: center;

  font-size: 0.9rem;
}

.rcc-back-button {
  font-size: 0.78rem;
}

.rcc-open-link {
  color: var(--blue);

  font-size: 0.76rem;
  font-weight: 800;
}

.rcc-remote-frame {
  display: block;

  width: 100%;
  height: 500px;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: #fff;
}


/* =====================================================
   MOBILE APP PROMO
   Login has moved to the hero, so this card is now
   dedicated entirely to the mobile app.
===================================================== */

.mobile-app-card-simple {
  grid-template-columns: 1fr;
}

.mobile-app-card-simple .mobile-app-copy {
  max-width: 100%;
}

.mobile-app-card-simple .mobile-app-copy > p {
  max-width: 780px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 38px;
  }

  .hero .rcc-login-card {
    max-width: 350px;
  }

}


@media (max-width: 820px) {

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(16, 46, 80, 0.97),
        rgba(16, 46, 80, 0.86)
      ),
      url("../images/hero-truck.webp") center / cover no-repeat;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 58px 0 72px;
  }

  .hero-copy {
    max-width: 680px;
    padding: 0 0 38px;
  }

  .hero-portal {
    justify-content: flex-start;
    padding: 0;
  }

  .hero .rcc-login-card {
    width: 100%;
    max-width: 480px;
  }

  .quick-actions {
    margin-top: -28px;
  }

}


@media (max-width: 620px) {

  .hero-layout {
    padding: 48px 0 58px;
  }

  .hero-copy {
    padding: 0 0 30px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-portal {
    width: 100%;
  }

  .hero .rcc-login-card {
    max-width: none;
    padding: 22px;
  }

  .hero .rcc-login-header h2 {
    font-size: 1.7rem;
  }

  .rcc-login-options {
    flex-wrap: wrap;
  }

  .rcc-remote-frame {
    height: 440px;
  }

  .quick-actions {
    margin-top: 0;
  }

}

/* =====================================================
   HOMEPAGE REFINEMENTS
   Slim mobile app banner + final conversion CTA
===================================================== */

.app-banner {
  position: relative;
  z-index: 4;
  margin-top: -30px;
}

.app-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.app-banner-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-banner-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  background: var(--light);
  border-radius: 50%;
  font-size: 1.25rem;
}

.app-banner-copy .eyebrow {
  margin-bottom: 3px;
}

.app-banner-copy strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.app-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.app-banner .store-btn {
  white-space: nowrap;
}

.final-cta {
  background: #fff;
}

.final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 46px 50px;
  background:
    linear-gradient(
      135deg,
      rgba(16, 46, 80, 1) 0%,
      rgba(23, 74, 139, 1) 100%
    );
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.final-cta-eyebrow {
  color: #8fb9e2;
}

.final-cta-card h2 {
  max-width: 720px;
  margin-bottom: 10px;
  color: #fff;
}

.final-cta-card p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

.final-cta-actions .btn {
  width: 100%;
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.hero .rcc-login-card {
  max-width: 390px;
}

.hero-copy {
  max-width: 620px;
}

.hero-note {
  max-width: 520px;
}

.app-banner + .section {
  padding-top: 78px;
}

@media (max-width: 900px) {

  .app-banner {
    margin-top: -22px;
  }

  .app-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-banner-actions {
    width: 100%;
  }

  .final-cta-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .final-cta-actions {
    flex-direction: row;
    min-width: 0;
  }

}

@media (max-width: 620px) {

  .app-banner {
    margin-top: 0;
  }

  .app-banner-inner {
    padding: 20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .app-banner-copy {
    align-items: flex-start;
  }

  .app-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-banner-actions .store-btn {
    justify-content: center;
    width: 100%;
  }

  .final-cta-card {
    padding: 34px 24px;
    border-radius: 18px;
  }

  .final-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

}

/* =====================================================
   DYNAMIC LOCATION PAGE
===================================================== */

.location-hero {
  padding: 76px 0;
  background:
    linear-gradient(
      135deg,
      var(--navy),
      #174a8b
    );
  color: #fff;
}

.location-hero-inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    360px;
  gap: 70px;
  align-items: center;
}

.location-hero-copy {
  max-width: 760px;
}

.location-breadcrumb {
  margin-bottom: 28px;

  display: flex;
  gap: 8px;
  align-items: center;

  color: rgba(255,255,255,.62);

  font-size: .78rem;
  font-weight: 700;
}

.location-breadcrumb a:hover {
  color: #fff;
}

.location-hero .eyebrow {
  color: #ff8387;
}

.location-hero h1 {
  margin: 8px 0 20px;

  max-width: 820px;

  color: #fff;

  font-size:
    clamp(2.7rem, 5vw, 4.6rem);
}

.location-hero-copy > p {
  max-width: 680px;

  color: rgba(255,255,255,.82);

  font-size: 1.08rem;
  line-height: 1.65;
}

.location-hero-actions {
  margin-top: 30px;

  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-hero-note {
  margin-top: 18px;

  color: rgba(255,255,255,.64);

  font-size: .8rem;
}


/* Hero card */

.location-hero-card {
  padding: 30px;

  background: #fff;
  color: var(--ink);

  border-radius: 18px;

  box-shadow:
    0 20px 50px
    rgba(0,0,0,.16);
}

.location-hero-card .eyebrow {
  color: var(--red);
}

.location-hero-card h2 {
  margin-top: 8px;
  font-size: 1.65rem;
}

.location-hero-card > p {
  color: var(--muted);
  font-size: .88rem;
}

.location-service-points {
  margin-top: 22px;

  display: grid;
  gap: 12px;
}

.location-service-points > div {
  display: flex;
  gap: 10px;

  color: #405064;

  font-size: .84rem;
  font-weight: 700;
}

.location-service-points span {
  color: var(--blue);
  font-weight: 900;
}


/* Main copy */

.location-content-narrow {
  max-width: 900px;
}

.location-content-narrow h2 {
  max-width: 760px;
}

.location-lead {
  max-width: 820px;

  color: #415164;

  font-size: 1.08rem;
  line-height: 1.75;
}

.location-content-narrow > p:not(.location-lead) {
  max-width: 820px;

  color: var(--muted);
  line-height: 1.75;
}


/* =====================================================
   WRIGHT'S GAS - SERVICES / APPLIANCES / HEATING / TANKLESS
   APPEND THIS TO THE BOTTOM OF YOUR EXISTING styles.css

   If you prefer, you can link this file separately as:
   assets/css/services-append.css
===================================================== */


/* =====================================================
   SERVICES HUB HERO
===================================================== */

.services-hub-hero {
  padding: 84px 0;
  background:
    linear-gradient(
      135deg,
      var(--navy),
      #174a8b
    );
  color: #fff;
}

.services-hub-hero-inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    360px;
  gap: 70px;
  align-items: center;
}

.services-hub-copy {
  max-width: 760px;
}

.services-hub-hero .eyebrow {
  color: #ff7f84;
}

.services-hub-hero h1 {
  margin: 8px 0 20px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.services-hub-copy > p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
}

.services-hub-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.services-hub-callout {
  padding: 30px;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

.services-hub-callout .eyebrow {
  color: var(--red);
}

.services-hub-callout h2 {
  margin-top: 8px;
  font-size: 1.7rem;
}

.services-hub-callout p {
  color: var(--muted);
  font-size: .9rem;
}


/* =====================================================
   SERVICE FEATURE CARDS
===================================================== */

.services-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.services-feature-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.services-feature-card-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.services-feature-card-primary h3 {
  color: #fff;
}

.services-feature-card-primary p {
  color: rgba(255,255,255,.72);
}

.services-feature-card-primary .services-card-number,
.services-feature-card-primary .services-card-link {
  color: #fff;
}

.services-card-number {
  margin-bottom: 44px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.services-feature-card h3 {
  margin-bottom: 12px;
}

.services-feature-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.services-card-link {
  margin-top: auto;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
}


/* =====================================================
   EQUIPMENT CATEGORY CARDS
===================================================== */

.services-category-grid {
  display: grid;
  grid-template-columns:
    1.15fr
    .925fr
    .925fr;
  gap: 20px;
}

.services-category-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
}

.services-category-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-category-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8,31,54,.1),
      rgba(8,31,54,.92)
    );
}

.services-category-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  color: #fff;
}

.services-category-copy h3 {
  color: #fff;
  font-size: 1.65rem;
}

.services-category-copy p {
  max-width: 420px;
  color: rgba(255,255,255,.78);
  font-size: .88rem;
}

.services-category-label {
  margin-bottom: 8px;
  color: #ff9296;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.services-category-cta {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
}

.services-category-card-tankless {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(255,255,255,.12),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #174a8b,
      #102e50 70%
    );
}

.services-category-card-tankless::before {
  content: "";
  position: absolute;
  right: 50px;
  top: 55px;
  width: 150px;
  height: 225px;
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      #fafafa,
      #dfe6ec
    );
  box-shadow:
    inset 0 0 0 1px rgba(16,46,80,.12),
    0 25px 45px rgba(0,0,0,.18);
}

.services-category-card-tankless::after {
  content: "";
  position: absolute;
  right: 87px;
  top: 205px;
  width: 76px;
  height: 45px;
  border-radius: 7px;
  background: #102e50;
  box-shadow:
    0 -112px 0 -32px #c8d2db;
}


/* =====================================================
   SUPPORT BAND
===================================================== */

.services-support-band {
  padding: 34px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--light);
  border: 1px solid #d7e3ec;
  border-radius: 16px;
}

.services-support-band > div:first-child {
  max-width: 720px;
}

.services-support-band h2 {
  margin-top: 7px;
}

.services-support-band p {
  margin-bottom: 0;
}

.services-support-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-shrink: 0;
}

.services-text-link {
  color: var(--blue);
  font-weight: 800;
}


/* =====================================================
   PRODUCT / APPLIANCE PAGE
===================================================== */

.product-page-hero {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}

.product-page-hero-inner {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(380px, .85fr);
  gap: 64px;
  align-items: center;
}

.product-page-hero .eyebrow {
  color: #ff7f84;
}

.product-page-hero h1 {
  margin: 8px 0 20px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.product-page-hero p {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
}

.product-page-hero-image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,.2);
}

.product-page-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-editorial-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(0,1fr);
  gap: 64px;
  align-items: center;
}

.product-editorial-grid-reverse .product-editorial-copy {
  order: 1;
}

.product-editorial-grid-reverse .product-editorial-image {
  order: 2;
}

.product-editorial-image {
  overflow: hidden;
  border-radius: 18px;
}

.product-editorial-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-editorial-copy {
  max-width: 600px;
}

.product-editorial-copy p {
  color: #526273;
}

.brand-chip-row {
  margin: 24px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-chip-row span {
  padding: 8px 12px;
  background: var(--light);
  border-radius: 100px;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 800;
}

.tankless-promo-band {
  padding: 38px 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
}

.tankless-promo-band h2 {
  color: #fff;
}

.tankless-promo-band p {
  max-width: 720px;
  color: rgba(255,255,255,.72);
}


/* =====================================================
   TANKLESS HERO
===================================================== */

.tankless-hero {
  padding: 78px 0;
  background:
    linear-gradient(
      135deg,
      #102e50,
      #174a8b
    );
  color: #fff;
}

.tankless-hero-inner {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    380px;
  gap: 70px;
  align-items: center;
}

.tankless-hero .eyebrow {
  color: #ff8589;
}

.tankless-hero h1 {
  margin: 8px 0 20px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.tankless-hero-copy > p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 1.07rem;
}

.tankless-brand-row {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tankless-brand-row span {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.tankless-hero-panel {
  padding: 28px;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

.tankless-hero-panel .eyebrow {
  color: var(--red);
}

.tankless-steps {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
  list-style: none;
}

.tankless-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 12px;
}

.tankless-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--blue);
  font-size: .74rem;
  font-weight: 900;
}

.tankless-steps strong {
  color: var(--navy);
  font-size: .88rem;
}

.tankless-steps p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}


/* =====================================================
   TANKLESS BRAND OPTIONS
===================================================== */

.tankless-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.tankless-option-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition:
    border-color .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}

.tankless-option-card:hover,
.tankless-option-card.is-selected {
  transform: translateY(-2px);
  border-color: #9cb3ca;
  box-shadow: 0 12px 28px rgba(16,46,80,.08);
}

.tankless-option-card.is-selected {
  box-shadow:
    0 0 0 3px rgba(23,74,139,.11),
    0 12px 28px rgba(16,46,80,.08);
}

.tankless-option-card-recommend {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.tankless-option-kicker {
  margin-bottom: 34px;
  color: var(--red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tankless-option-card-recommend .tankless-option-kicker {
  color: #ff9296;
}

.tankless-option-card > strong {
  margin-bottom: 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.tankless-option-card-recommend > strong {
  color: #fff;
}

.tankless-option-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.tankless-option-card-recommend p {
  color: rgba(255,255,255,.68);
}

.tankless-option-action {
  margin-top: auto;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
}

.tankless-option-card-recommend .tankless-option-action {
  color: #fff;
}


/* =====================================================
   TANKLESS ORDER FORM
===================================================== */

.tankless-order-layout {
  display: grid;
  grid-template-columns:
    minmax(280px,.65fr)
    minmax(0,1.35fr);
  gap: 58px;
  align-items: start;
}

.tankless-order-copy {
  position: sticky;
  top: 130px;
}

.tankless-order-note {
  margin-top: 26px;
  padding: 18px;
  background: #fff;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  color: #526273;
  font-size: .82rem;
  line-height: 1.55;
}

.tankless-order-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.tankless-order-form {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(16,46,80,.07);
}

.tankless-form-section + .tankless-form-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.tankless-form-section h3 {
  margin-bottom: 20px;
}

.tankless-form-grid {
  display: grid;
  gap: 16px;
}

.tankless-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.tankless-field-full {
  grid-column: 1 / -1;
}

.tankless-field {
  display: grid;
  gap: 7px;
}

.tankless-field > span,
.tankless-fieldset legend {
  color: var(--navy);
  font-size: .8rem;
  font-weight: 800;
}

.tankless-field input,
.tankless-field select,
.tankless-field textarea {
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #ccd7e0;
  border-radius: 9px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.tankless-field input:focus,
.tankless-field select:focus,
.tankless-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,74,139,.11);
}

.tankless-fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.tankless-fieldset legend {
  margin-bottom: 9px;
}

.tankless-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 9px;
}

.tankless-choice-grid label {
  position: relative;
  cursor: pointer;
}

.tankless-choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tankless-choice-grid span {
  min-height: 52px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  border: 1px solid #d7dfe6;
  border-radius: 9px;
  color: #405064;
  font-size: .78rem;
  font-weight: 800;
}

.tankless-choice-grid input:checked + span {
  border-color: var(--blue);
  background: #eef5fb;
  color: var(--navy);
  box-shadow: 0 0 0 2px rgba(23,74,139,.08);
}

.tankless-order-summary {
  margin-top: 28px;
  padding: 16px 18px;
  background: #eef5fb;
  border-radius: 9px;
}

.tankless-order-summary strong {
  color: var(--navy);
}

.tankless-submit {
  width: 100%;
  margin-top: 24px;
}

.tankless-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.tankless-submit-error {
  margin-top: 12px;
  color: var(--red);
  font-size: .78rem;
}

.tankless-form-fineprint {
  margin: 12px 0 0;
  color: #7c8996;
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
}

.tankless-success {
  padding: 30px 8px;
  text-align: center;
}

.tankless-success-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 900;
}

.tankless-success p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--muted);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

  .services-feature-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .services-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-category-card-tankless {
    grid-column: 1 / -1;
  }

  .location-service-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

}


@media (max-width: 900px) {

  .services-hub-hero-inner,
  .product-page-hero-inner,
  .tankless-hero-inner,
  .tankless-order-layout {
    grid-template-columns: 1fr;
  }

  .services-hub-callout,
  .tankless-hero-panel {
    max-width: 560px;
  }

  .product-editorial-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-editorial-grid-reverse .product-editorial-copy,
  .product-editorial-grid-reverse .product-editorial-image {
    order: initial;
  }

  .tankless-option-grid {
    grid-template-columns: 1fr;
  }

  .tankless-option-card {
    min-height: auto;
  }

  .tankless-option-kicker {
    margin-bottom: 18px;
  }

  .tankless-order-copy {
    position: static;
  }

}


@media (max-width: 700px) {

  .services-feature-grid,
  .services-category-grid {
    grid-template-columns: 1fr;
  }

  .services-category-card-tankless {
    grid-column: auto;
  }

  .services-support-band,
  .tankless-promo-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .services-support-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .services-support-actions .btn {
    width: 100%;
  }

  .tankless-form-grid-2,
  .tankless-choice-grid {
    grid-template-columns: 1fr;
  }

  .tankless-order-form {
    padding: 24px 18px;
  }

}


@media (max-width: 620px) {

  .services-hub-hero,
  .product-page-hero,
  .tankless-hero {
    padding: 56px 0 62px;
  }

  .services-hub-hero h1,
  .product-page-hero h1,
  .tankless-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .services-hub-actions {
    flex-direction: column;
  }

  .services-hub-actions .btn {
    width: 100%;
  }

  .services-feature-card {
    min-height: auto;
  }

  .services-card-number {
    margin-bottom: 24px;
  }

  .services-category-card {
    min-height: 390px;
  }

  .services-category-card-tankless::before {
    right: 28px;
    top: 44px;
    width: 115px;
    height: 175px;
  }

  .services-category-card-tankless::after {
    right: 57px;
    top: 160px;
    width: 58px;
    height: 34px;
    box-shadow:
      0 -84px 0 -24px #c8d2db;
  }

}



/* Local section */

.location-two-column {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    330px;

  gap: 70px;

  align-items: start;
}

.location-two-column > div > p {
  max-width: 720px;

  color: #526273;
  line-height: 1.7;
}


/* Area card */

.location-area-card {
  padding: 28px;

  background: #f8fafc;

  border: 1px solid var(--line);
  border-radius: 14px;
}

.location-area-card h3 {
  margin-top: 7px;
  margin-bottom: 22px;
}

.location-detail-row {
  padding: 12px 0;

  display: flex;
  justify-content: space-between;
  gap: 18px;

  border-top: 1px solid var(--line);

  font-size: .82rem;
}

.location-detail-row span {
  color: var(--muted);
}

.location-detail-row strong {
  color: var(--navy);
  text-align: right;
}

.location-card-cta {
  width: 100%;
  margin-top: 22px;
}


/* Nearby */

.location-nearby-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0,1fr));

  gap: 14px;
}

.location-nearby-card {
  position: relative;

  padding: 19px 44px 19px 20px;

  display: grid;
  gap: 4px;

  background: #fff;

  border: 1px solid var(--line);
  border-radius: 10px;

  transition: .16s ease;
}

.location-nearby-card:hover {
  transform: translateY(-2px);

  border-color: #b9c7d4;

  box-shadow:
    0 10px 24px
    rgba(16,46,80,.07);
}

.location-nearby-card strong {
  color: var(--navy);
  font-size: .92rem;
}

.location-nearby-card span {
  color: var(--muted);
  font-size: .73rem;
}

.location-nearby-arrow {
  position: absolute;
  right: 18px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--blue) !important;

  font-size: 1.1rem !important;
  font-weight: 900;
}

.location-all-areas {
  margin-top: 28px;
}


/* 404 */

.location-not-found {
  padding: 100px 0;
}

.location-not-found-inner {
  max-width: 680px;
}

.location-not-found-inner p {
  color: var(--muted);
  margin-bottom: 25px;
}


/* Tablet */

@media (max-width: 900px) {

  .location-hero-inner,
  .location-two-column {
    grid-template-columns: 1fr;
  }

  .location-hero-inner {
    gap: 40px;
  }

  .location-hero-card {
    max-width: 520px;
  }

  .location-service-grid,
  .location-nearby-grid {
    grid-template-columns:
      repeat(2, minmax(0,1fr));
  }

}


/* Mobile */

@media (max-width: 620px) {

  .location-hero {
    padding: 54px 0 62px;
  }

  .location-hero h1 {
    font-size:
      clamp(2.45rem, 12vw, 3.4rem);
  }

  .location-hero-card {
    padding: 24px 20px;
  }

  .location-hero-actions {
    flex-direction: column;
  }

  .location-hero-actions .btn {
    width: 100%;
  }

  .location-service-grid,
  .location-nearby-grid {
    grid-template-columns: 1fr;
  }

}

/* =====================================================
   FEATURE FLAG LAYOUT HELPERS
===================================================== */
[data-feature-grid][data-visible-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

[data-feature-grid][data-visible-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
