/* ═══════════════════════════════════════════════════════════════════════════
   vuelo.css · el vuelo sobre la botella (fichas de vino)
   ---------------------------------------------------------------------------
   Un tramo largo de página (su altura la fija js/vuelo.js) con un escenario
   pegajoso de una pantalla: dentro, las escenas de vídeo apiladas y, encima,
   las hojas de la ficha en una cartela de papel translúcido a la izquierda
   (abajo, en móvil). A la derecha, los puntos de ruta.

   Sin JS —o antes de que arranque— las hojas se apilan como texto normal
   sobre marfil: la ficha se lee entera igualmente.
   ═══════════════════════════════════════════════════════════════════════════ */

.vino-vuelo {
    position: relative;
    z-index: 4;                      /* sobre la primera hoja (2) y la botella fija (1) */
    background: #f4f0e6;
    font-family: 'Quicksand', 'Inter', sans-serif;
    color: #1a1a1a;
}

/* ── sin JS: hojas apiladas ── */
.vino-vuelo:not(.vv-ready) .vv-stage { position: static; height: auto; overflow: visible; background: transparent; }
.vino-vuelo:not(.vv-ready) .vv-scenes,
.vino-vuelo:not(.vv-ready) .vv-route,
.vino-vuelo:not(.vv-ready) .vv-hint { display: none; }
.vino-vuelo:not(.vv-ready) .vv-copies { position: static; max-width: 960px; margin: 0 auto; padding: 90px 20px 60px; }
.vino-vuelo:not(.vv-ready) .vv-copy { position: static; opacity: 1; transform: none; width: auto; max-width: 640px; margin: 0 auto 40px; }

/* ── escenario ──
   No puede ser position:sticky: main#swup lleva overflow:hidden (plantilla) y
   eso anula el sticky en toda la página. El JS lo lleva por tres estados:
   antes del tramo, pegado arriba del recorrido; durante, fijo a la ventana;
   después, pegado al final del recorrido. Como el tramo mide (recorrido + 1
   pantalla) y el escenario 1 pantalla, los tres empalman sin salto. */
.vv-stage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #f4f0e6;
}
.vino-vuelo.vv-pin .vv-stage { position: fixed; }
.vino-vuelo.vv-done .vv-stage { top: auto; bottom: 0; }
.vv-scenes { position: absolute; inset: 0; }
.vv-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    will-change: opacity;
}
.vv-still,
.vv-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}
.vv-still { will-change: transform; transform-origin: 50% 45%; }
.vv-scene.has-clip .vv-still { opacity: 0; }
.vv-video { z-index: 1; }

/* ── las hojas ── */
.vv-copies { position: absolute; inset: 0; z-index: 25; pointer-events: none; }
.vv-copy {
    position: absolute;
    left: clamp(20px, 5vw, 72px);
    top: 50%;
    width: min(44vw, 540px);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 30px 34px 32px;
    background: rgba(250, 247, 240, .9);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 151, 96, .45);
    border-radius: 18px;
    box-shadow: 0 30px 80px -30px rgba(26, 26, 26, .55);
    opacity: 0;
    transform: translateY(calc(-50% + var(--vv-drift, 0vh)));
    will-change: opacity, transform;
    scrollbar-width: thin;
}
.vv-num {
    display: block;
    font-size: 10.5px;
    letter-spacing: .28em;
    color: #8a6a38;
}
.vv-eyebrow {
    display: block;
    margin-top: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #B89760;
}
.vv-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 12px 0 0;
    font-family: 'PP Editorial New', 'Georgia', serif;
    font-weight: 300;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: .01em;
    color: #1a1a1a;
}
.vv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: #B89760;
    border: 1px solid rgba(184, 151, 96, .35);
    border-radius: 50%;
    background: #fff;
}
.vv-icon svg { width: 20px; height: 20px; }
.vv-body {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: #3a3a3a;
}
.vv-body strong { color: #1a1a1a; font-weight: 600; }
.vv-body em { color: #555; font-style: italic; }
.vv-note {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 0, 0, .12);
    font-size: 13px;
    line-height: 1.6;
    color: #777;
}

/* la ficha técnica, compacta, dentro de la cartela */
.vv-copy .tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 20px 0 0;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    overflow: hidden;
}
.vv-copy .tech-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .4);
}
.vv-copy .tech-item:nth-child(odd) { border-right: 1px solid rgba(0, 0, 0, .06); }
.vv-copy .tech-item:hover { background: rgba(255, 255, 255, .75); }
.vv-copy .tech-item-wide { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.vv-copy .tech-item dt {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #888;
}
.vv-copy .tech-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #B89760;
    border: 1px solid rgba(184, 151, 96, .3);
    border-radius: 50%;
    background: #fff;
}
.vv-copy .tech-icon svg { width: 13px; height: 13px; }
.vv-copy .tech-item dd {
    flex: 0 1 auto;
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: right;
}

.vv-nb { white-space: nowrap; }

/* ── escena oscura: el logo y el menú fijos pasan a claro (body.vv-dark lo pone el motor).
   Con !important porque site-menu.css fija el negro del menú también con !important. ── */
body.vv-dark .logo_head { display: none !important; }
body.vv-dark .logo_head_black { display: block !important; }
body.vv-dark .menu-container .menu-items a,
body.vv-dark .menu-container .menu-items span { color: #fff !important; }
body.vv-dark .menu-container .menu-items a::after,
body.vv-dark .menu-container .menu-items span::after { border-bottom-color: #fff !important; }
body.vv-dark .menu-container .menu-items a:hover,
body.vv-dark .menu-container .menu-items span:hover { color: #c5ad91 !important; }   /* el dorado del hover de site-menu.css */
body.vv-dark .menu-container .menu-items svg[stroke="#1a1a1a"] { stroke: #fff !important; }

/* volver */
.vv-cta { display: flex; justify-content: flex-start; margin: 24px 0 0; }
.vv-cta .button_more {
    font-family: 'Quicksand', sans-serif;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #1a1a1a;
    padding: 13px 30px;
    border: 1px solid rgba(0, 0, 0, .22);
    background: rgba(255, 255, 255, .5);
    text-decoration: none;
    transition: all .3s ease;
}
.vv-cta .button_more:hover { border-color: #B89760; color: #B89760; letter-spacing: .34em; }
.vv-cta .button_more::before,
.vv-cta .button_more::after { display: none !important; }

/* ── puntos de ruta ── */
.vv-route {
    position: absolute;
    right: clamp(14px, 2.4vw, 30px);
    top: 50%;
    z-index: 30;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 8px;
}
.vv-route::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 1px;
    transform: translateX(-50%);
    background: rgba(184, 151, 96, .45);
}
.vv-dot {
    position: relative;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    -webkit-tap-highlight-color: transparent;
}
.vv-dot i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(250, 247, 240, .7);
    border: 1px solid #B89760;
    transition: transform .3s, background .3s, box-shadow .3s;
}
.vv-dot:hover i { background: #B89760; transform: scale(1.25); }
.vv-dot.is-active i { background: #B89760; transform: scale(1.4); box-shadow: 0 0 0 5px rgba(184, 151, 96, .22); }
.vv-dot:focus-visible { outline: none; }
.vv-dot:focus-visible i { box-shadow: 0 0 0 3px rgba(184, 151, 96, .6); }
.vv-dot-label {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    white-space: nowrap;
    font-family: 'Quicksand', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: rgba(250, 247, 240, .9);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(184, 151, 96, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}
.vv-dot:hover .vv-dot-label,
.vv-dot.is-active .vv-dot-label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ── aviso: sigue bajando ── */
.vv-hint {
    position: absolute;
    left: 50%;
    bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #8a6a38;
    background: rgba(250, 247, 240, .82);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border: 1px solid rgba(184, 151, 96, .4);
    border-radius: 999px;
    pointer-events: none;
    transition: opacity .3s;
}
.vv-hint i {
    position: relative;
    width: 14px;
    height: 22px;
    border-radius: 8px;
    border: 1.5px solid rgba(138, 106, 56, .55);
}
.vv-hint i::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 4px;
    width: 3px;
    height: 5px;
    border-radius: 2px;
    background: #B89760;
    transform: translateX(-50%);
    animation: vvWheel 1.7s ease-in-out infinite;
}
@keyframes vvWheel {
    0%   { opacity: 0; top: 3px; }
    40%  { opacity: 1; }
    100% { opacity: 0; top: 11px; }
}

/* ── móvil ── */
@media (max-width: 860px) {
    .vv-copy {
        left: 16px;
        right: 34px;                 /* deja sitio a la columna de puntos */
        top: auto;
        bottom: calc(clamp(56px, 12vh, 110px) + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: 560px;
        max-height: 70vh;
        padding: 22px 22px 24px;
        transform: translateY(var(--vv-drift, 0vh));
    }
    .vv-title { font-size: clamp(24px, 7vw, 32px); gap: 12px; }
    .vv-icon { width: 36px; height: 36px; }
    .vv-icon svg { width: 17px; height: 17px; }
    .vv-body { font-size: 14.5px; line-height: 1.7; margin-top: 14px; }
    /* la ficha técnica: dos columnas, etiqueta arriba y valor debajo, sin el
       hueco de 52 px que la página reserva al icono (aquí el icono no se pinta) */
    .vv-copy .tech-item { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 3px; padding: 7px 9px; }
    .vv-copy .tech-icon { display: none; }
    .vv-copy .tech-item dt { flex: 0 0 auto; font-size: 8.5px; letter-spacing: .12em; }
    .vv-copy .tech-item dd { flex: 0 0 auto; padding-left: 0; font-size: 12px; line-height: 1.3; text-align: left; }
    .vv-cta { margin-top: 18px; }
    .vv-cta .button_more { padding: 12px 24px; }
    .vv-route { gap: 14px; right: 4px; padding: 12px 6px; }
    .vv-dot-label { display: none; }
    .vv-hint { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
    .vv-still, .vv-video { object-position: center 46%; }
}
@media (max-width: 860px) and (orientation: portrait) {
    .vv-still, .vv-video { object-position: center 44%; }
}
@media (hover: none) and (pointer: coarse) {
    .vv-dot { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .vv-hint i::after { animation: none; }
}

/* ══ PORTADA · el borde de la hoja siguiente ══
   Bajo la botella asoma el canto de la ficha: una banda blanca con la misma
   sombra que las hojas, la invitación «Descubrir el vino» con un hilo animado
   y el índice de la ficha. Dice sin palabras que la página sigue. El botón
   del manifiesto, que ocupaba ese sitio y parecía el final, pasa a la esquina
   en escritorio y queda encima de la banda en móvil. Entra deslizándose a los
   3,4 s, cuando la botella termina de alejarse. */
.hero-next {
    --hn-h: 68px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    bottom: calc(100vh - 100svh);            /* móvil: al borde de la pantalla aunque asome la barra de URL */
    z-index: 5;
    height: var(--hn-h);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 44px);
    padding: 0 24px;
    background: #fff;
    border-top: 1px solid rgba(184, 151, 96, .35);
    box-shadow: 0 -20px 40px rgba(0, 0, 0, .06);
    pointer-events: auto;
    font-family: 'Quicksand', 'Inter', sans-serif;
    transform: translateY(120%);
    animation: heroNextIn 1.1s cubic-bezier(.16, 1, .3, 1) 3.4s forwards;
}
@keyframes heroNextIn { to { transform: translateY(0); } }
.hero-next .hn-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    transition: color .25s;
}
.hero-next .hn-main:hover { color: #6E1F25; }
.hero-next .hn-cue { position: relative; width: 14px; height: 30px; }
.hero-next .hn-cue::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    margin-left: -.5px;
    background: rgba(184, 151, 96, .45);
}
.hero-next .hn-cue i {
    position: absolute;
    left: 50%;
    top: 0;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #B89760;
    animation: hnDrop 1.8s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes hnDrop {
    0%   { transform: translateY(0); opacity: 0; }
    25%  { opacity: 1; }
    100% { transform: translateY(25px); opacity: 0; }
}
.hero-next .hn-sep { width: 1px; height: 22px; background: rgba(0, 0, 0, .12); }
.hero-next .hn-index { display: flex; gap: clamp(14px, 2vw, 30px); }
.hero-next .hn-index a,
.hero-next .hn-index button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #6b6b6b;
    text-decoration: none;
    transition: color .25s;
}
.hero-next .hn-index b { font-weight: 600; color: #B89760; }
.hero-next .hn-index a:hover,
.hero-next .hn-index button:hover { color: #1a1a1a; }

/* el manifiesto, a la esquina */
@media (min-width: 769px) {
    .bottle-hero .manifesto-trigger { left: auto; right: clamp(24px, 5vw, 96px); bottom: calc(68px + 3.5vh); transform: none; }
    .bottle-hero .manifesto-trigger:hover,
    .bottle-hero .manifesto-trigger:focus-visible { transform: translateY(-2px); }
}
@media (max-width: 768px) {
    .hero-next { --hn-h: 56px; gap: 0; }
    .hero-next .hn-sep,
    .hero-next .hn-index { display: none; }
    .hero-next .hn-main { font-size: 10px; letter-spacing: .28em; }
    .bottle-hero .manifesto-trigger { bottom: calc(56px + 3vh); bottom: calc(100vh - 100svh + 56px + 3vh); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-next { animation: none; transform: none; }
    .hero-next .hn-cue i { animation: none; top: 12px; opacity: 1; }
}
