:root{
  --sg-accent:#e63946;
  --sg-accent-dark:#d62828;
  --sg-text:#111827;
  --sg-muted:rgba(17,24,39,0.72);
  --sg-border:rgba(0,0,0,0.10);
  --sg-soft:#f7f9fc;
  --sg-shadow: 0 12px 30px rgba(0,0,0,0.10);
  --sg-shadow-soft: 0 10px 22px rgba(0,0,0,0.08);
}

body{ color: var(--sg-text); }

/* Safe fallback container */
.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Reset
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { padding-top: 0; }

/* ===== Buttons ===== */
.generalpest-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration:none;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.generalpest-btn-primary{
  background: var(--sg-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(230,57,70,0.28);
}
.generalpest-btn-primary:hover{
  background: var(--sg-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(230,57,70,0.34);
}

.generalpest-btn-outline{
  background: rgba(255,255,255,0.85);
  color: #111;
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.generalpest-btn-outline:hover{
  transform: translateY(-1px);
  background: #fff;
}

/* =========================
   HERO
========================= */
.generalpest-hero{
  position: relative;
  padding: 56px 0 26px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background:
    radial-gradient(1100px 480px at 18% 0%, rgba(230,57,70,0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 10%, rgba(0,0,0,0.06), transparent 60%),
    linear-gradient(180deg, #ffffff, #fbfbfd);
}

.generalpest-hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(135deg, rgba(230,57,70,0.10), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 10px);
  opacity: 0.35;
  pointer-events:none;
}

.generalpest-hero-inner{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

.generalpest-kicker{
  font-size: 13px;
  font-weight: 800;
  color: rgba(17,24,39,0.62);
  margin: 0 0 10px;
}

.generalpest-hero h1{
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.8px;
}

.generalpest-lead{
  margin: 0 0 18px;
  color: rgba(17,24,39,0.80);
  line-height: 1.7;
  font-size: 16px;
  max-width: 62ch;
}

.generalpest-hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.generalpest-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.generalpest-badge{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(0,0,0,0.05);
}

/* Right hero media */
.generalpest-hero-media{
  display: grid;
  gap: 12px;
  align-content: center;
}

.generalpest-hero-photo{
  height: 330px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: var(--sg-shadow);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.34)),
    url("generalpestservice.webp"); /* change to your image filename/path */
  background-size: cover;
  background-position: center;
}

.generalpest-hero-stat{
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 14px 14px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}

.stat-title{
  margin: 0 0 6px;
  font-weight: 900;
  color: rgba(17,24,39,0.92);
}
.stat-text{
  margin: 0;
  color: rgba(17,24,39,0.70);
  line-height: 1.6;
  font-size: 14px;
}

/* =========================
   TRUST
========================= */
.generalpest-trust{
  padding: 18px 0 28px;
  background: #fff;
}

.generalpest-trust-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.generalpest-trust-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--sg-shadow-soft);
  overflow: hidden;
}

.generalpest-trust-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 4px;
  background: linear-gradient(90deg, var(--sg-accent), rgba(230,57,70,0.25));
}

.generalpest-trust-card h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.generalpest-trust-card p{
  margin: 0;
  color: var(--sg-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* =========================
   SECTIONS
========================= */
.generalpest-main{ padding: 10px 0 0; }
.generalpest-section{ padding: 40px 0; }

.generalpest-section-alt{
  background: var(--sg-soft);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.generalpest-section-head h2{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.3px;
}
.generalpest-section-head p{
  margin: 0 0 18px;
  color: var(--sg-muted);
  line-height: 1.7;
  max-width: 78ch;
}

/* Two column */
.generalpest-two-col{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.generalpest-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--sg-shadow-soft);
}

.generalpest-card-soft{ background: rgba(255,255,255,0.88); }

.generalpest-card h2,
.generalpest-card h3{
  margin-top: 0;
  font-weight: 900;
}

.generalpest-list{
  margin: 12px 0 0;
  padding-left: 18px;
}
.generalpest-list li{
  margin: 10px 0;
  line-height: 1.6;
  color: rgba(17,24,39,0.86);
}

.generalpest-note{
  margin-top: 12px;
  color: rgba(17,24,39,0.74);
  line-height: 1.6;
}

.generalpest-inline-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Steps */
.generalpest-steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

.generalpest-step{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.generalpest-step:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.10);
}

.generalpest-step-num{
  display:inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--sg-accent);
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.18);
  margin-bottom: 10px;
}

.generalpest-step h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.generalpest-step p{
  margin: 0;
  color: var(--sg-muted);
  line-height: 1.6;
  font-size: 14px;
}

.generalpest-center-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Coverage card */
.generalpest-coverage-card{ margin-top: 14px; }

.generalpest-coverage-pills{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.generalpest-pill{
  display:flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.05);
}

.generalpest-pill strong{
  font-weight: 900;
  color: rgba(17,24,39,0.92);
  line-height: 1.2;
}

.generalpest-pill span{
  font-weight: 800;
  color: rgba(17,24,39,0.68);
  line-height: 1.35;
  font-size: 13px;
}

.generalpest-coverage-cta{ margin-top: 14px; }

/* Strip CTA */
.generalpest-strip{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--sg-shadow-soft);
  margin-top: 16px;
}

.generalpest-strip h3{ margin: 0 0 6px; font-weight: 900; }
.generalpest-strip p{
  margin: 0;
  color: var(--sg-muted);
  line-height: 1.6;
}
.generalpest-strip-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FAQ */
.generalpest-faq{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}

.generalpest-faq-item{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}

.generalpest-faq-item summary{
  cursor: pointer;
  font-weight: 900;
}
.generalpest-faq-item p{
  margin-top: 10px;
  color: var(--sg-muted);
  line-height: 1.7;
}

/* Final */
.generalpest-final{
  padding: 44px 0 50px;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(230,57,70,0.18), transparent 60%),
    linear-gradient(180deg, #fff, #fbfbfd);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.generalpest-final-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.generalpest-final-inner h2{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.generalpest-final-inner p{
  margin: 0;
  color: var(--sg-muted);
  line-height: 1.7;
  max-width: 78ch;
}

.generalpest-final-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   Top Bar
========================= */
.top-bar{
  background: #333;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  text-align: center;
  position: relative;
  z-index: 10000;
}
.top-bar a,
.top-bar a[href^="tel"]{
  color: #fff !important;
  text-decoration: none !important;
}

/* =========================
   Header / Nav
========================= */
header{
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 64px;
  padding: 0 14px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
}

.logo{
  display: flex;
  align-items: center;
  min-width: 0;
}
.logo img{
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.quote-btn{
  display: flex;
  align-items: center;
}
.quote-btn .cta-button{
  background: var(--sg-accent);
  color: #fff;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: background 0.2s ease;
  border: 1px solid rgba(0,0,0,0.08);
  white-space: nowrap;
  transform: none !important;
}
.quote-btn .cta-button:hover{
  background: var(--sg-accent-dark);
}

/* Hamburger */
.hamburger{
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  font-size: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

/* Overlay */
.overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.overlay.active{ display: block; opacity: 1; }

/* Main nav */
.main-nav > ul.nav-menu{
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.main-nav > ul.nav-menu > li{ position: relative; }

.main-nav > ul.nav-menu > li > a{
  text-decoration: none;
  color: #333;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease;
  display: block;
  padding: 16px 24px;
}
.main-nav > ul.nav-menu > li > a:hover{ color: var(--sg-accent); }

/* Services dropdown */
.main-nav .has-dropdown{ position: relative; }
.main-nav .services-summary{
  display: block;
  padding: 16px 24px;
  color: #333;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}
.main-nav .services-summary::-webkit-details-marker{ display: none; }
.main-nav .services-summary::marker{ content: ""; }

.main-nav .services-details > ul.dropdown{
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.main-nav .services-details[open] > ul.dropdown{ display: block !important; }

@media (min-width: 769px){
  .main-nav .services-details{ position: relative; }
  .main-nav .services-details > ul.dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 9999;
  }
  .main-nav .has-dropdown:hover .services-details > ul.dropdown{ display: block; }

  .main-nav .dropdown li a{
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
  }
  .main-nav .dropdown li a:hover{ background: rgba(0,0,0,0.06); }
}

/* Mobile header layout */
@media (max-width: 768px){
  header{
    height: 64px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow: visible;
    padding: 0 12px;
    display: block;
  }

  .logo{
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
  }
  .logo img{
    height: 76px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
  }

  .quote-btn{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;
  }
  .quote-btn .cta-button{
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .hamburger{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
  }

  .main-nav > ul.nav-menu{
    flex-direction: column;
    background: #333;
    position: fixed;
    top: 64px;
    right: 0;
    width: 220px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
    padding: 8px 0;
    gap: 0;
  }
  .main-nav > ul.nav-menu.active{ transform: translateX(0); }

  .main-nav > ul.nav-menu > li > a{
    color: #fff;
    padding: 12px 14px;
  }
  .main-nav .services-summary{
    color: #fff;
    padding: 12px 14px;
    width: 100%;
  }
  .main-nav .services-details > ul.dropdown{
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 6px 0 0;
  }
  .main-nav .dropdown li a{
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
  }
}

/* Desktop layout */
@media (min-width: 769px){
  header{
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav quote";
    align-items: center;
    gap: 20px;
    padding: 0 14px;
  }

  .logo{ grid-area: logo; position: static; transform: none; }
  .main-nav{ grid-area: nav; justify-self: center; }
  .quote-btn{ grid-area: quote; justify-self: end; }

  .hamburger{ display: none; }

  .main-nav > ul.nav-menu{
    position: static;
    flex-direction: row;
    transform: none;
    background: transparent;
    padding: 0;
    width: auto;
  }

  .main-nav > ul.nav-menu > li > a,
  .main-nav .services-summary{
    color: #333;
  }
}

/* =========================
   Footer + sticky buttons
========================= */
.site-footer{
  background:#222;
  color:#fff;
  padding:40px 20px 20px;
  font-size:15px;
}
.footer-container{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:30px;
  max-width:1200px;
  margin:0 auto;
}

/* FIX: use sg accent var */
.footer-col h3,
.footer-col h4{
  margin-bottom:12px;
  color: var(--sg-accent);
}

.footer-col p,
.footer-col a{
  color:#ccc;
  line-height:1.5;
}
.footer-col ul{ list-style:none; padding:0; }
.footer-col ul li{ margin-bottom:8px; }
.footer-col ul li a{
  text-decoration:none;
  transition: color .2s ease;
}
.footer-col ul li a:hover{ color: var(--sg-accent); }

.footer-bottom{
  text-align:center;
  margin-top:30px;
  border-top:1px solid rgba(255,255,255,0.2);
  padding-top:15px;
  font-size:14px;
  color:#aaa;
}

@media (max-width:768px){
  .footer-container{ flex-direction:column; text-align:center; }
  .footer-col{ margin-bottom:20px; }
}

/* Sticky buttons */
.whatsapp-sticky{
  position:fixed;
  bottom:80px;
  right:20px;
  z-index:9999;
  width:50px;
  height:50px;
  background:#25D366;
  border-radius:50%;
  box-shadow:0 4px 6px rgba(0,0,0,0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s ease;
}
.whatsapp-sticky:hover{ transform:scale(1.08); }
.whatsapp-sticky img{ width:28px; height:28px; }

.call-sticky{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:9999;
  width:50px;
  height:50px;
  background:#000;
  border-radius:50%;
  box-shadow:0 4px 6px rgba(0,0,0,0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s ease;
}
.call-sticky:hover{ transform:scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .generalpest-hero-inner{ grid-template-columns: 1fr; }
  .generalpest-hero-photo{ height: 260px; }
  .generalpest-trust-grid{ grid-template-columns: 1fr; }
  .generalpest-two-col{ grid-template-columns: 1fr; }
  .generalpest-steps{ grid-template-columns: 1fr 1fr; }
  .generalpest-coverage-pills{ grid-template-columns: 1fr; }
  .generalpest-final-inner{ flex-direction: column; align-items: flex-start; }
  .generalpest-strip{ flex-direction: column; align-items: flex-start; }
}
