/* ═══════════════════════════════════════════════
   WERNEX TERMITE & PEST CONTROL — SHARED STYLES
   Design: Bold green authority + lime energy + amber CTAs
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  --green-dark: #0d2818;
  --green-mid: #1a3c2a;
  --green-light: #2d5a3f;
  --lime: #8BC34A;
  --lime-bright: #AEEA00;
  --amber: #FF9800;
  --amber-dark: #E65100;
  --red-alert: #EF5350;
  --white: #FAFFF7;
  --off-white: #F0F5ED;
  --gray-light: #D5DDD2;
  --gray: #8A9585;
  --text-dark: #0d2818;
  --text-body: #2E3B2E;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13,40,24,0.10);
  --shadow-lg: 0 12px 48px rgba(13,40,24,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { max-width: 65ch; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--dark { background: var(--green-dark); color: var(--white); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--alt { background: var(--off-white); }

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
  display: block;
}
.section--dark .section-label { color: var(--lime-bright); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,152,0,0.35);
}
.btn--primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,152,0,0.45);
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn--outline:hover { background: var(--green-dark); color: #fff; }

.btn--white {
  background: #fff;
  color: var(--green-dark);
}
.btn--white:hover { background: var(--lime-bright); }

.btn--lime {
  background: var(--lime);
  color: var(--green-dark);
}
.btn--lime:hover { background: var(--lime-bright); transform: translateY(-2px); }

.btn--sm { padding: 10px 22px; font-size: 0.9rem; }

/* ── Image / Video Placeholders ── */
.placeholder {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-light) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}
.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.03) 20px,
    rgba(255,255,255,0.03) 40px
  );
}
.placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}
.placeholder--video::after {
  content: '▶';
  font-size: 3rem;
  position: absolute;
  color: rgba(255,255,255,0.25);
}
.placeholder--tall { min-height: 400px; }
.placeholder--hero { min-height: 500px; border-radius: 0; }
.placeholder--card { min-height: 220px; border-radius: var(--radius) var(--radius) 0 0; }
.placeholder--square { aspect-ratio: 1; }
.placeholder--wide { aspect-ratio: 16/9; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,40,24,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139,195,74,0.15);
  transition: var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--lime);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.nav__links a {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--lime); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.nav__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}
.nav__phone svg { color: var(--lime); }
.nav__cta { margin-left: 8px; }

/* ── Wernex image logo in nav ── */
.nav__logo--img {
  display: flex;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
  width: 260px;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 160px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
  margin-top: 80px;
}
.nav__logo-img:hover {
  filter: drop-shadow(0 4px 16px rgba(200,50,50,0.55));
  transform: scale(1.04);
}
.nav__logo-img--footer {
  height: 64px;
}

/* ── Hamburger ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: var(--transition);
}

.nav__mobile { display: none; }

/* ── Mobile nav ── */
@media (max-width: 960px) {
  .nav__hamburger { display: flex; }
  .nav__links,
  .nav__phone,
  .nav__cta {
    display: none;
  }
  .nav__mobile {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a {
    display: block;
    padding: 16px 0;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__mobile .mobile-phone {
    margin-top: 24px;
    color: var(--lime);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
  }
  .nav__mobile .btn {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   HERO — two-column split with 3D video frame
   ══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  background: var(--green-dark);
}

/* dark layered gradient */
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(45,90,63,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 20%, rgba(139,195,74,0.06) 0%, transparent 60%),
    linear-gradient(135deg, #061610 0%, #0d2818 50%, #102b1c 100%);
  z-index: 0;
}

/* decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: var(--lime);
  top: -120px;
  right: 5%;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: var(--amber);
  bottom: -80px;
  right: 30%;
  animation: blobFloat 9s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

/* two-column grid */
.hero__split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
@media (max-width: 900px) {
  .hero__split {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 0;
  }
}

/* pulsing pill above h1 */
.hero__pre-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(139,195,74,0.12);
  border: 1px solid rgba(139,195,74,0.25);
  border-radius: 50px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  animation: heroDotPulse 2s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

.hero__content h1      { color: #fff; margin-bottom: 20px; }
.hero__content h1 span { color: var(--lime); }
.hero__content > p {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero__badge-icon {
  width: 42px;
  height: 42px;
  background: rgba(139,195,74,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* RIGHT: video wrap — padding keeps chips inside overflow:hidden */
.hero__video-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px 32px 36px;
}

/* decorative pulsing rings (desktop only) */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139,195,74,0.15);
  pointer-events: none;
  animation: ringPulse 6s ease-in-out infinite;
}
.hero__ring--outer {
  width: 540px;
  height: 540px;
  animation-delay: 0s;
}
.hero__ring--inner {
  width: 420px;
  height: 420px;
  border-color: rgba(139,195,74,0.09);
  animation-delay: 1.5s;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1);     opacity: 0.6; }
  50%       { transform: scale(1.04); opacity: 1; }
}
@media (max-width: 900px) {
  .hero__ring { display: none; }
}

/* ── Two-layer 3D card system ──
   .video-3d-float-wrap  → translateY float animation ONLY
   .video-3d-card        → 3D tilt + hover transition ONLY
   Keeping them separate prevents the animation from
   overriding the CSS transition on hover.              */

/* Layer 1: float wrapper */
.video-3d-float-wrap {
  width: 100%;
  max-width: 520px;
  animation: cardFloat 7s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* Layer 2: visible card */
.video-3d-card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  background: #0d2010;
  border: 1px solid rgba(139,195,74,0.22);
  box-shadow:
    0 2px 0   rgba(139,195,74,0.30),
    0 40px  80px  rgba(0,0,0,0.65),
    0 80px 160px  rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition:
    transform  0.6s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.6s ease;
  cursor: default;
}
.video-3d-card:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) scale(1.02);
  box-shadow:
    0 2px 0   rgba(139,195,74,0.55),
    0 60px 120px rgba(0,0,0,0.70),
    0 100px 200px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* macOS-style chrome bar */
.video-3d-card__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px 18px 0 0;
}
.chrome-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chrome-dot--red    { background: #ff5f57; }
.chrome-dot--yellow { background: #ffbd2e; }
.chrome-dot--green  { background: #28c840; }
.chrome-label {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.5px;
}

/* surface glare sheen */
.video-3d-card__glare {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 3;
}

/* 16:9 iframe wrapper */
.video-3d-card__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.video-3d-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* bottom label strip */
.video-3d-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 18px 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
}
.video-3d-card__live {
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* floating stat chips */
.hero__chip {
  position: absolute;
  background: rgba(13,40,24,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139,195,74,0.30);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.40);
  z-index: 5;
  animation: chipFloat 5s ease-in-out infinite;
}
.hero__chip--tl { top: 0; left: 0; animation-delay: 0s; }
.hero__chip--br { bottom: 0; right: 0; animation-delay: 1.2s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
.chip-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
}
.chip-lbl {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.52);
  white-space: nowrap;
}

/* mobile hero overrides */
@media (max-width: 900px) {
  .hero__chip          { display: none; }
  .hero__video-wrap    { padding: 0; }
  .video-3d-float-wrap { animation: none; max-width: 100%; }
  .video-3d-card {
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  }
  .video-3d-card:hover {
    transform: perspective(800px) rotateY(-1deg) rotateX(0deg) scale(1.01);
  }
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card__body { padding: 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.card__link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-light);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.card__link:hover { color: var(--amber); gap: 10px; }

/* ── Service Icon Cards ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.service-card__icon--green { background: rgba(139,195,74,0.15); }
.service-card__icon--amber { background: rgba(255,152,0,0.12); }
.service-card__icon--red   { background: rgba(239,83,80,0.1); }
.service-card h3 { margin-bottom: 10px; }
.service-card p  { color: var(--gray); font-size: 0.92rem; }

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 48px 0;
}
.stat { text-align: center; }
.stat__number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--lime);
  line-height: 1;
}
.section--dark .stat__number { color: var(--lime-bright); }
.stat__label {
  font-size: 0.9rem;
  margin-top: 6px;
  opacity: 0.7;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.section--dark .testimonial { background: var(--green-mid); }
.testimonial__stars {
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.testimonial__text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-dark);
}
.testimonial__name {
  font-family: var(--font-display);
  font-weight: 700;
}
.testimonial__loc {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-light) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; max-width: 500px; }
.cta-banner p  { color: rgba(255,255,255,0.75); margin-top: 8px; }
.cta-banner__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Pest Library Grid ── */
.pest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.pest-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.pest-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pest-item .placeholder { min-height: 160px; border-radius: 0; }
.pest-item__name {
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

/* ── Blog Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card__body { padding: 24px; }
.blog-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 12px;
}
.blog-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card__tag {
  display: inline-block;
  background: rgba(139,195,74,0.12);
  color: var(--green-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 12px;
}

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(139,195,74,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Quote Form Sidebar ── */
.quote-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 { margin-bottom: 4px; }
.quote-form p  { color: var(--gray); font-size: 0.9rem; margin-bottom: 24px; }

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   FOOTER — Responsive with CTA strip
   ══════════════════════════════════════════════ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
}

/* subtle grid texture */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,195,74,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,195,74,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── CTA Strip ── */
.footer__cta-strip {
  background: linear-gradient(135deg, #c0392b 0%, #8B0000 100%);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.footer__cta-strip::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--amber) 50%, var(--lime) 100%);
}
.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__cta-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}
.footer__cta-text h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin: 0;
}
.footer__cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .footer__cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Footer Body ── */
.footer__body {
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Brand column */
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo-link { display: inline-block; }
.footer__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.footer__logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 20px rgba(200,50,50,0.5));
}
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  margin-top: 0;
}

/* Social icons */
.footer__socials { display: flex; gap: 10px; margin-top: 4px; }
.footer__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer__social-btn:hover {
  background: var(--lime);
  color: var(--green-dark);
  border-color: var(--lime);
  transform: translateY(-3px);
}

/* Column headings */
.footer__col h4,
.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(139,195,74,0.25);
  position: relative;
}
.footer__col h4::after,
.footer h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

/* Column links */
.footer__col ul,
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a,
.footer ul a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__col ul a:hover,
.footer ul a:hover {
  color: var(--lime);
  transform: translateX(4px);
}
.footer ul li { margin-bottom: 0; }

/* Contact list */
.footer__contact-list { gap: 14px !important; }
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.footer__contact-list a {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.9rem !important;
  word-break: break-word;
}
.footer__contact-list a:hover { color: var(--lime) !important; transform: none !important; }
.footer__contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ── Bottom Bar ── */
.footer__bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}
.footer__bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom-links a {
  color: rgba(255,255,255,0.38);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer__bottom-links a:hover { color: var(--lime); }

/* legacy bottom classes (kept for backward compat) */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}

/* ── Floating CTA (mobile) ── */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  z-index: 900;
  background: var(--amber);
  color: #fff;
  text-align: center;
  padding: 16px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 32px rgba(255,152,0,0.4);
  transition: var(--transition);
}
.floating-cta:hover { background: var(--amber-dark); }
@media (max-width: 768px) {
  .floating-cta { display: block; }
}

/* ── Chat Widget ── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 950;
}
@media (max-width: 768px) {
  .chat-widget { bottom: 84px; }
}
.chat-widget__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--lime);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(139,195,74,0.4);
  transition: var(--transition);
  font-size: 1.5rem;
}
.chat-widget__btn:hover { transform: scale(1.1); }
.chat-widget__panel {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-height: 480px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  flex-direction: column;
}
.chat-widget__panel.open { display: flex; }
.chat-widget__header {
  background: var(--green-dark);
  color: #fff;
  padding: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-widget__header button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}
.chat-widget__messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  min-height: 200px;
}
.chat-widget__messages .bot-msg {
  background: var(--off-white);
  border-radius: 12px 12px 12px 2px;
  padding: 12px 16px;
  margin-bottom: 12px;
  max-width: 85%;
  font-size: 0.9rem;
}
.chat-widget__input {
  display: flex;
  border-top: 1px solid var(--gray-light);
}
.chat-widget__input input {
  flex: 1;
  border: none;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.chat-widget__input button {
  background: var(--lime);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.1rem;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Smooth load stagger ── */
body.loaded .reveal { transition-delay: calc(var(--delay, 0) * 0.1s); }

/* ── Guarantee Badge ── */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(139,195,74,0.1);
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  padding: 16px 24px;
}
.guarantee-badge__icon { font-size: 2.2rem; }
.guarantee-badge__text strong {
  font-family: var(--font-display);
  display: block;
}
.guarantee-badge__text span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ── Pest Identifier Tool ── */
.pest-search {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.pest-search input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 2px solid var(--gray-light);
  border-radius: 50px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  transition: var(--transition);
}
.pest-search input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(139,195,74,0.15);
}
.pest-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.4;
}
.pest-search__results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  display: none;
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
}
.pest-search__results.open { display: block; }
.pest-search__results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  transition: var(--transition);
  font-weight: 500;
}
.pest-search__results a:hover { background: var(--off-white); }
.pest-search__results a .emoji { font-size: 1.3rem; }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-method__icon {
  width: 52px;
  height: 52px;
  background: rgba(139,195,74,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-method h4 { margin-bottom: 4px; }
.contact-method p  { color: var(--gray); font-size: 0.9rem; }
.contact-method a  { color: var(--green-light); font-weight: 600; }

/* ── Map Placeholder ── */
.map-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-placeholder .placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  min-height: 400px;
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 140px 0 60px;
  background: var(--green-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(139,195,74,0.08) 0%, transparent 60%);
}
.page-header h1 { color: #fff; margin-bottom: 12px; position: relative; }
.page-header p  { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 580px; margin: 0 auto; position: relative; }

.divider {
  height: 1px;
  background: var(--gray-light);
  border: none;
  margin: 0;
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.team-card { text-align: center; }
.team-card .placeholder {
  aspect-ratio: 1;
  border-radius: 50%;
  max-width: 200px;
  margin: 0 auto 16px;
}
.team-card h4 { margin-bottom: 4px; }
.team-card p  { color: var(--gray); font-size: 0.9rem; }

/* ── Service Detail ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
}

/* ── Areas Served ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.areas-grid a {
  padding: 12px 16px;
  background: rgba(139,195,74,0.08);
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: center;
}
.areas-grid a:hover { background: var(--lime); color: var(--green-dark); }

/* ── Video Section (mid-page) ── */
.video-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-section .placeholder {
  min-height: 450px;
  border-radius: 0;
}