/* ============================================================
   Alimenta tu Futuro — Hoja de Estilos de Alta Fidelidad
============================================================ */

/* --- @FONT-FACE ---
   Declaramos la fuente de títulos manualmente en vez de depender
   solo del <link> de Google Fonts. font-display: swap evita texto
   invisible mientras la fuente carga (se ve con la fuente del
   sistema y luego "salta" a Archivo Black). */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/archivoblack/v23/HTxqL289NzCGg4MzN6KJ7eW6CYyF_jzx13E.woff2') format('woff2');
}

:root {
  --dark-bg: #0c0e11;       /* Fondo oscuro de la aplicación */
  --card-bg: #15191e;       /* Fondo interno de las tarjetas (Oscuro) */
  --neon-green: #CCFF00;    /* Verde limón / Amarillo fosforescente */
  --text-main: #FFFFFF;     /* Texto principal */
  --text-muted: #9CA3AF;    /* Texto secundario gris */
  --font-base: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.5;
}

/* --- TOP BAR --- */
.top-bar {
  background-color: #060709;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  padding: 8px 64px;
  font-size: 0.8rem;
  font-weight: 600;
}
.top-bar-right {
  display: flex;
  gap: 15px;
}
.top-bar-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar-link:hover {
  color: var(--neon-green);
}

/* --- NAVBAR RE-DISEÑADO (FONDO BLANCO LIMPIO) --- */
.navbar-premium {
  background-color: #FFFFFF !important;
  padding: 14px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.logo-wrapper { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: 'Archivo Black', sans-serif;
  color: #111418;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}
.logo-icon-andino { position: relative; width: 20px; height: 20px; display: flex; }
.logo-icon-andino .leaf-left {
  width: 8px; height: 14px; background: #CCFF00;
  border-radius: 0 10px 0 10px; transform: rotate(-15deg);
}
.logo-icon-andino .leaf-right {
  width: 6px; height: 10px; background: #111418;
  border-radius: 10px 0 10px 0; transform: rotate(15deg); margin-top: 4px;
}

.nav-links a {
  color: #555555;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin: 0 16px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #111418;
  border-bottom: 2px solid #111418;
  padding-bottom: 4px;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.search-bar { position: relative; display: flex; align-items: center; }
.search-bar input {
  background-color: #f3f4f6;
  border: none;
  padding: 8px 12px 8px 32px;
  border-radius: 20px;
  color: #111418;
  font-size: 0.85rem;
  outline: none;
}
.search-icon-svg { position: absolute; left: 10px; color: #777; pointer-events: none; }
.user-profile-btn { background: none; border: none; color: #111418; cursor: pointer; display: flex; align-items: center; }
.btn-order {
  background-color: #2D8A3E;
  color: white;
  border-radius: 20px;
  padding: 9px 22px;
  font-weight: 700;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
}

/* --- SECCIÓN HERO PREMIUM --- */
.hero-premium-section {
  position: relative;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px;
  background-color: var(--dark-bg);
}

#hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(80px) brightness(0.2);
  z-index: 1;
  transform: scale(1.1);
  pointer-events: none;
  transition: background-image 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.hero-main-container {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: auto auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-left-content {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.badge-tag {
  background-color: var(--neon-green); color: #000;
  padding: 4px 14px; font-weight: 800; border-radius: 20px; font-size: 0.75rem;
  display: inline-block;
  letter-spacing: 0.5px;
}

.hero-title-impact {
  font-family: 'Archivo Black', sans-serif !important;
  font-size: 4.8rem;
  line-height: 0.92;
  letter-spacing: -2.5px;
  margin: 20px 0 10px;
  text-transform: uppercase;
  font-style: italic;
  color: #FFFFFF;
}
.text-neon { color: var(--neon-green); text-shadow: 0 0 24px rgba(204, 255, 0, 0.45); }
.hero-italic-phrase { font-style: italic; color: #888888; font-size: 1.1rem; margin-bottom: 20px; }
.hero-paragraph { color: #aaaaaa; max-width: 480px; font-size: 0.95rem; margin-bottom: 30px; line-height: 1.6; }

.hero-custom-pills { display: flex; gap: 16px; margin-bottom: 35px; list-style: none; padding: 0; }
.custom-pill {
  border: 1px solid rgba(204, 255, 0, 0.25);
  background: rgba(21, 25, 30, 0.7);
  padding: 8px 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.pill-title { color: var(--neon-green); font-size: 0.75rem; font-weight: 700; }
.pill-value { color: #ffffff; font-size: 0.85rem; font-weight: 800; }

.btn-neon-action {
  background-color: var(--neon-green); color: #000; padding: 14px 36px; text-decoration: none;
  border-radius: 30px; font-weight: 900; border: none; font-size: 0.9rem; margin-right: 15px; cursor: pointer;
  display: inline-block;
}
.btn-outline-action {
  background: transparent; border: 1px solid #444; color: #fff; text-decoration: none;
  padding: 14px 36px; border-radius: 30px; font-weight: 900; font-size: 0.9rem; cursor: pointer;
  display: inline-block;
}

.card-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.photo-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 32px;
  display: block;
  border: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.slide-changing {
  opacity: 0 !important;
  transform: scale(0.98);
}

.macro-floating-bar {
  position: absolute;
  bottom: 20px; left: 5%; width: 90%;
  background: radial-gradient(circle at 50% 0%, rgba(204, 255, 0, 0.06) 0%, transparent 70%), rgba(12, 14, 17, 0.85);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  justify-content: space-around;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 10;
}
.macro-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: 30%; }
.macro-list { display: flex; justify-content: space-around; width: 100%; list-style: none; margin: 0; padding: 0; }
.macro-item svg { filter: drop-shadow(0px 0px 4px rgba(204, 255, 0, 0.4)); margin-bottom: 5px; }
.macro-label { font-size: 0.6rem; color: #888888; font-weight: 700; letter-spacing: 0.5px; }
.macro-qty { font-size: 0.85rem; color: #ffffff; font-weight: 800; }

.slider-dots-center {
  position: relative; z-index: 20; display: flex;
  justify-content: center; align-items: center; gap: 12px; margin-top: auto;
  padding-top: 20px;
}
.slider-dot { width: 6px; height: 6px; background: #444444; border-radius: 50%; cursor: pointer; transition: all 0.25s ease; }
.slider-dot.active { background: var(--neon-green); width: 20px; border-radius: 4px; }
.arrow-nav { color: #888; font-size: 1.5rem; cursor: pointer; user-select: none; transition: color 0.2s; }
.arrow-nav:hover { color: var(--neon-green); }

/* --- SECCIÓN DE PRODUCTOS DESTACADOS --- */
.productos-section { 
  background-color: #F9FAFB; 
  padding: 80px 0;
  width: 100%;
}

.productos-container-wrapper {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 15px;
}

.productos-header-slider {
  display: flex; 
  justify-content: space-between; 
  align-items: flex-end; 
  margin-bottom: 25px; 
  width: 100%;
}
.productos-header-slider .top-tag {
  color: #1F2937; 
  font-size: 0.8rem; 
  font-weight: 800; 
  display: block; 
  margin-bottom: 4px;
}
.productos-header-slider h2 {
  font-size: 2.2rem; 
  font-family: 'Archivo Black', sans-serif; 
  font-style: italic; 
  color: #111418; 
  margin: 0; 
  text-transform: uppercase;
}

.productos-arrow-wrapper {
  display: flex; 
  gap: 10px; 
  margin-bottom: 5px;
}

.boton-flecha-personalizado {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #E5E7EB;
  background-color: #FFFFFF;
  color: #1F2937;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.boton-flecha-personalizado:hover {
  background-color: #111418;
  border-color: #111418;
  color: #FFFFFF;
}

.categories-filter { display: flex; gap: 10px; margin: 28px 0; }
.filter-btn { 
  background-color: #E5E7EB; 
  border: none; 
  color: #4B5563; 
  padding: 8px 22px; 
  border-radius: 20px; 
  font-weight: 700; 
  cursor: pointer; 
  font-size: 0.85rem; 
  transition: all 0.2s;
}
.filter-btn:hover { background-color: #D1D5DB; }
.filter-btn.active { 
  background-color: #2D8A3E;
  color: #FFFFFF; 
}

.productos-slider-viewport { width: 100%; overflow: hidden; padding: 10px 0 25px; }
.productos-grid-track { display: flex; gap: 24px; transition: transform 0.4s ease-in-out; width: max-content; }

.productos-grid-track .product-card { 
  width: 214px; 
  flex-shrink: 0;
  background-color: #FFFFFF; 
  border-radius: 20px; 
  overflow: hidden; 
  border: 1px solid #F3F4F6; 
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.productos-grid-track .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-container { position: relative; height: 190px; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; }

.badge { 
  position: absolute; 
  top: 12px; 
  left: 12px; 
  background-color: #111418; 
  color: var(--neon-green); 
  font-size: 0.65rem; 
  font-weight: 800; 
  padding: 4px 8px; 
  border-radius: 4px; 
  text-transform: uppercase; 
}

.card-info { padding: 18px; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: #6B7280; margin-bottom: 8px; }
.card-info h3 { font-size: 1.1rem; margin-bottom: 14px; font-weight: 700; color: #111418; }
.card-footer { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.2rem; font-weight: 800; color: #111418; }

.btn-add { 
  background-color: #2D8A3E; 
  color: #FFFFFF;
  border: none; 
  width: 34px; 
  height: 34px; 
  border-radius: 50%; 
  font-size: 1.1rem; 
  font-weight: 700; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: background 0.2s, transform 0.2s;
}
.btn-add:hover {
  background-color: #246F31; 
  transform: scale(1.05);
}

/* --- TRÍADA SAGRADA --- */
.triada-section { 
  background-color: #131e15 !important; 
  padding: 90px 48px; 
  border-top: 1px solid #1a291d; 
}
.triada-header { text-align: center; margin-bottom: 55px; }
.triada-header .sub { 
  color: #CCFF00; 
  font-size: 0.82rem; 
  font-weight: 800; 
  letter-spacing: 1px;
  text-transform: uppercase; 
}
.impact-title-milenaria {
  font-family: 'Archivo Black', sans-serif !important;
  font-size: 2.8rem;
  font-style: italic;
  line-height: 1.1;
  margin-top: 10px;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: -1px;
}
.highlight-neon { color: #CCFF00; text-shadow: 0 0 20px rgba(204, 255, 0, 0.4); }
.triada-grid { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 30px; 
}
.triada-card { 
  background-color: #19221b; 
  padding: 35px 28px; 
  border-radius: 18px; 
  border: 1px solid #233026; 
  position: relative; 
  overflow: hidden; 
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; 
}
.triada-card:hover {
  transform: translateY(-8px); 
  border-color: #CCFF00;
  box-shadow: 0 12px 30px rgba(204, 255, 0, 0.08); 
}
.triada-card:hover .emoji-icon {
  transform: scale(1.15) rotate(-5deg);
  display: inline-block;
  transition: transform 0.2s ease;
}
.wireframe-icon-holder { 
  width: 100%; 
  display: flex; 
  align-items: center; 
  justify-content: flex-start; 
  margin-bottom: 22px; 
  position: relative;
}
.emoji-icon { font-size: 42px; line-height: 1; display: inline-block; }
.card-corner-shadow {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.10) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
}
.card-title-italic {
  font-family: 'Archivo Black', sans-serif !important;
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  margin: 0;
  color: #FFFFFF;
}
.triada-card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.badge-rounded-sub { 
  border: 1px solid #38493d; 
  background: rgba(204, 255, 0, 0.05); 
  color: #CCFF00; 
  font-size: 0.72rem; 
  padding: 4px 12px; 
  border-radius: 14px; 
  font-weight: 700; 
}
.progress-container { margin: 18px 0; }
.progress-text { 
  font-size: 0.75rem; 
  color: #CCFF00; 
  display: block; 
  margin-bottom: 8px; 
  font-weight: 800; 
  letter-spacing: 0.5px; 
}
.progress-bar { background: #253329; height: 6px; border-radius: 4px; overflow: hidden; display: block; }
.bar-fill { background: #CCFF00; height: 100%; border-radius: 4px; display: block; }
.triada-card p { color: #9CA3AF; font-size: 0.9rem; line-height: 1.6; }

/* --- SECCIÓN MISIÓN Y BENEFICIOS EN FONDO BLANCO --- */
.mision-outer-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.mision-banner-dark {
  background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)), url('../img/fondo-cocina.png');
  background-size: cover;
  background-position: center;
  padding: 110px 48px;
  width: 100%;
}
.mision-container { max-width: 550px; margin: 0 auto 0 8%; }
.mision-tag { color: var(--neon-green); font-size: 0.85rem; font-weight: 800; letter-spacing: 1px; }
.mision-banner-dark h2 { font-family: 'Archivo Black', sans-serif; font-style: italic; font-size: 3.4rem; line-height: 1.05; margin: 12px 0 20px; text-transform: uppercase; color: #fff; }
.mision-banner-dark h2 span { color: var(--neon-green); }
.mision-banner-dark p { color: #D1D5DB; margin-bottom: 38px; font-size: 0.95rem; line-height: 1.6; }
.btn-mision { background-color: var(--neon-green); color: #000; border: none; padding: 14px 38px; border-radius: 30px; font-weight: 800; cursor: pointer; font-size: 0.85rem; }

.mision-cards-white-bg {
  background-color: #FFFFFF;
  padding: 60px 48px 90px;
  width: 100%;
}
.mision-cards-white-bg .mision-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.mision-cards-white-bg .mision-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}
.mision-cards-white-bg .mision-card:hover {
  transform: translateY(-3px);
}

.mision-card-icon-container {
  width: 48px;
  height: 48px;
  background-color: #F4FBF7; 
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid #EAF6EE;
}
.mision-card-icon-container .logo-icon-andino .leaf-left { background: #2D8A3E; }
.mision-card-icon-container .logo-icon-andino .leaf-right { background: #111418; }

.mision-cards-white-bg .mision-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; color: #111418; }
.mision-cards-white-bg .mision-card p { color: #4B5563; font-size: 0.9rem; line-height: 1.6; }

/* --- COMUNIDAD --- */
.comunidad-section { text-align: center; padding: 90px 48px; background: #0c0e11; }
.comunidad-tag { color: var(--neon-green); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.5px; }
.comunidad-section h2 { margin: 14px 0 10px; font-size: 2.2rem; font-family: 'Archivo Black', sans-serif; font-style: italic; line-height: 1.2; text-transform: uppercase; color: #fff; }
.comunidad-section p { color: var(--text-muted); margin-bottom: 35px; font-size: 0.95rem; }

.social-buttons { display: flex; justify-content: center; gap: 16px; }
.social-btn { background: transparent; color: var(--neon-green); padding: 12px 28px; border-radius: 24px; font-weight: 800; text-decoration: none; font-size: 0.85rem; border: 2px solid #232913; transition: all 0.2s ease; }
.social-btn:hover { background-color: var(--neon-green); color: #000; border-color: var(--neon-green); box-shadow: 0 0 15px rgba(204, 255, 0, 0.4); }

/* --- FOOTER --- */
body > footer { background-color: #06080a; padding: 70px 64px 30px; border-top: 1px solid #15191e; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-logo-override { margin-bottom: 15px; }
.footer-logo-override .logo-text { color: #FFFFFF !important; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }
.footer-links h4 { font-size: 0.9rem; margin-bottom: 18px; font-weight: 800; letter-spacing: 0.5px; color: #fff; text-transform: uppercase; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--neon-green); }
.footer-hr { max-width: 1200px; margin: 50px auto 0; border: none; border-top: 1px solid #15191e; }
.footer-bottom { text-align: center; padding-top: 24px; font-size: 0.8rem; color: var(--text-muted); display: flex; justify-content: space-between; max-width: 1200px; margin-left: auto; margin-right: auto; } 
.footer-credits { display: flex; align-items: center; justify-content: flex-end; gap: 6px !important; }
.footer-heart { display: inline-flex; align-items: center; font-size: 1.1rem; transform: translateY(1px); transition: transform 0.2s ease; cursor: default; }
.footer-heart:hover { transform: scale(1.3) translateY(0px); }


/* ==========================================================================
   REAJUSTE RESPONSIVE GLOBAL TOTALMENTE CORREGIDO (CLASES REALES)
   ========================================================================== */

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {

  /* --- 1. EFECTO ZOOM OUT GENERAL PARA SECCIONES --- */
  .top-bar {
    padding: 8px 16px !important;
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .top-bar-right { justify-content: center; }

  .hero-premium-section, .productos-section, .triada-section, .mision-banner-dark, .mision-cards-white-bg, .comunidad-section, body > footer {
    padding: 40px 16px !important;
  }

  /* Escalado fluido en tipografías gigantes */
  .hero-title-impact {
    font-size: 2.5rem !important; 
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
  }
  .impact-title-milenaria, .mision-banner-dark h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  /* --- 2. REPARACIÓN DE LA CABECERA (DESAPLASTADA) --- */
  .navbar-premium {
    padding: 12px 16px !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: relative !important;
  }
  .logo-wrapper { width: 100%; justify-content: center; }
  
  .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .nav-links a {
    margin: 0 6px !important;
    font-size: 0.8rem !important;
  }
  .nav-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .search-bar { flex-grow: 1; }
  .search-bar input { width: 100% !important; }

  /* --- 3. HERO Y ESCALADO DE LA CHICA --- */
  .hero-main-container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  .hero-paragraph {
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-custom-pills {
    justify-content: center;
    flex-wrap: wrap;
  }
  .custom-pill {
    height: auto !important; /* Libera la caja rígida para evitar cortes */
    width: 45%;
    min-width: 130px;
  }

  /* Foto de la chica: escalado elástico sin recortes visuales */
  .card-photo-wrapper {
    max-width: 320px !important;
  }
  .photo-main {
    height: 340px !important; /* Zoom out proporcional */
    border-radius: 24px;
  }
  .macro-floating-bar {
    padding: 10px !important;
    bottom: 10px !important;
  }
  .macro-qty { font-size: 0.75rem !important; }

  /* --- 4. SOLUCIÓN COMPLETA PARA EL CARRUSEL DE PRODUCTOS --- */
  /* NO apilar en vertical. Mantener el track horizontal exacto que exige tu archivo JS */
  .productos-slider-viewport {
    overflow: hidden !important; 
    width: 100% !important;
  }
  .productos-grid-track {
    display: flex !important; /* Deja que el JS mueva la tira horizontal limpia */
    gap: 16px !important;
  }
  /* Forzar a la tarjeta a medir exactamente lo esperado en tus cálculos de JS */
  .productos-grid-track .product-card {
    width: 238px !important; /* Coincide al 100% con tu cardWidth de JavaScript */
    flex-shrink: 0 !important;
  }
  .productos-header-slider {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px;
  }
  .categories-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    width: 100%;
  }
  .filter-btn { padding: 6px 16px !important; flex-shrink: 0; }

  /* --- 5. CONTENEDORES ELÁSTICOS CONTRA TEXTOS ENTRECORTADOS --- */
  .triada-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .triada-card {
    padding: 24px !important;
    height: auto !important; /* Cajas elásticas de crecimiento natural */
  }

  .mision-container {
    max-width: 100% !important;
    margin: 0 !important;
    text-align: center;
  }
  .mision-cards-white-bg .mision-cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px;
  }
  .footer-logo-override { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .footer-credits { justify-content: center; }

.social-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 12px !important;
    width: 100% !important;
    max-width: 320px !important; 
    margin: 0 auto !important;
  }

  .social-btn {
    padding: 11px 16px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    white-space: nowrap !important;
    width: 100% !important;
  }

  .social-buttons .social-btn:nth-child(3) {
    grid-column: span 2 !important;
    max-width: 154px !important; 
    margin: 0 auto !important; 
  }
}