/* ═══════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --terracota:       #7A9461;
  --terracota-dark:  #586E43;
  --terracota-light: #A0B585;
  --terracota-xlight:#E1E8D5;
  --verde:           #6B8E23;
  --verde-dark:      #4E6A1A;
  --verde-light:     #8AAD38;
  --crema:           #F5F0E8;
  --crema-dark:      #EDE5D5;
  --madera:          #3E2723;
  --madera-light:    #5D3A34;
  --oro:             #D4A574;
  --blanco:          #FFFFFF;
  --sombra:          rgba(62,39,35,0.12);
  --sombra-med:      rgba(62,39,35,0.20);
  --radius:          14px;
  --radius-lg:       20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--crema); color: var(--madera);
  overflow-x: hidden; font-size: 18px; line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture source { display: none; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--crema); }
::-webkit-scrollbar-thumb { background: var(--oro); border-radius: 4px; }
/* Iconos Lucide alignment */
.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.5;
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253,249,240,0.97);
  box-shadow: 0 2px 20px var(--sombra);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}
#navbar.scrolled { padding: 10px 40px; box-shadow: 0 2px 30px var(--sombra); }
.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
#navbar .nav-logo img { display: block; height: 48px; width: auto; transition: height .4s ease; }
#navbar.scrolled .nav-logo img { height: 42px; }
.nav-logo-main { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--terracota); letter-spacing: .05em; }
.nav-logo-sub { font-family: 'Crimson Pro', serif; font-size: .72rem; color: var(--oro); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; color: var(--madera);
  font-family: 'Crimson Pro', serif; font-size: 1rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--terracota);
  transform: scaleX(0); transition: transform .3s ease; transform-origin: center;
}
.nav-links a:hover { color: var(--terracota); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links > li > a > svg:first-child { width: 17px; height: 17px; color: var(--terracota); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cart { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--madera); transition: all .3s ease; }
.nav-cart svg { width: 24px; height: 24px; }
.nav-cart:hover { color: var(--terracota-dark); background: var(--terracota-xlight); }
.btn-nav {
  background: var(--terracota); color: white;
  border: none; padding: 10px 22px; border-radius: 50px;
  font-family: 'Crimson Pro', serif; font-size: .9rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .3s ease; text-decoration: none;
}
.btn-nav:hover { background: var(--terracota-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(199,91,57,.35); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--madera); border-radius: 2px; transition: all .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--crema); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--madera); text-decoration: none; transition: color .3s; }
.mobile-menu a:hover { color: var(--terracota); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
/* Foto de la tienda nítida (la imagen original es 1600×606: altura limitada para no ampliarla de más);
   el texto va sobre un panel crema translúcido para que se lea. */
#inicio {
  min-height: clamp(560px, 78vh, 760px);
  background: url('../../imagenes/tienda-casa-alonso-slider.jpg');
  background-image: image-set(url('../../imagenes/tienda-casa-alonso-slider.webp') type('image/webp'), url('../../imagenes/tienda-casa-alonso-slider.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 40px 80px;
}
.hero-deco { display: none; position: absolute; border-radius: 50%; pointer-events: none; opacity: .5; }
.hero-deco-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(199,91,57,.12) 0%, transparent 70%); top: -150px; right: -100px; }
.hero-deco-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(107,142,35,.10) 0%, transparent 70%); bottom: -100px; left: 5%; }
.hero-content {
  max-width: 760px; text-align: center; position: relative; z-index: 2;
  background: rgba(253,249,240,0.9); border-radius: var(--radius-lg);
  padding: 44px 52px; box-shadow: 0 20px 60px rgba(62,39,35,0.25);
}
.hero-content .hero-subtitle { margin-bottom: 28px; }
#inicio .hero-content { max-width: 620px; padding: 36px 44px; }
#inicio .hero-title { font-size: clamp(2.3rem,4.2vw,3.6rem); margin-bottom: 18px; }
#inicio .hero-eyebrow { margin-bottom: 16px; letter-spacing: .18em; font-size: .8rem; }
.hero-eyebrow {
  font-family: 'Crimson Pro', serif; font-size: .85rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--terracota);
  margin-bottom: 24px; display: flex; align-items: center; justify-content: center; gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--terracota); opacity: .5; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem,6vw,5rem); font-weight: 700; line-height: 1.1; color: var(--madera); margin-bottom: 24px; }
.hero-title em { color: var(--terracota); font-style: italic; }
.hero-subtitle { font-size: 1.15rem; color: var(--madera-light); max-width: 540px; margin: 0 auto 40px; font-weight: 300; font-style: italic; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--terracota); color: white; border: 2px solid var(--terracota);
  padding: 14px 32px; border-radius: 50px;
  font-family: 'Crimson Pro', serif; font-size: 1rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: all .3s ease; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--terracota-dark); border-color: var(--terracota-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(199,91,57,.35); }
.btn-secondary {
  background: transparent; color: var(--verde); border: 2px solid var(--verde);
  padding: 14px 32px; border-radius: 50px;
  font-family: 'Crimson Pro', serif; font-size: 1rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: all .3s ease; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { background: var(--verde); color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(107,142,35,.3); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--madera); opacity: .4; font-size: .75rem; letter-spacing: .2em;
  text-transform: uppercase; font-family: 'Crimson Pro', serif;
  animation: scrollBounce 2s ease-in-out infinite;
  display: none;
}
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ═══════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════ */
section { padding: 100px 40px; }
/* Primera sección de las páginas sin cabecera (Empresa, Contacto): deja sitio al menú fijo */
.mobile-menu + section { padding-top: 160px; }
.mobile-menu + section .fade-in { opacity: 1; transform: none; }
.section-label {
  font-family: 'Crimson Pro', serif; font-size: .8rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--terracota);
  margin-bottom: 12px; display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--terracota); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--madera); line-height: 1.2; margin-bottom: 20px; }
.section-title em { color: var(--terracota); font-style: italic; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════════
   HISTORIA
═══════════════════════════════════════════════ */
#nosotros { background: var(--blanco); }
.historia-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.historia-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.historia-img::before {
  content: ''; position: absolute; top: -20px; left: -20px;
  width: 100px; height: 100px; border-top: 3px solid var(--oro); border-left: 3px solid var(--oro); border-radius: 4px; z-index: 2;
}
.historia-text p { font-size: 1.1rem; color: var(--madera-light); margin-bottom: 24px; font-weight: 300; }
.historia-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 50px; font-family: 'Crimson Pro', serif; font-size: .85rem; font-weight: 600; }
.badge-verde { background: rgba(107,142,35,.12); color: var(--verde-dark); border: 1px solid rgba(107,142,35,.3); }
.badge-terracota { background: rgba(199,91,57,.10); color: var(--terracota-dark); border: 1px solid rgba(199,91,57,.25); }
.badge-oro { background: rgba(212,165,116,.15); color: #8B6540; border: 1px solid rgba(212,165,116,.35); }
.historia-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--crema-dark); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--terracota); line-height: 1; }
.stat-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--madera-light); font-weight: 600; margin-top: 4px; }

/* ═══════════════════════════════════════════════
   PROCESO
═══════════════════════════════════════════════ */
#proceso { background: var(--blanco); }
#proceso .proceso-card { background: var(--crema); }
#proceso .proceso-num { color: var(--crema-dark); filter: brightness(.95); }
.proceso-header { max-width: 1200px; margin: 0 auto 60px; }
.proceso-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.proceso-card {
  background: var(--blanco); border-radius: var(--radius); padding: 36px 28px;
  position: relative; overflow: hidden; transition: all .3s ease;
  border: 1px solid rgba(212,165,116,.2);
}
.proceso-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px var(--sombra-med); border-color: var(--oro); }
.proceso-num { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 700; color: var(--crema-dark); line-height: 1; position: absolute; top: 16px; right: 20px; }
.proceso-icon { color: var(--terracota); margin-bottom: 16px; }
.proceso-icon svg { width: 42px; height: 42px; stroke-width: 1.2; }
.proceso-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--madera); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.proceso-card p { font-size: .95rem; color: var(--madera-light); font-weight: 300; }
.proceso-line { width: 36px; height: 3px; background: var(--terracota); border-radius: 2px; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════
   BOTONES PÍLDORA (menú de productos)
═══════════════════════════════════════════════ */
.filter-btn {
  padding: 8px 20px; border-radius: 50px; border: 1.5px solid var(--crema-dark);
  background: transparent; font-family: 'Crimson Pro', serif; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .25s ease; color: var(--madera-light);
}
.filter-btn:hover, .filter-btn.active { background: var(--terracota); border-color: var(--terracota); color: white; }

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
#faq { background: var(--blanco); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--crema-dark); }
.faq-question {
  width: 100%; padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: var(--madera);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--terracota); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); }
.faq-answer-content { padding-bottom: 24px; color: var(--madera-light); font-size: 0.95rem; font-weight: 300; line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 1000px; transition: max-height 0.6s cubic-bezier(1, 0, 1, 0); }
.faq-icon { transition: transform 0.3s ease; color: var(--terracota); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* ═══════════════════════════════════════════════
   VISITANOS
═══════════════════════════════════════════════ */
#contacto { background: var(--crema); }
.visita-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: stretch; }
.info-card { background: var(--blanco); border-radius: var(--radius); padding: 20px; margin-top: 16px; border: 1px solid rgba(212,165,116,.2); display: flex; gap: 14px; align-items: center; transition: transform 0.3s ease; }
.info-card:hover { transform: translateX(5px); }
.info-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(199,91,57,.1); display: flex; align-items: center; justify-content: center; color: var(--terracota); flex-shrink: 0; }
.info-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.info-text h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--madera); margin-bottom: 2px; }
.info-text p, .info-text a { font-size: 0.9rem; color: var(--madera-light); font-weight: 300; text-decoration: none; display: block; line-height: 1.4; }
.info-text a:hover { color: var(--terracota); }
.btn-llegar { display: inline-flex; align-items: center; gap: 10px; background: var(--verde); color: white; border: none; padding: 12px 24px; border-radius: 50px; font-family: 'Crimson Pro', serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all .3s ease; text-decoration: none; margin-top: 20px; }
.btn-llegar:hover { background: var(--verde-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(107,142,35,.3); }
.contact-form { background: var(--blanco); border-radius: var(--radius); padding: 24px; margin-top: 16px; border: 1px solid rgba(212,165,116,.2); }
.contact-form h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--madera); margin-bottom: 4px; }
.contact-form p { font-size: 0.85rem; color: var(--madera-light); font-weight: 300; margin-bottom: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--madera-light); margin-bottom: 4px; font-family: 'Crimson Pro', serif; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 14px; margin-bottom: 14px; border: 1px solid rgba(62,39,35,.15); border-radius: 10px; background: var(--crema); font-family: 'Crimson Pro', serif; font-size: 0.92rem; color: var(--madera); transition: border-color .25s ease, box-shadow .25s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--terracota); box-shadow: 0 0 0 3px var(--terracota-xlight); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.btn-enviar { display: inline-flex; align-items: center; gap: 10px; background: var(--terracota); color: white; border: none; padding: 12px 28px; border-radius: 50px; font-family: 'Crimson Pro', serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all .3s ease; }
.btn-enviar:hover { background: var(--terracota-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(122,148,97,.35); }
@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}
.mapa-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px var(--sombra-med); height: 100%; min-height: 400px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer { background: var(--terracota-dark); color: rgba(255,255,255,.9); padding: 80px 40px 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-brand .nav-logo-main { color: var(--blanco); }
.footer-brand .nav-logo-sub { color: var(--crema-dark); }
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 240px; }
.footer-social { margin-top: 24px; }
.social-btns-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.social-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-btn-icon svg { 
  width: 22px; 
  height: 22px; 
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2px;
}
.social-btn-icon:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; transition: color .3s; font-family: 'Crimson Pro', serif; }
.footer-col ul a:hover { color: var(--blanco); text-decoration: underline; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item span:last-child { font-size: .88rem; color: rgba(255,255,255,.85); font-family: 'Crimson Pro', serif; line-height: 1.5; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.7); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .82rem; color: rgba(255,255,255,.7); text-decoration: none; transition: color .3s; }
.footer-bottom-links a:hover { color: var(--blanco); }


/* ═══════════════════════════════════════════════
   BANNER DE COOKIES
═══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--blanco);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 5000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--crema-dark);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-header { display: flex; align-items: center; gap: 12px; }
.cookie-header i { color: var(--terracota); }
.cookie-header h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--madera); }
.cookie-body p { font-size: 0.9rem; color: var(--madera-light); line-height: 1.5; margin-bottom: 10px; }
.cookie-links { display: flex; gap: 15px; }
.cookie-links a { font-size: 0.8rem; color: var(--terracota); text-decoration: underline; font-weight: 600; }
.cookie-btns { display: flex; gap: 10px; }
@media (max-width: 600px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-btns { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  #navbar { padding: 12px 20px; }
  #navbar.scrolled { padding: 10px 20px; }
  #navbar .nav-logo img, #navbar.scrolled .nav-logo img { height: 38px; }
  .nav-actions { gap: 8px; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 24px; }
  .mobile-menu + section { padding-top: 120px; }
  .historia-inner { grid-template-columns: 1fr; gap: 48px; }
  .proceso-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .visita-inner { grid-template-columns: 1fr; gap: 48px; }
  .mapa-container { min-height: 300px; }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; align-items: center; }
  #inicio { padding: 100px 16px 40px; }
  .hero-content { padding: 30px 22px; }
  #inicio .hero-eyebrow { letter-spacing: .1em; font-size: .72rem; }
  #inicio .hero-eyebrow::before, #inicio .hero-eyebrow::after { display: none; }
  .proceso-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   MULTIPÁGINA — NAV ACTIVO + DESPLEGABLE
═══════════════════════════════════════════════ */
.nav-links a.active { color: var(--terracota); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-links .has-dropdown > a .nav-chevron { width: 14px; height: 14px; }
.dropdown {
  position: absolute; top: 100%; left: 50%; margin-top: 14px;
  transform: translateX(-50%) translateY(8px);
  background: var(--blanco); border-radius: var(--radius); box-shadow: 0 20px 50px var(--sombra-med);
  border: 1px solid rgba(212,165,116,.2);
  list-style: none; padding: 10px 0; min-width: 250px;
  opacity: 0; visibility: hidden; transition: all .25s ease;
}
.dropdown::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-links .dropdown a {
  display: block; padding: 8px 22px; text-transform: none; letter-spacing: 0;
  font-weight: 400; font-size: 1rem; white-space: nowrap;
}
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover { background: var(--crema); }
.mobile-menu .btn-nav { display: inline-block; font-size: 1rem; margin-top: 8px; color: var(--blanco); }

/* ═══════════════════════════════════════════════
   CABECERA DE PÁGINAS INTERIORES
═══════════════════════════════════════════════ */
.page-hero {
  min-height: 52vh; padding: 150px 40px 70px;
  background: linear-gradient(rgba(245,240,232,0.86), rgba(245,240,232,0.86)), url('../../imagenes/cabecera-empresa-tiendas-casa-alonso.jpg');
  background-image: linear-gradient(rgba(245,240,232,0.86), rgba(245,240,232,0.86)), image-set(url('../../imagenes/cabecera-empresa-tiendas-casa-alonso.webp') type('image/webp'), url('../../imagenes/cabecera-empresa-tiendas-casa-alonso.jpg') type('image/jpeg'));
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero.hero-productos {
  background-image: linear-gradient(rgba(245,240,232,0.86), rgba(245,240,232,0.86)), url('../../imagenes/productos-sabores-del-guijo.jpg');
  background-image: linear-gradient(rgba(245,240,232,0.86), rgba(245,240,232,0.86)), image-set(url('../../imagenes/productos-sabores-del-guijo.webp') type('image/webp'), url('../../imagenes/productos-sabores-del-guijo.jpg') type('image/jpeg'));
}
.page-hero.hero-contacto {
  background-image: linear-gradient(rgba(245,240,232,0.86), rgba(245,240,232,0.86)), url('../../imagenes/atardecer-guijo.jpg');
  background-image: linear-gradient(rgba(245,240,232,0.86), rgba(245,240,232,0.86)), image-set(url('../../imagenes/atardecer-guijo.webp') type('image/webp'), url('../../imagenes/atardecer-guijo.jpg') type('image/jpeg'));
}
.page-hero .hero-title { font-size: clamp(2.4rem,5vw,4rem); margin-bottom: 16px; }
.page-hero .hero-subtitle { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   FRANJA "LO QUE NOS DIFERENCIA"
═══════════════════════════════════════════════ */
.diferencia-strip { background: var(--terracota); padding: 36px 40px; }
.diferencia-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.diferencia-item { display: flex; align-items: center; gap: 14px; color: white; font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.diferencia-item .icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.diferencia-item .icon svg { width: 22px; height: 22px; }

/* ═══════════════════════════════════════════════
   BLOQUES GENÉRICOS
═══════════════════════════════════════════════ */
.bg-blanco { background: var(--blanco); }
.bg-crema { background: var(--crema); }
.section-head { max-width: 1200px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-label::after { content: ''; width: 30px; height: 1px; background: var(--terracota); }
.section-intro { font-size: 1.1rem; color: var(--madera-light); font-weight: 300; max-width: 720px; }
.section-head.center .section-intro { margin: 0 auto; }
.cita { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-style: italic; color: var(--madera); line-height: 1.4; margin-bottom: 24px; }
.cita strong { color: var(--terracota); font-style: normal; }
.valor-card h3 { margin-top: 4px; }
/* Tarjetas de categoría (productos que elaboramos) */
.cat-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cat-card {
  background: var(--blanco); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid rgba(212,165,116,.2); transition: all .3s ease; display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px var(--sombra); border-color: var(--oro); }
.cat-card-img { aspect-ratio: 4/3; overflow: hidden; background: #fff; padding: 18px 18px 6px; }
.cat-card-img img, .cat-card-img picture { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-body { padding: 14px 20px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.cat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--madera); margin-bottom: 14px; }
.cat-card-more {
  margin-top: auto; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracota-dark); display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--terracota); border-radius: 50px; padding: 6px 18px; transition: all .3s ease;
}
.cat-card:hover .cat-card-more { background: var(--terracota); color: var(--blanco); }
.cat-card-more svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════
   PÁGINA PRODUCTOS
═══════════════════════════════════════════════ */
.productos-nav {
  position: sticky; top: 64px; z-index: 50;
  background: rgba(245,240,232,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--crema-dark);
  padding: 14px 40px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.productos-nav .filter-btn { text-decoration: none; }
.productos-lista { padding-top: 20px; }
.producto-bloque {
  max-width: 1200px; margin: 0 auto; padding: 70px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  border-bottom: 1px solid var(--crema-dark); scroll-margin-top: 140px;
}
.producto-bloque:last-child { border-bottom: none; }
.producto-bloque:nth-child(even) .producto-img { order: 2; }
.producto-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 20px 60px var(--sombra); background: #fff; }
.producto-texto p { font-size: 1.05rem; color: var(--madera-light); font-weight: 300; margin-bottom: 16px; }
.producto-texto .section-title { font-size: clamp(1.7rem,3vw,2.3rem); }
.composicion { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.sabores { margin-top: 8px; }
.sabores h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--madera); margin-bottom: 10px; }
.sabores-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 20px; }
.sabores-list li { font-size: .88rem; padding: 4px 12px; border-radius: 50px; background: var(--blanco); border: 1px solid var(--crema-dark); color: var(--madera-light); }
.producto-texto .btn-primary { display: inline-flex; align-items: center; gap: 8px; }
.producto-texto .btn-primary svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════
   PÁGINA EMPRESA
═══════════════════════════════════════════════ */
.galeria { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.galeria img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 12px 40px var(--sombra); }
.valores-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.horario-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.horario-grid .info-card { margin-top: 0; }
/* Empresa: fondo claro y cuadros oscuros (petición del cliente) */
#horario .info-card { background: #667D50; border-color: #667D50; padding: 18px 22px; }
#horario .info-icon { background: var(--crema); color: var(--terracota-dark); }
#horario .info-text h4 { color: var(--blanco); }
#horario .info-text p, #horario .info-text a { color: rgba(255,255,255,.88); }
#horario .info-text a:hover { color: var(--blanco); text-decoration: underline; }
/* Mapa real (contacto) */
.mapa-container iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .page-hero { padding: 130px 24px 60px; min-height: 44vh; }
  .diferencia-strip { padding: 30px 24px; }
  .diferencia-grid { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .producto-bloque { grid-template-columns: 1fr; gap: 32px; padding: 50px 0; }
  .producto-bloque:nth-child(even) .producto-img { order: 0; }
  .productos-nav { padding: 12px 16px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; top: 60px; }
  .productos-nav .filter-btn { white-space: nowrap; }
  .valores-grid, .galeria { grid-template-columns: 1fr 1fr; }
  .horario-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .diferencia-grid, .cat-grid, .valores-grid, .galeria { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   CONSENTIMIENTO DE COOKIES
═══════════════════════════════════════════════ */
.btn-cookie-accept, .btn-cookie-reject, .btn-cookie-config, .btn-cookie-save {
  flex: 1; border: none; padding: 12px; border-radius: 50px; cursor: pointer; transition: all .3s;
  font-family: 'Crimson Pro', serif; font-size: 0.95rem; font-weight: 600;
}
/* Rechazar y Aceptar con el mismo peso visual (criterio AEPD) */
.btn-cookie-accept, .btn-cookie-reject { background: var(--terracota); color: white; }
.btn-cookie-accept:hover, .btn-cookie-reject:hover { background: var(--terracota-dark); }
.btn-cookie-config { background: var(--crema-dark); color: var(--madera); }
.btn-cookie-config:hover { background: #e0d5c0; }
.btn-cookie-save { background: var(--madera); color: white; width: 100%; margin-top: 4px; }
.btn-cookie-save:hover { background: var(--madera-light); }
.cookie-panel { border-top: 1px solid var(--crema-dark); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.cookie-panel[hidden] { display: none; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--madera); line-height: 1.4; cursor: pointer; }
.cookie-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--terracota); flex-shrink: 0; }
.cookie-opt small { color: var(--madera-light); font-size: .82rem; }
.footer-bottom-links a[data-cookie-settings] { cursor: pointer; }

/* Mapa con consentimiento previo (contacto) */
.mapa-container { position: relative; background: linear-gradient(145deg, #E8E0D0, #D5C8B0); }
.mapa-container iframe[hidden] { display: none; }
.mapa-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 10px; padding: 120px 32px 32px; text-align: center; color: var(--madera);
}
.mapa-consent svg { color: var(--terracota); }
.mapa-consent p { font-size: .95rem; }
.mapa-consent-nota { font-size: .85rem !important; color: var(--madera-light); max-width: 320px; }
.mapa-cargado .mapa-consent { display: none; }
@media (max-width: 900px) { .mapa-consent { padding-top: 60px; } }

/* Formulario de contacto */
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--madera); margin: 4px 0 8px; cursor: pointer; }
.contact-form .form-check input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--terracota); flex-shrink: 0; }
.contact-form .form-check a { color: var(--terracota); }
.contact-form .form-legal { font-size: .75rem; line-height: 1.5; color: var(--madera-light); opacity: .85; margin-bottom: 14px; }
.form-estado { font-size: .9rem !important; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px !important; }
.form-estado.ok { background: rgba(107,142,35,.12); color: var(--verde-dark) !important; }
.form-estado.error { background: rgba(192,57,43,.1); color: #a93226 !important; }
.btn-enviar:disabled { opacity: .6; cursor: wait; transform: none; }

@media (max-width: 600px) {
  .cookie-btns { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   RONDA CLIENTE 2026-11-03 (2)
═══════════════════════════════════════════════ */
/* Inicio: foto de "Productos artesanos" rectangular, no alargada */
#nosotros .historia-img { aspect-ratio: 3/2; }
/* Inicio: "¿Cómo lo hacemos?" centrado */
.proceso-header { text-align: center; }
.proceso-header .section-label { justify-content: center; }
.proceso-header .section-label::after { content: ''; width: 30px; height: 1px; background: var(--terracota); }
.proceso-header .section-intro { margin: 0 auto; }
#proceso .proceso-card { text-align: center; }
#proceso .proceso-icon { display: flex; justify-content: center; }
#proceso .proceso-line { margin-left: auto; margin-right: auto; }

/* Empresa: carrusel de las tres fotos de tiendas */
.carrusel { aspect-ratio: 3/2; }
.carrusel-pista, .carrusel-slide { position: absolute; inset: 0; }
.carrusel-slide { opacity: 0; transition: opacity .8s ease; }
.carrusel-slide.activo { opacity: 1; }
.carrusel-slide picture, .carrusel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carrusel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(253,249,240,.85); color: var(--madera);
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.carrusel-btn:hover { background: var(--blanco); }
.carrusel-btn svg { width: 20px; height: 20px; }
.carrusel-btn.prev { left: 14px; }
.carrusel-btn.next { right: 14px; }
.carrusel-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.carrusel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.6); transition: all .25s ease; }
.carrusel-dot.activo { background: var(--blanco); width: 26px; border-radius: 5px; }

/* Empresa: cuadros del horario en marrón oscuro (no verde) */
#horario .info-card { background: var(--madera); border-color: var(--madera); }
#horario .info-icon { background: var(--crema); color: var(--madera); }

/* Contacto: datos a la izquierda, formulario a la derecha, mapa debajo */
#contacto .visita-inner { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contacto-form-col .contact-form { margin-top: 0; padding: 32px; }
.contacto-mapa { max-width: 1200px; margin: 64px auto 0; }
.contacto-mapa .mapa-container { height: 450px; min-height: 0; }
.contacto-mapa .mapa-container iframe { height: 450px; }
@media (min-width: 901px) { .contacto-form-col { padding-top: 98px; } }
@media (max-width: 900px) {
  #contacto .visita-inner { grid-template-columns: 1fr; gap: 40px; }
  .contacto-mapa { margin-top: 48px; }
  .contacto-mapa .mapa-container, .contacto-mapa .mapa-container iframe { height: 340px; }
}

/* Productos: cabecera con la foto nítida, como en Inicio */
.page-hero.hero-nitido {
  min-height: clamp(520px, 70vh, 700px);
  background-image: url('../../imagenes/productos-sabores-del-guijo.jpg');
  background-image: image-set(url('../../imagenes/productos-sabores-del-guijo.webp') type('image/webp'), url('../../imagenes/productos-sabores-del-guijo.jpg') type('image/jpeg'));
  background-size: cover; background-position: center;
}
.page-hero.hero-nitido .hero-content { max-width: 640px; padding: 36px 44px; }
/* Productos: barra de tipos en blanco para que se distinga del menú */
.productos-nav { background: var(--blanco); box-shadow: 0 6px 18px rgba(62,39,35,.06); }
/* Productos: fotos sin marco, el fondo blanco se funde con el crema de la página */
.producto-img img { background: transparent; box-shadow: none; border-radius: 0; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 600px) { .page-hero.hero-nitido .hero-content { padding: 28px 22px; } }
/* Panel a la derecha para que se vean los tarros (están a la izquierda de la foto) */
@media (min-width: 1000px) {
  .page-hero.hero-nitido { justify-content: flex-end; padding-right: 7vw; background-position: 30% center; }
  .page-hero.hero-nitido .hero-content { max-width: 560px; }
}
/* El fundido tiene que ir en el contenedor animado (la animación aísla a sus hijos) */
.producto-img { mix-blend-mode: multiply; }
/* Inicio: preguntas frecuentes en formato discreto (se mantienen por SEO, cliente 2026-11-03) */
#faq.faq-discreta { background: var(--crema); padding-top: 10px; padding-bottom: 70px; border-top: 1px solid var(--crema-dark); }
#faq.faq-discreta .section-head { margin-bottom: 18px; padding-top: 50px; }
#faq.faq-discreta .section-label { display: none; }
#faq.faq-discreta .section-title { font-size: 1.35rem; margin-bottom: 0; }
#faq.faq-discreta .faq-container { max-width: 760px; }
#faq.faq-discreta .faq-question { font-family: 'Crimson Pro', serif; font-size: 1rem; font-weight: 600; padding: 12px 0; color: var(--madera-light); }
#faq.faq-discreta .faq-answer-content { font-size: .92rem; padding-bottom: 14px; }
#faq.faq-discreta .faq-icon { width: 16px; height: 16px; }
/* Empresa: el carrusel ocupa la misma altura que el texto de "Bienvenidos" */
@media (min-width: 901px) {
  #empresa .historia-inner { align-items: stretch; }
  #empresa .carrusel { aspect-ratio: auto; height: 100%; min-height: 420px; }
}

/* Productos: barra pegada justo bajo el menú (altura real medida por JS → sin hueco) */
.productos-nav { top: var(--nav-h, 64px); }
@media (max-width: 900px) { .productos-nav { top: var(--nav-h, 60px); } }
.producto-bloque { scroll-margin-top: calc(var(--nav-h, 64px) + var(--bar-h, 60px) + 12px); }
/* Indicador animado de la sección en la que estás */
.productos-nav { position: sticky; }
.productos-nav .filter-btn { position: relative; z-index: 1; transition: color .35s ease, border-color .35s ease, background-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .productos-nav .filter-btn:not(.active):hover { background: var(--terracota-xlight); border-color: var(--terracota-light); color: var(--terracota-dark); }
}
/* En pantallas táctiles no hay "ratón encima": el botón tocado no se queda coloreado */
@media (hover: none), (pointer: coarse) {
  .productos-nav .filter-btn:not(.active):hover, .productos-nav .filter-btn:not(.active):focus { background: transparent; border-color: var(--crema-dark); color: var(--madera-light); }
}
.productos-nav .filter-btn:focus:not(:focus-visible) { outline: none; }
.productos-nav .filter-btn.active, .productos-nav .filter-btn.active:hover { background: transparent; border-color: transparent; color: var(--blanco); }
.productos-nav .nav-indicador {
  position: absolute; z-index: 0; left: 0; top: 0; height: 0; width: 0; border-radius: 50px;
  background: var(--terracota); box-shadow: 0 4px 14px rgba(88,110,67,.35); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.4,0,.2,1), width .45s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.productos-nav .nav-indicador.visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .productos-nav .nav-indicador { transition: none; } }
/* Sin barra de desplazamiento horizontal visible en la fila de tipos (se desliza igual con el dedo/ratón) */
.productos-nav { scrollbar-width: none; -ms-overflow-style: none; }
.productos-nav::-webkit-scrollbar { display: none; height: 0; }

/* ═══════════════════════════════════════════════
   REVISIÓN ESTÉTICA 2026-11-03 (bloques A–D)
═══════════════════════════════════════════════ */
/* A1 · Fuera los restos rosados de la paleta antigua */
.badge-terracota { background: var(--blanco); color: var(--madera-light); border: 1px solid var(--crema-dark); }
.badge-oro { background: var(--crema-dark); color: var(--madera-light); border: 1px solid #E2D7C2; }
.info-icon { background: var(--terracota-xlight); color: var(--terracota-dark); }
.btn-nav:hover, .btn-primary:hover { box-shadow: 0 8px 25px rgba(88,110,67,.30); }
/* A2 · Un solo verde para todos los botones */
.btn-secondary { color: var(--terracota-dark); border-color: var(--terracota); }
.btn-secondary:hover { background: var(--terracota); border-color: var(--terracota); color: var(--blanco); box-shadow: 0 8px 25px rgba(88,110,67,.30); }
.btn-llegar { background: var(--terracota); }
.btn-llegar:hover { background: var(--terracota-dark); box-shadow: 0 8px 25px rgba(88,110,67,.30); }
.social-btn-icon:hover { background: var(--terracota-dark); border-color: var(--terracota-dark); }

/* B3/B4 · Fotos de producto: todas en el mismo lienzo (imagenes/p/), enteras y centradas */
.producto-img img { aspect-ratio: 4/3; object-fit: contain; width: 100%; height: auto; }
.cat-card-img { padding: 10px 14px 0; }
/* B6 · Foto "Productos artesanos": que no se corten los tarros de la izquierda */
#nosotros .historia-img img { object-position: 18% center; }
/* B5 · Cabecera de Productos en móvil: recuadro abajo y más compacto para que se vean los tarros */
@media (max-width: 999px) {
  .page-hero.hero-nitido { align-items: flex-end; background-position: 24% center; min-height: 600px; padding-bottom: 28px; }
  .page-hero.hero-nitido .hero-content { padding: 22px 22px; }
  .page-hero.hero-nitido .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 8px; }
  .page-hero.hero-nitido .hero-eyebrow { margin-bottom: 10px; }
}

/* C7 · Empresa: sin la franja vacía entre las tarjetas y el horario */
#valores { padding-bottom: 40px; }
#horario { padding-top: 40px; }
/* C8 · Productos: sin hueco tras el último producto */
.productos-lista { padding-bottom: 30px; }
/* C9 · Tarjetas de valores centradas, igual que "¿Cómo lo hacemos?" */
.valor-card { text-align: center; }
.valor-card .proceso-icon { display: flex; justify-content: center; }
.valor-card .proceso-line { margin-left: auto; margin-right: auto; }
/* C10 · Móvil: menos scroll y cabecera de Inicio más ligera */
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card-img { padding: 6px 6px 0; }
  .cat-card-body { padding: 10px 10px 16px; }
  .cat-card h3 { font-size: .95rem; margin-bottom: 10px; }
  .cat-card-more { font-size: .72rem; padding: 5px 12px; letter-spacing: .05em; }
  #diferencia .proceso-card, #valores .proceso-card { padding: 24px 22px; }
  #inicio { min-height: 560px; padding: 96px 16px 32px; }
  #inicio .hero-content { padding: 22px 18px; }
  #inicio .hero-title { font-size: 2rem; margin-bottom: 10px; }
  #inicio .hero-subtitle { font-size: 1rem; margin-bottom: 18px; }
  #inicio .hero-btns { flex-direction: row; justify-content: center; gap: 10px; }
  #inicio .hero-btns a { padding: 11px 18px; font-size: .78rem; }
}
/* C11 · Mapa (antes de aceptar): más discreto, sin sombra pesada */
.contacto-mapa .mapa-container { height: 340px; box-shadow: none; border: 1px solid var(--crema-dark); background: linear-gradient(145deg, #EFE8DA, #E6DCC8); }
.contacto-mapa .mapa-container iframe { height: 340px; }
.mapa-consent { justify-content: center; padding: 32px; }
/* C12 · Sin palabras sueltas en las líneas pequeñas de las cabeceras */
.hero-eyebrow, .hero-subtitle, .section-intro { text-wrap: balance; }
@media (max-width: 600px) {
  .hero-eyebrow { letter-spacing: .12em; font-size: .72rem; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
}

/* D13 · Pie: el mismo logo que arriba, en blanco */
.footer-logo img { display: block; height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
/* D14 · Icono de X relleno */
.social-btn-icon svg.icon-x { fill: #FFFFFF; stroke: none; width: 18px; height: 18px; }
.footer-logo img { filter: none; opacity: 1; }
.mapa-consent .btn-enviar svg { color: var(--blanco); }
/* Logo del pie con su proporción real (el contenedor flex lo estiraba a lo ancho) */
.footer-logo { align-items: flex-start; }
.footer-logo img { width: auto; max-width: 100%; height: 46px; align-self: flex-start; object-fit: contain; }
