/* =========================================================================
   Overhead Pros Garage Door — stylesheet
   Industrial / mechanical design system: steel blue + red accent,
   condensed headings, horizontal slat/panel motifs throughout.
   ========================================================================= */

:root {
  /* Steel-blue core */
  --steel-950: #0d161e;
  --steel-900: #14232e;
  --steel-800: #1c3345;
  --steel-700: #274a63;
  --steel-600: #33607f;
  --steel-500: #4c7fa0;
  --steel-300: #9dbfd3;
  --steel-200: #c3d8e5;
  --steel-100: #e3edf3;
  --steel-50:  #f4f8fa;

  /* Red accent (CTAs / emergency) */
  --red-800: #7a1109;
  --red-700: #9c160c;
  --red-600: #c41e12;
  --red-500: #e2331f;
  --red-100: #fbe1de;

  /* Neutrals */
  --ink: #172530;
  --muted: #4c5d68;
  --line: #d7e0e6;
  --white: #ffffff;

  --font-head: "Arial Narrow", "Helvetica Neue Condensed", Impact, Haettenschweiler, "Franklin Gothic Medium", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 4px;
  --shadow-md: 0 10px 30px -12px rgba(13, 22, 30, 0.45);
  --shadow-lg: 0 24px 48px -20px rgba(13, 22, 30, 0.55);

  --container: 1180px;
}

/* ---------------------------------------------------------------------- */
/* Reset / base                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--steel-950);
  margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 var(--space-2); color: var(--muted); }
a { color: var(--red-600); }
ul { padding-left: 1.2rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

main { display: block; }

/* Visible focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red-600);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

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

/* ---------------------------------------------------------------------- */
/* Slat / panel motif — reusable horizontal-bar textures                  */
/* ---------------------------------------------------------------------- */
.slats {
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.07) 0px,
    rgba(255, 255, 255, 0.07) 5px,
    rgba(0, 0, 0, 0.12) 5px,
    rgba(0, 0, 0, 0.12) 8px,
    transparent 8px,
    transparent 26px
  );
}

.slats-dark {
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0px,
    rgba(0, 0, 0, 0.18) 4px,
    transparent 4px,
    transparent 24px
  );
}

.slat-divider {
  height: 18px;
  width: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--steel-700) 0px,
    var(--steel-700) 3px,
    var(--steel-500) 3px,
    var(--steel-500) 5px,
    transparent 5px,
    transparent 9px
  );
}

.slat-divider--red {
  background-image: repeating-linear-gradient(
    to bottom,
    var(--red-700) 0px,
    var(--red-700) 3px,
    var(--red-500) 3px,
    var(--red-500) 5px,
    transparent 5px,
    transparent 9px
  );
}

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* ---------------------------------------------------------------------- */
.site-header {
  background: var(--steel-950);
  border-bottom: 4px solid var(--red-600);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar {
  background: var(--steel-900);
  color: var(--steel-200);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  padding-block: 0.4rem;
}
.topbar a {
  color: var(--steel-100);
  text-decoration: none;
  font-weight: 600;
}
.topbar a:hover { color: var(--red-500); }
.topbar__emergency {
  color: var(--red-500);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}
.brand__mark {
  flex-shrink: 0;
}
.brand__text {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1;
}
.brand__text strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--white);
}
.brand__text span {
  display: block;
  font-size: 0.72rem;
  color: var(--red-500);
  letter-spacing: 0.14em;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  border-radius: var(--radius);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bar::before { position: absolute; top: -7px; }
.nav-toggle__bar::after { position: absolute; top: 7px; }

.main-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-3);
  align-items: center;
}
.main-nav__list a {
  color: var(--steel-100);
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 3px solid transparent;
}
.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--red-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--red-700); }
.btn-outline {
  background: transparent;
  border-color: var(--steel-300);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }
.btn-steel {
  background: var(--steel-700);
  color: var(--white);
}
.btn-steel:hover { background: var(--steel-600); }
.btn-block { width: 100%; justify-content: center; }
.nav-cta { margin-left: var(--space-2); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--steel-950) 0%, var(--steel-800) 55%, var(--steel-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 10px solid var(--red-600);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.035) 0px,
    rgba(255,255,255,0.035) 2px,
    transparent 2px,
    transparent 34px
  );
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-6);
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red-500);
  font-size: 0.85rem;
  margin-bottom: var(--space-2);
  border-left: 4px solid var(--red-600);
  padding-left: 0.6rem;
}
.hero h1 { color: var(--white); }
.hero__lede {
  color: var(--steel-200);
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}
.hero__art { justify-self: center; width: 100%; max-width: 480px; }

.hero--page {
  padding-block: var(--space-5);
}
.hero--page .container { grid-template-columns: 1fr; padding-block: var(--space-5); text-align: left; }
.hero--page .hero__lede { max-width: 65ch; }

/* ---------------------------------------------------------------------- */
/* Stats bar                                                              */
/* ---------------------------------------------------------------------- */
.stats-bar {
  background: var(--red-700);
  color: var(--white);
  background-image:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.16) 0px, rgba(0,0,0,0.16) 3px, transparent 3px, transparent 20px),
    linear-gradient(120deg, var(--red-700), var(--red-600));
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
}
.stat {
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: var(--space-2);
}
.stat:first-child { border-left: none; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  display: block;
}
.stat__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--red-100);
  margin-top: 0.4rem;
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Section rhythm                                                         */
/* ---------------------------------------------------------------------- */
.section {
  padding-block: var(--space-6);
}
.section--tight { padding-block: var(--space-5); }
.section--alt { background: var(--steel-50); }
.section--dark {
  background: var(--steel-950);
  color: var(--steel-100);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--steel-300); }

.section__head {
  max-width: 62ch;
  margin-bottom: var(--space-4);
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--red-600);
  margin-bottom: 0.5rem;
}
.section--dark .section__eyebrow { color: var(--red-500); }

/* ---------------------------------------------------------------------- */
/* Cards / grids                                                          */
/* ---------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-3);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.card__band {
  height: 10px;
  background-image: repeating-linear-gradient(
    to right,
    var(--steel-700) 0, var(--steel-700) 18px,
    var(--red-600) 18px, var(--red-600) 22px
  );
}
.card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--steel-900);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.2rem; }
.card__link {
  margin-top: auto;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--red-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card__link:hover { color: var(--red-700); }

.service-card { position: relative; }

/* Why-choose-us feature list */
.feature {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.feature__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--steel-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature p { margin: 0; }

/* ---------------------------------------------------------------------- */
/* Testimonials                                                           */
/* ---------------------------------------------------------------------- */
.testimonials {
  background: var(--steel-900);
  color: var(--white);
  position: relative;
}
.testimonial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.testimonial {
  margin: 0;
  background: var(--steel-800);
  border-left: 4px solid var(--red-600);
  padding: var(--space-3);
  border-radius: var(--radius);
}
.testimonial__stars {
  color: var(--red-500);
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}
.testimonial p {
  color: var(--steel-100);
  font-style: italic;
}
.testimonial__name {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  font-style: normal;
  margin-top: var(--space-2);
  display: block;
}
.testimonial__loc {
  color: var(--steel-300);
  font-size: 0.85rem;
  font-style: normal;
}

/* ---------------------------------------------------------------------- */
/* CTA banner                                                             */
/* ---------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--red-700), var(--red-600));
  color: var(--white);
  background-image:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.14) 0px, rgba(0,0,0,0.14) 3px, transparent 3px, transparent 22px),
    linear-gradient(120deg, var(--red-700), var(--red-600));
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-block: var(--space-5);
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-banner p { color: var(--red-100); margin: 0; max-width: 55ch; }
.cta-banner__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* Service areas                                                          */
/* ---------------------------------------------------------------------- */
.area-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.area-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel-700);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  color: var(--steel-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.area-chip svg { width: 16px; height: 16px; flex-shrink: 0; }

.area-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.area-detail h3 { display: flex; align-items: center; gap: 0.5rem; }

/* ---------------------------------------------------------------------- */
/* Team / about                                                           */
/* ---------------------------------------------------------------------- */
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: var(--space-2);
  border: 3px solid var(--red-600);
}
.team-card { text-align: left; }
.team-card__role {
  color: var(--red-600);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
  margin-bottom: 0.4rem;
  display: block;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}
.value-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
}
.value-list strong { display: block; color: var(--steel-950); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-2);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--steel-900);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------------- */
/* Contact page                                                           */
/* ---------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: var(--space-3);
}
.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--steel-900);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-info__item p { margin: 0; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2);
  background: var(--white);
  border: 1px solid var(--line);
}
.hours-table caption {
  text-align: left;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: var(--steel-950);
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hours-table thead th {
  background: var(--steel-900);
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hours-table tbody tr:last-child th,
.hours-table tbody tr:last-child td { border-bottom: none; }
.hours-table td.emph { color: var(--red-600); font-weight: 700; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: var(--space-2); }
.form-row label {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--steel-950);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--steel-50);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid var(--red-500);
  outline-offset: 1px;
  border-color: var(--red-500);
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: var(--space-1); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-3);
}
.map-frame svg { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--steel-950);
  color: var(--steel-300);
  border-top: 6px solid var(--red-600);
}
.footer-top {
  padding-block: var(--space-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: var(--space-2);
}
.footer-brand strong {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--white);
}
.footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-list a { color: var(--steel-300); text-decoration: none; }
.footer-list a:hover { color: var(--white); }
.footer-nap p { color: var(--steel-300); margin: 0 0 0.4rem; }
.footer-nap a { color: var(--steel-100); text-decoration: none; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid var(--steel-800);
  padding-block: var(--space-2);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--steel-300); }

/* ---------------------------------------------------------------------- */
/* Utility                                                                */
/* ---------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { display: flex; gap: 0.55rem; padding: 0.35rem 0; }
.list-plain svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 0.15rem; }

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; order: -1; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-3); }
  .stat:nth-child(3) { border-left: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--steel-900);
    border-bottom: 4px solid var(--red-600);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 640px; overflow-y: auto; }
  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--space-3) var(--space-3);
  }
  .main-nav__list a {
    display: block;
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid var(--steel-800);
  }
  .nav-cta { margin: var(--space-2) 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Addendum — Booking / Client Portal / Estimate Builder
   Appended rules only; nothing above this block was modified.
   ========================================================================= */

/* ---------------------------------------------------------------------- */
/* Nav overflow safety (more links added: Get Estimate, Client Portal,     */
/* Book Now) — allow the desktop nav to wrap onto a second line instead    */
/* of overflowing/causing horizontal scroll at narrower desktop widths.    */
/* ---------------------------------------------------------------------- */
.main-nav__list {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.6rem;
  gap: var(--space-2) var(--space-3);
}

.btn-emergency {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(196, 30, 18, 0.55);
  animation: ohpBtnPulse 2.4s ease-in-out infinite;
}
.btn-emergency:hover { background: var(--red-700); }
.btn-emergency svg { width: 16px; height: 16px; flex-shrink: 0; }
@keyframes ohpBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 30, 18, 0.55); }
  50% { box-shadow: 0 0 0 9px rgba(196, 30, 18, 0); }
}
.nav-cta--book { margin-left: var(--space-1); }
@media (max-width: 720px) {
  .nav-cta--book { margin-left: 0; }
}

/* Demo label — small, honest note that a page's app is a client-side demo */
.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--steel-800);
  color: var(--steel-300);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-head);
  white-space: nowrap;
}
.footer-bottom .demo-tag { background: var(--steel-800); color: var(--steel-200); }

/* Contextual callout (e.g. contact.html → booking.html) */
.callout {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--red-100);
  border: 1px solid var(--red-500);
  border-left: 5px solid var(--red-600);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}
.callout p { color: var(--red-800); margin: 0; }
.callout strong { color: var(--red-800); }
.callout__text { max-width: 48ch; }

/* ---------------------------------------------------------------------- */
/* Emergency same-day banner + mode toggle (booking.html)                  */
/* ---------------------------------------------------------------------- */
.emergency-banner {
  background: linear-gradient(120deg, var(--red-700), var(--red-600));
  background-image:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.14) 0px, rgba(0,0,0,0.14) 3px, transparent 3px, transparent 20px),
    linear-gradient(120deg, var(--red-700), var(--red-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
  border: 2px solid var(--red-800);
}
.emergency-banner__text h2 { color: var(--white); margin-bottom: 0.2rem; font-size: 1.35rem; }
.emergency-banner__text p { color: var(--red-100); margin: 0; }
.emergency-toggle {
  display: inline-flex;
  background: rgba(13, 22, 30, 0.35);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  flex-shrink: 0;
}
.emergency-toggle button {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
  color: var(--red-100);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}
.emergency-toggle button[aria-pressed="true"] {
  background: var(--white);
  color: var(--red-700);
}

/* ---------------------------------------------------------------------- */
/* Booking calendar / time slots                                          */
/* ---------------------------------------------------------------------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-4);
  align-items: start;
}
.calendar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--space-3);
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.calendar-head h3 { margin: 0; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  text-align: center;
}
.calendar-grid .dow {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--muted);
  padding-bottom: 0.3rem;
}
.cal-day {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-weight: 600;
  color: var(--steel-950);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-day:hover:not(:disabled) { border-color: var(--red-500); color: var(--red-600); }
.cal-day.is-selected { background: var(--red-600); color: var(--white); border-color: var(--red-600); }
.cal-day:disabled { color: var(--steel-300); background: var(--steel-50); cursor: not-allowed; border-style: dashed; }
.cal-day.is-empty { visibility: hidden; cursor: default; border: none; }
.cal-day.is-today:not(:disabled) { box-shadow: inset 0 0 0 2px var(--red-500); }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: var(--space-2);
}
.slot-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--steel-950);
}
.slot-btn:hover:not(:disabled) { border-color: var(--red-500); color: var(--red-600); }
.slot-btn.is-selected { background: var(--steel-900); color: var(--white); border-color: var(--steel-900); }
.slot-btn:disabled { color: var(--steel-300); background: var(--steel-50); cursor: not-allowed; border-style: dashed; }

/* ---------------------------------------------------------------------- */
/* Confirmation screen                                                    */
/* ---------------------------------------------------------------------- */
.confirm-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5) var(--space-4);
  max-width: 640px;
  margin-inline: auto;
}
.confirm-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--steel-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  animation: ohpPopIn 0.4s ease;
}
.confirm-check--emergency { background: var(--red-600); }
@keyframes ohpPopIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.confirm-ref {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--red-600);
  background: var(--steel-50);
  border: 1px dashed var(--line);
  padding: 0.6rem 1rem;
  display: inline-block;
  border-radius: var(--radius);
  margin: var(--space-2) 0;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: 0.75rem;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}
.steps-list li { display: flex; gap: 0.75rem; }
.steps-list .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------------- */
/* Login screen (portal.html)                                             */
/* ---------------------------------------------------------------------- */
.login-wrap { max-width: 440px; margin-inline: auto; }
.login-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
}
.login-card h2 { text-align: center; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin: var(--space-3) 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.secure-note svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* Portal dashboard                                                       */
/* ---------------------------------------------------------------------- */
.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  background: var(--steel-950);
  color: var(--white);
  padding: var(--space-3);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}
.portal-topbar h2 { color: var(--white); margin: 0; font-size: 1.3rem; }
.portal-topbar p { color: var(--steel-300); margin: 0; font-size: 0.9rem; }

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.portal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--space-3);
}
.portal-card--span { grid-column: 1 / -1; }
.portal-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.appt-item { display: flex; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.appt-item:last-child { border-bottom: none; padding-bottom: 0; }
.appt-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  background: var(--steel-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.4rem 0.2rem;
}
.appt-date .mon { display: block; font-size: 0.62rem; text-transform: uppercase; color: var(--red-500); font-family: var(--font-head); }
.appt-date .day { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.1; }
.appt-item h4 { margin: 0 0 0.15rem; font-size: 0.98rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; color: var(--steel-950); }
.appt-item p { margin: 0; font-size: 0.87rem; }

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-pill--done { background: var(--steel-100); color: var(--steel-800); }
.status-pill--paid { background: #dff3e3; color: #1c6b34; }
.status-pill--due { background: var(--red-100); color: var(--red-800); }
.status-pill--scheduled { background: var(--steel-900); color: var(--white); }

.table-simple { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table-simple th, .table-simple td { text-align: left; padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--line); }
.table-simple thead th { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.72rem; color: var(--muted); }
.table-simple tbody tr:last-child td { border-bottom: none; }

.invoice-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
}
.invoice-block:last-child { margin-bottom: 0; }
.invoice-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.invoice-head strong { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; color: var(--steel-950); }
.invoice-items { width: 100%; margin-top: 0.6rem; border-top: 1px dashed var(--line); padding-top: 0.5rem; }
.invoice-items div { display: flex; justify-content: space-between; font-size: 0.87rem; padding: 0.2rem 0; color: var(--muted); }
.invoice-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  color: var(--steel-950);
}
.invoice-actions { margin-top: 0.75rem; }

/* ---------------------------------------------------------------------- */
/* Warranty + tune-up plan cards                                          */
/* ---------------------------------------------------------------------- */
.warranty-card {
  border-left: 4px solid var(--steel-700);
  background: var(--steel-50);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: 0.75rem;
}
.warranty-card:last-child { margin-bottom: 0; }
.warranty-card strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; color: var(--steel-950); font-size: 0.95rem; }
.warranty-card span { font-size: 0.85rem; color: var(--muted); }
.warranty-card.is-expiring { border-left-color: var(--red-600); background: var(--red-100); }
.warranty-card.is-expiring span { color: var(--red-800); }

.plan-card {
  background: linear-gradient(160deg, var(--steel-950), var(--steel-800));
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
}
.plan-card h3 { color: var(--white); }
.plan-card p { color: var(--steel-300); }
.plan-card ul { list-style: none; padding: 0; margin: var(--space-2) 0; display: grid; gap: 0.5rem; }
.plan-card li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--steel-100); font-size: 0.89rem; }
.plan-card li svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 0.2rem; }
.plan-next {
  margin-top: var(--space-2);
  font-size: 0.82rem;
  color: var(--red-500);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-top: 1px solid var(--steel-700);
  padding-top: 0.6rem;
}

/* ---------------------------------------------------------------------- */
/* Payment modal                                                          */
/* ---------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 30, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  z-index: 300;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  padding: var(--space-4);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--muted);
  border-radius: var(--radius);
  line-height: 0;
}
.modal-close:hover { color: var(--red-600); }
.modal-close svg { width: 20px; height: 20px; }
.modal-error {
  background: var(--red-100);
  color: var(--red-800);
  border: 1px solid var(--red-500);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: var(--space-2);
}
.modal-spinner { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-4) 0; }
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid var(--steel-100);
  border-top-color: var(--red-600);
  animation: ohpSpin 0.8s linear infinite;
}
@keyframes ohpSpin { to { transform: rotate(360deg); } }
.modal-success { text-align: center; padding: var(--space-3) 0; }

/* ---------------------------------------------------------------------- */
/* Estimate builder — radio-card pickers + price range                    */
/* ---------------------------------------------------------------------- */
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; }
.option-card { position: relative; }
.option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.option-card label {
  display: block;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-2);
  cursor: pointer;
  background: var(--white);
}
.option-card label strong {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--steel-950);
  font-size: 0.95rem;
}
.option-card label span { font-size: 0.8rem; color: var(--muted); }
.option-card input:checked + label { border-color: var(--red-600); background: var(--red-100); box-shadow: var(--shadow-md); }
.option-card input:checked + label strong { color: var(--red-800); }
.option-card input:focus-visible + label { outline: 3px solid var(--red-500); outline-offset: 2px; }

.price-range-card {
  background: var(--steel-950);
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-lg);
}
.price-range-card .label {
  color: var(--steel-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-family: var(--font-head);
}
.price-range {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--white);
  margin: 0.4rem 0;
  line-height: 1.1;
}
.price-range .sep { color: var(--red-500); margin: 0 0.3rem; }
.price-range-note { color: var(--steel-300); font-size: 0.85rem; margin: 0; }
.estimate-breakdown { margin-top: var(--space-3); text-align: left; border-top: 1px solid var(--steel-800); padding-top: var(--space-2); display: grid; gap: 0.2rem; }
.estimate-breakdown div { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; padding: 0.3rem 0; color: var(--steel-200); }
.estimate-breakdown div:last-child { border-top: 1px solid var(--steel-800); margin-top: 0.3rem; padding-top: 0.5rem; }
.estimate-breakdown div strong { color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Addendum responsive                                                    */
/* ---------------------------------------------------------------------- */
@media (max-width: 960px) {
  .booking-layout { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .price-range-card { position: static; }
}
@media (max-width: 720px) {
  .emergency-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .emergency-toggle { justify-content: center; }
  .slot-grid { grid-template-columns: 1fr; }
  .calendar-grid { gap: 0.25rem; }
  .invoice-head { flex-direction: column; align-items: flex-start; }
}
