/* ==========================================================================
   Mueblería LAU — Landing page
   Estilo editorial / a sangre: fotografía a todo ancho, tipografía grande,
   bloques de color sólido en vez de tarjetas con sombra y esquinas redondas.
   Cada mueble vive en UNA sola pantalla: foto (con nombre/tagline integrados
   en la imagen) + video de detalle + panel de datos, todo junto, sin scroll
   extra para llegar al precio o al botón de compra.
   Paleta y tipografía del manual de marca (LAU Signature):
   Crema #F6F1E7 · Beige superficie #EFE7D8 · Bronce #A2703A ·
   Nogal profundo #6B4423 · Tinta #211A12
   Fraunces (display) · Public Sans (cuerpo) · IBM Plex Mono (datos)
   ========================================================================== */

:root{
  --crema:      #F6F1E7;
  --beige:      #EFE7D8;
  --bronce:     #A2703A;
  --bronce-dk:  #8A5C2C;
  --bronce-lt:  #E8C79A;
  --nogal:      #6B4423;
  --nogal-dk:   #4E3119;
  --tinta:      #211A12;
  --tinta-soft: #4A3B2C;
  --linea:      #DDD2BC;
  --blanco:     #FFFFFF;
  --wa:         #25D366;
  --wa-dk:      #1DA851;
  --celeste:    #4FA6DA;
  --celeste-dk: #2E86BE;
  --celeste-bg: #EAF5FC;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', monospace;

  --radius: 3px;
  --container: 1180px;
  --section-pad: clamp(64px, 9vw, 120px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{ font-family: var(--font-display); color: var(--tinta); margin: 0; text-wrap: balance; font-weight: 500; }
p{ margin: 0; }

.visually-hidden{
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0;
}

.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--tinta); color: var(--crema); padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 2px solid var(--bronce); outline-offset: 3px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronce-dk);
  margin: 0 0 10px;
  font-weight: 600;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
}
.btn svg{ flex-shrink: 0; }
.btn-lg{ padding: 18px 36px; font-size: 15px; }

/* WhatsApp — botón principal de contacto/compra en toda la página */
.btn-whatsapp{
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(37,211,102,0.55);
}
.btn-whatsapp:hover{ background: var(--wa-dk); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(29,168,81,0.55); }

/* Secundario — reseñas, proceso de compra, ubicación y envíos: abre
   un cuadro/carrusel dentro de la misma página, sin recargar ni salir.
   Corto a propósito (menos padding, sin uppercase pesado) para que no
   quite espacio entre las pantallas de cada mueble. */
.btn-secondary{
  background: var(--celeste);
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px -9px rgba(46,134,190,0.55);
}
.btn-secondary:hover{ background: var(--celeste-dk); transform: translateY(-2px); box-shadow: 0 10px 18px -9px rgba(46,134,190,0.55); }
.btn-secondary svg{ width: 12px; height: 12px; }

.product-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.product-panel .product-actions{ align-self: flex-start; }
/* Los secundarios nunca se estiran a lo ancho, ni siquiera en móvil
   (ver override en el breakpoint de 640px más abajo): se quedan como
   chips compactos uno al lado del otro. Solo el de WhatsApp es de
   ancho completo. */
.product-actions .btn-secondary{ width: auto; flex: 0 0 auto; }

.btn-text{
  display: inline-block; margin-left: 18px; font-weight: 600; font-size: 14.5px;
  color: var(--tinta-soft); border-bottom: 1px solid var(--linea); padding-bottom: 2px;
}
.btn-text:hover{ color: var(--nogal); border-color: var(--nogal); }
.btn-text.on-dark{ color: rgba(246,241,231,0.85); border-color: rgba(246,241,231,0.35); }
.btn-text.on-dark:hover{ color: var(--crema); border-color: var(--crema); }

/* ---------- layout helpers ---------- */
.section-head{ max-width: 640px; margin: 0 auto 44px; text-align: center; padding: 0 24px; }
.section-head h2{ font-size: clamp(30px, 4vw, 46px); }

/* ---------- movimientos dinámicos: reveal al hacer scroll ---------- */
[data-reveal]{
  opacity: 0; transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,241,231,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.header-inner{
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 24px;
}
.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: auto; }
.brand img{ border-radius: 50%; }
.brand-name{
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--tinta);
}
.brand-name em{ font-style: normal; color: var(--bronce); }

.main-nav{ display: flex; gap: 26px; }
.main-nav a{
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--tinta-soft);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 150ms, border-color 150ms;
}
.main-nav a:hover, .main-nav a.active{ color: var(--nogal); border-color: var(--bronce); }

.header-social{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.social-link{
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--tinta-soft); border: 1px solid var(--linea);
  transition: color 150ms, border-color 150ms, background 150ms;
}
.social-link:hover{ color: var(--nogal); border-color: var(--bronce); background: var(--beige); }
.social-link svg{ width: 16px; height: 16px; }

.btn-nav-cta{ padding: 10px 18px; font-size: 12px; flex-shrink: 0; }

.hamburger{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.hamburger span{ width: 22px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform 200ms, opacity 200ms; }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO — video de presentación a sangre completa (formato horizontal),
   texto sobrepuesto con velo oscuro, igual que las referencias.
   ========================================================================== */
.hero{ position: relative; background: var(--tinta); overflow: hidden; }
.hero-media{ position: relative; width: 100%; }
.hero-video{
  width: 100%; height: clamp(440px, 82vh, 760px); object-fit: cover;
  display: block; background: var(--tinta);
}
.hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(33,26,18,.92) 0%, rgba(33,26,18,.62) 34%, rgba(33,26,18,.08) 62%, rgba(33,26,18,0) 78%);
  pointer-events: none;
}
.sound-toggle{
  position: absolute; right: 18px; top: 18px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: rgba(33,26,18,0.72); color: var(--crema);
  border: none; border-radius: 999px; padding: 8px 14px 8px 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(4px);
}
.sound-toggle:hover{ background: var(--bronce); }

.hero-copy{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: clamp(28px, 5vw, 72px);
  max-width: 780px;
}
.hero-copy .eyebrow{ color: var(--bronce-lt); }
.hero-copy h1{ font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 18px; color: var(--crema); }
.hero-lead{ font-size: 16.5px; color: rgba(246,241,231,0.86); max-width: 46ch; margin-bottom: 24px; }
.hero-facts{ display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 28px; }
.hero-facts li{ font-size: 14px; font-weight: 600; color: rgba(246,241,231,0.92); display: flex; align-items: center; gap: 6px; }
.hero-ctas{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }

/* ==========================================================================
   ACCESOS RÁPIDOS — botones secundarios (azul celeste) que abren un
   cuadro/carrusel dentro de la misma página: reseñas, proceso de compra,
   ubicación y envíos.
   ========================================================================== */
.quick-access{ padding: 26px 24px; background: var(--beige); border-bottom: 1px solid var(--linea); }
.quick-access-inner{
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}

/* ==========================================================================
   PRUEBA SOCIAL — reseñas generales, carrusel deslizable (Capa 1)
   ========================================================================== */
.social-proof{ padding: var(--section-pad) 0 calc(var(--section-pad) - 20px); background: var(--crema); }
.social-proof .section-head{ padding: 0 24px; }

.carousel{ position: relative; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.carousel-viewport{
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
}
.carousel-viewport::-webkit-scrollbar{ display: none; }
.carousel-slide{ flex: 0 0 auto; width: min(78vw, 300px); scroll-snap-align: center; }
.carousel-slide img{
  width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--linea);
  box-shadow: 0 16px 34px -18px rgba(33,26,18,0.4);
}
.carousel-nav{ display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 18px; }
.carousel-arrow{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linea);
  background: var(--blanco); color: var(--nogal); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 150ms, border-color 150ms; flex-shrink: 0;
}
.carousel-arrow:hover{ background: var(--beige); border-color: var(--bronce); }
.carousel-dots{ display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 220px; }
.carousel-dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--linea); border: none; padding: 0; cursor: pointer;
  transition: background 150ms, transform 150ms; flex-shrink: 0;
}
.carousel-dot.active{ background: var(--bronce); transform: scale(1.3); }

.mini-reviews{ display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.mini-reviews img{
  width: 168px; border-radius: 6px; border: 1px solid rgba(246,241,231,0.18);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.55);
}

/* ==========================================================================
   MODAL — reseñas por mueble, proceso de compra, ubicación y envíos.
   Se abre dentro de la misma página, sin recargar.
   ========================================================================== */
body.modal-open{ overflow: hidden; }
.modal-overlay{
  position: fixed; inset: 0; z-index: 300;
  background: rgba(33,26,18,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms;
}
.modal-overlay.open{ opacity: 1; visibility: visible; }
.modal-dialog{
  background: var(--crema); border-radius: 8px; max-width: 580px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative;
  transform: translateY(18px) scale(.98); transition: transform 220ms ease;
  padding: clamp(26px, 4.5vw, 42px);
}
.modal-overlay.open .modal-dialog{ transform: translateY(0) scale(1); }
.modal-close{
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--beige); border: 1px solid var(--linea); color: var(--tinta);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.modal-close:hover{ background: var(--bronce-lt); }
.modal-eyebrow{ color: var(--bronce-dk); }
.modal-title{ font-size: 22px; margin: 0 30px 18px 0; }

.info-box{ background: var(--beige); border: 1px solid var(--linea); border-radius: 6px; padding: 20px 22px; }
.info-box p{ font-size: 14.5px; color: var(--tinta-soft); margin-bottom: 12px; }
.info-box p:last-child{ margin-bottom: 0; }
.info-box.steps-box ol{ display: flex; flex-direction: column; gap: 14px; counter-reset: modalstep; }
.info-box.steps-box li{
  font-size: 14.5px; color: var(--tinta-soft); padding-left: 28px; position: relative;
  counter-increment: modalstep;
}
.info-box.steps-box li::before{
  content: counter(modalstep); position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%; background: var(--bronce);
  color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.map-embed{ margin-top: 16px; border-radius: 6px; overflow: hidden; border: 1px solid var(--linea); aspect-ratio: 4 / 3; }
.map-embed iframe{ width: 100%; height: 100%; border: 0; display: block; }

.modal-carousel .carousel{ padding: 0; }
.modal-carousel .carousel-slide{ width: min(70vw, 320px); }
.modal-carousel .carousel-nav{ margin-top: 14px; }

/* ==========================================================================
   QUIÉNES SOMOS — foto real a sangre + bloque de color
   ========================================================================== */
.somos{ background: var(--beige); }
.somos-inner{
  display: grid; grid-template-columns: minmax(280px, 38%) 1fr;
  align-items: stretch; min-height: min(72vh, 620px);
}
.somos-media{ position: relative; overflow: hidden; height: 100%; }
.somos-media img{ width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.somos-copy{
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(44px, 6vw, 88px) clamp(28px, 5vw, 80px);
}
.somos-copy h2{ font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.somos-copy p{ color: var(--tinta-soft); margin-bottom: 14px; max-width: 52ch; }
.trust-chips{ display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.trust-chips li{
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--nogal); padding-left: 14px; border-left: 2px solid var(--bronce);
}

/* ==========================================================================
   ENVÍOS — franja plana, sin tarjetas ni sombras
   ========================================================================== */
.envios{ padding: var(--section-pad) 24px; }
.envios-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.envio-card{ padding: 6px 28px; text-align: left; border-left: 1px solid var(--linea); }
.envio-card:first-child{ border-left: none; padding-left: 0; }
.envio-icon{ font-size: 26px; display: block; margin-bottom: 16px; }
.envio-card h3{ font-size: 17px; margin-bottom: 8px; }
.envio-card p{ font-size: 13.5px; color: var(--tinta-soft); }

/* ==========================================================================
   CATÁLOGO — índice
   ========================================================================== */
.catalog-index{ padding: var(--section-pad) 24px 40px; background: var(--beige); }
.catalog-groups{
  max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 22px 56px;
}
.catalog-group{ display: flex; flex-direction: column; align-items: center; gap: 6px; }
.catalog-group-label{
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bronce-dk); font-weight: 600;
}
.catalog-pills{
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0;
}
.catalog-pills a{
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--tinta-soft);
  padding: 8px 16px; border-bottom: 1px solid transparent; transition: color 150ms, border-color 150ms;
}
.catalog-pills a:not(:last-child)::after{ content: "·"; margin-left: 16px; color: var(--linea); }
.catalog-pills a:hover{ color: var(--nogal); border-color: var(--bronce); }

/* ==========================================================================
   PRODUCTOS — todo en una sola pantalla: foto (con nombre y tagline ya
   integrados) + clip de video del mueble + panel de datos y CTA al lado.
   Sin tarjetas ni scroll extra para llegar al precio.
   ========================================================================== */
.product{ scroll-margin-top: 76px; }
.product-grid{
  display: grid; grid-template-columns: minmax(320px, 52%) 1fr;
  min-height: min(94vh, 840px);
}

/* columna de la foto: fondo de marca (beige) para que, si el "contain"
   deja aire alrededor de la imagen, se vea a color y no en blanco */
.product-visual{
  position: relative; overflow: hidden; background: var(--beige);
}

/* Carrusel de medios: foto y video del mueble a tamaño completo, uno junto
   al otro, deslizable. El video ya no es un clip diminuto en autoplay —
   se ve grande y solo se reproduce cuando el usuario desliza hacia él. */
.media-carousel{ position: relative; width: 100%; height: 100%; }
.media-viewport{
  display: flex; width: 100%; height: 100%; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.media-viewport::-webkit-scrollbar{ display: none; }
.media-slide{
  flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 2.6vw, 34px);
}
.media-slide picture{ width: 100%; height: 100%; display: block; }
.media-slide img, .media-slide video{ width: 100%; height: 100%; object-fit: contain; display: block; }

.media-arrow{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(33,26,18,0.55); color: #fff; backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms, transform 150ms;
}
.media-arrow:hover{ background: var(--bronce); }
.media-prev{ left: 12px; }
.media-next{ right: 12px; }

.media-dots{
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 7px;
}
.media-dot{
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.55); transition: background 150ms, transform 150ms;
}
.media-dot.active{ background: #fff; transform: scale(1.3); }

/* panel de datos: precio, specs, colchón y CTA — alterna claro / oscuro */
.product-panel{
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(30px, 4.4vw, 60px);
}
.product-panel .product-desc{ color: var(--tinta-soft); margin-bottom: 20px; max-width: 46ch; font-size: 15.5px; }

.spec-grid{ display: grid; gap: 12px; margin-bottom: 18px; }
.spec-grid h4{
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--nogal); margin-bottom: 3px; font-weight: 600;
}
.spec-grid p{ font-size: 13.5px; color: var(--tinta-soft); }

.price-row{ display: flex; align-items: baseline; gap: 12px; margin: 4px 0 16px; padding-top: 14px; border-top: 1px solid var(--linea); }
.price{ font-family: var(--font-display); font-size: 32px; color: var(--tinta); }
.price small{ font-size: 14px; font-weight: 500; }
.price-note{ font-size: 12.5px; color: var(--tinta-soft); font-weight: 600; }

.mattress-block{ border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); padding: 12px 0; margin-bottom: 16px; }
.mattress-block h4{ font-size: 12px; margin-bottom: 8px; color: var(--tinta); font-family: var(--font-body); font-weight: 700; }
.mattress-options{ display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mattress-options span{ font-size: 12.5px; font-weight: 600; }
.mattress-options em{ font-style: normal; color: var(--bronce-dk); font-weight: 500; }
.mattress-add{
  display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700;
  color: var(--bronce-dk); border-bottom: 1px solid var(--bronce-lt); padding-bottom: 1px;
}
.mattress-add:hover{ color: var(--nogal); border-color: var(--nogal); }

.fine-print{ font-size: 11.5px; color: var(--tinta-soft); margin-bottom: 18px; }
.product-panel .btn{ align-self: flex-start; }

/* variante oscura del panel, alternando por producto */
.product:nth-of-type(even) .product-panel{ background: var(--nogal); }
.product:nth-of-type(even) .product-panel .product-desc{ color: rgba(246,241,231,0.82); }
.product:nth-of-type(even) .product-panel .spec-grid h4{ color: var(--bronce-lt); }
.product:nth-of-type(even) .product-panel .spec-grid p{ color: rgba(246,241,231,0.8); }
.product:nth-of-type(even) .product-panel .price-row{ border-color: rgba(246,241,231,0.22); }
.product:nth-of-type(even) .product-panel .price{ color: var(--crema); }
.product:nth-of-type(even) .product-panel .price-note{ color: rgba(246,241,231,0.7); }
.product:nth-of-type(even) .product-panel .mattress-block{ border-color: rgba(246,241,231,0.22); }
.product:nth-of-type(even) .product-panel .mattress-block h4{ color: var(--crema); }
.product:nth-of-type(even) .product-panel .mattress-add{ color: var(--bronce-lt); }
.product:nth-of-type(even) .product-panel .mattress-add:hover{ color: var(--crema); border-color: var(--crema); }
.product:nth-of-type(even) .product-panel .fine-print{ color: rgba(246,241,231,0.65); }

/* ==========================================================================
   CÓMO COMPRAR — lista editorial plana, sin tarjetas
   ========================================================================== */
.como-comprar{ padding: var(--section-pad) 24px; background: var(--nogal); }
.como-comprar .eyebrow{ color: var(--bronce-lt); }
.como-comprar h2{ color: var(--crema); }
.steps{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.steps li{ padding: 0 28px; color: var(--crema); border-left: 1px solid rgba(246,241,231,0.22); }
.steps li:first-child{ border-left: none; padding-left: 0; }
.step-num{
  font-family: var(--font-mono); font-size: 13px; color: var(--bronce-lt);
  display: block; margin-bottom: 16px; letter-spacing: 0.06em;
}
.steps h3{ color: var(--crema); font-size: 19px; margin-bottom: 8px; }
.steps p{ color: rgba(246,241,231,0.78); font-size: 14px; }
.payment-methods{
  max-width: var(--container); margin: 34px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(246,241,231,0.22);
  font-size: 13.5px; color: rgba(246,241,231,0.7); text-align: center;
}

/* ==========================================================================
   CTA FINAL — bloque oscuro, cierre editorial que hace juego con el hero
   ========================================================================== */
.final-cta{ padding: var(--section-pad) 24px; text-align: center; background: var(--nogal); }
.final-cta-inner{ max-width: 640px; margin: 0 auto; }
.final-cta .eyebrow{ color: var(--bronce-lt); }
.final-cta h2{ font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; color: var(--crema); }
.final-cta p{ color: rgba(246,241,231,0.82); font-size: 16.5px; margin-bottom: 30px; }
.final-facts{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin-bottom: 34px;
  font-family: var(--font-mono); font-size: 12.5px; color: rgba(246,241,231,0.75);
}
.final-facts li{ padding: 0 14px; }
.final-facts li:not(:last-child)::after{ content: "·"; margin-left: 14px; color: rgba(246,241,231,0.35); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--tinta); color: rgba(246,241,231,0.82); padding: 56px 24px 24px; }
.footer-inner{
  max-width: var(--container); margin: 0 auto 32px;
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px;
}
.footer-brand{ display: flex; flex-direction: column; gap: 12px; }
.footer-brand img{ border-radius: 50%; }
.footer-brand p{ font-size: 13.5px; line-height: 1.6; color: rgba(246,241,231,0.65); max-width: 30ch; }
.footer-social{ display: flex; gap: 10px; margin-top: 4px; }
.footer-social .social-link{ border-color: rgba(246,241,231,0.25); color: rgba(246,241,231,0.85); }
.footer-social .social-link:hover{ color: var(--crema); border-color: var(--bronce-lt); background: rgba(246,241,231,0.08); }
.footer-col h4{
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--bronce-lt); margin-bottom: 12px; font-weight: 600;
}
.footer-col p, .footer-col a{ font-size: 13.5px; color: rgba(246,241,231,0.75); display: block; margin-bottom: 8px; }
.footer-col a:hover{ color: var(--crema); text-decoration: underline; }
.footer-copy{
  text-align: center; font-size: 12px; color: rgba(246,241,231,0.45);
  border-top: 1px solid rgba(246,241,231,0.14); padding-top: 20px; max-width: var(--container); margin: 0 auto;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.45);
  transition: transform 180ms ease;
}
.wa-float:hover{ transform: scale(1.08); }

/* micro-interacciones sutiles */
.media-slide img, .somos-media img{ transition: transform 500ms ease; }
.media-slide:hover img, .somos-media:hover img{ transform: scale(1.02); }
.envio-card, .steps li{ transition: transform 250ms ease; }
.envio-card:hover, .steps li:hover{ transform: translateY(-3px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px){
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
  .envios-grid{ grid-template-columns: repeat(2, 1fr); }
  .envios-grid .envio-card:nth-child(2){ border-left: 1px solid var(--linea); }
  .envios-grid .envio-card:nth-child(odd){ border-left: none; padding-left: 0; }
  .steps{ grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps li:nth-child(odd){ border-left: none; padding-left: 0; }
  .steps li:nth-child(2){ border-left: 1px solid rgba(246,241,231,0.22); padding-left: 28px; }
}

@media (max-width: 900px){
  .main-nav{
    position: fixed; inset: 68px 0 auto 0; background: var(--crema);
    flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--linea);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    padding: 8px 24px 16px;
  }
  .main-nav.open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a{ padding: 14px 4px; border-bottom: 1px solid var(--linea); }
  .hamburger{ display: flex; }
  .btn-nav-cta{ display: none; }
  .header-social{ display: none; }

  .hero-video{ height: 58vh; min-height: 380px; }

  .somos-inner{ grid-template-columns: 1fr; min-height: 0; }
  .somos-media{ height: 56vh; max-height: 460px; }

  .product-grid{ grid-template-columns: 1fr; min-height: 0; }
  .product-visual{ aspect-ratio: 1 / 1; }
  .media-slide{ padding: 18px; }
  .media-arrow{ width: 34px; height: 34px; }
}

@media (max-width: 640px){
  .header-inner{ padding: 10px 16px; }
  .brand-name{ font-size: 14.5px; }
  .envios-grid{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .steps li{ border-left: none !important; padding-left: 0 !important; border-top: 1px solid rgba(246,241,231,0.22); padding-top: 20px; }
  .steps li:first-child{ border-top: none; padding-top: 0; }
  .price{ font-size: 26px; }
  .wa-float{ width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .btn{ width: 100%; }
  .product-panel .btn{ width: 100%; }
  .btn-text{ width: auto; }
  .envios, .catalog-index, .como-comprar, .final-cta{ padding-left: 16px; padding-right: 16px; }
  .hero-copy, .somos-copy{ padding-left: 20px; padding-right: 20px; }
  .product-panel{ padding-left: 20px; padding-right: 20px; }
  .product-actions{ width: 100%; }
  /* Los botones secundarios (reseñas / proceso de compra / ubicación)
     se quedan compactos y en fila incluso en móvil — que no se estiren
     como el de WhatsApp, si no ocupan demasiado alto entre cada mueble. */
  .product-actions .btn-secondary,
  .quick-access-inner .btn-secondary{ width: auto; flex: 0 1 auto; }
  .quick-access, .carousel{ padding-left: 16px; padding-right: 16px; }
  .modal-dialog{ padding-left: 20px; padding-right: 20px; }
}
