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

:root {
  --verde:    #0e882e;
  --verde-dark: #085e1f;
  --verde-light: #e8f5ec;
  --crema:    #faf8f3;
  --texto:    #1a1a1a;
  --gris:     #555;
  --blanco:   #ffffff;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--crema);
  color: var(--texto);
  overflow-x: hidden;
}

em { font-family: 'Playfair Display', serif; font-style: italic; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: padding 0.3s;
}
.nav.scrolled { padding: 12px 40px; }

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
}
.logo em { font-style: italic; color: #b8f5c8; }

.links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin-left: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.links a:hover { color: #b8f5c8; }

.menu-btn {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  font-size: 1.2rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--verde-dark);
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  z-index: 999;
  padding: 20px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 14px 30px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(10,60,20,0.55), rgba(5,40,15,0.7)),
              url('img/fondo.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(14,136,46,0.3) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b8f5c8;
  border: 1px solid rgba(184,245,200,0.4);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-hero {
  display: inline-block;
  background: var(--verde);
  color: white;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  letter-spacing: 0.5px;
}
.btn-hero:hover {
  background: white;
  color: var(--verde);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2, .text-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--texto);
}

.text-block p {
  color: var(--gris);
  line-height: 1.8;
  font-size: 1rem;
  margin-top: 16px;
}

/* ===== NOSOTROS ===== */
.nosotros-section { background: white; }

.badge-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge {
  background: var(--verde-light);
  border-left: 4px solid var(--verde);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.badge:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(14,136,46,0.12);
}

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--verde);
  min-width: 60px;
}

.badge-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto);
}

/* ===== PRODUCTOS ===== */
.productos-section { background: var(--crema); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prod-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.35s, box-shadow 0.35s;
}
.prod-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.prod-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.prod-info {
  padding: 24px;
}
.prod-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--texto);
}
.prod-info p {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== RAZONES ===== */
.razones-section { background: white; }

.razones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.razon {
  text-align: center;
  padding: 36px 24px;
  border-radius: 18px;
  border: 1px solid #eee;
  background: var(--crema);
  transition: all 0.35s;
}
.razon:hover {
  background: var(--verde);
  border-color: var(--verde);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(14,136,46,0.25);
}
.razon:hover h3, .razon:hover p { color: white; }

.razon-icon { font-size: 2.2rem; margin-bottom: 16px; }
.razon h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color 0.35s;
}
.razon p {
  font-size: 0.88rem;
  color: var(--gris);
  line-height: 1.6;
  transition: color 0.35s;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--verde-dark), var(--verde));
  padding: 80px 30px;
  text-align: center;
  color: white;
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.btn-cta {
  display: inline-block;
  background: white;
  color: var(--verde);
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.btn-cta:hover {
  background: var(--crema);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ===== UBICACION ===== */
.ubicacion-section { background: var(--crema); }

.mapa-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
  aspect-ratio: 1;
}
.mapa-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.btn-maps {
  display: inline-block;
  margin-top: 20px;
  background: var(--verde);
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-maps:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14,136,46,0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1f0e;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer .logo { font-size: 1.3rem; }
.footer p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .razones-grid { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .menu-btn { display: block; }
  .mapa-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 560px) {
  .prod-grid { grid-template-columns: 1fr; }
  .razones-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
}
