/**
 * Navidad 2026 - sections.
 *
 * Desktop (1280px and up) places every piece where the Figma frame puts
 * it: `.nv-at` takes --x, --y and --w in design pixels. The diagonal floor
 * that runs down the page is one brown band drawn in two halves: the floor
 * at the bottom of each cream section and the wedge at the top of the next
 * one. Their slopes come from the design's own shapes.
 *
 * Phones get a stacked layout from the same markup at the end of the file.
 */

/* ==== shared ============================================================ */

/* Break out of Porto's boxed 1110px column, as the Deviriada page does
   (see the note in assets/deviriada/components.css). */
.nv-page {
    width: calc(100vw - var(--porto-scroll-w, 0px));
    max-width: calc(100vw - var(--porto-scroll-w, 0px));
    margin-inline: calc(50% - 50vw + var(--porto-scroll-w, 0px) / 2);
    overflow-x: clip;
    background: var(--nv-cream);
    color: var(--nv-ink);
}

body.page-template-page-navidad-2026 .main-content {
    padding-top: 0;
    padding-bottom: 0;
}

body.page-template-page-navidad-2026 .column1 {
    background-color: var(--nv-green, #49874c);
}

.nv-page img {
    max-width: none;
}

.nv-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.nv-section {
    position: relative;
    isolation: isolate;
}

/* Snowfall canvas (snow.js) over the dark sections; it never takes clicks. */
.nv-hero {
    position: relative;
}

/* The id keeps the canvas out of the flow even under the phone rule that
   makes every child of a dark section position: relative; in the flow it
   would take the section's height and grow it on every resize. */
#navidad .nv-snow {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.nv-cream {
    background: var(--nv-cream);
}

.nv-night {
    background-color: #0e1a3d;
    background-image: url("img/fondo-noche.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
}

/* Brown floor at the foot of a cream section, and the wedge that carries it
   into the top of the next section. */
.nv-section::before,
.nv-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(312 * var(--u));
    height: calc(52 * var(--u));
    border-radius: calc(6 * var(--u));
    background: var(--nv-cta);
    box-shadow: calc(6 * var(--u)) calc(6 * var(--u)) 0 var(--nv-ink);
    color: #fff;
    font-family: var(--nv-ff);
    font-size: calc(24 * var(--u));
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nv-btn:hover,
.nv-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translate(calc(2 * var(--u)), calc(2 * var(--u)));
    box-shadow: calc(4 * var(--u)) calc(4 * var(--u)) 0 var(--nv-ink);
}

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

.nv-heading {
    margin: 0;
    color: var(--nv-red);
    font-family: var(--nv-ff);
    font-size: calc(45 * var(--u));
    font-weight: 700;
    line-height: calc(50 / 45);
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
}

.nv-heading--light {
    color: #fff;
}

.nv-lead {
    margin: 0;
    color: var(--nv-ink);
    font-family: var(--nv-ff);
    font-size: calc(25 * var(--u));
    line-height: calc(35 / 25);
    text-align: center;
}

.nv-lead strong,
.nv-intro__text strong {
    font-weight: 700;
}

/* Decoration layer: faint garlands and grid doodles. */
.nv-deco {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.nv-deco img {
    position: absolute;
    height: auto;
}

.nv-deco__garland {
    opacity: 0.2;
}

.nv-deco__doodle {
    opacity: 0.1;
}

/* The red round arrows. The drawn arrow points left; next flips it. */
.nv-arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    width: calc(73 * var(--u));
    height: calc(73 * var(--u));
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.nv-arrow svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgb(0 0 0 / 25%));
}

.nv-arrow--next svg {
    transform: rotate(180deg);
}

.nv-arrow:hover:not(:disabled) {
    transform: scale(1.06);
}

.nv-arrow:focus-visible {
    outline: 3px solid var(--nv-gold);
    outline-offset: 2px;
    border-radius: 50%;
}

.nv-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.nv-arrow[hidden] {
    display: none;
}

/* ==== pieces shared by both layouts ===================================== */

.nv-gifts {
    position: absolute;
    z-index: 0;
    height: auto;
    pointer-events: none;
}

/* Video: the frame sits over the screen; its window is the transparent
   area of the frame art (66,60)-(1855,969) on a 1920x1080 canvas. */
.nv-video {
    position: relative;
    aspect-ratio: 1920 / 1080;
}

.nv-video__frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.nv-video__screen {
    position: absolute;
    z-index: 1;
    left: 3.4%;
    top: 5.5%;
    right: 3.3%;
    bottom: 10.2%;
    overflow: hidden;
    background: #0e1a3d;
}

.nv-video__art,
.nv-video__poster img,
.nv-video__player {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.nv-video__art {
    object-position: left center;
}

.nv-video__poster {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.nv-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 17%;
    height: auto;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.nv-video__poster:hover .nv-video__play {
    transform: translate(-50%, -50%) scale(1.08);
}

/* The player has to sit above the frame to take clicks on its controls. */
.nv-video__screen:has(.nv-video__player) {
    z-index: 3;
}

/* Profile carousel track: CSS scroll-snap; carousel.js adds the arrows.
   The carousel and the store panels sit over the gift boxes, as in the
   design, where the boxes peek out from behind them. */
.nv-carousel,
.nv-tiendas__panels {
    z-index: 1;
}

.nv-carousel__track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.nv-carousel__track::-webkit-scrollbar {
    display: none;
}

.nv-profile {
    margin: 0;
    scroll-snap-align: start;
}

.nv-profile img {
    display: block;
    width: 100%;
    height: auto;
}

/* Games row: the launches cards, on navy. */
.nv-juegos .dva-track__bar {
    display: none;
}

/* Store panels. */
.nv-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 4px 4px 0 var(--nv-ink);
}

.nv-panel__head {
    padding: 22px 16px 22px;
    background: #f7f9fc;
}

.nv-panel__title {
    margin: 0 0 16px;
    color: var(--nv-wine);
    font-family: var(--nv-ff);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
}

.nv-panel__title--navy {
    color: var(--nv-ink);
}

.nv-panel__hint {
    margin: 0;
    padding: 12px;
    border-radius: 6px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.nv-map {
    flex: 1 1 auto;
    min-height: 0;
    background: #aad3df;
}

.nv-panel--list {
    padding: 28px 0 0;
}

.nv-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 20px 16px;
}

.nv-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 12px;
    border: 2px solid var(--nv-orange);
    border-radius: 999px;
    background: #fff;
    color: var(--nv-ink);
    font-family: var(--nv-ff);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nv-chip:hover {
    background: #fff3ea;
}

.nv-chip.is-on {
    border-color: var(--nv-wine);
    background: var(--nv-wine);
    color: #fff;
}

.nv-chip:focus-visible {
    outline: 3px solid var(--nv-gold);
    outline-offset: 2px;
}

.nv-chip__flag {
    width: 18px;
    height: auto;
    border-radius: 2px;
}

.nv-chip__count {
    margin-left: 4px;
    font-weight: 700;
}

.nv-chip.is-on .nv-chip__count {
    padding: 4px 6px;
    border-radius: 6px;
    background: rgb(255 255 255 / 25%);
}

.nv-stores {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0 20px 20px 24px;
    overflow-y: auto;
    list-style: none;
    scrollbar-color: var(--nv-orange) transparent;
    scrollbar-width: thin;
}

.nv-store {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-left: 5px solid var(--nv-orange);
    border-radius: 10px;
    background: #f6f7f9;
    color: #4b5160;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.nv-store[hidden] {
    display: none;
}

.nv-store__name {
    margin: 0 0 6px;
    color: var(--nv-wine);
    font-family: var(--nv-ff);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.nv-store__row {
    margin: 0;
}

.nv-store__row b {
    color: var(--nv-ink);
}

.nv-store a {
    color: var(--nv-orange);
    font-weight: 700;
}

/* Map pins: the initial on a red-orange disc, as in the design. */
.nv-pin span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #e3651d, #a3241b);
    box-shadow: 0 3px 8px rgb(0 0 0 / 35%);
    color: #fff;
    font: 700 14px/1 var(--nv-ff, sans-serif);
}

.leaflet-popup-content {
    display: grid;
    gap: 4px;
    font-family: "Graphik", sans-serif;
}

.nv-pop__name {
    color: #8b1d22;
    font-size: 15px;
}

.nv-pop__place {
    color: #4b5160;
}

.nv-pop__link {
    color: #e3651d !important;
    font-weight: 700;
}

/* ==== desktop canvas ==================================================== */

@media (min-width: 1280px) {

    /* -- hero ----------------------------------------------------------- */

    .nv-hero img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* -- intro (design y 559-1106) -------------------------------------- */

    .nv-intro {
        height: calc(547 * var(--u));
    }

    .nv-intro::after {
        background: var(--nv-floor);
        clip-path: polygon(0 calc(340 * var(--u)), 100% calc(490 * var(--u)), 100% 100%, 0 100%);
    }

    .nv-intro .nv-deco__garland--1 { left: calc(var(--x0) + 14 * var(--u)); top: calc(7 * var(--u)); width: calc(861 * var(--u)); }
    .nv-intro .nv-deco__garland--2 { left: calc(var(--x0) + 851 * var(--u)); top: calc(36 * var(--u)); width: calc(864 * var(--u)); }
    .nv-intro .nv-deco__doodle { width: calc(252 * var(--u)); }
    .nv-intro .nv-deco__doodle--1 { left: calc(var(--x0) + 1419 * var(--u)); top: calc(36 * var(--u)); }
    .nv-intro .nv-deco__doodle--2 { left: calc(var(--x0) + 35 * var(--u)); top: calc(174 * var(--u)); }
    .nv-intro .nv-deco__doodle--3 { left: calc(var(--x0) + 841 * var(--u)); top: calc(213 * var(--u)); }
    .nv-intro .nv-deco__doodle--4 { left: calc(var(--x0) + 1381 * var(--u)); top: calc(323 * var(--u)); }

    .nv-intro__art {
        position: absolute;
        left: calc(var(--x0) + 120 * var(--u));
        top: calc(10 * var(--u));
        width: calc(734 * var(--u));
    }

    .nv-intro__art img {
        display: block;
        width: 100%;
        height: auto;
    }

    .nv-intro__body {
        position: absolute;
        left: calc(var(--x0) + 874 * var(--u));
        top: calc(104 * var(--u));
        width: calc(679 * var(--u));
    }

    .nv-intro__text {
        min-height: calc(279 * var(--u));
        margin: 0 0 calc(30 * var(--u));
        color: var(--nv-ink);
        font-size: calc(30 * var(--u));
        line-height: calc(40 / 30);
        text-align: center;
    }

    .nv-intro__actions {
        display: flex;
        justify-content: center;
        gap: calc(30 * var(--u));
    }

    /* -- momentos (design y 1106-1682) ---------------------------------- */

    .nv-momentos {
        height: calc(576 * var(--u));
        background-position: 90% 0;
    }

    .nv-momentos::before {
        background: var(--nv-floor);
        clip-path: polygon(0 0, 100% 0, 100% calc(100 * var(--u)));
        z-index: 0;
    }

    .nv-momentos::after {
        background: var(--nv-cream);
        clip-path: polygon(0 calc(514 * var(--u)), 100% 100%, 0 100%);
        z-index: 0;
    }

    .nv-momentos__copy {
        position: absolute;
        z-index: 1;
        left: calc(var(--x0) + 175 * var(--u));
        top: calc(82 * var(--u));
        width: calc(637 * var(--u));
        text-align: center;
    }

    .nv-momentos__title {
        margin: 0 0 calc(7 * var(--u));
        color: var(--nv-gold);
        font-family: var(--nv-ff);
        font-size: calc(36 * var(--u));
        font-weight: 700;
        line-height: calc(50 / 36);
        letter-spacing: 0;
        text-transform: none;
    }

    /* The design's 18px body would drop under 14px near 1280px. */
    .nv-momentos__text {
        width: calc(633 * var(--u));
        color: #fff;
        font-size: max(calc(18 * var(--u)), 14px);
        line-height: max(calc(26 * var(--u)), 20px);
    }

    .nv-momentos__text p {
        margin: 0;
    }

    .nv-momentos__claim {
        margin-top: calc(26 * var(--u)) !important;
        color: var(--nv-gold);
        font-size: calc(25 * var(--u));
        font-weight: 700;
    }

    .nv-video {
        position: absolute;
        z-index: 1;
        left: calc(var(--x0) + 897 * var(--u));
        top: calc(75 * var(--u));
        width: calc(704.6 * var(--u));
    }

    /* -- guía (design y 1682-2430) -------------------------------------- */

    .nv-guia {
        height: calc(748 * var(--u));
    }

    .nv-guia::after {
        background: var(--nv-floor);
        clip-path: polygon(0 calc(478 * var(--u)), 100% calc(682 * var(--u)), 100% 100%, 0 100%);
    }

    .nv-guia .nv-deco__garland { width: calc(1007 * var(--u)); }
    .nv-guia .nv-deco__garland--1 { left: calc(var(--x0) + 14 * var(--u)); top: calc(100 * var(--u)); }
    .nv-guia .nv-deco__garland--2 { left: calc(var(--x0) + 707 * var(--u)); top: calc(166 * var(--u)); }
    .nv-guia .nv-deco__doodle { width: calc(294 * var(--u)); }
    .nv-guia .nv-deco__doodle--1 { left: calc(var(--x0) + 1398 * var(--u)); top: calc(70 * var(--u)); }
    .nv-guia .nv-deco__doodle--2 { left: calc(var(--x0) + 18 * var(--u)); top: calc(258 * var(--u)); }
    .nv-guia .nv-deco__doodle--3 { left: calc(var(--x0) + 820 * var(--u)); top: calc(311 * var(--u)); }
    .nv-guia .nv-deco__doodle--4 { left: calc(var(--x0) + 1360 * var(--u)); top: calc(483 * var(--u)); }

    .nv-guia > .nv-heading,
    .nv-guia > .nv-lead {
        position: absolute;
        left: calc(var(--x0) + 175 * var(--u));
        width: calc(1378 * var(--u));
    }

    .nv-guia > .nv-heading { top: calc(50 * var(--u)); }
    .nv-guia > .nv-lead { top: calc(126 * var(--u)); }

    .nv-guia__art {
        position: absolute;
        left: calc(var(--x0) + 130 * var(--u));
        top: calc(224 * var(--u));
        width: calc(711 * var(--u));
    }

    .nv-guia__art img {
        display: block;
        width: 100%;
        height: auto;
    }

    .nv-guia__carousel {
        position: absolute;
        left: calc(var(--x0) + 921 * var(--u));
        top: calc(228 * var(--u));
        width: calc(636 * var(--u));
    }

    .nv-guia__carousel .nv-arrow {
        top: calc(207 * var(--u));
    }

    .nv-guia__carousel .nv-arrow--prev { left: calc(-83 * var(--u)); }
    .nv-guia__carousel .nv-arrow--next { right: calc(-93 * var(--u)); }

    .nv-carousel__track {
        gap: calc(38 * var(--u));
    }

    .nv-profile {
        flex: 0 0 calc(299 * var(--u));
    }

    .nv-guia .nv-gifts {
        left: calc(var(--x0) + 1432 * var(--u));
        top: calc(513 * var(--u));
        width: calc(248 * var(--u));
    }

    /* -- juegos (design y 2430-3312) ------------------------------------ */

    .nv-juegos {
        height: calc(882 * var(--u));
        background-position: 92% 0;
    }

    .nv-juegos::before {
        background: var(--nv-floor);
        clip-path: polygon(0 0, 100% 0, 100% calc(72 * var(--u)));
        z-index: 0;
    }

    .nv-juegos::after {
        background: var(--nv-cream);
        clip-path: polygon(0 calc(787 * var(--u)), 100% 100%, 0 100%);
        z-index: 0;
    }

    .nv-juegos > .nv-heading {
        position: absolute;
        z-index: 1;
        left: calc(var(--x0) + 147 * var(--u));
        top: calc(72 * var(--u));
        width: calc(1434 * var(--u));
    }

    .nv-juegos__row {
        position: absolute;
        z-index: 1;
        left: calc(var(--x0) + 251 * var(--u));
        top: calc(159 * var(--u));
        width: calc(1238 * var(--u));
    }

    .nv-juegos .dva-grid--track {
        gap: calc(32 * var(--u));
        padding-bottom: 0;
    }

    .nv-juegos .dva-grid--track > .dva-card {
        flex-basis: calc(286 * var(--u));
    }

    .nv-juegos .dva-track__btn {
        top: calc(287 * var(--u));
        width: calc(73 * var(--u));
        height: calc(73 * var(--u));
        background: radial-gradient(circle at 51.9% 50.5%, var(--nv-cta) 0 calc(29.8 * var(--u)), transparent calc(30.3 * var(--u)));
        box-shadow: none;
        color: #fff;
        filter: drop-shadow(0 4px 6px rgb(0 0 0 / 25%));
    }

    .nv-juegos .dva-track__btn svg {
        width: calc(30 * var(--u));
        height: calc(30 * var(--u));
        margin-left: calc(2 * var(--u));
    }

    .nv-juegos .dva-track__btn--prev { left: calc(-84 * var(--u)); }
    .nv-juegos .dva-track__btn--next { right: calc(-91 * var(--u)); }

    /* -- tiendas (design y 3312-4150) ----------------------------------- */

    .nv-tiendas {
        height: calc(838 * var(--u));
    }

    .nv-tiendas::after {
        background: var(--nv-floor);
        clip-path: polygon(0 calc(522 * var(--u)), 100% calc(745 * var(--u)), 100% 100%, 0 100%);
    }

    .nv-tiendas .nv-deco__garland { width: calc(1052 * var(--u)); }
    .nv-tiendas .nv-deco__garland--1 { left: calc(var(--x0) + 14 * var(--u)); top: calc(125 * var(--u)); }
    .nv-tiendas .nv-deco__garland--2 { left: calc(var(--x0) + 662 * var(--u)); top: calc(206 * var(--u)); }
    .nv-tiendas .nv-deco__doodle { width: calc(307 * var(--u)); }
    .nv-tiendas .nv-deco__doodle--1 { left: calc(var(--x0) + 1281 * var(--u)); top: calc(38 * var(--u)); }
    .nv-tiendas .nv-deco__doodle--2 { left: calc(var(--x0) + 14 * var(--u)); top: calc(288 * var(--u)); }
    .nv-tiendas .nv-deco__doodle--3 { left: calc(var(--x0) + 813 * var(--u)); top: calc(346 * var(--u)); }
    .nv-tiendas .nv-deco__doodle--4 { left: calc(var(--x0) + 1354 * var(--u)); top: calc(538 * var(--u)); }

    .nv-tiendas > .nv-heading,
    .nv-tiendas > .nv-lead {
        position: absolute;
        left: calc(var(--x0) + 130 * var(--u));
        width: calc(1458 * var(--u));
    }

    .nv-tiendas > .nv-heading { top: calc(38 * var(--u)); }
    .nv-tiendas > .nv-lead { top: calc(100 * var(--u)); }

    .nv-tiendas__tree {
        position: absolute;
        left: var(--x0);
        top: calc(88 * var(--u));
        width: calc(437 * var(--u));
        height: auto;
    }

    .nv-tiendas__panels {
        position: absolute;
        left: calc(var(--x0) + 259 * var(--u));
        top: calc(154 * var(--u));
        display: grid;
        grid-template-columns: calc(593 * var(--u)) calc(591 * var(--u));
        gap: calc(27 * var(--u));
        height: calc(621 * var(--u));
    }

    .nv-panel--map {
        margin-top: calc(3 * var(--u));
    }

    /* Thirteen countries do not fit the design's two rows of chips inside a
       panel of fixed height: one row that slides, fading at the edge. */
    .nv-chips {
        flex: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-inline: 0;
        padding: 2px 20px 6px;
        overflow-x: auto;
        scrollbar-width: none;
        mask-image: linear-gradient(90deg, #000 85%, transparent);
    }

    .nv-chips::-webkit-scrollbar {
        display: none;
    }

    .nv-chip {
        flex: 0 0 auto;
        min-height: 38px;
        padding-inline: 14px;
        font-size: 14px;
    }

    .nv-tiendas .nv-gifts {
        left: calc(var(--x0) + 1408 * var(--u));
        top: calc(584 * var(--u));
        width: calc(286 * var(--u));
    }

    /* -- cierre (design y 4150-4616) ------------------------------------ */

    .nv-cierre {
        height: calc(466 * var(--u));
        background: var(--nv-green);
    }

    .nv-cierre::before {
        background: var(--nv-floor);
        clip-path: polygon(0 0, 100% 0, 100% calc(120 * var(--u)));
        z-index: 0;
    }

    .nv-cierre__copy {
        position: absolute;
        z-index: 1;
        left: calc(var(--x0) + 175 * var(--u));
        top: calc(122 * var(--u));
        width: calc(679 * var(--u));
        text-align: center;
    }

    .nv-cierre__text {
        margin: 0 0 calc(20 * var(--u));
        color: #fff;
        font-size: calc(40 * var(--u));
        font-weight: 700;
        line-height: calc(50 / 40);
    }

    .nv-cierre__art {
        position: absolute;
        z-index: 1;
        left: calc(var(--x0) + 903 * var(--u));
        top: calc(29 * var(--u));
        width: calc(604 * var(--u));
    }

    .nv-cierre__art img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* ==== phones and tablets ================================================ */

@media (max-width: 1279px) {

    #navidad > * {
        --u: 1px;
        --x0: 0px;
    }

    .nv-hero img {
        display: block;
        width: 100%;
        height: auto;
    }

    .nv-section {
        padding: 48px 20px 72px;
    }

    /* Floor at the foot of each cream section, wedge at the top of the next. */
    .nv-cream::after {
        background: var(--nv-floor);
        clip-path: polygon(0 calc(100% - 64px), 100% calc(100% - 28px), 100% 100%, 0 100%);
    }

    .nv-night,
    .nv-cierre {
        padding-top: 64px;
    }

    .nv-night::before,
    .nv-cierre::before {
        background: var(--nv-floor);
        clip-path: polygon(0 0, 100% 0, 100% 28px);
        z-index: 0;
    }

    .nv-night::after {
        background: var(--nv-cream);
        clip-path: polygon(0 calc(100% - 28px), 100% 100%, 0 100%);
        z-index: 0;
    }

    /* A phone shows the bright, snowy part of the night art behind long
       white copy: a navy veil keeps it readable. */
    .nv-night {
        background-image: linear-gradient(rgb(14 26 61 / 55%), rgb(14 26 61 / 80%)), url("img/fondo-noche.jpg");
        background-position: 0 0, 88% 0;
        background-size: auto, cover;
    }

    .nv-night > *,
    .nv-cierre > * {
        position: relative;
        z-index: 1;
    }

    .nv-deco__garland {
        width: 90%;
        top: 8px;
    }

    .nv-deco__garland--1 { left: -10%; }
    .nv-deco__garland--2 { right: -10%; top: 40px; }

    .nv-deco__doodle {
        width: 140px;
    }

    .nv-deco__doodle--1 { right: 4%; top: 30%; }
    .nv-deco__doodle--2 { left: 2%; top: 55%; }
    .nv-deco__doodle--3,
    .nv-deco__doodle--4 { display: none; }

    .nv-heading {
        font-size: clamp(26px, 6.4vw, 36px);
        line-height: 1.15;
    }

    .nv-lead {
        margin-top: 12px;
        font-size: clamp(16px, 4.2vw, 20px);
        line-height: 1.45;
    }

    .nv-btn {
        width: min(312px, 100%);
        height: 52px;
        border-radius: 6px;
        box-shadow: 5px 5px 0 var(--nv-ink);
        font-size: 20px;
    }

    .nv-btn:hover,
    .nv-btn:focus-visible {
        transform: translate(2px, 2px);
        box-shadow: 3px 3px 0 var(--nv-ink);
    }

    /* intro */
    .nv-intro {
        padding-top: 24px;
        padding-bottom: 96px;
        text-align: center;
    }

    .nv-intro__art img,
    .nv-guia__art img,
    .nv-cierre__art img {
        display: block;
        width: 100%;
        max-width: 560px;
        height: auto;
        margin: 0 auto;
    }

    .nv-intro__text {
        max-width: 600px;
        margin: 20px auto 24px;
        font-size: clamp(18px, 4.6vw, 22px);
        line-height: 1.4;
    }

    .nv-intro__actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    /* momentos */
    .nv-momentos__copy {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .nv-momentos__title {
        margin: 0 0 14px;
        color: var(--nv-gold);
        font-family: var(--nv-ff);
        font-size: clamp(24px, 6vw, 32px);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: 0;
        text-transform: none;
    }

    .nv-momentos__text {
        color: #fff;
        font-size: 16px;
        line-height: 1.5;
    }

    .nv-momentos__text p {
        margin: 0 0 10px;
    }

    .nv-momentos__claim {
        margin-top: 18px !important;
        color: var(--nv-gold);
        font-size: 20px;
        font-weight: 700;
        line-height: 1.3;
    }

    .nv-video {
        max-width: 640px;
        margin: 28px auto 0;
    }

    /* guía */
    .nv-guia {
        padding-bottom: 150px;
    }

    .nv-guia__art {
        margin: 24px auto 0;
    }

    .nv-guia__carousel,
    .nv-tiendas__panels {
        position: relative;
    }

    .nv-guia__carousel {
        max-width: 640px;
        margin: 24px auto 0;
    }

    .nv-carousel__track {
        gap: 16px;
        scroll-padding-inline: 0;
    }

    .nv-profile {
        flex: 0 0 min(62vw, 280px);
    }

    .nv-guia__carousel .nv-arrow {
        top: 50%;
        width: 52px;
        height: 52px;
        transform: translateY(-50%);
    }

    .nv-guia__carousel .nv-arrow:hover:not(:disabled) {
        transform: translateY(-50%) scale(1.06);
    }

    .nv-guia__carousel .nv-arrow--prev { left: -12px; }
    .nv-guia__carousel .nv-arrow--next { right: -12px; }

    .nv-guia .nv-gifts {
        right: 16px;
        bottom: 12px;
        width: 150px;
    }

    /* juegos */
    .nv-juegos > .nv-heading {
        margin-bottom: 24px;
    }

    .nv-juegos__row {
        max-width: 960px;
        margin: 0 auto;
    }

    /* tiendas */
    .nv-tiendas {
        padding-bottom: 150px;
    }

    .nv-tiendas__tree {
        display: none;
    }

    .nv-tiendas__panels {
        display: grid;
        gap: 24px;
        max-width: 640px;
        margin: 24px auto 0;
    }

    .nv-map {
        height: 340px;
        flex: none;
    }

    .nv-panel--list {
        max-height: 620px;
    }

    .nv-tiendas .nv-gifts {
        right: 16px;
        bottom: 12px;
        width: 160px;
    }

    /* cierre */
    .nv-cierre {
        padding-bottom: 32px;
        background: var(--nv-green);
        text-align: center;
    }

    .nv-cierre__text {
        max-width: 560px;
        margin: 0 auto 22px;
        color: #fff;
        font-size: clamp(22px, 5.6vw, 30px);
        font-weight: 700;
        line-height: 1.3;
    }

    .nv-cierre__art {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nv-btn,
    .nv-arrow,
    .nv-video__play {
        transition: none;
    }

    .nv-carousel__track {
        scroll-behavior: auto;
    }
}
