/* ==========================================================================
   BIO TERMITES SDN. BHD. — Design System v5
   Rebuilt to match the actual markup in index.html (class names aligned)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --bg-dark:        #050706;
  --bg-card:        rgba(14, 20, 17, 0.75);
  --bg-card-hover:  rgba(22, 32, 27, 0.9);
  --bg-glass:       rgba(8, 13, 11, 0.80);
  --border-glass:   rgba(255, 255, 255, 0.08);
  --border-glow:    rgba(16, 185, 129, 0.35);

  --emerald:        #10b981;
  --emerald-dark:   #059669;
  --emerald-glow:   rgba(16, 185, 129, 0.4);
  --mint:           #34d399;
  --gold:           #f59e0b;
  --red:            #ef4444;
  --wa-green:       #25D366;

  --text:           #f3f4f6;
  --text-muted:     #9ca3af;
  --text-dim:       #6b7280;

  --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 40px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.2s var(--ease);
  --norm: 0.4s var(--ease);

  --nav-h: 68px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.65;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }

/* ============================================================
   SHARED CONTAINER — every section wraps content in .container
============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   AMBIENT GLOW
============================================================ */
.ambient-glow {
  position: fixed;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.ambient-glow-2 {
  position: fixed;
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,0.1) 0%, transparent 70%);
  bottom: -100px; right: -80px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   TOP ANNOUNCEMENT BAR
============================================================ */
.top-bar {
  background: linear-gradient(90deg, #064e3b 0%, #047857 50%, #065f46 100%);
  color: #ecfdf5;
  position: relative;
  z-index: 100;
}
.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52,211,153,0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.top-bar-msg {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Lang Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  padding: 2px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--fast);
  font-family: var(--font-body);
}
.lang-btn:hover { color: #fff; }
.lang-btn.active {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16,185,129,0.5);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  height: var(--nav-h);
  transition: background var(--fast), box-shadow var(--fast);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--fast);
  white-space: nowrap;
}
.nav-a:hover { color: #fff; }

/* Nav right actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-email-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--fast);
}
.nav-email-btn:hover { color: #fff; border-color: var(--emerald); background: rgba(16,185,129,0.1); }
.nav-email-btn svg { width: 17px; height: 17px; }
.nav-wa-btn { flex-shrink: 0; }
.nav-wa-text { white-space: nowrap; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-sm);
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--fast);
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--fast);
}
.hamburger:hover { border-color: var(--emerald); background: rgba(16,185,129,0.1); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mob-drawer {
  display: none;
  flex-direction: column;
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
  background: rgba(5,7,6,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s var(--ease), padding 0.3s ease;
}
.mob-drawer.open {
  max-height: 600px;
  padding: 16px 20px 20px;
}
.mob-link {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-glass);
  transition: color var(--fast);
}
.mob-link:hover { color: var(--emerald); }
.mob-wa { margin-top: 14px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--norm);
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.btn svg { flex-shrink: 0; width: 16px; height: 16px; }
.btn-lg { padding: 14px 26px; font-size: 0.9rem; }
.btn-full { width: 100%; }
.btn-lg, .btn-full {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--emerald-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16,185,129,0.6); }

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-wa:hover { background: #1eba57; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.5); }

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  max-width: 100%;
}
.pill svg { flex-shrink: 0; width: 13px; height: 13px; }

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #fff;
}
.g-text, .gradient-text {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-p {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 52ch;
}
.hero-p strong { color: var(--text); }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}
.photo-check { display: inline-flex; align-items: center; gap: 7px; margin: -12px 0 24px; color: var(--mint); font-size: 0.84rem; font-weight: 600; }
.photo-check:hover { color: #fff; text-decoration: underline; }
.photo-check svg { width: 16px; height: 16px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-chip svg { width: 12px; height: 12px; color: var(--emerald); flex-shrink: 0; }

/* Hero visual */
.hero-img-wrap { position: relative; min-width: 0; }
.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 40px rgba(16,185,129,0.1);
}
.hero-img {
  width: 100%;
  height: clamp(280px, 40vw, 480px);
  object-fit: cover;
}

.hero-badge-bar {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-glass);
}
.hbb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.status-dot {
  width: 10px; height: 10px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hbb-title { font-size: 0.78rem; font-weight: 700; color: #fff; }
.hbb-sub   { font-size: 0.68rem; color: var(--text-muted); margin-top: 1px; }

.hbb-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hbb-stat { text-align: right; }
.hbb-val { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--mint); }
.hbb-lbl { display: block; font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.hbb-divider { width: 1px; height: 26px; background: var(--border-glass); flex-shrink: 0; }

/* ============================================================
   SECTIONS — generic
============================================================ */
.section {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}
.section-alt { background: rgba(10,16,13,0.5); }
.journey-section { padding: 56px 0; position: relative; z-index: 1; background: linear-gradient(180deg, rgba(16,185,129,0.08), rgba(10,16,13,0.36)); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.journey-hdr { margin-bottom: 30px; }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.journey-step { padding: 22px 18px; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--r-md); }
.journey-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--emerald); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .82rem; margin-bottom: 12px; }
.journey-step h3 { font-family: var(--font-head); font-size: 1rem; color: #fff; margin-bottom: 6px; }
.journey-step p { color: var(--text-muted); font-size: .82rem; line-height: 1.6; }
.journey-note { max-width: 700px; margin: 24px auto 0; text-align: center; color: var(--mint); font-weight: 700; font-size: .93rem; }

.video-section { padding-top: 64px; padding-bottom: 64px; }
.video-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: clamp(24px, 4vw, 42px); background: linear-gradient(130deg, rgba(185,28,28,.18), rgba(14,20,17,.94) 48%); border: 1px solid rgba(239,68,68,.28); border-radius: var(--r-xl); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.video-icon { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 18px; background: #ff0000; color: #fff; box-shadow: 0 10px 26px rgba(255,0,0,.32); }
.video-icon svg { width: 32px; height: 32px; }
.video-eyebrow { color: #fca5a5; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.video-copy h2 { font-family: var(--font-head); font-size: clamp(1.35rem, 2.2vw, 1.8rem); color: #fff; line-height: 1.2; margin: 6px 0 8px; }
.video-copy p { color: var(--text-muted); max-width: 620px; font-size: .9rem; }
.btn-youtube { background: #ff0000; color: #fff; white-space: nowrap; box-shadow: 0 8px 22px rgba(255,0,0,.25); }
.btn-youtube:hover { background: #cc0000; color: #fff; transform: translateY(-2px); }

.sec-hdr {
  text-align: center;
  margin-bottom: 52px;
}
.sec-hdr h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.sec-hdr p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PRODUCT SECTION
============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.prod-img-col { position: relative; min-width: 0; }
.prod-img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.prod-info-col { min-width: 0; }

.tag-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 99px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;
}
.tag-gold svg { width: 13px; height: 13px; }

.prod-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}
.prod-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
}
.check-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 1px;
}
.check-ico svg { width: 13px; height: 13px; }

/* ============================================================
   SCIENCE SECTION
============================================================ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: var(--norm);
}
.info-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-3px);
}
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  margin-bottom: 16px;
}
.info-icon svg { width: 21px; height: 21px; }
.info-icon--red   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #f87171; }
.info-icon--green { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: var(--emerald); }

.info-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.info-card > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.info-card strong, .info-card em { color: var(--text); }

.feat-list { display: flex; flex-direction: column; gap: 10px; }
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text);
}
.feat-item svg { color: var(--emerald); width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.feat-item.feat-danger svg { color: #f87171; }

/* ============================================================
   THERMAL SIMULATOR
============================================================ */
.sim-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 36px);
}
.sim-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.sim-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tag-red, .tag-green {
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.tag-red {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}
.tag-green {
  background: rgba(16,185,129,0.12);
  color: var(--mint);
  border: 1px solid rgba(16,185,129,0.3);
}

.sim-slider {
  position: relative;
  height: clamp(220px, 38vw, 420px);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  user-select: none;
  cursor: ew-resize;
  touch-action: none;
}
.sim-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.sim-thermal {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.sim-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}
.sim-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--emerald-glow);
  pointer-events: none;
}
.sim-btn svg { width: 18px; height: 18px; }

/* ============================================================
   INSPECTION FORM
============================================================ */
.form-card {
  background: linear-gradient(135deg, rgba(14,22,18,0.95) 0%, rgba(6,10,8,0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.form-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}
.form-side { min-width: 0; }

.f-group { margin-bottom: 22px; }
.f-group:last-child { margin-bottom: 0; }
.f-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.opt-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--fast);
}
.opt-card:hover { background: rgba(255,255,255,0.07); }
.opt-card.active {
  background: rgba(16,185,129,0.1);
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(16,185,129,0.12);
}
.opt-name { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.opt-sub { font-size: 0.7rem; color: var(--text-muted); }

/* Termite status grid has 3 options — let the 3rd span full width
   instead of sitting alone in a half-empty row */
#statusOptions .opt-card:nth-child(3) { grid-column: 1 / -1; }

.f-select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: var(--fast);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.f-select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.f-select option { background: #0f1714; color: #fff; }

/* Quote Summary */
.summary-side { min-width: 0; }
.summary-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.summary-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.summary-sub-txt { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 18px; }

.summary-rows {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-glass);
}
.sum-row:last-child { border-bottom: none; }
.sum-lbl { font-size: 0.78rem; color: var(--text-muted); flex-shrink: 0; }
.sum-val { font-size: 0.82rem; font-weight: 600; color: var(--text); text-align: right; }
.sum-green { color: var(--mint); }
.sum-gold { color: var(--gold); }

.free-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(5,150,105,0.07) 100%);
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: var(--r-md);
  padding: 18px;
  margin-bottom: 18px;
  text-align: center;
}
.free-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.free-sub { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   DISTRICTS
============================================================ */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dist-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: var(--norm);
}
.dist-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.dist-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--emerald-glow);
}
.dist-card h4 { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.dist-card p  { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   REVIEWS
============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--norm);
}
.review-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; }
.review-txt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.avi {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.reviewer h5 { font-size: 0.85rem; font-weight: 700; color: #fff; }
.reviewer p  { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  background: rgba(4,6,5,0.98);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}

.foot-col { min-width: 0; }
.foot-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}
.foot-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}
.foot-reg { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }
.foot-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }

.foot-contacts { display: flex; flex-direction: column; gap: 10px; }
.foot-c {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-word;
}
.foot-c svg { width: 14px; height: 14px; color: var(--emerald); flex-shrink: 0; }

.foot-col-title {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--fast); }
.foot-links a:hover { color: var(--emerald); }
.foot-hotline-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }

.foot-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 18px 0;
}
.foot-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.fab-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--wa-green);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  transition: var(--norm);
}
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 38px rgba(37,211,102,0.65); }
.fab-wa svg { width: 26px; height: 26px; }

/* ============================================================
   TABLET — max-width: 1024px
============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mob-drawer { display: flex; }
  .nav-wa-text { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-copy { align-items: center; }
  .hero-btns { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-p { max-width: 60ch; }

  .prod-grid { grid-template-columns: 1fr; gap: 36px; }
  .prod-img-col { max-width: 460px; margin: 0 auto; }

  .two-col-grid { grid-template-columns: 1fr; gap: 20px; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .video-card { grid-template-columns: auto 1fr; }
  .video-card .btn-youtube { grid-column: 1 / -1; justify-self: start; }

  .form-cols { grid-template-columns: 1fr; gap: 28px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: span 2; }
}

/* ============================================================
   MOBILE — max-width: 640px
============================================================ */
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }

  /* Top Bar — stack vertically, centered */
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    text-align: center;
  }
  .top-bar-left { justify-content: center; flex: none; width: 100%; }
  .top-bar-msg { font-size: 0.73rem; }

  /* Navbar */
  .nav-inner { padding: 0 16px; }
  .logo-name { display: none; }
  .nav-right { gap: 6px; }
  .nav-email-btn { width: 34px; height: 34px; }

  /* Hero */
  .hero { padding: 44px 0 60px; }
  .hero-h1 { font-size: clamp(1.75rem, 7.5vw, 2.5rem); }
  .hero-p { font-size: 0.875rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn-lg { width: 100%; }
  .photo-check { justify-content: center; margin-top: -4px; }
  .journey-section { padding: 46px 0; }
  .journey-steps { grid-template-columns: 1fr; gap: 10px; }
  .journey-step { padding: 16px; }
  .video-section { padding-top: 50px; padding-bottom: 50px; }
  .video-card { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .video-icon { margin: 0 auto; }
  .video-card .btn-youtube { justify-self: stretch; justify-content: center; }
  .trust-row { gap: 6px; }
  .trust-chip { font-size: 0.72rem; padding: 4px 10px; }

  .hero-badge-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .hbb-right { align-self: stretch; justify-content: space-around; }
  .hbb-stat { text-align: center; }

  /* Sections */
  .section { padding: 56px 0; }
  .sec-hdr { margin-bottom: 32px; }

  .check-row { font-size: 0.82rem; }

  /* Form */
  .form-card { padding: 18px 16px; border-radius: var(--r-lg); }
  .opt-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .opt-card { padding: 10px; }
  .opt-name { font-size: 0.78rem; }
  .opt-sub { font-size: 0.65rem; }

  /* Districts / Reviews */
  .districts-grid { grid-template-columns: 1fr; gap: 12px; }
  .dist-card { padding: 18px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Footer */
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .foot-brand { grid-column: auto; }
  .foot-logo-row { flex-wrap: wrap; }
  .foot-bottom-inner { flex-direction: column; text-align: center; gap: 4px; }

  /* Thermal simulator */
  .sim-labels { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sim-hint { align-self: center; }

  /* Floating WhatsApp */
  .fab-wa { width: 52px; height: 52px; }
  .fab-wa svg { width: 22px; height: 22px; }
}

/* ============================================================
   EXTRA SMALL — max-width: 400px
============================================================ */
@media (max-width: 400px) {
  .hero-h1 { font-size: 1.65rem; }
  .container { padding-left: 14px; padding-right: 14px; }
  .opt-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hero-badge-bar { left: 10px; right: 10px; bottom: 10px; }
  .dist-card { gap: 10px; padding: 14px; }
  .dist-ico { width: 36px; height: 36px; font-size: 0.68rem; }
}
