/* home8.css — Diseño 2026 de lunallena.com (home y páginas de cada tequila). Base: home7.css del 29-oct-2026 + carruseles sin fin (30-oct-2026).
   Tipografía y color de la casa (los mismos de las demás páginas + refine.css de jul-2026):
   Montserrat en títulos con mayúsculas/minúsculas normales y sin tracking exagerado, Raleway en texto, dorado #C6A15B.
   Sin 3D: fotografía real del producto. Todo en flujo normal (nada se encima al hacer scroll). */

:root {
    --bg: #080808;
    --bg-2: #0d0d0c;
    --bg-3: #121211;
    --line: #1f1e1b;
    --text: #f5f2ec;
    --muted: #9b968d;
    --dim: #6c6860;
    --gold: #C6A15B;
    --f-title: 'Montserrat', system-ui, sans-serif;
    --f-body: 'Raleway', system-ui, sans-serif;
    --wrap: min(1200px, 100% - 48px);
    --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 1rem/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
figure { margin: 0; }

/* ---------- tipografía ---------- */
.eyebrow { font: 600 .78rem/1.4 var(--f-title); color: var(--gold); margin: 0 0 14px; letter-spacing: .3px; }
.display { font: 800 clamp(2.5rem, 5.6vw, 4.6rem)/1.04 var(--f-title); letter-spacing: -1px; margin: 0; }
.h2 { font: 800 clamp(1.8rem, 3.6vw, 2.8rem)/1.12 var(--f-title); letter-spacing: -.4px; margin: 0; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: #c9c4ba; max-width: 32rem; margin: 22px 0 0; }
.divider { width: 44px; height: 2px; background: var(--gold); margin: 22px 0 0; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .86rem/1 var(--f-title); padding: 15px 28px; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn-sm { padding: 11px 18px; font-size: .8rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-accent { background: transparent; border-color: var(--c); color: var(--c); }
.btn-accent:hover { background: var(--c); color: #0a0a0a; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { font: 700 .84rem/1 var(--f-title); color: var(--gold); display: inline-flex; gap: 8px; }
.link-arrow i { font-style: normal; transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- menú ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 76px; padding: 0 max(24px, (100% - 1200px) / 2); display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: linear-gradient(180deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); transition: background .35s, height .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(6, 6, 6, .94); border-color: var(--line); height: 66px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; justify-content: center; gap: 28px; }
.nav-links a { font: 600 .84rem/1 var(--f-title); color: #e6e1d8; padding: 8px 0; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-links .nav-more, .nav-links .nav-lang-m { display: none; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang { font: 600 .8rem/1 var(--f-title); color: var(--dim); white-space: nowrap; }
.lang a { color: var(--dim); }
.lang a.on { color: var(--gold); }
.lang i { font-style: normal; margin: 0 5px; color: #3a3833; }
.nav-burger { display: none; }

/* ---------- hero: foto a sangre, sin marco ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 110px 0 34px; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; animation: heroZoom 16s var(--ease) both; }
.hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 3%, rgba(8, 8, 8, 0) 26%),
                linear-gradient(180deg, rgba(8, 8, 8, .55) 0%, rgba(8, 8, 8, 0) 16%); }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-in { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: min(600px, calc(46vw - 70px)); }
.hero .display { font-size: clamp(2.8rem, 4.8vw, 5.4rem); line-height: 1; letter-spacing: -1.5px; }
.hero .lead { color: #d3cec4; }
.hero-foot { position: relative; z-index: 2; }
.credits { display: grid; grid-template-columns: repeat(2, 1fr); margin: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); max-width: min(600px, calc(46vw - 70px)); }
.credits div { padding: 18px 16px 0 0; }
.credits dt { font: 600 .74rem/1 var(--f-title); color: var(--dim); margin-bottom: 8px; }
.credits dd { margin: 0; font: 700 .95rem/1.3 var(--f-title); }

/* ---------- secciones ---------- */
.sec { padding: clamp(80px, 10vw, 120px) 0; }
.sec-head { margin-bottom: 48px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-note { color: var(--muted); max-width: 26rem; margin: 0; }

/* colección: renders reales */
.col { background: #060606; }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tq { background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: border-color .3s, transform .3s var(--ease); }
.tq::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--c); }
.tq:hover { border-color: #2e2b25; transform: translateY(-4px); }
.tq figure { aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.tq figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tq:hover figure img { transform: scale(1.04); }
.tq-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.tq-name { font: 800 1.6rem/1.1 var(--f-title); margin: 0; }
.tq-age { font: 600 .8rem/1 var(--f-title); color: var(--c); margin: 8px 0 16px; }
.tq-desc { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.tq-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.tq-notes li { font: 600 .74rem/1 var(--f-title); color: #d8d2c6; border: 1px solid #2a2823; padding: 7px 11px; border-radius: 30px; }
.tq .btn { margin-top: auto; align-self: flex-start; }
.col-note { margin: 34px 0 0; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }

/* eventos */
.events2 { background: var(--bg-2); padding-bottom: 0; }
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ev-card { background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.ev-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.ev-card figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.ev-card img { width: 100%; height: 100%; object-fit: cover; }
.ev-date { position: absolute; top: 14px; left: 14px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(198, 161, 91, .45); padding: 8px 12px; text-align: center; font: 700 .62rem/1 var(--f-title); color: var(--gold); }
.ev-date b { display: block; font: 800 1.3rem/1 var(--f-title); color: #fff; margin-bottom: 4px; }
.ev-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ev-body h3 { font: 700 1.12rem/1.25 var(--f-title); margin: 0 0 6px; }
.ev-body p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.ev-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font: 700 .8rem/1 var(--f-title); }
.ev-foot i { font-style: normal; color: var(--gold); }
.ev-warn { font-style: normal; color: #e07a5f; }
.ev-empty { color: var(--muted); margin: 0; }
.events2 .cta-row { margin: 40px 0 64px; }
.vibe-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.vibe-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* barra */
.bar-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: clamp(16px, 2.6vw, 30px); align-items: center; }
.bar-copy p { color: var(--muted); max-width: 30rem; }
.bar-copy .h2 { margin-bottom: 18px; }
.bar-grid figure { overflow: hidden; aspect-ratio: 3 / 4; }
.bar-grid figure img { width: 100%; height: 100%; object-fit: cover; }

/* proceso */
.proc { background: #060606; }
.proc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.proc-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.proc-photo img { width: 100%; height: 100%; object-fit: cover; }
.proc-list { list-style: none; margin: 30px 0 0; padding: 0; }
.proc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.proc-n { width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font: 700 .78rem/1 var(--f-title); color: var(--gold); }
.proc-list h3 { font: 700 1.02rem/1.3 var(--f-title); margin: 0 0 4px; }
.proc-list p { margin: 0; color: var(--muted); font-size: .93rem; }

/* frase sobre foto (como el sitio anterior) */
.quote-band { position: relative; min-height: 56vh; display: grid; place-items: center; text-align: center; padding: 90px 20px; background: linear-gradient(rgba(6, 6, 6, .55), rgba(6, 6, 6, .75)), url('/assets/img/marca/ig-hero.jpg') center 30% / cover no-repeat; }
.quote-band p { font: 800 clamp(1.8rem, 4.6vw, 3.4rem)/1.1 var(--f-title); letter-spacing: -.5px; margin: 0; }
.quote-band span { display: block; font: 600 .82rem/1 var(--f-title); color: var(--gold); margin-bottom: 16px; }

/* historia */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.story-photo { overflow: hidden; aspect-ratio: 4 / 5; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy p { color: var(--muted); max-width: 32rem; }
.story-copy .h2 { margin-bottom: 20px; }

/* destinos */
.dest { background: #060606; }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dest-tile { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: 30px 26px 56px; transition: border-color .3s, transform .3s var(--ease); }
.dest-tile:hover { border-color: var(--gold); transform: translateY(-4px); }
.dest-tile h3 { font: 700 1.12rem/1.2 var(--f-title); margin: 0 0 10px; }
.dest-tile p { margin: 0; color: var(--muted); font-size: .92rem; }
.dest-tile i { position: absolute; right: 22px; bottom: 20px; font-style: normal; color: var(--gold); }

/* instagram */
.ig { padding: 80px 0 100px; }
.ig-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ig-head .eyebrow { margin: 0; }
/* (la tira es un carrusel continuo: ver "Instagram" al final del archivo) */

/* footer */
.foot { background: #050505; border-top: 1px solid var(--line); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--dim); max-width: 18rem; font-size: .92rem; }
.foot h4 { font: 700 .82rem/1 var(--f-title); color: #fff; margin: 4px 0 18px; }
.foot nav a { display: block; color: #8d887f; font-size: .9rem; padding: 5px 0; transition: color .25s; }
.foot nav a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; }

/* aviso 21+ */
.gate { position: fixed; inset: 0; z-index: 100; background: #050505; display: grid; place-items: center; padding: 24px; transition: opacity .4s; }
.gate.out { opacity: 0; }
.gate-box { text-align: center; max-width: 420px; }
.gate-logo { height: 56px; width: auto; margin: 0 auto 22px; filter: grayscale(1) brightness(2.2); }
.gate .eyebrow { margin-bottom: 10px; }
.gate-q { font: 800 1.6rem/1.2 var(--f-title); margin: 0 0 12px; }
.gate-p { color: var(--muted); margin: 0 0 26px; }
.gate-btns { display: flex; gap: 12px; justify-content: center; }

/* aparición suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .hero-media img { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .nav-links { gap: 20px; } .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .dest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
    :root { --wrap: calc(100% - 32px); }
    .nav { grid-template-columns: auto 1fr; padding: 0 16px; height: 64px; background: rgba(6, 6, 6, .94); }
    .nav.is-solid { height: 64px; }
    .nav-logo img { height: 38px; }
    .nav-links { position: fixed; inset: 64px 0 auto; height: calc(100svh - 64px); overflow-y: auto; flex-direction: column; justify-content: flex-start; gap: 0; padding: 18px 16px 40px; background: var(--bg); transform: translateY(-110%); transition: transform .45s var(--ease); }
    .menu-open .nav-links { transform: none; }
    .nav-links a { font-size: 1.15rem; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .nav-links a::after { display: none; }
    .nav-links .nav-more { display: block; font-size: .9rem; color: var(--muted); padding: 12px 0; border: 0; }
    .nav-links .nav-lang-m { display: block; margin-top: 18px; }
    .nav-links .nav-lang-m a { border: 0; display: inline; padding: 6px 0; font-size: 1rem; }
    .nav-right { justify-content: flex-end; gap: 12px; }
    .nav-right .lang { display: none; }
    .nav-burger { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; background: none; border: 0; cursor: pointer; }
    .nav-burger span { width: 22px; height: 1.5px; background: #fff; transition: transform .3s; }
    .menu-open .nav-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-open .nav-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

    .hero { display: block; min-height: 0; padding: 0 0 30px; }
    .hero-media { position: relative; width: 100%; height: 68svh; min-height: 420px; }
    .hero-media img { object-position: 50% 60%; }
    .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 4%, rgba(8, 8, 8, 0) 36%), linear-gradient(180deg, rgba(8, 8, 8, .7) 0%, rgba(8, 8, 8, 0) 22%); }
    .hero-in { margin-top: -64px; }
    .hero-copy, .credits { max-width: none; }
    .hero-media::after { inset: 0; }
    .hero .display { font-size: clamp(2.5rem, 11vw, 3.4rem); letter-spacing: -1px; }
    .credits { grid-template-columns: 1fr 1fr; margin-top: 36px; }
    .credits div { padding-bottom: 14px; }
    .col-grid, .ev-grid, .proc-grid, .story-grid { grid-template-columns: 1fr; }
    .vibe-strip { grid-template-columns: 1fr 1fr; }
    .bar-grid { grid-template-columns: 1fr 1fr; }
    .bar-copy { grid-column: 1 / -1; }
    .proc-photo, .story-photo { aspect-ratio: 4 / 3; }
    .ev-card figure { aspect-ratio: 16 / 11; }
    .dest-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .gate-btns { flex-direction: column; }
}

/* fotos de sesión con <picture> (WebP + JPG, tamaños propios; el CDN no las transforma) */
.hero-media picture, .tq figure picture, .bar-grid figure picture, .story-photo picture { display: block; width: 100%; height: 100%; }
.hero-media img { object-position: 50% 78%; }
@media (max-width: 899px) { .hero-media img { object-position: 50% 62%; } }
@media (max-width: 899px) {
    /* celular: foto completa de las botellas y el texto empieza debajo (nada encima del producto) */
    .hero-media { height: auto; min-height: 0; aspect-ratio: 2 / 3; max-height: 78svh; }
    .hero-media img { object-position: 50% 100%; animation: none; }
    .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 8, 8, 0) 10%), linear-gradient(180deg, rgba(8, 8, 8, .7) 0%, rgba(8, 8, 8, 0) 18%); }
    .hero-in { margin-top: 0; padding-top: 22px; }
}

/* =====================================================================
   Nivel premium (29-oct-2026): textura, ritmo claro/oscuro, ornamento de la etiqueta
   ===================================================================== */
:root { --grain: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --paper: #ece6db; --ink: #1d1915; }
/* grano fino en los fondos oscuros: el negro deja de verse plano */
.hero, .col, .events2, .moon, .bar, .story, .dest, .ig, .foot { background-image: var(--grain); }
.col { background-color: #070606; }

/* ornamento: línea fina con la estrellita de cuatro puntas de la etiqueta */
.spark { width: 16px; height: 16px; fill: var(--gold); flex: none; }
.rule { display: flex; align-items: center; gap: 12px; margin-top: 22px; width: min(260px, 70%); }
.rule span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(198, 161, 91, .7), rgba(198, 161, 91, .15)); }

/* banda de la luna (sin foto): emblema nítido + frase */
.moon { position: relative; padding: clamp(90px, 12vw, 150px) 20px; text-align: center; background-color: #060505; overflow: hidden; }
.moon::before { content: ''; position: absolute; left: 50%; top: 38%; width: 720px; height: 720px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(198, 161, 91, .12), transparent 62%); pointer-events: none; }
.moon-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.moon-line { width: 1px; height: 70px; background: linear-gradient(rgba(198, 161, 91, 0), rgba(198, 161, 91, .7)); }
.moon-line:nth-of-type(2) { background: linear-gradient(rgba(198, 161, 91, .7), rgba(198, 161, 91, 0)); }
.moon-img { width: clamp(150px, 18vw, 230px); height: auto; margin: 18px 0; opacity: .92; }
.moon-tag { font: 300 clamp(2rem, 5vw, 3.8rem)/1.1 var(--f-title); letter-spacing: -.5px; margin: 26px 0 14px; color: #f4efe6; }
.moon-copy { font: 400 clamp(1rem, 1.4vw, 1.15rem)/1.6 var(--f-body); color: var(--muted); margin: 0 0 28px; max-width: 30rem; }
.moon .spark { width: 18px; height: 18px; }

/* sección clara (papel): proceso */
.paper { background-color: var(--paper); background-image: 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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .28  0 0 0 0 .2  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); color: var(--ink); }
.paper .eyebrow { color: #8a6a32; }
.paper .h2 { color: var(--ink); }
.paper .rule span { background: linear-gradient(90deg, rgba(138, 106, 50, .8), rgba(138, 106, 50, .15)); }
.paper .spark { fill: #8a6a32; }
.paper .proc-list li { border-color: rgba(29, 25, 21, .14); }
.paper .proc-list h3 { color: var(--ink); }
.paper .proc-list p { color: #5d564c; }
.paper .proc-n { border-color: #8a6a32; color: #8a6a32; }
.paper .proc-photo { border-radius: 260px 260px 0 0; }   /* foto en arco */

/* inicio: sin zoom (no suaviza la foto) y sin estirarla más allá de su resolución */
.hero-media img { animation: none; }
@media (min-width: 900px) { .hero-media { width: min(54%, 820px); } }

/* inicio con la foto horizontal (botellas + piña + alambiques): centrada en las botellas */
.hero-media img { object-position: 52% 62%; }
@media (max-width: 899px) {
    .hero-media { aspect-ratio: 1 / 1; max-height: none; }
    .hero-media img { object-position: 52% 70%; }
}

/* =====================================================================
   Movimiento (29-oct-2026): cinta de marca, galería continua, entrada del inicio,
   fotos que se descubren, luna que gira. Todo se apaga con "reducir movimiento".
   ===================================================================== */

/* cinta de marca */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #090807; padding: 16px 0; }
.ticker-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: ll-ticker 48s linear infinite; }
.ticker span { font: 600 .92rem/1 var(--f-title); color: #e9e2d4; white-space: nowrap; }
.ticker .spark { width: 13px; height: 13px; }
@keyframes ll-ticker { to { transform: translateX(-50%); } }

/* galería continua */
.gal { padding: clamp(80px, 10vw, 120px) 0; background-color: #060505; background-image: var(--grain); }
.gal-head { margin-bottom: 40px; }
.marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; gap: 14px; width: max-content; padding: 0 14px; }
.marquee figure { margin: 0; height: clamp(300px, 34vw, 480px); flex: none; overflow: hidden; background: #111; }
.marquee picture { display: block; height: 100%; }
.marquee img { height: 100%; width: auto; transition: transform 1s var(--ease), filter .6s; filter: saturate(.95); }
.marquee figure:hover img { transform: scale(1.05); filter: saturate(1.08); }

/* entrada del inicio */
.hero-copy > * { animation: ll-up 1s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-foot { animation: ll-up 1s .5s var(--ease) both; }
@keyframes ll-up { from { opacity: 0; transform: translateY(24px); } }
.hero-media picture { animation: ll-hero-img 2.4s var(--ease) both; will-change: transform; }
@keyframes ll-hero-img { from { opacity: 0; transform: scale(1.06); } }

/* fotos que se descubren al entrar en pantalla (cortina) */
.reveal figure img, figure.reveal img { clip-path: inset(9% 0 9% 0); transform: scale(1.08); transition: clip-path 1.3s var(--ease), transform 1.7s var(--ease); }
.reveal.in figure img, figure.reveal.in img { clip-path: inset(0); transform: none; }
.tq:hover figure img { transform: scale(1.04); }

/* la luna gira muy lento */
.moon-img { animation: ll-spin 180s linear infinite; }
@keyframes ll-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .ticker-track, .hero-copy > *, .hero-foot, .hero-media picture, .moon-img { animation: none; }
    .reveal figure img, figure.reveal img { clip-path: none; transform: none; transition: none; }
}

/* el eslogan es más largo que el título anterior: tamaño acorde */
.hero .display { font-size: clamp(2.5rem, 4.3vw, 4.4rem); line-height: 1.04; letter-spacing: -1px; }
@media (max-width: 899px) { .hero .display { font-size: clamp(2.1rem, 9vw, 2.9rem); } }
/* historia en sección crema */
.paper .story-copy p { color: #4f483f; }
.paper .link-arrow { color: #8a6a32; }

/* =====================================================================
   Carruseles sin fin (30-oct-2026): galería e Instagram traen tres copias y dan la vuelta
   hacia los dos lados (home4.js). Instagram usa miniaturas cuadradas de 600 px.
   ===================================================================== */
.marquee { scroll-behavior: auto; }
.ig-strip .marquee-track { gap: 6px; padding: 0; }
.ig-strip a { flex: none; display: block; width: clamp(170px, 21vw, 290px); aspect-ratio: 1; overflow: hidden; background: #111; }
.ig-strip picture { height: 100%; }
.ig-strip.marquee img { width: 100%; height: 100%; object-fit: cover; }
.ig-strip a:hover img { transform: scale(1.05); filter: saturate(1.08); }
