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

:root {
  --primary: #2e6b3e;        /* verde jardín */
  --primary-dark: #24552f;
  --accent: #e8a33d;         /* ocre / sol */
  --accent-hover: #d8912a;
  --text: #1a2419;
  --text-muted: #5f6b5c;
  --bg: #ffffff;
  --bg-alt: #f1f7ef;
  --border: #e2e8df;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(20,50,20,.07);
  --shadow-hover: 0 8px 32px rgba(20,50,20,.14);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --whatsapp: #25D366;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* WhatsApp nav button */
.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--whatsapp);
  color: white !important;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-wa-btn:hover { background: #1fb855; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: linear-gradient(135deg, #24552f 0%, #2e6b3e 55%, #3f8a4f 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,163,61,0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-sub strong { color: #fff; }

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}
.hero-badges li {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ===== FORM CARD (hero) ===== */
.quote-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 30px 28px;
  border-top: 4px solid var(--accent);
}
.quote-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.quote-card__sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.form { display: flex; flex-direction: column; gap: 12px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form textarea { resize: vertical; }
.form__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  font-family: inherit;
}
.btn--full { width: 100%; }

.btn--whatsapp { background: var(--whatsapp); color: white; }
.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  color: white;
}

.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 20px rgba(232,163,61,.35);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232,163,61,.45);
}

.btn--outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
}
.section-header p { font-size: 1.1rem; color: var(--text-muted); }
.bg-alt { background: var(--bg-alt); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== WHY US ===== */
.why-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.section-title-left {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--text-muted);
  line-height: 1.6;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.checklist li strong { color: var(--text); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== ZONES ===== */
.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}
.zones span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}
.zone-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px 22px;
  border-left: 3px solid transparent;
  transition: border-color var(--transition);
}
.faq-item[open] { border-left-color: var(--accent); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== CTA FINAL ===== */
.section-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #3f8a4f 100%);
  color: white;
  text-align: center;
}
.section-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a2419;
  color: rgba(255,255,255,0.7);
  padding: 44px 0;
  text-align: center;
}
.footer p { margin-bottom: 8px; font-size: 0.9rem; }
.footer-brand { color: white; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: white; }
.footer-address a { color: rgba(255,255,255,.7); }
.footer-address a:hover { color: white; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 1200;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-block { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-140%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }

  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-buttons .btn { width: 100%; }

  section { padding: 56px 0; }
  .section-header h2 { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
