:root {
  --cream: #f0f7f0;
  --cream-dark: #d6ebd6;
  --green: #1a6b4a;
  --green-light: #25996b;
  --green-pale: #e0f2ea;
  --gold: #d4a017;
  --text: #1a2e1a;
  --text-light: #557a55;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23a0906a' opacity='0.12'/%3E%3Ccircle cx='50' cy='30' r='0.8' fill='%23a0906a' opacity='0.1'/%3E%3Ccircle cx='30' cy='60' r='1.2' fill='%23a0906a' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* ===== NAV ===== */
nav {
  background: var(--green);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.nav-logo-icon {
  width: 36px; height: 36px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--white);
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 700 !important;
}

.nav-cta:hover { background: #e0a84a !important; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #0d3d2a 0%, #1a6b4a 50%, #0d3d2a 100%);
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(200,148,58,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,140,63,0.2) 0%, transparent 50%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px; max-width: 620px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 2px; margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900; color: var(--white);
  line-height: 1.1; margin-bottom: 22px;
}

.hero h1 em { font-style: italic; color: var(--gold); }

.hero p {
  color: rgba(255,255,255,0.78); font-size: 17px;
  line-height: 1.7; margin-bottom: 36px; font-weight: 300;
}

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

.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 14px 30px; border-radius: 4px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,148,58,0.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5); color: var(--white);
  padding: 14px 30px; border-radius: 4px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.hero-image-col {
  position: absolute; right: 0; top: 0;
  height: 100%; width: 45%; overflow: hidden;
}

.hero-image-col img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }

.hero-stats {
  position: absolute; bottom: 40px; right: 80px;
  display: flex; gap: 40px; z-index: 3;
  animation: fadeUp 1.1s 0.3s ease both;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700; color: var(--gold);
  display: block; line-height: 1;
}

.stat-label {
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px;
}

/* ===== PRODUCTOS ===== */
.featured { position: relative; z-index: 1; padding: 80px; background: var(--cream); }

.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green); margin-bottom: 8px;
}

.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 40px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700;
}

.section-header p { color: var(--text-light); font-size: 14px; margin-top: 4px; }

.btn-catalog {
  background: var(--green); color: var(--white);
  padding: 10px 20px; border-radius: 4px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: background 0.2s;
}

.btn-catalog:hover { background: var(--green-light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ← cambia el 3 para más o menos columnas */
  gap: 24px;
}

.product-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s; cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-card:first-child { grid-column: span 2; }

.product-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.product-card:first-child .product-img { aspect-ratio: 16/9; }

.product-info { padding: 16px 20px 20px; }

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; margin-bottom: 4px;
}

.product-unit { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }

.product-bottom { display: flex; align-items: center; justify-content: space-between; }

.product-price { color: var(--green); font-weight: 700; font-size: 16px; }

.product-add {
  background: var(--green); color: var(--white); border: none;
  padding: 7px 14px; border-radius: 4px;
  font-size: 12px; font-weight: 700; cursor: pointer; transition: background 0.2s;
}

.product-add:hover { background: var(--green-light); }

/* ===== NOSOTROS ===== */
.about {
  position: relative; z-index: 1; background: var(--cream-dark);
  padding: 80px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-wrap img { width: 100%; border-radius: 8px; height: 440px; object-fit: cover; }

.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); border-radius: 8px; padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 12px;
}

.badge-icon {
  width: 42px; height: 42px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}

.badge-text strong { display: block; font-size: 15px; font-weight: 700; }
.badge-text span { font-size: 12px; color: var(--text-light); }

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 20px;
}

.about-content p { color: var(--text-light); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }

.about-features {
  list-style: none; margin: 28px 0 32px;
  display: flex; flex-direction: column; gap: 10px;
}

.about-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }

.check {
  width: 20px; height: 20px; background: var(--green); border-radius: 50%;
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}

/* ===== POR QUÉ ELEGIRNOS ===== */
.why { position: relative; z-index: 1; padding: 80px; background: var(--cream); text-align: center; }

.why-header { max-width: 560px; margin: 0 auto 56px; }

.why-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 700; margin-bottom: 12px;
}

.why-header p { color: var(--text-light); font-size: 15px; line-height: 1.7; }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 900px; margin: 0 auto;
}

.why-card {
  background: var(--white); border-radius: 8px; padding: 36px 28px;
  text-align: left; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.25s;
}

.why-card:hover { transform: translateY(-4px); }

.why-icon {
  width: 52px; height: 52px; background: var(--green-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}

.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700; margin-bottom: 10px;
}

.why-card p { font-size: 13px; line-height: 1.7; color: var(--text-light); }

/* ===== BANNER WHATSAPP ===== */
.wa-banner {
  position: relative; z-index: 1; background: var(--green);
  padding: 60px 80px; display: flex;
  align-items: center; justify-content: space-between; gap: 32px;
}

.wa-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px; color: var(--white); font-weight: 700; margin-bottom: 8px;
}

.wa-text p { color: rgba(255,255,255,0.75); font-size: 15px; }

.btn-wa {
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 16px 32px; border-radius: 4px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s;
}

.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

/* ===== FOOTER ===== */
footer {
  position: relative; z-index: 1;
  background: #1a1a1a; color: rgba(255,255,255,0.7); padding: 60px 80px 0;
}

.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 12px;
}

.footer-col h4 {
  color: var(--white); font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-contact-item { display: flex; gap: 10px; font-size: 13px; margin-bottom: 12px; }

.newsletter h4 {
  color: var(--white); font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}

.newsletter p { font-size: 12px; margin-bottom: 14px; line-height: 1.6; }

.newsletter-form { display: flex; flex-direction: column; gap: 8px; }

.newsletter-form input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px; padding: 10px 14px; color: var(--white);
  font-size: 13px; outline: none; font-family: 'Lato', sans-serif; transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--gold); }

.newsletter-form button {
  background: var(--gold); color: var(--white); border: none;
  padding: 10px 14px; border-radius: 4px;
  font-weight: 700; font-size: 13px; cursor: pointer;
  font-family: 'Lato', sans-serif; transition: background 0.2s;
}

.newsletter-form button:hover { background: #e0a84a; }

.footer-bottom {
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between; font-size: 12px;
}

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 32px; }
  .hero-image-col { opacity: 0.3; }
  .hero-stats { right: 32px; gap: 24px; }
  .featured, .about, .why, .wa-banner { padding: 56px 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:first-child { grid-column: span 2; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { height: 300px; }
  .why-grid { grid-template-columns: 1fr; max-width: 400px; }
  .wa-banner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 0 0 40px; }
  footer { padding: 48px 32px 0; }
}
