/* Site header — modern glass chrome */

.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9996;
    padding: 0.85rem 1rem 0;
    pointer-events: none;
}
.site-header-wrap > * { pointer-events: auto; }

.site-header {
    max-width: 78rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 4.25rem;
    padding: 0.55rem 0.75rem 0.55rem 1.15rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 1.15rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 36px rgba(2, 12, 65, 0.1);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(3, 13, 117, 0.1);
    box-shadow: 0 8px 28px rgba(2, 12, 65, 0.12);
}
@media (max-width: 1023px) {
    .site-header {
        display: flex;
        justify-content: space-between;
    }
}

.site-header__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.site-header__brand img {
    height: 2.65rem;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.site-header__brand:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 12px rgba(2, 12, 65, 0.14));
}

.site-header__nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}
@media (min-width: 1024px) {
    .site-header__nav { display: flex; }
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(3, 13, 117, 0.78);
    text-decoration: none;
    border-radius: 0.65rem;
    transition: color 0.2s ease, background 0.2s ease;
}
.nav-link__chevron {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: #fa0073;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}
.nav-link:hover {
    color: #030d75;
    background: rgba(3, 13, 117, 0.05);
}
.nav-link:hover::after,
.nav-link.is-active::after {
    width: 1.25rem;
}
.nav-link.is-active {
    color: #fa0073;
    background: rgba(250, 0, 115, 0.08);
}
.nav-link:focus-visible {
    outline: 2px solid rgba(250, 0, 115, 0.4);
    outline-offset: 2px;
}

/* Hover dropdowns (Airlines + AMX menus) */
.nav-item,
.nav-item--airlines {
    position: relative;
}
.nav-item::after,
.nav-item--airlines::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.85rem;
}
.nav-item > .nav-link,
.nav-item--airlines > .nav-link {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}
/* Keep section trigger highlighted when on a child page (or hovering the menu) */
.nav-item > .nav-link.is-active,
.nav-item--airlines > .nav-link.is-active,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-item--airlines:hover > .nav-link,
.nav-item--airlines:focus-within > .nav-link {
    color: #fa0073;
    background: rgba(250, 0, 115, 0.08);
}
.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after,
.nav-item--airlines:hover > .nav-link::after,
.nav-item--airlines:focus-within > .nav-link::after,
.nav-item > .nav-link.is-active::after,
.nav-item--airlines > .nav-link.is-active::after {
    width: 1.25rem;
}
.nav-dropdown,
.nav-airlines-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 13.5rem;
    padding: 0.45rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.1);
    box-shadow: 0 18px 40px rgba(2, 12, 65, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 80;
}
.nav-airlines-menu { min-width: 15.5rem; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item--airlines:hover .nav-airlines-menu,
.nav-item--airlines:focus-within .nav-airlines-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-item:hover .nav-link__chevron,
.nav-item:focus-within .nav-link__chevron,
.nav-item--airlines:hover .nav-link__chevron,
.nav-item--airlines:focus-within .nav-link__chevron {
    transform: rotate(180deg);
}
.nav-dropdown__item,
.nav-airlines-menu__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #030d75;
    text-align: center;
    transition: background 0.18s ease, color 0.18s ease;
}
.nav-dropdown__item:hover,
.nav-airlines-menu__item:hover {
    background: rgba(3, 13, 117, 0.06);
}
.nav-dropdown__item.is-active,
.nav-airlines-menu__item.is-active {
    color: #fa0073;
    background: rgba(250, 0, 115, 0.1);
}
.nav-dropdown__item.is-active:hover,
.nav-airlines-menu__item.is-active:hover {
    background: rgba(250, 0, 115, 0.14);
}
.nav-dropdown__item + .nav-dropdown__item,
.nav-airlines-menu__item + .nav-airlines-menu__item {
    margin-top: 0.15rem;
}
.nav-airlines-menu__icon {
    display: none;
}
.nav-dropdown__copy,
.nav-airlines-menu__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
    width: 100%;
    text-align: center;
}
.nav-dropdown__copy strong,
.nav-airlines-menu__copy strong {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
}
.nav-dropdown__copy small,
.nav-airlines-menu__copy small {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}
.mobile-nav-card--sub {
    margin-left: 0.85rem;
    padding-left: 0.95rem;
    border-left: 2px solid rgba(3, 13, 117, 0.12);
    font-size: 0.9rem;
}

.site-header__actions {
    display: none;
    align-items: center;
    gap: 0.45rem;
    justify-self: end;
}
@media (min-width: 1024px) {
    .site-header__actions { display: flex; }
}

.header-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.05rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 0.7rem;
    background: #030d75;
    box-shadow: 0 4px 14px rgba(3, 13, 117, 0.25);
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-cta > * {
    position: relative;
    z-index: 1;
}
.header-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 0;
    pointer-events: none;
}
.header-cta:hover::before {
    transform: translateX(100%);
}
.header-cta:hover {
    transform: translateY(-2px);
    background: #020c41;
    box-shadow: 0 12px 24px rgba(3, 13, 117, 0.3);
    color: #fff;
}
.header-cta--join {
    background: #fa0073;
    box-shadow: 0 4px 14px rgba(250, 0, 115, 0.3);
}
.header-cta--join:hover {
    background: #e00068;
    box-shadow: 0 12px 24px rgba(250, 0, 115, 0.3);
}

.header-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(3, 13, 117, 0.1);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    color: #030d75;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.header-lang-btn:hover,
.header-lang-btn[aria-expanded="true"] {
    background: #fff;
    border-color: rgba(3, 13, 117, 0.18);
}
.header-lang-btn .fa-chevron-down {
    transition: transform 0.25s ease;
    font-size: 0.6rem;
    opacity: 0.55;
}
.header-lang-btn[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 11.5rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 0.9rem;
    border: 1px solid rgba(3, 13, 117, 0.08);
    box-shadow: 0 18px 44px rgba(2, 12, 65, 0.14);
    overflow: hidden;
    z-index: 1000;
}
.lang-dropdown.show {
    display: block;
    animation: headerSlideDown 0.22s ease;
}
@keyframes headerSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.lang-dropdown .lang-option {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #030d75;
    text-decoration: none;
}
.lang-dropdown .lang-option:hover { background: rgba(250, 0, 115, 0.07); color: #fa0073; }
.lang-dropdown .lang-option img { margin-right: 0.65rem; border-radius: 3px; }

.header-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(3, 13, 117, 0.1);
    background: rgba(3, 13, 117, 0.04);
    color: #030d75;
    transition: background 0.2s ease;
}
.header-menu-toggle:hover { background: rgba(3, 13, 117, 0.08); }
@media (min-width: 1024px) {
    .header-menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(2, 12, 65, 0.72);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.mobile-menu-backdrop.active { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: min(320px, calc(100vw - 1.5rem));
    z-index: 9998;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid rgba(3, 13, 117, 0.08);
    box-shadow: 0 24px 64px rgba(2, 12, 65, 0.22);
    transform: translateX(calc(100% + 1rem));
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
}
.mobile-menu.active { transform: translateX(0); }
body.menu-open { overflow: hidden; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(3, 13, 117, 0.08);
}
.mobile-menu-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #030d75;
}
.mobile-menu-close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: rgba(3, 13, 117, 0.06);
    color: #030d75;
    border: none;
}

.mobile-nav-scroll { flex: 1; overflow-y: auto; padding: 1rem; }
.mobile-nav-section {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 1rem 0 0.4rem 0.35rem;
}
.mobile-nav-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.35rem;
    border-radius: 0.875rem;
    background: #f8fafc;
    border: 1px solid rgba(3, 13, 117, 0.06);
    color: #030d75;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}
.mobile-nav-card.is-active {
    color: #fa0073;
    background: rgba(250, 0, 115, 0.08);
    border-color: rgba(250, 0, 115, 0.22);
}
.mobile-nav-card.is-active .icon-wrap {
    background: rgba(250, 0, 115, 0.14);
    color: #fa0073;
}
.mobile-nav-card .icon-wrap {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(3, 13, 117, 0.08);
    color: #030d75;
    font-size: 0.9rem;
}
.mobile-nav-cta-wrap { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.mobile-nav-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-cta > * {
    position: relative;
    z-index: 1;
}
.mobile-nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 0;
    pointer-events: none;
}
.mobile-nav-cta:hover::before {
    transform: translateX(100%);
}
.mobile-nav-cta:hover {
    transform: translateY(-2px);
}
.mobile-nav-cta--crew {
    color: #030d75;
    background: #fff;
    border: 2px solid rgba(3, 13, 117, 0.15);
}
.mobile-nav-cta--crew:hover {
    box-shadow: 0 12px 24px rgba(3, 13, 117, 0.18);
}
.mobile-nav-cta--join {
    color: #fff;
    background: #fa0073;
}
.mobile-nav-cta--join:hover {
    box-shadow: 0 12px 24px rgba(250, 0, 115, 0.3);
}

.btn-modern {
    position: relative;
    font-weight: 600;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-modern > * {
    position: relative;
    z-index: 1;
}
.btn-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 0;
    pointer-events: none;
}
.btn-modern:hover::before {
    transform: translateX(100%);
}
.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(250, 0, 115, 0.3);
}

/* —— Notice + cookies shared —— */
.amx-notice-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9989;
    background: rgba(2, 12, 65, 0.58);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.amx-notice-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* —— Legal notice —— */
.amx-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9990;
    width: min(28rem, calc(100vw - 2rem));
    padding: 0;
    background: #eef1f8;
    border-radius: 1.25rem;
    border: 1px solid rgba(3, 13, 117, 0.12);
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(2, 12, 65, 0.3);
    transform: translate(-50%, -46%) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease, visibility 0.3s ease;
}
.amx-notice.is-visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}
.amx-notice__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.35rem 1.5rem 1.3rem;
    background:
        radial-gradient(ellipse 80% 120% at 10% 0%, rgba(29, 78, 216, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 100% at 90% 100%, rgba(250, 0, 115, 0.16), transparent 50%),
        linear-gradient(135deg, #030d75 0%, #020c41 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.amx-notice__glow {
    position: absolute;
    top: -60%;
    left: 50%;
    width: 16rem;
    height: 10rem;
    margin-left: -8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    pointer-events: none;
}
.amx-notice__header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fa0073 20%, #ff6bb0 50%, #fa0073 80%, transparent);
}
.amx-notice__icon-wrap {
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
.amx-notice__icon {
    font-size: 1.05rem;
    animation: amx-notice-pulse 2.2s ease-in-out infinite;
}
@keyframes amx-notice-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.12); }
}
.amx-notice__label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.amx-notice__body {
    padding: 1.5rem 1.55rem 1.15rem;
    background: #eef1f8;
}
.amx-notice__body .amx-notice__copy {
    margin: 0;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    color: #475569 !important;
    font-size: 0.9375rem !important;
    line-height: 1.75 !important;
}
.amx-notice__body .amx-notice__copy + .amx-notice__copy,
.amx-notice__body .amx-notice__copy + .amx-notice__hint {
    margin-top: 1rem;
}
.amx-notice__hint {
    margin: 0;
    padding: 0.85rem 1rem;
    background: rgba(3, 13, 117, 0.07);
    border: 1px solid rgba(3, 13, 117, 0.12);
    border-radius: 0.85rem;
    color: #334155 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    font-size: 0.9375rem;
    line-height: 1.75;
}
.amx-notice__body strong { color: #030d75; font-weight: 700; }
.amx-notice__body a {
    color: #030d75;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 13, 117, 0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.amx-notice__body a:hover {
    color: #fa0073;
    border-bottom-color: rgba(250, 0, 115, 0.45);
}
.amx-notice__actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 1.55rem 1.5rem;
    background: #eef1f8;
}
.amx-notice__btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.8rem 1.25rem;
    border: none;
    border-radius: 9999px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.amx-notice__btn i {
    font-size: 0.75rem;
    opacity: 0.9;
}
.amx-notice__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}
.amx-notice__btn:hover {
    transform: translateY(-2px);
    color: #fff;
}
.amx-notice__btn:hover::before { transform: translateX(100%); }
.amx-notice__btn:active { transform: translateY(0) scale(0.98); }
.amx-notice__btn--pink {
    background: linear-gradient(to right, #fa0073, #db2777);
    box-shadow: 0 10px 26px rgba(250, 0, 115, 0.28);
}
.amx-notice__btn--pink:hover {
    box-shadow: 0 14px 32px rgba(250, 0, 115, 0.4);
    filter: brightness(1.04);
}
.amx-notice__btn--blue {
    background: linear-gradient(to right, #030d75, #1d4ed8);
    box-shadow: 0 10px 26px rgba(3, 13, 117, 0.22);
}
.amx-notice__btn--blue:hover {
    box-shadow: 0 14px 32px rgba(3, 13, 117, 0.32);
    filter: brightness(1.05);
}

/* —— Cookie bar (bottom-wide, notice design) —— */
.amx-cookie {
    position: fixed;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 9988;
    max-width: 72rem;
    margin: 0 auto;
    background: #eef1f8;
    border-radius: 1.15rem;
    border: 1px solid rgba(3, 13, 117, 0.12);
    box-shadow: 0 18px 48px rgba(2, 12, 65, 0.22);
    overflow: hidden;
    transform: translateY(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease, visibility 0.3s ease;
}
.amx-cookie.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.amx-cookie__accent {
    height: 3px;
    background: #fa0073;
}
.amx-cookie__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem 1.25rem 1.2rem;
}
@media (min-width: 800px) {
    .amx-cookie__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.75rem;
        padding: 1.2rem 1.5rem;
    }
}
.amx-cookie__copy {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-width: 0;
    flex: 1;
}
.amx-cookie__icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, #030d75, #1d4ed8);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(3, 13, 117, 0.28);
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.amx-cookie__content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    padding-top: 0.15rem;
}
.amx-cookie__title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #020c41;
    line-height: 1.25;
}
.amx-cookie__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}
@media (min-width: 800px) {
    .amx-cookie__text { max-width: 38rem; }
}
.amx-cookie__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-shrink: 0;
}
.amx-cookie__privacy {
    color: #030d75;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(3, 13, 117, 0.35);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.amx-cookie__privacy:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}
.amx-cookie__btn {
    width: auto;
    min-width: 7.5rem;
    padding: 0.7rem 1.35rem;
    white-space: nowrap;
}

/* —— Original loader, improved —— */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(270deg, #020c41, #030d75, #fa0073, #020c41);
    background-size: 400% 400%;
    animation: siteLoaderGradient 5.5s ease infinite;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.site-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 40%, rgba(250, 0, 115, 0.22), transparent 68%),
        radial-gradient(ellipse 90% 55% at 50% 110%, rgba(2, 12, 65, 0.55), transparent 55%);
    pointer-events: none;
}
.site-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* After load: keep gradient, hide knight + progress while language is chosen */
.site-loader.is-lang-wait .site-loader__stage,
.site-loader.is-lang-wait .site-loader__footer,
.site-loader.is-lang-exit .site-loader__stage,
.site-loader.is-lang-exit .site-loader__footer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.site-loader.is-lang-wait,
.site-loader.is-lang-exit {
    pointer-events: none;
    animation: siteLoaderGradient 5.5s ease infinite;
}
.site-loader.is-lang-exit {
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

/* Hide page chrome until language is selected / aviso is dismissed */
body.lang-pending,
body.notice-gate {
    overflow: hidden !important;
}
body.lang-pending #mainHeader,
body.lang-pending #mobileMenu,
body.lang-pending #mobileMenuBackdrop,
body.lang-pending .home-hero,
body.lang-pending .home-section,
body.lang-pending .home-partners,
body.lang-pending .site-footer,
body.lang-pending .home-divider,
body.lang-pending hr.home-divider,
body.notice-gate #mainHeader,
body.notice-gate #mobileMenu,
body.notice-gate #mobileMenuBackdrop,
body.notice-gate .home-hero,
body.notice-gate .home-section,
body.notice-gate .home-partners,
body.notice-gate .site-footer,
body.notice-gate .home-divider,
body.notice-gate hr.home-divider {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Brand stage behind aviso (page not visible yet) */
.lang-stage {
    position: fixed;
    inset: 0;
    z-index: 9985;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 50% 35%, rgba(250, 0, 115, 0.28), transparent 68%),
        linear-gradient(135deg, #020c41 0%, #030d75 48%, #04106b 100%);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lang-stage.is-on {
    opacity: 1;
    visibility: visible;
}
body.notice-gate .amx-notice-backdrop.is-visible {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.notice-gate .amx-notice {
    z-index: 9992;
}

/* —— Language pick iris (not the loader) —— */
.lang-transit {
    position: fixed;
    inset: 0;
    z-index: 10080;
    pointer-events: none;
    display: none;
}
.lang-transit.is-active {
    display: block;
}
.lang-transit.is-done {
    display: none;
}
.lang-transit__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(250, 0, 115, 0.55), transparent 55%),
        linear-gradient(135deg, #020c41 0%, #030d75 45%, #fa0073 120%);
    clip-path: circle(0% at var(--lang-ox, 50%) var(--lang-oy, 50%));
    will-change: clip-path, opacity;
}
.lang-transit.is-cover .lang-transit__veil {
    animation: langIrisCover 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lang-transit.is-reveal .lang-transit__veil {
    animation: langIrisReveal 0.52s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.lang-transit__ring {
    position: absolute;
    left: var(--lang-ox, 50%);
    top: var(--lang-oy, 50%);
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: scale(0.4);
    box-shadow: 0 0 0 0 rgba(250, 0, 115, 0.45);
}
.lang-transit.is-cover .lang-transit__ring {
    animation: langRingPulse 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes langIrisCover {
    from { clip-path: circle(0% at var(--lang-ox, 50%) var(--lang-oy, 50%)); }
    to { clip-path: circle(160% at var(--lang-ox, 50%) var(--lang-oy, 50%)); }
}
@keyframes langIrisReveal {
    from {
        clip-path: circle(160% at var(--lang-ox, 50%) var(--lang-oy, 50%));
        opacity: 1;
    }
    to {
        clip-path: circle(0% at var(--lang-ox, 50%) var(--lang-oy, 50%));
        opacity: 0.85;
    }
}
@keyframes langRingPulse {
    0% {
        opacity: 1;
        transform: scale(0.4);
        box-shadow: 0 0 0 0 rgba(250, 0, 115, 0.5);
    }
    100% {
        opacity: 0;
        transform: scale(28);
        box-shadow: 0 0 0 40px rgba(250, 0, 115, 0);
    }
}

/* Page settle after iris opens */
@keyframes langPageIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
body.lang-page-in #mainHeader,
body.lang-page-in .home-hero,
body.lang-page-in .home-section,
body.lang-page-in .home-partners,
body.lang-page-in .site-footer {
    animation: langPageIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.lang-page-in .home-hero { animation-delay: 0.02s; }
body.lang-page-in .home-section:nth-of-type(1) { animation-delay: 0.08s; }
body.lang-page-in .home-section:nth-of-type(2) { animation-delay: 0.14s; }

/* Destination page after language redirect — no loader */
html.lang-enter-boot #loader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
html.lang-enter-boot body {
    opacity: 0;
}
body.lang-enter-play.lang-enter-ready {
    animation: langPageIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes langModalOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
}
#languageModal.lang-modal--out {
    pointer-events: none;
}
#languageModal.lang-modal--out .lang-modal__panel {
    animation: langModalOut 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.lang-option.is-chosen {
    border-color: #fa0073 !important;
    transform: scale(1.04);
    box-shadow: 0 12px 28px rgba(250, 0, 115, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .lang-transit__veil,
    .lang-transit__ring,
    body.lang-page-in #mainHeader,
    body.lang-page-in .home-hero,
    body.lang-page-in .home-section,
    body.lang-page-in .home-partners,
    body.lang-page-in .site-footer,
    body.lang-enter-play.lang-enter-ready {
        animation: none !important;
    }
}

/* Language modal sits on the loader gradient (no dark overlay) */
#languageModal.lang-modal--on-loader {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 10050;
    pointer-events: auto;
}

/* Entrance animations */
@keyframes langModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes langModalPop {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.92);
    }
    65% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes langModalTitleIn {
    from {
        opacity: 0;
        transform: translateY(10px);
        letter-spacing: 0.08em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: normal;
    }
}
@keyframes langModalFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes langModalIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
@keyframes langOptionIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#languageModal.lang-modal--animate {
    animation: langModalFadeIn 0.35s ease both;
}
#languageModal.lang-modal--animate .lang-modal__panel {
    animation: langModalPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#languageModal.lang-modal--animate .lang-modal__icon {
    animation: langModalFadeUp 0.45s ease 0.12s both, langModalIconPulse 1.8s ease 0.7s infinite;
}
#languageModal.lang-modal--animate .lang-modal__title {
    animation: langModalTitleIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
#languageModal.lang-modal--animate .lang-modal__title-es {
    animation: langModalFadeUp 0.45s ease 0.28s both;
}
#languageModal.lang-modal--animate .lang-modal__hint {
    animation: langModalFadeUp 0.45s ease 0.36s both;
}
#languageModal.lang-modal--animate .lang-option:nth-child(1) {
    animation: langOptionIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}
#languageModal.lang-modal--animate .lang-option:nth-child(2) {
    animation: langOptionIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

@media (prefers-reduced-motion: reduce) {
    #languageModal.lang-modal--animate,
    #languageModal.lang-modal--animate .lang-modal__panel,
    #languageModal.lang-modal--animate .lang-modal__icon,
    #languageModal.lang-modal--animate .lang-modal__title,
    #languageModal.lang-modal--animate .lang-modal__title-es,
    #languageModal.lang-modal--animate .lang-modal__hint,
    #languageModal.lang-modal--animate .lang-option {
        animation: none !important;
    }
}

/* Language modal panel */
.lang-modal__panel {
    background: #fff;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 34rem;
    padding: 2.25rem 1.75rem 1.75rem;
    box-shadow: 0 24px 60px rgba(2, 12, 65, 0.35);
    text-align: center;
    will-change: transform, opacity;
}
.lang-modal__icon {
    display: block;
    margin: 0 auto 0.85rem;
    font-size: 2.75rem;
    color: #030d75;
    transform-origin: center;
}
.lang-modal__title {
    margin: 0;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #020c41;
    line-height: 1.2;
}
.lang-modal__title-es {
    margin: 0.2rem 0 0;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #030d75;
    opacity: 0.85;
    line-height: 1.25;
}
.lang-modal__hint {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.4;
}
.lang-modal__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
}
@media (max-width: 420px) {
    .lang-modal__panel {
        padding: 1.75rem 1.15rem 1.25rem;
    }
    .lang-modal__title {
        font-size: 1.55rem;
    }
    .lang-modal__options {
        gap: 0.65rem;
    }
}

/* Language option cards — side by side, centered */
.lang-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 8.5rem;
    padding: 1.15rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    text-align: center;
}
.lang-option:hover,
.lang-option:focus-visible {
    border-color: #fa0073;
    background: #fdf2f8;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(250, 0, 115, 0.14);
}
/* Same fixed frame — pre-stretched PNGs (identical 152×100 assets) */
.lang-option__flag-wrap {
    display: block;
    width: 76px;
    height: 50px;
    margin: 0 auto;
    flex: 0 0 auto;
    border-radius: 0.3rem;
    box-shadow: 0 2px 8px rgba(2, 12, 65, 0.16);
    overflow: hidden;
    line-height: 0;
}
.lang-option__flag-wrap img {
    display: block;
    width: 76px !important;
    height: 50px !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: fill !important;
}
.lang-option__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    text-align: center;
    gap: 0.15rem;
}
.lang-option__name {
    display: block;
    width: 100%;
    font-weight: 700;
    font-size: 1.15rem;
    color: #030d75;
    line-height: 1.2;
    text-align: center;
}
.lang-option__hint {
    display: block;
    width: 100%;
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.25;
    text-align: center;
}
@keyframes siteLoaderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.site-loader__stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: siteLoaderFloat 3.2s ease-in-out infinite;
}
@keyframes siteLoaderFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.site-loader__orbit {
    position: relative;
    width: 14rem;
    height: 14rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-loader__halo {
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(250, 0, 115, 0.08) 42%, transparent 70%);
    filter: blur(4px);
    animation: siteLoaderHalo 2.8s ease-in-out infinite;
}
@keyframes siteLoaderHalo {
    0%, 100% { opacity: 0.65; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.08); }
}
.site-loader__floor {
    position: absolute;
    bottom: 8%;
    left: 50%;
    width: 6.5rem;
    height: 1.1rem;
    margin-left: -3.25rem;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.35), transparent 70%);
    filter: blur(4px);
    animation: siteLoaderFloor 3.2s ease-in-out infinite;
}
@keyframes siteLoaderFloor {
    0%, 100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(0.78); opacity: 0.4; }
}
.site-loader__knight-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: siteLoaderSpin3d 4.5s linear infinite;
    transform-style: preserve-3d;
}
@keyframes siteLoaderSpin3d {
    from { transform: rotateY(0deg) rotateX(8deg); }
    to { transform: rotateY(360deg) rotateX(8deg); }
}
.site-loader__knight {
    width: 9rem;
    height: 9rem;
    object-fit: contain;
    filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55));
}

.site-loader__footer {
    position: absolute;
    bottom: 2.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(19rem, calc(100vw - 3rem));
    text-align: center;
    z-index: 1;
}
.site-loader__track {
    height: 5px;
    border-radius: 999px;
    background: rgba(160, 170, 190, 0.38);
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}
.site-loader__fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: #fa0073;
    box-shadow: 0 0 16px rgba(250, 0, 115, 0.55);
    transition: width 0.25s ease;
    position: relative;
}
.site-loader__fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: siteLoaderShine 1.6s ease-in-out infinite;
}
@keyframes siteLoaderShine {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}
.site-loader__pct {
    margin: 0;
    font-size: 0.8125rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.72);
}

/* Hide site chrome while legal notice is open */
body.notice-open #mainHeader,
body.notice-open #mobileMenu,
body.notice-open #mobileMenuBackdrop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* legacy */
.cookie-backdrop {}
.cookie-toast {}
.amx-dialog {}
.amx-dialog-backdrop {}
.cookie-glass {}
.loader-gradient {}
.progress-bar {}
