/* ==========================================================================
   ALMA LICORES — Propuesta 1 · Hero + Curtain Reveal
   Reglas: sin rounded-full en CTAs, sin shadow-2xl, sin degradados neon
   ========================================================================== */

:root {
  --sand: #f6f4ee;
  --sand-deep: #ebe6dc;
  --sand-soft: #faf8f3;
  --linen: #e2ddd5;
  --ink: #18181b;
  --ink-muted: #3f3f46;
  --ink-soft: #71717a;
  --olive: #3a4636;
  --olive-deep: #2c3529;
  --olive-mist: #5c6b56;
  --copper: #8a6b4a;
  --copper-soft: #b08a62;
  --charcoal: #141513;
  --line: rgba(24, 24, 27, 0.12);
  --line-strong: rgba(24, 24, 27, 0.28);

  --font-display: "Casko Luxury", "Denton", "Times New Roman", serif;
  --font-serif: "Denton", "Casko Luxury", Georgia, serif;
  --font-sans: "Systemia", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Systemia", "SF Mono", "Consolas", "Liberation Mono", monospace;

  --pad-x: clamp(1.25rem, 3.5vw, 4rem);
  --header-h: 4.5rem;
  --announce-h: 2.1rem;
  --chrome-h: calc(var(--announce-h) + var(--header-h));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-theater: cubic-bezier(0.76, 0, 0.24, 1);
  --radius: 0;
  --hero-max: 1400px;
  --title-size: clamp(2.35rem, 6vw, 4.35rem);
  /* Presupuesto de alto (vh) y ancho (vw/columna) — SIEMPRE en pareja.
     La altura real usada es el minimo entre ambos para que width/height
     nunca se desincronicen (evita el "letterbox" invisible responsive). */
  --bottle-h: clamp(280px, 72vh, 720px);
  --bottle-w-max: clamp(200px, 60vw, 420px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--sand);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(
      ellipse 70% 45% at 85% 15%,
      rgba(90, 107, 86, 0.05),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 35% at 8% 85%,
      rgba(138, 107, 74, 0.04),
      transparent 50%
    );
}

body.is-introing {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ==========================================================================
   INTRO CURTAIN
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  transform: translateY(0);
  transition: transform 1.15s var(--ease-theater);
  will-change: transform;
}

body.is-revealed .intro {
  transform: translateY(-105%);
  pointer-events: none;
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
}

.intro__mark {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.92);
  animation: intro-mark 0.9s var(--ease) 0.1s forwards;
}

.intro__wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  font-weight: 400;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: intro-track 1.05s var(--ease) 0.2s forwards;
}

.intro__est {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 55%, transparent);
  opacity: 0;
  animation: intro-est 0.8s var(--ease) 0.45s forwards;
}

@keyframes intro-mark {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-track {
  from {
    opacity: 0;
    letter-spacing: 0.08em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.42em;
  }
}

@keyframes intro-est {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   REVEAL STAGGER (post-curtain)
   ========================================================================== */

.reveal-item {
  opacity: 0;
}

body.is-revealed .reveal-item[data-reveal="chrome"] {
  animation: fade-rise 0.7s var(--ease) 0.05s forwards;
}

body.is-revealed .reveal-item[data-reveal="title"] {
  opacity: 1;
}

body.is-revealed .reveal-item[data-reveal="bottle"] {
  animation: bottle-rise 1.15s var(--ease) 0.35s forwards;
}

body.is-revealed .reveal-item[data-reveal="meta"] {
  animation: fade-rise 0.85s var(--ease) 0.7s forwards;
}

.hero__title-mask {
  display: block;
  overflow: hidden;
}

.hero__title-line {
  display: block;
  transform: translateY(110%);
}

body.is-revealed .hero__title-line {
  animation: title-unmask 1s var(--ease) forwards;
}

body.is-revealed .hero__title-mask:nth-child(1) .hero__title-line {
  animation-delay: 0.15s;
}
body.is-revealed .hero__title-mask:nth-child(2) .hero__title-line {
  animation-delay: 0.28s;
}
body.is-revealed .hero__title-mask:nth-child(3) .hero__title-line {
  animation-delay: 0.4s;
}

@keyframes title-unmask {
  to {
    transform: translateY(0);
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bottle-rise {
  from {
    opacity: 0;
    transform: translateY(2.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   CHROME
   ========================================================================== */

.announce {
  background: var(--olive-deep);
  color: var(--sand-soft);
  text-align: center;
  padding: 0.55rem var(--pad-x);
}

.announce p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--sand) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0 var(--pad-x);
  max-width: var(--hero-max);
  margin: 0 auto;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-self: start;
}

.nav-primary__list,
.nav-utility__list {
  display: none;
  gap: 1.75rem;
}

.nav-primary__list a,
.nav-utility__list a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.35s var(--ease);
}

.nav-primary__list a:hover,
.nav-utility__list a:hover,
.nav-primary__list a:focus-visible,
.nav-utility__list a:focus-visible {
  color: var(--ink);
  outline: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2rem;
  height: 2rem;
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  justify-self: center;
  text-align: center;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
}

.brand__wordmark {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  justify-self: end;
}

.locale {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.locale__btn {
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.locale__btn.is-active,
.locale__btn:hover,
.locale__btn:focus-visible {
  color: var(--ink);
  outline: none;
}
.locale__sep {
  color: var(--line-strong);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--sand) 96%, transparent);
  backdrop-filter: blur(10px);
  padding: 1.25rem var(--pad-x) 1.75rem;
  box-shadow: 0 12px 28px rgba(24, 24, 27, 0.08);
  /* Overlay: no empuja el hero hacia abajo */
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: var(--hero-max);
  margin: 0 auto;
  min-height: calc(100svh - var(--chrome-h));
  padding: clamp(1rem, 2.8vh, 3rem) var(--pad-x) 0;
  overflow: visible;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.5vh, 3rem);
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}

.hero__copy {
  max-width: 34rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 clamp(0.75rem, 2vh, 1.5rem);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-mist);
}

.eyebrow__line {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--olive-mist);
  flex-shrink: 0;
}

.hero__title {
  margin: 0 0 clamp(0.85rem, 2vh, 1.35rem);
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  color: var(--olive);
}

.hero__lede {
  margin: 0 0 clamp(1.1rem, 2.5vh, 2rem);
  max-width: 28rem;
  font-family: var(--font-serif);
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* Variantes mobile / desktop — ocultas por defecto segun contexto */
.hero__lede--mobile,
.hero__note,
.btn__label--mobile {
  display: none;
}

.hero__note {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  text-align: center;
}

.hero__note-sep {
  margin: 0 0.45rem;
  opacity: 0.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.btn:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.btn--solid {
  background: var(--olive-deep);
  color: var(--sand-soft);
  border-color: var(--olive-deep);
}

.btn--solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--sand-deep) 70%, transparent);
}

/* ==========================================================================
   SPECS STRIP — ficha tecnica (no cards)
   ========================================================================== */

.hero__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
  flex-shrink: 0;
}

.spec {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0;
}

.spec + .spec {
  border-top: 1px solid var(--linen);
}

.spec dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}

.spec dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
}

@media (min-width: 720px) {
  .hero__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1.15rem 0;
  }

  .spec {
    padding: 0 1.5rem;
  }

  .spec:first-child {
    padding-left: 0;
  }

  .spec + .spec {
    border-top: none;
    border-left: 1px solid var(--linen);
  }
}

/* ==========================================================================
   PRODUCT STAGE — botella libre
   ========================================================================== */

.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.product-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0 1rem;
}

/* Meta del producto — lista vertical anclada arriba-derecha del stage,
   independiente de la botella (antes se rompia en varias lineas por los
   separadores "·" al hacer wrap). Ajusta estas 2 variables para calzar
   el margen superior con el del titulo de la izquierda:
   --meta-top   : distancia desde el borde superior del stage (+ baja / - sube)
   --meta-right : distancia desde el borde derecho del stage (+ acerca al centro) */
.product-stage__meta {
  --meta-top: 0px;
  --meta-right: 0px;
  position: absolute;
  z-index: 3;
  top: var(--meta-top);
  right: var(--meta-right);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #78716c; /* stone-500 */
  line-height: 1.2;
}

.product-stage__meta li {
  white-space: nowrap;
}

.product-stage__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.product-stage__bottle {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;

  /* Ajuste manual de "shadown.png" — la elipse ya viene centrada en su
     lienzo, pero deja estas variables por si hace falta nudge fino:
     --shadow-w : ancho de la sombra respecto al ancho de la botella
     --shadow-x : desplazamiento horizontal (+ derecha / - izquierda)
     --shadow-y : desplazamiento vertical   (+ abajo   / - arriba) */
  --shadow-w: 70%;
  --shadow-x: 0px;
  --shadow-y: 50px;
}

/* Carrusel: 3 botellas apiladas; solo .is-active es visible */
.product-stage__carousel {
  position: relative;
  z-index: 2;
  height: min(var(--bottle-h), calc(var(--bottle-w-max) * 1.5));
  width: min(
    var(--bottle-w-max),
    calc(min(var(--bottle-h), calc(var(--bottle-w-max) * 1.5)) * 2 / 3)
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.product-stage__bottle-img {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  /* 520x780 = ratio 2/3. Altura real = el MENOR entre el presupuesto de
     alto (--bottle-h, en vh) y el equivalente en alto que permite el ancho
     disponible (--bottle-w-max * 1.5). Con aspect-ratio fijo, width se
     deriva siempre de esa misma altura: nunca hay caja mas alta que el
     contenido visible (sin letterbox, sin desalineacion de sello/sombra). */
  height: min(var(--bottle-h), calc(var(--bottle-w-max) * 1.5));
  width: auto;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: contrast(1.28) brightness(0.92) saturate(1.05);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: opacity;
}

.product-stage__bottle-img.is-active {
  opacity: 1;
  z-index: 3;
}

/* Sombra real (PNG) — reemplaza las elipses CSS. multiply elimina el
   fondo blanco del PNG (no tiene alpha real) contra el fondo del hero. */
.product-stage__shadow-img {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 2%;
  width: var(--shadow-w);
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translate(calc(-50% + var(--shadow-x)), var(--shadow-y));
  transform-origin: center bottom;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}

/* Strip pilares */
.hero__strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: auto;
  flex-shrink: 0;
  padding: clamp(1rem, 2.5vh, 1.5rem) 0 clamp(1.25rem, 3vh, 2.25rem);
  border-top: none;
}

.hero__strip p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__strip span {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--copper);
  text-transform: none;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .intro {
    transition: opacity 0.4s ease;
  }

  body.is-revealed .intro {
    transform: none;
    opacity: 0;
  }

  .intro__mark,
  .intro__wordmark,
  .intro__est {
    animation: none !important;
    opacity: 1;
    letter-spacing: 0.28em;
    transform: none;
  }

  .reveal-item,
  .hero__title-line {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }

  .product-stage__bottle-img {
    transition: none;
  }
}

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */

@media (min-width: 640px) {
  .hero__strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-primary__list,
  .nav-utility__list {
    display: flex;
  }

  .brand__mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand__wordmark {
    font-size: 0.875rem;
    letter-spacing: 0.32em;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
  }

  .hero__stage {
    justify-content: center;
  }

  :root {
    --title-size: clamp(2.6rem, 4vw, 3.85rem);
    --bottle-h: clamp(360px, 74vh, 760px);
    --bottle-w-max: clamp(260px, 30vw, 420px);
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  :root {
    --header-h: 3.75rem;
    --title-size: clamp(2.1rem, 3.4vw, 2.85rem);
    --bottle-h: clamp(280px, 68vh, 480px);
    --bottle-w-max: clamp(200px, 24vw, 340px);
  }

  .announce {
    padding: 0.4rem var(--pad-x);
  }
  .announce p {
    font-size: 0.625rem;
  }
  .site-header__inner {
    min-height: var(--header-h);
  }
  .brand {
    gap: 0.2rem;
  }
  .brand__mark {
    width: 1.85rem;
    height: 1.85rem;
  }
  .brand__wordmark {
    font-size: 0.75rem;
    letter-spacing: 0.26em;
  }
  .hero {
    padding-top: 0.75rem;
  }
  .btn {
    min-height: 2.6rem;
    padding: 0.65rem 1.35rem;
  }
  .hero__specs {
    margin-top: 1rem;
    padding: 0.85rem 0;
  }
  .spec dd {
    font-size: 0.75rem;
  }
  .hero__strip {
    padding: 0.85rem 0 1rem;
  }
  .hero__strip p {
    font-size: 0.6875rem;
  }
}

@media (min-width: 900px) and (min-height: 821px) and (max-height: 960px) {
  :root {
    --title-size: clamp(2.35rem, 3.7vw, 3.25rem);
    --bottle-h: clamp(340px, 70vh, 560px);
    --bottle-w-max: clamp(240px, 26vw, 380px);
  }
}

@media (min-width: 1100px) and (min-height: 900px) {
  :root {
    --title-size: clamp(3.25rem, 4.2vw, 4.5rem);
    --bottle-h: clamp(420px, 76vh, 780px);
    --bottle-w-max: clamp(340px, 28vw, 520px);
  }
}

@media (min-width: 900px) and (min-height: 961px) {
  .hero__grid {
    align-content: center;
  }
}

@media (min-width: 1600px) {
  :root {
    --hero-max: 1680px;
    --pad-x: clamp(2rem, 4vw, 5rem);
    --title-size: clamp(4.25rem, 3.8vw, 5.5rem);
    --bottle-h: clamp(480px, 78vh, 820px);
    --bottle-w-max: clamp(400px, 26vw, 520px);
  }

  .site-header__inner {
    max-width: var(--hero-max);
  }
  .hero__copy {
    max-width: 38rem;
  }
}

@media (min-width: 1920px) {
  :root {
    --hero-max: 1760px;
    --title-size: clamp(4.5rem, 3.6vw, 5.85rem);
    --bottle-h: clamp(520px, 78vh, 880px);
    --bottle-w-max: clamp(440px, 24vw, 560px);
  }
}

@media (max-width: 899px) {
  :root {
    --announce-h: 0px;
    --header-h: 3.5rem;
    --chrome-h: var(--header-h);
    --title-size: clamp(1.875rem, 8vw, 2.35rem); /* ~text-3xl */
    --bottle-h: min(62vh, 520px);
    --bottle-w-max: min(78vw, 340px);
    --pad-x: 1.25rem;
  }

  body {
    height: 100svh;
    overflow: hidden;
  }

  .announce {
    display: none;
  }

  /* ---- Navbar móvil limpio ---- */
  .site-header {
    position: relative;
  }

  .site-header__inner {
    min-height: var(--header-h);
    gap: 0.5rem;
  }

  .nav-toggle__line {
    height: 1.5px;
  }

  .brand {
    gap: 0.2rem;
  }

  .brand__mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .brand__wordmark {
    font-size: 0.6875rem;
    letter-spacing: 0.26em;
  }

  /* Idioma a la derecha (hamburguesa izq / logo centro) */
  .locale {
    display: flex;
  }

  /* ---- Variantes: mostrar mobile, ocultar desktop ---- */
  .hero__lede--desk,
  .btn__label--desk,
  .btn--ghost,
  .product-stage__meta,
  .hero__specs,
  .hero__strip,
  .hero__title-mask--desk,
  .eyebrow__line {
    display: none;
  }

  .hero__lede--mobile {
    display: block;
  }

  .hero__note {
    display: block;
  }

  .btn__label--mobile {
    display: inline;
  }

  /* ---- Hero: un viewport, sin scroll ---- */
  .hero {
    height: calc(100svh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    min-height: 0;
    padding: 0.65rem var(--pad-x) 1rem;
    overflow: hidden;
  }

  /*
    Orden editorial mobile (display:contents en wrappers):
    1 eyebrow → 2 título → 3 botella → 4 lede → 5 note → 6 CTA
  */
  .hero__grid {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .hero__copy {
    display: contents;
  }

  .eyebrow {
    order: 1;
    justify-content: center;
    width: 100%;
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: #78716c; /* stone-500 */
    text-align: center;
  }

  .hero__title {
    order: 2;
    width: 100%;
    margin: 0;
    text-align: center;
    line-height: 1.08;
  }

  .hero__stage {
    order: 3;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .product-stage {
    width: 100%;
    max-width: none;
    padding: 0;
    height: 100%;
    justify-content: flex-end;
  }

  .product-stage__visual {
    height: 100%;
    align-items: flex-end;
  }

  .product-stage__bottle {
    height: 100%;
    justify-content: flex-end;
    /* Sombra de contacto CSS (fina + halo) — el PNG se oculta en mobile */
    --shadow-w: 0%;
    --shadow-y: 0px;
  }

  .product-stage__shadow-img {
    display: none;
  }

  .product-stage__carousel {
    height: min(var(--bottle-h), calc(var(--bottle-w-max) * 1.5), 65vh);
    width: min(
      var(--bottle-w-max),
      calc(min(var(--bottle-h), calc(var(--bottle-w-max) * 1.5), 65vh) * 2 / 3)
    );
  }

  .product-stage__bottle-img {
    height: min(var(--bottle-h), calc(var(--bottle-w-max) * 1.5));
    max-height: 65vh;
    filter:
      contrast(1.28) brightness(0.92) saturate(1.05)
      drop-shadow(0 2px 3px rgba(30, 27, 24, 0.45))
      drop-shadow(0 8px 14px rgba(30, 27, 24, 0.18));
  }

  .hero__lede--mobile {
    order: 4;
    width: 100%;
    max-width: 22rem;
    margin: 0.15rem 0 0;
    padding: 0 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: center;
    color: var(--ink-muted);
  }

  .hero__note {
    order: 5;
    width: 100%;
    margin: 0.1rem 0 0.35rem;
  }

  .hero__actions {
    order: 6;
    width: 100%;
    max-width: 20rem; /* max-w-xs */
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 899px) and (max-height: 700px) {
  :root {
    --title-size: clamp(1.5rem, 5.5vw, 1.85rem);
    --bottle-h: min(52vh, 360px);
    --bottle-w-max: min(68vw, 260px);
  }

  .hero {
    padding-top: 0.4rem;
    padding-bottom: 0.65rem;
  }

  .hero__grid {
    gap: 0.35rem;
  }

  .hero__lede--mobile {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .btn {
    min-height: 2.4rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.625rem;
  }
}

@media (max-width: 899px) and (max-height: 620px) {
  .hero__lede--mobile,
  .hero__note {
    display: none;
  }

  :root {
    --bottle-h: min(56vh, 380px);
    --bottle-w-max: min(72vw, 280px);
  }
}

@media (max-width: 899px) and (max-height: 760px) and (orientation: landscape) {
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-rows: auto auto auto 1fr;
    gap: 0.4rem 0.85rem;
    align-items: center;
  }

  .hero__copy {
    display: contents;
  }

  .eyebrow {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    text-align: left;
  }

  .hero__title {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  .hero__lede--mobile {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    max-width: none;
    padding: 0;
  }

  .hero__note {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    text-align: left;
    margin-top: 2.2rem;
  }

  .hero__actions {
    grid-column: 1;
    grid-row: 4;
    max-width: none;
    align-self: end;
  }

  .hero__stage {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: stretch;
  }

  :root {
    --bottle-h: min(70vh, 320px);
    --bottle-w-max: min(36vw, 200px);
    --title-size: clamp(1.35rem, 3.5vw, 1.85rem);
  }

  .btn {
    width: auto;
    align-self: flex-start;
  }
}
