/* ============================================================
   TEMA LAUSTIC · tokens extraídos de LAUSTIC-diseño-v3.html
   Capa A del theming (maestro §7): editar este archivo
   reestiliza el sitio entero sin tocar componentes.
   ============================================================ */

:root {
  /* — Paleta de marca — */
  --beige:       #F4EFE8;
  --beige-dark:  #EAE3D9;
  --cream:       #FAF8F5;
  --white:       #FFFFFF;
  --ink:         #1C1C1A;
  --ink-light:   #4A4A46;
  --ink-muted:   #8A8A84;
  --gold:        #8B7355;
  --gold-light:  #B09A7A;
  --border:      rgba(28,28,26,0.10);
  --border-soft: rgba(28,28,26,0.06);
  --ease:        cubic-bezier(0.25, 1, 0.5, 1);

  /* — Indirección semántica (cambiar marca sin tocar maquetación) — */
  --color-bg:        var(--cream);
  --color-bg-alt:    var(--beige);
  --color-surface:   var(--white);
  --color-text:      var(--ink);
  --color-text-soft: var(--ink-light);
  --color-text-mute: var(--ink-muted);
  --color-accent:    var(--gold);
  --color-accent-2:  var(--gold-light);
  --color-inverse:   var(--ink);

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Jost', sans-serif;
}

*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement {
  background: var(--color-inverse);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.announcement strong { color: var(--color-accent-2); font-weight: 400; }

/* ─── HEADER ─── */
/* Las 3 franjas (announcement + header + franja) se fijan como bloque: .header-stack. */
.header-stack { position: sticky; top: 0; z-index: 200; }
.header-stack:has(#mainHeader.scrolled) { box-shadow: 0 1px 24px rgba(28,28,26,0.07); }

header.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s var(--ease);
}

.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}
.nav-left, .nav-right { display: flex; gap: 36px; align-items: center; }
.nav-right { justify-content: flex-end; }

.nav-link {
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-soft);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--color-accent); }

.logo {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
}

.nav-icon {
  width: 17px; height: 17px;
  stroke: var(--color-text-soft);
  stroke-width: 1.2;
  fill: none;
  cursor: pointer;
  transition: stroke 0.3s;
  flex-shrink: 0;
}
.nav-icon:hover { stroke: var(--color-accent); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
/* Iconos del header adecuados a la marca LAUSTIC (lujo sobrio: tinta, círculos finos). */
.hdr-actions { --hdr-act-border: rgba(26,22,18,0.20); --hdr-act-color: var(--color-text, #1a1a1a); --hdr-wa-bg: var(--color-text, #1f1b16); --hdr-wa-color: var(--color-bg, #f4efe8); --hdr-badge-bg: var(--color-accent, #9a6a3a); --hdr-act-radius: 50%; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-bg);
  z-index: 1002;                 /* por encima del header (200) y del cluster de acciones */
  flex-direction: column;
  align-items: flex-start;       /* links arriba-izquierda, no centrados/abajo */
  justify-content: flex-start;
  gap: 22px;
  padding: 84px 28px 32px;       /* despeja el botón de cerrar (arriba-derecha) */
  opacity: 0;
  overflow-y: auto;
  transition: opacity 0.4s var(--ease);
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
.mobile-nav-close {
  position: absolute;
  top: 28px; right: 28px;
  background: none; border: none;
  cursor: pointer; font-size: 24px;
  color: var(--color-text-soft);
}

/* ─── TICKER ─── */
.ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background: var(--color-bg-alt);
  padding: 13px 0;
}
/* Franja estática: fila centrada de atributos (antes marquee animado). */
.ticker-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; width: 100%; }
.ticker-track span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-mute);
  padding: 0 clamp(16px, 3vw, 34px);
  white-space: nowrap;
}
.ticker-track span em { font-style: normal; color: var(--color-accent); margin-right: 8px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: var(--hero-h);   /* núcleo: peek ~72vh — invita a bajar (antes 100vh tapaba todo) */
  overflow: hidden;
  background: var(--beige-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(244,239,232,0.97) 0%,
    rgba(244,239,232,0.82) 42%,
    rgba(244,239,232,0.20) 72%,
    rgba(244,239,232,0.0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;   /* centra verticalmente el .container interno */
}
/* Columna de texto del hero: el ANCHO de lectura; la alineación lateral la da .container. */
.hero-content-inner { max-width: 580px; }
.hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.30em;
  color: var(--color-accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.hero h1 { font-size: clamp(40px, 4.5vw, 62px); color: var(--color-text); margin-bottom: 22px; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--color-text-soft); }
.hero-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-soft);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-scroll span { font-size: 9px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--color-text-mute); }
.scroll-line { width: 1px; height: 40px; background: var(--border); position: relative; overflow: hidden; }
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--color-accent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  padding: 13px 36px;
  background: var(--color-inverse);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: background 0.3s var(--ease), transform 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--color-accent); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 12px 36px;
  border: 1px solid var(--border);
  color: var(--color-text-soft);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ─── CATÁLOGO (modo editorial) ─── */
.collection { padding: 100px 0 120px; background: var(--color-surface); }

.section-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--color-accent); flex-shrink: 0; }
.section-intro h2 { font-size: clamp(28px, 3vw, 40px); color: var(--color-text); }
.section-intro .btn-ghost { margin-bottom: 4px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-soft);
}
.product-card { background: var(--color-bg); display: block; position: relative; cursor: pointer; }
.product-img-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--color-bg-alt); position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(244,239,232,0.95) 0%, rgba(244,239,232,0) 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex; justify-content: center;
}
.product-card:hover .product-hover { opacity: 1; transform: translateY(0); }

.btn-see {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  border: 1px solid var(--color-inverse);
  padding: 9px 22px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}
.btn-see:hover { background: var(--color-inverse); color: var(--cream); }

.product-info { padding: 20px 20px 28px; }
.product-info h3 { font-size: 17px; font-weight: 400; margin-bottom: 6px; color: var(--color-text); }
.product-info .price { font-size: 12px; font-weight: 400; color: var(--color-accent); letter-spacing: 0.06em; }

.product-badge-cat {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-mute);
  display: block;
  margin-bottom: 6px;
}
.product-agotado {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-mute);
  border: 1px solid var(--border);
  padding: 4px 10px;
  display: inline-block;
  margin-top: 8px;
}

/* ─── FOOTER ─── */
footer.site-footer { background: var(--color-inverse); color: var(--cream); padding: 100px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer-brand p { font-size: 12.5px; color: rgba(255,255,255,0.38); line-height: 1.8; max-width: 280px; margin-bottom: 32px; }
.footer-socials { display: flex; gap: 18px; }
.footer-socials a svg { width: 17px; height: 17px; stroke: rgba(255,255,255,0.35); stroke-width: 1.2; fill: none; transition: stroke 0.3s; }
.footer-socials a:hover svg { stroke: var(--color-accent-2); }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--color-accent-2);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.38); transition: color 0.3s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; }
.footer-watermark {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  color: rgba(255,255,255,0.03);
  letter-spacing: 0.15em;
  user-select: none;
  line-height: 1;
}

/* ─── FLOAT WHATSAPP ─── */
.float-wha {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-wha:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.45); }
.float-wha svg { width: 24px; height: 24px; fill: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
}
@media (max-width: 900px) {
  /* Móvil: no fijar las 3 franjas (comerían mucha pantalla); solo la barra de navegación. */
  .header-stack { position: static; box-shadow: none; }
  header.site-header { position: sticky; top: 0; z-index: 200; }
  .nav-left, .nav-right > nav { display: none; }  /* ocultar solo los links; conservar hamburguesa + .hdr-actions */
  .hamburger { display: flex; }
  .nav-bar { grid-template-columns: auto 1fr auto; }
  .logo { text-align: left; }
  .hero-content-inner { max-width: 100%; }  /* el .container ya aporta el gutter (32px) */
  .hero-veil { background: linear-gradient(180deg, rgba(244,239,232,0.92) 0%, rgba(244,239,232,0.75) 100%); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-intro { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .products-grid { grid-template-columns: 1fr; background: transparent; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { text-align: center; }
  /* Hero a la altura de su contenido (sin 100vh que dejaba enorme vacío vertical);
     contenido arriba, no centrado. */
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-content { height: auto; align-items: stretch; padding: 30px 0 34px; }  /* gutter lateral = .container (14px); hero móvil más bajo */
  .hero-sub { margin-bottom: 0; }  /* sin CTA debajo: no dejar hueco extra */
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-scroll { display: none; }  /* indicador de scroll innecesario en móvil */
}
