:root {
  --nav-height: 108px;
  --primary-color: #0B1B3D;
  --accent-color: #FF6B00;
  --bg-color: #F8F9FA;
  --surface-color: #FFFFFF;
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --border-radius: 6px;
  --transition-speed: 0.25s;
  --container-width: 1200px;
  --section-bg: #F1F5F9;

  /* System font stack for zero-latency loading */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Reset & Base HTML Elements */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  background-color: #003db3;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 61, 179, 0.4);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
}

/* Lightning texture sits on a ::before so its bottom edge can fade into the
   page without fading the logo/links. Image is mirror-tiled = seamless repeat. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5e0f0f url('Images/header_bg.jpg') repeat-x center;
  background-size: auto 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  z-index: -1;
  pointer-events: none;
  transition: filter var(--transition-speed) ease;
}

/* Scrolled away from the very top → dull the lightning down further */
.navbar.scrolled::before {
  filter: saturate(0.5) brightness(0.66);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  fill: var(--accent-color);
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  transition: color var(--transition-speed);
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-phone {
  font-size: 1.1rem;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  transition: color var(--transition-speed);
}

.nav-phone:hover {
  color: var(--accent-color);
}

.nav-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

/* Hero Section */
.hero {
  margin-top: 0;
  padding: calc(var(--nav-height) + 2rem) 0 2rem;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #08142a;
  background-image: url('Images/hero_bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

/* Darken the very top of the hero (behind the fixed header) so the header
   texture dissolves into dark instead of the bright photo — smooth, no white. */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8,20,42,0.92) 0, rgba(8,20,42,0.92) 110px, rgba(8,20,42,0) 240px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Decoupled Hero Logos */
.hero-overlay-logos {
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  align-items: flex-end;
}

.hero-overlay-logos img {
  height: 90px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform var(--transition-speed);
  background: white; /* Ensure contrast for transparent logos */
  object-fit: contain;
}

.hero-overlay-logos a:hover img {
  transform: scale(1.05);
}

.hero-bottom-right {
  position: absolute;
  bottom: 40px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.hero-bottom-right img {
  width: 350px;
  height: auto;
  transition: transform var(--transition-speed);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.hero-bottom-right a:hover img {
  transform: scale(1.05);
}

/* Housecall Pro reviews badge — replaces the old Google badge in the hero.
   Links to #reviews (the live HCP reviews widget further down the page). */
.hcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: transform var(--transition-speed);
}

.hcp-badge:hover {
  transform: scale(1.05);
}

.hcp-badge-stars {
  color: #FFB400;
  font-size: 1.7rem;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.hcp-badge-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.hcp-badge-text strong {
  display: block;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1rem;
}


.hero-typography {
  transform: rotate(-3deg);
  text-align: center;
  padding: 2rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 1.5px var(--primary-color);
  text-shadow: 2px 2px 0px var(--accent-color), 5px 5px 0px var(--primary-color);
  font-size: clamp(40px, 6vw, 75px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background-color: #003db3; /* Solid professional blue */
  padding: 0 15px;
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-sub {
  color: #fff;
  text-shadow: 2px 2px 0px var(--primary-color);
}

.font-slant {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.font-script {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  margin-bottom: 2.5rem;
  color: var(--accent-color);
  text-shadow: 1px 1px 0px #fff, 3px 3px 0px var(--primary-color);
}

/* Services Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--surface-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border-top: 4px solid var(--accent-color);
  opacity: 0;
  transform: translateY(20px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-card .icon-placeholder {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 107, 0, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-card .icon-placeholder svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Lists styling */
.list-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.details-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-list {
  list-style: none;
  margin-top: 1rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.service-list.excluded li::before {
  content: "✖";
  color: #E53E3E;
  /* Red */
}

/* Testimonials Area & Slideshow */
.ratings-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.rating-badge {
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid #E2E8F0;
}

.rating-badge strong {
  color: var(--primary-color);
}

.badge-img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

.slider-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 50px;
}

.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--accent-color);
  min-height: 250px;
}

.slide {
  display: none;
  padding: 2.5rem;
  width: 100%;
}

.slide.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stars {
  color: #ECC94B;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition-speed), transform var(--transition-speed);
}

.slider-btn:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.slider-dots {
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dot {
  width: 10px;
  height: 10px;
  background: #CBD5E0;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-speed), transform var(--transition-speed);
}

.dot:hover {
  transform: scale(1.2);
}

.dot.active {
  background: var(--accent-color);
}


/* Professional Associations */
.associations {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.assoc-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-secondary);
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all var(--transition-speed);
}

.assoc-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.assoc-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Footer & Contact */
.footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer h2, .footer h3, .footer p, .footer a, .footer strong {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #4A5568;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 4px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #A0AEC0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info a {
  color: var(--accent-color);
}

.contact-info a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0AEC0;
  font-size: 0.85rem;
}

/* Mobile Breakpoints */
@media (max-width: 768px) {
  :root {
    --nav-height: 80px;
  }

  .logo img {
    height: 54px !important;
  }

  .work-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    /* Hide default nav */
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-items: center;
  }

  .nav-links.active {
    display: flex;
  }

  .logo {
    font-size: 18px !important;
  }
  
  .logo span {
    font-size: 14px !important;
  }
  
  .logo-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta .nav-phone {
    display: none;
  }

  .nav-cta .nav-btn {
    /* Header CTA hidden on mobile — the pinned bottom bar carries Call + Free Estimate */
    display: none;
  }

  .hero {
    padding: calc(var(--nav-height) + 1.5rem) 0 2rem 0;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .container.hero-typography {
    order: 1;
    padding: 0 1rem !important;
  }

  .hero-title {
    font-size: clamp(26px, 9.5vw, 38px) !important;
    line-height: 1.15 !important;
    margin-bottom: 5px !important;
  }
  
  .hero-highlight {
    padding: 0 10px !important;
    margin: 3px 0 !important;
  }
  
  .hero-sub {
    font-size: 20px !important;
    margin: 10px 0 !important;
  }
  
  .hero-btn {
    margin-top: 45px !important;
    padding: 16px 36px !important;
    font-size: 18px !important;
  }
  
  .mobile-center-text, .service-card {
    text-align: center !important;
  }

  .list-container {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .slider-wrapper {
    padding: 0 20px;
  }

  .slide {
    padding: 1.5rem;
  }

  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .hero-bottom-right {
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    order: 2;
    z-index: 2;
  }

  .hero-bottom-right a {
    display: inline-block;
  }

  .hero-bottom-right img {
    width: 290px;
    height: auto;
    margin: 0;
  }

  .contact-info-card {
    text-align: center;
  }

  .hero-overlay-logos {
     display: none; /* Hide heavy vertical logos on small screens to preserve readability */
  }
}

/* Booking Funnel Modal */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none !important;
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.booking-modal-content {
  position: relative;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  padding: 2.5rem;
  z-index: 10000;
  color: var(--text-primary);
}

.close-modal-btn {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 10px 14px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.close-modal-btn:hover {
  color: var(--primary-color);
}

/* Progress Bar */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.step-indicator {
  font-size: 0.75rem;
  font-weight: bold;
  color: #4A5568;
  position: relative;
  text-align: center;
  flex: 1;
}

.step-indicator.active, .step-indicator.completed {
  color: var(--accent-color);
}

.step-line {
  height: 2px;
  background: #E2E8F0;
  flex: 1;
}

/* Step Engine */
.booking-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.booking-step.active {
  display: block;
}

/* Service Type Cards */
.service-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-type-card {
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.service-type-card:hover {
  border-color: var(--accent-color);
  background-color: var(--section-bg);
}

.service-type-card.selected {
  border-color: var(--accent-color);
  background-color: rgba(237, 137, 54, 0.1);
}

.service-type-card .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.service-type-card .label {
  font-weight: bold;
  color: var(--primary-color);
}

/* Form Styles inside Funnel */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.funnel-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #CBD5E0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.funnel-input:focus-visible {
  outline: 3px solid #003db3;
  outline-offset: 1px;
  border-color: var(--primary-color);
}

.radio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-pill {
  padding: 0.5rem 1rem;
  border: 1px solid #CBD5E0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  background: #fff;
  user-select: none;
}

.radio-pill.selected {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

/* Calendar Styling */
.calendar-wrapper {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--primary-color);
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.calendar-header button:hover {
  color: var(--primary-color);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  text-align: center;
}

.calendar-day-header {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: bold;
  padding-bottom: 0.5rem;
}

.calendar-day {
  padding: 0.5rem 0;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  user-select: none;
}

.calendar-day:hover:not(.disabled) {
  background: #E2E8F0;
}

.calendar-day.selected {
  background: var(--accent-color);
  color: #fff;
  font-weight: bold;
}

.calendar-day.disabled {
  color: #CBD5E0;
  cursor: not-allowed;
  background: #f7fafc;
}

@media (max-width: 600px) {
  .service-type-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .booking-modal-content {
    padding: 20px;
  }
  .booking-progress {
    gap: 4px;
  }
  .step-line {
    display: none;
  }
  .step-indicator {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }
  .service-type-card {
    padding: 15px 10px !important;
  }
  .service-type-card .icon {
    font-size: 30px !important;
  }
  .service-type-card .label {
    font-size: 14px !important;
  }
  .booking-step h3 {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 2.5rem auto 0;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--accent-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212"; /* minus */
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===== Callback Funnel ===== */
.funnel-h2 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.step-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Multi-select service grid */
.service-multi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-multi-card {
  position: relative;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
}

.service-multi-card:hover {
  border-color: var(--accent-color);
  background-color: var(--section-bg);
}

.service-multi-card.selected {
  border-color: var(--accent-color);
  background-color: rgba(237, 137, 54, 0.12);
}

.service-multi-card.selected::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1rem;
}

.service-multi-card .sm-icon {
  font-size: 1.9rem;
  line-height: 1;
}

.service-multi-card .sm-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.85rem;
  line-height: 1.25;
}

/* "Services we don't offer" disclosure */
.excluded-note {
  border: 1px dashed #CBD5E0;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  background: #f7fafc;
}

.excluded-note summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0;
}

.excluded-note ul {
  margin: 0.5rem 0 0.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.excluded-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.5rem 0;
}

.excluded-tip a {
  color: var(--accent-color);
  font-weight: 600;
}

/* Recommended callback slot */
.recommended-slot {
  position: relative;
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.1rem;
  cursor: pointer;
  text-align: center;
  background: rgba(237, 137, 54, 0.06);
  transition: all 0.18s;
  margin-bottom: 0.5rem;
}

.recommended-slot:hover {
  background: rgba(237, 137, 54, 0.12);
}

.recommended-slot.selected {
  background: rgba(237, 137, 54, 0.18);
  box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.25);
}

.recommended-slot.selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.rec-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.rec-date {
  display: block;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.rec-window {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

/* "or pick another day" divider */
.callback-or {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 1.25rem 0;
}

.callback-or::before,
.callback-or::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.callback-or span {
  padding: 0 0.75rem;
}

.calendar-header button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 600px) {
  .service-multi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .service-multi-card .sm-icon {
    font-size: 1.6rem;
  }
  .service-multi-card .sm-label {
    font-size: 0.78rem;
  }
}

/* ===== Meet the Team ===== */
.team-figure {
  max-width: 860px;
  margin: 2.5rem auto 0;
}

.team-photo {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  display: block;
}

.team-figure figcaption {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.95rem;
}

/* ===== Team "Our Work" photo slideshow ===== */
.work-slideshow {
  position: relative;
  max-width: 880px;
  margin: 1.5rem auto 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: var(--primary-color);
}

.work-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--primary-color);
}

.work-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.work-slide.active {
  opacity: 1;
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.work-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-speed);
}

.work-btn:hover {
  background: var(--accent-color);
}

.work-prev {
  left: 12px;
}

.work-next {
  right: 12px;
}

.work-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--primary-color);
}

.work-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-speed);
}

.work-dot.active {
  background: var(--accent-color);
}

/* ===== Housecall Pro reviews iframe (responsive) ===== */
.hcp-reviews-iframe {
  width: 100%;
  max-width: 820px;
  height: 1000px;
  border: 0;
  border-radius: var(--border-radius);
}

@media (max-width: 600px) {
  .hcp-reviews-iframe {
    height: 1150px;
  }
}

/* ============================================================
   v29 — quality pass: a11y, mobile UX, conversion (2026-06-09)
   ============================================================ */

/* Visible-on-focus skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

/* Consistent, high-visibility keyboard focus */
:focus-visible {
  outline: 3px solid #003db3;
  outline-offset: 2px;
}
.footer :focus-visible,
.hero :focus-visible,
.navbar :focus-visible {
  outline-color: #FFB400;
}

/* Disabled + outline button states (funnel Continue/Back) */
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-outline {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

/* Inline prose links must be distinguishable */
.faq-answer a,
.policy-card a,
.excluded-note a {
  text-decoration: underline;
  color: #C2410C;
  font-weight: 600;
}

/* Footer quick links */
.footer-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover {
  color: var(--accent-color);
}

/* Bigger touch targets without visual change */
.dot,
.work-dot {
  position: relative;
}
.dot::after,
.work-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
}
.mobile-menu-btn {
  padding: 8px;
  margin: -8px 0;
}

/* Sticky mobile call/quote bar */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: var(--primary-color);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
  }
  .mobile-cta-bar .mobile-cta-call {
    background: var(--accent-color);
  }
  .mobile-cta-bar .mobile-cta-quote {
    background: #003db3;
  }
  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
  }
  .hero {
    padding-bottom: calc(2rem + 56px);
  }

  /* Hero reviews badge must fit small screens */
  .hcp-badge {
    max-width: calc(100vw - 32px);
    padding: 10px 14px;
    gap: 10px;
  }
  .hcp-badge-stars {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }
  .hcp-badge-text {
    font-size: 0.85rem;
  }
}

/* Booking modal small-screen ergonomics */
@media (max-width: 600px) {
  .booking-modal-content .flex-row {
    flex-direction: column;
    gap: 0 !important;
  }
  .booking-modal-content {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    padding: 20px 14px;
  }
  .calendar-wrapper {
    padding: 0.75rem;
  }
  .slider-wrapper {
    padding: 0 40px;
  }
}

/* Respect reduced-motion everywhere, not just the lightning */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .slide.active {
    animation: none;
  }
  .service-card,
  .work-slide,
  .reveal {
    transition: none;
  }
  .btn:hover,
  .hcp-badge:hover {
    transform: none;
  }
}

/* Dots are now real <button>s — neutralize UA button chrome */
button.dot {
  border: none;
  padding: 0;
}
