/* css/styles.css */

/* ============================
   TOKENS
============================ */
:root {
  /* Brand colors */
  --color-primary: #007E9E;
  --color-primary-dark: #00657e;
  --color-accent: #BE3CB5;
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-text: #222222;
  --color-muted: #555555;
    /* NAV-ONLY lighter tints for ADA contrast */
  --nav-primary-light: #009BC2;  /* lighter blue */
  --nav-accent-light: #D373CD;   /* lighter purple */

  --radius: 0.5rem;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max-width: 1120px;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.75rem;
  --space-lg: 3.75rem;
}

/* ============================
   BASE / RESET
============================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1.05rem;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-top: 0;
}

p { font-size: 1.15rem; margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1 { margin: 0 0 0.75rem; line-height: 1.2; }
h2 { margin: 0 0 0.6rem; line-height: 1.2; }
h3 { margin: 0 0 0.5rem; line-height: 1.2; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.stack > * + * { margin-top: 1rem; }
.stack--lg > * + * { margin-top: 1.5rem; }

/* ============================
   TOP BAR (optional)
============================ */
.topbar {
  background: #000;
  color: #fff;
  font-size: 0.9rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) 0;
}

.topbar__phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ============================
   HEADER & NAV (DESKTOP)
============================ */
.site-header {
  background: linear-gradient(
    90deg,
    var(--nav-primary-light) 0%,
    var(--nav-accent-light) 100%
  );
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  grid-column: 1 / 2;
  justify-content: flex-end;
}

.nav-right {
  grid-column: 3 / 4;
  justify-content: flex-start;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-list li { display: flex; align-items: center; }

.nav-link {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  font-weight:1000;
  color: #000000;
  padding: 0.6rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  line-height: 1.2;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Hover underline effect */
.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  height: 0;
  background: transparent;
  opacity: 0;
  transform: scaleX(0.8);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    height 0.25s ease;
}

.nav-link:hover::before,
.nav-link:hover::after {
  height: 2px;
  background: rgba(41, 38, 38, 0.7);
  opacity: 1;
  transform: scaleX(1);
}

/* Active nav state */
.nav-link.is-active::before,
.nav-link.is-active::after {
  left: 0;
  right: 0;
  height: 3px;
  background: #000000;
  opacity: 1;
  transform: scaleX(1);
}

.nav-link::before { top: -6px; }
.nav-link::after { bottom: -6px; }
.nav-link.is-active::before { top: -4px; }
.nav-link.is-active::after { bottom: -4px; }

/* Centered logo */
.site-logo {
  grid-column: 2 / 3;
  justify-self: center;
  margin: 0;
}

.site-logo img {
  height: 150px;
  width: auto;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

/* ============================
   OFF-CANVAS DRAWER + OVERLAY
============================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.25s ease;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: linear-gradient(
    180deg,
    var(--nav-primary-light) 0%,
    var(--nav-accent-light) 100%
  );
  color: #000000;
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
  overflow: hidden;
}

.nav-drawer__nav {
  position: relative;
  z-index: 2;
  overflow-y: auto;
  padding-bottom: 2.5rem;
}

.nav-drawer__logo {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;           /* behind links */
  pointer-events: none; /* can't block clicks */
}

.nav-drawer__logo img {
  max-width: 180px;
  height: auto;
}


.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer__link {
  position: relative;
  display: block;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-drawer__link:hover { background: rgba(255, 255, 255, 0.08); }

.nav-drawer__link.is-active::before,
.nav-drawer__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: center;
  animation: drawerLinesIn 0.25s ease-out forwards;
}

.nav-drawer__link.is-active::before { top: 0.35rem; }
.nav-drawer__link.is-active::after { bottom: 0.35rem; }

@keyframes drawerLinesIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  /* Make active underline hug text (mobile drawer only) */
  .nav-drawer__link {
    display: inline-block;
  }

  .nav-drawer__link.is-active::before,
  .nav-drawer__link.is-active::after {
    left: 0;
    right: 0;
  }
}


/* ============================
   RESPONSIVE NAV
============================ */
@media (min-width: 901px) {
  .nav-backdrop,
  .nav-drawer { display: none; }
}

@media (max-width: 900px) {
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }

  .site-logo { margin: 0; }
  .site-logo img { height: 50px; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-left,
  .nav-right { display: none; }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-drawer {
    transform: translateX(0);
  }
}

/* =========================
   Mobile order utilities
========================= */
@media (max-width: 768px) {
  .stack-mobile {
    display: flex;
    flex-direction: column;
  }

  .mobile-first { order: 1; }
  .mobile-second { order: 2; }
}


/* =========================
   Mobile drawer submenu (match nav system)
========================= */
.nav-drawer__sublist {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0 0 0 1rem; /* indent */
  border-left: 2px solid rgba(0, 0, 0, 0.15);
}

/* inherits Inter + uppercase + spacing from .nav-drawer__link */
.nav-drawer__link--sub {
  padding: 0.65rem 1rem;  /* slightly tighter */
  font-size: 0.8rem;      /* slightly smaller than 0.85rem */
  font-weight: 800;       /* SAME as main drawer links */
  letter-spacing: 0.06em; /* SAME as main drawer links */
  text-transform: uppercase; /* SAME as main drawer links */
}


/* ============================
   SECTIONS
============================ */
.section { padding: var(--space-lg) 0; }
.section--light { background: var(--color-bg-soft); }

.section__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__header h2 { margin-bottom: 0.25rem; }
.section__header p { color: var(--color-muted); }

.section__header h2.services-heading {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
}

.section__header h2.trust-heading {
  color: var(--color-accent);
  font-size: 2.2rem;
  font-weight: 700;
}

.section--light h2.services-heading {
  font-size: 2.2rem;
}



.section--soft-top {
  padding-top: calc(var(--space-lg) + 1.25rem);
}

.eyebrow {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.section__split {
  display: grid;
  gap: var(--space-md);
  align-items: center;
}

.section__split h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.section__split h2.services-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
}


.section__split h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--color-accent);
  line-height: 1.4rem;
}

.section__split--single {
  grid-template-columns: 1fr;
}

.section__split.section__split--single {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .section__split.section__split--single {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 768px) {
  .section__split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: calc(var(--space-lg) - 1rem) 0; }
  .section__header h2.services-heading { font-size: 1.6rem; }
}


/* ============================
   HERO
============================ */
.hero {
  position: relative;
  padding: 4rem 0;
  color: #ffffff;
  overflow: hidden;
}

.hero__bg-image,
.hero__install-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__bg-image { object-position: center 45%; }
.hero__install-bg-image { object-position: 50% 43%; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 320px;
}

.hero__content { max-width: 560px; }

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero__subtitle { color: #f0f0f0; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 3.5rem;
    height: 60vh;
  }

  .hero__install{
    padding: 3rem 0 3.5rem;
    height: 40vh;
  }

  .hero__inner { min-height: 0; }

  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 8rem;
    line-height: 1.2;
  }

  .hero__bg-image {
    transform: scale(1.5);
    transform-origin: 40% center;
  }
  .hero__install-bg-image {    
    transform: scale(1.5);
    transform-origin: 55% 40%;}
}

/* ============================
   BUTTONS
============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-align: center;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

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

.btn--outline:hover { background: #d5d5d5; }

.btn--small {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.btn--light {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn--light:hover {
  background: #ffffff;
  color: #000;
}

@media (max-width: 768px) {
  .button-group,
  .btn-group,
  .hero__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

.financing-cta {
  display: flex;
  justify-content: flex-end; /* desktop */
  align-items: center;
}

/* Mobile fix */
@media (max-width: 768px) {
  .financing-cta {
    justify-content: center;
    text-align: center;
  }

  .financing-cta .btn {
    margin-left: auto;
    margin-right: auto;
  }
}



/* ============================
   CARDS
============================ */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card__image,
.maintenance__image,
.contact-us__image {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.maintenance__image { object-position: top center; }
.contact-us__image { object-position: center; }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-sm);
}

.card__body p { margin-bottom: 2rem; }

.card__body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0.5rem 0;
  color: var(--color-accent);
}

.card-cta {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  text-decoration: none;
  display: block;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.card:hover .card-cta { opacity: 0.8; }

/* Disable card hover effects in this section only */
.section--no-card-hover .card:hover,
.section--no-card-hover .card:focus-within {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.section--no-card-hover .card--link:focus-visible {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.section--no-card-hover .card:hover .card__image,
.section--no-card-hover .card:hover .card__body {
  transform: none;
}

.section--no-card-hover .card {
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  }
  .card:hover .card-cta { opacity: 0.8; }
}

/* Full card clickable */
.card--link {
  text-decoration: none;
  color: inherit;
  outline: none;
  border-radius: var(--radius);
}

.card--link * {
  text-decoration: none;
  color: inherit;
}

.card--link:hover { cursor: pointer; }

.card--link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

/* Feature list */
.feature-list { padding-left: 1.1rem; }
.feature-list li { margin-bottom: 0.25rem; }

/* Badge section */
.badge-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.badge-section__image {
  display: block;
  max-width: 100%;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
}

/* prevents flex items from forcing overflow */
.badge-section > div { min-width: 0; }

@media (min-width: 768px) {
  .badge-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.section__image {
  width: 100%;
  height: 400px;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 30% center;
  
}

.commercial__image {
  width: 100%;
  height: 400px;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 60% center;
  
}

.sleep__image {
  width: 100%;
  height: 400px;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% center;
  
}
/* ============================
   TRUST SECTION
============================ */
.trust-section {
  position: relative;
  background: url("../assets/images/trust.jpg") center/cover no-repeat;
  padding: var(--space-lg) 0;
  color: #ffffff;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.trust-section .container,
.trust-section .section__content,
.trust-section .section__header {
  position: relative;
  z-index: 2;
}

.trust-section .btn--outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.trust-section .btn--outline:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ============================
   FOOTER BASE
============================ */
.site-footer {
  background: var(--nav-primary-light);
  color: #000000;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Keep footer text from adding weird spacing */
.site-footer p { margin: 0; }

/* Logo sizing */
.footer__logo img {
  height: 150px;
  width: auto;
}

/* Social row + icons */
.footer__social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer__social a { text-decoration: none; }

.social-icon {
  color: #000000;
  font-size: 2.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.social-icon i { color: currentColor; }
.social-icon:hover { opacity: 0.5; }

/* BBB image sizing (you overwrote margin but not size) */
.footer__image {
  display: block;
  width: 40%;
  max-width: 220px;
  height: auto;
}

/* Bottom bar */
.site-footer__bottom {
  text-align: center;
  padding: var(--space-sm) 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}


/* ============================
   FOOTER FIX (GRID + BBB CENTER)
============================ */

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo / contact / social */
  grid-template-areas:
    "logo contact social"
    "badge badge badge";
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.footer__logo   { grid-area: logo; justify-self: start; }
.footer__contact{ grid-area: contact; justify-self: center; text-align: center; }
.footer__social { grid-area: social; justify-self: end; }

.footer__contact a,
.footer__contact a:visited,
.footer__contact a:hover,
.footer__contact a:focus,
.footer__contact a:active {
  color: #000000;
  text-decoration: underline; /* keep or remove if you want */
}

.footer__contact a:hover {
    font-weight: 800;
}


.footer__badge {
  grid-area: badge;
  justify-self: center;   /* centers the whole badge block */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make the image itself not "auto-margin" fight */
.footer__image {
  margin: 0;
}

/* Mobile: actually stack grid items */
@media (max-width: 700px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "contact"
      "social"
      "badge";
    justify-items: center;
    text-align: center;
  }

  .footer__logo,
  .footer__contact,
  .footer__social,
  .footer__badge {
    justify-self: center;
  }

  .footer__social { justify-content: center; }

  .footer__image {
    width: 70%;
    max-width: 260px;
  }
}


/* ============================
   MODAL (WINTER SPECIAL)
============================ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal--open { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-md);
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ============================
   FEATURE BAND
============================ */
.feature-band {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-lg) 0;
}

.feature-band__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .feature-band__inner { grid-template-columns: 1.2fr 0.8fr; }
}

.feature-band__eyebrow {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.feature-band__title {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  line-height: 1.1;
  color: #fff;
}

.feature-band__lead {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.9);
}

.feature-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-band__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem;
  border-radius: var(--radius);

  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}


.feature-band__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  line-height: 1;
}

.feature-band__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-band__btn.btn--outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.feature-band__btn.btn--outline:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.feature-band__photo {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 0.85rem;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.feature-band__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.feature-band__caption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.feature-band a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 999px;
}

/* ============================
   PANEL GRID
============================ */
.panel-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 900px) {
  .panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.panel__title {
  margin: 0 0 0.5rem;
  color: var(--color-accent);
}

.panel__list {
  margin: 0;
  padding-left: 1.1rem;
}

.panel__list li { margin-bottom: 0.35rem; }

/* ============================
   STEPS
============================ */
.steps { display: grid; gap: 0.9rem; }

.step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.step__badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--color-accent);
  color: #ffffff;
  flex: 0 0 auto;
}

.step__title { margin: 0; }

.step__text {
  margin: 0.15rem 0 0;
  color: var(--color-muted);
}

/* ============================
   FAQ
============================ */
.faq { display: grid; gap: 0.75rem; }

.faq__item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.25rem 0.9rem;
}

.faq__summary {
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 700;
  list-style: none;
}

.faq__summary::-webkit-details-marker { display: none; }

.faq__content {
  padding: 0 0 0.9rem;
  color: var(--color-muted);
}

/* ============================
   CTA CARD
============================ */
.cta-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
  display: grid;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 900px) {
  .cta-card { grid-template-columns: 1.4fr 0.6fr; }
}

.cta-card__list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.1rem;
  margin: 0.75rem 0 1rem;
}

.cta-card__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #fff;
}

/* Centered single-column CTA card (no media column) */
.cta-card--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.cta-card__content {
  max-width: 70ch;
}

.cta-card--center .cta-card__list {
  columns: 1;
  padding-left: 0;
  list-style: none;
  margin: 0.75rem 0 1rem;
}

.cta-card--center .hero__actions {
  justify-content: center;
}

.cta-card--service-area {
  grid-template-columns: 1fr;
  padding: 2rem 1.5rem;
}

.cta-card--service-area h2 {
  color: var(--color-primary); /* green */
}

.cta-card--service-area h3 {
  color: var(--color-accent); /* orange */
}

.cta-card__content--center {
  text-align: center;
  justify-items: center;
  max-width: 72ch;
  margin: 0 auto;
}

.cta-card__lede {
  color: var(--color-muted);
  margin: 0.5rem auto 1.25rem;
  max-width: 60ch;
}

/* Modern pill grid */
.pill-grid {
  list-style: none;
  margin: 1.25rem auto 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 900px;        /* prevents tall stacking */
  justify-items: center;   /* centers pills in columns */
}

.pill {
  width: 100%;
  max-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  text-align: center;
}

/* ============================
   Service Area – Mobile styles
============================= */

@media (max-width: 768px) {
  .cta-card--service-area {
    padding: 1.75rem 1.25rem;
  }

  .cta-card__content--center {
    max-width: 100%;
  }

  .services-heading {
    font-size: 2rem;
    line-height: 1.2;
  }

  /* Pill layout: intentional 2-up grid */
  .pill-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    max-width: 100%;
  }

  .pill {
    width: 100%;
    max-width: none;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
  }

  /* CTA buttons stack */
  .hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}




/* ============================
   COMMERCIAL BAND
============================ */
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }

.commercial-band {
  background: var(--color-primary);
  color: #ffffff;
  padding: var(--space-lg) 0;
}

.commercial-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .commercial-band__inner { grid-template-columns: 1fr 1.1fr; }
}

.commercial-band__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.commercial-band__content h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.commercial-band__content p {
  opacity: 0.95;
  max-width: 56ch;
}

.commercial-band__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Properties grid */
.business-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.business-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

/* ============================
   COMMERCIAL IMAGE GALLERY
============================ */
.commercial-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.commercial-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Tablet */
@media (max-width: 900px) {
  .commercial-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .commercial-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .commercial-gallery img {
    height: 150px;
  }
}


/* ============================
   MAINTENANCE SERVICE PLAN PAGE
============================ */
.plan-intro {
  padding: calc(var(--space-lg) + 0.75rem) 0 var(--space-lg);
  background: #fff;
}

.plan-intro__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 960px) {
  .plan-intro__inner { grid-template-columns: 1.15fr 0.85fr; }
}

.plan-intro__lead {
  max-width: 70ch;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.plan-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

/* Metrics */
.plan-metrics {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1rem;
}

.plan-metric {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 0.6rem;
  box-shadow: var(--shadow-soft);
}

.plan-metric dt {
  font-weight: 700;
  color: var(--color-primary);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  line-height: 1.2rem;
}

.plan-metric dd {
  margin: 0.25rem 0 0;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4rem;
  padding-top: 1rem;
}

/* Fine print */
.plan-intro__fineprint {
  font-size: 1rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

/* Right card */
.plan-intro__card {
  background: #fff;
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
}

.plan-intro__card-title {
  margin: 0 0 0.9rem;
  color: var(--color-primary);
  font-size: 1.75rem;
}

.plan-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.plan-benefits__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr); /* was: 38px 1fr */
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--color-bg-soft);
}

.plan-benefits__icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 97, 31, 0.12);
  color: var(--color-primary);
  font-size: 1.05rem;
}

.plan-benefits__item span {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: normal;
}



.plan-intro__card-cta {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.plan-intro__card-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

/* Green band with photo */
.plan-band {
  background: var(--color-primary);
  color: #fff;
  padding: calc(var(--space-lg) + 0.5rem) 0;
}

.plan-band__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 960px) {
  .plan-band__inner { grid-template-columns: 0.9fr 1.1fr; }
}

.plan-band__media img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.plan-band__content h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.plan-band__content p {
  opacity: 0.95;
  max-width: 70ch;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.checklist i { margin-top: 0.15rem; }

/* Band actions */
.plan-band__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Final CTA */
.plan-cta {
  background: #fff;
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 900px) {
  .plan-cta { grid-template-columns: 1.3fr 0.7fr; }
}

.plan-cta__actions {
  display: grid;
  gap: 0.75rem;
}

/* Keyboard focus visibility */
.plan-intro a:focus-visible,
.plan-band a:focus-visible,
.plan-cta a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 999px;
}

.plan-intro a:focus-visible,
.plan-cta a:focus-visible {
  outline-color: #000;
}

.plan-intro,
.plan-intro * {
  min-width: 0;
}



@media (max-width: 768px) {
    .plan-intro {
    padding-top: 1.25rem;
    }
  .plan-intro h1 {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    line-height: 1.15;
    text-align: center;
  }
  .plan-intro p, .plan-intro dt, .plan-intro dd {
    text-align: center;
    line-height: 1.5rem;
    padding-top: 0.2rem;
  }

}

@media (max-width: 768px) {
  .plan-intro__inner {
    gap: 1.25rem;
  }

  .plan-intro__lead {
    margin-bottom: 1rem;
  }

  .plan-intro__actions {
    justify-content: center;
  }

  .plan-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .plan-intro__card-title {
    text-align: center;
    font-size: 1.45rem;
  }

  .plan-benefits__item {
    padding: 0.25rem;
    align-items: start;
  }

  .plan-benefits__icon {
    margin-top: 0.1rem;
  }
}



/* ============================
   GOOGLE REVIEW CTA
============================ */
.review-stars {
  color: #f4b400; /* Google gold */
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.google-review-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.google-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.google-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.google-review-btn:focus-visible {
  outline: 3px solid #4285f4;
  outline-offset: 3px;
}

.google-rating { font-weight: 600; margin-bottom: 0.75rem; }

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
}

.google-rating-badge i,
.google-review-btn i {
  font-size: 1.1em;
}

.rating-score {
  font-size: 1.05rem;
  color: #111;
}

.rating-stars {
  color: #f4b400; /* Google gold */
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.rating-source {
  font-size: 0.85rem;
  color: #5f6368;
}

/* ============================
   CONTACT FORM
============================ */
.contact-form label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field { display: grid; }

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0.6rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(34, 97, 31, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 97, 31, 0.12);
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}


/* ============================
   REDUCED MOTION
============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Desktop dropdown (Maintenance)
========================= */
.nav-item {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 1000;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.dropdown__link:hover,
.dropdown__link:focus-visible {
  background: rgba(0,0,0,0.05);
  outline: none;
}

.nav-caret {
  margin-left: 6px;
  font-size: 0.9em;
}

/* Don’t show hover dropdown on touch/mobile layouts */
@media (max-width: 900px) {
  .has-dropdown .dropdown {
    display: none;
  }
}