/* 
   Muebles Eduardo - Carpintería Artesanal (Versión 2 Premium & Accesible)
   Estilos Globales, Sistema de Diseño Optimizado para Mayores
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Variables de Diseño --- */
:root {
  /* Paleta de Colores Curada (Google Stitch: Muebles Eduardo) */
  --primary: #163328; /* Verde bosque profundo */
  --primary-hover: #2d4a3e; /* Verde medio-oscuro */
  --primary-light: #c9ead9; /* Verde claro */
  --secondary: #835425; /* Marrón madera */
  --secondary-hover: #a36c34;
  --secondary-light: #ffdcc1;
  
  --bg-light: #F7F5F0; /* Fondo canvas suave */
  --bg-white: #ffffff;
  --bg-gray: #e5e2e1; /* Gris cálido */
  
  --text-dark: #1b1b1b; /* Negro puro */
  --text-muted: #424844; /* Gris oscuro */
  --text-light-muted: #727974;
  --border-color: #c1c8c3; /* Bordes suaves */
  
  --accent-wa: #25D366; /* Verde WhatsApp oficial */
  --accent-wa-hover: #128C7E;
  
  /* Fuentes Modernas de Google Stitch */
  --font-title: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --font-label: 'Plus Jakarta Sans', sans-serif;
  
  /* Sombras Premium Ambientales */
  --shadow-sm: 0 2px 8px rgba(22, 51, 40, 0.02);
  --shadow-md: 0 4px 16px rgba(22, 51, 40, 0.04);
  --shadow-lg: 0 8px 24px rgba(22, 51, 40, 0.06);
  --shadow-premium: 0 4px 20px -2px rgba(22, 51, 40, 0.05), 0 8px 30px -4px rgba(22, 51, 40, 0.03);
  
  /* Radios de Borde Orgánicos de Stitch */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Transiciones Fluidas */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Altura Mínima para Tap Targets */
  --tap-target-height: 54px;
}

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

html {
  scroll-behavior: smooth;
  /* Base aumentada para seniors */
  font-size: 18px; 
}

@media (max-width: 768px) {
  html {
    font-size: 17px; /* Un poco más pequeño en móviles, pero aún muy legible */
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7; /* Interlineado generoso */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Mejoras de Usabilidad y Offset de Scroll V2 --- */
[id] {
  scroll-margin-top: 110px; /* Offset para evitar solapamientos con la cabecera fija */
}

/* Mayor offset para bloques del catálogo debido al menú sub-nav adicional */
.catalog-block[id] {
  scroll-margin-top: 170px;
}

/* --- Tipografía --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
}

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

/* --- Banner de Envíos --- */
.top-bar {
  background-color: var(--primary);
  color: var(--bg-white);
  text-align: center;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  z-index: 1000;
  position: relative;
}

/* --- Encabezado & Navegación (Premium Glass) --- */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 63, 44, 0.08);
  z-index: 999;
  transition: padding var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container a {
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.logo-container a:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  font-family: var(--font-title);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: 100%;
}

/* --- Botones Accesibles (Min Height 54px, Fácil click) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: var(--tap-target-height);
  padding: 0.8rem 2.2rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  user-select: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(45, 63, 44, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 63, 44, 0.25);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-wa {
  background-color: var(--accent-wa);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(31, 156, 79, 0.2);
}

.btn-wa:hover {
  background-color: var(--accent-wa-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31, 156, 79, 0.35);
}

.btn-wa:active {
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(45, 63, 44, 0.15);
}

.btn-outline:active {
  transform: translateY(-1px);
}

.btn-large {
  padding: 1.1rem 3rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* --- Sección Hero V2 (Stitch Layout) --- */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(22, 51, 40, 0.04) 0%, rgba(247, 245, 240, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  z-index: 2;
}

.hero-image-bg-effect {
  position: absolute;
  inset: -6px;
  background-color: var(--primary-light);
  border-radius: var(--radius-2xl);
  transform: rotate(3deg) scale(1.02);
  z-index: 1;
  opacity: 0.5;
  transition: transform var(--transition-slow);
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-premium);
  z-index: 2;
  transition: transform var(--transition-slow);
}

.hero-image-container:hover .hero-image {
  transform: translateY(-5px);
}

.hero-image-container:hover .hero-image-bg-effect {
  transform: rotate(1deg) scale(1.04);
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  font-family: var(--font-title);
  border: 1px solid rgba(45, 63, 44, 0.15);
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-weight: 500;
}

/* --- Secciones Comunes (Espaciado Generoso para Respiración Visual) --- */
.section {
  padding: 3.8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 800;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 1.2rem auto 0 auto;
  border-radius: var(--radius-full);
}

/* --- Sección Ofertas Destacadas V2 (Diseño Premium 3D) --- */
.featured-offer {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  border: 1px solid rgba(45, 63, 44, 0.06);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.featured-offer:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 64px -12px rgba(45, 63, 44, 0.12);
}

.featured-img-container {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.featured-offer:hover .featured-img {
  transform: scale(1.04);
}

.featured-content {
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-tag {
  background-color: #fef3c7;
  color: #b45309; /* Color más oscuro para WCAG AA contrast ratio */
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.8rem;
  font-family: var(--font-title);
  border: 1px solid rgba(180, 83, 9, 0.1);
}

/* --- Estilos para Oferta Diaria con Contador y Urgencia V2 --- */
.offer-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #fffbeb; /* Fondo oro suave */
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  margin-bottom: 1.8rem;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

/* Evitar parpadeos durante la carga inicial en JS */
.featured-offer-loading #oferta-tag-container {
  visibility: hidden;
}

.offer-urgency-text {
  color: #b45309;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.countdown-timer-wrapper {
  color: #b45309;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 1px solid rgba(180, 83, 9, 0.25);
  padding-left: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.countdown-timer {
  font-family: monospace; /* Fuente monoespaciada para evitar saltos de ancho */
  font-size: 0.95rem;
  font-weight: 800;
  background-color: #b45309;
  color: #fffbeb;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
}

.pulsating-dot {
  width: 8px;
  height: 8px;
  background-color: #dc2626; /* Rojo brillante */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.offer-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.offer-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  font-weight: 500;
}

.offer-features {
  list-style: none;
  margin-bottom: 3rem;
}

.offer-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.offer-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Sección Categorías Principales V2 (Bento Grid Premium) --- */
.categories-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 1px solid rgba(45, 63, 44, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.35) 45%, rgba(17, 24, 39, 0) 100%);
  z-index: 1;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.bento-card:hover img {
  transform: scale(1.04);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(45, 63, 44, 0.15);
}

.bento-large {
  grid-column: span 8;
  grid-row: span 2;
}

.bento-small {
  grid-column: span 4;
  grid-row: span 1;
}

.category-card-large {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 1px solid rgba(45, 63, 44, 0.04);
}

.category-card-large::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.4) 40%, rgba(17, 24, 39, 0) 100%);
  z-index: 1;
}

.category-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card-large:hover img {
  transform: scale(1.05);
}

.category-large-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem;
  color: var(--bg-white);
  z-index: 2;
  transform: translateY(12px);
  transition: var(--transition-normal);
}

.category-card-large:hover .category-large-content {
  transform: translateY(0);
}

.category-large-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.category-large-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 3px solid var(--bg-white);
  padding-bottom: 0.3rem;
  transition: var(--transition-fast);
}

.category-card-large:hover .arrow-link {
  gap: 1rem;
  border-color: var(--primary-light);
}

/* --- Sección Categorías Secundarias V2 (Grilla Elegante) --- */
.categories-secondary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.category-card-small {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 63, 44, 0.06);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.category-card-small:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 63, 44, 0.2);
}

.category-small-img-container {
  height: 260px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-gray);
}

.category-small-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.category-card-small:hover .category-small-img-container img {
  transform: scale(1.04);
}

.category-small-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-small-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* --- CTA Catálogo Completo --- */
.cta-catalog-container {
  text-align: center;
  padding: 2.5rem 0;
  position: relative;
}

.cta-catalog-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
  opacity: 0.7;
}

.cta-catalog-btn {
  position: relative;
  z-index: 2;
  padding: 1.25rem 4rem;
  font-size: 1.15rem;
}

/* --- Página de Catálogo V2 --- */
.catalog-header {
  background-color: var(--bg-white);
  padding: 4rem 2rem 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(45, 63, 44, 0.08);
}

.catalog-header-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}

.catalog-header-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

.catalog-block {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(45, 63, 44, 0.1);
}

.catalog-block:last-child {
  border-bottom: none;
}

.block-header {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-left: 6px solid var(--primary);
  padding-left: 1.8rem;
}

.block-title {
  font-size: 1.8rem;
  font-weight: 800;
}

.block-count {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.product-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

/* --- Tarjeta de Producto V2 (Máxima Calidad) --- */
.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 63, 44, 0.06);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(45, 63, 44, 0.2);
}

.product-img-container {
  height: 245px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-gray);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 63, 44, 0.15);
  z-index: 2;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  font-weight: 500;
  line-height: 1.6;
}

.product-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-meta-item svg {
  color: var(--primary);
}

.product-price-on-demand {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Banner de Información / Ventajas V2 --- */
.features-banner {
  background-color: var(--primary-light);
  padding: 7rem 2rem;
}

.features-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 63, 44, 0.05);
  transition: transform var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 6px 16px rgba(45, 63, 44, 0.15);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* --- Pie de Página (Footer) V2 --- */
.main-footer {
  background-color: var(--bg-white);
  border-top: 1px solid rgba(45, 63, 44, 0.08);
  padding: 7rem 2rem 4rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-about .logo-brand {
  margin-bottom: 1.5rem;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1.5rem;
  max-width: 350px;
  font-weight: 500;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact-info {
  margin-bottom: 2rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-contact-item svg {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(45, 63, 44, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-credits a {
  font-weight: 800;
  color: var(--primary);
}

/* --- Botón WhatsApp Flotante --- */
.wa-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background-color: var(--accent-wa);
  color: var(--bg-white);
  width: 65px;
  height: 65px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(31, 156, 79, 0.25);
  z-index: 998;
  transition: var(--transition-normal);
}

.wa-float:hover {
  background-color: var(--accent-wa-hover);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(31, 156, 79, 0.4);
}

.wa-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* --- Animaciones de Carga y Scroll --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Estilos de Categoría Colapsable y Presentación (Catálogo) --- */
.category-cover-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 63, 44, 0.06);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch; /* Se cambia de center a stretch para llenar la tarjeta */
  margin-bottom: 2.5rem;
  transition: var(--transition-normal);
}

.category-cover-card:hover {
  box-shadow: var(--shadow-premium);
  border-color: rgba(45, 63, 44, 0.18);
}

.category-cover-img-container {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.category-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-cover-card:hover .category-cover-img {
  transform: scale(1.03);
}

.category-cover-content {
  padding: 4.5rem 4rem;
}

.category-cover-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.category-cover-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* Colapsable animado V2 con curva Bezier fluida */
.collapsible-grid-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin-top 0.5s ease;
  margin-top: 0;
}

.collapsible-grid-wrapper.is-open {
  max-height: 3200px;
  opacity: 1;
  margin-top: 4rem;
  overflow: visible;
}

/* Rotación del indicador en el botón expandible */
.btn-expand .arrow-icon {
  transition: transform var(--transition-normal);
  display: inline-block;
  font-size: 1.25rem;
}

.btn-expand.is-open .arrow-icon {
  transform: rotate(180deg);
}

/* --- Contenedor de Consultas Ocultas (Sillas y Bancos / Kids) --- */
.seats-options-container {
  display: flex;
  gap: 1.2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
  flex-wrap: wrap;
}

.seats-options-container.is-visible {
  max-height: 250px;
  opacity: 1;
  margin-top: 2rem;
  overflow: visible;
}

/* Contenedores de botones auxiliares */
.sillas-bancos-query-container, .kids-query-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* --- Sub-Navegación Deslizable Horizontal V2 --- */
.sticky-sub-nav {
  position: sticky;
  top: 96px; /* Ajustado para cabecera de 96px de alto */
  background-color: rgba(247, 246, 242, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(45, 63, 44, 0.08);
  z-index: 998;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition: top var(--transition-normal);
}

.sticky-sub-nav::-webkit-scrollbar {
  display: none;
}

.sub-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.sub-nav-item {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem; /* Aumentado ligeramente */
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 0.85rem 1.6rem; /* Aumentado de 0.65rem 1.4rem para mayor tap target */
  border-radius: var(--radius-full);
  background-color: var(--bg-gray);
  transition: var(--transition-fast);
  border: 1px solid rgba(45, 63, 44, 0.08);
  display: inline-block;
  cursor: pointer;
}

.sub-nav-item:hover, .sub-nav-item.active {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 6px 14px rgba(45, 63, 44, 0.15);
}

/* --- Barra de Navegación Inferior Móvil (Sticky Bottom Nav) V2 --- */
/* Rediseñado con iconos y textos grandes, legibles para personas mayores */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px; /* Altura aumentada de 65px a 75px */
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(45, 63, 44, 0.1);
  display: none; 
  justify-content: space-around;
  align-items: center;
  z-index: 1001;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem; /* Aumentado para seniors */
  font-weight: 800;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  gap: 0.35rem;
  transition: var(--transition-fast);
  width: 30%;
  height: 100%;
  padding: 0.5rem;
}

.mobile-nav-item svg {
  width: 26px; /* Aumentado de 22px a 26px */
  height: 26px;
  stroke-width: 2.5; /* Trazo más grueso */
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item:active {
  transform: scale(0.93);
}
/* --- Sección El Taller (Sobre Nosotros) V2 --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-paragraph {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 63, 44, 0.05);
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 63, 44, 0.15);
}

.value-icon {
  color: var(--primary);
  background-color: var(--primary-light);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-info {
  text-align: left;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.value-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 500;
}

/* --- Sección Testimonios V2 --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 63, 44, 0.05);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(45, 63, 44, 0.18);
}

.testimonial-stars {
  color: #d97706; /* Color ámbar/oro */
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  font-style: italic;
  flex-grow: 1;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.2rem;
  text-align: left;
}

.author-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.author-verify {
  font-size: 0.85rem;
  color: var(--accent-wa);
  font-weight: 700;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* --- Insignias de Confianza (Trust Badges) V2 --- */
.trust-badges-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid rgba(45, 63, 44, 0.05);
  padding: 2.2rem 0;
}

.trust-badges-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 3.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  text-align: left;
}

.trust-badge-icon-wrapper {
  color: var(--primary);
  background-color: var(--primary-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.trust-badge-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.trust-badge-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* --- Refinamientos de Testimonios --- */
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

/* --- Sección Instagram Feed V2 --- */
.instagram-section {
  background-color: var(--bg-cream-light);
  padding: 6.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(45, 63, 44, 0.05);
}

.instagram-section-header {
  margin-bottom: 3.5rem;
}

.instagram-handle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color var(--transition-fast);
}

.instagram-handle-link:hover {
  color: var(--accent);
}

.instagram-handle-link svg {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.instagram-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: var(--bg-white);
  border: 1px solid rgba(45, 63, 44, 0.03);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 63, 44, 0.85); /* Tono verde bosque de la paleta original */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 1rem;
}

.instagram-post:hover img {
  transform: scale(1.08);
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay-icon {
  color: var(--bg-cream);
  width: 30px;
  height: 30px;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.instagram-overlay-text {
  color: var(--bg-cream);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}

.instagram-post:hover .instagram-overlay-icon,
.instagram-post:hover .instagram-overlay-text {
  transform: translateY(0);
}

.instagram-btn-container {
  margin-top: 3.5rem;
}

/* --- Botón Instagram Cabecera --- */
.instagram-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-cream-light);
  border: 1px solid rgba(45, 63, 44, 0.05);
  transition: all var(--transition-fast);
  margin-left: 1.5rem;
}

.instagram-header-link:hover {
  background-color: var(--primary-light);
  color: var(--accent);
  border-color: rgba(45, 63, 44, 0.1);
  transform: translateY(-2px);
}

.instagram-header-link svg {
  width: 22px;
  height: 22px;
}



/* --- Media Queries (Responsividad Completa y Legibilidad V2) --- */

@media (max-width: 1024px) {
  .categories-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.8rem 1.5rem;
  }
  
  .nav-menu {
    gap: 2rem;
  }
  
  .featured-offer {
    grid-template-columns: 1fr;
  }
  
  .featured-img-container {
    min-height: 320px;
  }
  
  .featured-content {
    padding: 3rem 2rem;
  }
  
  .categories-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .category-card-large {
    height: 400px;
  }
  
  .category-large-content {
    padding: 2.5rem;
  }
  
  .features-banner-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .category-cover-card {
    grid-template-columns: 1fr;
  }
  
  .category-cover-img-container {
    aspect-ratio: 16/9; /* Se aplica el aspect ratio solo en dispositivos móviles */
    min-height: auto;
  }
  
  .category-cover-content {
    padding: 3rem 2rem;
  }
  
  .collapsible-grid-wrapper.is-open {
    margin-top: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-values {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .trust-badges-container {
    flex-direction: column;
    gap: 2.2rem;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 80px; /* Evitar solapamiento con el bottom nav de 75px */
  }
  
  .mobile-bottom-nav {
    display: flex; /* Mostrar barra inferior */
  }
  
  .main-header {
    padding: 0.6rem 0;
  }
  
  .header-container {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    align-items: center;
  }
  
  .header-container .logo-container img {
    height: 44px !important; /* Logo optimizado y claro */
  }
  
  .header-container nav {
    display: none; /* Ocultar menú de navegación redundante */
  }
  
  .wa-float {
    display: none; /* Ocultar flotante en móviles para liberar espacio visual */
  }
  
  .sticky-sub-nav {
    top: 60px; /* Ajustar posición debajo de la cabecera compacta */
  }
  
  .sub-nav-container {
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }
  
  .sub-nav-item {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 2.2rem 1rem 3rem 1rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
  
  .hero-image-container {
    height: 260px;
    margin-top: 1.2rem;
  }
  
  .section {
    padding: 2.2rem 1rem;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.55rem !important;
  }
  
  .offer-title {
    font-size: 1.65rem;
  }
  
  .categories-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1.2rem;
  }
  
  .bento-large, .bento-small {
    grid-column: span 1;
    grid-row: span 1;
    height: 210px;
  }

  .categories-secondary-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .product-grid, .product-grid-two {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-img-container {
    height: 190px;
  }
  
  .product-content {
    padding: 1.2rem;
  }
  
  .catalog-block {
    padding: 1.8rem 1rem;
  }
  
  .block-header {
    flex-direction: column;
    gap: 0.3rem;
    padding-left: 1rem;
    margin-bottom: 1.2rem;
  }
  
  .block-title {
    font-size: 1.55rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .footer-about-text {
    max-width: 100%;
  }
  
  .footer-contact {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding-top: 2rem;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 1rem;
  }
}
