/* Tulum VIP Agency — unified menu, themes, heroes and homepage concepts */

:root {
    --tva-topbar-height: 72px;
    --tva-desktop-nav-height: 186px;
    --tva-menu-max-width: 1320px;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body.site-theme-dark {
    --header-top-bg: rgba(8, 8, 8, 0.86);
    --header-nav-bg: rgba(8, 8, 8, 0.74);
    --header-top-bg-scrolled: rgba(8, 8, 8, 0.98);
    --header-nav-bg-scrolled: rgba(8, 8, 8, 0.94);
    --header-mobile-bg: #0b0b0b;
    --header-text: #ffffff;
    --header-link: rgba(255, 255, 255, 0.78);
    --header-muted: rgba(255, 255, 255, 0.58);
    --header-border: rgba(255, 255, 255, 0.14);
    --header-hover: rgba(255, 255, 255, 0.10);
    --page-hero-overlay: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.34));
}

body.site-theme-light {
    --header-top-bg: rgba(255, 255, 255, 0.90);
    --header-nav-bg: rgba(255, 255, 255, 0.78);
    --header-top-bg-scrolled: rgba(255, 255, 255, 0.99);
    --header-nav-bg-scrolled: rgba(255, 255, 255, 0.96);
    --header-mobile-bg: #ffffff;
    --header-text: #111111;
    --header-link: rgba(15, 15, 15, 0.72);
    --header-muted: rgba(15, 15, 15, 0.54);
    --header-border: rgba(0, 0, 0, 0.13);
    --header-hover: rgba(0, 0, 0, 0.075);
    --page-hero-overlay: linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.34));
}

.main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 2000 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--header-top-bg) !important;
    color: var(--header-text) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--header-border) !important;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(22px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(135%) !important;
    transition: background-color .2s ease, box-shadow .2s ease !important;
    overflow: visible !important;
}

.main-header.is-scrolled {
    background: var(--header-top-bg-scrolled) !important;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22) !important;
}

.main-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: var(--tva-topbar-height) auto !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    overflow: visible !important;
}

.main-header .logo-with-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .68rem !important;
    width: max-content !important;
    margin: 0 !important;
    margin-left: max(1.25rem, calc((100vw - var(--tva-menu-max-width)) / 2 + 1.25rem)) !important;
    color: var(--header-text) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.main-header .header-logo-icon {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain !important;
    opacity: .94 !important;
}

body.site-theme-light .main-header .header-logo-icon {
    filter: brightness(0) !important;
}

body.site-theme-dark .main-header .header-logo-icon {
    filter: brightness(0) invert(1) !important;
}

.main-header .logo-with-icon span {
    color: var(--header-text) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: .065em !important;
}

.main-header .header-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    margin-right: max(1.25rem, calc((100vw - var(--tva-menu-max-width)) / 2 + 1.25rem)) !important;
}

.main-header .lang-switcher,
.main-header .lang-switcher a,
.main-header .lang-switcher span {
    color: var(--header-muted) !important;
    font-size: .72rem !important;
    font-weight: 650 !important;
    letter-spacing: .08em !important;
    text-decoration: none !important;
}

.main-header .lang-switcher a.active {
    color: var(--header-text) !important;
    font-weight: 800 !important;
}

.main-header .mobile-toggle {
    display: none !important;
}

.main-header .main-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--header-border) !important;
    background: var(--header-nav-bg) !important;
    backdrop-filter: blur(24px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(135%) !important;
    transform: none !important;
    translate: none !important;
    overflow: visible !important;
    transition: background-color .2s ease !important;
}

.main-header.is-scrolled .main-nav {
    background: var(--header-nav-bg-scrolled) !important;
}

.main-header .nav-layout {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1.12fr .96fr 1.20fr 1.08fr .82fr !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: var(--tva-menu-max-width) !important;
    min-width: 0 !important;
    min-height: var(--tva-desktop-nav-height) !important;
    margin: 0 auto !important;
    padding: 18px 1.25rem 22px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
    translate: none !important;
}

.main-header .nav-group,
.main-header .nav-group:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 1rem !important;
    border: 0 !important;
    border-left: 1px solid var(--header-border) !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.main-header .nav-group:last-child {
    border-right: 1px solid var(--header-border) !important;
}

.main-header .nav-group:hover,
.main-header .nav-group:focus-within {
    background: transparent !important;
}

.main-header .nav-group-title {
    display: block !important;
    margin: 0 0 .82rem !important;
    color: var(--header-text) !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: .90rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.main-header .nav-group-links,
.main-header .nav-group:nth-of-type(n) .nav-group-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: .34rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.main-header .nav-group-links a,
.main-header .nav-group-links a:hover,
.main-header .nav-group-links a:focus,
.main-header .nav-group-links a.active {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 27px !important;
    margin: 0 !important;
    padding: .30rem .45rem !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: var(--header-link) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Inter, sans-serif !important;
    font-size: .76rem !important;
    font-weight: 560 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    transform: none !important;
    translate: none !important;
    transition: background-color .16s ease, color .16s ease, font-weight .16s ease !important;
    box-sizing: border-box !important;
}

.main-header .nav-group-links a::before,
.main-header .nav-group-links a::after {
    display: none !important;
    content: none !important;
}

.main-header .nav-group-links a:hover,
.main-header .nav-group-links a:focus {
    color: var(--header-text) !important;
    background: var(--header-hover) !important;
    font-weight: 760 !important;
}

.main-header .nav-group-links a.active {
    color: var(--header-text) !important;
    background: var(--header-hover) !important;
    font-weight: 800 !important;
    box-shadow: inset 3px 0 0 var(--header-text) !important;
}

/* Keep the hero image under the desktop menu while its text starts below it. */
@media (min-width: 1181px) {
    main > .hero,
    main > .page-hero,
    main > .static-hero {
        margin-top: calc(-1 * var(--tva-desktop-nav-height)) !important;
        min-height: clamp(700px, 80svh, 920px) !important;
        box-sizing: border-box !important;
    }

    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        box-sizing: border-box !important;
        min-height: inherit !important;
        padding-top: calc(var(--tva-desktop-nav-height) + 3.5rem) !important;
        padding-bottom: 4.5rem !important;
    }

    main > .page-hero,
    main > .static-hero {
        display: flex !important;
        align-items: stretch !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        background-position: center !important;
        background-size: cover !important;
    }
}

body.has-admin-hero main > .page-hero,
body.has-admin-hero main > .static-hero {
    background-image: var(--page-hero-overlay), var(--admin-hero-image) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

body.has-admin-hero main > .page-hero::before,
body.has-admin-hero main > .page-hero::after {
    background: transparent !important;
    box-shadow: none !important;
}

body.site-theme-light main > .page-hero h1,
body.site-theme-light main > .page-hero p,
body.site-theme-light main > .static-hero h1,
body.site-theme-light main > .static-hero .static-intro,
body.site-theme-light main > .static-hero .static-intro p,
body.site-theme-light main > .static-hero .static-kicker {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
}

body.site-theme-dark main > .page-hero h1,
body.site-theme-dark main > .page-hero p,
body.site-theme-dark main > .static-hero h1,
body.site-theme-dark main > .static-hero .static-intro,
body.site-theme-dark main > .static-hero .static-intro p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Pages requested as fully light. */
body.page-villas,
body.page-vehicles,
body.page-restaurants,
body.page-courses,
body.page-jets,
body.page-static-ground-transfers,
body.page-static-helicopters {
    background: #f7f7f5 !important;
    color: #171717 !important;
}

body.page-villas main,
body.page-vehicles main,
body.page-restaurants main,
body.page-courses main,
body.page-jets main,
body.page-static-ground-transfers main,
body.page-static-helicopters main,
body.page-villas .section-dark,
body.page-vehicles .section-dark,
body.page-restaurants .section-dark,
body.page-courses .section-dark,
body.page-jets .section-dark,
body.page-static-ground-transfers .static-content-section,
body.page-static-ground-transfers .static-cta,
body.page-static-helicopters .static-content-section,
body.page-static-helicopters .static-cta {
    background: #f7f7f5 !important;
    color: #171717 !important;
}

body.page-villas .card,
body.page-villas .villa-card,
body.page-vehicles .card,
body.page-restaurants .card,
body.page-restaurants .card-dark,
body.page-courses .card,
body.page-courses .card-dark,
body.page-jets .card,
body.page-static-ground-transfers .static-cta-box,
body.page-static-helicopters .static-cta-box,
body.page-static-ground-transfers .static-gallery figure,
body.page-static-helicopters .static-gallery figure {
    background: #ffffff !important;
    color: #171717 !important;
    border-color: rgba(0,0,0,.12) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.07) !important;
}

body.page-villas .card-body,
body.page-vehicles .card-body,
body.page-restaurants .card-body,
body.page-courses .card-body,
body.page-jets .card-body {
    background: transparent !important;
    color: #171717 !important;
}

body.page-villas .section-dark h2,
body.page-villas .section-dark h3,
body.page-villas .section-dark h4,
body.page-vehicles .section-dark h2,
body.page-vehicles .section-dark h3,
body.page-vehicles .section-dark h4,
body.page-restaurants .section-dark h2,
body.page-restaurants .section-dark h3,
body.page-restaurants .section-dark h4,
body.page-courses .section-dark h2,
body.page-courses .section-dark h3,
body.page-courses .section-dark h4,
body.page-jets .section-dark h2,
body.page-jets .section-dark h3,
body.page-jets .section-dark h4,
body.page-static.site-theme-light .static-copy h2,
body.page-static.site-theme-light .static-copy h3,
body.page-static.site-theme-light .static-cta-box h2 {
    color: #171717 !important;
}

body.page-static.site-theme-light .static-copy p,
body.page-static.site-theme-light .static-copy li,
body.page-static.site-theme-light .static-cta-box p {
    color: #4a4a4a !important;
}

body.page-static.site-theme-dark .static-content-section,
body.page-static.site-theme-dark .static-cta {
    background: #0b0f11 !important;
    color: #eeeeee !important;
}

/* Homepage concept layout */
.home-offerings {
    position: relative;
    padding: 7rem 0 8rem;
    background: #f4f4f1;
    color: #151515;
    overflow: hidden;
}

.home-offerings-heading {
    max-width: 820px;
    margin-bottom: 4rem;
    text-align: center;
}

.home-offerings-eyebrow {
    display: block;
    margin-bottom: .8rem;
    color: #585858;
    font-family: "Space Grotesk", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.home-offerings-heading h2 {
    margin: 0 0 1rem;
    color: #111111;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: .98;
}

.home-offerings-heading p {
    margin: 0 auto;
    max-width: 720px;
    color: #575757;
    font-size: 1.04rem;
    line-height: 1.75;
}

.home-offerings-list {
    display: grid;
    gap: 2rem;
}

.home-offering-row {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0,0,0,.08);
}

.home-offering-row.is-reverse .home-offering-media {
    order: 2;
}

.home-offering-row.is-reverse .home-offering-content {
    order: 1;
}

.home-offering-media {
    min-height: 390px;
    overflow: hidden;
    background: #dedede;
}

.home-offering-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.home-offering-row:hover .home-offering-media img {
    transform: scale(1.035);
}

.home-offering-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(2.2rem, 5vw, 5rem);
}

.home-offering-number {
    margin-bottom: 1.1rem;
    color: #8b8b8b;
    font-family: "Space Grotesk", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.home-offering-content h3 {
    margin: 0 0 1.15rem;
    color: #111111;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
}

.home-offering-content p {
    margin: 0 0 1.7rem;
    max-width: 540px;
    color: #575757;
    font-size: 1.02rem;
    line-height: 1.72;
}

.home-offering-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem 1.05rem;
    border: 1px solid #111111;
    color: #111111;
    background: transparent;
    font-family: "Space Grotesk", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}

.home-offering-link:hover {
    background: #111111;
    color: #ffffff;
}

.reveal-offering {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}

.reveal-offering.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-offering-row .home-offering-media,
.home-offering-row .home-offering-content {
    opacity: 0;
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}

.home-offering-row .home-offering-media {
    transform: translateX(-46px);
}

.home-offering-row .home-offering-content {
    transform: translateX(46px);
}

.home-offering-row.is-reverse .home-offering-media {
    transform: translateX(46px);
}

.home-offering-row.is-reverse .home-offering-content {
    transform: translateX(-46px);
}

.home-offering-row.is-visible .home-offering-media,
.home-offering-row.is-visible .home-offering-content {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1320px) and (min-width: 1181px) {
    :root {
        --tva-menu-max-width: 1180px;
        --tva-desktop-nav-height: 194px;
    }

    .main-header .nav-group {
        padding-left: .72rem !important;
        padding-right: .72rem !important;
    }

    .main-header .nav-group-title {
        font-size: .79rem !important;
    }

    .main-header .nav-group-links a {
        font-size: .69rem !important;
    }
}

@media (max-width: 1180px) {
    :root {
        --tva-topbar-height: 72px;
        --tva-desktop-nav-height: 0px;
    }

    html,
    body {
        overflow-x: hidden !important;
    }

    .main-header .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        grid-template-rows: var(--tva-topbar-height) !important;
        padding: 0 1rem !important;
    }

    .main-header .logo-with-icon {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin-left: 0 !important;
    }

    .main-header .header-right {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin-right: .75rem !important;
    }

    .main-header .mobile-toggle {
        grid-column: 3 !important;
        grid-row: 1 !important;
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 46px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid var(--header-border) !important;
        border-radius: 7px !important;
        background: transparent !important;
        cursor: pointer !important;
        z-index: 2003 !important;
    }

    .main-header .mobile-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        margin: 3px 0 !important;
        background: var(--header-text) !important;
        transition: transform .2s ease, opacity .2s ease !important;
    }

    .main-header .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }

    .main-header .mobile-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .main-header .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    .main-header .main-nav {
        position: fixed !important;
        top: var(--tva-topbar-height) !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        display: block !important;
        width: min(440px, 100vw) !important;
        height: calc(100dvh - var(--tva-topbar-height)) !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 1px solid var(--header-border) !important;
        border-left: 1px solid var(--header-border) !important;
        background: var(--header-mobile-bg) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(105%) !important;
        transition: transform .24s ease !important;
        box-shadow: -18px 0 48px rgba(0,0,0,.28) !important;
        z-index: 2002 !important;
    }

    .main-header .main-nav.open {
        transform: translateX(0) !important;
    }

    .main-header .nav-layout {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: .85rem 1.15rem 3rem !important;
    }

    .main-header .nav-group,
    .main-header .nav-group:last-child {
        height: auto !important;
        padding: 1.1rem 0 !important;
        border: 0 !important;
        border-top: 1px solid var(--header-border) !important;
    }

    .main-header .nav-group:first-child {
        border-top: 0 !important;
    }

    .main-header .nav-group-title {
        margin-bottom: .7rem !important;
        font-size: 1rem !important;
        letter-spacing: .10em !important;
    }

    .main-header .nav-group-links {
        gap: .16rem !important;
    }

    .main-header .nav-group-links a,
    .main-header .nav-group-links a:hover,
    .main-header .nav-group-links a:focus,
    .main-header .nav-group-links a.active {
        min-height: 45px !important;
        padding: .7rem .8rem !important;
        border-bottom: 1px solid var(--header-border) !important;
        border-radius: 6px !important;
        font-size: .94rem !important;
        line-height: 1.3 !important;
    }

    main > .hero,
    main > .page-hero,
    main > .static-hero {
        margin-top: 0 !important;
        min-height: clamp(560px, 78svh, 760px) !important;
    }

    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        min-height: inherit !important;
        padding-top: 5rem !important;
        padding-bottom: 4rem !important;
    }

    .home-offering-row,
    .home-offering-row.is-reverse {
        grid-template-columns: 1fr;
    }

    .home-offering-row .home-offering-media,
    .home-offering-row.is-reverse .home-offering-media,
    .home-offering-row .home-offering-content,
    .home-offering-row.is-reverse .home-offering-content {
        order: initial;
    }

    .home-offering-media,
    .home-offering-media img {
        min-height: 320px;
    }
}

@media (max-width: 620px) {
    .main-header .logo-with-icon span {
        font-size: .9rem !important;
        letter-spacing: .04em !important;
    }

    .main-header .header-logo-icon {
        width: 31px !important;
        height: 31px !important;
    }

    .main-header .main-nav {
        width: 100vw !important;
    }

    .home-offerings {
        padding: 5rem 0 6rem;
    }

    .home-offerings-heading {
        margin-bottom: 2.5rem;
    }

    .home-offering-row {
        border-radius: 16px;
    }

    .home-offering-media,
    .home-offering-media img {
        min-height: 260px;
    }

    .home-offering-content {
        padding: 2rem 1.35rem 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-offering,
    .home-offering-row .home-offering-media,
    .home-offering-row .home-offering-content {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* TVA HERO GRID BELOW MENU V13 */

/*
 * En escritorio:
 *
 * El header permanece en el flujo normal.
 * El hero retrocede únicamente la altura del menú,
 * por lo que su imagen se ve detrás del menú.
 *
 * El hero se divide en dos filas:
 *   1. espacio reservado exactamente para el menú;
 *   2. espacio exclusivo para título, texto y botones.
 */
@media (min-width: 1181px) {
    .main-header .main-nav {
        height: var(--tva-desktop-nav-height) !important;
        min-height: var(--tva-desktop-nav-height) !important;
    }

    .main-header .nav-layout {
        height: 100% !important;
        min-height: 100% !important;
    }

    main > .hero,
    main > .page-hero,
    main > .static-hero {
        position: relative !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows:
            var(--tva-desktop-nav-height)
            minmax(500px, 1fr) !important;

        width: 100% !important;
        height: auto !important;

        min-height:
            max(
                720px,
                calc(100svh - var(--tva-topbar-height))
            ) !important;

        margin-top:
            calc(-1 * var(--tva-desktop-nav-height)) !important;

        padding: 0 !important;

        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;

        overflow: hidden !important;
    }

    /*
     * El contenido se coloca obligatoriamente en la segunda fila.
     * No se usan padding superiores calculados ni alturas duplicadas.
     */
    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        grid-column: 1 !important;
        grid-row: 2 !important;

        align-self: stretch !important;
        justify-self: center !important;

        box-sizing: border-box !important;

        width: min(100%, 1200px) !important;
        max-width: 1200px !important;
        min-height: 500px !important;

        margin: 0 auto !important;

        padding:
            2rem
            max(1.5rem, env(safe-area-inset-right))
            4rem
            max(1.5rem, env(safe-area-inset-left))
            !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        position: relative !important;
        z-index: 5 !important;

        text-align: center !important;
    }

    main > .hero .hero-content {
        width: min(100%, 1000px) !important;
        max-width: 1000px !important;
    }

    /* Neutralizar configuraciones antiguas específicas de páginas */
    body.page-jets main > .page-hero > .container,
    body.page-vehicles main > .page-hero > .container,
    body.page-villas main > .page-hero > .container,
    body.page-restaurants main > .page-hero > .container,
    body.page-courses main > .page-hero > .container,
    body.page-static main > .static-hero > .static-hero-inner,
    body.page-static-ground-transfers
        main > .static-hero > .static-hero-inner,
    body.page-static-helicopters
        main > .static-hero > .static-hero-inner {
        grid-row: 2 !important;

        margin-top: 0 !important;
        padding-top: 2rem !important;

        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
    }
}

/* Centrado común en todas las resoluciones */
main > .hero h1,
main > .page-hero h1,
main > .static-hero h1 {
    width: min(100%, 1000px) !important;
    max-width: 1000px !important;

    margin-top: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;

    text-align: center !important;
}

main > .hero .hero-subtitle,
main > .hero p,
main > .page-hero p,
main > .static-hero .static-intro,
main > .static-hero .static-intro p {
    width: min(100%, 850px) !important;
    max-width: 850px !important;

    margin-right: auto !important;
    margin-left: auto !important;

    text-align: center !important;
}

main > .static-hero .static-kicker {
    width: 100% !important;
    text-align: center !important;
}

main > .hero .hero-buttons,
main > .hero .hero-actions,
main > .page-hero .hero-buttons,
main > .page-hero .hero-actions,
main > .static-hero .static-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    margin-right: auto !important;
    margin-left: auto !important;
}

main > .hero .btn,
main > .page-hero .btn,
main > .static-hero .btn {
    align-self: center !important;
}

/*
 * Tablet y móvil:
 * El menú se convierte en panel lateral.
 * El hero ya no necesita una fila reservada para el menú.
 */
@media (max-width: 1180px) {
    main > .hero,
    main > .page-hero,
    main > .static-hero {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        height: auto !important;

        min-height:
            max(
                580px,
                calc(100svh - var(--tva-topbar-height))
            ) !important;

        margin-top: 0 !important;
        padding: 0 !important;
    }

    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        box-sizing: border-box !important;

        width: 100% !important;
        min-height:
            max(
                580px,
                calc(100svh - var(--tva-topbar-height))
            ) !important;

        margin: 0 auto !important;
        padding: 3rem 1.5rem 4rem !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
    }
}

@media (max-width: 620px) {
    main > .hero,
    main > .page-hero,
    main > .static-hero,
    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        min-height:
            max(
                540px,
                calc(100svh - var(--tva-topbar-height))
            ) !important;
    }

    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        padding: 2.5rem 1.2rem 3.5rem !important;
    }
}

/* =========================================================
   TVA FIX — MENU SÓLIDO Y HERO SIN SUPERPOSICIÓN
   2026-07-28
   ========================================================= */

@media (min-width: 1181px) {

    /* Fondos completamente sólidos */
    body.site-theme-light {
        --header-top-bg: #ffffff;
        --header-nav-bg: #ffffff;
        --header-top-bg-scrolled: #ffffff;
        --header-nav-bg-scrolled: #ffffff;
    }

    body.site-theme-dark {
        --header-top-bg: #080808;
        --header-nav-bg: #080808;
        --header-top-bg-scrolled: #080808;
        --header-nav-bg-scrolled: #080808;
    }

    /* Evita que el hero suba detrás del menú */
    main > .hero,
    main > .page-hero,
    main > .static-hero {
        margin-top: 0 !important;
    }

    /* El texto ya no necesita compensar la altura del menú */
    main > .hero .hero-content,
    main > .page-hero > .container,
    main > .static-hero > .static-hero-inner {
        padding-top: 3.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    /* El menú deja de ser transparente */
    .main-header,
    .main-header .main-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

