:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #0f766e;
  --primary-dark: #064e3b;
  --accent: #f59e0b;
  --soft: #ecfeff;
  --soft-2: #fffbeb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #ecfeff 100%);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 900; text-decoration: none; }
.logo { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); flex: 0 0 auto; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-tagline { color: var(--muted); font-size: 0.82rem; font-weight: 700; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-weight: 800; }
.nav-links a { color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--primary); }
.dropdown { position: relative; display: inline-flex; align-items: center; padding-bottom: 18px; margin-bottom: -18px; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.caret { font-size: 0.78rem; }
.dropdown-menu { position: absolute; top: calc(100% - 2px); left: 0; min-width: 250px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: all 0.2s ease; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.dropdown-menu a:hover { background: var(--soft); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; font-weight: 900; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white !important; box-shadow: 0 14px 28px rgba(15,118,110,0.22); }
.btn-secondary { background: white; color: var(--text); border-color: var(--line); }
.btn-small { padding: 9px 14px; font-size: 0.9rem; }

.whatsapp-strip { background: linear-gradient(90deg, #064e3b, #0f766e); color: white; border-top: 1px solid rgba(255,255,255,0.12); }
.whatsapp-strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 20px; font-size: 0.95rem; text-align: center; flex-wrap: wrap; }
.whatsapp-strip-inner span { opacity: 0.92; }
.whatsapp-strip-inner strong { font-weight: 900; }
.whatsapp-strip-inner a { color: #064e3b; background: white; padding: 7px 14px; border-radius: 999px; font-weight: 900; text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,0.12); }

.hero { padding: 78px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid #bae6fd; color: var(--primary-dark); border-radius: 999px; padding: 8px 13px; font-size: 0.84rem; font-weight: 900; box-shadow: 0 8px 20px rgba(15,118,110,0.08); }
h1, h2, h3 { color: var(--text); }
h1 { font-size: clamp(2.35rem, 4vw, 4.7rem); line-height: 0.98; letter-spacing: -0.07em; margin: 18px 0 18px; }
h2 { font-size: clamp(1.85rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -0.05em; margin: 0; }
h3 { font-size: 1.23rem; margin: 0 0 10px; letter-spacing: -0.02em; }
p { color: var(--muted); line-height: 1.75; }
.hero p { font-size: 1.08rem; max-width: 720px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero-points { display: grid; gap: 12px; margin-top: 26px; }
.mini-card { background: rgba(255,255,255,0.86); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(15,23,42,0.05); }
.mini-card strong { display: block; margin-bottom: 5px; }
.mini-card span { color: var(--muted); line-height: 1.65; }
.hero-card, .highlight { background: radial-gradient(circle at top left, #14b8a6, #064e3b 68%); color: white; border-radius: 34px; padding: 30px; box-shadow: 0 30px 80px rgba(6,78,59,0.25); overflow: hidden; position: relative; }
.hero-card h2, .highlight h2, .highlight h3 { color: white; }
.hero-card p, .highlight p { color: rgba(255,255,255,0.9); }
.hero-badge-wrap { display: flex; justify-content: flex-end; }
.hero-badge { width: 100px; height: 100px; background: white; border-radius: 28px; display: grid; place-items: center; padding: 10px; box-shadow: 0 18px 44px rgba(0,0,0,0.22); }
.hero-badge img { width: 100%; height: 100%; object-fit: contain; }
.feature-stack { display: grid; gap: 12px; margin-top: 22px; }
.feature-box { border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 16px; background: rgba(255,255,255,0.08); }
.feature-box h3 { color: white; margin-bottom: 6px; }
.feature-box p { color: rgba(255,255,255,0.88); margin: 0; }

section { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head p { max-width: 520px; margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); }
.card ul { color: var(--muted); line-height: 1.8; padding-left: 20px; }
.card.highlight { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: transparent; color: #fff; }
.card.highlight h2, .card.highlight h3 { color: #fff; }
.card.highlight p { color: rgba(255,255,255,0.85); }
.icon { width: 52px; height: 52px; border-radius: 18px; background: var(--soft); display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.stat { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; padding: 15px; }
.stat strong { display: block; color: white; margin-bottom: 6px; }
.stat span { color: rgba(255,255,255,0.85); font-size: 0.92rem; line-height: 1.5; }
.cta { margin-top: 22px; }
.notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 14px 16px; border-radius: 18px; line-height: 1.65; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-full { grid-column: 1 / -1; }
label { display: block; font-weight: 900; margin-bottom: 7px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; font: inherit; background: white; color: var(--text); }
textarea { min-height: 130px; resize: vertical; }
.output-box { margin-top: 16px; border-radius: 18px; background: var(--soft); border: 1px solid #bae6fd; padding: 16px; font-weight: 800; color: var(--primary-dark); }

footer { background: #062f2a; color: white; margin-top: 54px; padding: 34px 0; }
.footer-box { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
footer a { color: white; font-weight: 900; text-decoration: underline; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 9999; display: inline-flex; align-items: center; gap: 9px; background: #16a34a; color: white; padding: 13px 18px; border-radius: 999px; text-decoration: none; font-weight: 900; box-shadow: 0 18px 45px rgba(22, 163, 74, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 24px 55px rgba(22, 163, 74, 0.45); text-decoration: none; }
.whatsapp-float-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.18); border-radius: 50%; font-size: 1.1rem; }
.whatsapp-float-text { white-space: nowrap; }

@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: flex-start; flex-direction: column; }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 22px; }
  .nav-links { gap: 12px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 82px; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 32px; }
  .grid-2, .grid-3, .grid-4, .stats, .form-grid { grid-template-columns: 1fr; }
  .footer-box { align-items: flex-start; }
  .whatsapp-strip-inner { align-items: stretch; flex-direction: column; gap: 8px; }
  .whatsapp-strip-inner a { display: block; }
  .whatsapp-float { left: 16px; right: 16px; bottom: 16px; justify-content: center; border-radius: 18px; padding: 15px 18px; font-size: 1rem; }
  .brand-name { font-size: 0.96rem; }
  .brand-tagline { font-size: 0.76rem; }
  .dropdown-menu { left: auto; right: 0; }
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav {
    position: relative;
    flex-direction: row;
    align-items: center;
    min-height: 76px;
    padding: 10px 22px;
  }

  .brand {
    max-width: calc(100% - 62px);
  }

  .logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 1002;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex-wrap: nowrap;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 24px 70px rgba(15,23,42,0.18);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-links a:hover {
    background: var(--soft);
    text-decoration: none;
  }

  .nav-links .btn-small {
    justify-content: center;
    margin-top: 6px;
  }

  .dropdown {
    display: block;
    padding: 0;
    margin: 0;
  }

  .dropdown-toggle {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    display: none;
    padding: 4px 0 8px 12px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .dropdown.is-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 10px 12px;
    font-size: 0.94rem;
    color: var(--muted);
  }

  .whatsapp-strip-inner {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  body.menu-open {
    overflow: hidden;
  }

  .nav {
    padding: 10px 16px;
  }

  .brand-name {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .brand-tagline {
    display: none;
  }

  .nav-links {
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
}


/* Guided WhatsApp lead filtering */
.lead-filter-section {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(236,254,255,0.85), rgba(255,251,235,0.92));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lead-filter-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.lead-filter-copy,
.lead-router-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.lead-filter-copy h2 {
  margin: 16px 0 12px;
}

.lead-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.lead-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--primary-dark);
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
}

.lead-chips a:hover {
  background: #d1fae5;
  text-decoration: none;
}

.filter-note {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #064e3b;
  border-radius: 20px;
  padding: 16px;
  line-height: 1.65;
}

.lead-router-card {
  border-top: 6px solid var(--primary);
}

.lead-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 980px) {
  .lead-filter-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .lead-filter-section {
    padding: 42px 0;
  }

  .lead-filter-copy,
  .lead-router-card {
    padding: 22px;
    border-radius: 24px;
  }

  .lead-actions .btn {
    width: 100%;
  }
}
