/* ============================================================
   Capital Auto Glass — style.css
   Clean hand-written stylesheet. No WordPress / Elementor junk.
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:      #13344A;
  --navy-mid:  #1E5073;
  --gold:      #DEBB6F;
  --gold-lite: #EECD82;
  --gold-dark: #917804;
  --gold-div:  #AB9963;
  --white:     #FFFFFF;
  --dark:      #121212;
  --gray-bg:   #F5F5F5;
  --gray-text: #555555;
  --radius:    4px;
  --shadow:    0 2px 12px rgba(0,0,0,.18);
  --transition: .28s ease;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-mid); }
ul { list-style: none; }
h1,h2,h3,h4,h5 {
  font-family: 'Raleway', sans-serif;
  color: var(--navy);
  line-height: 1.25;
}
p { margin-bottom: 1rem; }
strong { color: inherit; }

/* --- Utility --- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--gold);
  color: var(--navy) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
  cursor: pointer;
}
.btn:hover {
  background: var(--navy);
  color: var(--gold) !important;
  border-color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--gold) !important;
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy) !important;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.section-divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 0 0 1.5rem;
  border: none;
}
.section-divider.center { margin: 0 auto 1.5rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold-dark); }

/* ============================================================
   TOP BAR  (dark navy strip with email + CTA buttons)
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-email { color: var(--gold-lite); font-weight: 500; }
.top-bar-email:hover { color: var(--white); }
.top-bar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.top-bar-btns a {
  display: inline-block;
  padding: 7px 16px;
  background: var(--gold);
  color: var(--navy) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .4px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition);
}
.top-bar-btns a:hover { background: var(--gold-lite); }

/* ============================================================
   MAIN HEADER  (navy 3-column: logo | center info | phone)
   ============================================================ */
.site-header {
  background: var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo column */
.site-logo { flex-shrink: 0; }
.site-logo a { display: block; }
.site-logo img { max-height: 100px; width: auto; display: block; }
.site-logo .tagline {
  text-align: center;
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .5px;
  margin-top: 4px;
}

/* Center info column */
.header-center { text-align: center; }
.header-center h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 8px;
}
.header-center p {
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  margin-bottom: 4px;
  line-height: 1.5;
}
.header-center a { color: var(--gold-lite); font-weight: 600; }
.header-center a:hover { color: var(--white); }

/* Phone column */
.header-phone { text-align: right; flex-shrink: 0; }
.header-phone .big-phone {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  line-height: 1;
  margin-bottom: 6px;
}
.header-phone .big-phone:hover { color: var(--gold-lite); }
.header-phone .phone-sub {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.header-phone .phone-sub a { color: var(--gold-lite); }
.header-phone .phone-sub a:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   NAV BAR  (gold background, navy text)
   ============================================================ */
.site-nav {
  background: var(--gold);
  border-top: 2px solid var(--gold-div);
}
.primary-nav {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
/* IMPORTANT: only target the top-level ul — NOT dropdown uls */
.primary-nav > ul {
  display: flex;
  gap: 0;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.primary-nav > ul > li { position: relative; list-style: none; }
.primary-nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .5px;
  color: var(--navy);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  border-right: 1px solid rgba(19,52,74,.15);
}
.primary-nav > ul > li:first-child > a { border-left: 1px solid rgba(19,52,74,.15); }
.primary-nav > ul > li > a:hover { background: var(--navy); color: var(--gold); }
.primary-nav > ul > li.active > a { background: var(--navy); color: var(--white); }
.primary-nav > ul > li > a.has-arrow::after {
  content: ' ▾';
  font-size: .65rem;
  margin-left: 3px;
  opacity: .7;
}

/* Dropdown — default HIDDEN */
.dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 230px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 500;
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav > ul > li:hover > .dropdown,
.primary-nav > ul > li.is-open > .dropdown { display: block !important; }
.dropdown li { list-style: none; }
.dropdown li a {
  display: block;
  padding: 12px 20px;
  color: var(--gold-lite);
  font-size: .82rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  letter-spacing: .3px;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* Mobile nav — sibling of header, slides down */
.mobile-nav {
  display: none;
  background: var(--navy);
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s ease;
}
.mobile-nav.open { max-height: 1200px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav ul li a {
  display: block;
  padding: 13px 24px;
  color: var(--gold-lite);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: .3px;
}
.mobile-nav ul li a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.mobile-nav .mobile-sub a {
  padding-left: 44px;
  font-size: .84rem;
  font-weight: 400;
  color: rgba(238,205,130,.7);
}

/* ============================================================
   HERO SLIDESHOW  (text at bottom like live site)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}
.hero-track {
  position: relative;
  width: 100%;
  height: 500px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
/* Bottom gradient + text overlay */
.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  padding: 48px 40px 28px;
  text-align: center;
}
.hero-caption h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  margin: 0;
  line-height: 1.2;
}
.hero-caption p {
  color: var(--gold-lite);
  font-size: 1rem;
  margin: 8px 0 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-dots {
  position: absolute;
  bottom: 14px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 7px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: background var(--transition);
}
.hero-dot.active { background: var(--gold); border-color: var(--gold); }

/* ============================================================
   STRIP BANNERS
   ============================================================ */
.strip { width: 100%; line-height: 0; }
.strip img { width: 100%; height: auto; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 50px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hmpg1-1920w.jpg') center/cover no-repeat;
  opacity: .15;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}
.page-hero p {
  color: var(--gold-lite);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 70px 0; }
.section-light { background: var(--white); }
.section-gray { background: var(--gray-bg); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--gold-lite); }
.section-navy p { color: rgba(255,255,255,.85); }
.section-navy .section-divider { background: var(--gold); }

/* ============================================================
   ABOUT / INTRO BLOCK
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro-text h2 { font-size: 2rem; margin-bottom: .4rem; }
.intro-text p { color: var(--gray-text); }
.intro-image img { border-radius: 6px; box-shadow: var(--shadow); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.service-card-img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--navy); }
.service-card-body p { font-size: .9rem; color: var(--gray-text); flex: 1; margin-bottom: 1rem; }
.service-card-body .btn { align-self: flex-start; font-size: .8rem; padding: 9px 20px; }

/* ============================================================
   FEATURES / ICON ROW
   ============================================================ */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.feature-item { padding: 20px 10px; }
.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
}
.feature-item h4 {
  font-size: 1rem;
  margin-bottom: .4rem;
  color: var(--navy);
}
.feature-item p { font-size: .88rem; color: var(--gray-text); margin: 0; }

/* ============================================================
   REVIEWS WIDGET
   ============================================================ */
.reviews-section {
  background: var(--gray-bg);
  padding: 70px 0;
}
.reviews-header {
  text-align: center;
  margin-bottom: 2rem;
}
.reviews-header h2 { font-size: 2rem; margin-bottom: .4rem; }
.reviews-header p { color: var(--gray-text); }
.reviews-track-outer {
  overflow: hidden;
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}
.review-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-pic {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.reviewer-info { flex: 1; min-width: 0; }
.reviewer-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reviewer-date { font-size: .78rem; color: var(--gray-text); }
.review-stars { display: flex; gap: 2px; }
.review-stars svg { fill: #F4B400; }
.review-text {
  font-size: .88rem;
  color: var(--gray-text);
  line-height: 1.6;
  flex: 1;
}
.review-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-text);
}
.reviews-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.reviews-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.reviews-btn:hover { background: var(--gold-dark); }
.reviews-dots { display: flex; gap: 6px; }
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(19,52,74,.2);
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.reviews-dot.active { background: var(--navy); }
.reviews-cta {
  text-align: center;
  margin-top: 28px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy-mid);
  padding: 50px 20px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: .6rem;
}
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 1.4rem; font-size: 1.05rem; }
.cta-banner .btn { margin: 0 8px 8px; }

/* ============================================================
   PAYMENT ICONS
   ============================================================ */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 1rem;
}
.payment-icons img { height: 46px; width: auto; }

/* ============================================================
   BRANDS LIST
   ============================================================ */
.brands-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.brands-cols ul { padding-left: 1.2rem; list-style: disc; }
.brands-cols ul li { margin-bottom: .3rem; color: var(--gray-text); }

/* ============================================================
   TWO-COL CONTENT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.two-col-3-2 { grid-template-columns: 3fr 2fr; }
.two-col img { border-radius: 6px; box-shadow: var(--shadow); }

/* ============================================================
   INFO LIST
   ============================================================ */
.info-list { list-style: none; padding: 0; }
.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(171,153,99,.25);
  color: var(--gray-text);
  display: flex;
  gap: 10px;
}
.info-list li::before { content: '✓'; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }
.info-list li:last-child { border-bottom: none; }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion { border: 1px solid rgba(19,52,74,.12); border-radius: 8px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid rgba(19,52,74,.12); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 22px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.accordion-btn:hover { background: rgba(222,187,111,.1); }
.accordion-btn.open { background: var(--navy); color: var(--white); }
.accordion-btn::after { content: '+'; font-size: 1.3rem; flex-shrink: 0; margin-left: 12px; }
.accordion-btn.open::after { content: '−'; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  background: rgba(245,245,245,.7);
}
.accordion-body.open { max-height: 500px; }
.accordion-body-inner { padding: 16px 22px; color: var(--gray-text); font-size: .95rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 24px;
  box-shadow: var(--shadow);
}
.testimonial-text {
  font-style: italic;
  color: var(--gray-text);
  margin-bottom: 1rem;
  font-size: .95rem;
}
.testimonial-author { font-weight: 700; color: var(--navy); font-size: .9rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Raleway', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid rgba(19,52,74,.25);
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(30,80,115,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ============================================================
   BLOG GRID
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--navy); }
.blog-card-body p { font-size: .88rem; color: var(--gray-text); margin-bottom: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
}
.footer-top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { max-height: 70px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.footer-divider {
  width: 40px; height: 2px;
  background: var(--gold-div);
  margin-bottom: 16px;
  border: none;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-lite); }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  font-size: .88rem;
}
.footer-contact-item .label { color: var(--gold-div); font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-contact-item a { color: rgba(255,255,255,.8); }
.footer-contact-item a:hover { color: var(--gold-lite); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { fill: currentColor; width: 18px; height: 18px; }
.footer-map iframe { width: 100%; height: 200px; border: none; border-radius: 6px; margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-service-areas {
  background: rgba(0,0,0,.2);
  padding: 20px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}
.footer-service-areas a { color: rgba(222,187,111,.45); }
.footer-service-areas a:hover { color: var(--gold-lite); }

/* ── Real stone/granite footer background ─────────────────────────────────── */
.site-footer {
  background-color: #111317;
  background-image:
    linear-gradient(rgba(8,14,22,0.78), rgba(8,14,22,0.78)),
    url('images/stone-texture.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: rgba(255,255,255,.8);
}
.site-footer > * { position: relative; z-index: 1; }

/* ── Homepage sections matching live site ─────────────────────────────────── */
.hmpg-technicians { padding: 50px 0 30px; }
.hmpg-divider {
  border: none;
  border-top: 2px solid #ddd;
  margin-bottom: 2rem;
}
.hmpg-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.hmpg-body {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 860px;
  line-height: 1.8;
}
.hmpg-repairs { padding: 40px 0 50px; }
.glass-repair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.glass-repair-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.glass-repair-text p { color: var(--gray-text); margin-bottom: .75rem; }
.repair-list {
  list-style: disc;
  padding-left: 1.4rem;
  color: var(--gray-text);
  margin-bottom: 1rem;
}
.repair-list li { margin-bottom: .4rem; }
.glass-repair-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

/* ── Slide-in animations (triggered by IntersectionObserver) ──────────────── */
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* Only hide when JS has confirmed it can animate */
.js-anim .slide-in-left  { opacity: 0; }
.js-anim .slide-in-right { opacity: 0; }
.slide-in-left.animated  { animation: slideFromLeft  .7s ease forwards; }
.slide-in-right.animated { animation: slideFromRight .7s ease forwards; }

/* ── 4-tile info section (matches live site) ────────────────────────────────── */
.info-tiles-section {
  padding: 0;
  background: #fff;
}
.info-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 260px;
}
.info-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  border: 3px solid var(--gold);
  box-sizing: border-box;
}
.info-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 40, 0.72);
  transition: background var(--transition);
  z-index: 0;
}
.info-tile:hover::before {
  background: rgba(10, 25, 40, 0.55);
}
.info-tile-inner {
  position: relative;
  z-index: 1;
  padding: 24px 20px;
  width: 100%;
  text-align: center;
}
.info-tile-inner h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.info-tile-inner p {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
  line-height: 1.5;
}
.btn-tile {
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-tile:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Video carousel (single video at a time) ─────────────────────────────────── */
.video-section { background: var(--navy); }
.video-carousel { max-width: 860px; margin: 0 auto; }
.vc-track { position: relative; }
.vc-slide { display: none; }
.vc-slide.active { display: block; }
.vc-slide video {
  width: 100%;
  max-height: 480px;
  border-radius: 8px;
  background: #000;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.vc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.vc-btn {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.2rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.vc-btn:hover { background: var(--gold); color: var(--navy); }
.vc-dots { display: flex; gap: 8px; }
.vc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none; cursor: pointer;
  transition: background var(--transition);
}
.vc-dot.active { background: var(--gold); }

/* ── Checkbox / quote form ───────────────────────────────────────────────────── */
.cb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.5rem 0;
}
.cb-group {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 14px 16px;
}
.cb-group-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: .88rem;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gold-div);
  padding-bottom: 6px;
}
.cb-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: #333;
  margin-bottom: 6px;
  cursor: pointer;
  line-height: 1.4;
}
.cb-item input[type="checkbox"],
.cb-item input[type="radio"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
}

/* ── Plan tier cards ─────────────────────────────────────────────────────────── */
.plan-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 1.5rem 0;
}
.plan-tier {
  text-align: center;
  padding: 20px 16px;
  border-radius: 8px;
  border: 2px solid transparent;
}
.plan-tier-name { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.plan-tier-amount { font-size: .88rem; color: #555; margin-bottom: 4px; }
.plan-tier-rate { font-size: 1.6rem; font-weight: 800; }
.plan-tier--platinum { background: linear-gradient(135deg, #f8f4e0, #fff8e0); border-color: #d4a900; }
.plan-tier--platinum .plan-tier-rate { color: #b8860b; }
.plan-tier--gold { background: linear-gradient(135deg, #f0f0f0, #f8f8f8); border-color: #aaa; }
.plan-tier--gold .plan-tier-rate { color: #666; }
.plan-tier--silver { background: linear-gradient(135deg, #e8f4f8, #f0f8fc); border-color: #4a90a4; }
.plan-tier--silver .plan-tier-rate { color: #2a6e8a; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .header-main { padding: 12px 16px; gap: 16px; }
  .header-center h2 { font-size: 1.2rem; }
  .header-phone .big-phone { font-size: 1.6rem; }
  .primary-nav > ul > li > a { padding: 12px 10px; font-size: .75rem; }
}

@media (max-width: 1024px) {
  .header-main { grid-template-columns: auto 1fr; }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col-3-2 { grid-template-columns: 1fr; gap: 30px; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .vc-slide video { max-height: 360px; }
  .cb-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-tiers { grid-template-columns: repeat(3, 1fr); }
  .info-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar-btns a { padding: 5px 10px; font-size: .7rem; }
  .header-main { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .header-center { display: none; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero-track { height: 300px; }
  .hero-caption h1 { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.6rem; }
  .review-card { flex: 0 0 calc(100% - 24px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .brands-cols { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.7rem; }
  .two-col { grid-template-columns: 1fr; }
  .vc-slide video { max-height: 360px; }
  .cb-grid { grid-template-columns: 1fr; }
  .plan-tiers { grid-template-columns: 1fr; gap: 12px; }
  .info-tiles { grid-template-columns: repeat(2, 1fr); }
  .info-tile { min-height: 200px; }
}

@media (max-width: 480px) {
  .hero-track { height: 240px; }
  .hero-caption h1 { font-size: 1.15rem; }
  .hero-caption { padding: 30px 20px 20px; }
  .features-row { grid-template-columns: 1fr; }
  .site-logo img { max-height: 70px; }
  .top-bar-btns { gap: 5px; }
  .top-bar-btns a { padding: 5px 8px; font-size: .65rem; }
  .vc-slide video { max-height: 260px; }
  .plan-tier-rate { font-size: 1.3rem; }
  .info-tiles { grid-template-columns: 1fr; }
}
