/* ===========================
   S & S Mercedes Service & Repair
   Main Stylesheet
   =========================== */

/* ===== Variables =====
   Light theme, crimson accent. The --gold* names are historical and now
   hold red tones so existing rules continue to work without renaming.
*/
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --gold: #8B0000;
  --gold-light: #a50000;
  --gold-dark: #6b0000;
  --gold-subtle: rgba(139, 0, 0, 0.05);
  --star-gold: #f5a623;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --body-text: #333333;
  --border: #e0e0e0;
  --border-light: #dddddd;
  --input-border: #cccccc;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.22s ease;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.10);
  --shadow-gold: 0 4px 20px rgba(139, 0, 0, 0.18);
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-light);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.btn-dark {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.btn-dark:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* ===== Header — single unified bar =====
   Logo (far left) | Tagline | Nav (center) | Phone (far right)
   Bar height ~80px on desktop. Collapses to logo + phone + hamburger on mobile.
*/
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.header-bar .container {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

/* Smooth size transitions between expanded and collapsed states */
.logo-img,
.logo-tagline,
.header-phone {
  transition: height 0.25s ease, font-size 0.25s ease;
}

/* ===== Expanded header state =====
   Default (top of page, no .is-scrolled on #site-header): larger logo, nav drops
   to its own row below. Scoped to desktop — mobile already uses its own two-row
   collapsed layout at ≤900px.
*/
@media (min-width: 901px) {
  #site-header:not(.is-scrolled) .header-bar .container {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 1.5rem;
    padding-bottom: 0;
    row-gap: 0;
    justify-content: space-between;
  }

  #site-header:not(.is-scrolled) .logo {
    gap: 1.5rem;
  }

  #site-header:not(.is-scrolled) .logo-img {
    height: 140px;
  }

  #site-header:not(.is-scrolled) .logo-tagline {
    font-size: 1.1rem;
    white-space: normal;
    max-width: 320px;
    line-height: 1.35;
  }

  #site-header:not(.is-scrolled) .header-phone {
    font-size: 1.9rem;
  }

  #site-header:not(.is-scrolled) .main-nav {
    flex: 1 1 100%;
    order: 10;
    margin-top: 1.25rem;
    border-top: 1px solid var(--border);
    justify-content: center;
  }

  #site-header:not(.is-scrolled) .nav-links > li > a {
    padding: 1rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* Logo block — image + single-line tagline */
.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.logo-img {
  display: block;
  height: 70px;
  width: auto;
}

.logo-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-tagline em {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== Navigation ===== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.nav-links {
  display: flex;
  align-items: stretch;
}

.nav-links > li {
  position: relative;
  display: flex;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-links > li > a:hover,
.nav-links > li.active > a,
.nav-links > li.has-dropdown.active > a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.chevron {
  font-size: 0.55rem;
  transition: transform var(--transition);
  opacity: 0.7;
}

.has-dropdown:hover > a .chevron {
  transform: rotate(180deg);
}

/* Appointment link highlight */
.nav-links > li.nav-cta > a {
  color: var(--gold);
}

.nav-links > li.nav-cta > a:hover {
  color: var(--gold-dark);
}

/* ===== Phone (far right) ===== */
.header-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ===== Dropdown — drops below the single bar ===== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}

.dropdown-menu li a:hover,
.dropdown-menu li.active a {
  color: var(--gold);
  background: var(--gold-subtle);
  border-left-color: var(--gold);
  padding-left: 1.5rem;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 0.25rem;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 80%; }
.hamburger span:nth-child(3) { width: 60%; }

.hamburger:hover span { background: var(--gold); width: 100% !important; }

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 100%;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(160deg, #ffffff 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 0, 0, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero .container { position: relative; }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.gold-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

.page-hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}

/* Home Hero (special) */
.home-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(155deg, #ffffff 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(139, 0, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(139, 0, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero .container { position: relative; z-index: 1; }

.home-hero .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(139, 0, 0, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 100px;
}

.home-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero h1 .accent { color: var(--gold); }

.home-hero .lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.home-hero .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-hero .hero-actions .btn {
  font-size: 0.85rem;
  padding: 0.8rem 2rem;
}

/* ===== Page Content Placeholder ===== */
.page-content {
  padding: 5rem 0;
  min-height: 45vh;
}

.placeholder-box {
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== Footer =====
   Footer stays dark for contrast. Re-declare theme tokens inside its scope so
   nested rules still render white-on-dark.
*/
#site-footer {
  --bg-primary: #1a1a1a;
  --bg-secondary: #222222;
  --bg-card: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b5b5b5;
  --text-muted: #7a7a7a;
  --border: #2e2e2e;
  --border-light: #383838;
  --gold: #8B0000;
  --gold-light: #a50000;
  --gold-dark: #6b0000;

  background: #1a1a1a;
  color: var(--text-primary);
  border-top: 3px solid var(--gold);
  margin-top: auto;
}

#site-footer a { color: inherit; }

.footer-main {
  padding: 4.5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
}

/* Footer Brand / Contact column */
.footer-brand .footer-logo-ss {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.footer-brand .footer-logo-name {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Footer contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--text-primary); }

.footer-phone-link {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.02em;
}

.footer-phone-link:hover { color: var(--gold) !important; }

.footer-address-link {
  line-height: 1.6 !important;
}

.footer-email-link { word-break: break-all; }

.footer-directions-link {
  color: var(--gold) !important;
  font-weight: 500;
}

.footer-directions-link:hover { color: var(--gold-light) !important; }

/* Footer nav columns */
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transition: opacity var(--transition);
}

.footer-col ul li a:hover { color: var(--text-primary); }
.footer-col ul li a:hover::before { opacity: 1; }

/* Footer hours */
.footer-hours {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-hours-row span:first-child { color: var(--text-secondary); }
.footer-hours-row span:last-child { color: var(--text-primary); font-weight: 500; }
.footer-hours-closed span:last-child { color: var(--text-muted); font-weight: 400; }

/* Footer payment */
.footer-payment {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.footer-payment svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-payment span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* BBB badge */
.footer-bbb {
  margin-top: 0.25rem;
}

.footer-bbb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-legal span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--gold); }

/* ===== Divider ===== */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto;
}

/* ===== Responsive ===== */

/* Large desktop — tighten nav padding as the bar fills up */
@media (max-width: 1200px) {
  .nav-links > li > a {
    padding: 0 0.6rem;
    font-size: 0.76rem;
  }
  .logo-tagline { font-size: 0.8rem; }
  .header-phone { font-size: 1.2rem; }
  .header-bar .container { gap: 1rem; }
}

/* Drop the tagline when it starts to crowd the nav */
@media (max-width: 1080px) {
  .logo-tagline { display: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

/* Mobile nav breakpoint — collapse to logo + phone (row 1) / hamburger (row 2) */
@media (max-width: 900px) {
  .header-bar .container {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    row-gap: 0.5rem;
    column-gap: 1rem;
    position: relative;
  }

  .logo { order: 1; }
  .logo-img { height: 56px; }
  .logo-tagline { display: none; }

  .header-phone {
    order: 2;
    font-size: 1.1rem;
    margin-left: auto;
  }

  .hamburger {
    display: flex;
    order: 3;
    flex: 1 1 100%;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    width: 100%;
    height: auto;
    border-top: 1px solid var(--border);
  }

  .hamburger span {
    width: 28px;
  }

  .main-nav {
    order: 4;
    flex: 1 1 100%;
    position: static;
    display: block;
  }

  /* Nav links — hidden until hamburger opens them, rendered as a column
     below the bar */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li {
    display: block;
  }

  .nav-links > li > a {
    padding: 0.9rem 1.5rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
  }

  .nav-links > li > a:hover,
  .nav-links > li.active > a {
    border-bottom-color: var(--border);
    border-left-color: var(--gold);
    background: var(--gold-subtle);
    color: var(--gold);
  }

  /* Mobile dropdown — nested under its parent link */
  .dropdown-menu {
    position: static;
    display: none !important;
    border: none;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.03);
    margin-left: 1.5rem;
    box-shadow: none;
  }

  .has-dropdown.open .dropdown-menu {
    display: block !important;
  }

  .has-dropdown:hover .dropdown-menu {
    display: none !important;
  }

  .has-dropdown.open:hover .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu li a {
    padding: 0.65rem 1.25rem;
    font-size: 0.83rem;
    border-left: none;
  }

  .dropdown-menu li a:hover {
    padding-left: 1.5rem;
    border-left: none;
    background: var(--gold-subtle);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
  }

  .home-hero {
    min-height: 65vh;
    padding: 4rem 0;
  }

  .home-hero .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-legal { margin-top: 0.25rem; }
}

@media (max-width: 400px) {
  .logo-img { height: 48px; }
  .header-phone { font-size: 1rem; }
}

/* ======================================
   HOME PAGE — index.html
   ====================================== */

/* ===== Utility ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  gap: 0.6rem;
}

/* ===== HERO ===== */
/*
   To add a background photo later:
   1. Add a real <img> or set background-image on .hero
   2. The ::before overlay will darken it automatically
*/
.hero {
  /* Dark hero is the one intentional exception — keep white text readable
     over the photo. Scoped tokens keep child rules working. */
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;

  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-color: #0c0c0c;
  background-image: url('../content/sands-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

/* Neutral gray tint + slight blur of the photo behind it */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 40, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
}

/* Bottom accent line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold) 75%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 6rem 0 5.5rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4rem 1.25rem;
  border-radius: 100px;
  background: rgba(139, 0, 0, 0.35);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 0 auto 1.5rem;
  max-width: 920px;
}

.hero-accent {
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #e5e5e5;
  max-width: 520px;
  margin: 0 auto 2.75rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5rem 0 4.5rem;
  background: var(--bg-primary);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 0, 0, 0.3);
}

/* Featured (middle) card */
.feature-card--featured {
  background: #ffffff;
  border-color: var(--gold);
  border-top: 3px solid var(--gold);
  padding-top: 3rem;
}

.feature-card--featured:hover {
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.feature-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: #ffffff;
  padding: 0.28rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  white-space: nowrap;
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 0, 0, 0.08);
  border: 1px solid rgba(139, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.feature-card:hover .feature-card-icon {
  background: rgba(139, 0, 0, 0.14);
  border-color: rgba(139, 0, 0, 0.4);
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.875rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}

.feature-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition), gap var(--transition);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
}

.feature-card-link:hover {
  color: var(--gold-dark);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.trust-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  flex-shrink: 0;
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 0, 0, 0.08);
  border: 1px solid rgba(139, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}

.trust-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 5.5rem 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-header .gold-line {
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), border-top-color var(--transition);
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
  border-color: rgba(139, 0, 0, 0.25);
}

.service-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(139, 0, 0, 0.07);
  border: 1px solid rgba(139, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--transition), border-color var(--transition);
}

.service-card:hover .service-card-icon {
  background: rgba(139, 0, 0, 0.14);
  border-color: rgba(139, 0, 0, 0.4);
}

.service-card-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--gold);
  transition: transform var(--transition);
}

.service-card:hover .service-card-icon svg {
  transform: scale(1.12);
}

.service-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.78rem;
  color: var(--body-text);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.service-card-arrow {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
  display: block;
  margin-top: auto;
}

.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CONTACT / LOCATION STRIP ===== */
.contact-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-strip-address {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-strip-address svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-strip-address strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.contact-strip-address span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-strip-phone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}

.contact-strip-phone:hover {
  color: var(--gold-dark);
}

.contact-strip-phone svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  flex-shrink: 0;
}

/* ===== HOME PAGE RESPONSIVE ===== */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
    justify-items: center;
  }

  .trust-divider { display: none; }

  .trust-item { padding: 0; }
}

@media (max-width: 768px) {
  .hero-content { padding: 4.5rem 0 4rem; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .contact-strip-phone { font-size: 1.3rem; }
}

@media (max-width: 560px) {
  .hero { min-height: 75vh; }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn-lg {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ======================================
   ABOUT PAGE — about.html
   ====================================== */

.about-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* Text column */
.about-text h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 1.75rem;
  line-height: 1.35;
}

.about-text p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.about-text p:last-of-type {
  margin-bottom: 1.75rem;
}

/* NFIB membership note */
.about-nfib {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(139, 0, 0, 0.05);
  border: 1px solid rgba(139, 0, 0, 0.18);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.975rem 1.25rem;
  margin-bottom: 2.25rem;
  font-size: 0.875rem;
  color: var(--body-text);
  line-height: 1.55;
}

.about-nfib svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.about-nfib strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Image / stats column */
.about-image-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-approx-h, 110px) + 2rem);
}

.about-image-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 2.5rem;
  text-align: center;
}

.about-image-placeholder svg {
  width: 38px;
  height: 38px;
  stroke: var(--border-light);
}

.about-image-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-style: italic;
}

.about-image-placeholder small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Logo card */
.about-logo-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.about-logo-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

/* Quick-stats card below image */
.about-info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.about-info-item {
  flex: 1;
  text-align: center;
}

.about-info-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.about-info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.about-info-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Estimate highlight bar */
.about-estimate-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.about-estimate-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-estimate-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-estimate-text svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.about-estimate-text div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-estimate-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.about-estimate-text span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===== ABOUT PAGE RESPONSIVE ===== */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-col {
    position: static;
    order: -1;
  }

  .about-image-placeholder {
    aspect-ratio: 16 / 9;
  }

  .about-estimate-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .about-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta .btn {
    justify-content: center;
  }

  .about-estimate-text {
    align-items: flex-start;
  }
}

/* ======================================
   SERVICE PAGES — shared layout
   ====================================== */

.service-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* ---- Intro text ---- */

.service-intro {
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.service-body-text {
  font-size: 0.975rem;
  color: var(--body-text);
  line-height: 1.82;
  margin-bottom: 1.5rem;
}

/* Section sub-heading with rule */
.service-subheading {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.service-subheading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- Checkmark services list ---- */

.service-checklist {
  list-style: none;
  margin-bottom: 2.5rem;
}

.service-checklist li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--body-text);
  line-height: 1.5;
  transition: color var(--transition), padding-left var(--transition);
}

.service-checklist li:first-child {
  border-top: 1px solid var(--border);
}

.service-checklist li:hover {
  color: var(--text-primary);
  padding-left: 2.75rem;
}

.service-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(139, 0, 0, 0.08);
  border: 1.5px solid rgba(139, 0, 0, 0.3);
  border-radius: 50%;
}

/* ---- Note / callout ---- */

.service-note {
  background: rgba(139, 0, 0, 0.05);
  border: 1px solid rgba(139, 0, 0, 0.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.65;
  margin-top: 2rem;
}

.service-note strong { color: var(--text-primary); font-weight: 600; }

.service-note a {
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}

.service-note a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ---- Maintenance package cards (car-maintenance.html) ---- */

.service-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.service-package-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.service-package-header {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 1.25rem 1.5rem;
}

.service-package-header h3 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.service-package-header .pkg-tagline {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.service-package-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
}

.service-package-list {
  list-style: none;
}

.service-package-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.875rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.855rem;
  color: var(--body-text);
  line-height: 1.45;
}

.service-package-list li:last-child {
  border-bottom: none;
  color: var(--gold);
  font-weight: 600;
}

.service-package-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  line-height: 17px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(139, 0, 0, 0.08);
  border: 1px solid rgba(139, 0, 0, 0.25);
  border-radius: 50%;
}

.service-package-list li:last-child::before {
  background: rgba(139, 0, 0, 0.18);
  border-color: rgba(139, 0, 0, 0.45);
}

/* ---- Sidebar ---- */

.service-sidebar {
  position: sticky;
  top: calc(110px + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-cta-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.service-cta-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.service-cta-card > p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  transition: color var(--transition);
  white-space: nowrap;
}

.service-cta-phone:hover { color: var(--gold-dark); }

.service-cta-phone svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.service-cta-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.service-cta-perks {
  list-style: none;
  text-align: left;
}

.service-cta-perks li {
  position: relative;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.35rem 0 0.35rem 1.4rem;
}

.service-cta-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.72rem;
}

/* ===== SERVICE PAGES RESPONSIVE ===== */

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr 270px;
    gap: 2.5rem;
  }
}

@media (max-width: 800px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-sidebar {
    position: static;
  }

  .service-packages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .service-cta-card { padding: 1.5rem; }
  .service-cta-phone { font-size: 1.2rem; }
}

/* ==========================================================
   EXTENDED WARRANTY PAGE
   ========================================================== */

.warranty-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 2.5rem;
}

.warranty-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.warranty-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.warranty-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.warranty-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.04) 0%, #ffffff 100%);
  border-top: 3px solid var(--gold);
}

.warranty-card--featured::before {
  content: 'Recommended';
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  background: var(--gold);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.warranty-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.warranty-card-term {
  display: inline-block;
  background: rgba(139, 0, 0, 0.08);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}

.warranty-card-desc {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.warranty-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.warranty-card-list li {
  position: relative;
  padding-left: 1.6rem;
  padding-bottom: 0.6rem;
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.warranty-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  background-color: var(--gold);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

.warranty-providers {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.warranty-providers h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.warranty-providers p {
  color: var(--body-text);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================
   SHARED FORM STYLES
   ========================================================== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}

.form-submit {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* SMS / consent checkbox */
.form-consent-field {
  margin-top: 0.25rem;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.form-checkbox-row:hover {
  border-color: var(--gold);
}

.form-checkbox-row:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
}

.form-checkbox {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-checkbox-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--body-text);
}

.form-checkbox-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--transition);
}

.form-checkbox-text a:hover {
  color: var(--gold-dark);
}

.form-checkbox-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  margin-left: 0.25rem;
  line-height: 1.5;
}

.form-success {
  display: none;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.04) 0%, #ffffff 100%);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--gold);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}

.form-success h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--body-text);
  line-height: 1.7;
  margin: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   APPOINTMENT PAGE
   ========================================================== */

.appointment-section {
  padding: 4rem 0 5rem;
  background: var(--bg-secondary);
}

.appointment-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.appointment-wrapper h2 {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.appointment-wrapper > p {
  color: var(--body-text);
  margin-bottom: 2rem;
}

.appointment-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto 2rem;
}

.appointment-info-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.appointment-info-item svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  stroke: var(--gold);
  margin-bottom: 0.5rem;
}

.appointment-info-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.appointment-info-item span {
  color: var(--body-text);
  font-size: 0.85rem;
}

/* ==========================================================
   REVIEWS PAGE
   ========================================================== */

.reviews-section {
  padding: 4rem 0 5rem;
  background: var(--bg-secondary);
}

.reviews-lead {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--body-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 0, 0, 0.3);
  box-shadow: var(--shadow-lg);
}

.review-quote-mark {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(139, 0, 0, 0.15);
  font-family: Georgia, serif;
  pointer-events: none;
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--star-gold);
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.review-text {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.review-author-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.review-author-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.reviews-cta {
  background: #ffffff;
  border: 1px solid var(--gold);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.reviews-cta h2 {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.reviews-cta p {
  color: var(--body-text);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.reviews-platforms {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.review-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
}

.review-platform-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.review-platform-btn--google {
  background: #ffffff;
  color: #333333;
}

.review-platform-btn--facebook {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.review-platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.contact-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.contact-info-lead {
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(139, 0, 0, 0.08);
  border: 1px solid rgba(139, 0, 0, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  stroke: var(--gold);
}

.contact-info-text {
  flex: 1;
  min-width: 0;
}

.contact-info-label {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  color: var(--text-primary);
  line-height: 1.55;
  word-break: break-word;
}

.contact-info-value a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-value a:hover { color: var(--gold); }

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  color: var(--body-text);
  font-size: 0.95rem;
  padding: 0.2rem 0;
}

.contact-hours-row span:last-child {
  color: var(--text-secondary);
}

.contact-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.contact-form-wrapper > p {
  color: var(--body-text);
  margin-bottom: 1.75rem;
}

.contact-map-section {
  padding: 0 0 4rem;
  background: var(--bg-primary);
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-secondary);
}

.contact-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

/* ==========================================================
   RESPONSIVE — remaining pages
   ========================================================== */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .warranty-plans {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .appointment-info-strip {
    grid-template-columns: 1fr;
  }

  .appointment-wrapper,
  .contact-info,
  .contact-form-wrapper {
    padding: 1.75rem;
  }

  .reviews-cta {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper iframe {
    height: 340px;
  }

  .appointment-wrapper,
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* ==========================================================
   SCROLL-REVEAL ANIMATION
   ========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================
   SKIP-TO-CONTENT LINK (a11y)
   ========================================================== */

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--text-primary);
  outline-offset: 2px;
}

/* ==========================================================
   ULTRA-SMALL SCREENS (< 400px)
   ========================================================== */

@media (max-width: 400px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-bar .container {
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2rem);
    line-height: 1.2;
  }

  .page-hero .subtitle,
  .hero .subtitle,
  .hero p { font-size: 0.95rem; }

  .service-intro { font-size: 0.98rem; }

  .service-subheading { font-size: 1.2rem; }

  .service-checklist li,
  .service-package-list li {
    font-size: 0.92rem;
  }

  .review-card,
  .warranty-card,
  .service-package-card { padding: 1.25rem; }

  .reviews-platforms { flex-direction: column; align-items: stretch; }
  .review-platform-btn { justify-content: center; }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 0.75rem 0.85rem;
  }

  .form-submit { width: 100%; }

  .contact-hours-row { font-size: 0.88rem; }

  .footer-bottom .container {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .warranty-card--featured::before {
    right: 0.75rem;
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}
