:root {
    /* Paleta principal inspirada en la imagen de referencia */
    --teal: #0e8f9b;
    --teal-dark: #08727d;
    --text-dark: #091620;
    --teal-soft: #6fa7ad;
    --orange: #ef8a32;
    --orange-dark: #cc6c22;
    --navy: #0f1e2b;
    --navy-deep: #091620;
    --gray: #667581;
    --soft: #edf3f4;
    --white: #ffffff;
    --line: rgba(15, 30, 43, .14);
    --container: 1180px;
    --header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--navy);
    background: var(--white);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    transition: .25s ease;
}

.site-header.scrolled {
    height: 70px;
    background: rgba(237, 243, 244, .96);
    box-shadow: 0 12px 35px rgba(11, 11, 14, .08);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
}


.brand-mark img {
    width: 50px;
    height: auto;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    font-family: "Montserrat", sans-serif;
    font-size: .98rem;
    letter-spacing: .11em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--gray);
    font-size: .62rem;
    letter-spacing: .06em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 29px;
}

.main-nav a {
    position: relative;
    font-size: .91rem;
    font-weight: 700;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--teal);
    transition: right .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    right: 0;
    background: var(--teal-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    color: var(--white);
    background: var(--navy);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

.youtube-button:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.youtube-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: var(--navy);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
    transition: .25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.active-item {
    background-color: var(--teal);
    padding: 15px 20px;
    color: #edf3f4;
}

/* Redes sociales */
.social-rail {
    position: fixed;
    z-index: 850;
    top: 50%;
    left: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: translateY(-50%);
}

.social-rail>span {
    color: var(--gray);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.social-rail>i {
    width: 1px;
    height: 38px;
    background: rgba(11, 11, 14, .25);
}

.social-rail a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(11, 11, 14, .15);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    transition: .2s ease;
    backdrop-filter: blur(7px);
}

.social-rail a:hover {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-2px);
}


.social-rail img {
    width: 30px;
    height: auto;
    object-fit: cover;
}

.social-rail svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-rail .fill {
    fill: currentColor;
    stroke: none;
}

/* arayav */
.arayav {
    position: relative;
    min-height: 790px;
    padding: calc(var(--header-height) + 68px) 0 80px;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(14, 143, 155, .08), transparent 28%),
        var(--white);
}

.arayav::before {
    content: "";
    position: absolute;
    z-index: -3;
    inset: 0 0 0 48%;
    background: var(--teal);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 16% 100%, 0 62%);
}

.arayav::after {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    width: 48%;
    height: 28%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .29) 1px, transparent 1.5px) 0 0 / 12px 12px,
        var(--navy);
    clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 40%);
}

.arayav-grid {
    display: grid;
    grid-template-columns: 1fr .98fr;
    align-items: center;
    gap: 58px;
}

.arayav-copy {
    position: relative;
    z-index: 5;
    max-width: 640px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--gray);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 3px;
    background: var(--orange);
}

.arayav h1 {
    max-width: 680px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(3.6rem, 6.2vw, 6.7rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .91;
}

.arayav h1 span {
    display: block;
    color: var(--teal);
}

.arayav-copy>p {
    max-width: 520px;
    margin: 27px 0 0;
    color: var(--gray);
    font-size: 1.06rem;
    line-height: 1.7;
}

.arayav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: .2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.button-primary {
    color: var(--white);
    background: var(--teal);
}

.button-primary:hover {
    background: var(--teal-dark);
}

.button-secondary {
    border-color: var(--navy);
    background: transparent;
}

.button-secondary:hover {
    color: var(--white);
    background: var(--navy);
}

.mini-message {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.mini-message strong {
    font-family: "Montserrat", sans-serif;
    font-size: 1.08rem;
}

.mini-message span {
    color: var(--gray);
    font-size: .82rem;
}

.arayav-visual {
    position: relative;
    z-index: 2;
    min-height: 570px;
}

.photo-frame {
    position: absolute;
    z-index: 3;
    inset: 42px 0 0 26px;
    overflow: hidden;
    background: #cfdadd;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 79%, 0 19%);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .23);
}

.photo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(150deg, transparent 24%, rgba(14, 143, 155, .62) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1) contrast(1.07);
}

.red-shape {
    position: absolute;
    z-index: 1;
    right: -18%;
    bottom: -7%;
    width: 112%;
    height: 59%;
    background: var(--teal);
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
    transform: rotate(-3deg);
}

.visual-title {
    position: absolute;
    z-index: 5;
    top: 87px;
    right: 0;
    color: var(--white);
    text-align: right;
}

.visual-title small {
    display: block;
    margin-bottom: 9px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.visual-title strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.35rem, 3.5vw, 4rem);
    font-weight: 900;
    line-height: .88;
    text-transform: uppercase;
}

.country-card {
    position: absolute;
    z-index: 6;
    left: -22px;
    bottom: 68px;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 225px;
    padding: 15px 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 50px rgba(11, 11, 14, .16);
    backdrop-filter: blur(12px);
}

.country-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: var(--navy);
}

.country-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.country-card div {
    display: grid;
}

.country-card small {
    color: var(--gray);
    font-size: .68rem;
}

.country-card strong {
    margin-top: 2px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
}

.scroll-note {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--gray);
    font-size: .74rem;
    font-weight: 700;
    transform: translateX(-50%);
}

.scroll-note svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    animation: bounce 1.8s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* Secciones */
.section {
    padding: 105px 0;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--orange);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 43px;
}

.section h2 {
    max-width: 690px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.35rem, 4vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .98;
}

.section-heading p {
    max-width: 420px;
    margin: 0;
    color: var(--gray);
    line-height: 1.7;
}

/* Viajes */
.trips {
    background: var(--white);
}

.trip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trip-card {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    background: var(--navy);
    isolation: isolate;
}

.trip-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .87), rgba(0, 0, 0, .05) 66%);
}

.trip-card img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.trip-card:hover img {
    transform: scale(1.055);
}


.trip-content {
    position: absolute;
    inset: auto 28px 28px;
    color: var(--white);
}

.trip-content span {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.trip-content h3 {
    margin: 9px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.65rem;
}

/* Sobre el canal */
.about {
    background: var(--soft);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 88px;
}

.about-art {
    position: relative;
    min-height: 440px;
}

.about-article img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.about-copy p {
    max-width: 570px;
    margin: 25px 0 0;
    color: var(--gray);
    font-size: 1.04rem;
    line-height: 1.8;
}

.simple-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    font-weight: 800;
}

.simple-link span {
    color: var(--orange);
    font-size: 1.2rem;
}

/* CTA */
.contact {
    padding: 0;
}

.contact-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    min-height: 300px;
    padding: 54px;
    color: var(--white);
    background: var(--teal);
    overflow: hidden;
}

.contact-box::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -85px;
    width: 380px;
    height: 380px;
    border: 48px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.contact-box::after {
    content: "";
    position: absolute;
    right: 42px;
    bottom: 34px;
    width: 74px;
    height: 6px;
    border-radius: 999px;
    background: var(--orange);
    opacity: .9;
}

.contact-box>* {
    position: relative;
    z-index: 2;
}

.contact-box h2 {
    max-width: 690px;
    color: var(--white);
}

.button-light {
    min-width: max-content;
    color: var(--navy);
    background: var(--white);
}

.button-light:hover {
    color: var(--white);
    background: var(--navy);
}

/* Footer */
.site-footer {
    padding: 68px 0 24px;
    color: var(--white);
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .7fr;
    gap: 55px;
    padding-bottom: 48px;
}

.footer-brand .brand-mark {
    color: var(--navy);
    /* background: var(--white); */
}

.footer-brand .brand-copy small {
    color: rgba(255, 255, 255, .48);
}

.footer-grid p {
    max-width: 330px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .58);
    line-height: 1.65;
}

.footer-links,
.footer-socials {
    display: grid;
    align-content: start;
    gap: 13px;
}

.footer-links a,
.footer-socials a {
    color: rgba(255, 255, 255, .68);
    transition: color .2s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: var(--teal-soft);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: rgba(255, 255, 255, .43);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .83rem;
}

.floating-youtube {
    position: fixed;
    z-index: 900;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 17px;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 15px 40px rgba(11, 11, 14, .24);
    font-size: .82rem;
    font-weight: 800;
    transition: .2s ease;
}

.floating-youtube svg {
    width: 17px;
    height: 17px;
    fill: var(--orange);
}

.floating-youtube:hover {
    background: var(--teal);
    transform: translateY(-3px);
}

.floating-youtube:hover svg {
    fill: var(--white);
}

/* Responsive */
@media (max-width: 1260px) {
    .social-rail {
        display: none;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 74px;
    }

    .menu-toggle {
        display: block;
    }

    .youtube-button {
        display: none;
    }

    .main-nav {
        position: fixed;
        inset: 74px 0 auto;
        display: grid;
        gap: 0;
        padding: 18px 24px 28px;
        background: rgba(237, 243, 244, .98);
        box-shadow: 0 22px 50px rgba(11, 11, 14, .13);
        transform: translateY(-130%);
        transition: transform .28s ease;
    }

    .site-header.scrolled .main-nav {
        inset: 70px 0 auto;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
    }

    .arayav-grid {
        grid-template-columns: 1fr .9fr;
        gap: 28px;
    }

    .trip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trip-card:last-child {
        grid-column: 1 / -1;
    }

    .about-grid {
        gap: 55px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .arayav {
        min-height: auto;
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: 66px;
    }

    .arayav::before {
        inset: 48% -38% 0 0;
        clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%, 0 31%);
    }

    .arayav::after {
        display: none;
    }

    .arayav-grid {
        grid-template-columns: 1fr;
    }

    .arayav h1 {
        font-size: clamp(3rem, 14.5vw, 5rem);
    }

    .arayav-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .arayav-visual {
        min-height: 500px;
        margin-top: 20px;
    }

    .photo-frame {
        inset: 12px 0 0;
    }

    .visual-title {
        top: 64px;
        right: 15px;
    }

    .country-card {
        left: 12px;
        bottom: 35px;
    }

    .scroll-note {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .trip-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trip-card,
    .trip-card:nth-child(2) {
        min-height: 360px;
        clip-path: none;
    }

    .trip-card:last-child {
        grid-column: auto;
    }

    .about-grid {
        gap: 42px;
    }

    .about-art {
        min-height: 370px;
    }

    .contact-box {
        min-height: auto;
        padding: 42px 27px;
    }

    .footer-grid {
        gap: 34px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .floating-youtube {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 460px) {
    .brand-copy small {
        display: none;
    }

    .arayav h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .visual-title strong {
        font-size: 2.05rem;
    }

    .country-card {
        min-width: 195px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Animaciones al entrar en pantalla */
.js [data-animate] {
    opacity: 0;
}

.js [data-animate].animate__animated {
    opacity: 1;
}

[data-animate] {
    --animate-duration: .9s;
    will-change: opacity, transform;
}

.trip-card[data-animate] {
    --animate-duration: .8s;
}

.contact-box[data-animate] {
    --animate-duration: 1s;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-animate] {
        opacity: 1 !important;
    }
}

/* =========================================================
   arayav EDITORIAL CON CURVAS ORGÁNICAS
   ========================================================= */

.site-header {
    color: var(--white);
    background: transparent;
}

.site-header .header-inner {
    width: min(calc(100% - 96px), 1480px);
}

.site-header:not(.scrolled) .brand {
    order: 3;
    margin-left: 24px;
}

.site-header:not(.scrolled) .brand-copy strong,
.site-header:not(.scrolled) .main-nav a {
    color: var(--white);
}

.site-header:not(.scrolled) .brand-copy small {
    color: rgba(255, 255, 255, .58);
}

.site-header:not(.scrolled) .main-nav {
    margin-left: auto;
}

.site-header .youtube-button {
    display: none;
}

.site-header.scrolled {
    color: var(--navy);
}

.site-header.scrolled .brand {
    order: initial;
    margin-left: 0;
}

.social-rail {
    position: absolute;
    z-index: 1100;
    top: 29px;
    left: clamp(24px, 3.4vw, 58px);
    flex-direction: row;
    gap: 12px;
    transform: none;
}

.social-rail>span,
.social-rail>i {
    display: none;
}

.social-rail a {
    width: 46px;
    height: 46px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .65);
    background: rgba(15, 15, 18, .08);
    backdrop-filter: blur(8px);
}

.social-rail a:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.arayav.arayav-poster {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 760px;
    max-height: 960px;
    padding: 0;
    isolation: isolate;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 26px -20px var(--navy);
}

.arayav.arayav-poster::before,
.arayav.arayav-poster::after {
    content: none;
}

.arayav-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Carrusel principal de fotografías */
.arayav-photo-carousel {
    position: absolute;
    inset: 0 auto auto 0;
    width: 64%;
    height: 82%;
    overflow: hidden;
    background: var(--navy);
}

.arayav-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 50%;
    opacity: 0;
    filter: grayscale(1) contrast(1.08) brightness(.9);
    transform: scale(1.02);
    transition:
        opacity 1.15s cubic-bezier(.22, 1, .36, 1),
        transform 1.8s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
    pointer-events: none;
}

.arayav-photo.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1.035);
}

/* Zoom suave únicamente sobre la fotografía visible */
.arayav-photo-carousel:hover .arayav-photo.is-active {
    transform: scale(1.09);
}

.arayav-photo-shade {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 1;
    width: 64%;
    height: 82%;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(0, 0, 0, .08));
    pointer-events: none;
}

.arayav-curves {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.arayav-intro,
.arayav-main-copy,
.arayav-scroll {
    position: absolute;
    z-index: 5;
}

.arayav-intro {
    left: clamp(38px, 4.6vw, 82px);
    bottom: clamp(20px, 4vh, 40px);
    width: min(48vw, 800px);
    color: var(--navy);
    /* background-color: red; */
}

.arayav-intro>span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(.66rem, .76vw, .8rem);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.arayav-intro>span::before {
    content: "";
    width: 50px;
    height: 4px;
    border-radius: 999px;
    background: var(--orange);
}

.arayav-intro h2 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.35rem, 3.65vw, 4.35rem);
    font-weight: +00;
    letter-spacing: -.055em;
    line-height: .98;
    color: var(--text-dark);
    /* margin-top: 100px; */

}

.arayav-intro p {
    margin: 15px 0 0;
    color: var(--gray);
    font-size: clamp(.86rem, 1vw, 1.02rem);
    font-weight: 600;
}

.arayav-main-copy {
    top: 50%;
    right: clamp(34px, 5vw, 88px);
    width: min(39vw, 620px);
    color: var(--white);
    text-align: right;
    transform: translateY(-31%);
}

.arayav-number {
    display: block;
    margin: 0 8px 2px 0;
    color: rgba(255, 255, 255, .75);
    font-size: clamp(.62rem, .72vw, .76rem);
    font-weight: 800;
    letter-spacing: .18em;
}

.arayav-editorial {
    margin: 0 4.4vw -15px 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 3.5vw, 4rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1;
}

.arayav-script {
    display: block;
    margin: 0 1.3vw -12px 0;
    font-family: "Pinyon Script", "Brush Script MT", cursive;
    font-size: clamp(4.5rem, 6.5vw, 7.4rem);
    font-weight: 400;
    line-height: .95;
    transform: rotate(-2deg);
    transform-origin: right center;
}

.arayav-main-copy h1 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(3.2rem, 5vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .86;
}

.arayav-main-copy h1 span {
    display: block;
    color: var(--white);
}

.arayav-description {
    max-width: 560px;
    margin: 23px 0 0 auto;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(.82rem, 1vw, 1.03rem);
    line-height: 1.55;
}

.arayav-poster-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 25px;
}

.arayav-light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 49px;
    padding: 0 21px;
    color: var(--navy);
    background: var(--white);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
}

.arayav-light-button:hover {
    color: var(--white);
    background: var(--navy);
    transform: translateY(-3px);
}

.arayav-text-link {
    position: relative;
    padding: 7px 0;
    color: var(--white);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.arayav-text-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform-origin: right;
    transition: transform .2s ease;
}

.arayav-text-link:hover::after {
    transform: scaleX(.55);
}

.arayav-scroll {
    left: 50%;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(11, 11, 14, .56);
    font-size: .72rem;
    font-weight: 800;
    transform: translateX(-50%);
}

.arayav-scroll img {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    animation: bounce 1.8s infinite;
}

@media (max-width: 1260px) {
    .social-rail {
        display: flex;
    }

    .site-header .header-inner {
        width: min(calc(100% - 52px), 1180px);
    }

    .arayav-main-copy {
        right: 3.2vw;
        width: 42vw;
    }

    .arayav-intro {
        width: 41vw;
    }
}

@media (max-width: 1024px) {
    .site-header:not(.scrolled) .brand {
        order: initial;
        margin: 0;
    }

    .site-header:not(.scrolled) .main-nav {
        margin-left: 0;
    }

    .site-header:not(.scrolled) .menu-toggle {
        background: var(--white);
    }

    .site-header:not(.scrolled) .menu-toggle span {
        background: var(--navy);
    }

    .site-header:not(.scrolled) .main-nav {
        color: var(--navy);
    }

    .site-header:not(.scrolled) .main-nav a {
        color: var(--navy);
    }

    .arayav.arayav-poster {
        min-height: 720px;
    }

    .arayav-main-copy {
        top: 48%;
        width: 43vw;
        transform: translateY(-25%);
    }

    .arayav-description {
        max-width: 430px;
    }

    .arayav-intro {
        left: 4vw;
        bottom: 4.3vh;
    }
}

@media (max-width: 760px) {
    .site-header .header-inner {
        width: min(calc(100% - 30px), 1180px);
    }

    .site-header:not(.scrolled) .brand-copy strong {
        color: var(--white);
    }

    .site-header:not(.scrolled) .brand-copy small {
        color: rgba(255, 255, 255, .6);
    }

    .social-rail {
        top: 83px;
        left: 16px;
        gap: 8px;
    }

    .social-rail a {
        width: 38px;
        height: 38px;
    }

    .arayav.arayav-poster {
        height: 100svh;
        min-height: 760px;
        max-height: none;
    }

    .arayav-photo-carousel {
        width: 100%;
        height: 58%;
    }

    .arayav-photo {
        object-position: center;
    }

    .arayav-photo-shade {
        width: 100%;
        height: 58%;
    }

    .arayav-curves {
        width: 145%;
        left: -35%;
    }

    .arayav-main-copy {
        top: 45%;
        right: 18px;
        width: 64vw;
        transform: none;
    }

    .arayav-number {
        font-size: .56rem;
    }

    .arayav-editorial {
        margin-right: 8vw;
        font-size: clamp(1.9rem, 8vw, 3rem);
    }

    .arayav-script {
        margin-right: 2vw;
        font-size: clamp(3.5rem, 16vw, 5.8rem);
    }

    .arayav-main-copy h1 {
        font-size: clamp(2.55rem, 11.7vw, 4.4rem);
    }

    .arayav-description {
        display: none;
    }

    .arayav-poster-actions {
        gap: 14px;
        margin-top: 18px;
    }

    .arayav-light-button {
        min-height: 43px;
        padding: 0 15px;
        font-size: .66rem;
    }

    .arayav-text-link {
        font-size: .65rem;
    }

    .arayav-intro {
        left: 20px;
        bottom: 31px;
        width: 72vw;
    }

    .arayav-intro>span {
        margin-bottom: 10px;
        font-size: .58rem;
    }

    .arayav-intro>span::before {
        width: 35px;
        height: 3px;
    }

    .arayav-intro h2 {
        font-size: clamp(2.05rem, 9vw, 3.35rem);
    }

    .arayav-intro p {
        margin-top: 9px;
        font-size: .8rem;
    }

    .arayav-scroll {
        display: none;
    }
}

@media (max-width: 460px) {
    .social-rail {
        display: none;
    }

    .arayav.arayav-poster {
        min-height: 720px;
    }

    .arayav-main-copy {
        top: 42%;
        width: 70vw;
    }

    .arayav-poster-actions {
        align-items: flex-end;
        flex-direction: column;
    }

    .arayav-intro {
        width: calc(100% - 40px);
    }
}


/* Ajuste profesional de la interfaz principal */
.arayav-main-copy {
    top: 51%;
    width: min(37vw, 580px);
    transform: translateY(-27%);
}

.arayav-number {
    margin-bottom: 13px;
}

.arayav-editorial {
    margin: 0 0 11px;
    font-size: clamp(2.15rem, 3.05vw, 3.55rem);
    line-height: 1.02;
}

.arayav-main-copy h1 {
    font-size: clamp(3rem, 4.55vw, 5rem);
    line-height: .91;
}

.arayav-description {
    max-width: 535px;
    margin-top: 29px;
    line-height: 1.67;
}

.arayav-poster-actions {
    gap: 25px;
    margin-top: 30px;
}

.arayav-light-button {
    min-height: 52px;
    padding-inline: 24px;
}

.floating-youtube {
    display: none;
}

@media (max-width: 1024px) {
    .arayav-main-copy {
        width: 42vw;
    }
}

@media (max-width: 760px) {
    .arayav-main-copy {
        top: 44%;
        right: 18px;
        width: 66vw;
        transform: none;
    }

    .arayav-editorial {
        margin: 0 0 7px;
        font-size: clamp(1.9rem, 7.8vw, 2.8rem);
    }

    .arayav-main-copy h1 {
        font-size: clamp(2.45rem, 11vw, 4.15rem);
    }
}

/* Ajustes específicos para Araya Vlogs */
.brand-mark {
    font-size: .9rem;
    letter-spacing: -.04em;
}

.official-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, .85);
    background: transparent;
}

.button-outline-light:hover {
    color: var(--teal);
    background: var(--white);
}

@media (max-width: 760px) {
    .official-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .official-actions .button {
        width: 100%;
    }
}


/* =========================================================
           MENÚS DESPLEGABLES DEL HEADER
           ========================================================= */
.main-nav .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: .91rem;
    font-weight: 700;
    cursor: pointer;
}

.nav-dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--teal-soft);
    transition: right .2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown:focus-within .nav-dropdown-toggle::before,
.nav-dropdown.is-open .nav-dropdown-toggle::before {
    right: 0;
}

.dropdown-chevron {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .22s ease;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    /* Se reduce la separación para que el cursor llegue fácilmente al menú. */
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    width: max-content;
    min-width: 215px;
    margin: 0;
    padding: 10px;
    list-style: none;
    color: var(--white);
    background: rgba(9, 22, 32, .98);
    border: 1px solid rgba(255, 9, 9, 0.09);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    backdrop-filter: blur(12px);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 24px;
    width: 13px;
    height: 13px;
    background: #040d13;
    border-top: 1px solid rgba(255, 255, 255, .09);
    border-left: 1px solid rgba(255, 255, 255, .09);
    transform: rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/*
         * Puente invisible entre el botón y el panel.
         * Evita que :hover se pierda al atravesar el pequeño espacio vertical.
         */
@media (min-width: 1025px) {
    .main-nav .nav-dropdown::after {
        content: "";
        position: absolute;
        z-index: 1199;
        top: 100%;
        left: -16px;
        right: -16px;
        height: 24px;
        background: transparent;
    }

    .main-nav .nav-dropdown:hover,
    .main-nav .nav-dropdown:focus-within,
    .main-nav .nav-dropdown.is-open {
        z-index: 1210;
    }
}

.dropdown-menu li {
    position: relative;
    z-index: 1;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    color: rgba(255, 255, 255, .82) !important;
    border-radius: 3px;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, padding-left .18s ease;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    padding-left: 17px;
    color: var(--white) !important;
    background: var(--teal);
    outline: none;
}

.dropdown-menu .menu-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    font-size: .68rem;
    font-weight: 900;
}

/* Botón fijo para regresar al inicio */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1250;
    display: grid;
    place-items: center;
    width: 57px;
    height: 57px;
    padding: 0;
    color: var(--white);
    background: var(--teal);
    border: 0;
    box-shadow: 0 15px 35px rgba(9, 22, 32, .25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--teal-dark);
    transform: translateY(-3px);
    /* outline: 3px solid rgba(14, 143, 155, .25); */
    outline-offset: 3px;
}

.back-to-top svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1024px) {
    .main-nav .nav-dropdown {
        display: block;
        width: 100%;
    }

    .nav-dropdown-toggle {
        position: relative;
        justify-content: space-between;
        width: 100%;
        padding: 15px 0;
        color: var(--navy) !important;
        border-bottom: 1px solid var(--line);
        text-align: left;
    }

    .nav-dropdown-toggle::before {
        display: none;
    }

    .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: 0;
        padding: 0 0 0 12px;
        color: var(--navy);
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        pointer-events: none;
        transform: none;
        transition: max-height .28s ease, padding .28s ease;
        backdrop-filter: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        max-height: 360px;
        padding-top: 8px;
        padding-bottom: 8px;
        pointer-events: auto;
    }

    .dropdown-menu a {
        min-height: 40px;
        padding: 9px 13px;
        color: var(--navy) !important;
        border: 0;
        border-radius: 0;
        background: rgba(14, 143, 155, .07);
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus-visible {
        padding-left: 17px;
        color: var(--white) !important;
        background: var(--teal);
    }

    .dropdown-menu .menu-icon {
        border-color: rgba(15, 30, 43, .25);
    }
}

@media (max-width: 520px) {
    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 50px;
        height: 50px;
    }
}


/* =========================================================
           PRELOADER DE VIAJE: VEHÍCULO LLEGANDO AL DESTINO
           ========================================================= */
body.is-loading {
    overflow: hidden;
}

.travel-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 28px;
    color: var(--white);
    background: var(--navy-deep);
    opacity: 1;
    visibility: visible;
    transition: opacity .65s ease, visibility .65s ease;
}

body.page-ready .travel-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.travel-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .72) 1px, transparent 1.4px),
        radial-gradient(circle, rgba(255, 255, 255, .34) 1px, transparent 1.3px);
    background-position: 0 0, 34px 47px;
    background-size: 88px 88px, 116px 116px;
    animation: loaderStars 7s linear infinite;
    pointer-events: none;
}

.travel-loader-panel {
    position: relative;
    z-index: 2;
    width: min(88vw, 560px);
    text-align: center;
}

.travel-loader-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(.78rem, 1.8vw, .94rem);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.travel-loader-brand::before,
.travel-loader-brand::after {
    content: "";
    width: clamp(28px, 7vw, 52px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55));
}

.travel-loader-brand::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, .55), transparent);
}

.travel-loader-stage {
    position: relative;
    height: 148px;
    overflow: hidden;
}

.travel-loader-stage::before {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 29px;
    left: 8px;
    height: 2px;
    background: rgba(255, 255, 255, .22);
}

.travel-loader-road {
    position: absolute;
    right: 8px;
    bottom: 23px;
    left: 8px;
    height: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(3, 10, 15, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.travel-loader-road::after {
    content: "";
    position: absolute;
    top: 5px;
    left: -70px;
    width: calc(100% + 140px);
    height: 2px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .72) 0 22px,
            transparent 22px 42px);
    animation: loaderRoad 1s linear infinite;
}

.travel-destination {
    position: absolute;
    right: 14px;
    bottom: 38px;
    width: 50px;
    height: 66px;
    color: var(--orange);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .28));
    animation: destinationPulse 1.45s ease-in-out infinite;
}

.travel-destination svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.travel-destination::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 31px;
    height: 8px;
    border: 1px solid rgba(239, 138, 50, .62);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: destinationRing 1.45s ease-out infinite;
}

.travel-vehicle {
    position: absolute;
    z-index: 3;
    left: -104px;
    bottom: 33px;
    width: 102px;
    height: 63px;
    filter: drop-shadow(0 12px 13px rgba(0, 0, 0, .35));
    will-change: left;
}

/*
         * Al llegar no detenemos de golpe las ruedas ni reemplazamos la
         * animación del vehículo. JavaScript captura la postura actual y la
         * lleva suavemente a reposo, evitando el salto visual del último frame.
         */
.travel-loader.is-arrived .travel-dust {
    opacity: 0;
    transition: opacity .42s ease;
}

.travel-loader-copy {
    transition: opacity .26s ease, transform .26s ease;
}

.travel-loader-copy.is-changing {
    opacity: 0;
    transform: translateY(6px);
}

.travel-vehicle-body {
    width: 100%;
    height: 100%;
    animation: vehicleBounce .36s ease-in-out infinite alternate;
    will-change: transform;
}

.travel-vehicle svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.travel-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: wheelSpin .42s linear infinite;
}

.travel-dust {
    position: absolute;
    z-index: 2;
    left: 4px;
    bottom: 42px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .58);
    box-shadow:
        -13px 5px 0 rgba(255, 255, 255, .35),
        -25px -1px 0 rgba(255, 255, 255, .2);
    animation: travelDust .75s ease-out infinite;
}

.travel-loader-copy {
    margin-top: 17px;
}

.travel-loader-copy strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.08rem, 3.2vw, 1.42rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.travel-loader-copy span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: clamp(.72rem, 2vw, .84rem);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.travel-loader-dots::after {
    content: "";
    display: inline-block;
    width: 1.4em;
    text-align: left;
    animation: loadingDots 1.25s steps(4, end) infinite;
}

.travel-progress {
    position: relative;
    width: min(72%, 330px);
    height: 3px;
    margin: 25px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.travel-progress-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), #2fc0c8, var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

.travel-progress-meta {
    display: flex;
    justify-content: space-between;
    width: min(72%, 330px);
    margin: 9px auto 0;
    color: rgba(255, 255, 255, .48);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.travel-progress-percent {
    color: rgba(255, 255, 255, .86);
    font-variant-numeric: tabular-nums;
}

@keyframes vehicleJourney {
    0% {
        left: -104px;
    }

    72% {
        left: calc(100% - 142px);
    }

    88% {
        left: calc(100% - 142px);
        transform: translateY(0);
    }

    94% {
        left: calc(100% - 142px);
        transform: translateY(-4px);
    }

    100% {
        left: calc(100% - 142px);
        transform: translateY(0);
    }
}

@keyframes vehicleBounce {
    from {
        transform: translateY(0) rotate(-.4deg);
    }

    to {
        transform: translateY(-2px) rotate(.4deg);
    }
}

/* La llegada final se interpola desde la postura real mediante JavaScript. */

@keyframes wheelSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderRoad {
    to {
        transform: translateX(42px);
    }
}

@keyframes travelDust {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(.55);
    }

    35% {
        opacity: .7;
    }

    100% {
        opacity: 0;
        transform: translate(-25px, -9px) scale(1.45);
    }
}

@keyframes destinationPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes destinationRing {
    0% {
        opacity: .8;
        transform: translateX(-50%) scale(.45);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1.45);
    }
}

@keyframes travelProgress {
    0% {
        transform: scaleX(0);
    }

    82%,
    100% {
        transform: scaleX(1);
    }
}

@keyframes loadingDots {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    75%,
    100% {
        content: "...";
    }
}

@keyframes loaderStars {
    to {
        background-position: 88px 44px, -82px 105px;
    }
}

@media (max-width: 520px) {
    .travel-loader {
        padding: 20px;
    }

    .travel-loader-brand {
        margin-bottom: 22px;
    }

    .travel-loader-stage {
        height: 128px;
    }

    .travel-vehicle {
        width: 86px;
        height: 55px;
    }

    @keyframes vehicleJourney {
        0% {
            left: -90px;
        }

        72% {
            left: calc(100% - 122px);
        }

        88% {
            left: calc(100% - 122px);
            transform: translateY(0);
        }

        94% {
            left: calc(100% - 122px);
            transform: translateY(-4px);
        }

        100% {
            left: calc(100% - 122px);
            transform: translateY(0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .travel-loader::before,
    .travel-loader-road::after,
    .travel-destination,
    .travel-destination::after,
    .travel-vehicle-body,
    .travel-wheel,
    .travel-dust {
        animation: none !important;
    }

    .travel-vehicle {
        animation: none !important;
    }
}




@media (max-width: 760px) {
    .site-header {
        height: 76px;
    }

    .site-header .header-inner {
        width: calc(100% - 32px);
        gap: 12px;
    }

    .site-header:not(.scrolled) {
        background: linear-gradient(180deg,
                rgba(9, 22, 32, .78) 0%,
                rgba(9, 22, 32, .26) 72%,
                transparent 100%);
    }

    .site-header:not(.scrolled) .brand {
        max-width: calc(100% - 68px);
    }

    .site-header:not(.scrolled) .brand-mark img {
        width: 43px;
    }

    .site-header:not(.scrolled) .brand-copy strong {
        font-size: clamp(.8rem, 4.4vw, 1rem);
        letter-spacing: .08em;
        white-space: nowrap;
    }

    .brand-copy small {
        display: none;
    }

    .menu-toggle {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 0;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    }

    .site-header:not(.scrolled) .menu-toggle {
        background: rgba(255, 255, 255, .96);
    }

    .site-header:not(.scrolled) .menu-toggle span {
        background: var(--navy);
    }

    .main-nav {
        inset: 76px 0 auto;
        max-height: calc(100svh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 16px 22px 28px;
    }

    .site-header.scrolled .main-nav {
        inset: 70px 0 auto;
        max-height: calc(100svh - 70px);
    }

    .nav-dropdown.is-open .dropdown-menu {
        max-height: 520px;
    }

    .arayav.arayav-poster {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 100svh;
        max-height: none;
        padding: 0;
        background: var(--white);
        overflow: hidden;
    }

    .arayav-art {
        position: relative;
        inset: auto;
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        height: clamp(400px, 58svh, 560px);
        overflow: hidden;
        background: var(--navy);
    }

    .arayav-photo-carousel {
        inset: 0;
        width: 100%;
        height: 100%;
        background: var(--navy);
    }

    .arayav-photo {
        object-position: center 32%;
        filter: grayscale(1) contrast(1.06) brightness(.76);
        transform: scale(1.025);
    }

    .arayav-photo.is-active {
        transform: scale(1.04);
    }

    .arayav-photo-shade {
        inset: 0;
        width: 100%;
        height: 100%;
        background:
            linear-gradient(180deg, rgba(9, 22, 32, .18) 0%, transparent 42%),
            linear-gradient(0deg, rgba(9, 22, 32, .64) 0%, transparent 48%);
    }

    /*
             * El SVG de escritorio es el principal causante de las
             * superposiciones. En teléfono se sustituye por una composición
             * vertical más estable.
             */
    .arayav-curves {
        display: none;
    }

    .arayav-main-copy {
        position: relative;
        inset: auto;
        order: 2;
        width: 100%;
        margin: 0;
        padding: 38px 22px 34px;
        color: var(--white);
        background:
            radial-gradient(circle at 100% 0, rgba(255, 255, 255, .12), transparent 34%),
            linear-gradient(145deg, #12a0ab 0%, var(--teal) 58%, var(--teal-dark) 100%);
        text-align: left;
        transform: none;
    }

    .arayav-main-copy::before {
        content: "";
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 42px;
        background: inherit;
        clip-path: ellipse(72% 50% at 50% 100%);
        pointer-events: none;
    }

    .arayav-number {
        margin: 0 0 10px;
        color: rgba(255, 255, 255, .76);
        font-size: .66rem;
        letter-spacing: .16em;
        line-height: 1.45;
    }

    .arayav-editorial {
        margin: 0 0 7px;
        font-size: clamp(1.9rem, 9vw, 2.75rem);
        line-height: 1;
        text-align: left;
    }

    .arayav-main-copy h1 {
        max-width: 100%;
        margin: 0;
        font-size: clamp(2.75rem, 13.5vw, 4.5rem);
        letter-spacing: -.055em;
        line-height: .86;
        overflow-wrap: anywhere;
        text-align: left;
    }

    .arayav-description {
        display: block;
        max-width: 38rem;
        margin: 22px 0 0;
        color: rgba(255, 255, 255, .86);
        font-size: .92rem;
        line-height: 1.62;
        text-align: left;
    }

    .arayav-poster-actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 12px;
        margin-top: 25px;
    }

    .arayav-poster-actions .button {
        width: 100%;
        min-height: 56px;
        padding-inline: 20px;
        font-size: .9rem;
    }

    .arayav-text-link {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 13px 4px 10px;
        font-size: .69rem;
        text-align: center;
    }

    .arayav-text-link::after {
        right: 50%;
        width: min(190px, 72%);
        transform: translateX(50%);
        transform-origin: center;
    }

    .arayav-text-link:hover::after {
        transform: translateX(50%) scaleX(.58);
    }

    .arayav-intro {
        position: relative;
        inset: auto;
        order: 3;
        width: 100%;
        margin: 0;
        padding: 44px 22px 52px;
        color: var(--navy);
        background: var(--white);
    }

    .arayav-intro>span {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0 0 18px;
        color: var(--teal-dark);
        font-size: .62rem;
        letter-spacing: .12em;
        line-height: 1.55;
    }

    .arayav-intro>span::before {
        flex: 0 0 36px;
        width: 36px;
        height: 3px;
    }

    .arayav-intro h2 {
        max-width: 620px;
        margin: 0;
        color: var(--text-dark);
        font-size: clamp(2rem, 10vw, 3.2rem);
        letter-spacing: -.05em;
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .arayav-scroll {
        display: none;
    }

    .social-rail {
        display: none;
    }
}

@media (max-width: 420px) {
    .site-header .header-inner {
        width: calc(100% - 24px);
    }

    .site-header:not(.scrolled) .brand-copy strong {
        font-size: .8rem;
        letter-spacing: .065em;
    }

    .site-header:not(.scrolled) .brand-mark img {
        width: 39px;
    }

    .menu-toggle {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .arayav-art {
        height: clamp(370px, 54svh, 500px);
    }

    .arayav-main-copy {
        padding: 34px 18px 30px;
    }

    .arayav-main-copy h1 {
        font-size: clamp(2.45rem, 13vw, 3.6rem);
    }

    .arayav-editorial {
        font-size: clamp(1.72rem, 8.5vw, 2.25rem);
    }

    .arayav-description {
        font-size: .86rem;
    }

    .arayav-intro {
        padding: 40px 18px 46px;
    }

    .arayav-intro h2 {
        font-size: clamp(1.9rem, 9.7vw, 2.7rem);
    }
}

@media (max-width: 340px) {
    .site-header:not(.scrolled) .brand-copy strong {
        font-size: .72rem;
    }

    .arayav-main-copy h1 {
        font-size: 2.25rem;
    }

    .arayav-intro h2 {
        font-size: 1.78rem;
    }
}