@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/playfair-display-400-700.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/playfair-display-400-700-italic.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/fira-sans-300.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fira-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/fira-sans-500.woff2) format('woff2'); }

:root {
  --mar: #0e2433;
  --mar-2: #143247;
  --mar-3: #1d4560;
  --espuma: #f6f0e6;
  --arena: #ece1cf;
  --arena-2: #dfcfb6;
  --ron: #9a4716;
  --ambar: #c8893a;
  --ambar-claro: #e9c58c;
  --turquesa: #4fb4c0;
  --tinta: #182029;
  --tinta-suave: #5b646b;
  --linea: rgb(24 32 41 / .14);
  --linea-clara: rgb(246 240 230 / .18);
  --ancho: 1200px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --suave: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--espuma); color: var(--tinta); font: 300 18px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--ambar); }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }
::selection { background: var(--ambar-claro); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--espuma); color: var(--tinta); text-decoration: none; transition: top .2s; }
.saltar:focus { top: 12px; }

.contenedor { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
.estrecho { max-width: 760px; }
.centrado { text-align: center; margin-inline: auto; }

/* Rótulos y títulos */
.rotulo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 1.4rem; font: 500 .74rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ron); }
.rotulo::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.centrado .rotulo::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.oscuro .rotulo { color: var(--ambar-claro); }
.capitulo { display: block; margin-bottom: .6rem; font: italic 400 1.05rem/1 var(--serif); color: var(--ambar); }
.titulo { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
.titulo-m { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.entrada { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--tinta-suave); }
.oscuro .entrada, .oscuro p { color: #c9d3d8; }
.coordenadas { font: 400 .78rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }

.seccion { padding-block: clamp(80px, 12vw, 150px); }
.oscuro { background: var(--mar); color: var(--espuma); }
.arena { background: var(--arena); }

/* Botones */
.botones { display: flex; flex-wrap: wrap; gap: 14px; }
.boton {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  padding: 1.05em 1.9em;
  border: 1px solid var(--tinta);
  background: var(--tinta);
  color: var(--espuma);
  font: 500 .76rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.boton::after { content: '→'; letter-spacing: 0; transition: transform .3s var(--suave); }
.boton:hover { background: var(--ron); border-color: var(--ron); }
.boton:hover::after { transform: translateX(4px); }
.boton-claro { background: transparent; color: var(--tinta); }
.boton-claro:hover { color: var(--espuma); }
.oscuro .boton, .portada .boton { border-color: var(--espuma); background: var(--espuma); color: var(--tinta); }
.oscuro .boton:hover, .portada .boton:hover { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.oscuro .boton-claro, .portada .boton-claro { background: transparent; color: var(--espuma); }
.enlace { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ambar); padding-bottom: 2px; transition: color .2s; }
.enlace:hover { color: var(--ron); }

/* Cabecera */
.cabecera { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--espuma); transition: background-color .4s, box-shadow .4s, padding .4s; }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .4s; }
.cabecera.solida, .cabecera.siempre { background: rgb(14 36 51 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--linea-clara); }
.cabecera.solida .contenedor, .cabecera.siempre .contenedor { height: 66px; }
.cabecera-logo img { width: auto; height: 46px; transition: height .4s; }
.cabecera.solida .cabecera-logo img, .cabecera.siempre .cabecera-logo img { height: 38px; }
.menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.menu a { position: relative; text-decoration: none; padding-block: 8px; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ambar); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--suave); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.menu-boton { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-boton span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .35s var(--suave), opacity .2s; }
.menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  /* El desenfoque convertiría la cabecera en el contenedor del menú fijo y lo recortaría */
  .cabecera.solida, .cabecera.siempre { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--mar); }
  .menu-boton { display: block; position: relative; z-index: 2; }
  .menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--mar); font-size: .9rem; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .menu.abierto { opacity: 1; visibility: visible; }
  .menu .silueta-menu { width: 160px; margin-top: 20px; opacity: .5; }
}
@media (min-width: 961px) { .menu .silueta-menu { display: none; } }

/* Portada con vídeo */
.portada { position: relative; display: grid; align-items: end; min-height: 100svh; overflow: hidden; background: var(--mar) center / cover no-repeat; color: var(--espuma); }
.portada video, .portada > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.portada::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgb(14 36 51 / .55), transparent 65%),
  linear-gradient(to top, rgb(14 36 51 / .95) 0%, rgb(14 36 51 / .7) 40%, rgb(14 36 51 / .15) 72%, rgb(14 36 51 / .4) 100%); }
.portada .rotulo, .portada .entrada, .portada h1 { text-shadow: 0 2px 24px rgb(14 36 51 / .6); }
.portada .contenedor { position: relative; z-index: 1; padding-block: 120px clamp(56px, 9vh, 96px); }
.portada .rotulo { color: var(--ambar-claro); }
.portada h1 { max-width: 12em; font-size: clamp(2.8rem, 7.6vw, 6.4rem); line-height: 1.02; }
.portada h1 em { color: var(--ambar-claro); }
.portada .entrada { max-width: 34em; margin: 1.4rem 0 2.2rem; color: #dbe4e8; }
.portada-pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(40px, 7vh, 72px); padding-top: 22px; border-top: 1px solid var(--linea-clara); color: #c4d0d6; }
.bajar { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 .72rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.bajar span { display: block; width: 1px; height: 38px; background: linear-gradient(var(--espuma), transparent); animation: bajar 2.4s var(--suave) infinite; }
@keyframes bajar { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Silueta de la isla como separador */
.horizonte { display: flex; align-items: flex-end; gap: 0; height: 40px; }
.horizonte::before, .horizonte::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .35; margin-bottom: 1px; }
.horizonte img { width: 150px; margin: 0 -2px; }

/* Más que un ron */
.valores-cabeza { display: grid; gap: 32px; align-items: end; margin-bottom: clamp(48px, 7vw, 80px); }
@media (min-width: 900px) { .valores-cabeza { grid-template-columns: 1.1fr 1fr; } }
.valores { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linea); }
@media (min-width: 640px) { .valores { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .valores { grid-template-columns: repeat(3, 1fr); } }
.valores li { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 34px 28px 34px 0; border-bottom: 1px solid var(--linea); }
@media (min-width: 640px) { .valores li:nth-child(odd) { padding-right: 32px; } }
.valores svg { grid-row: span 2; width: 44px; height: 44px; color: var(--ron); }
.valores h3 { font-size: 1.45rem; }
.valores h3 small { display: block; margin-bottom: 8px; font: 500 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ambar); }
.valores p { margin: 0; color: var(--tinta-suave); font-size: 1rem; line-height: 1.6; }

/* El ron: escenario de madera */
.escenario { position: relative; overflow: hidden; background: #160d08; color: var(--espuma); }
.escenario > img.fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: .9; }
.escenario::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 55%, rgb(232 160 80 / .2), transparent 70%),
  linear-gradient(to bottom, rgb(14 8 5 / .7), transparent 40%),
  linear-gradient(to top, rgb(14 8 5 / .85), rgb(14 8 5 / .45) 30%, transparent 55%); }
.escenario .contenedor { position: relative; z-index: 1; }
.escenario-cabeza { max-width: 680px; margin: 0 auto clamp(30px, 5vw, 50px); text-align: center; }
.escenario-cabeza p { color: #e2d3bf; }
.anatomia { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .anatomia { grid-template-columns: 1fr auto 1fr; gap: 40px; } }
.anatomia-botella { position: relative; justify-self: center; }
.anatomia-botella img { width: auto; height: clamp(420px, 62vh, 640px); filter: drop-shadow(0 30px 30px rgb(0 0 0 / .55)); }
.anatomia-botella::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 26px; border-radius: 50%; background: radial-gradient(rgb(0 0 0 / .6), transparent 70%); z-index: -1; }
.notas { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nota { position: relative; padding-top: 18px; border-top: 1px solid rgb(233 197 140 / .35); }
.nota span { display: block; margin-bottom: 8px; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ambar-claro); }
.nota h3 { margin-bottom: 8px; font-size: 1.55rem; font-style: italic; }
.nota p { margin: 0; color: #d9cbb7; font-size: 1rem; line-height: 1.6; }
@media (min-width: 900px) {
  .notas-izq { text-align: right; }
  .notas-izq .nota::after, .notas-der .nota::after { content: ''; position: absolute; top: -1px; width: 40px; height: 1px; background: rgb(233 197 140 / .35); }
  .notas-izq .nota::after { right: -40px; }
  .notas-der .nota::after { left: -40px; }
}
.escenario-pie { position: relative; display: grid; gap: 22px 32px; margin-top: clamp(50px, 7vw, 80px); padding: clamp(26px, 3.5vw, 40px); background: rgb(18 11 7 / .82); border: 1px solid rgb(233 197 140 / .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
.escenario-pie::before { content: 'Cómo tomarlo'; grid-column: 1 / -1; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ambar-claro); }
@media (min-width: 760px) { .escenario-pie { grid-template-columns: repeat(4, 1fr); } }
.escenario-pie div { font-size: .98rem; line-height: 1.55; color: #e6d9c6; }
@media (min-width: 760px) { .escenario-pie div + div { padding-left: 32px; border-left: 1px solid rgb(233 197 140 / .18); } }
.escenario-pie strong { display: block; margin-bottom: 6px; font: italic 400 1.25rem/1.2 var(--serif); color: var(--espuma); }

/* Imagen a sangre con texto */
.panoramica { position: relative; display: grid; align-items: end; min-height: clamp(520px, 86vh, 860px); overflow: hidden; color: var(--espuma); }
.panoramica > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panoramica::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 36 51 / .9), rgb(14 36 51 / .2) 55%, transparent); }
.panoramica .contenedor { position: relative; z-index: 1; padding-block: clamp(60px, 9vw, 110px); }
.panoramica blockquote { max-width: 30em; margin: 0; font: italic 400 clamp(1.4rem, 2.8vw, 2.1rem)/1.4 var(--serif); }
.panoramica .rotulo { color: var(--ambar-claro); }

/* Bloque texto + imagen */
.duo { display: grid; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo-inverso > :first-child { order: 2; }
}
.marco { position: relative; }
.marco img { width: 100%; }
.marco::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--ambar); z-index: -1; }
.duo-inverso .marco::before { inset: 18px 18px -18px -18px; }
.pie-foto { margin-top: 30px; font: italic 400 .95rem/1.4 var(--serif); color: var(--tinta-suave); }

.ficha-isla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linea); }
.ficha-isla li { padding: 18px 12px 0 0; }
.ficha-isla strong { display: block; font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--serif); color: var(--ron); }
.ficha-isla span { font-size: .85rem; color: var(--tinta-suave); line-height: 1.4; }

.tira-fotos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-top: clamp(50px, 7vw, 80px); }
.tira-fotos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tira-fotos img:first-child { aspect-ratio: auto; }
@media (max-width: 700px) { .tira-fotos { grid-template-columns: 1fr 1fr; } .tira-fotos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* Origen: pasos de elaboración */
.pasos { display: grid; gap: 22px; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; counter-reset: paso; }
@media (min-width: 700px) { .pasos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pasos { grid-template-columns: repeat(4, 1fr); } }
.paso { display: flex; flex-direction: column; background: var(--espuma); }
.paso figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.paso img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--suave); }
.paso:hover img { transform: scale(1.05); }
.paso div { padding: 24px 24px 28px; }
.paso div::before { counter-increment: paso; content: counter(paso, upper-roman); display: block; margin-bottom: 10px; font: italic 400 1.1rem/1 var(--serif); color: var(--ambar); }
.paso h3 { margin-bottom: 10px; font-size: 1.45rem; }
.paso p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--tinta-suave); }
.sello-cien { display: inline-flex; align-items: center; gap: 16px; margin-top: 10px; }
.sello-cien strong { font: 400 clamp(3rem, 7vw, 5rem)/1 var(--serif); color: var(--ron); }
.sello-cien span { font: 500 .74rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--tinta-suave); }

/* Especificaciones: etiqueta */
.etiqueta { position: relative; display: grid; gap: clamp(36px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 64px); background: #fbf7f0; box-shadow: 0 30px 60px -40px rgb(14 36 51 / .45); }
.etiqueta::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--arena-2); pointer-events: none; }
@media (min-width: 900px) { .etiqueta { grid-template-columns: 300px 1fr; } }
.etiqueta-sello { justify-self: center; text-align: center; }
.etiqueta-sello img { width: min(260px, 70vw); }
.etiqueta-sello p { margin: 16px 0 0; font: italic 400 1rem/1.4 var(--serif); color: var(--tinta-suave); }
.etiqueta-datos { display: grid; gap: 28px 44px; }
@media (min-width: 700px) { .etiqueta-datos { grid-template-columns: 1fr 1fr; } }
.etiqueta h3 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--linea); font: 500 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ron); }
.etiqueta p, .etiqueta li { font-size: 1rem; line-height: 1.6; }
.etiqueta ul { margin: 0; padding: 0; list-style: none; }
.etiqueta li { padding: 5px 0; border-bottom: 1px dotted var(--linea); }
.cifras { display: flex; flex-wrap: wrap; gap: 6px 30px; }
.cifras div { line-height: 1.15; }
.cifras strong { display: block; font: 400 2rem/1.1 var(--serif); }
.cifras span { font-size: .85rem; color: var(--tinta-suave); }
.tabla { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tabla th, .tabla td { padding: 6px 0; border-bottom: 1px dotted var(--linea); }
.tabla th { text-align: left; font-weight: 300; }
.tabla td { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.tabla .sub th { padding-left: 1.1em; color: var(--tinta-suave); }

/* Tesoros: carrusel */
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: 18px; margin-top: clamp(40px, 6vw, 64px); padding: 0 var(--gutter) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ambar) transparent; }
@media (min-width: 1200px) { .carrusel { padding-inline: calc((100vw - var(--ancho)) / 2); } }
.tesoro { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; scroll-snap-align: start; color: var(--espuma); text-decoration: none; }
.tesoro img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--suave); }
.tesoro:hover img { transform: scale(1.06); }
.tesoro::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 36 51 / .85), transparent 55%); }
.tesoro div { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.tesoro span { font: italic 400 1rem/1 var(--serif); color: var(--ambar-claro); }
.tesoro h3 { margin-top: 6px; font-size: 1.6rem; }

/* Compromiso */
.compromiso { display: grid; gap: 22px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 860px) { .compromiso { grid-template-columns: 1fr 1fr; } }
.tarjeta { display: flex; flex-direction: column; background: var(--mar-2); color: var(--espuma); text-decoration: none; overflow: hidden; }
.tarjeta figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.tarjeta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--suave); }
.tarjeta:hover img { transform: scale(1.05); }
.tarjeta div { padding: 28px 30px 32px; }
.tarjeta span { font: 500 .7rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ambar-claro); }
.tarjeta h3 { margin: 12px 0 10px; font-size: 1.7rem; }
.tarjeta p { margin: 0 0 18px; color: #c9d3d8; font-size: 1rem; line-height: 1.6; }
.tarjeta .enlace { color: var(--espuma); }

/* Dónde comprar */
.tiendas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 6vw, 60px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linea); border-left: 1px solid var(--linea); }
.tiendas li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) { .tiendas { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tiendas li:last-child:nth-child(odd) { grid-column: auto; } }
.tiendas a, .tiendas span { display: grid; place-items: center; height: 130px; padding: clamp(14px, 3vw, 26px); border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: #fbf7f0; transition: background-color .3s; }
.tiendas a:hover { background: #fff; }
.tiendas img { width: auto; max-width: min(150px, 100%); max-height: 64px; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.tiendas a:hover img, .tiendas span:hover img { filter: none; opacity: 1; }
.comprar-online { display: grid; gap: 24px; align-items: center; margin-top: 40px; padding: clamp(26px, 4vw, 40px); background: var(--mar); color: var(--espuma); }
@media (min-width: 760px) { .comprar-online { grid-template-columns: 1fr auto; } }
.comprar-online h3 { font-size: 1.7rem; }
.comprar-online p { margin: 6px 0 0; color: #c9d3d8; }

/* Páginas interiores */
.cabeza-pagina { position: relative; display: grid; align-items: end; min-height: clamp(460px, 72vh, 720px); overflow: hidden; color: var(--espuma); background: var(--mar); }
.cabeza-pagina > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cabeza-pagina::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 36 51 / .9), rgb(14 36 51 / .25) 60%, rgb(14 36 51 / .45)); }
.cabeza-pagina .contenedor { position: relative; z-index: 1; padding-block: 140px clamp(50px, 8vw, 90px); }
.cabeza-pagina .rotulo { color: var(--ambar-claro); }
.cabeza-pagina h1 { max-width: 13em; font-size: clamp(2.6rem, 7vw, 5.6rem); }
.cabeza-pagina p { max-width: 36em; margin-top: 1.2rem; color: #dbe4e8; font-size: 1.15rem; }
.migas { margin-bottom: 18px; font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #c4d0d6; }
.migas a { text-decoration: none; }
.migas a:hover { color: var(--espuma); }

.capitulo-tesoro { padding-block: clamp(70px, 10vw, 130px); }
.capitulo-tesoro + .capitulo-tesoro { border-top: 1px solid var(--linea); }
.capitulo-tesoro .numero { font: italic 400 clamp(4rem, 10vw, 8rem)/.8 var(--serif); color: var(--arena-2); }
.capitulo-tesoro h2 { margin: 14px 0 22px; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.capitulo-tesoro .poema { font: italic 400 clamp(1.15rem, 1.8vw, 1.35rem)/1.6 var(--serif); color: var(--tinta); }
.consejo { display: flex; gap: 16px; margin-top: 28px; padding: 18px 20px; background: var(--arena); font-size: .98rem; line-height: 1.55; }
.consejo svg { flex: none; width: 26px; height: 26px; color: var(--ron); }
.fotos-par { display: grid; gap: 10px; }
.fotos-par img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fotos-par img + img { width: 72%; margin: -22% 0 0 auto; border: 8px solid var(--espuma); }

.texto-largo { font-size: 1.08rem; }
.texto-largo p:first-of-type::first-letter { float: left; margin: .08em .1em 0 0; font: 400 4.4em/.8 var(--serif); color: var(--ron); }
.cita-grande { margin: clamp(40px, 6vw, 70px) 0; padding-left: 26px; border-left: 2px solid var(--ambar); font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1.4 var(--serif); }

.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; padding: 0; background: #000; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform 1s var(--suave); }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video span { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; translate: -50% -50%; border-radius: 50%; background: rgb(246 240 230 / .92); color: var(--tinta); box-shadow: 0 12px 40px rgb(0 0 0 / .4); transition: transform .3s var(--suave); }
.video:hover span { transform: scale(1.08); }
.video span svg { width: 26px; height: 26px; margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-nota { margin-top: 10px; font-size: .85rem; color: var(--tinta-suave); }
.credito { font-size: .85rem; color: var(--tinta-suave); font-style: italic; }

.legal { padding-block: 150px 100px; }
.legal h1 { margin-bottom: 30px; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { margin: 1.8em 0 .6em; font-size: 1.6rem; }
.legal p, .legal li { color: var(--tinta-suave); font-size: 1.02rem; }
.legal ul { padding-left: 1.2em; }

/* Pie */
.pie { position: relative; padding-block: 90px 34px; background: var(--mar); color: #b7c3ca; font-size: .95rem; }
.pie-silueta { position: absolute; left: 50%; top: -44px; width: 230px; translate: -50% 0; }
.pie-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .pie-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pie-logo { width: 150px; margin-bottom: 20px; }
.pie h2 { margin-bottom: 16px; font: 500 .7rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ambar-claro); }
.pie address { font-style: normal; line-height: 1.7; }
.pie ul { margin: 0; padding: 0; list-style: none; line-height: 2; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--espuma); }
.redes { display: flex; gap: 10px; margin-top: 18px; }
.redes a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--linea-clara); border-radius: 50%; transition: background-color .3s, color .3s; }
.redes a:hover { background: var(--espuma); color: var(--mar); }
.redes svg { width: 18px; height: 18px; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--linea-clara); font-size: .82rem; }

/* Verificación de edad */
.edad { width: min(100% - 32px, 480px); padding: 48px 34px 38px; border: 0; background: var(--espuma); color: var(--tinta); text-align: center; box-shadow: 0 40px 100px -20px rgb(0 0 0 / .6); }
.edad::backdrop { background: rgb(14 36 51 / .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.edad::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--arena-2); pointer-events: none; }
.edad img { width: 150px; margin: 0 auto 18px; }
.edad h2 { font-size: 1.9rem; font-style: italic; }
.edad p { margin: .7em 0 1.8em; color: var(--tinta-suave); }
.edad .botones { justify-content: center; }
.edad-no { display: none; margin-top: 1.2em; color: var(--ron); }

/* Aparición al hacer scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .aparece { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--suave), transform 1.1s var(--suave); }
  .js .aparece.visible { opacity: 1; transform: none; }
  .js .aparece-tarde { transition-delay: .15s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portada video { display: none; }
  .bajar span { animation: none; }
  * { transition-duration: 0s !important; }
}
