/* Scraped wp-custom-css + clone overrides */

.header__lang ul {
    display: flex;
    gap: 20px;
    margin-right: 100px;
}

/* Header layout: logo left, hide removed controls */
.header__lang,
.header__book,
.header__theme,
.header__mob_theme,
.button-container {
    display: none !important;
}

.header__container {
    justify-content: flex-start;
    align-items: center;
}

.header__logo {
    flex-shrink: 0;
    margin-right: 24px;
}

.header__menu {
    margin-left: 0;
}

.header__buttons {
    margin-left: auto;
    display: flex !important;
    align-items: center;
    gap: 20px !important;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.lang-switcher__btn:hover:not(.lang-switcher__btn--active) {
    color: #fff;
}

.lang-switcher__btn--active {
    color: #fff;
    background: linear-gradient(135deg, #fd4a9e 0%, #d93d8f 100%);
    box-shadow: 0 2px 14px rgba(253, 74, 158, 0.4);
    cursor: default;
}

.lang-switcher--mob {
    margin-bottom: 28px;
}

.header__insta {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

.hentaied-collab,
.close-button,
a.scroll-to-form,
a.faq-accordion-trigger,
.lang-switcher__btn,
.header__insta,
.footer__insta,
.footer__instagram {
    pointer-events: auto !important;
    cursor: pointer !important;
}

a.scroll-to-form {
    transition: opacity 0.2s ease;
}

a.scroll-to-form:hover {
    opacity: 0.85;
}

.calc .insta__range,
.calc .insta__input {
    pointer-events: auto !important;
}

.calc .insta__range {
    cursor: ew-resize !important;
}

.calc .insta__input {
    cursor: text !important;
}

#form input:not([type=hidden]),
#form textarea,
#form button.form__btn--subm {
    pointer-events: auto !important;
}

#form input:not([type=hidden]),
#form textarea {
    cursor: text !important;
}

#form button.form__btn--subm {
    cursor: pointer !important;
}

.form__honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form--error .form__title {
    color: #fd4a9e;
}

html {
    scroll-behavior: smooth;
}

.close-button {
    z-index: 2;
}

span.hero__title {
    font: 700 var(--h1) / 95% var(--heading-font-family);
    display: block !important;
}

span.tab__country {
    font: 700 var(--h2) / 95% var(--heading-font-family);
}

@media (max-width: 760px) {
    .header__buttons {
        display: flex !important;
        gap: 12px !important;
    }

    .lang-switcher__btn {
        min-width: 34px;
        height: 28px;
        padding: 0 9px;
        font-size: 10px;
    }

    .header__buttons > .lang-switcher {
        display: none;
    }
}

/* Disable all interaction except collab modal + form scroll links */
.is-inactive,
a:not(.hentaied-collab):not(.scroll-to-form):not(.faq-accordion-trigger):not(.lang-switcher__btn):not(.header__insta):not(.footer__insta):not(.footer__instagram),
button,
input,
textarea,
select {
    pointer-events: none !important;
    cursor: default !important;
}

/* Hero video — match original .hero__video proportions (max-width 560px, 16:9) */
.hero__video {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1d2e;
    outline: none;
}

.hero__video:focus-visible {
    box-shadow: 0 0 0 2px rgba(253, 74, 158, 0.55);
}

.hero__video--loading .hero__video-player {
    opacity: 0.9;
}

.hero__video-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.hero__video-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 10px 12px 12px;
    background: linear-gradient(
        180deg,
        rgba(10, 12, 22, 0) 0%,
        rgba(10, 12, 22, 0.72) 45%,
        rgba(10, 12, 22, 0.92) 100%
    );
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.hero__video--controls-visible .hero__video-controls,
.hero__video--paused .hero__video-controls,
.hero__video:hover .hero__video-controls,
.hero__video:focus-within .hero__video-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero__video-progress-area {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.hero__video-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    pointer-events: none;
}

.hero__video-progress-buffer,
.hero__video-progress-played {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: inherit;
    width: 0;
}

.hero__video-progress-buffer {
    background: rgba(255, 255, 255, 0.28);
}

.hero__video-progress-played {
    background: linear-gradient(90deg, #fd4a9e 0%, #ff6eb3 100%);
    z-index: 1;
}

.hero__video-progress {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: ew-resize;
}

.hero__video-progress::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.hero__video-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin-top: -5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(253, 74, 158, 0.45);
    transition: transform 0.15s ease;
}

.hero__video-progress:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

.hero__video-progress::-moz-range-track {
    height: 4px;
    background: transparent;
    border: none;
}

.hero__video-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(253, 74, 158, 0.45);
}

.hero__video-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.hero__video-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.hero__video-btn:hover {
    background: rgba(253, 74, 158, 0.35);
    color: #fff;
}

.hero__video-btn:active {
    transform: scale(0.96);
}

.hero__video-icon {
    display: block;
}

.hero__video-icon--play,
.hero__video-icon--muted,
.hero__video-icon--fullscreen-exit {
    display: none;
}

.hero__video--paused .hero__video-icon--pause {
    display: none;
}

.hero__video--paused .hero__video-icon--play {
    display: block;
}

.hero__video--muted .hero__video-icon--volume {
    display: none;
}

.hero__video--muted .hero__video-icon--muted {
    display: block;
}

.hero__video--fullscreen .hero__video-icon--fullscreen {
    display: none;
}

.hero__video--fullscreen .hero__video-icon--fullscreen-exit {
    display: block;
}

.hero__video-volume-wrap {
    flex: 0 1 88px;
    min-width: 56px;
    max-width: 100px;
    display: flex;
    align-items: center;
}

.hero__video-volume {
    width: 100%;
    height: 32px;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: ew-resize;
}

.hero__video-volume::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.hero__video-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    margin-top: -4px;
    border-radius: 50%;
    background: #fd4a9e;
}

.hero__video-volume::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: none;
}

.hero__video-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #fd4a9e;
}

.hero__video-time {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: center;
}

.hero__video--fullscreen {
    border-radius: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.hero__video--fullscreen .hero__video-player {
    object-fit: contain;
}

.hero__video,
.hero__video-controls,
.hero__video-controls button,
.hero__video-controls input[type="range"] {
    pointer-events: auto !important;
}

.hero__video-controls button {
    cursor: pointer !important;
}

.hero__video-controls input[type="range"] {
    cursor: ew-resize !important;
}

@media (max-width: 760px) {
    .hero__video-controls {
        padding: 8px 10px 10px;
    }

    .hero__video-btn {
        width: 44px;
        height: 44px;
    }

    .hero__video-volume-wrap {
        flex: 0 1 72px;
        min-width: 48px;
    }

    .hero__video-time {
        font-size: 11px;
    }

    .hero__video-progress::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
        margin-top: -7px;
    }

    .hero__video-volume::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
        margin-top: -6px;
    }
}

/* Success Stories carousel — interactive nav */
.success .swiper-nav .swiper-button-next,
.success .swiper-nav .swiper-button-prev,
.success .swiper-nav .swiper-pagination,
.success .swiper-nav .swiper-pagination-bullet {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.success .swiper-nav .swiper-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 0;
}

.success .swiper-nav .swiper-button svg {
    width: 5px;
    height: 9px;
    display: block;
    flex-shrink: 0;
}

.success .swiper-nav .swiper-pagination {
    gap: 8px;
}

.success .swiper-nav .swiper-pagination-bullet {
    opacity: 1;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.25s ease, transform 0.25s ease;
}

.success .swiper-nav .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.15);
}

.world__nav li,
.world__map-countries path[data-tab] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure lazy images visible */
img.lazy {
    opacity: 1;
}

/* Header logo fallback (hero__image.svg 404 on origin) */
.header__logo {
    background-image: url(../assets/wp-content/themes/avis/img/header__logo.svg) !important;
}
