:root {
  --green-dark: #1F5E3B;
  --green-light: #63B33D;
  --gray-brand: #6F6F6F;
  --text: #183126;
  --white: #ffffff;
  --bg: #f5f8f4;
  --shadow: 0 18px 40px rgba(18, 43, 28, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7faf6 0%, #eef5ee 100%);
}
img, video { max-width: 100%; display: block; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--white);
  background: #0d1f15;
}
.hero-video, .hero-overlay { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 22, 14, 0.82) 0%, rgba(11, 41, 22, 0.68) 45%, rgba(16, 44, 23, 0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
}
.navbar, .hero-content { position: relative; z-index: 2; }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.brand-logo {
  width: clamp(150px, 18vw, 230px);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.25));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a:hover { color: #d6f3c7; }
.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.3rem;
  cursor: pointer;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  max-width: 760px;
  padding: 2rem 0 4rem;
}
.eyebrow, .section-tag, .mini-label, .plan-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow {
  background: rgba(99, 179, 61, 0.18);
  border: 1px solid rgba(99, 179, 61, 0.35);
  color: #e3ffd8;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1.03;
  margin: 0 0 1rem;
}
.hero p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 0 1.7rem;
}
.hero-actions, .contact-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  padding: 0.95rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(31, 94, 59, 0.25);
}
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid rgba(31, 94, 59, 0.22);
}
.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(18, 140, 126, 0.28);
}
.btn-full { width: 100%; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 18px 32px rgba(18, 140, 126, 0.35);
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.02); }
.whatsapp-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.16);
  font-size: 1rem;
}
.whatsapp-text { white-space: nowrap; }

.tabs-section { margin-top: -2rem; position: relative; z-index: 3; }
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  padding: 0.8rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.tab-btn {
  border: 0;
  border-radius: 14px;
  padding: 1rem;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  color: var(--gray-brand);
  cursor: pointer;
}
.tab-btn.active {
  background: linear-gradient(135deg, rgba(31, 94, 59, 0.12), rgba(99, 179, 61, 0.15));
  color: var(--green-dark);
}
.section { padding: 4.2rem 0 1.2rem; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-tag, .mini-label, .plan-badge {
  background: rgba(99, 179, 61, 0.12);
  color: var(--green-dark);
  border: 1px solid rgba(99, 179, 61, 0.22);
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin: 0.9rem 0 0.8rem;
}
.section-heading p { margin: 0; color: #4e6356; line-height: 1.8; }
.grid { display: grid; gap: 1.2rem; }
.three-cols, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .price-card, .contact-form, .contact-card, .info-highlight {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(31, 94, 59, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.card, .contact-form, .contact-card, .info-highlight, .price-card { padding: 1.6rem; }
.card h3, .price-card h3, .contact-card h3 { margin-top: 0; margin-bottom: 0.8rem; }
.card p, .contact-card p, .info-highlight p, .price-card li, .form-note {
  color: #4b6154;
  line-height: 1.7;
}
.split-box {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}
.feature-list {
  padding-left: 1.1rem;
  line-height: 1.9;
  color: #294537;
}
.info-highlight { display: flex; flex-direction: column; justify-content: center; }
.info-highlight small { color: #667a6f; }
.price-card { position: relative; }
.price-card.featured {
  border: 1px solid rgba(99, 179, 61, 0.3);
  transform: translateY(-8px);
}
.price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0.8rem 0 1rem;
}
.price span { font-size: 1rem; font-weight: 600; color: var(--gray-brand); }
.price-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
  line-height: 1.9;
}
.promo-banner {
  margin-top: 1.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 94, 59, 0.08), rgba(99, 179, 61, 0.12));
  color: var(--green-dark);
  border: 1px solid rgba(99, 179, 61, 0.16);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.2rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(31, 94, 59, 0.15);
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(31, 94, 59, 0.45);
  box-shadow: 0 0 0 4px rgba(99, 179, 61, 0.08);
}
.footer {
  margin-top: 3rem;
  padding: 2rem 0 3rem;
  background: #0f2116;
  color: rgba(255,255,255,0.85);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo { width: 170px; }

@media (max-width: 980px) {
  .three-cols, .pricing-grid, .contact-layout, .split-box { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    margin: 0 auto;
    width: min(calc(100% - 2rem), 480px);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .tabs { grid-template-columns: 1fr; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .hero-content { padding-bottom: 5rem; }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 0.85rem 0.95rem;
  }
  .whatsapp-text { display: none; }
}
