/* ================================================================
   Panela Orgánica — styles.css
   Diseño preservado del index.html original. CSS externo cacheable.
   ================================================================ */

:root {
  --verde: #2d5016;
  --verde-medio: #4a7c28;
  --verde-claro: #7db84a;
  --dorado: #c8860a;
  --dorado-claro: #e8a820;
  --miel: #f5c842;
  --crema: #fdf6e3;
  --cafe: #5a3e1b;
  --cafe-claro: #8b6534;
  --blanco: #ffffff;
  --texto: #2a1f0e;
  --sombra: rgba(42,31,14,0.15);
}

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

html { scroll-behavior: smooth; }

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

/* Skip link de accesibilidad */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--verde);
  color: var(--crema);
  padding: .5rem 1rem;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; width: auto; height: auto; }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253,246,227,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--dorado);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 4vw;
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 4px 30px var(--sombra); }
.logo img { height: 60px; width: auto; display: block; }
nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--verde);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--dorado);
  transition: width 0.3s;
}
nav a:hover { color: var(--dorado); }
nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--verde);
  color: var(--crema) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 40px;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--dorado) !important; transform: translateY(-2px); }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--verde); transition: 0.3s; }

/* ── HERO ── */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3208 0%, #2d5016 40%, #4a7c28 70%, #c8860a 100%);
  padding: 7rem 4vw 4rem;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(200,134,10,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(125,184,74,0.1) 0%, transparent 50%);
}
.hero-leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.leaf { position: absolute; font-size: 3rem; opacity: 0.07; animation: floatLeaf linear infinite; }
.leaf:nth-child(1) { left:5%; top:10%; font-size:4rem; animation-duration:12s; animation-delay:-3s; }
.leaf:nth-child(2) { left:85%; top:5%; font-size:2.5rem; animation-duration:9s; animation-delay:-1s; }
.leaf:nth-child(3) { left:50%; top:80%; font-size:5rem; animation-duration:15s; animation-delay:-7s; }
.leaf:nth-child(4) { left:15%; top:70%; font-size:3.5rem; animation-duration:11s; animation-delay:-4s; }
.leaf:nth-child(5) { left:75%; top:60%; font-size:2rem; animation-duration:8s; animation-delay:-2s; }
@keyframes floatLeaf {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-30px) rotate(10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-badge {
  display: inline-block;
  background: rgba(200,134,10,0.3);
  border: 1px solid rgba(200,134,10,0.6);
  color: var(--miel);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--crema);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero-content h1 em { color: var(--miel); font-style: italic; }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(253,246,227,0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.45s both; }
.btn-primary {
  background: var(--dorado);
  color: var(--crema);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(200,134,10,0.4);
}
.btn-primary:hover { background: var(--dorado-claro); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(200,134,10,0.5); }
.btn-outline {
  background: transparent;
  color: var(--crema);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(253,246,227,0.5);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--miel); background: rgba(245,200,66,0.1); transform: translateY(-3px); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.6;
  animation: bounce 2s infinite;
}
.hero-scroll span { font-size: 0.7rem; color: var(--crema); letter-spacing: 0.15em; text-transform: uppercase; }
.hero-scroll svg { width: 20px; fill: var(--crema); }
@keyframes bounce { 0%,100%{ transform:translateX(-50%) translateY(0); } 50%{ transform:translateX(-50%) translateY(8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to   { opacity: 1; transform: translateY(0); } }

/* ── STATS BAR ── */
.stats-bar { background: var(--verde); padding: 1.5rem 4vw; display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.stat { text-align: center; color: var(--crema); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--miel); display: block; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }

/* ── SECTIONS COMMONS ── */
section { padding: 6rem 4vw; }
.section-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dorado); margin-bottom: 0.6rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--verde); line-height: 1.15; margin-bottom: 1.2rem; }
.section-title em { color: var(--dorado); font-style: italic; }
.section-subtitle { font-size: 1.05rem; color: var(--cafe-claro); max-width: 600px; line-height: 1.7; }

/* ── PRODUCTOS ── */
#productos { background: var(--crema); }
.productos-header { text-align: center; margin-bottom: 4rem; }
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.producto-card {
  background: var(--blanco);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--sombra);
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
  position: relative;
}
.producto-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(42,31,14,0.2); }
.producto-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--verde);
  color: var(--crema);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  z-index: 2;
}
.producto-img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform 0.5s; }
.producto-card:hover .producto-img { transform: scale(1.05); }
.producto-img-wrap { overflow: hidden; position: relative; }
.producto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,31,14,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.producto-card:hover .producto-overlay { opacity: 1; }
.producto-body { padding: 1.5rem; }
.producto-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dorado); margin-bottom: 0.4rem; }
.producto-nombre { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--verde); margin-bottom: 0.6rem; line-height: 1.3; }
.producto-desc { font-size: 0.9rem; color: var(--cafe-claro); line-height: 1.6; margin-bottom: 1.2rem; }
.producto-footer { display: flex; align-items: center; justify-content: space-between; }
.producto-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag { background: rgba(74,124,40,0.1); color: var(--verde-medio); border-radius: 20px; font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; }
.btn-card {
  background: var(--verde);
  color: var(--crema);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.btn-card:hover { background: var(--dorado); transform: scale(1.05); }

.producto-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.producto-card.featured .producto-img-wrap { min-height: 300px; }
.producto-card.featured .producto-img { height: 100%; }
.producto-card.featured .producto-body { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.producto-card.featured .producto-nombre { font-size: 1.8rem; }

/* ── POR QUÉ NOSOTROS ── */
#nosotros {
  background: linear-gradient(135deg, var(--verde) 0%, #1a3208 100%);
  color: var(--crema);
  position: relative;
  overflow: hidden;
}
#nosotros::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(200,134,10,0.07);
}
#nosotros::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(125,184,74,0.06);
}
.nosotros-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.nosotros-img-wrap { position: relative; }
.nosotros-img { width: 100%; border-radius: 24px; display: block; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.nosotros-floater {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--dorado);
  color: var(--crema);
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(200,134,10,0.4);
  text-align: center;
}
.nosotros-floater strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; line-height: 1; }
.nosotros-floater span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
#nosotros .section-title { color: var(--crema); }
#nosotros .section-tag { color: var(--miel); }
.nosotros-text { font-size: 1rem; line-height: 1.8; opacity: 0.88; margin-bottom: 2rem; }
.features-list { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(200,134,10,0.2);
  border: 1px solid rgba(200,134,10,0.4);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.feature-content h4 { font-weight: 700; font-size: 1rem; color: var(--miel); margin-bottom: 0.2rem; }
.feature-content p { font-size: 0.88rem; opacity: 0.8; }

/* ── PROCESO ── */
#proceso { background: #f5ede0; }
.proceso-inner { max-width: 1100px; margin: 0 auto; }
.proceso-header { text-align: center; margin-bottom: 4rem; }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.pasos::before {
  content: '';
  position: absolute;
  top: 2.5rem; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--dorado), var(--verde-claro));
}
.paso { text-align: center; position: relative; }
.paso-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--crema);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative; z-index: 1;
  box-shadow: 0 4px 15px rgba(45,80,22,0.3);
  transition: transform 0.3s, background 0.3s;
}
.paso:hover .paso-num { transform: scale(1.15); background: var(--dorado); }
.paso-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.paso h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--verde); margin-bottom: 0.5rem; }
.paso p { font-size: 0.88rem; color: var(--cafe-claro); line-height: 1.6; }

/* ── GALERÍA ── */
#galeria { background: var(--crema); padding-bottom: 3rem; }
.galeria-header { text-align: center; margin-bottom: 3rem; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.galeria-item { border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; }
.galeria-item:first-child { grid-column: 1 / 2; grid-row: 1 / 3; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; min-height: 200px; }
.galeria-item:first-child img { min-height: 420px; }
.galeria-item:hover img { transform: scale(1.07); }
.galeria-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,80,22,0.7), transparent);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay span { color: var(--crema); font-weight: 700; font-size: 0.9rem; }

/* ── TESTIMONIOS ── */
#testimonios { background: linear-gradient(180deg, #f5ede0 0%, var(--crema) 100%); }
.testimonios-inner { max-width: 1100px; margin: 0 auto; }
.testimonios-header { text-align: center; margin-bottom: 3.5rem; }
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testi-card {
  background: var(--blanco); border-radius: 20px; padding: 2rem;
  box-shadow: 0 4px 20px var(--sombra);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(42,31,14,0.15); }
.testi-card::before {
  content: '"'; font-family: 'Playfair Display', serif;
  font-size: 5rem; color: var(--dorado); opacity: 0.2;
  position: absolute; top: 0.5rem; left: 1.2rem; line-height: 1;
}
.testi-stars { color: var(--miel); font-size: 1rem; margin-bottom: 0.8rem; }
.testi-text { font-size: 0.95rem; line-height: 1.7; color: var(--cafe); margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde-claro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--verde); }
.testi-loc { font-size: 0.78rem; color: var(--cafe-claro); }

/* ── CONTACTO ── */
#contacto { background: var(--verde); color: var(--crema); }
.contacto-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
#contacto .section-title { color: var(--crema); }
#contacto .section-tag { color: var(--miel); }
.contacto-info p { font-size: 1rem; line-height: 1.8; opacity: 0.85; margin-bottom: 2rem; }
.contacto-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contacto-item { display: flex; align-items: center; gap: 1rem; }
.contacto-item-icon {
  width: 44px; height: 44px;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contacto-item-text { font-size: 0.95rem; opacity: 0.9; }
.contacto-item-text strong { display: block; color: var(--miel); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.1rem; }
.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px; padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--miel); margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; color: var(--crema);
  font-family: 'Nunito', sans-serif; font-size: 0.95rem;
  padding: 0.75rem 1rem; outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(253,246,227,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--miel); background: rgba(255,255,255,0.12);
}
.form-group select option { background: var(--verde); color: var(--crema); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--dorado); color: var(--crema);
  border: none; border-radius: 50px; padding: 1rem;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: background 0.3s, transform 0.2s; letter-spacing: 0.05em;
}
.btn-submit:hover { background: var(--dorado-claro); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: #0f1f05; color: rgba(253,246,227,0.7); padding: 4rem 4vw 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo img { height: 55px; margin-bottom: 1rem; filter: brightness(0.9); width: auto; }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; opacity: 0.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.8rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(253,246,227,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--crema); text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.social-btn:hover { background: var(--dorado); border-color: var(--dorado); }
.footer-col h4 {
  color: var(--miel); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a, .footer-col ul li span { color: rgba(253,246,227,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--miel); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(253,246,227,0.1); padding-top: 1.5rem;
  font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--dorado); text-decoration: none; }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(253,246,227,0.98);
  backdrop-filter: blur(10px);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--verde);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--dorado); }

.mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 52px;
  height: 52px;
  background: var(--verde);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--crema);
  font-size: 1.6rem;
  line-height: 1;
  z-index: 1200;
  box-shadow: 0 4px 16px rgba(45,80,22,0.4);
  transition: background 0.2s, transform 0.25s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-close:hover, .mobile-close:active { background: var(--dorado); transform: rotate(90deg); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 58px; height: 58px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 1000; transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; font-size: 1.5rem;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.5); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

/* ── BLOG ── */
.blog-hero {
  padding: 9rem 4vw 4rem;
  background: linear-gradient(135deg, var(--verde) 0%, #1a3208 100%);
  color: var(--crema);
  text-align: center;
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
}
.blog-hero h1 em { color: var(--miel); font-style: italic; }
.blog-hero p { max-width: 640px; margin: 0 auto; opacity: .85; line-height: 1.7; font-size: 1rem; }

.blog-list { padding: 5rem 4vw; max-width: 1100px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.post-card {
  background: var(--blanco);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--sombra);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(42,31,14,0.15); }
.post-card a.post-link { text-decoration: none; color: inherit; display: block; flex: 1; }
.post-thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.post-body { padding: 1.5rem; }
.post-meta { font-size: 0.78rem; color: var(--dorado); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 0.6rem; }
.post-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--verde); margin-bottom: 0.6rem; line-height: 1.3; }
.post-excerpt { font-size: 0.92rem; line-height: 1.6; color: var(--cafe-claro); }

.post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 4vw 5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--texto);
}
.post-article .post-meta { color: var(--dorado); margin-bottom: 1rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.post-article h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--verde); line-height: 1.15; margin-bottom: 1.2rem; }
.post-article h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--verde); margin: 2.4rem 0 1rem; }
.post-article h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--verde); margin: 1.8rem 0 .8rem; }
.post-article p { margin-bottom: 1.2rem; }
.post-article ul, .post-article ol { margin: 0 0 1.4rem 1.4rem; }
.post-article li { margin-bottom: .4rem; }
.post-article img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.5rem 0; display: block; }
.post-article blockquote { border-left: 4px solid var(--dorado); padding: .6rem 1.2rem; margin: 1.4rem 0; background: rgba(200,134,10,0.06); font-style: italic; color: var(--cafe); }
.post-article code { background: rgba(0,0,0,0.06); padding: .15rem .4rem; border-radius: 4px; font-size: .92em; }
.post-article a { color: var(--dorado); text-decoration: underline; }
.post-article a:hover { color: var(--verde); }
.post-back { display: inline-block; margin-bottom: 1.2rem; color: var(--dorado); text-decoration: none; font-weight: 700; }
.post-back:hover { color: var(--verde); }

.breadcrumbs { font-size: .82rem; color: var(--cafe-claro); margin-bottom: 1.2rem; }
.breadcrumbs a { color: var(--dorado); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.post-cta {
  background: linear-gradient(135deg, var(--verde), #1a3208);
  color: var(--crema);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  margin-top: 3rem;
  text-align: center;
}
.post-cta h3 { font-family: 'Playfair Display', serif; color: var(--miel); margin-bottom: .6rem; font-size: 1.4rem; }
.post-cta p { opacity: .9; margin-bottom: 1.4rem; }
.post-cta .btn-primary { display: inline-block; }

/* ── 404 ── */
.error-404 { padding: 9rem 4vw 5rem; text-align: center; max-width: 720px; margin: 0 auto; }
.error-404 h1 { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 8vw, 6rem); color: var(--verde); margin-bottom: .4rem; }
.error-404 h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dorado); margin-bottom: 1.2rem; }
.error-404 p { color: var(--cafe-claro); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.7; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .pasos::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nosotros-inner { grid-template-columns: 1fr; gap: 3rem; }
  .nosotros-img-wrap { max-width: 500px; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .producto-card.featured { grid-column: auto; display: block; }
  .producto-card.featured .producto-img-wrap { min-height: 220px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .contacto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-item:first-child { grid-column: auto; grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  section { padding: 4rem 5vw; }
  .stats-bar { gap: 2rem; }
  .galeria-grid { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
}

