/* =========================================================
   Essential Pest Control — Design Tokens
   Forest green + charcoal ink, warm cream base,
   striking amber accent, WhatsApp green reserved for chat CTAs.
========================================================= */
:root {
  --forest: #005F73;
  --forest-light: #0A91AC;
  --forest-pale: #DCEFF2;
  --ink: #14171A;
  --cream: #F5F5F3;
  --cream-dim: #ECEBE7;
  --amber: #DD6B20;
  --amber-deep: #B8540F;
  --whatsapp: #25D366;
  --whatsapp-deep: #1DA851;
  --muted: #5B6660;
  --border: rgba(20, 23, 26, 0.1);
  --shadow: 0 10px 30px rgba(16, 63, 65, 0.14);

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--muted); }

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

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

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

.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75em;
  display: inline-block;
}
.eyebrow-dark { color: var(--forest-light); }

.perimeter-rule {
  width: 84px;
  height: 3px;
  margin: 18px 0 28px;
  background-image: repeating-linear-gradient(
    90deg, var(--amber) 0 10px, transparent 10px 16px
  );
}
.perimeter-rule-light {
  background-image: repeating-linear-gradient(
    90deg, var(--cream) 0 10px, transparent 10px 16px
  );
}

.section-heading { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-heading .perimeter-rule { margin-left: auto; margin-right: auto; }
.section-heading h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--ink); }

section { padding: 96px 24px; }

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(232,135,30,.35); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; padding: 10px 20px; font-size: .88rem; }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }
.btn-whatsapp-lg { padding: 12px 24px; font-size: 0.95rem; margin-top: 8px; }
@media (max-width: 760px) {
  .btn-whatsapp-lg { padding: 11px 20px; font-size: 0.9rem; }
}
.btn-block { width: 100%; }

/* =============== HEADER / NAV =============== */
.site-header {
  position: static;
  width: 100%;
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 95, 115, 0.12);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
}
/* Updated Logo Size - Desktop */
.logo img {
  height: 65px;
  width: auto;
  border-radius: 18px;
}
@media (min-width: 768px) {
  .logo img {
    height: 75px;
  }
}
.nav-links {
  display: flex;
  gap: 34px;
  font-weight: 500;
  font-size: .96rem;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--forest);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.55) 100%);
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px 80px;
  color: #fff;
  text-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.hero-content .eyebrow { color: var(--amber); }
.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 780px;
  color: #fff;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .95rem;
  color: var(--amber);
  margin-bottom: 14px;
}
.hero-sub { color: rgba(255,255,255,.92); max-width: 560px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* =============== HERO BADGES =============== */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin-top: 18px;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge-item img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* =============== CERTIFICATION CAROUSEL =============== */
.cert-strip {
  background: var(--forest);
  padding: 12px 0;
  overflow: hidden;
}
.cert-track { display: flex; width: max-content; animation: scroll-left 26s linear infinite; }
.cert-set { display: flex; gap: 16px; padding-right: 16px; }
.cert-chip {
  white-space: nowrap;
  color: var(--forest-pale);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 10px 20px;
  border: 1px solid rgba(228,238,231,.25);
  border-radius: 999px;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============== SECTORS =============== */
.sector-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.sector-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.sector-card img { height: 230px; object-fit: cover; width: 100%; }
.sector-body { padding: 32px; }
.sector-tag {
  display: inline-block;
  background: var(--forest-pale);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sector-tag-alt { background: #FBE8D2; color: var(--amber-deep); }
.sector-body h3 { font-size: 1.4rem; color: var(--ink); }
.sector-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.sector-list li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  color: var(--muted);
}
.sector-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 2px;
}

/* =============== SERVICES =============== */
.services { background: var(--cream-dim); }
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest-pale);
  color: var(--forest);
  margin-bottom: 18px;
  overflow: hidden;
}
.service-icon img {
  width: 165%;
  height: 165%;
  object-fit: cover;
  object-position: center;
}
.service-card h3 { font-size: 1.08rem; color: var(--ink); }
.service-card p { font-size: .92rem; margin-bottom: 0; }
.service-card h3 { font-size: 1.08rem; color: var(--ink); }
.service-card p { font-size: .92rem; margin-bottom: 0; }

/* =============== PRICING / SPECIAL OFFER =============== */
.pricing { background: var(--cream); text-align: center; }
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.pricing-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.price-card {
  background: #fff;
  border: 1.5px solid var(--forest);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.price-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-card .price-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: var(--amber);
  border-radius: 999px;
  padding: 10px 0;
  margin: 16px 0 4px;
}
.price-card .price-note { font-size: .8rem; color: var(--muted); margin: 0; }
.pricing-fineprint { font-size: .82rem; color: var(--muted); margin-top: 28px; }

/* =============== COMPLIANCE =============== */
.compliance { background: var(--forest); color: #fff; }
.compliance .section-heading h2 { color: #fff; }
.compliance-sub { max-width: 560px; margin: 0 auto; color: rgba(228,238,231,.8); }
.compliance-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.compliance-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.stamp {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.compliance-card h3 { color: #fff; font-size: 1.12rem; }
.compliance-card p { color: rgba(228,238,231,.78); font-size: .92rem; margin-bottom: 0; }

/* =============== CONTACT =============== */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy { max-width: 460px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.detail-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--forest-pale);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-split { flex-direction: row; gap: 18px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
label { font-size: .84rem; font-weight: 600; color: var(--ink); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--forest-light); }
textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin: 0; }
.form-message {
  min-height: 1.4rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--forest);
  text-align: center;
}
.form-message.error { color: #B8540F; }

/* =============== SERVICE AREAS =============== */
.areas { background: var(--cream-dim); }
.areas-sub { max-width: 560px; margin: 0 auto; }
.areas-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.area-group h3 {
  font-size: 1rem;
  color: var(--forest);
  border-bottom: 2px solid var(--forest-pale);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.area-list { display: flex; flex-direction: column; gap: 9px; }
.area-list li {
  font-size: .92rem;
  color: var(--muted);
  position: relative;
  padding-left: 16px;
}
.area-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* =============== FOOTER =============== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 24px; }
.footer-inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.logo-footer { display: inline-flex; align-items: center; margin-bottom: 14px; justify-content: center; }
.logo-footer img { height: 40px; }
.footer-inner p { color: rgba(255,255,255,.55); font-size: .85rem; margin: 0; }

/* =============== FLOATING WHATSAPP =============== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  z-index: 200;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {
  .sector-grid, .compliance-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
  }
  .logo img {
    height: 48px;
  }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 260px; }
  .nav-links a { padding: 12px 20px; border-top: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-actions {
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }
  .nav-actions .btn-whatsapp span { display: none; }
  .nav-actions .btn-whatsapp { padding: 8px; font-size: .78rem; min-width: 44px; }

  section { padding: 56px 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badges { gap: 20px; margin-top: 22px; }
  .hero-badge-item img { height: 45px; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row-split { flex-direction: column; }
  .radius-ping { display: none; }
  .areas-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ping-ring, .cert-track { animation: none; }
}
