/* ==========================================================================
   Clean On — Pest Control Website Stylesheet
   Version: 1.0.0
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
  /* Primary — Green */
  --primary: #06882d;
  --primary-dark: #056a24;
  --primary-light: #e8f5ee;

  /* Secondary — Blue */
  --secondary: #0087D1;
  --secondary-dark: #006ba7;
  --secondary-light: #e6f3fb;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --bg-dark: #1a1a2e;

  /* Text */
  --text: #2d3436;
  --text-light: #636e72;
  --text-white: #ffffff;

  /* Borders */
  --border: #e0e0e0;
  --border-light: #f0f0f0;

  /* Shadows */
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Radii */
  --radius: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition: 0.3s ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* Skip Link — Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 0.4em; }
h4 { font-size: 1.125rem; margin-bottom: 0.4em; }
h5 { font-size: 1rem; margin-bottom: 0.3em; }
h6 { font-size: 0.875rem; margin-bottom: 0.3em; }

p {
  margin-bottom: 1em;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-header h2::before,
.section-header h2::after {
  content: '';
  flex: 0 0 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.grid-3-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-5-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.grid-5-cols > * {
  width: calc(50% - 0.75rem);
}

@media (min-width: 576px) {
  .grid-5-cols > * {
    width: calc(33.333% - 1rem);
  }
}

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

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

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

  .grid-5-cols > * {
    width: calc(33.333% - 1rem);
  }
}

@media (min-width: 1024px) {
  .grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-5-cols > * {
    width: calc(20% - 1.2rem);
  }
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.4;
  white-space: nowrap;
}

.btn i,
.btn svg {
  flex-shrink: 0;
  font-size: 1.1em;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--text-white);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

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

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--primary);
}

.btn-whatsapp {
  background-color: #075E54;
  color: var(--text-white);
  border-color: #075E54;
}

.btn-whatsapp:hover {
  background-color: #064d45;
  border-color: #064d45;
  color: var(--text-white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

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

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
}
.logo-tagline strong {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 480px) {
  .logo-tagline {
    font-size: 0.65rem;
  }
}

.logo-text span {
  display: block;
  font-size: 0.65em;
  color: var(--text-light);
  font-weight: 400;
}

/* Main Nav */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition);
}

/* Header dropdown */
.nav-dropdown {
  position: relative;
}

.nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-pest-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-pest-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: none;
}

/* Nav Toggle — Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   7. MOBILE NAV
   ========================================================================== */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg);
  z-index: 1060;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav ul {
  padding: 16px 0;
  flex: 1;
}

.mobile-nav li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Accordion submenus */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-accordion.open .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: none;
  padding: 0;
  list-style: none;
  background: var(--bg-alt, #f8fafb);
}

.mobile-nav-accordion.open .mobile-nav-submenu {
  display: block;
}

.mobile-nav-submenu li {
  border-bottom: none;
  border-top: 1px solid var(--border-light);
}

.mobile-nav-submenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 24px 10px 40px;
  color: var(--text-light, #636e72);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-submenu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-actions {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-actions .btn {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.mobile-nav-actions .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}

.mobile-nav-actions .btn-primary {
  color: #fff;
}

.mobile-nav-actions .btn-outline {
  color: var(--text);
}

.mobile-nav-actions .btn-whatsapp {
  color: #fff;
}

@media (min-width: 1024px) {
  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   8. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  padding: calc(var(--header-height) + 20px) 0 20px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb .sep {
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

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

.breadcrumb li:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================================================
   9. HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 40px) 20px 60px;
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--text-white);
  margin-bottom: 0.6em;
  font-weight: 800;
  line-height: 1.15;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* ==========================================================================
   10. STATS SECTION
   ========================================================================== */

.stats-section {
  background: var(--bg-alt);
  padding: 60px 0;
  border-top: 3px solid var(--primary-light);
  border-bottom: 3px solid var(--primary-light);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 20px 10px;
  width: calc(50% - 1rem);
}

@media (min-width: 576px) {
  .stat-item {
    width: auto;
    flex: 1;
  }
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.25em;
}

@media (min-width: 768px) {
  .stat-item {
    width: auto;
    flex: 1;
  }
}

/* ==========================================================================
   11. ABOUT SECTION
   ========================================================================== */

.about-section {
  padding: 80px 0;
}

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

.about-text h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

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

.about-text .btn {
  margin-top: 1rem;
}

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

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

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
}

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

  .about-image {
    aspect-ratio: 16 / 11;
  }
}

/* ==========================================================================
   12. SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 80px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.service-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  text-align: left;
  flex: 1;
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  margin: 1.5rem auto 0;
}
.service-card-icon svg {
  width: 24px;
  height: 24px;
}
/* When card has icon (no image): center all content and equalize height */
.service-card:has(.service-card-icon) {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}
.service-card:has(.service-card-icon) .service-card-body {
  text-align: center;
  align-items: center;
}

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

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

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  transition: gap var(--transition);
}

.service-card:hover .card-link {
  gap: 0.6em;
}

/* Desktop: taller image, centered text */
@media (min-width: 768px) {
  .service-card-img {
    height: 180px;
  }

  .service-card-body {
    text-align: center;
    padding: 1.5rem;
    align-items: center;
  }

  .service-card-icon {
    margin: 0 auto 0.75rem;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .services-grid .service-card {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Center the last row when it has fewer than 3 items */
  .services-grid .service-card:last-child:nth-child(3n+1) {
    grid-column: 2;
  }

  .services-grid .service-card:nth-last-child(2):nth-child(3n+1) {
    grid-column: 1 / span 1;
    justify-self: end;
    max-width: 90%;
  }

  .services-grid .service-card:nth-last-child(2):nth-child(3n+1) + .service-card {
    justify-self: start;
    max-width: 90%;
  }
}

/* ==========================================================================
   13. WHY SECTION
   ========================================================================== */

.why-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

.why-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

/* ==========================================================================
   14. PESTS SECTION
   ========================================================================== */

.pests-section {
  padding: 80px 0;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.pests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.pest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.pest-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(8, 165, 57, 0.15);
  transform: translateY(-3px);
}

.pest-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pest-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.pest-card .pest-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--primary);
  transition: gap var(--transition);
}

.pest-card-link svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.pest-card:hover .pest-card-link svg {
  transform: translateX(3px);
}

@media (min-width: 576px) {
  .pests-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .pests-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ==========================================================================
   15. CTA BANNER
   ========================================================================== */

.cta-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
  color: var(--text-white);
}

.cta-banner h2 {
  color: var(--text-white);
  margin-bottom: 0.5em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

/* ==========================================================================
   16. FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: 80px 0;
  background: var(--bg-alt, #f8fafb);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(6, 136, 45, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition), background var(--transition);
}

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

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  transition: background 0.2s ease, transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  top: 50%;
  left: 7px;
  right: 7px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 7px;
  bottom: 7px;
  width: 2px;
  transform: translateX(-50%);
}

details[open] .faq-icon {
  background: var(--primary);
  transform: rotate(45deg);
}

details[open] .faq-icon::before,
details[open] .faq-icon::after {
  background: #fff;
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item .faq-answer {
  padding: 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.93rem;
  border-top: 1px solid var(--border-light);
  margin: 0.5rem 1.25rem 0;
  padding-top: 1rem;
}

/* ==========================================================================
   17. CONTACT SECTION
   ========================================================================== */

.contact-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.contact-info-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2em;
}

.contact-info-text span,
.contact-info-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 165, 57, 0.15);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b2bec3;
}

/* Honeypot */
.ohnohoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.recaptcha-notice {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.recaptcha-notice a {
  color: #6b7280;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  color: var(--color-primary, #08A539);
}

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

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

  .form-group.full-width {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 0;
}

.footer-top {
  padding: 3rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, rgba(8,165,57,0.15), rgba(0,135,209,0.15));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: 0 -1.5rem;
}

.footer-cta-block {
  text-align: center;
}

.footer-cta-block h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.footer-cta-block p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--transition);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--primary);
  stroke: var(--primary);
}

.footer-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-hours svg {
  color: var(--primary);
  stroke: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.footer-credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.footer-credit a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   19. STICKY MOBILE CTA
   ========================================================================== */

.mobile-cta-sticky {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(8, 165, 57, 0.4);
    z-index: 900;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .mobile-cta-sticky:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(8, 165, 57, 0.5);
    color: var(--text-white);
  }
}

/* ==========================================================================
   20. SCROLL ANIMATIONS
   ========================================================================== */

/* Only hide elements when JS has loaded (body.js-loaded added by script) */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-loaded .animate-on-scroll:not(.animated) {
  opacity: 0;
  transform: translateY(20px);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  body.js-loaded .animate-on-scroll:not(.animated) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   21. IMAGE PLACEHOLDER
   ========================================================================== */

.img-placeholder {
  background: linear-gradient(135deg, #f0f4f3 0%, #e8edeb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  color: #b2bec3;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
}

.img-placeholder i,
.img-placeholder svg {
  opacity: 0.5;
}

/* Camera icon fallback if placeholder has no child icon */
.img-placeholder:empty::after {
  content: '\1F4F7';
  font-size: 3rem;
  opacity: 0.25;
}

/* ==========================================================================
   22. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
  }

  .stats-section {
    padding: 50px 0;
  }

  .about-section,
  .services-section,
  .why-section,
  .pests-section,
  .faq-section,
  .contact-section {
    padding: 70px 0;
  }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .hero {
    min-height: 70vh;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .cta-banner {
    padding: 50px 0;
  }

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

  .cta-banner-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 65vh;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .service-card {
    padding: 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .faq-item summary {
    font-size: 0.95rem;
    padding: 1rem 1rem;
  }

  .faq-item .faq-answer {
    padding: 0 1rem 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   23. BLOG CARD STYLES
   ========================================================================== */

.blog-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  display: block;
  flex-shrink: 0;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body time {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  display: block;
}

.blog-card-body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-read-more:hover {
  color: var(--primary-dark);
}

/* ── Pagination ── */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pagination-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  cursor: default;
}

.pagination-current:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination-prev,
.pagination-next {
  font-weight: 600;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ── Blog cards mobile: horizontal layout ── */

@media (max-width: 767px) {
  .blog-card {
    flex-direction: row;
  }

  .blog-card-img {
    width: 120px;
    flex-shrink: 0;
  }

  .blog-card img {
    width: 120px;
    height: 100%;
    min-height: 160px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .blog-card-body {
    padding: 0.75rem;
  }

  .blog-card-body h3 {
    font-size: 0.925rem;
  }
}

/* ==========================================================================
   24. CONTAINER NARROW (blog / article pages)
   ========================================================================== */

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   25. WHATSAPP STICKY BUTTON
   ========================================================================== */

.whatsapp-sticky {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 900;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-sticky:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--text-white);
}

@media (min-width: 768px) {
  .whatsapp-sticky {
    bottom: 30px;
    right: 30px;
  }
}

/* Nav active state already handled via ::after pseudo-element in section 6 */

/* Service icon SVG sizing */
.service-icon svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   28. PRINT STYLES
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .mobile-cta-sticky,
  .whatsapp-sticky,
  .nav-toggle,
  .mobile-nav,
  .mobile-nav-overlay,
  .cta-banner,
  .hero-buttons,
  .header-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    background: none !important;
    color: #000;
    padding: 20px 0;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .hero p {
    color: #000;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .service-card,
  .contact-form {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   NEW SECTIONS: Testimonials, Clients, Zones, Map
   ========================================================================== */

/* Testimonials — Google Reviews style */
/* Google Reviews section */
.testimonials-section {
  padding: 5rem 0;
  background: var(--bg);
}

/* Summary bar */
.gr-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.gr-summary-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.gr-google-g {
  flex-shrink: 0;
}

.gr-score {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.gr-stars {
  display: flex;
  gap: 1px;
  margin: 2px 0;
}

.gr-count {
  font-size: 0.8rem;
  color: #70757a;
}

/* Review cards carousel */
.gr-carousel {
  position: relative;
}

.gr-viewport {
  overflow: hidden;
}

.gr-grid {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
}

.gr-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.gr-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Arrow buttons — centered below */
.gr-arrows {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gr-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dadce0;
  color: #3c4043;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gr-arrow:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-color: #bbb;
}

/* Card header */
.gr-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.gr-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.gr-avatar-letter {
  background: #1a73e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.gr-author {
  flex: 1;
  min-width: 0;
}

.gr-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gr-author span {
  font-size: 0.75rem;
  color: #70757a;
}

.gr-g-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Stars */
.gr-card-stars {
  display: flex;
  gap: 0;
  margin-bottom: 0.5rem;
}

/* Review text with truncation */
.gr-card-text p {
  color: #3c4043;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
}

.gr-card-text.gr-truncated p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gr-card-text.gr-expanded p {
  display: block;
}

/* Read more button */
.gr-read-more {
  background: none;
  border: none;
  color: #1a73e8;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 0 0;
  transition: color 0.15s ease;
}

.gr-read-more:hover {
  color: #174ea6;
  text-decoration: underline;
}

/* CTA button */
.gr-cta {
  text-align: center;
  margin-top: 2rem;
}

.gr-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 24px;
  color: #1a73e8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.gr-cta-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
  .gr-summary-left {
    padding: 0.75rem 1rem;
  }
  .gr-score {
    font-size: 1.4rem;
  }
}

/* Clients — Scrolling marquee */
.clients-section {
  padding: 3rem 0;
  background: var(--bg-alt);
  overflow: hidden;
}

.clients-section .section-header h2 {
  color: var(--text);
}

.logos-track {
  overflow: hidden;
  padding: 1.5rem 0;
}

.logos-track-inner {
  display: flex;
  gap: 3.5rem;
  width: max-content;
}

.logos-track:hover .logos-track-inner {
  animation-play-state: paused;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 120px;
  height: 80px;
  padding: 0 0.5rem;
}

.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}

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

/* Contact page */
.contact-page {
  padding: 3rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
}

.contact-info-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.contact-info-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.contact-info-link:hover {
  background: var(--primary-light);
}

.contact-info-link.whatsapp-link {
  color: #25D366;
}

.contact-info-link.phone-link {
  color: var(--primary);
}

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.hours-day {
  color: var(--text-light);
}

.hours-time {
  font-weight: 500;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-align: center;
}

.alert-success {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
}

.alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

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

/* Zones */
.zones-section {
  padding: 4rem 0;
  background: var(--bg);
}

.zones-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.6rem 1.25rem;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.93rem;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
}

.zone-tag::after {
  content: '\2192';
  font-size: 0.85em;
  color: var(--primary);
  transition: transform var(--transition);
}

.zone-tag:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(6, 136, 45, 0.1);
}

.zone-tag:hover::after {
  transform: translateX(3px);
}

/* Map */
.map-section {
  padding: 0 0 5rem;
}

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

.map-embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ----- RGPD Checkbox ----- */
.rgpd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.rgpd-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.rgpd-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border, #ddd);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  margin-top: 1px;
  background: #fff;
}
.rgpd-check svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all .2s ease;
  color: #fff;
}
.rgpd-checkbox:hover .rgpd-check {
  border-color: var(--primary, #06882d);
}
.rgpd-checkbox input:focus-visible + .rgpd-check {
  border-color: var(--primary, #06882d);
  box-shadow: 0 0 0 3px rgba(6,136,45,.2);
}
.rgpd-checkbox input:checked + .rgpd-check {
  background: var(--primary, #06882d);
  border-color: var(--primary, #06882d);
}
.rgpd-checkbox input:checked + .rgpd-check svg {
  opacity: 1;
  transform: scale(1);
}
.rgpd-text {
  font-size: 0.875rem;
  color: var(--text-muted, #666);
  line-height: 1.5;
}
.rgpd-text a {
  color: var(--primary, #06882d);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rgpd-text a:hover {
  color: var(--primary-dark, #056b23);
}

/* ==========================================================================
   INNER PAGES (nuisibles, zones, metiers)
   ========================================================================== */

/* --- Hero Inner — shorter hero for inner pages --- */
.hero.hero-inner {
  min-height: auto;
  padding: calc(var(--header-height) + 2rem) 20px 3rem;
}
.hero.hero-prestation {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--secondary);
}
.hero.hero-prestation::before {
  background: rgba(0, 0, 0, 0.65);
}

/* --- Hero Pest Badge (nuisibles pages) --- */
.hero-pest-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
}
.hero-pest-badge img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* --- Hero Metier Badge (metier pages) --- */
.hero-metier-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
}
.hero-metier-badge svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
}

/* --- Hero Department Badge (zones pages) --- */
.hero-dept-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: #fff;
  border-radius: 50%;
}
.dept-number {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

/* --- Hero Intro paragraph --- */
.hero-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
}
/* --- Hero subtitle (short SEO line) --- */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

/* --- Intro section (below hero, styled card) --- */
.intro-section {
  padding: 3rem 0 0;
}
.intro-section .content-narrow {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  position: relative;
}
.intro-section .content-narrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.intro-section .content-narrow p {
  margin-bottom: 1rem;
}
.intro-section .content-narrow p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .intro-section .content-narrow {
    padding: 1.5rem;
  }
  .intro-section .content-narrow::before {
    left: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
}

.hero-intro p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Hero Pain Points (metier pages) --- */
.hero-pain-points {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.pain-point-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- TOC Section — sticky navigation bar --- */
.toc-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: var(--header-height);
  z-index: 50;
}
.toc-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-link {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.toc-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Content Sections --- */
.content-section {
  padding: 4rem 0;
}
.content-section-alt {
  background: var(--bg-alt);
}

/* --- Content Narrow — article-like body --- */
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-narrow h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.content-narrow h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.content-narrow p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text);
}
.content-narrow strong {
  color: var(--text);
  font-weight: 600;
}
.content-narrow a {
  color: var(--primary);
  text-decoration: none;
}
.content-narrow a:hover {
  text-decoration: underline;
}

/* Content Narrow — Card-style lists (same pattern as blog article) */
.content-narrow ul,
.content-narrow ol {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.content-narrow ol {
  counter-reset: list-counter;
}
.content-narrow li {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 0.85rem 2.25rem;
  line-height: 1.65;
  position: relative;
}
.content-narrow ul > li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.content-narrow ol > li {
  counter-increment: list-counter;
  padding-left: 2.75rem;
}
.content-narrow ol > li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
/* Nested lists — simpler, no cards */
.content-narrow li ul,
.content-narrow li ol {
  margin: 0.5rem 0 0.15rem;
  gap: 0.3rem;
}
.content-narrow li li {
  background: var(--bg);
  border-color: var(--border);
  padding: 0.5rem 0.75rem 0.5rem 1.85rem;
  font-size: 0.92em;
}
.content-narrow li li::before {
  width: 5px;
  height: 5px;
  top: 50%;
  transform: translateY(-50%);
  left: 0.7rem;
  background: var(--text-light);
}

/* --- Hub / Index Pages --- */
.page-hub {
  padding: 4rem 0;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.hub-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.hub-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: inherit;
}
.hub-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.hub-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.hub-card h2 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.hub-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hub-card-tags span {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   HUB / INDEX PAGES — Nuisibles, Zones, Métiers cards
   ========================================================================== */

.nuisibles-hub-section,
.zones-hub-section,
.metiers-hub-section {
  padding: 4rem 0;
}

/* ── Nuisible hub card (icon left + body right) ── */
.nuisible-hub-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.nuisible-hub-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}
.nuisible-hub-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}
.nuisible-hub-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nuisible-hub-card-body h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.nuisible-hub-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nuisible-hub-card-body .card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ── Zone hub card (badge + title + ville tags) ── */
.zone-hub-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.zone-hub-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}
.zone-hub-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.zone-hub-card-header .dept-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}
.zone-hub-card-header h2 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0;
}
.zone-hub-card-body {
  margin-top: 0.5rem;
}
.zone-hub-villes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.zone-ville-tag {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  color: var(--text-light);
}
.zone-ville-tag.zone-ville-more {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  border-color: var(--primary);
}
.zone-hub-card-body .card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ── Metier hub card (icon + title + badges) ── */
.metier-hub-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.metier-hub-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}
.metier-hub-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.metier-hub-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}
.metier-hub-card-body h2 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.metier-hub-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.metier-hub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.metier-hub-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
}
.metier-hub-card-body .card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ── Hub cards responsive ── */
@media (max-width: 768px) {
  .nuisible-hub-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  .metier-hub-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  .zone-hub-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .zone-hub-villes {
    justify-content: center;
  }
  .nuisibles-hub-section .grid-2-cols,
  .zones-hub-section .grid-2-cols,
  .metiers-hub-section .grid-2-cols {
    grid-template-columns: 1fr;
  }
}

/* --- Inner Pages Responsive --- */
@media (max-width: 768px) {
  .hero.hero-inner {
    padding: calc(var(--header-height) + 1rem) 16px 2rem;
  }
  .hero-pest-badge {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    padding: 0.75rem;
  }
  .hero-pest-badge img {
    width: 48px;
    height: 48px;
  }
  .hero-metier-badge {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    padding: 0.75rem;
  }
  .hero-metier-badge svg {
    width: 40px;
    height: 40px;
  }
  .hero-dept-badge {
    width: 56px;
    height: 56px;
  }
  .dept-number {
    font-size: 1.25rem;
  }
  .content-narrow {
    max-width: 100%;
    padding: 0 16px;
  }
  .content-narrow h2 {
    font-size: 1.4rem;
  }
  .toc-section .toc-list {
    gap: 0.35rem;
  }
  .toc-link {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .content-section {
    padding: 3rem 0;
  }
  .page-hub {
    padding: 3rem 0;
  }
}

/* ==========================================================================
   BLOG ARTICLE PAGE
   ========================================================================== */

/* Cover image */
.blog-article-cover {
  max-width: 1060px;
  margin: 0 auto 2rem;
}
.blog-article-cover img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* Article header */
.blog-article .blog-article-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.blog-article .blog-article-header h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.blog-article .blog-article-header time {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Article layout — content centered, TOC positioned outside on the right */
.blog-article-layout {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.blog-article-layout .blog-article-content {
  max-width: 720px;
}
.blog-article-layout.no-toc .blog-article-content {
  max-width: 800px;
  margin: 0 auto;
}

/* TOC sidebar — positioned outside the centered content */
.blog-article-toc {
  position: absolute;
  right: -290px;
  top: 0;
  width: 260px;
}
.blog-article-toc-inner {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: var(--bg-alt);
}
.blog-article-toc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.blog-article-toc-title svg {
  color: var(--primary);
  flex-shrink: 0;
}
.blog-article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc-counter;
}
.blog-article-toc-list .toc-item {
  margin-bottom: 0.15rem;
  counter-increment: toc-counter;
}
.blog-article-toc-list .toc-item a {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}
.blog-article-toc-list .toc-item a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.blog-article-toc-list .toc-item a.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding-left: calc(0.65rem - 3px);
}

/* Article footer */
.blog-article .blog-article-footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   BLOG ARTICLE — CONTENT TYPOGRAPHY
   ========================================================================== */

.blog-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.blog-article-content > *:first-child {
  margin-top: 0;
}

/* Paragraphs */
.blog-article-content p {
  margin: 0 0 1.5rem;
}

/* Headings */
.blog-article-content h2 {
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
}
.blog-article-content h3 {
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.blog-article-content h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}

/* Links */
.blog-article-content a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.blog-article-content a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Lists — each item as its own card */
.blog-article-content ul,
.blog-article-content ol {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.blog-article-content ol {
  counter-reset: list-counter;
}
.blog-article-content li {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  line-height: 1.65;
  position: relative;
  padding-left: 2.25rem;
}
.blog-article-content ul > li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.blog-article-content ol > li {
  counter-increment: list-counter;
}
.blog-article-content ol > li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.blog-article-content ol > li {
  padding-left: 2.75rem;
}
/* Nested lists — simpler, no cards */
.blog-article-content li ul,
.blog-article-content li ol {
  margin: 0.5rem 0 0.15rem;
  gap: 0.3rem;
}
.blog-article-content li li {
  background: var(--bg);
  border-color: var(--border);
  padding: 0.5rem 0.75rem 0.5rem 1.85rem;
  font-size: 0.92em;
}
.blog-article-content li li::before {
  width: 5px;
  height: 5px;
  top: 50%;
  transform: translateY(-50%);
  left: 0.7rem;
  background: var(--text-light);
}

/* Blockquotes */
.blog-article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}
.blog-article-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Images in content */
.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: block;
}
.blog-article-content figure {
  margin: 1.5rem 0;
}
.blog-article-content figcaption {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* Code */
.blog-article-content code {
  background: var(--bg-alt);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.blog-article-content pre {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.blog-article-content pre code {
  background: none;
  padding: 0;
}

/* Horizontal rule */
.blog-article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ==========================================================================
   BLOG ARTICLE — TABLES
   ========================================================================== */

.blog-article-content .table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}
.blog-article-content thead th {
  background: var(--primary-light);
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.blog-article-content th,
.blog-article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
}
.blog-article-content tbody tr:nth-child(even) {
  background: var(--bg-alt);
}
.blog-article-content tbody tr:hover {
  background: var(--primary-light);
}

/* Hide global phone sticky on article pages (replaced by article CTA bar) */
body.is-blog-article .mobile-cta-sticky {
  display: none !important;
}

/* ==========================================================================
   BLOG ARTICLE — STICKY CTA BAR
   ========================================================================== */

.blog-article-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.blog-article-sticky-cta.visible {
  transform: translateY(0);
}
.blog-article-sticky-cta .sticky-cta-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.blog-article-sticky-cta .btn {
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}
.blog-article-sticky-cta .btn-phone {
  display: none;
}

@media (max-width: 768px) {
  .blog-article-sticky-cta .sticky-cta-text {
    display: none;
  }
  .blog-article-sticky-cta .btn-phone {
    display: inline-flex;
  }
  .blog-article-sticky-cta {
    justify-content: stretch;
    gap: 0.5rem;
  }
  .blog-article-sticky-cta .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   BLOG ARTICLE — RESPONSIVE
   ========================================================================== */

@media (max-width: 1279px) {
  .blog-article-toc {
    display: none;
  }
}

@media (max-width: 1023px) {
  .blog-article-layout .blog-article-content {
    max-width: 100%;
  }
  .blog-article .blog-article-header h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 600px) {
  .blog-article .blog-article-header h1 {
    font-size: 1.4rem;
  }
  .blog-article-content {
    font-size: 1rem;
  }
  .blog-article .blog-article-footer {
    flex-direction: column;
  }
}

/* --- Center grids with few items (flex override) --- */
.grid-centered {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.grid-centered > * {
  flex: 0 1 280px;
  max-width: 320px;
}
.grid-centered.grid-centered-md > * {
  flex: 0 1 200px;
  max-width: 220px;
}
.grid-centered.grid-centered-sm > * {
  flex: 0 1 160px;
  max-width: 180px;
}

/* --- Related sections spacing --- */
.related-services-section,
.pests-section {
  padding: 4rem 0;
}

/* --- Mini CTA between content sections --- */
.mini-cta-section {
  padding: 2.5rem 0;
}
.mini-cta {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}
.mini-cta p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.mini-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .mini-cta {
    padding: 1.5rem;
  }
  .mini-cta p {
    font-size: 1rem;
  }
}

/* ==========================================================================
   BLOG COUNT
   ========================================================================== */
.blog-count {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   BLOG PREVIEW SECTION (Homepage)
   ========================================================================== */
.blog-preview-section {
  padding: 5rem 0;
  background: var(--bg-alt);
}
