/* ===================================================================
   Bluecat Carpet Cleaning — Master Stylesheet
   Brand Colors: Blues from logo + clean whites + warm accent
   =================================================================== */

/* --- CSS Custom Properties (Color System) --- */
:root {
  /* Primary Palette */
  --primary: #1B5E9E;
  --primary-dark: #0F3F6E;
  --primary-light: #2E86C1;
  --primary-lighter: #AED6F1;
  --primary-bg: #EBF5FB;

  /* Secondary / Navy */
  --secondary: #0D2B45;
  --secondary-light: #163D5C;

  /* Accent (warm gold — complements blue) */
  --accent: #E8A838;
  --accent-dark: #D4922A;
  --accent-light: #F5C563;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --light-gray: #EEF2F7;
  --mid-gray: #B0BEC5;
  --dark-gray: #546E7A;
  --text: #1A2332;
  --text-light: #4A5568;
  --text-muted: #718096;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --surface-dark: #0D2B45;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 43, 69, 0.08);
  --shadow-md: 0 4px 12px rgba(13, 43, 69, 0.1);
  --shadow-lg: 0 8px 30px rgba(13, 43, 69, 0.12);
  --shadow-xl: 0 20px 60px rgba(13, 43, 69, 0.15);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
  --promo-height: 44px;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

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

.section-dark {
  background: var(--secondary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-primary {
  background: var(--primary);
  color: var(--white);
}

.section-primary h2,
.section-primary h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-header .subtitle {
  color: var(--mid-gray);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* --- Promo Banner --- */
.promo-banner {
  background: var(--accent);
  color: var(--secondary);
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  letter-spacing: 0.3px;
  transition: transform 0.35s ease;
}

.promo-banner.hidden {
  transform: translateY(-100%);
}

.promo-banner a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 700;
}

.promo-banner .promo-icon {
  margin: 0 0.3rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.35s ease;
}

.site-header.has-promo {
  top: var(--promo-height);
}

.site-header.has-promo.promo-hidden {
  top: 0;
}

.header-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 43, 69, 0.06);
  transition: all var(--transition-base);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--secondary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary);
}

.nav-menu > li > a .nav-arrow {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.nav-menu > li:hover > a .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 250px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  border: 1px solid rgba(13, 43, 69, 0.06);
  z-index: 100;
}

.nav-menu > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition-fast);
}

.dropdown a:hover {
  background: var(--primary-bg);
  color: var(--primary);
  padding-left: 1.5rem;
}

.dropdown .dropdown-heading {
  padding: 0.4rem 1.25rem 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.dropdown .dropdown-divider {
  height: 1px;
  background: var(--light-gray);
  margin: 0.4rem 0;
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
}

/* Phone in nav */
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-left: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .nav-phone { display: flex; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu > li > a {
    padding: 0.85rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--light-gray);
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }

  .dropdown.mobile-open {
    display: block;
  }

  .dropdown a {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--light-gray);
  }

  .dropdown a:hover {
    padding-left: 0.5rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
    text-align: center;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 43, 69, 0.5);
    z-index: 1000;
  }

  .mobile-overlay.active {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--promo-height));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 43, 69, 0.88) 0%,
    rgba(27, 94, 158, 0.75) 50%,
    rgba(13, 43, 69, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
  padding: 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--accent-light);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--promo-height) + 4rem) 0 4rem;
  background: var(--secondary);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
  opacity: 0.95;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--primary-lighter);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs .separator {
  color: var(--mid-gray);
}

.breadcrumbs .current {
  color: var(--white);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(13, 43, 69, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 0.7rem;
}

/* --- Reviews / Testimonials --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 43, 69, 0.06);
  transition: all var(--transition-base);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
}

.review-google {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.cta-phone a {
  color: var(--accent);
}

.cta-phone a:hover {
  color: var(--accent-light);
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 158, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* --- Emergency Banner --- */
.emergency-banner {
  background: var(--secondary);
  color: var(--white);
  padding: 3rem 0;
}

.emergency-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.emergency-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.emergency-content h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.emergency-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.emergency-cta {
  flex-shrink: 0;
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--transition-base);
  border: 1px solid rgba(13, 43, 69, 0.06);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- About / Content Sections --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.about-highlight .icon {
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-highlight span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Service Detail Page --- */
.service-detail {
  padding: 4rem 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-detail-content ul {
  margin: 1.5rem 0;
}

.service-detail-content ul li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-light);
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.service-detail-img img {
  width: 100%;
  object-fit: cover;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 43, 69, 0.06);
}

.sidebar-card h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-bg);
}

.sidebar-nav a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--light-gray);
  transition: all var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--primary);
  padding-left: 0.5rem;
}

.sidebar-nav a.active {
  font-weight: 600;
}

.sidebar-cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 2rem 1.5rem;
}

.sidebar-cta h4 {
  color: var(--white);
  border: none;
  margin-bottom: 0.5rem;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.sidebar-cta .phone {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.sidebar-cta .phone a {
  color: var(--accent);
}

/* --- Service Area Pages --- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 43, 69, 0.06);
  transition: all var(--transition-base);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.area-card .area-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.area-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.area-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  background: var(--white);
  transition: background var(--transition-fast);
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--primary-bg);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Video Embed --- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Thumbnail Link (fallback for non-embeddable videos) */
.video-thumb-link {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-thumb-link img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-thumb-link .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.video-thumb-link .play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 26px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-thumb-link:hover .play-btn {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.1);
}

/* --- Google Map --- */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-about .logo-text {
  color: var(--white);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.3rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .hero { min-height: 85vh; }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .emergency-inner {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero {
    padding: calc(var(--nav-height) + var(--promo-height) + 2.5rem) 0 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-stat {
    flex: 1;
    min-width: 80px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Page Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-info-text a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Thank You Page --- */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + var(--promo-height));
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

/* --- Promo Card --- */
.promo-card {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.promo-card h3 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  position: relative;
}

.promo-card p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
}

/* --- Home Contact Form --- */
.home-form-section {
  background: var(--surface-alt);
}

.home-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.home-form-info h2 {
  margin-bottom: 1rem;
}

.home-form-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .home-form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Services List (for hub pages) --- */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-list-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 43, 69, 0.06);
  transition: all var(--transition-base);
}

.service-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-list-img {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-list-card:hover .service-list-img img {
  transform: scale(1.05);
}

.service-list-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-list-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-list-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-list-grid {
    grid-template-columns: 1fr;
  }

  .service-list-card {
    flex-direction: column;
  }

  .service-list-img {
    width: 100%;
    height: 200px;
  }
}

/* --- Inline Review --- */
.inline-review {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.inline-review p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.inline-review .review-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}

/* --- Service Area Service List --- */
.area-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.area-service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--light-gray);
  transition: all var(--transition-fast);
}

.area-service-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.area-service-item .icon {
  color: var(--primary);
}

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

@media (max-width: 480px) {
  .area-services-grid {
    grid-template-columns: 1fr;
  }
}
