﻿/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #111; background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAV BAR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-logo img {
  height: 50px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: #f1f5f9;
  color: #17337a;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: " \25BE";
  font-size: 11px;
  opacity: 0.6;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  border-radius: 0;
}
.nav-dropdown-menu a:hover {
  background: #fef2f2;
  color: #17337a;
}
/* Areas mega dropdown */
/* Two-level flyout: Areas > Counties > Cities */
.nav-mega {
  position: relative;
}
.nav-mega > a::after {
  content: " \25BE";
  font-size: 11px;
  opacity: 0.6;
}
.nav-mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 1001;
  min-width: 220px;
}
.nav-mega:hover .nav-mega-menu {
  display: block;
}
/* County row ג€” shows city flyout on hover */
.nav-mega-county {
  position: relative;
}
.nav-mega-county-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-mega-county-title::after {
  content: "\25B8";
  font-size: 10px;
  opacity: 0.4;
  margin-left: 12px;
}
.nav-mega-county:hover > .nav-mega-county-title,
.nav-mega-county-title:hover {
  background: #fef2f2;
  color: #17337a;
}
/* City flyout panel ג€” appears on county hover */
.nav-mega-cities {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 8px 0;
  min-width: 200px;
  z-index: 1002;
}
.nav-mega-county:hover > .nav-mega-cities {
  display: block;
}
.nav-mega-cities a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-mega-cities a:hover {
  background: #fef2f2;
  color: #17337a;
}

/* Mobile areas submenu with counties */
.mob-areas-submenu {
  display: none;
  background: #f8fafc;
}
.mob-areas-submenu.open {
  display: block;
}
.mob-county-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 24px 12px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #17337a;
  border-bottom: 1px solid #e2e8f0;
}
.mob-county-toggle::after {
  content: "\25BE";
  font-size: 11px;
  transition: transform 0.3s;
}
.mob-county-toggle.open::after {
  transform: rotate(180deg);
}
.mob-county-cities {
  display: none;
  background: #f1f5f9;
}
.mob-county-cities.open {
  display: block;
}
.mob-county-cities a {
  padding: 10px 24px 10px 56px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #475569 !important;
}
.mob-county-cities a:hover {
  color: #17337a !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  font-size: 28px;
  font-weight: 700;
  color: #17337a;
  letter-spacing: -0.5px;
}
.nav-cta {
  display: inline-block;
  background: #122a63;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: #b71c1c;
  transform: scale(1.05);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  padding: 8px 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-mobile .nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-mobile .nav-logo {
  flex-shrink: 0;
}
.nav-mobile .mob-phone {
  font-size: 22px;
  font-weight: 700;
  color: #17337a;
  letter-spacing: -0.5px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1E293B;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.mob-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 0; right: 0;
  background: #fff;
  z-index: 1001;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 12px 0;
  max-height: calc(100vh - 66px);
  overflow-y: auto;
}
.mob-menu.open {
  display: block;
}
.mob-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #1E293B;
  border-bottom: 1px solid #f1f5f9;
}
.mob-menu a:hover,
.mob-menu a.active {
  background: #fef2f2;
  color: #17337a;
}
.mob-menu .mob-submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #1E293B;
  border-bottom: 1px solid #f1f5f9;
}
.mob-menu .mob-submenu-toggle::after {
  content: "\25BE";
  font-size: 12px;
  transition: transform 0.3s;
}
.mob-menu .mob-submenu-toggle.open::after {
  transform: rotate(180deg);
}
.mob-submenu {
  display: none;
  background: #f8fafc;
}
.mob-submenu.open {
  display: block;
}
.mob-submenu a {
  padding: 12px 24px 12px 40px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
}
.mob-menu .mob-cta {
  display: block;
  margin: 12px 24px;
  padding: 14px;
  background: #122a63;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: none;
}
.mob-menu .mob-cta:hover {
  background: #b71c1c;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("/images/american-gds-garage-door-hero-san-mateo.png");
  background-size: cover;
  background-position: center left;
  background-color: rgba(255,255,255,0.5);
  padding: 120px 40px 60px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(255,255,255,0.17) 10%, rgba(255,255,255,0.73) 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-left {
  flex: 1;
}
.hero-right {
  flex: 0 0 480px;
}

/* Hero text */
.hero-heading {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #000;
  text-shadow: 0 0 6px rgba(255,255,255,0.8), 0 0 12px rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.hero-divider {
  width: 60px;
  height: 4px;
  background: #17337a;
  margin: 20px 0;
}
.hero-subheading {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  color: #111;
  line-height: 1.5;
  margin-bottom: 24px;
  text-shadow: 0 0 6px rgba(255,255,255,0.8);
}

/* Star rating */
.hero-rating {
  margin-bottom: 8px;
}
.hero-stars {
  color: #FFC107;
  font-size: 28px;
  letter-spacing: 2px;
}
.hero-rating-text {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin-top: 4px;
}

/* Social proof images - desktop (two separate images) */
.hero-social-proof-desktop {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 16px;
}
.hero-social-proof-desktop img {
  width: auto;
  max-width: 24%;
  height: auto;
  object-fit: contain;
}
/* Social proof - mobile (single combined banner) */
.hero-social-proof-mobile {
  display: none;
  margin-top: 16px;
}
.hero-social-proof-mobile img {
  width: 100%;
  height: auto;
}

/* Call button in hero */
.hero-call-btn {
  display: inline-block;
  margin-top: 20px;
  background: #122a63;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  text-transform: uppercase;
}
.hero-call-btn:hover {
  background: #b71c1c;
  transform: scale(1.05);
}

/* ===== MOBILE STICKY BAR ===== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  padding: 10px 16px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  align-items: center;
  justify-content: space-between;
}
.mobile-sticky-bar .sticky-text {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.3;
}
.mobile-sticky-bar .sticky-text span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #64748B;
}
.mobile-sticky-bar .sticky-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #122a63;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ===== FORM ===== */
.form-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  padding: 28px 28px 32px;
}
.embedded-form-card {
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.embedded-form-iframe {
  width: 100%;
  height: 521px;
  border: none;
  display: block;
  border-radius: 14px;
}
.form-card h2 {
  font-size: clamp(16px, 2.4vw, 26px);
  font-weight: 600;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.35;
  letter-spacing: -0.8px;
}
.form-card .form-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  color: #222;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-full {
  grid-column: 1 / -1;
}
.field-wrapper {
  display: flex;
  flex-direction: column;
}
.form-field {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  background: #F5F5F5;
  color: #222;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-field::placeholder { color: #8c8c8c; }
.form-field:focus {
  border-color: #17337a;
  box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}
select.form-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23222' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 45px;
  cursor: pointer;
}
textarea.form-field {
  min-height: 110px;
  resize: vertical;
}
.form-submit {
  grid-column: 1 / -1;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: #122a63;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: #b71c1c; }

/* ===== REVIEWS BAR (carousel) ===== */
.reviews-bar {
  background: #fff;
  padding: 20px 0;
}
.reviews-carousel {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 20px;
}
.reviews-track {
  display: flex;
  align-items: center;
  transition: transform 0.7s ease;
}
.review-badge {
  flex: 0 0 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 50px;
  box-sizing: border-box;
}
.review-badge img {
  height: clamp(50px, 6vw, 73px);
  width: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .review-badge {
    flex: 0 0 33.333%;
    padding: 0 16px;
  }
}

/* ===== COUPONS SECTION ===== */
.coupons-section {
  background: transparent;
  padding: clamp(28px, 6vw, 64px) 16px;
  font-family: "Poppins", system-ui, sans-serif;
}
.coupons-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.coupons-head {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.coupons-eyebrow {
  color: #17337a;
  font-weight: 700;
  margin: 0 0 8px;
}
.coupons-title {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  margin: 0;
  color: #1E293B;
  font-weight: 700;
}
.coupons-sub {
  margin: 8px 0 0;
  color: #6b7280;
  font-weight: 500;
}
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vw, 22px);
}
.coupon-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}
.coupon-media {
  background: #fafafa;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.coupon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coupon-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 18px 20px;
}
.coupon-discount {
  color: #17337a;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.coupon-svc {
  margin: 0 0 8px;
  color: #1E293B;
  font-weight: 700;
  font-size: clamp(18px, 2.3vw, 22px);
}
.coupon-perk {
  margin: 0 0 12px;
  color: #1E293B;
  font-weight: 600;
  font-size: 14px;
}
.coupon-expires {
  color: #17337a;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}
.coupon-fine {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .coupons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
  background: #fff;
  padding: clamp(40px, 6vw, 80px) 20px 20px;
}
.why-choose-wrap {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: stretch;
}
.why-choose-text {
  flex: 0 1 491px;
}
.why-choose-text h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  color: #000;
  line-height: 1.2;
  margin: 0 0 20px;
}
.why-choose-divider {
  width: 44px;
  height: 4px;
  background: #17337a;
  margin: 0 0 24px;
}
.why-choose-text .wc-body {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  color: #000;
  line-height: 1.68;
  margin: 0 0 24px;
}
.why-choose-text .wc-cta {
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  margin: 0;
}
.why-choose-image {
  flex: 0 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.why-choose-image .wc-badge {
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  text-align: center;
  padding: 12px 20px;
  width: 100%;
}
.why-choose-image img {
  width: 100%;
  height: auto;
  display: block;
}
.why-choose-image .wc-emergency {
  background: #17337a;
  color: #fff;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  text-align: center;
  padding: 14px 20px;
  width: 100%;
}

/* ===== CTA BUTTONS ROW ===== */
.cta-buttons-section {
  background: #fff;
  padding: 40px 20px 60px;
  text-align: center;
}
.cta-buttons-wrap {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #17337a;
  color: #fff;
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 700;
  padding: 18px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211,47,47,0.35);
}
.cta-call-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.cta-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1E293B;
  color: #fff;
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  background: #c1121f;
}
.cta-book-btn svg {
  stroke: #fff;
  width: 18px;
  height: 18px;
}

/* ===== CLIENTS SMILE SECTION ===== */
.clients-section {
  background: #fff;
  padding: clamp(40px, 6vw, 80px) 20px 40px;
  text-align: center;
}
.clients-wrap {
  max-width: 1140px;
  margin: 0 auto;
}
.clients-heading {
  font-size: clamp(28px, 3.6vw, 39px);
  font-weight: 600;
  color: #000;
  margin: 0 0 16px;
  line-height: 1.2;
}
.clients-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  color: #000;
  line-height: 1.9;
  max-width: 900px;
  margin: 0 auto 40px;
}
.clients-photo-desktop {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 32px;
  border-radius: 0;
}
.clients-photo-mobile {
  display: none;
  width: 100%;
  margin: 0 auto 32px;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
  background: #fff;
  padding: clamp(40px, 6vw, 80px) 16px;
  text-align: center;
}
.brands-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.brands-eyebrow {
  color: #17337a;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 8px;
}
.brands-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #111;
  letter-spacing: -1.3px;
  margin: 0 0 16px;
  line-height: 1.2;
}
.brands-desc {
  font-size: clamp(14px, 1.4vw, 16px);
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.brands-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  flex-wrap: wrap;
}
.brands-logos img {
  height: clamp(50px, 7vw, 90px);
  width: auto;
  object-fit: contain;
  filter: grayscale(0);
  transition: filter 0.3s;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}
.benefits-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.benefits-headline {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.benefits-intro {
  font-size: clamp(14px, 1.4vw, 17px);
  color: #4a5568;
  max-width: 750px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.benefit-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.benefit-icon {
  width: 100%;
  padding: 40px 24px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7fafc;
}
.benefit-icon svg {
  width: 64px;
  height: 64px;
  fill: #17337a;
}
.benefit-content {
  padding: 24px;
}
.benefit-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px;
}
.benefit-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}
@media (max-width: 1023px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .benefits-section { padding: 40px 12px; }
  .benefits-headline { font-size: 1.6rem; letter-spacing: -0.3px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .benefit-icon { padding: 28px 16px 16px; }
  .benefit-icon svg { width: 48px; height: 48px; }
  .benefit-content { padding: 16px; }
}

/* ===== SERVICES GRID SECTION ===== */
.services-section {
  background: #F5F5F5;
  padding: 40px 20px;
  text-align: center;
}
.services-section .services-header {
  margin-bottom: 30px;
}
.services-section .services-title {
  font-weight: 700;
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 10px;
  color: #000;
}
.services-section .services-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  color: #333;
  margin: 0 auto;
  max-width: 500px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  padding: 28px 20px;
  width: 100%;
  max-width: 320px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-card .service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  display: block;
}
.service-card .service-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #000;
}
.service-card .service-copy {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { max-width: 100%; }
}

/* ===== SCHEDULE CTA SECTION ===== */
.schedule-cta-section {
  background: #F5F5F5;
  padding: clamp(40px, 6vw, 80px) 20px;
  text-align: center;
}
.schedule-cta-heading {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 12px;
}
.schedule-cta-sub {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  color: #64748B;
  margin: 0 0 32px;
}
.schedule-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #fff;
  padding: 60px 20px 0;
  border-top: 1px solid #E2E8F0;
}
.footer-wrap {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.footer-col {
  flex: 1;
}
.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col-left img {
  height: 55px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #17337a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 320px;
}
.footer-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}
.footer-col-center h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 16px;
}
.footer-col-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col-center ul li {
  font-size: 16px;
  color: #475569;
  padding: 6px 0;
  font-weight: 400;
}
.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-col-right .footer-van {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}
.footer-col-right .footer-reviews {
  width: 100%;
  max-width: 200px;
}
.footer-address {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.footer-copyright {
  background: #F5F5F5;
  text-align: center;
  padding: 16px 20px;
  font-size: 13px;
  color: #94A3B8;
  margin-top: 40px;
}


/* ===== HOMEPAGE SERVICE AREA ===== */
.service-area-section {
  padding: 60px 20px;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
.service-area-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.service-area-wrap h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 20px;
}
.service-area-wrap p {
  font-size: 17px;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 32px;
  text-align: left;
}
.service-area-map {
  margin-top: 20px;
}
.service-area-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
}

/* ===== HOMEPAGE FAQ ===== */
#faq .faq-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}
#faq .faq-wrap h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 32px;
  text-align: center;
}
#faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
#faq .faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
}
#faq .faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 10px;
}
#faq .faq-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Service cards as links */
a.service-card {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

/* Page CTA buttons */
.page-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #17337a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #b71c1c;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E293B;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: #334155;
}

/* Footer service links */
.footer-col-center ul a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-center ul a:hover {
  color: #17337a;
}

/* ===== INNER PAGE LAYOUT ===== */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 20px 60px;
}
.page-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -1px;
}
.page-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #1E293B;
  margin: 40px 0 16px;
  line-height: 1.3;
}
.page-content h3 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #1E293B;
  margin: 32px 0 12px;
  line-height: 1.3;
}
.page-content p {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin: 0 0 20px;
}
.page-content ul, .page-content ol {
  margin: 0 0 20px 24px;
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}
.page-content li {
  margin-bottom: 8px;
}
.page-content strong {
  font-weight: 600;
  color: #111;
}
.page-content a {
  color: #17337a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover {
  color: #b71c1c;
}
.page-content a.btn-primary,
.page-content a.btn-secondary {
  color: #fff;
  text-decoration: none;
}
.page-content a.btn-primary:hover,
.page-content a.btn-secondary:hover {
  color: #fff;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px 0;
  font-size: 14px;
  color: #64748B;
}
.breadcrumb a {
  color: #17337a;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 6px;
  color: #94A3B8;
}

/* Cost table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
  font-size: 16px;
}
.cost-table th {
  background: #1E293B;
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
}
.cost-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
  color: #333;
}
.cost-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* FAQ section */
.faq-section {
  margin: 48px 0;
}
.faq-section h2 {
  margin-bottom: 24px;
}
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 10px;
}
.faq-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Inner page CTA banner */
.page-cta {
  background: #F5F5F5;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}
.page-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #1E293B;
  margin: 0 0 12px;
}
.page-cta p {
  font-size: 17px;
  color: #64748B;
  margin: 0 0 24px;
}
.page-cta .cta-call-btn {
  font-size: 18px;
}

/* Last Updated timestamp */
.last-updated {
  color: #64748B;
  font-size: 0.875rem;
  margin: -8px 0 20px;
}

/* Google Map embed */
.map-embed {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Footer heading (replaces h3) */
.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 0.75rem;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #17337a;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

/* Trust badges row */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1E293B;
}
.trust-badge svg {
  width: 24px;
  height: 24px;
  fill: #17337a;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #1E293B;
}
.trust-badge-item svg {
  width: 40px;
  height: 40px;
  fill: #17337a;
  flex-shrink: 0;
}
.trust-badge-item strong {
  white-space: nowrap;
}

/* ===== SERVICE TABLES ===== */
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.service-table thead th {
  background: #1E293B;
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid #E2E8F0;
  color: #334155;
}
.service-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}
.service-table tbody tr:hover {
  background: #EEF2FF;
}
.service-table tbody tr:last-child td {
  border-bottom: none;
}
.service-table tfoot td {
  background: #F1F5F9;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  color: #1E293B;
  border-top: 2px solid #E2E8F0;
}
@media (max-width: 600px) {
  .service-table {
    font-size: 13px;
  }
  .service-table thead th,
  .service-table tbody td,
  .service-table tfoot td {
    padding: 10px 12px;
  }
}

/* ===== SERVICE PAGE IMAGES ===== */
.service-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 24px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-image-container {
  margin: 32px 0;
  text-align: center;
}
.service-image-caption {
  font-size: 13px;
  color: #64748B;
  margin-top: 8px;
  font-style: italic;
}

/* ===== NAV RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-mobile { display: flex; }
  .hamburger { display: flex; }
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 60px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero {
    padding: 70px 10px 30px;
    min-height: auto;
    background-image: url("/images/american-gds-garage-door-hero-san-mateo-mobile.png");
    background-position: center center;
  }
  .hero::before {
    background: linear-gradient(360deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.45) 100%);
  }
  .hero-inner {
    flex-direction: column;
    gap: 0;
  }
  .hero-left {
    text-align: center;
    padding: 40px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-right {
    display: none;
  }
  .hero-heading {
    font-size: clamp(28px, 9vw, 63px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0;
    padding: 0 1px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .hero-divider {
    width: 13%;
    height: 4px;
    margin: 9px auto;
    background: #fff;
  }
  .hero-subheading {
    font-size: 16px;
    line-height: 1.4em;
    letter-spacing: -0.4px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .hero-stars {
    font-size: 34px;
    letter-spacing: 4px;
  }
  .hero-rating-text {
    font-size: 16px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .hero-rating {
    margin-top: 10px;
    margin-bottom: 150px;
  }
  .hero-social-proof-desktop {
    display: none;
  }
  .hero-social-proof-mobile {
    display: none;
  }
  .hero-call-btn {
    display: inline-block;
    text-align: center;
    width: auto;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 6px;
    line-height: 28px;
  }
  .form-card {
    padding: 28px 28px 32px;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    margin: 0;
    max-width: 500px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 18px;
  }
  .form-card .form-sub {
    font-size: 15px;
  }
  /* Coupons mobile */
  .coupons-grid {
    grid-template-columns: 1fr;
  }
  .coupon-card[data-key="garageDoorRepair"] { order: 1; }
  .coupon-card[data-key="springReplacement"] { order: 2; }
  .coupon-card { order: 3; }
  /* Why Choose mobile */
  .why-choose-wrap {
    flex-direction: column;
    gap: 30px;
  }
  .why-choose-text {
    flex: none;
    text-align: center;
  }
  .why-choose-divider {
    margin: 0 auto 24px;
  }
  .why-choose-image {
    flex: none;
  }
  /* Clients Smile mobile */
  .clients-photo-desktop { display: none; }
  .clients-photo-mobile { display: block; }
  /* CTA buttons mobile */
  .cta-buttons-wrap, .schedule-cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .cta-call-btn, .cta-book-btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
  /* Footer mobile */
  .footer-wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-col-left {
    align-items: center;
  }
  .footer-btn {
    max-width: 100%;
    justify-content: center;
  }
  .footer-col-center ul li {
    text-align: center;
  }
  /* Homepage FAQ mobile */
  #faq .faq-grid {
    grid-template-columns: 1fr;
  }
  /* Inner pages mobile */
  .page-content {
    padding: 100px 16px 40px;
  }
  .breadcrumb {
    padding: 70px 16px 0;
  }
  .page-cta {
    padding: 28px 20px;
  }
  .trust-badges {
    gap: 16px;
  }
}






