/* =========================================================
   Mezcal Doble Cobre — hoja de estilos
   ========================================================= */

@font-face {
  font-family: "Grift";
  src: url("../fonts/grift-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --adobe: #EDE2D0;
  --adobe-2: #E5D6BE;
  --terracota: #DE6A3F;
  --granate: #700F11;
  --granate-2: #5A0B0D;
  --granate-deep: #4A0A0B;
  --tinta: #3A211B;
  --tinta-cobre: #2B0A08;
  --blanco: #fff;

  --f-titulo: "Grift", "Iowan Old Style", Georgia, serif;
  --f-texto: "Google Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ancho: 90%;
  --ancho-max: none;
  --header-h: 92px;
  --radio: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .12 .085 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--grano), var(--adobe);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
strong { font-weight: 700; }
::selection { background: var(--granate); color: var(--adobe); }

:focus-visible {
  outline: 3px solid var(--granate);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem; top: -100px;
  z-index: 300;
  padding: .8rem 1.2rem;
  background: var(--granate);
  color: var(--adobe);
  border-radius: 999px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: var(--ancho);
  max-width: var(--ancho-max);
  margin-inline: auto;
}

/* ---------- Elementos comunes ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
  font-family: var(--f-texto);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--granate);
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--terracota);
  flex: none;
}
.eyebrow--light { color: var(--adobe); }

.section { padding-block: clamp(4.5rem, 8vw, 8.5rem); position: relative; }
.section-head {
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}
.section-head h2 {
  font-size: clamp(2.2rem, 1.25rem + 2.9vw, 4.1rem);
  color: var(--granate);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-lead {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem);
  line-height: 1.6;
}
.section-head--center .section-lead { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-width: 128px;
  min-height: 52px;
  padding: .9rem 1.9rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--granate {
  background: var(--granate);
  color: var(--adobe);
  box-shadow: 0 14px 28px -14px rgba(112, 15, 17, .7);
}
.btn--granate:hover { background: var(--granate-2); }
.btn--linea {
  border: 1.5px solid var(--granate);
  color: var(--granate);
}
.btn--linea:hover { background: var(--granate); color: var(--adobe); }

.sol { fill: currentColor; pointer-events: none; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Revelado al hacer scroll ---------- */
html.reveal-on [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
html.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Encabezado
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(237, 226, 208, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid rgba(112, 15, 17, .1);
  transition: box-shadow .35s, background-color .35s;
}
.site-header.is-scrolled {
  background: rgba(237, 226, 208, .96);
  box-shadow: 0 10px 34px -22px rgba(74, 10, 11, .55);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  height: var(--header-h);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.4vw, 1.4rem);
  flex: none;
}
.brand { display: block; flex: none; }
.brand img { height: 64px; width: auto; }

.social { display: flex; align-items: center; }
.social a { display: grid; place-items: center; transition: color .25s, background-color .25s, transform .3s var(--ease); }
.social svg { width: 18px; height: 18px; }
.social--header {
  gap: .15rem;
  padding-left: clamp(.75rem, 1.4vw, 1.3rem);
  border-left: 1px solid rgba(112, 15, 17, .22);
}
.social--header a {
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--granate);
}
.social--header a:hover { color: var(--adobe); background: var(--granate); transform: translateY(-1px); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 2.4rem); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: .4rem;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--granate);
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-activo::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .75rem; flex: none; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .7rem 1.35rem .7rem 1.1rem;
  border-radius: 999px;
  background: var(--granate);
  color: var(--adobe);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 12px 24px -14px rgba(112, 15, 17, .8);
  transition: background-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn-wa svg { width: 20px; height: 20px; }
.btn-wa:hover { background: var(--granate-2); transform: scale(1.06); box-shadow: 0 16px 28px -14px rgba(112, 15, 17, .9); }

.idioma {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid rgba(112, 15, 17, .28);
  border-radius: 999px;
}
.idioma a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .55rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--granate);
  transition: background-color .25s, color .25s;
}
.idioma a:hover { background: rgba(112, 15, 17, .08); }
.idioma a.is-actual { background: var(--granate); color: var(--adobe); }
.idioma--edad {
  position: absolute;
  top: clamp(.75rem, 2vw, 1.25rem);
  right: clamp(.75rem, 2vw, 1.25rem);
  z-index: 2;
  background: rgba(237, 226, 208, .85);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(112, 15, 17, .3);
}
.menu-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--granate);
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1279.98px) {
  .menu-toggle { display: block; }
  .main-nav + .header-actions { margin-left: auto; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: block;
    background: var(--grano), var(--adobe);
    border-bottom: 1px solid rgba(112, 15, 17, .15);
    box-shadow: 0 30px 40px -30px rgba(74, 10, 11, .5);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s linear .35s;
  }
  .main-nav.is-abierto {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s, transform .35s var(--ease), visibility 0s;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: var(--ancho);
    margin-inline: auto;
    padding-block: .5rem 1.75rem;
  }
  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-family: var(--f-titulo);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0;
    border-bottom: 1px solid rgba(112, 15, 17, .14);
  }
  .main-nav a::after { bottom: -1px; }
}

/* =========================================================
   Banner principal
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  min-height: clamp(520px, 50vw, calc(100vh - var(--header-h)));
  min-height: clamp(520px, 50vw, calc(100svh - var(--header-h)));
  overflow: hidden;
  color: var(--blanco);
  background: #6b4a3a;
}
.hero-media, .banner-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.parallax-img {
  position: absolute;
  left: 0;
  top: -6%;
  width: 100%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
}
.hero .parallax-img { object-position: 30% 40%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(20deg, rgba(34, 10, 6, .82) 0%, rgba(34, 10, 6, .55) 30%, rgba(34, 10, 6, 0) 55%),
    linear-gradient(to top, rgba(34, 10, 6, .45) 0%, rgba(34, 10, 6, 0) 30%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-top: 2rem;
  padding-bottom: clamp(2.25rem, 5vw, 4.75rem);
}
.hero-copy { max-width: min(33rem, 30vw); }
.hero h1 {
  font-size: clamp(2rem, 1rem + 2.1vw, 3.5rem);
  line-height: 1.02;
  color: var(--blanco);
  text-shadow: 0 2px 30px rgba(20, 5, 3, .35);
}
.hero h1 .eyebrow {
  display: flex;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px rgba(20, 5, 3, .75), 0 0 18px rgba(20, 5, 3, .55);
}
.hero-copy p {
  margin-top: 1.25rem;
  font-size: clamp(1rem, .92rem + .3vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 18px rgba(20, 5, 3, .4);
}
html.js.edad-ok .hero-copy > *,
html.js.edad-si .hero-copy > * { animation: subir 1.2s var(--ease) both; }
html.js.edad-ok .hero-copy p,
html.js.edad-si .hero-copy p { animation-delay: .18s; }
@keyframes subir { from { opacity: 0; transform: translateY(28px); } }

/* =========================================================
   Presentaciones
   ========================================================= */
.presentaciones { padding-bottom: clamp(3rem, 6vw, 6rem); }
.producto {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--terracota);
  border-radius: var(--radio);
  overflow: hidden;
  isolation: isolate;
}
.producto + .producto { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.producto::before {
  /* textura sutil sobre el terracota */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grano);
  opacity: .9;
  z-index: -1;
  pointer-events: none;
}
.producto--invertido { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.producto--invertido .producto-media { order: 2; }

.producto-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #2a130b;
}
.producto-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 1.4s var(--ease);
}
html.con-cursor .producto:hover .producto-foto { transform: scale(1.04); }

.ficha {
  padding: clamp(2.25rem, 4.5vw, 4.5rem);
  color: var(--tinta-cobre);
  align-self: center;
}
.ficha-kicker {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--granate-deep);
}
.ficha h3 {
  margin-top: .6rem;
  font-size: clamp(1.9rem, 1.2rem + 1.9vw, 3.1rem);
  color: var(--blanco);
}
.ficha h3 span { display: block; color: var(--granate-deep); }
.ficha-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 3rem);
  margin-block: clamp(1.5rem, 2.5vw, 2.25rem);
}
.ficha-lista div {
  padding-block: .85rem;
  border-top: 1px solid rgba(74, 10, 11, .26);
}
.ficha-lista dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blanco);
}
.ficha-lista dd {
  margin-top: .2rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--tinta-cobre);
}
.ficha-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0;
  padding-top: 1.4rem;
  border-top: 2px solid rgba(255, 255, 255, .55);
}
.ficha-datos li { padding-inline: clamp(1rem, 2.2vw, 2.25rem); }
.ficha-datos li:first-child { padding-left: 0; }
.ficha-datos li + li { border-left: 1px solid rgba(74, 10, 11, .3); }
.ficha-datos strong {
  display: block;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.75rem);
  line-height: 1;
  color: var(--blanco);
}
.ficha-datos span {
  display: block;
  margin-top: .45rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--granate-deep);
}

/* =========================================================
   Nuestra historia (video de Mariano)
   ========================================================= */
.videos {
  background: var(--granate);
  color: var(--adobe);
  overflow: hidden;
  isolation: isolate;
}
.videos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 30% 55%, rgba(222, 106, 63, .3), rgba(222, 106, 63, 0) 70%),
    var(--grano);
  z-index: -1;
  pointer-events: none;
}
.videos :focus-visible { outline-color: var(--adobe); }
.videos .vplay:focus-visible { outline: 3px solid var(--granate); outline-offset: -9px; }
.historia {
  display: grid;
  grid-template-columns: auto minmax(0, 34rem);
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}
.historia-texto h2 {
  font-size: clamp(2.2rem, 1.25rem + 2.9vw, 4.1rem);
  color: var(--adobe);
}
.historia-texto .section-lead { max-width: 34rem; color: rgba(237, 226, 208, .88); }
.historia-video {
  order: -1;
  width: min(30vw, 440px, calc((100svh - var(--header-h) - 4rem) * 9 / 14.72));
  min-width: 250px;
  margin: 0;
}
.vmarco {
  position: relative;
  aspect-ratio: 9 / 14.72; /* 9:16 con 8% menos de altura */
  border-radius: var(--radio);
  overflow: hidden;
  background: #1d0506;
  box-shadow: 0 40px 70px -30px rgba(10, 0, 0, .8), 0 0 0 1px rgba(237, 226, 208, .08);
  cursor: pointer;
}
.vmarco video,
.vposter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vposter { transition: opacity .4s; -webkit-user-drag: none; }
.historia-video.is-reproduciendo .vmarco { cursor: auto; }
.historia-video.is-reproduciendo .vposter { opacity: 0; pointer-events: none; }
.vplay {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(237, 226, 208, .94);
  color: var(--granate);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
  transition: opacity .35s, transform .45s var(--ease), background-color .3s;
}
.vplay svg { width: 30px; height: 30px; margin-left: 4px; }
.vplay::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(237, 226, 208, .7);
  opacity: 0;
  animation: pulso 2.4s var(--ease) 4;
}
@keyframes pulso {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.vplay:hover { background: var(--blanco); transform: scale(1.06); }
.historia-video.is-reproduciendo .vplay { opacity: 0; transform: scale(.7); pointer-events: none; }

/* =========================================================
   Banner de video (loop sin audio)
   ========================================================= */
.banner-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a0b08;
}
.banner-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Proceso
   ========================================================= */
.proceso { padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.pasos { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); counter-reset: paso; }
.paso {
  counter-increment: paso;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}
.paso--invertido { grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr); }
.paso--invertido .paso-media { order: 2; }
.paso-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio);
  background: var(--adobe-2);
}
.paso-media::before { content: ""; display: block; padding-top: 56.25%; } /* 16:9 */
.paso-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.paso:hover .paso-media img { transform: scale(1.045); }
.paso-texto {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(.5rem, 1.5vw, 1.5rem);
  color: var(--tinta);
  overflow: hidden;
}
.paso-texto::after {
  content: "0" counter(paso);
  position: absolute;
  right: 0;
  bottom: -.18em;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(6rem, 3rem + 8vw, 12rem);
  line-height: 1;
  color: rgba(222, 106, 63, .16);
  pointer-events: none;
}
.paso-icono {
  width: clamp(84px, 7.4vw, 128px);
  height: auto;
  margin-bottom: clamp(.75rem, 1.4vw, 1.25rem);
  transition: transform .8s var(--ease);
}
.paso:hover .paso-icono { transform: translateY(-4px) rotate(-4deg); }
.paso-num {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--granate-deep);
}
.paso h3 {
  margin-top: .35rem;
  font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.6rem);
  line-height: 1;
  color: var(--granate);
}
.paso p {
  position: relative;
  z-index: 1;
  margin-top: .75rem;
  max-width: 24ch;
  font-size: clamp(1.08rem, .98rem + .45vw, 1.35rem);
  line-height: 1.45;
  color: var(--tinta);
}

/* =========================================================
   Lo que nos distingue
   ========================================================= */
.distintivos { padding-top: clamp(3.5rem, 6vw, 6rem); }
.distintivos-lista { border-top: 1px solid rgba(112, 15, 17, .25); }
.distintivo {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 6.5rem minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.6rem, 2.6vw, 2.4rem) clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid rgba(112, 15, 17, .25);
  isolation: isolate;
  overflow: hidden;
}
.distintivo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--granate);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease-io);
}
.distintivo::after {
  /* destello terracota que acompaña el relleno */
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease) .1s;
}
.distintivo-num {
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--terracota);
  transition: color .4s;
}
.distintivo-icono {
  width: 6.5rem;
  height: 5.5rem;
  object-fit: contain;
  transition: filter .45s, transform .7s var(--ease);
}
.distintivo h3 {
  font-size: clamp(1.55rem, 1rem + 1.6vw, 2.6rem);
  color: var(--granate);
  transition: color .4s, transform .6s var(--ease);
}
.distintivo p {
  max-width: 40ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
  color: var(--tinta);
  transition: color .4s;
}
html.con-cursor .distintivo:hover::before,
.distintivo.is-foco::before { transform: scaleY(1); }
html.con-cursor .distintivo:hover::after,
.distintivo.is-foco::after { transform: scaleX(1); }
html.con-cursor .distintivo:hover h3,
.distintivo.is-foco h3 { color: var(--adobe); transform: translateX(.6rem); }
html.con-cursor .distintivo:hover p,
.distintivo.is-foco p { color: rgba(237, 226, 208, .9); }
html.con-cursor .distintivo:hover .distintivo-icono,
.distintivo.is-foco .distintivo-icono { filter: invert(1) sepia(.35) brightness(1.08); transform: rotate(-6deg) scale(1.08); }

/* =========================================================
   Banner intermedio
   ========================================================= */
.banner-intermedio {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 49vw, 940px);
  overflow: hidden;
  color: var(--adobe);
  background: #120606;
}
.banner-intermedio .parallax-img { object-position: 35% 50%; }
.banner-intermedio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 4, 4, 0) 40%, rgba(10, 4, 4, .55) 75%, rgba(10, 4, 4, .7));
  pointer-events: none;
}
.banner-intermedio-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.banner-intermedio-copy { max-width: min(36rem, 42%); }
.banner-intermedio h2 {
  font-size: clamp(2rem, 1.1rem + 2.4vw, 3.7rem);
  color: var(--adobe);
}
.banner-intermedio h2 .br { display: block; color: var(--terracota); }
.banner-intermedio p {
  margin-top: 1.4rem;
  font-size: clamp(1rem, .94rem + .3vw, 1.17rem);
  line-height: 1.7;
  color: rgba(237, 226, 208, .9);
}

/* =========================================================
   Premios
   ========================================================= */
.premios-lista {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 4rem) clamp(1.25rem, 3vw, 3.5rem);
}
.premio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.medalla {
  position: relative;
  width: min(60%, 150px);
  aspect-ratio: 1;
  margin: 0 auto clamp(1.25rem, 2vw, 1.75rem);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 26px 40px -22px rgba(74, 10, 11, .55);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.medalla img { width: 100%; height: 100%; object-fit: contain; }
.medalla::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  width: 30%;
  height: 160%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0));
  transform: translateX(-160%) rotate(22deg);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}
html.con-cursor .premio:hover .medalla,
.premio.is-foco .medalla {
  transform: scale(1.08);
  box-shadow: 0 34px 50px -24px rgba(74, 10, 11, .65);
}
html.con-cursor .premio:hover .medalla::after,
.premio.is-foco .medalla::after { animation: destello .7s cubic-bezier(.25, .6, .3, 1); }
@keyframes destello {
  from { transform: translateX(-160%) rotate(22deg); }
  to { transform: translateX(420%) rotate(22deg); }
}
.premio h3 {
  flex: 1;
  max-width: 17rem;
  margin-inline: auto;
  font-size: clamp(1.1rem, .95rem + .45vw, 1.4rem);
  line-height: 1.2;
  color: var(--granate);
}
.premio p {
  display: inline-block;
  margin-top: .8rem;
  padding: .25rem .9rem;
  border: 1.5px solid rgba(112, 15, 17, .35);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--granate);
}

/* =========================================================
   Banner final
   ========================================================= */
.banner-final {
  position: relative;
  height: clamp(320px, 44vw, 1100px);
  overflow: hidden;
  background: #120707;
}
.banner-final .parallax-img { object-position: 50% 50%; }

/* =========================================================
   Galería
   ========================================================= */
.galeria { padding-bottom: clamp(3rem, 5vw, 5rem); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.4rem, .8vw, .75rem);
}
html.js .galeria-grid:not(.is-expandida) > li:nth-child(n+13) { display: none; }
.galeria-mas { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
html:not(.js) .galeria-mas { display: none; }
.galeria-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: calc(var(--radio) - 6px);
  background: var(--adobe-2);
  cursor: zoom-in;
  isolation: isolate;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.galeria-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 8, 6, .62), rgba(30, 8, 6, 0) 48%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
html.con-cursor .galeria-item:hover img { transform: scale(1.06); }
html.con-cursor .galeria-item:hover::after { opacity: 1; }
.galeria-item--video { cursor: pointer; }
.galeria-item--video::after { opacity: 1; }
.galeria-play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(237, 226, 208, .92);
  color: var(--granate);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  transition: transform .45s var(--ease), background-color .3s;
}
.galeria-play svg { width: 19px; height: 19px; margin-left: 3px; }
html.con-cursor .galeria-item--video:hover .galeria-play { transform: scale(1.1); background: var(--blanco); }
.galeria-pie {
  position: absolute;
  left: .7rem; right: .7rem; bottom: .6rem;
  z-index: 1;
  color: var(--adobe);
  text-align: left;
}
.galeria-pie strong {
  display: block;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(.85rem, .78rem + .2vw, .98rem);
  line-height: 1.15;
}
.galeria-pie span { font-size: .74rem; opacity: .85; }

/* Visor de la galería */
html.visor-abierto { overflow: hidden; }
html.visor-abierto,
html.js:not(.edad-ok) { background: #120605; }
.visor:not([open]) { display: none; }
.visor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 6, 5, .97);
  color: var(--adobe);
}
.visor::backdrop { background: rgba(18, 6, 5, .9); }
.visor[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.visor :focus-visible { outline-color: var(--adobe); }
.visor-escena {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-height: 0;
  padding: clamp(4rem, 6vw, 5rem) clamp(1rem, 8vw, 7rem) .75rem;
  touch-action: pan-y pinch-zoom;
}
.visor-escena img,
.visor-escena video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  animation: visor-entra .4s var(--ease) both;
}
.visor-escena video { background: #000; }
@keyframes visor-entra { from { opacity: 0; transform: scale(.97); } }
.visor-pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1rem;
  padding: .5rem 5rem 1.25rem;
  font-size: .92rem;
  line-height: 1.4;
  color: rgba(237, 226, 208, .88);
  text-align: center;
}
[data-visor-contador] { font-weight: 700; letter-spacing: .08em; color: var(--adobe); }
.visor-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(237, 226, 208, .35);
  background: rgba(237, 226, 208, .1);
  color: var(--adobe);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.visor-btn:hover { background: var(--adobe); color: var(--granate); }
.visor-btn:active { transform: scale(.94); }
.visor-btn svg { width: 22px; height: 22px; }
.visor-cerrar { top: 1rem; right: 1rem; }
.visor-nav { top: 50%; margin-top: -26px; }
.visor-prev { left: clamp(.5rem, 2vw, 1.5rem); }
.visor-sig { right: clamp(.5rem, 2vw, 1.5rem); }
.visor-sig svg { transform: rotate(180deg); }

/* =========================================================
   Formulario de contacto (en el pie de página)
   ========================================================= */
.formulario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem .75rem;
}
.campo { display: flex; flex-direction: column; }
.campo--ancho { grid-column: 1 / -1; }
.campo input,
.campo textarea {
  width: 100%;
  min-height: 46px;
  padding: .7rem .95rem;
  border: 1px solid rgba(43, 10, 8, .14);
  border-radius: 10px;
  background: #F7EFE3;
  color: var(--tinta-cobre);
  font: inherit;
  font-size: .98rem;
  transition: border-color .25s, box-shadow .25s;
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo ::placeholder { color: #7A5548; opacity: 1; }
.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--granate);
  box-shadow: 0 0 0 3px rgba(112, 15, 17, .25);
}
.campo.is-error input,
.campo.is-error textarea { border: 1.5px solid var(--granate-deep); }
.campo-error { min-height: 1.2rem; padding-top: .1rem; font-size: .8rem; line-height: 1.3; font-weight: 600; color: var(--granate-deep); }
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario-acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
}
.formulario-enviar { min-height: 46px; padding: .7rem 1.6rem; font-size: .98rem; }
.formulario-enviar[disabled] { opacity: .75; cursor: progress; transform: none; }
.formulario-estado { font-size: .9rem; font-weight: 600; color: var(--tinta-cobre); }
.formulario-estado.is-error { color: var(--granate-deep); }
.formulario-exito { padding-top: .25rem; outline: none; }
.formulario-check {
  width: 56px; height: 56px;
  fill: none;
  stroke: var(--blanco);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.formulario-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: trazo .7s var(--ease) forwards; }
.formulario-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: trazo .45s var(--ease) .55s forwards; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
.formulario-exito h3 {
  margin-top: .9rem;
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem);
  color: var(--blanco);
}
.formulario-exito p { max-width: 24rem; margin: .5rem 0 1.25rem; font-size: 1rem; color: var(--tinta-cobre); }
.formulario-exito .btn { min-height: 44px; padding: .6rem 1.4rem; font-size: .95rem; }

/* =========================================================
   Pie de página
   ========================================================= */
.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--terracota);
  color: var(--tinta-cobre);
  padding-top: clamp(3.5rem, 6vw, 6rem);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grano);
  pointer-events: none;
}
.site-footer :focus-visible { outline-color: var(--blanco); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, .72fr) minmax(0, 1.15fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.footer-logo { display: inline-block; }
.footer-logo img { height: clamp(74px, 7vw, 100px); width: auto; }
.footer-brand p { margin-top: 1.5rem; max-width: 30rem; font-size: 1.02rem; }
.footer-titulo {
  margin-bottom: 1.1rem;
  font-size: 1.55rem;
  color: var(--blanco);
}
.footer-nav li + li { margin-top: .55rem; }
.footer-nav a,
.footer-lista a {
  position: relative;
  font-weight: 500;
  color: var(--tinta-cobre);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: color .25s, background-size .4s var(--ease);
}
.footer-nav a:hover,
.footer-lista a:hover { color: var(--granate-deep); background-size: 100% 1.5px; }
.footer-lista li + li { margin-top: .8rem; }
.footer-lista a { display: inline-flex; align-items: center; gap: .7rem; word-break: normal; overflow-wrap: normal; }
.footer-lista svg { width: 22px; height: 22px; flex: none; }
.social--footer { gap: .7rem; margin-top: 1.75rem; flex-wrap: wrap; }
.social--footer a {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--granate);
  color: var(--blanco);
}
.social--footer svg { width: 21px; height: 21px; }
.social--footer a:hover { background: var(--blanco); color: var(--granate); transform: translateY(-3px); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(43, 10, 8, .25);
  font-size: .9rem;
}

/* =========================================================
   Aviso de mayoría de edad
   ========================================================= */
.edad {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: start center;
  padding: clamp(.75rem, 3vw, 2rem);
  background: rgba(38, 8, 8, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}
html.js:not(.edad-ok) .edad { display: grid; animation: aparecer .5s ease both; }
html.js:not(.edad-ok) body { overflow: hidden; }
.edad-caja {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  width: min(900px, 100%);
  background: var(--grano), var(--adobe);
  border-radius: calc(var(--radio) + 6px);
  overflow: hidden;
  margin-block: auto;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7);
  animation: caja-entra .8s var(--ease) both .1s;
}
.edad-media { position: relative; min-height: 100%; }
.edad-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.edad-cuerpo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.75rem, 4vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}
.edad-sol {
  position: absolute;
  top: 50%; left: 50%;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  color: rgba(222, 106, 63, .13);
  z-index: -1;
  animation: sol-entra 2.6s var(--ease) both;
}
@keyframes sol-entra { from { transform: rotate(-40deg) scale(.9); opacity: 0; } }
.edad-logo { width: clamp(170px, 18vw, 220px); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.edad-cuerpo p:not(.edad-pregunta) { max-width: 22rem; font-size: 1.12rem; line-height: 1.55; color: var(--tinta); }
.edad-cuerpo p strong { color: var(--granate); }
.edad-pregunta {
  margin-block: 1.1rem 1.9rem;
  font-family: var(--f-titulo);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.7rem);
  color: var(--granate);
}
.edad-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
html.js .edad.is-saliendo { animation: desvanecer .55s ease forwards; }
.edad.is-saliendo .edad-caja { animation: caja-sale .55s var(--ease-io) forwards; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes desvanecer { to { opacity: 0; visibility: hidden; } }
@keyframes caja-entra { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes caja-sale { to { opacity: 0; transform: translateY(-20px) scale(.97); } }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1279.98px) {
  .distintivo { grid-template-columns: 3.5rem 5.5rem minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1099.98px) {
  .galeria-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html.js .galeria-grid:not(.is-expandida) > li:nth-child(n+9) { display: none; }
  .ficha-lista { grid-template-columns: minmax(0, 1fr); }
  .premios-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand,
  .footer-form { grid-column: 1 / -1; }
}

@media (max-width: 899.98px) {
  .producto,
  .producto--invertido { grid-template-columns: minmax(0, 1fr); }
  .producto--invertido .producto-media { order: 0; }
  .producto-media { aspect-ratio: 1 / 1; min-height: 0; }
  .ficha { padding-top: 1.5rem; }
  .ficha-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .paso,
  .paso--invertido { grid-template-columns: minmax(0, 1fr); }
  .paso--invertido .paso-media { order: 0; }

  .distintivo {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    grid-template-areas:
      "icono titulo"
      "icono texto";
    align-items: start;
    row-gap: .45rem;
  }
  .distintivo-num { position: absolute; top: 1.4rem; right: 1.1rem; font-size: 1.05rem; }
  .distintivo-icono { grid-area: icono; width: 4.5rem; height: 4rem; margin-top: .1rem; }
  .distintivo h3 { grid-area: titulo; padding-right: 2.5rem; }
  .distintivo p { grid-area: texto; }
  html.con-cursor .distintivo:hover h3,
  .distintivo.is-foco h3 { transform: none; }
}

/* Tableta y escritorio pequeño: el banner principal no tapa las botellas y el texto se lee sobre el cielo */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .hero .parallax-img { object-position: 0% 62%; }
  .hero-copy { max-width: 34vw; }
  .hero h1 { font-size: clamp(1.75rem, .9rem + 2vw, 2.4rem); }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(34, 10, 6, .74) 0%, rgba(34, 10, 6, .56) 34%, rgba(34, 10, 6, 0) 50%),
      linear-gradient(to top, rgba(34, 10, 6, .45) 0%, rgba(34, 10, 6, 0) 30%);
  }
}

/* Ficha técnica: los tres datos en una sola línea en pantallas medianas */
@media (min-width: 900px) and (max-width: 1365.98px) {
  .ficha-datos { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .ficha-datos li { padding-inline: clamp(.75rem, 1.3vw, 1.5rem); }
  .ficha-datos strong { white-space: nowrap; font-size: clamp(1.6rem, .8rem + 1.6vw, 2.4rem); }
  .ficha-datos span { white-space: nowrap; font-size: .68rem; letter-spacing: .1em; }
}

/* Pie: el correo cabe en una línea */
@media (min-width: 1100px) and (max-width: 1439.98px) {
  .footer-lista a { font-size: .94rem; }
}

/* Aviso de edad con poca altura (celular horizontal) */
@media (max-height: 500px) and (min-width: 768px) {
  .edad-cuerpo { padding: 1.25rem 2rem; }
  .edad-logo { width: 130px; margin-bottom: .75rem; }
  .edad-pregunta { font-size: 1.6rem; margin-block: .6rem 1rem; }
}

/* Banner intermedio: título en dos líneas en escritorio */
@media (min-width: 1100px) {
  .banner-intermedio-copy { max-width: min(40rem, 46%); margin-right: 1.2vw; }
  .banner-intermedio h2 { font-size: clamp(2rem, .9rem + 2vw, 3.3rem); }
}

/* Pantallas grandes: tarjetas de proceso más equilibradas */
@media (min-width: 1600px) {
  .paso,
  .paso--invertido { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .paso-icono { width: clamp(84px, 7.4vw, 170px); }
  .paso h3 { font-size: clamp(2.1rem, 1.3rem + 2.3vw, 4.6rem); }
  .paso p { font-size: clamp(1.08rem, .98rem + .45vw, 1.7rem); }

  .ficha h3 { font-size: clamp(1.9rem, 1.2rem + 1.9vw, 4rem); }
  .ficha-lista dt { font-size: clamp(.72rem, .3rem + .4vw, .9rem); }
  .ficha-lista dd { font-size: clamp(1.02rem, .5rem + .6vw, 1.3rem); }
  .ficha-datos strong { font-size: clamp(2.75rem, 1.2rem + 1.8vw, 3.6rem); }
}

@media (max-width: 767.98px) {
  :root { --header-h: 72px; --radio: 16px; }
  body { font-size: 1rem; }
  .brand img { height: 48px; }
  .header-inner { gap: .6rem; }
  .header-brand { gap: .55rem; }
  .social--header { padding-left: .45rem; gap: 0; }
  .social--header a { width: 32px; height: 32px; }
  .social--header svg { width: 17px; height: 17px; }
  .header-actions { gap: .5rem; }
  .btn-wa { width: 46px; min-height: 46px; padding: 0; justify-content: center; }
  .btn-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-wa svg { width: 22px; height: 22px; }

  /* Móvil: la imagen conserva su proporción y el texto va sobre la piedra, debajo de las botellas */
  .hero {
    display: block;
    height: auto;
    min-height: 0;
    background: #2a120b;
  }
  .hero .parallax-img {
    top: -2%;
    height: auto;
    min-height: min(108%, 200vw);
    object-fit: cover;
    object-position: 50% 0%;
    -webkit-mask-image: linear-gradient(#000 88%, transparent);
    mask-image: linear-gradient(#000 88%, transparent);
  }
  .hero::after {
    background: linear-gradient(to top, rgba(34, 10, 6, .94) 0%, rgba(34, 10, 6, .78) 30%, rgba(34, 10, 6, .22) 48%, rgba(34, 10, 6, 0) 58%);
  }
  .hero-inner { width: var(--ancho); padding-top: calc(126vw + 2rem); padding-bottom: 2.25rem; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(1.85rem, 1.2rem + 3vw, 2.4rem); }
  .hero h1 .eyebrow { margin-bottom: .75rem; }
  .hero-copy p { margin-top: .9rem; font-size: .98rem; line-height: 1.58; }

  .ficha { padding: 1.25rem 1.5rem 2rem; }
  .ficha-lista { grid-template-columns: minmax(0, 1fr); margin-block: 1.25rem 1.75rem; }
  .ficha-lista div { padding-block: .7rem; }
  .ficha-datos { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .ficha-datos li { padding-inline: .7rem; }
  .ficha-datos li:last-child { padding-right: 0; }
  .ficha-datos strong { font-size: 1.5rem; white-space: nowrap; }
  .ficha-datos span { font-size: .64rem; letter-spacing: .1em; }

  .historia { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .historia-texto .section-lead { margin-inline: auto; }
  .historia-video { order: 0; width: min(78vw, 360px); min-width: 0; margin-inline: auto; }

  .site-header .idioma { padding: 0; }
  .site-header .idioma a.is-actual { display: none; }
  .site-header .idioma a { width: 42px; height: 42px; min-width: 0; padding: 0; }

  .galeria-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.js .galeria-grid:not(.is-expandida) > li:nth-child(n+7) { display: none; }
  .galeria-play { top: .4rem; right: .4rem; left: auto; width: 32px; height: 32px; margin: 0; }
  .galeria-play svg { width: 13px; height: 13px; margin-left: 2px; }
  .galeria-pie { left: .45rem; right: .45rem; bottom: .4rem; }
  .galeria-pie strong { font-size: .72rem; }
  .galeria-pie span { font-size: .66rem; }
  .visor-escena { padding: 4.25rem .75rem .5rem; }
  .visor-pie { padding: .5rem 4.5rem 1.25rem; min-height: 72px; align-content: center; }
  .visor-nav { top: auto; bottom: .9rem; margin-top: 0; }
  .vplay { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .vplay svg { width: 26px; height: 26px; }

  .paso-texto { padding: 1.25rem 0 0; }
  .paso-texto::after { font-size: 6rem; top: .6rem; bottom: auto; }

  .banner-intermedio {
    min-height: 229vw;
    align-items: flex-end;
  }
  .banner-intermedio .parallax-img { object-position: 50% 0%; }
  .banner-intermedio::after {
    background: linear-gradient(to top, rgba(10, 4, 4, .82) 0%, rgba(10, 4, 4, .5) 30%, rgba(10, 4, 4, 0) 50%);
  }
  .banner-intermedio-inner { padding-block: 2.5rem 3rem; }
  .banner-intermedio-copy { max-width: 100%; }

  .premios-lista { gap: 2.5rem 1rem; }
  .medalla { width: min(54%, 135px); }
  .premio h3 { font-size: 1.02rem; }
  .premio p { font-size: .8rem; }

  .banner-final { height: max(320px, 60vw); }

  /* Banner de video un poco más alto en móvil (4:3, recorta los lados) */
  .banner-video { aspect-ratio: 4 / 3; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-lista { display: flex; flex-direction: column; align-items: center; }
  .social--footer { justify-content: center; }
  .footer-legal { flex-direction: column; align-items: center; text-align: center; }
  .footer-form { text-align: left; }
  .footer-form .footer-titulo { text-align: center; }
  .formulario-exito { text-align: center; }
  .formulario-exito p,
  .formulario-check { margin-inline: auto; }
  .formulario-acciones { justify-content: center; text-align: center; }

  .edad-caja { grid-template-columns: minmax(0, 1fr); }
  .edad-media { height: clamp(170px, 30vh, 280px); height: clamp(170px, 30svh, 280px); min-height: 0; }
  .edad-cuerpo { padding: 1.75rem 1.5rem 2rem; }
  .edad-logo { width: 150px; margin-bottom: 1.1rem; }
  .edad-cuerpo p:not(.edad-pregunta) { font-size: 1rem; }
  .edad-pregunta { margin-block: .75rem 1.4rem; }
  .edad-acciones .btn { flex: 1 1 0; min-width: 0; }
}

@media (max-width: 389.98px) {
  .edad-cuerpo { padding-top: 3.5rem; }
  .edad-media { height: 150px; }
  .section-head h2 { font-size: clamp(1.9rem, 8.6vw, 2.2rem); }
  .social--header a { width: 26px; }
  .header-actions { gap: .35rem; }
  .site-header .idioma a { width: 36px; height: 36px; font-size: .74rem; }
  .btn-wa, .menu-toggle { width: 40px; height: 40px; min-height: 40px; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:nth-child(1) { top: 12px; }
  .menu-toggle span:nth-child(2) { top: 18px; }
  .menu-toggle span:nth-child(3) { top: 24px; }
  .brand img { height: 42px; }
}

@media (max-width: 359.98px) {
  .header-inner { gap: .4rem; }
  .header-brand { gap: .4rem; }
  .social--header { padding-left: .35rem; }
}

/* Dispositivos táctiles: sin arrastre de imágenes */
@media (hover: none) {
  .vmarco { cursor: auto; }
}

/* Impresión */
@media print {
  html.reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .skip-link, .edad, .visor, .idioma, .menu-toggle, .vplay, .formulario { display: none !important; }
  .parallax-img { transform: none !important; }
  .site-header { position: static; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.reveal-on [data-reveal] { opacity: 1; transform: none; }
  .parallax-img { transform: none !important; }
}
