/* 
  SISTEMA DE DISEÑO CLUB NATURA PREMIUM
  REVISIÓN OFICIAL 2026
*/

:root {
  /* Colors - New Corporate Palette: Emerald & Gold */
  --color-background: #f8faf9;
  --color-surface: #ffffff;
  --color-surface-soft: #f0f4f2;
  --color-surface-strong: #0a4d3c; /* Verde Esmeralda Profundo */
  --color-surface-deep: #0b3a2e; /* Nuevo Verde Corporativo (Fondo Formulario/Footer/Header) */

  --color-primary: #0a4d3c; 
  --color-primary-hover: #073b2e;
  --color-secondary: #c5a059; 
  --color-accent: #b08d44; 
  --color-accent-soft: rgba(197, 160, 89, 0.1);

  --color-foreground: #06261d; /* Unified with corporate green */
  --color-text-soft: #3d524e;
  --color-muted: #6b7a77;
  --color-white: #ffffff;
  --color-border: rgba(10, 77, 60, 0.12);

  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --section-padding-desktop: 45px; /* Reducido de 50px */
  --section-padding-mobile: 20px; /* Reducido de 25px */
  --container-width: 1320px;
  --container-padding: 24px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: all 0.2s ease;

  /* Shadow & Radius */
  --shadow-premium: 0 10px 30px rgba(10, 53, 61, 0.05);
  --radius-m: 12px;
  --radius-l: 24px;
}

/* Desktop Spacing Adjustment (>= 1024px) */
@media (min-width: 1024px) {
  :root {
    --section-padding-desktop: 50px; /* Reducido de 60px para compactar */
  }
}

.hero-editorial.hero-internal {
  min-height: auto;
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-editorial.hero-internal .editorial-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: auto;
  position: relative;
  opacity: 1;
  visibility: visible;
  max-width: 900px;
  margin: 0 auto;
}

.hero-editorial.hero-internal .hero-content {
  padding-right: 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-editorial.hero-internal .hero-visual {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

@media (max-width: 991px) {
  .hero-editorial.hero-internal {
    padding-top: 120px;
    padding-bottom: 40px;
  }
  .hero-editorial.hero-internal .hero-visual {
    height: 300px;
  }
}

/* Mobile Fix for Nosotros Hero */
@media (max-width: 768px) {
  .hero-editorial.hero-internal {
    min-height: 250px !important; /* Altura suficiente para el centrado vertical */
    padding-top: 80px !important; /* Espacio para el header fijo */
    padding-bottom: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
  }
  
  .hero-editorial.hero-internal .editorial-slide {
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 !important;
  }
  
  .hero-editorial.hero-internal .hero-content {
    align-items: flex-start !important;
    margin-bottom: 20px !important;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
  
  .hero-editorial.hero-internal .hero-visual {
    height: 180px !important;
    width: calc(100% - (var(--container-padding) * 2)) !important;
    margin-left: var(--container-padding) !important;
    margin-right: var(--container-padding) !important;
  }
  
  .text-center .eyebrow {
    justify-content: flex-start !important;
  }
}

/* Legal Form Block */
.form-group--legal {
  margin-top: 25px;
  margin-bottom: 15px;
  text-align: left;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-foreground);
  margin-bottom: 12px;
  font-weight: 500;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.form-checkbox a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.form-legal-info {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-muted);
  margin-top: 10px;
  padding: 12px;
  background-color: rgba(0,0,0,0.03);
  border-radius: 8px;
  border-left: 3px solid var(--color-secondary);
}

.form-legal-info a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 767px) {
  .form-checkbox {
    font-size: 0.8rem;
  }
  .form-legal-info {
    font-size: 0.7rem;
  }
}

.hero-editorial.hero-internal .hero-content p {
  color: var(--color-white);
  opacity: 0.9;
}

.nav-link.active {
  color: var(--color-secondary);
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Layout System */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-padding-desktop);
  padding-bottom: var(--section-padding-desktop);
  position: relative;
}

@media (max-width: 991px) {
  .section {
    padding-top: var(--section-padding-mobile);
    padding-bottom: var(--section-padding-mobile);
  }
}

@media (max-width: 767px) {
  .section-essencia {
    padding-top: 5px !important; /* Reducido al mínimo para pegar a la navegación del Hero */
  }
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }

@media (max-width: 1300px) {
  .grid-5 { gap: 10px; } /* Ajuste de gap para pantallas medianas */
}

@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 991px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-foreground);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }

p { margin-bottom: 16px; color: var(--color-text-soft); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

/* Forzar centrado cuando el contenedor es text-center */
.text-center .eyebrow {
  justify-content: center;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
}

@media (max-width: 767px) {
  h1 { font-size: 1.8rem !important; margin-bottom: 12px !important; }
  h2 { font-size: 1.5rem !important; margin-bottom: 10px !important; }
  h3 { font-size: 1.2rem !important; margin-bottom: 8px !important; }
  p { font-size: 0.875rem !important; margin-bottom: 10px !important; }
  
  .eyebrow { 
    justify-content: center; 
    text-align: center;
    width: 100%;
    font-size: 0.7rem !important;
    margin-bottom: 8px !important;
  }
  .eyebrow::before {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hero-editorial .btn {
    width: fit-content;
    min-width: 160px; /* Reducido de 180px */
    padding: 10px 20px; /* Reducido para que no sea tan invasivo */
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-m);
  padding: 30px;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0; /* Reduced from 24px */
  background-color: transparent;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-surface-deep) !important; /* Unified Deep Green */
  padding: 8px 32px; /* Reduced from 12px 40px */
  border-radius: 100px;
  border: 1px solid var(--color-secondary);
  box-shadow: none;
  transition: var(--transition-smooth);
}

@media (max-width: 767px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
  }

  body {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

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

  img, video, canvas, svg {
    max-width: 100%;
    height: auto;
  }

  .section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Header Optimization */
  header {
    padding: 10px 0;
  }

  .header-container {
    padding: 6px 16px;
    border-radius: 50px;
    margin: 0 12px;
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo span {
    font-size: 0.95rem !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    order: 2;
  }

  /* CTA Optimization */
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    min-height: 44px;
    width: auto;
    max-width: 100%;
  }

  /* Components Fixes */
  .hero-editorial {
    padding-top: 80px;
    min-height: auto;
    overflow: hidden;
  }

  .editorial-slide p {
    padding: 0 20px;
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .editorial-slide .flex-center {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center !important;
    gap: 8px;
    width: 100%;
    padding: 0 10px;
  }

  .editorial-slide .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.75rem;
    min-width: 0;
    white-space: nowrap;
  }

  /* Agua Chips Fix */
  .hover-slider__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 15px;
  }

  .text-stagger-trigger {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  /* Grids & Cards */
  .grid-5 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-card {
    height: 200px;
    border-radius: 20px;
    padding: 20px;
  }

  .category-card h3 {
    font-size: 1.15rem;
  }
}

header.scrolled .header-container {
  background-color: var(--color-surface-deep) !important;
  padding: 8px 32px;
}

@media (max-width: 767px) {
  header.scrolled .header-container {
    padding: 6px 20px;
  }
}

.logo span {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-white) !important;
}

.logo span span {
  color: var(--color-secondary) !important;
}

@media (max-width: 767px) {
  .logo span {
    font-size: 1rem !important;
  }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link.has-megamenu {
  padding-right: 18px;
}

.nav-link.has-megamenu::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--color-secondary);
}

/* Cuando has-megamenu y active coinciden: la flecha ▾ gana, sin barra */
.nav-link.has-megamenu.active::after {
  content: "▾";
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  background-color: transparent;
  border-radius: 0;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* Megamenu */
.nav-item-has-mega { position: relative; }

.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%) translateY(0);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-premium);
  border-top: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  transition-delay: 0.18s; /* delay al cerrar para tolerar movimiento del cursor */
  padding: 40px 0;
  z-index: 100;
  overflow-x: hidden;
}

/* Hover en cualquier parte del contenedor (trigger + megamenu) lo mantiene abierto.
   Sin gap: el megamenu inicia pegado al trigger, así el cursor no se pierde al pasar. */
.nav-item-has-mega:hover .megamenu,
.megamenu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s; /* inmediato al abrir */
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.megamenu-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-m);
  transition: var(--transition-fast);
}

.megamenu-item:hover {
  background-color: var(--color-surface-soft);
}

.megamenu-item h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* FOOTER PREMIUM */
footer {
  background-color: var(--color-surface-deep) !important;
  color: var(--color-white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-col p {
  color: var(--color-white) !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--color-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-secondary);
  transform: translateX(5px);
}

.footer-links strong {
  color: var(--color-white);
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--color-white);
  font-size: 0.875rem;
}

.footer-bottom p {
  color: var(--color-white) !important;
}

.footer-legal a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-secondary);
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  body footer {
    padding: 15px 0 10px !important;
  }
  body .footer-top {
    margin-bottom: 10px !important;
    gap: 15px !important;
  }
  body .footer-col {
    margin-bottom: 10px !important;
  }
  body .footer-col p {
    margin-bottom: 8px !important;
    font-size: 0.85rem !important;
  }
  body .footer-col h4 {
    margin-bottom: 4px !important;
    font-size: 0.9rem !important;
  }
  body .footer-links li {
    margin-bottom: 2px !important;
  }
  body .footer-bottom {
    padding-top: 10px !important;
    margin-top: 10px !important;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 2000;
  width: 44px;
  height: 44px;
  display: none; /* Default hidden */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff !important; /* Force white for visibility on dark green */
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991px) {
  .mobile-menu-toggle { 
    display: flex; /* Show as flex on mobile */
  }
  
  .nav-main {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-surface);
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav-main .nav-link {
    color: var(--color-primary); /* Dark text for mobile menu on white background */
    font-size: 1.1rem;
  }

  .nav-main.active { right: 0; }

  .megamenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 20px 0;
    box-shadow: none;
    border-top: none;
  }

  .megamenu.active { display: block; }

  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

@media (max-width: 767px) {
  .mb-3 { margin-bottom: 0.75rem !important; }
  .mb-4 { margin-bottom: 1rem !important; }
  .mb-5 { margin-bottom: 1.5rem !important; }
  .mt-3 { margin-top: 0.75rem !important; }
  .mt-4 { margin-top: 1rem !important; }
  .mt-5 { margin-top: 1.5rem !important; }
}

.bg-surface-soft { background-color: var(--color-surface-soft); }
.bg-surface-strong { background-color: var(--color-surface-strong); }
.bg-white { background-color: var(--color-white); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-column { display: flex; flex-direction: column; }

.intro-text {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .intro-text {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Hero Component Base (Existing) */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: var(--color-surface-soft);
  overflow: hidden;
  position: relative;
}

/* OPCIÓN A: HERO EDITORIAL PREMIUM CON SLIDER (DEFINITIVO) */
.hero-editorial {
  min-height: 95vh;
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  padding-top: 120px; /* Increased to give more room for the menu capsule */
}

@media (max-width: 767px) {
  .hero-editorial {
    padding-top: 60px; /* Reducido de 70px */
    min-height: auto;
  }
}

.editorial-slides {
  height: 100%;
  width: 100%;
}

.editorial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* HERO SLIDER BASE STYLES */
.editorial-nav {
  position: absolute;
  bottom: 60px;
  left: calc((100vw - var(--container-width)) / 2 + var(--container-padding));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 30px;
}

.editorial-dot {
  font-family: var(--font-family-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: var(--transition-fast);
  min-width: 120px;
}

.editorial-dot .dot-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-border);
  position: relative;
  overflow: hidden;
}

.editorial-dot .dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--color-primary);
}

.editorial-dot.active {
  color: var(--color-primary);
}

.editorial-dot.active .dot-progress {
  width: 100%;
  transition: width 6.5s linear;
}

@media (max-width: 991px) {
  .hero-editorial {
    padding-top: 80px;
    min-height: 520px !important; /* Fixed height to prevent layout shift during slide transitions */
    background-color: var(--color-white);
    overflow: visible; /* Changed from hidden to ensure nav is seen */
  }
  .editorial-slides {
    height: 480px; /* Consistent height for slides */
    position: relative;
    display: block;
    width: 100%;
    overflow: visible; /* Changed from hidden */
  }
  .editorial-slide {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: 480px; /* Fixed height to match container and prevent layout shifts */
    min-height: 480px;
    padding: 10px 0 20px 0; /* Reducido de 20/30 para compactar Hero en móvil */
    display: none; /* JS controlará la visibilidad */
    flex-direction: column;
    gap: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
  }
  .editorial-slide.active {
    display: flex;
  }
  .editorial-slide .hero-content {
    display: block;
    padding: 0 20px;
    order: 1;
    width: 100%;
    max-width: 100%;
    transform: none !important;
    box-sizing: border-box;
  }
  .editorial-slide .eyebrow { 
    margin-top: 0;
    margin-bottom: 6px; /* Further reduced from 8px */
    justify-content: center; 
  }
  .editorial-slide h1 { 
    margin-bottom: 10px; /* Further reduced from 12px */
    font-size: 1.8rem; 
    line-height: 1.2;
    text-align: center;
    max-width: 100%;
  }
  .editorial-slide p { 
    margin-bottom: 15px; /* Further reduced from 20px */
    font-size: 0.85rem; /* Reduced from 0.9rem to match section small texts */
    line-height: 1.4;
    text-align: center;
    max-width: 100% !important;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .editorial-slide .flex-center { 
    margin-bottom: 20px; /* Further reduced from 25px */
    justify-content: center !important; 
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex; 
    align-items: center;
  }
  .editorial-slide .hero-visual { 
    order: 2; 
    height: 180px; /* Reducido de 220px para compactar Hero */
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
  }
}

@media (max-width: 991px) {
  .editorial-nav {
    position: relative;
    z-index: 50;
    left: 0;
    transform: none;
    margin-top: 45px; /* Bajado más para que no tape las imágenes del hero */
    margin-bottom: 5px !important; /* Reducido drásticamente de 30px */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    justify-content: center !important; 
    padding: 0 20px;
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .editorial-dot {
    min-width: 80px;
    flex: 0 1 auto;
    align-items: center !important;
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .editorial-dot span {
    font-size: 0.75rem;
    color: var(--color-primary); /* Use a more visible color */
    white-space: nowrap;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 4px;
  }
  .editorial-dot .dot-line {
    background-color: rgba(0,0,0,0.15); /* Darker for mobile visibility */
    height: 3px;
  }
}

@media (max-width: 767px) {
  .editorial-nav {
    margin-top: 45px; /* Bajado más para que no tape las imágenes del hero */
    padding: 0 10px;
    gap: 10px;
  }
}

.editorial-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}

/* Fallback for first slide only if JS is not enabled */
body:not(.js-enabled) .editorial-slide:first-child {
  opacity: 1;
  visibility: visible;
}

.editorial-slide .hero-content {
  padding-left: calc((100vw - var(--container-width)) / 2 + var(--container-padding));
  padding-right: 60px;
  z-index: 2;
  position: relative;
  transform: translateY(30px);
  transition: transform 1.2s ease-out;
}

@media (max-width: 991px) {
  .editorial-slide .hero-content {
    display: contents; /* Reordered in the parent above */
  }
}

.editorial-slide h1 {
  font-size: clamp(2.5rem, 6vw, 5rem); /* Reduced slightly */
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .editorial-slide h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  .editorial-slide .eyebrow {
    margin-bottom: 12px;
  }
}

.editorial-slide .hero-visual {
  height: 100%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .editorial-slide .hero-visual {
    height: 40vh;
    min-height: 250px;
    order: 4;
    width: 100%;
    flex-shrink: 0;
  }
}

.editorial-slide .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.1);
  transition: transform 6s linear;
}

.editorial-slide.active .hero-visual img {
  transform: scale(1);
}

.hero-editorial .hero-visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-white) 0%, transparent 5%);
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-editorial .hero-visual::after {
    background: linear-gradient(to top, var(--color-white) 0%, transparent 15%);
  }
}

/* Category Cards Premium (New Style) */
.category-card {
  position: relative;
  height: 320px; /* Aumentado solo para escritorio para mejor presencia visual */
  border-radius: 32px; /* Adaptado al nuevo tamaño */
  overflow: hidden;
  background-color: var(--color-surface-strong);
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  text-decoration: none;
}

.category-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 26, 21, 0.9) 0%, rgba(5, 26, 21, 0.2) 50%, transparent 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.category-card-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
}

.category-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* Slightly smaller */
  height: 18px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-white);
}

.category-card h3 {
  color: var(--color-white);
  margin-bottom: 4px;
  font-size: 1.4rem; /* Tamaño premium para escritorio */
}

.category-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem; /* Reduced from 0.85rem */
  margin-bottom: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition-smooth);
}

/* Hover Effects Premium */
.category-card:hover {
  border-color: var(--color-secondary); /* Gold border */
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 77, 60, 0.3);
}

.category-card:hover .category-card-bg {
  transform: scale(1.1);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(10, 77, 60, 0.95) 0%, rgba(197, 160, 89, 0.3) 100%); /* Emerald to Gold glow */
}

.category-card:hover p {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .category-card { height: 160px; border-radius: 20px; padding: 15px; }
  .category-card h3 { font-size: 1.1rem !important; }
  .category-card p { display: none; } /* Ocultar texto secundario para compactar más */
}

/* SECCIÓN: TOP VENTAS (INFINITE SCROLL) */
.top-sales {
  background-color: var(--color-surface-deep);
  padding: var(--section-padding-desktop) 0;
  overflow: hidden;
  position: relative;
}

.top-sales__container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.top-sales__header {
  text-align: center;
  margin-bottom: 60px;
}

.top-sales__header h2 {
  color: var(--color-secondary);
}

.top-sales__header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.top-sales__scroll-mask {
  mask: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.top-sales__track {
  display: flex;
  gap: 32px; /* Aumentado ligeramente para separar las imágenes más grandes */
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.top-sales__track:hover {
  animation-play-state: paused;
}

.top-sales__item {
  flex-shrink: 0;
  width: 450px; /* Ancho mayor para formato horizontal */
  height: 300px; /* Altura menor para formato horizontal */
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.2);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  background-color: #fff;
}

.top-sales__item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cambiado a cover para que la imagen llene la caja horizontal perfectamente */
  transition: transform 0.5s ease;
}

.top-sales__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 58, 46, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 2;
}

.top-sales__overlay h3 {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: 16px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.btn-detail {
  padding: 10px 20px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(10px);
  transition: all 0.4s ease;
  text-decoration: none;
}

.top-sales__item:hover img {
  transform: scale(1.1);
}

.top-sales__item:hover .top-sales__overlay {
  opacity: 1;
  visibility: visible;
}

.top-sales__item:hover .top-sales__overlay h3,
.top-sales__item:hover .btn-detail {
  transform: translateY(0);
}

.top-sales__item:hover {
  border-color: var(--color-secondary);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-sales__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 60s linear infinite; /* Aumentado de 30s a 60s para ir más despacio */
}

.top-sales__item {
  flex-shrink: 0;
  width: 450px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.2);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  background-color: #fff;
}

.top-sales__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (max-width: 767px) {
  .top-sales__item {
    width: 280px !important;
    height: 180px !important;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  
  .top-sales__track {
    animation: scroll-left 40s linear infinite !important; /* Activar pase automático en móvil */
  }
}

@media (max-width: 991px) {
  .top-sales {
    padding: 25px 0 !important; /* Reducido de 40px para compactar */
  }
  .top-sales__header {
    margin-bottom: 20px !important; /* Reducido de 60px */
  }
  .top-sales__scroll-mask {
    mask: none !important;
    -webkit-mask: none !important;
    overflow-x: hidden; /* Cambiado de auto a hidden para que solo mande la animación */
    padding: 0 0 15px 0 !important; /* Reducido de 30px */
  }
  .top-sales__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 40s linear infinite !important; /* Forzar animación en móvil y tablets */
  }
  /* Ocultar dots si hay animación */
  .top-sales__dots {
    display: none !important;
  }
}

/* WhatsApp Contact Section */
.whatsapp-contact {
  background-color: var(--color-surface-soft); /* Changed to light per user request */
  color: var(--color-primary); /* Dark text on light background */
  padding: 40px 0; /* Reducido de var(--section-padding-desktop) */
  position: relative;
  overflow: hidden;
}

.whatsapp-contact::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 77, 60, 0.05) 0%, transparent 70%); /* Subtle emerald glow */
  border-radius: 50%;
  z-index: 1;
}

.whatsapp-contact .container {
  position: relative;
  z-index: 2;
}

.whatsapp-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.whatsapp-contact__content .eyebrow {
  color: var(--color-accent);
}

.whatsapp-contact__content h2 {
  color: var(--color-primary);
}

.whatsapp-contact__content p {
  color: var(--color-text-soft);
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 500px;
}

.whatsapp-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.whatsapp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.whatsapp-feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 4px;
}

.whatsapp-feature-text h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.whatsapp-feature-text p {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.whatsapp-form-card {
  background-color: var(--color-surface-deep); /* Keep card dark for contrast and premium look */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 32px;
  padding: 30px; /* Reducido de 48px */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.whatsapp-form {
  display: grid;
  gap: 16px; /* Reducido de 32px */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Reducido de 12px */
}

.form-group label {
  font-size: 0.7rem; /* Reducido de 0.75rem */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}

.form-input, .form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  width: 100%;
  cursor: pointer;
}

.form-select option {
  background-color: #ffffff;
  color: #333333;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5a059' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

.btn-whatsapp-submit {
  background-color: #25D366;
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  padding: 14px 24px; /* Reducido de 18px 30px */
  font-weight: 700;
  font-size: 0.9rem; /* Reducido de 1rem */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 5px; /* Reducido de 10px */
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-submit:hover {
  background-color: #21be5a;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-privacy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.whatsapp-privacy a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.whatsapp-alt-link {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition-fast);
  display: block;
}

.whatsapp-alt-link:hover {
  color: var(--color-secondary);
}

@media (max-width: 991px) {
  .whatsapp-contact__grid {
    grid-template-columns: 1fr;
    gap: 30px; /* Reducido de 60px */
  }
  .whatsapp-contact {
    text-align: center;
    padding: 25px 0; /* Compactado a 25px para móvil */
  }
  .whatsapp-contact__content p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px; /* Reducido para compactar */
  }
  .whatsapp-features {
    align-items: center;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px; /* Reducido para compactar */
  }
  .whatsapp-feature {
    gap: 12px; /* Reducido para compactar */
    margin-bottom: 5px;
  }
  .whatsapp-feature-text h4 {
    margin-bottom: 2px !important;
    font-size: 0.95rem !important;
  }
  .whatsapp-feature-text p {
    margin-bottom: 5px !important;
    font-size: 0.85rem !important;
  }
  .whatsapp-form-card {
    padding: 15px !important; /* Compactación extrema */
    border-radius: 20px;
  }
  .whatsapp-form {
    gap: 10px !important; /* Reducido de 15px */
  }
  .form-group {
    margin-bottom: 8px !important; /* Reducido de 12px */
  }
  .form-group label {
    margin-bottom: 2px !important;
    font-size: 0.65rem !important; /* Reducido de 0.8rem */
  }
  .form-input, .form-select {
    padding: 8px 12px !important; /* Reducido de 10px 14px */
    font-size: 0.85rem !important; /* Reducido de 0.9rem */
  }
  .form-group--legal {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
  .form-checkbox {
    font-size: 0.65rem !important; /* Texto legal checkbox muy pequeño */
    margin-bottom: 2px !important;
  }
  .form-checkbox input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
  }
  .form-legal-info {
    font-size: 0.55rem !important; /* Texto legal LOPD mínimo */
    padding: 0 !important;
    background: none !important;
    border: none !important;
    line-height: 1.2 !important;
    margin-top: 5px !important;
    color: rgba(255,255,255,0.4) !important;
  }
  .btn-whatsapp-submit {
    padding: 10px 20px !important; /* Reducido de 12px 20px */
    font-size: 0.85rem !important;
    margin-top: 5px !important;
  }
}

@media (max-width: 576px) {
  .whatsapp-form__row {
    grid-template-columns: 1fr;
  }
}

.bg-surface-deep { background-color: var(--color-surface-deep); }
.text-white { color: var(--color-white); }
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white p { color: var(--color-white); }

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-bubble__icon {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  position: relative;
}

.whatsapp-bubble__icon svg {
  width: 32px;
  height: 32px;
}

.whatsapp-bubble__tooltip {
  background-color: var(--color-white);
  color: var(--color-foreground);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
}

.whatsapp-bubble:hover .whatsapp-bubble__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .whatsapp-bubble {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-bubble__tooltip {
    display: none;
  }
  .whatsapp-bubble__icon {
    width: 50px;
    height: 50px;
  }
  .whatsapp-bubble__icon svg {
    width: 28px;
    height: 28px;
  }
}

.testimonials {
  padding: var(--section-padding-desktop) 0;
  background-color: var(--color-surface-soft);
  overflow: hidden;
}

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

.testimonials__nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.testimonials__dot--active {
  width: 40px;
  background-color: var(--color-primary);
  border-radius: 5px;
}

.testimonials__cards {
  position: relative;
  height: 420px;
  margin-right: 40px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.testimonial-card--active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.testimonial-card__rating {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: #fbbf24; /* Star Gold */
}

.testimonial-card__content {
  position: relative;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-card__quote-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  color: var(--color-accent-soft);
  opacity: 0.2;
  transform: rotate(180deg);
}

.testimonial-card__text {
  position: relative;
  z-index: 2;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-foreground);
  font-style: italic;
}

.testimonial-card__separator {
  height: 1px;
  background-color: var(--color-border);
  margin-bottom: 24px;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.testimonial-card__info h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-card__info p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.testimonials__decor {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: var(--color-accent-soft);
  border-radius: 24px;
  z-index: 0;
}

.testimonials__decor--top { top: -24px; right: -24px; }
.testimonials__decor--bottom { bottom: -24px; left: -24px; }

@media (max-width: 991px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 30px; /* Reducido de 60px */
    text-align: center;
  }
  .testimonials__nav { justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .testimonials__cards { margin-right: 0; height: 300px; } /* Reducido de 350px */
  .testimonial-card { padding: 20px; }
}

/* SECCIÓN: DESCANSO PREMIUM (SLIDER AVANZADO) */
.descanso-premium {
  background-color: var(--color-white);
  padding-top: 40px !important; /* Reducido para compactar */
  padding-bottom: 20px !important; /* Reducido para compactar */
}

.descanso-slider-wrapper {
  width: 100%;
  max-width: 800px; /* Reduced from 900px to make image smaller */
  margin: 0 auto;
}

@media (max-width: 767px) {
  .descanso-premium {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }
  .descanso-slider-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }
}

.descanso-slider {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.descanso-slider__container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: grab;
}

.descanso-slider__container:active {
  cursor: grabbing;
}

.descanso-slider__track {
  display: flex;
  will-change: transform;
}

.descanso-slider__item {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.descanso-slider__item img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* Buttons */
.descanso-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  opacity: 0.3;
}

.descanso-slider__btn:hover:not(:disabled) {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.descanso-slider__btn:disabled {
  opacity: 0.1;
  cursor: not-allowed;
}

.descanso-slider__btn--prev { left: 8px; }
.descanso-slider__btn--next { right: 8px; }

@media (max-width: 767px) {
  .descanso-slider__btn {
    width: 24px;
    height: 24px;
    opacity: 0.2;
  }
  .descanso-slider__btn svg {
    width: 16px;
    height: 16px;
  }
  .descanso-slider__btn--prev { left: 4px; }
  .descanso-slider__btn--next { right: 4px; }
  
  .descanso-slider__counter {
    bottom: 8px;
    font-size: 0.65rem;
    padding: 2px 8px;
    opacity: 0.3;
  }

  /* Ajuste para que la imagen se vea completa en móvil */
  .descanso-slider__item {
    height: auto;
  }
  .descanso-slider__item img {
    height: auto;
    object-fit: contain;
  }
}

/* Counter */
.descanso-slider__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 10;
}

/* Thumbnails */
.descanso-thumbs {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding-bottom: 8px;
}

.descanso-thumbs::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.descanso-thumbs__track {
  display: flex;
  gap: 2px; /* GAP_PX */
  height: 80px;
  width: fit-content;
}

.descanso-thumb {
  position: relative;  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease-out, margin 0.3s ease-out;
  width: 35px; /* COLLAPSED_WIDTH_PX */
}

.descanso-thumb--active {
  width: 120px; /* FULL_WIDTH_PX */
  margin-left: 2px; /* MARGIN_PX */
  margin-right: 2px; /* MARGIN_PX */
}

.descanso-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: var(--transition-smooth);
}

/* SECCIÓN: AGUA OPCIÓN 2 (HOVER SLIDER - STAGGERED TEXT) */
.agua-hover-premium {
  background-color: var(--color-surface-soft);
  padding: var(--section-padding-desktop) 0;
}

.agua-hover-premium .container {
  max-width: 1100px; /* Reducido de 1320px para compactar el ancho total */
}

.hover-slider__grid {
  display: grid;
  grid-template-columns: auto auto; /* Cambiado a auto auto para que el bloque sea tan ancho como su contenido */
  gap: 40px; /* Un poco más de aire entre texto e imagen para mejorar la lectura */
  align-items: center;
  min-height: 400px;
  justify-content: center; /* Centra perfectamente el bloque combinado en la pantalla */
}

.hover-slider__nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  text-align: right;
  min-width: 320px; /* Asegura un ancho mínimo para que los textos no se rompan bruscamente */
}

.text-stagger-trigger {
  font-size: 1.4rem; /* Reducido de 1.75rem para que el listado no supere la altura de la imagen en PC */
  font-weight: 700;
  color: var(--color-foreground);
  cursor: pointer;
  position: relative;
  display: inline-block;
  line-height: 1.1; /* Ajustado ligeramente el interlineado para compactar verticalmente */
  transition: opacity 0.3s ease, color 0.3s ease;
  opacity: 0.4;
}

.text-stagger-trigger.active {
  opacity: 1;
}

/* Stagger effect spans (populated by JS) */
.stagger-char {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.stagger-char__top,
.stagger-char__bottom {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (max-width: 767px) {
  .stagger-char__top,
  .stagger-char__bottom {
    transition: none !important;
  }
  .text-stagger-trigger.active .stagger-char__top {
    display: none;
  }
  .text-stagger-trigger.active .stagger-char__bottom {
    position: relative;
    transform: none !important;
  }
}

.stagger-char__bottom {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(110%);
}

.text-stagger-trigger.active .stagger-char__top {
  transform: translateY(-110%);
}

.text-stagger-trigger.active .stagger-char__bottom {
  transform: translateY(0%);
}

.hover-slider__visual {
  position: relative;
  width: auto; /* Cambiado de 100% para que no se expanda innecesariamente */
  display: flex;
  justify-content: flex-start;
}

.hover-slider__image-wrap {
  display: grid;
  width: 380px; /* Ancho fijo reducido para que la caja blanca se ajuste más a la imagen */
  height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  position: relative;
}

.hover-slider:hover .hover-slider__image-wrap {
  border-color: var(--color-secondary);
  box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2);
}

.hover-slider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px; /* Reducido al mínimo para que el producto luzca grande en la caja estrecha */
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-slider__img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hover-slider:hover .hover-slider__img.active {
  transform: scale(1.08); /* Efecto zoom contenido al pasar el ratón */
}

.hover-slider__img.active {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

@media (max-width: 991px) {
  .hover-slider__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    display: flex;
    flex-direction: column-reverse;
  }
  .hover-slider__nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 20px 15px 20px;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .text-stagger-trigger {
    font-size: 1.1rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    scroll-snap-align: center;
  }
  .text-stagger-trigger.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
  }
  .hover-slider__image-wrap {
    height: 350px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  }
}

@media (max-width: 767px) {
  .hover-slider__grid {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hover-slider__nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 5px !important;
    gap: 4px !important; /* Mínimo espacio entre botones */
    overflow-x: visible !important;
  }
  .text-stagger-trigger {
    font-size: 0.75rem !important; /* Tamaño mínimo legible */
    padding: 4px 8px !important; /* Padding mínimo */
    margin: 0 !important;
    border-radius: 15px !important;
    flex: 0 1 auto !important;
  }
  .hover-slider__image-wrap {
    height: auto !important;
    aspect-ratio: 1 / 1 !important; /* Forzar que sea un cuadrado perfecto para que no se estire */
    width: 250px !important; /* Tamaño fijo para que no sea tan grande en móvil */
    margin: 0 auto 10px auto !important; /* Centrado con margen inferior */
    border-radius: 2rem !important;
    background-color: #fff;
    padding: 20px !important; /* Más espacio interno para que el producto luzca premium */
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hover-slider__img {
    object-fit: contain !important; /* Asegura que la imagen se vea completa sin cortes */
    width: 100% !important;
    height: 100% !important;
  }
}

/* SECCIÓN: HOGAR (INTERACTIVE SELECTOR) */
.hogar-premium {
  background-color: #222; /* As per React component background */
  color: var(--color-white);
  padding: var(--section-padding-desktop) 0;
}

.hogar-premium h2,
.hogar-premium p {
  color: var(--color-white);
}

.hogar-selector-container {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-width: min(600px, 100%);
  height: 400px;
  margin: 0 auto;
  items-stretch: stretch;
  overflow: hidden;
  position: relative;
  font-family: var(--font-family-base);
}

.hogar-option {
  position: relative;
  flex: 1 1 0%;
  min-width: 60px;
  min-height: 100px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #18181b;
  background-size: auto 120%;
  background-position: center;
  border: 2px solid #292929;
  cursor: pointer;
  transition: all 0.7s ease-in-out;
  overflow: hidden;
  will-change: flex-grow, box-shadow, background-size, border-color;
}

.hogar-option.active {
  flex: 7 1 0%;
  background-size: auto 100%;
  border-color: var(--color-white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.hogar-option__shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 120px;
  pointer-events: none;
  transition: all 0.7s ease-in-out;
  box-shadow: inset 0 -120px 0px -120px #000, inset 0 -120px 0px -80px #000;
}

.hogar-option.active .hogar-option__shadow {
  bottom: 0;
  box-shadow: inset 0 -120px 120px -120px #000, inset 0 -120px 120px -80px #000;
}

.hogar-option__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  gap: 12px;
  z-index: 2;
  pointer-events: none;
}

.hogar-option__icon {
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(32, 32, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid #444;
  flex-shrink: 0;
  transition: all 0.2s;
  color: var(--color-white);
}

.hogar-option__info {
  color: var(--color-white);
  white-space: nowrap;
  position: relative;
}

.hogar-option__info .main {
  font-weight: 700;
  font-size: 1.125rem;
  opacity: 0;
  transform: translateX(25px);
  transition: all 0.7s ease-in-out;
}

.hogar-option__info .sub {
  font-size: 1rem;
  color: #d1d5db;
  opacity: 0;
  transform: translateX(25px);
  transition: all 0.7s ease-in-out;
}

.hogar-option.active .hogar-option__info .main,
.hogar-option.active .hogar-option__info .sub {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .hogar-selector-container {
    flex-direction: column;
    height: 650px; /* Aumentado ligeramente para dar más aire a las opciones */
    min-width: 100%;
    max-width: 100%;
    gap: 10px; /* Espacio entre las tarjetas en móvil */
  }
  .hogar-option {
    min-height: 80px; /* Altura mínima mayor para que no se vea tan estrecho */
    width: 100%;
    flex: 1 1 auto;
    border-radius: 1.5rem !important; /* Bordes redondeados más premium */
    background-size: contain !important; /* IMPORTANTE: Ajustar imagen al contenedor */
    background-repeat: no-repeat !important;
    background-color: #fff !important; /* Fondo blanco para que la imagen resalte */
    background-position: center !important;
  }
  .hogar-option.active {
    flex: 5 1 auto; /* Más espacio para la opción activa */
    background-size: contain !important;
  }
  .hogar-option__label {
    bottom: 10px;
    top: auto;
    transform: none;
    padding: 0 12px;
    height: auto;
    background: rgba(0,0,0,0.6); /* Fondo oscuro para que el texto sea legible sobre la imagen blanca */
    width: fit-content;
    border-radius: 10px;
    margin: 0 10px;
  }
  .hogar-option.active .hogar-option__label {
    bottom: 15px;
    top: auto;
    transform: none;
  }
  .hogar-option__icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .hogar-option__info .main {
    font-size: 0.85rem;
  }
  .hogar-option__info .sub {
    font-size: 0.75rem;
    display: none;
  }
  .hogar-option.active .hogar-option__info .sub {
    display: block;
  }
}

/* SECCIÓN: SALUD Y BIENESTAR (HORIZONTAL SLIDER - ESTILO TOP VENTAS) */
.salud-bienestar {
  background-color: var(--color-white) !important; /* Fondo blanco solicitado */
  padding: var(--section-padding-desktop) 0;
  overflow: hidden;
}

.salud-slider-container {
  width: 100%;
  margin-top: 40px;
  position: relative;
}

.salud-slider {
  overflow: hidden;
  padding: 20px 0;
}

.salud-slider__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: salud-scroll-left 40s linear infinite;
}

.salud-slider__item {
  flex-shrink: 0;
  width: 450px; /* Tamaño A4 horizontal aproximado */
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--color-white);
}

.salud-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.salud-slider__item:hover img {
  transform: scale(1.05);
}

@keyframes salud-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-450px * 5 - 32px * 5)); }
}

@media (max-width: 767px) {
  .salud-bienestar {
    padding: 10px 0 15px 0 !important; /* Reducido de 30px a 15px para compactar */
  }
  .salud-slider__item {
    width: 300px;
    height: 210px;
  }
  @keyframes salud-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 5 - 32px * 5)); }
  }
}

/* Jewelry Card Stack (3D Fan Effect) */
.jewelry-highlight {
  padding-top: var(--section-padding-desktop) !important;
  padding-bottom: var(--section-padding-desktop) !important;
}

.jewelry-highlight {
  padding-bottom: 40px; /* Reducido para compactar tras quitar el CTA inferior */
}

@media (max-width: 767px) {
  .jewelry-highlight {
    padding-top: 20px !important;
    padding-bottom: 0px !important; /* Reducido de 10px a 0px para compactar */
  }
}

.jewelry-stack-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: var(--section-padding-desktop) 0;
  overflow: visible;
}

@media (max-width: 767px) {
  .jewelry-stack-container {
    padding: 10px 0; /* Reducido de 20px a 10px */
    overflow: hidden;
    contain: layout paint;
    min-height: auto; /* Dejado auto para que no fuerce altura extra */
  }
}

.jewelry-stack {
  position: relative;
  width: 100%;
  height: 420px; /* Reducido de 480px para escritorio para compactar espacio inferior */
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  overflow: visible;
}

@media (max-width: 767px) {
  .jewelry-stack {
    height: 280px; /* Reducido de 480px para eliminar el hueco vacío (X) */
  }
}

.jewelry-stack__spotlight {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 1;
}

.jewelry-stack__spotlight.top {
  top: 50%; /* Center it behind the cards */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

.jewelry-stack__spotlight.bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 160px;
  background: radial-gradient(circle, rgba(10, 77, 60, 0.12) 0%, transparent 70%);
  filter: blur(50px);
}

.jewelry-stack__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.jewelry-card {
  position: absolute;
  width: 520px; /* Landscape width */
  height: 340px; /* Landscape height */
  background-color: var(--color-surface-deep);
  border-radius: 24px;
  border: 4px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  cursor: grab;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s ease, border-color 0.4s ease;
  will-change: transform;
  contain: layout style;
  transform-style: preserve-3d;
  user-select: none;
}

.jewelry-card:active {
  cursor: grabbing;
}

.jewelry-card--active {
  border-color: var(--color-secondary);
  z-index: 100 !important;
}

.jewelry-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.jewelry-card:hover .jewelry-card__img {
  transform: scale(1.05);
}

.jewelry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
  z-index: 2;
}

.jewelry-card__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px; /* Increased for tall cards */
  color: var(--color-white);
  transform: translateZ(30px);
}

.jewelry-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 10px;
  opacity: 0.9;
}

.jewelry-card h3 {
  color: var(--color-white);
  font-size: 1.4rem; /* Adjusted for premium feel */
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.2;
}

.jewelry-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 0;
  max-width: 90%;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .jewelry-card__content {
    padding: 15px !important; /* Pegado abajo y menos aire */
    justify-content: flex-end;
  }
  .jewelry-card h3 {
    font-size: 1rem !important; /* Más pequeño y menos invasivo */
    margin-bottom: 5px !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Asegurar legibilidad al ser pequeño */
  }
}

.jewelry-stack__nav {
  margin-top: 10px; /* Reducido de 20px para compactar espacio en escritorio */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1000;
}

@media (max-width: 767px) {
  .jewelry-stack__nav {
    margin-top: 20px; /* Mantener original en móvil */
  }
}

.jewelry-stack__dots {
  display: flex;
  gap: 10px;
}

.jewelry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1); /* Muted as in reference */
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.jewelry-dot--active {
  background-color: var(--color-foreground); /* Dark as in reference */
  transform: scale(1.15);
}

@media (max-width: 991px) {
  .jewelry-card {
    width: 90vw;
    max-width: 380px;
    height: 65vw;
    max-height: 220px; /* Reducido de 250px */
  }
  .jewelry-stack {
    height: 350px; /* Reducido de 400px */
  }
}

@media (max-width: 576px) {
  .jewelry-card {
    width: 90vw;
    max-width: 280px;
    height: 60vw;
    max-height: 160px; /* Reducido de 180px */
  }
  .jewelry-stack {
    height: 280px; /* Reducido de 320px */
  }
}

/* Info Blocks Section */
.info-blocks {
  padding: var(--section-padding-desktop) 0;
  background-color: var(--color-white);
}

.info-blocks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.info-block {
  padding: 48px;
  background-color: var(--color-surface-soft);
  border-radius: 32px;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.info-block:hover {
  border-color: var(--color-secondary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.info-block__icon {
  width: 48px;
  height: 48px;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.info-block p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin-bottom: 0;
}

.info-block__list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-block__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--color-foreground);
  font-weight: 500;
}

.info-block__list-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .info-blocks__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .info-block {
    padding: 24px;
    border-radius: 20px;
  }
  .info-block__icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
  }
  .info-block h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .info-block p {
    font-size: 0.875rem;
  }
  .info-block__list {
    margin-top: 16px;
    gap: 8px;
  }
}

/* Accordion (FAQ) */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header h4 {
  font-size: 1.125rem;
  margin-bottom: 0;
  color: var(--color-foreground);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::before { width: 12px; height: 2px; }
.accordion-icon::after { width: 2px; height: 12px; transition: var(--transition-smooth); }

.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-item.active .accordion-icon::after { opacity: 0; }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 24px;
}

/* Circular Testimonials Component */
.circular-hogar-section {
  padding-top: var(--section-padding-desktop);
  padding-bottom: var(--section-padding-desktop);
}

@media (max-width: 767px) {
  .circular-hogar-section {
    padding-top: 25px; /* Más compacto aún en móvil */
    padding-bottom: 25px;
  }
}

.circular-testimonials-section {
  overflow: hidden;
}

.circular-testimonials {
  width: 100%;
  max-width: 64rem; /* Aumentado de 56rem para mayor presencia en escritorio */
  margin: 0 auto;
  padding: 1rem 2rem 2rem 2rem; /* Reducido padding superior en escritorio */
}

.circular-testimonials .testimonial-grid {
  display: grid;
  gap: 3rem; /* Reducido de 6rem para compactar escritorio */
  align-items: center;
}

.circular-testimonials .image-container {
  position: relative;
  width: 100%;
  height: 25rem; /* Reducido de 30rem para compactar escritorio */
  perspective: 1200px;
}

.circular-testimonials .testimonial-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px; /* Reducido para compactar */
  background-color: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
}

.circular-testimonials .testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.circular-testimonials .testimonial-info-wrapper {
  min-height: 180px; /* Altura mínima para evitar saltos de layout en escritorio */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.circular-testimonials .testimonial-info {
  display: none;
}

.circular-testimonials .testimonial-info.active {
  display: block;
}

.circular-hogar-section {
  background-color: #222;
  color: #fff;
  overflow: hidden; /* Evitar scrollbars durante las animaciones 3D */
}

.circular-hogar-section h2 {
  color: #ffffff !important;
  font-size: 3rem; /* Restaurado tamaño original */
  margin-bottom: 1.5rem;
}

.circular-hogar-section .intro-text {
  color: rgba(255, 255, 255, 0.8) !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.circular-testimonials .name {
  font-family: var(--font-family-heading);
  font-size: 2.25rem; /* Restaurado tamaño original */
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.circular-testimonials .designation {
  font-size: 1.1rem; /* Restaurado tamaño original */
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.circular-testimonials .quote {
  font-size: 1.25rem; /* Aumentado ligeramente */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

.circular-testimonials .quote span {
  display: inline-block;
}

.circular-testimonials .arrow-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem; /* Reducido de 3rem */
}

.circular-testimonials .arrow-button {
  width: 2.7rem; /* Match React component */
  height: 2.7rem; /* Match React component */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s; /* Match React */
  border: none; /* Match React component */
  background-color: #141414; /* Match React default */
  color: #f1f1f7; /* Match React default */
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.circular-testimonials .arrow-button:hover {
  background-color: #00a6fb; /* Match React default colorArrowHoverBg */
}

@media (min-width: 768px) {
  .circular-testimonials .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .circular-hogar-section {
    padding: 15px 0 !important; /* Aún más reducido */
  }
  .circular-hogar-section .section-header {
    margin-bottom: 0.5rem !important;
  }
  .circular-hogar-section .section-header h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.25rem !important;
  }
  .circular-hogar-section .section-header .intro-text {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    -webkit-line-clamp: 1; /* Solo una línea para compactar al máximo */
  }
  .circular-hogar-section .section-header .mt-3 {
    margin-top: 0.25rem !important;
  }
  .circular-hogar-section .section-header .btn-primary {
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
  }
  .circular-testimonials {
    padding: 0 !important;
    margin-top: 50px !important; /* Espacio para que el botón CTA no se solape */
  }
  .circular-testimonials .testimonial-grid {
    gap: 0 !important;
  }
  .circular-testimonials .image-container {
    height: 200px !important; /* Altura fija controlada */
    width: 260px !important; /* Ancho ajustado para reducir espacio lateral */
    margin: 0 auto !important;
  }
  .circular-testimonials .testimonial-info-wrapper {
    height: 120px !important; 
    margin-top: 15px;
  }
  .circular-testimonials .testimonial-image {
    padding: 5px !important; /* Mínimo padding */
    background-color: #ffffff;
    border-radius: 1.5rem;
    object-fit: contain !important; /* Asegurar que el producto se vea entero */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Sombra más suave */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .circular-testimonials .name {
    font-size: 1.1rem !important; /* Título más pequeño */
    margin-bottom: 0.1rem !important;
  }
  .circular-testimonials .designation {
    font-size: 0.7rem !important; /* Subtítulo más pequeño */
    margin-bottom: 0.4rem !important;
  }
  .circular-testimonials .quote {
    font-size: 0.85rem !important; /* Texto descriptivo más pequeño */
    line-height: 1.3 !important;
  }
  .circular-testimonials .arrow-buttons {
    margin-top: 0.5rem !important;
    justify-content: center;
    gap: 0.75rem !important;
  }
  .circular-testimonials .arrow-button {
    width: 2rem !important; /* Botones más pequeños */
    height: 2rem !important;
  }
}

/* CTA Banner */
.cta-banner {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-l);
  padding: 80px 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .cta-banner {
    padding: 40px 20px !important;
    border-radius: 20px;
  }
  .cta-banner-text {
    margin-bottom: 20px !important;
  }
}

.cta-banner h2, .cta-banner p { color: var(--color-white); }
.cta-banner .btn-secondary { border-color: var(--color-white); }

.cta-banner-text {
  max-width: 600px;
  margin: 20px auto 40px;
}

.cta-banner-actions {
  gap: 20px;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: var(--color-surface-soft);
  transform: translateY(-2px);
}

/* Card Variants */
.philosophy-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
  transition: var(--transition-smooth);
  border: 1px solid transparent; /* Para el filo dorado */
}

.philosophy-visual img.premium-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.philosophy-section:hover .philosophy-visual {
  border-color: var(--color-secondary); /* Filo dorado */
  box-shadow: 0 30px 60px rgba(197, 160, 89, 0.25); /* Sombra dorada más intensa */
  transform: translateY(-5px);
}

.philosophy-section:hover .philosophy-visual img.premium-img {
  transform: scale(1.08); /* Efecto zoom premium */
}

.card-horizontal {
  padding: 0;
  overflow: hidden;
  flex-direction: row;
  min-height: 400px;
}

.card-horizontal-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-horizontal-visual {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
}

@media (max-width: 767px) {
  .card-horizontal { flex-direction: column; min-height: auto; }
  .card-horizontal-visual { min-height: 250px; }
}

.card-blog {
  padding: 0;
  overflow: hidden;
  border-radius: 32px; /* Coherente con resto de secciones */
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.card-blog:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
  box-shadow: 0 30px 60px rgba(197, 160, 89, 0.2); /* Sombra dorada suave */
}

.card-blog-content {
  padding: 24px;
}

.card-blog img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-blog:hover img {
  transform: scale(1.1); /* Efecto zoom premium */
}

/* Animations */
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Responsive Adjustments */
@media (max-width: 767px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content .flex-center {
    justify-content: center !important;
    width: 100%;
  }

  .hero-editorial .btn {
    width: fit-content;
    min-width: 160px; /* Reducido de 180px */
    max-width: 220px; /* Reducido de 240px */
    padding: 10px 20px; /* Reducido para que no sea tan invasivo */
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   LÍNEA AGUA — REGLAS ESTRICTAS PARA PÁGINAS DE PRODUCTO
   Aplicar siempre. No sobreescribir. No añadir aspect-ratio a imágenes.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Rich sections: imagen completa, sin recorte ──────────────────
   Todas las imágenes de rich sections son 900×1000px (ratio 9:10).
   aspect-ratio: 9/10 hace que el contenedor tenga exactamente ese ratio
   → object-fit: contain llena el 100% sin letterboxing ni recorte.
   overflow: hidden (inline style) mantiene el border-radius limpio. */
@media (min-width: 1024px) {
  .rich-section__img-wrap {
    aspect-ratio: 9 / 10;
    max-height: none;
  }
  .rich-section__img-wrap img {
    height: 100%;
    object-fit: contain;
  }
}

/* ── 2. Tabla técnica: columna única centrada (sin imagen lateral) ────
   La imagen lateral se eliminó del HTML. Este CSS centraliza la tabla. */
.tabla-section { background: var(--color-surface-soft); }
.tabla-section .tabla-layout {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
/* Fallback por si queda algún tabla-img-wrap sin limpiar */
.tabla-img-wrap { display: none !important; }

/* ── 3. Mini-product-card: tarjeta compacta para carousel ─────────── */
.mini-product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.mini-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}
.mini-product-card__img {
  padding: 10px 10px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.mini-product-card__img-inner {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.mini-product-card__img-inner img,
.mini-product-card__img > img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: transform 0.5s ease;
}
.mini-product-card:hover .mini-product-card__img-inner img,
.mini-product-card:hover .mini-product-card__img > img {
  transform: scale(1.05);
}
.mini-product-card__body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-product-card__tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.mini-product-card__body h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-foreground);
  line-height: 1.3;
}
.mini-product-card__cta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
}
.mini-product-card__cta svg {
  transition: transform 0.2s ease;
}
.mini-product-card:hover .mini-product-card__cta svg {
  transform: translateX(4px);
}

/* ── 4. Carousel de productos relacionados ────────────────────────────
   Reemplaza el grid "otros-productos-grid". Una fila con flechas.
   4 tarjetas visibles en ≥1024px · 2 en tablet/móvil. */
.productos-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.productos-carousel__overflow {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.productos-carousel__track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.productos-carousel__track > .mini-product-card {
  flex: 0 0 auto;
  /* container(1320) - padding(48) - buttons(80) - carousel-gaps(20) - card-gaps(54) = 1118 ÷ 4 */
  width: calc((min(100vw, 1320px) - 202px) / 4);
}
@media (max-width: 1023px) {
  .productos-carousel__track > .mini-product-card {
    width: calc(50vw - 30px); /* 2 tarjetas en tablet */
  }
}
.productos-carousel__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-foreground);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.productos-carousel__btn:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.productos-carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Fija el SVG chevron de las tarjetas de categoría a 16×16 px
   (evita que el reset svg {height:auto} lo estire en flex) */
.producto-card__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .productos-carousel { gap: 0; }
  .productos-carousel__btn { display: none; }
  .productos-carousel__overflow {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .productos-carousel__overflow::-webkit-scrollbar { display: none; }
  .productos-carousel__track { transition: none; transform: none !important; }
  .productos-carousel__track > .mini-product-card {
    scroll-snap-align: start;
  }
}
