:root{
    --ink:#080816;
    --muted:#64748b;
    --soft:#f8fafc;
    --dark:#050510;
    --dark2:#0b0a1a;
    --purple:#7c3aed;
    --pink:#ec4899;
    --blue:#2563eb;
    --gold:#f59e0b;
    --green:#22c55e;
    --shadow:0 26px 90px rgba(15,23,42,.16);
    --shadow-dark:0 30px 110px rgba(0,0,0,.36);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:#fff;
    overflow-x:hidden;
}
img{max-width:100%}
a{text-decoration:none}

.lux-nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    padding:16px 0;
}

.lux-nav-inner{
    width:100%;
    min-height:72px;
    display:flex;
    align-items:center;
    gap:20px;
    padding:12px 16px;
    border-radius:26px;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(255,255,255,.82);
    box-shadow:0 18px 60px rgba(15,23,42,.12);
    backdrop-filter:blur(26px);
}

.lux-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:#111827;
    font-weight:950;
    letter-spacing:-.035em;
    white-space:nowrap;
}

.lux-brand img{
    width:auto;
    height:43px;
    object-fit:contain;
}

.lux-toggler{
    margin-left:auto;
    width:44px;
    height:44px;
    border:0;
    border-radius:15px;
    background:rgba(15,23,42,.06);
    color:#111827;
    box-shadow:none!important;
}

.lux-menu{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
}

.lux-menu a{
    color:rgba(15,23,42,.70);
    font-size:14px;
    font-weight:850;
    padding:10px 12px;
    border-radius:999px;
    transition:.18s ease;
    white-space:nowrap;
}

.lux-menu a:hover{
    color:#111827;
    background:rgba(124,58,237,.08);
}

.lux-btn{
    border:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:13px 20px;
    border-radius:999px;
    color:#fff!important;
    font-weight:950;
    background:linear-gradient(135deg,var(--purple),var(--pink));
    box-shadow:0 18px 44px rgba(124,58,237,.28);
    transition:.2s ease;
}

.lux-btn:hover{
    transform:translateY(-2px);
    filter:saturate(1.08);
}

.lux-btn-sm{
    padding:11px 17px;
}

.lux-btn-big{
    padding:15px 26px;
    font-size:16px;
}

.lux-btn-ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 19px;
    border-radius:999px;
    color:#fff;
    font-weight:950;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.20);
    backdrop-filter:blur(18px);
    transition:.2s ease;
}

.lux-btn-ghost:hover{
    color:#fff;
    background:rgba(255,255,255,.18);
    transform:translateY(-2px);
}

.lux-hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:150px 0 90px;
    color:#fff;
    background:#050510;
}

.lux-hero-bg,
.lux-hero-slide{
    position:absolute;
    inset:0;
}

.lux-hero-slide{
    background-size:cover;
    background-position:center;
    opacity:0;
    transform:scale(1.02);
    transition:opacity 1.3s ease, transform 6s ease;
}

.lux-hero-slide.active{
    opacity:1;
    transform:scale(1.10);
}

.lux-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:rgba(5,5,16,.22);
    backdrop-filter:blur(4px);
}

.lux-hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:
        radial-gradient(760px 460px at 16% 24%, rgba(124,58,237,.54), transparent 60%),
        radial-gradient(620px 360px at 78% 14%, rgba(236,72,153,.28), transparent 58%),
        linear-gradient(90deg, rgba(5,5,16,.96), rgba(5,5,16,.74), rgba(5,5,16,.44));
}

.lux-hero-content{
    position:relative;
    z-index:4;
}

.lux-orb{
    position:absolute;
    z-index:3;
    width:280px;
    height:280px;
    border-radius:999px;
    filter:blur(50px);
    opacity:.65;
    pointer-events:none;
}

.orb-one{
    left:8%;
    bottom:12%;
    background:rgba(236,72,153,.45);
}

.orb-two{
    right:12%;
    top:22%;
    background:rgba(124,58,237,.45);
}

.lux-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(18px);
    font-weight:900;
    color:rgba(255,255,255,.92);
    margin-bottom:18px;
    font-size:14px;
}

.lux-hero-title{
    font-size:clamp(2.75rem,5vw,5.6rem);
    line-height:.92;
    letter-spacing:-.07em;
    font-weight:1000;
    max-width:780px;
    margin:0;
}

.lux-hero-text{
    max-width:620px;
    margin:22px 0 0;
    color:rgba(255,255,255,.76);
    font-size:1.07rem;
    line-height:1.75;
}

.lux-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px;
}

.lux-metrics{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:32px;
}

.lux-metrics div{
    min-width:120px;
    padding:14px 15px;
    border-radius:21px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(18px);
}

.lux-metrics strong{
    display:block;
    font-size:22px;
    line-height:1;
    font-weight:1000;
}

.lux-metrics span{
    display:block;
    margin-top:6px;
    color:rgba(255,255,255,.68);
    font-size:12px;
    font-weight:750;
}

.lux-collage{
    position:relative;
    min-height:540px;
}

.lux-photo{
    position:absolute;
    overflow:hidden;
    border-radius:34px;
    border:1px solid rgba(255,255,255,.22);
    box-shadow:var(--shadow-dark);
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(18px);
}

.lux-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.photo-main{
    right:0;
    top:24px;
    width:78%;
    height:410px;
}

.photo-top{
    left:0;
    top:78px;
    width:42%;
    height:210px;
}

.photo-bottom{
    left:8%;
    bottom:20px;
    width:48%;
    height:230px;
}

.lux-note{
    position:absolute;
    right:18px;
    bottom:8px;
    width:270px;
    display:flex;
    gap:12px;
    padding:18px;
    border-radius:26px;
    color:#111827;
    background:rgba(255,255,255,.90);
    border:1px solid rgba(255,255,255,.86);
    box-shadow:0 20px 70px rgba(15,23,42,.18);
    backdrop-filter:blur(22px);
}

.lux-note i{
    color:#16a34a;
    font-size:22px;
}

.lux-note b{
    display:block;
    font-weight:1000;
    letter-spacing:-.03em;
}

.lux-note span{
    display:block;
    color:#64748b;
    font-size:13px;
    line-height:1.5;
    margin-top:4px;
}

.scroll-down{
    position:absolute;
    z-index:5;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    color:rgba(255,255,255,.70);
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

.scroll-down span{
    width:1px;
    height:34px;
    background:rgba(255,255,255,.40);
    position:relative;
    overflow:hidden;
}

.scroll-down span::after{
    content:"";
    position:absolute;
    left:0;
    top:-100%;
    width:100%;
    height:100%;
    background:#fff;
    animation:scrollLine 1.6s infinite;
}

@keyframes scrollLine{
    to{top:100%}
}

.lux-section{
    position:relative;
    padding:110px 0;
}

.lux-light{
    background:
        radial-gradient(760px 360px at 12% 0%, rgba(124,58,237,.10), transparent 60%),
        linear-gradient(180deg,#fff,#f8fafc);
}

.lux-dark{
    color:#fff;
    background:
        radial-gradient(800px 420px at 18% 0%, rgba(124,58,237,.30), transparent 60%),
        radial-gradient(700px 400px at 80% 20%, rgba(236,72,153,.18), transparent 60%),
        linear-gradient(180deg,#050510,#0b0a1a);
}

.lux-section-head{
    max-width:820px;
    text-align:center;
    margin:0 auto 48px;
}

.lux-section-head.lux-left{
    text-align:left;
    margin:0;
}

.lux-section-head span,
.mini-label{
    display:inline-flex;
    align-items:center;
    padding:8px 13px;
    border-radius:999px;
    background:rgba(124,58,237,.10);
    color:#6d28d9;
    border:1px solid rgba(124,58,237,.14);
    font-weight:950;
    font-size:13px;
    margin-bottom:14px;
}

.lux-dark .lux-section-head span{
    color:#e9d5ff;
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.14);
}

.lux-section-head h2{
    margin:0;
    font-size:clamp(2.15rem,4vw,4.35rem);
    line-height:.95;
    letter-spacing:-.06em;
    font-weight:1000;
}

.lux-section-head p{
    margin:17px auto 0;
    max-width:660px;
    color:var(--muted);
    line-height:1.75;
    font-size:1.03rem;
}

.lux-dark .lux-section-head p{
    color:rgba(255,255,255,.68);
}

.lux-feature-row{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.lux-feature-card{
    min-height:270px;
    padding:28px;
    border-radius:32px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:var(--shadow);
    transition:.22s ease;
}

.lux-feature-card:hover{
    transform:translateY(-8px);
}

.lux-feature-card i{
    width:58px;
    height:58px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:26px;
    background:linear-gradient(135deg,var(--purple),var(--pink));
    box-shadow:0 16px 36px rgba(124,58,237,.22);
}

.lux-feature-card h3{
    margin:22px 0 10px;
    font-size:1.32rem;
    font-weight:1000;
    letter-spacing:-.035em;
}

.lux-feature-card p{
    color:var(--muted);
    line-height:1.7;
    margin:0;
}

.lux-program-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lux-program{
    display:flex;
    gap:18px;
    padding:24px;
    border-radius:30px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(18px);
    box-shadow:0 20px 60px rgba(0,0,0,.20);
    transition:.22s ease;
}

.lux-program:hover{
    transform:translateX(8px);
    background:rgba(255,255,255,.11);
}

.lux-program .num{
    min-width:58px;
    height:58px;
    border-radius:20px;
    display:grid;
    place-items:center;
    color:#fff;
    font-weight:1000;
    background:linear-gradient(135deg,var(--purple),var(--pink));
}

.lux-program h3{
    color:#fff;
    font-weight:1000;
    letter-spacing:-.035em;
    margin:0 0 7px;
}

.lux-program p{
    color:rgba(255,255,255,.68);
    line-height:1.7;
    margin:0;
}

.lux-video-section{
    background:#fff;
}

.lux-video-wrap{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:34px;
    align-items:center;
    padding:30px;
    border-radius:44px;
    background:
        radial-gradient(650px 280px at 8% 0%, rgba(124,58,237,.14), transparent 60%),
        linear-gradient(135deg,#fff,#f8fafc);
    border:1px solid rgba(15,23,42,.08);
    box-shadow:var(--shadow);
}

.lux-video-thumb{
    position:relative;
    display:block;
    width:100%;
    border:0;
    padding:0;
    border-radius:34px;
    overflow:hidden;
    aspect-ratio:16/10;
    background:#111827;
    box-shadow:0 22px 70px rgba(15,23,42,.22);
}

.lux-video-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;
    transition:.25s ease;
}

.lux-video-thumb:hover img{
    transform:scale(1.05);
}

.lux-video-thumb span{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:86px;
    height:86px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:46px;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.30);
    backdrop-filter:blur(18px);
}

.lux-video-copy h2{
    font-size:clamp(2rem,4vw,3.9rem);
    font-weight:1000;
    letter-spacing:-.055em;
    line-height:.98;
}

.lux-video-copy p{
    color:var(--muted);
    line-height:1.75;
    margin:18px 0 24px;
}

.lux-trust{
    background:
        radial-gradient(700px 360px at 12% 0%, rgba(236,72,153,.10), transparent 60%),
        linear-gradient(180deg,#f8fafc,#fff);
}

.lux-review-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.lux-review{
    padding:30px;
    border-radius:32px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:var(--shadow);
    transition:.22s ease;
}

.lux-review:hover{
    transform:translateY(-8px);
}

.stars{
    color:var(--gold);
    letter-spacing:2px;
    font-weight:1000;
    margin-bottom:18px;
}

.lux-review p{
    color:rgba(15,23,42,.78);
    line-height:1.75;
    margin:0 0 18px;
}

.lux-review b{
    font-weight:1000;
}

.lux-gallery{
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(124,58,237,.10), transparent 60%),
        linear-gradient(180deg,#fff,#f6f3ff);
}

.lux-gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.lux-gallery-item{
    position:relative;
    overflow:hidden;
    border:0;
    padding:0;
    min-height:260px;
    border-radius:30px;
    background:#111827;
    box-shadow:0 20px 60px rgba(15,23,42,.16);
    transition:.22s ease;
}

.lux-gallery-item.big{
    grid-column:span 2;
    grid-row:span 2;
    min-height:536px;
}

.lux-gallery-item:hover{
    transform:translateY(-7px);
}

.lux-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
    inset:0;
    transition:.25s ease;
}

.lux-gallery-item:hover img{
    transform:scale(1.05);
}

.lux-gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, transparent, rgba(2,6,23,.62));
}

.lux-gallery-item span,
.lux-gallery-item small{
    position:absolute;
    left:18px;
    right:18px;
    bottom:16px;
    z-index:2;
    color:#fff;
    text-align:left;
    font-weight:1000;
    font-size:1.1rem;
}

.lux-gallery-item small{
    display:inline-flex;
    width:max-content;
    right:auto;
    top:14px;
    bottom:auto;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(255,255,255,.86);
    color:#111827;
    font-size:.82rem;
}

.lux-final{
    background:
        radial-gradient(800px 400px at 20% 0%, rgba(124,58,237,.28), transparent 60%),
        radial-gradient(700px 360px at 85% 10%, rgba(236,72,153,.20), transparent 60%),
        linear-gradient(180deg,#050510,#0b0a1a);
}

.lux-final-box{
    max-width:920px;
    margin:auto;
    text-align:center;
    padding:76px 30px;
    border-radius:48px;
    color:#fff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    backdrop-filter:blur(24px);
    box-shadow:var(--shadow-dark);
}

.lux-final-box span{
    display:inline-flex;
    margin-bottom:14px;
    color:#e9d5ff;
    font-weight:900;
}

.lux-final-box h2{
    font-size:clamp(2.5rem,5vw,5.4rem);
    font-weight:1000;
    letter-spacing:-.075em;
    line-height:.9;
    margin:0;
}

.lux-final-box p{
    max-width:620px;
    margin:20px auto 28px;
    color:rgba(255,255,255,.72);
    line-height:1.75;
}

.lux-footer{
    padding:82px 0 28px;
    color:#fff;
    background:#050510;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}

.footer-brand img{
    width:52px;
    height:52px;
    object-fit:contain;
}

.footer-brand b{
    display:block;
    font-size:20px;
    font-weight:1000;
}

.footer-brand span{
    color:rgba(255,255,255,.58);
    font-size:13px;
}

.lux-footer p{
    color:rgba(255,255,255,.62);
    line-height:1.75;
}

.lux-footer h4,
.lux-footer .footer-heading{
    color:#fff;
    font-weight:1000;
    font-size:16px;
    margin-bottom:16px;
}

.lux-footer a{
    display:flex;
    align-items:center;
    gap:8px;
    color:rgba(255,255,255,.66);
    margin-bottom:10px;
    transition:.18s ease;
}

.lux-footer a:hover{
    color:#fff;
    transform:translateX(3px);
}

.lux-footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:50px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.48);
}

.lux-footer-bottom a{
    margin:0;
}

.lux-signup{
    border:0;
    border-radius:32px;
    overflow:hidden;
    box-shadow:0 30px 100px rgba(15,23,42,.32);
}

.lux-signup .modal-header{
    padding:22px 24px;
    background:
        radial-gradient(420px 180px at 20% 0%, rgba(236,72,153,.30), transparent 60%),
        linear-gradient(135deg,var(--purple),var(--pink));
    color:#fff;
    border:0;
}

.lux-signup .modal-header .text-secondary{
    color:rgba(255,255,255,.80)!important;
}

.lux-signup .modal-body{
    padding:24px;
}

.lux-signup .form-control,
.lux-signup .form-select{
    border-radius:16px;
    padding:.9rem 1rem;
    border:1px solid rgba(15,23,42,.12);
}

.lux-signup .form-control:focus,
.lux-signup .form-select:focus{
    border-color:rgba(124,58,237,.45);
    box-shadow:0 0 0 .22rem rgba(124,58,237,.12);
}

.modal-helper{
    background:rgba(124,58,237,.07);
    border:1px solid rgba(124,58,237,.14);
    border-radius:16px;
    padding:13px 14px;
    color:rgba(15,23,42,.72);
    font-weight:650;
    line-height:1.6;
}

.hp-field{
    position:absolute!important;
    left:-9999px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}

.lux-image-modal,
.lux-video-modal{
    position:relative;
    border:0;
    border-radius:28px;
    overflow:hidden;
    background:#020617;
    box-shadow:0 30px 120px rgba(0,0,0,.55);
}

.lux-image-modal img{
    display:block;
    width:100%;
    max-height:86vh;
    object-fit:contain;
    background:#020617;
}

.lux-close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:10;
    width:42px;
    height:42px;
    border:0;
    border-radius:999px;
    color:#111827;
    background:rgba(255,255,255,.92);
    font-size:26px;
    line-height:1;
}

.lead-toast{
    border:0!important;
    border-radius:20px!important;
    overflow:hidden;
    background:linear-gradient(135deg,var(--purple),var(--pink))!important;
    color:#fff;
    box-shadow:0 24px 90px rgba(0,0,0,.28);
}

.toast-ico{
    width:42px;
    height:42px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.18);
    margin-right:12px;
}

.toast-sub{
    display:block;
    margin-top:4px;
    color:rgba(255,255,255,.84);
    font-weight:600;
    font-size:.92rem;
}

/* Faqat JS yoqilganda yashiriladi — aks holda kontent ko'rinmay qolardi */
.js-reveal .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .75s ease, transform .75s ease;
}

.js-reveal .reveal.show{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:1199.98px){
    .lux-feature-row{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .lux-gallery-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:991.98px){
    .lux-nav{
        padding:10px 0;
    }

    .lux-nav-inner{
        border-radius:24px;
        flex-wrap:wrap;
    }

    .navbar-collapse{
        width:100%;
        margin-top:14px;
    }

    .lux-menu{
        flex-direction:column;
        align-items:stretch;
    }

    .lux-menu a{
        background:rgba(15,23,42,.04);
    }

    .lux-btn-sm{
        width:100%;
        margin-top:12px;
    }

    .lux-hero{
        padding-top:135px;
    }

    .lux-hero::after{
        background:
            radial-gradient(720px 440px at 18% 20%, rgba(124,58,237,.50), transparent 60%),
            linear-gradient(180deg, rgba(5,5,16,.94), rgba(5,5,16,.70));
    }

    .lux-collage{
        min-height:440px;
        margin-top:16px;
    }

    .photo-main{
        width:78%;
        height:330px;
    }

    .photo-top{
        height:180px;
    }

    .photo-bottom{
        height:190px;
    }

    .lux-video-wrap{
        grid-template-columns:1fr;
    }
}

@media(max-width:767.98px){
    .lux-hero-title{
        font-size:2.8rem;
        letter-spacing:-.055em;
    }

    .lux-hero-text{
        font-size:1rem;
    }

    .lux-section{
        padding:78px 0;
    }

    .lux-feature-row,
    .lux-review-grid,
    .lux-gallery-grid{
        grid-template-columns:1fr;
    }

    .lux-gallery-item.big{
        grid-column:auto;
        grid-row:auto;
        min-height:320px;
    }

    .lux-gallery-item{
        min-height:280px;
    }

    .lux-collage{
        min-height:400px;
    }

    .photo-main{
        width:82%;
        height:285px;
    }

    .photo-top{
        width:46%;
        height:150px;
    }

    .photo-bottom{
        height:165px;
    }

    .lux-note{
        width:220px;
        padding:15px;
    }

    .lux-final-box{
        padding:52px 22px;
        border-radius:34px;
    }
}

/* ---------- Accessibility & responsive polish ---------- */
.lux-skip-link{
    position:fixed;
    left:16px;
    top:12px;
    z-index:2000;
    padding:12px 18px;
    border-radius:14px;
    background:#fff;
    color:var(--ink);
    font-weight:900;
    box-shadow:var(--shadow);
    transform:translateY(-180%);
    transition:transform .18s ease;
}

.lux-skip-link:focus{
    transform:none;
    color:var(--ink);
}

main:focus{
    outline:none;
}

:where(a,button,summary,[tabindex]:not([tabindex="-1"])):focus-visible{
    outline:3px solid var(--purple);
    outline-offset:3px;
}

:where(.lux-hero,.lux-dark,.lux-final,.lux-footer,.lux-video-modal) :where(a,button):focus-visible{
    outline-color:#f0abfc;
}

.lux-section-head h2,
.lux-hero-title,
.lux-video-copy h2,
.lux-final-box h2{
    text-wrap:balance;
    overflow-wrap:break-word;
}

.lux-review{
    margin:0;
}

.lux-review blockquote{
    margin:0;
}

/* Pastki o'ngdagi chat tugmasi "Back to top" ustiga tushmasin */
.lux-footer{
    padding-bottom:104px;
}

@media(hover:none){
    .lux-feature-card:hover,
    .lux-review:hover,
    .lux-video-thumb:hover img,
    .lux-footer a:hover{
        transform:none;
    }
}

@media(max-width:991.98px){
    /* g-5 ning manfiy chetlari konteyner padding'idan katta bo'lib, gorizontal skroll berardi */
    .row.g-5{
        --bs-gutter-x:1.5rem;
    }
}

@media(max-width:767.98px){
    .container{
        --bs-gutter-x:2.5rem;
    }

    .lux-hero-title{
        font-size:clamp(2.35rem,11vw,2.8rem);
        line-height:.98;
        letter-spacing:-.045em;
    }

    .lux-section-head h2,
    .lux-video-copy h2{
        font-size:clamp(1.9rem,8.6vw,2.3rem);
        line-height:1.04;
        letter-spacing:-.04em;
    }

    .lux-final-box h2{
        font-size:clamp(2.1rem,10vw,2.6rem);
        line-height:1;
        letter-spacing:-.045em;
    }

    .lux-section-head{
        margin-bottom:34px;
    }

    .lux-actions > .lux-btn,
    .lux-actions > .lux-btn-ghost{
        flex:1 1 100%;
        justify-content:center;
    }

    .lux-metrics{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
    }

    .lux-metrics div{
        min-width:0;
        padding:12px 10px;
        border-radius:18px;
    }

    .lux-metrics strong{
        font-size:19px;
    }

    .lux-metrics span{
        font-size:11px;
    }

    .lux-feature-card{
        min-height:0;
        padding:24px;
        border-radius:26px;
    }

    .lux-review{
        padding:24px;
        border-radius:26px;
    }

    .lux-footer{
        padding-top:64px;
    }
}

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
    }

    .js-reveal .reveal{
        opacity:1;
        transform:none;
    }

    .lux-hero-slide.active{
        transform:none;
    }
}
/*
|----------------------------------------------------------------
| Navigation — to'liq kenglikdagi, tepaga yopishgan bar
|
| Hero ustida: shaffof fon, oq matn, yupqa chiziq.
| Pastga siljiganda: oq fon, to'q matn, yengil soya.
| Gradient, radial dog' va ko'p qatlamli soya ishlatilmaydi.
|----------------------------------------------------------------
*/

:root {
    --rg-nav-h: 78px;
    --rg-nav-h-scrolled: 66px;

    --rg-on-dark: #ffffff;
    --rg-on-dark-soft: rgba(255, 255, 255, .74);
    --rg-on-dark-hover: rgba(255, 255, 255, .12);
    --rg-on-dark-line: rgba(255, 255, 255, .14);

    --rg-on-light: #241c31;
    --rg-on-light-soft: rgba(36, 28, 49, .66);
    --rg-on-light-hover: rgba(26, 18, 43, .06);
    --rg-on-light-line: rgba(26, 18, 43, .10);

    --rg-accent: #7540dd;
    --rg-accent-hover: #6634c9;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    overflow-x: hidden;
}

/* ---- Karkas ---- */

.rg-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    border-bottom: 1px solid var(--rg-on-dark-line);
    background: transparent;
    transition:
        background .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

/* Siljiganda yoki mobil menyu ochilganda — oq holat */
.rg-nav.is-scrolled {
    border-bottom-color: var(--rg-on-light-line);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 3px rgba(20, 12, 40, .07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Mobil menyu ochilganda ham oq holat.
   :has() alohida qoidada — qo'llab-quvvatlamaydigan brauzerda
   yuqoridagi qoida baribir ishlayveradi. */
.rg-nav:has(.rg-mobile-panel.is-open) {
    border-bottom-color: var(--rg-on-light-line);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 3px rgba(20, 12, 40, .07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.rg-nav-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.rg-nav-glass {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--rg-nav-h);
    transition: min-height .28s ease;
}

.rg-nav.is-scrolled .rg-nav-glass {
    min-height: var(--rg-nav-h-scrolled);
}

/* ---- Brend ---- */

.rg-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--rg-on-dark);
    text-decoration: none;
}

.rg-brand:hover {
    color: var(--rg-on-dark);
}

.rg-brand-logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border: 1px solid var(--rg-on-dark-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    transition:
        background .28s ease,
        border-color .28s ease;
}

.rg-brand-logo img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.rg-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.rg-brand-copy strong {
    color: var(--rg-on-dark);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.1;
    transition: color .28s ease;
}

.rg-brand-copy span {
    color: var(--rg-on-dark-soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color .28s ease;
}

/* ---- Menyu ---- */

.rg-nav-center {
    display: flex;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.rg-menu {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.rg-menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 10px;
    color: var(--rg-on-dark-soft);
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition:
        color .2s ease,
        background .2s ease;
}

.rg-menu-link:hover {
    color: var(--rg-on-dark);
    background: var(--rg-on-dark-hover);
}

.rg-menu-link.is-active {
    color: var(--rg-on-dark);
    font-weight: 600;
}

/* Faol bo'lim ostidagi chiziqcha */
.rg-menu-link.is-active::after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

/* ---- Amal tugmasi ---- */

.rg-nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.rg-trial-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--rg-accent);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(117, 64, 221, .34);
    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.rg-trial-button:hover {
    background: var(--rg-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(117, 64, 221, .40);
}

.rg-trial-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(117, 64, 221, .28);
}

.rg-trial-button i {
    font-size: 15px;
}

/* ---- Oq holatdagi ranglar ---- */

.rg-nav.is-scrolled .rg-brand,
.rg-nav.is-scrolled .rg-brand:hover,
.rg-nav.is-scrolled .rg-brand-copy strong {
    color: var(--rg-on-light);
}

.rg-nav.is-scrolled .rg-brand-copy span {
    color: var(--rg-on-light-soft);
}

.rg-nav.is-scrolled .rg-brand-logo {
    border-color: var(--rg-on-light-line);
    background: #fff;
}

.rg-nav:has(.rg-mobile-panel.is-open) .rg-brand-copy strong {
    color: var(--rg-on-light);
}

.rg-nav:has(.rg-mobile-panel.is-open) .rg-brand-copy span {
    color: var(--rg-on-light-soft);
}

.rg-nav:has(.rg-mobile-panel.is-open) .rg-brand-logo {
    border-color: var(--rg-on-light-line);
    background: #fff;
}

.rg-nav.is-scrolled .rg-menu-link {
    color: var(--rg-on-light-soft);
}

.rg-nav.is-scrolled .rg-menu-link:hover {
    color: var(--rg-on-light);
    background: var(--rg-on-light-hover);
}

.rg-nav.is-scrolled .rg-menu-link.is-active {
    color: var(--rg-accent);
}

.rg-nav.is-scrolled .rg-mobile-toggle {
    border-color: var(--rg-on-light-line);
    background: #fff;
    color: var(--rg-on-light);
}

.rg-nav:has(.rg-mobile-panel.is-open) .rg-mobile-toggle {
    border-color: var(--rg-on-light-line);
    background: #fff;
    color: var(--rg-on-light);
}

/* ---- Mobil tugma va panel ---- */

.rg-mobile-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--rg-on-dark-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    color: var(--rg-on-dark);
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.rg-mobile-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(117, 64, 221, .22);
}

.rg-mobile-toggle i {
    font-size: 24px;
}

.rg-mobile-panel {
    display: none;
}

/* ---- Moslashuvchanlik ---- */

@media (max-width: 1199.98px) {
    .rg-nav-container {
        width: calc(100% - 36px);
    }

    .rg-menu-link {
        padding: 0 12px;
        font-size: 14px;
    }

    .rg-brand-copy span {
        display: none;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 80px;
    }

    :root {
        --rg-nav-h: 66px;
        --rg-nav-h-scrolled: 60px;
    }

    .rg-nav-container {
        width: calc(100% - 28px);
    }

    .rg-brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
    }

    .rg-brand-copy strong {
        font-size: 15px;
    }

    .rg-nav-center,
    .rg-nav-actions {
        display: none;
    }

    .rg-mobile-toggle {
        display: grid;
    }

    .rg-mobile-panel {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        display: block;
        width: 100vw;
        padding: 12px 14px 18px;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform-origin: top;
        border-bottom: 1px solid var(--rg-on-light-line);
        background: #fff;
        box-shadow: 0 12px 28px rgba(20, 12, 40, .12);
        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .2s ease;
    }

    .rg-mobile-panel.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .rg-mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .rg-mobile-menu .rg-menu-link {
        justify-content: flex-start;
        min-height: 48px;
        padding: 0 14px;
        color: var(--rg-on-light-soft);
        font-size: 15px;
    }

    .rg-mobile-menu .rg-menu-link:hover {
        color: var(--rg-on-light);
        background: var(--rg-on-light-hover);
    }

    .rg-mobile-menu .rg-menu-link.is-active {
        color: var(--rg-accent);
    }

    .rg-mobile-menu .rg-menu-link.is-active::after {
        display: none;
    }

    .rg-mobile-trial {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .rg-nav-container {
        width: calc(100% - 20px);
    }

    .rg-mobile-panel {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rg-brand-copy strong {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/*
|----------------------------------------------------------------
| Ichki sahifalar uchun doimiy oq holat
|
| Landing sahifada hero to'q, shuning uchun nav shaffof boshlanadi.
| Schedule / Summer / Events sahifalarida esa tepasi oq — u yerda
| nav darhol oq holatda turishi kerak: <nav class="rg-nav is-solid">
|----------------------------------------------------------------
*/

.rg-nav.is-solid {
    border-bottom-color: var(--rg-on-light-line);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 3px rgba(20, 12, 40, .07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.rg-nav.is-solid .rg-brand,
.rg-nav.is-solid .rg-brand:hover,
.rg-nav.is-solid .rg-brand-copy strong {
    color: var(--rg-on-light);
}

.rg-nav.is-solid .rg-brand-copy span {
    color: var(--rg-on-light-soft);
}

.rg-nav.is-solid .rg-brand-logo {
    border-color: var(--rg-on-light-line);
    background: #fff;
}

.rg-nav.is-solid .rg-menu-link {
    color: var(--rg-on-light-soft);
}

.rg-nav.is-solid .rg-menu-link:hover {
    color: var(--rg-on-light);
    background: var(--rg-on-light-hover);
}

.rg-nav.is-solid .rg-menu-link.is-active {
    color: var(--rg-accent);
}

.rg-nav.is-solid .rg-mobile-toggle {
    border-color: var(--rg-on-light-line);
    background: #fff;
    color: var(--rg-on-light);
}

/*
| Nav `position: fixed` bo'lgani uchun ichki sahifalarda kontent
| uning ostiga kirib ketmasligi kerak — shu bo'shliq buni ushlab turadi.
*/

.rg-nav-spacer {
    height: var(--rg-nav-h);
}

@media (max-width: 991.98px) {
    .rg-nav-spacer {
        height: var(--rg-nav-h);
    }
}
/* =========================================================
   RGNH gallery — bosh sahifa bloki, /gallery sahifasi, lightbox
   rgnh-luxury.css tokenlaridan foydalanadi (--purple, --pink, --ink)
   ========================================================= */

.rg-gal{
    --gal-gap:14px;
    --gal-row:190px;
    --gal-radius:22px;
    position:relative;
}

/* ---------- Kategoriya filtri ---------- */

.rg-gal-filters{
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap:wrap;
    margin:0 auto 28px;
}

.rg-gal-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 16px;
    border-radius:999px;
    border:1px solid rgba(124,58,237,.16);
    background:rgba(255,255,255,.82);
    color:#3b2a63;
    font-weight:800;
    font-size:14px;
    line-height:1.2;
    white-space:nowrap;
    transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.rg-gal-chip span{
    min-width:22px;
    padding:2px 7px;
    border-radius:999px;
    background:rgba(124,58,237,.10);
    color:#6d28d9;
    font-size:12px;
    font-weight:900;
    text-align:center;
}

.rg-gal-chip:hover{
    color:#3b2a63;
    border-color:rgba(124,58,237,.38);
    transform:translateY(-1px);
}

.rg-gal-chip.is-active{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(135deg,var(--purple,#7c3aed),var(--pink,#ec4899));
    box-shadow:0 12px 30px rgba(124,58,237,.26);
}

.rg-gal-chip.is-active span{
    background:rgba(255,255,255,.22);
    color:#fff;
}

.rg-gal-chip:focus-visible,
.rg-gal-btn:focus-visible,
.rg-gal-card:focus-visible{
    outline:3px solid rgba(124,58,237,.55);
    outline-offset:3px;
}

/* ---------- Grid ---------- */

.rg-gal-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:var(--gal-row);
    grid-auto-flow:dense;
    gap:var(--gal-gap);
    transition:opacity .2s ease;
}

.rg-gal-grid[aria-busy="true"]{
    opacity:.55;
    pointer-events:none;
}

.rg-gal-card{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:var(--gal-radius);
    background:linear-gradient(135deg,#ede9fe,#fce7f3);
    color:#fff;
    isolation:isolate;
    box-shadow:0 14px 40px rgba(15,23,42,.10);
    cursor:zoom-in;
    animation:rgGalIn .5s cubic-bezier(.2,.7,.2,1) both;
}

.rg-gal-card.is-tall{ grid-row:span 2; }
.rg-gal-card.is-wide{ grid-column:span 2; }
.rg-gal-card.is-featured{ grid-column:span 2; grid-row:span 2; }
.rg-gal-card.is-video{ cursor:pointer; }

.rg-gal-media,
.rg-gal-media img,
.rg-gal-placeholder{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}

.rg-gal-media img{
    object-fit:cover;
    opacity:0;
    transform:scale(1.04);
    transition:opacity .45s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.rg-gal-media img.is-loaded{
    opacity:1;
    transform:scale(1);
}

.rg-gal-card:hover .rg-gal-media img.is-loaded{
    transform:scale(1.05);
}

.rg-gal-placeholder{
    display:grid;
    place-items:center;
    font-size:2.4rem;
    color:rgba(109,40,217,.45);
}

/* Pastki qoraytirish — sarlavha o'qilishi uchun */
.rg-gal-card::after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:62%;
    background:linear-gradient(180deg,transparent,rgba(8,8,22,.72));
    opacity:.85;
    z-index:1;
    pointer-events:none;
    transition:opacity .25s ease;
}

.rg-gal-caption{
    position:absolute;
    left:16px;
    right:16px;
    bottom:14px;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:3px;
    transform:translateY(4px);
    transition:transform .25s ease;
}

.rg-gal-caption small{
    font-size:12px;
    font-weight:700;
    color:rgba(255,255,255,.78);
    letter-spacing:.01em;
}

.rg-gal-caption strong{
    font-size:15px;
    font-weight:850;
    line-height:1.25;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.rg-gal-card.is-featured .rg-gal-caption strong{ font-size:19px; }

.rg-gal-card:hover .rg-gal-caption{ transform:translateY(0); }

/* Captionsiz kartada qoraytirish kerak emas */
.rg-gal-card:not(:has(.rg-gal-caption)):not(.is-video)::after{ opacity:0; }

/* ---------- Video belgilari ---------- */

.rg-gal-play{
    position:absolute;
    top:50%;
    left:50%;
    z-index:2;
    width:62px;
    height:62px;
    margin:-31px 0 0 -31px;
    display:grid;
    place-items:center;
    border-radius:50%;
    font-size:30px;
    color:#fff;
    background:rgba(255,255,255,.20);
    border:1px solid rgba(255,255,255,.45);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    box-shadow:0 14px 40px rgba(0,0,0,.28);
    transition:transform .25s ease, background .25s ease;
}

.rg-gal-play i{ margin-left:3px; }

.rg-gal-card:hover .rg-gal-play{
    transform:scale(1.08);
    background:linear-gradient(135deg,var(--purple,#7c3aed),var(--pink,#ec4899));
}

.rg-gal-badge{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:850;
    color:#fff;
    background:rgba(8,8,22,.58);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
}

/* ---------- Skelet (yuklanayotganda) ---------- */

.rg-gal-skeleton{
    border-radius:var(--gal-radius);
    background:linear-gradient(100deg,#f1edff 30%,#faf8ff 50%,#f1edff 70%);
    background-size:300% 100%;
    animation:rgGalShimmer 1.3s linear infinite;
}

/* ---------- Holatlar ---------- */

.rg-gal-state{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    max-width:460px;
    margin:12px auto 0;
    padding:44px 24px;
    text-align:center;
    border-radius:26px;
    border:1px dashed rgba(124,58,237,.24);
    background:rgba(255,255,255,.72);
    color:var(--muted,#64748b);
}

.rg-gal-state[hidden]{ display:none; }

.rg-gal-state i{
    font-size:2rem;
    color:#8b5cf6;
    margin-bottom:4px;
}

.rg-gal-state strong{
    font-size:1.15rem;
    font-weight:900;
    color:var(--ink,#080816);
}

.rg-gal-state .rg-gal-btn{ margin-top:12px; }

.rg-gal-state.is-error i{ color:#e11d48; }

/* ---------- Tugmalar ---------- */

.rg-gal-footer{
    display:flex;
    justify-content:center;
    margin-top:34px;
}

.rg-gal-footer:empty{ display:none; }

.rg-gal-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:13px 24px;
    border:0;
    border-radius:999px;
    color:#fff;
    font-weight:900;
    font-size:15px;
    background:linear-gradient(135deg,var(--purple,#7c3aed),var(--pink,#ec4899));
    box-shadow:0 18px 44px rgba(124,58,237,.26);
    transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.rg-gal-btn:hover{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 22px 52px rgba(124,58,237,.32);
}

.rg-gal-btn[hidden]{ display:none; }

.rg-gal-btn.is-ghost{
    color:#5b21b6;
    background:rgba(124,58,237,.08);
    box-shadow:none;
}

.rg-gal-btn.is-ghost:hover{ color:#5b21b6; background:rgba(124,58,237,.14); }

.rg-gal-btn.is-loading{
    opacity:.75;
    pointer-events:none;
}

.rg-gal-btn.is-loading i{ animation:rgGalSpin .8s linear infinite; }
.rg-gal-btn.is-loading i::before{ content:"\F130"; } /* bi-arrow-repeat */

/* ---------- /gallery sahifasi ---------- */

.rg-gal-page-section{
    min-height:70vh;
    padding-top:150px;
}

.rg-gal-page-title{
    margin:0;
    font-size:clamp(2.3rem,5vw,4.6rem);
    line-height:.95;
    letter-spacing:-.06em;
    font-weight:1000;
}

/* =========================================================
   Lightbox
   ========================================================= */

.rg-lb{
    position:fixed;
    inset:0;
    z-index:2000;
    display:grid;
    grid-template-columns:72px minmax(0,1fr) 72px;
    grid-template-rows:auto minmax(0,1fr) auto;
    background:rgba(6,5,16,.94);
    color:#fff;
    opacity:0;
    transition:opacity .22s ease;
    overscroll-behavior:contain;
}

.rg-lb[hidden]{ display:none; }
.rg-lb.is-open{ opacity:1; }

.rg-lb-top{
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px 6px 22px;
}

.rg-lb-counter{
    font-size:14px;
    font-weight:800;
    color:rgba(255,255,255,.72);
    font-variant-numeric:tabular-nums;
}

.rg-lb-btn{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:20px;
    transition:background .18s ease, transform .18s ease, opacity .18s ease;
}

.rg-lb-btn:hover{ background:rgba(255,255,255,.18); }
.rg-lb-btn:focus-visible{ outline:3px solid rgba(236,72,153,.7); outline-offset:2px; }
.rg-lb-btn:disabled{ opacity:.25; pointer-events:none; }

.rg-lb-nav{
    align-self:center;
    justify-self:center;
    grid-row:2;
}

.rg-lb-nav.is-prev{ grid-column:1; }
.rg-lb-nav.is-next{ grid-column:3; }

.rg-lb-stage{
    grid-column:2;
    grid-row:2;
    position:relative;
    margin:0;
    display:grid;
    place-items:center;
    min-height:0;
    overflow:hidden;
    touch-action:pan-y;
}

.rg-lb-media{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:0;
}

.rg-lb-media img,
.rg-lb-media video{
    max-width:100%;
    max-height:100%;
    border-radius:14px;
    box-shadow:0 30px 90px rgba(0,0,0,.5);
    animation:rgLbIn .3s ease both;
}

.rg-lb-media img{
    object-fit:contain;
    user-select:none;
    -webkit-user-drag:none;
}

.rg-lb-media video{
    width:auto;
    background:#000;
}

.rg-lb-error{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,.75);
    text-align:center;
}

.rg-lb-error i{ font-size:2rem; color:#fb7185; }
.rg-lb-error a{ color:#f9a8d4; font-weight:800; }

.rg-lb-spinner{
    position:absolute;
    top:50%;
    left:50%;
    width:42px;
    height:42px;
    margin:-21px 0 0 -21px;
    border-radius:50%;
    border:3px solid rgba(255,255,255,.18);
    border-top-color:#f472b6;
    animation:rgGalSpin .8s linear infinite;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
}

.rg-lb.is-loading .rg-lb-spinner{ opacity:1; }

.rg-lb-caption{
    grid-column:1 / -1;
    grid-row:3;
    max-width:760px;
    width:100%;
    margin:0 auto;
    padding:14px 22px 22px;
    text-align:center;
}

.rg-lb-caption:empty,
.rg-lb-caption.is-empty{ padding-bottom:10px; }

.rg-lb-meta{
    font-size:13px;
    font-weight:700;
    color:rgba(255,255,255,.6);
}

.rg-lb-meta:empty{ display:none; }

.rg-lb-caption h3{
    margin:4px 0 0;
    font-size:1.15rem;
    font-weight:850;
    letter-spacing:-.01em;
}

.rg-lb-caption h3:empty{ display:none; }

.rg-lb-caption p{
    margin:6px 0 0;
    max-height:4.8em;
    overflow:auto;
    font-size:.95rem;
    line-height:1.6;
    color:rgba(255,255,255,.74);
}

.rg-lb-caption p:empty{ display:none; }

body.rg-lb-locked{ overflow:hidden; }

/* ---------- Animatsiyalar ---------- */

@keyframes rgGalIn{
    from{ opacity:0; transform:translateY(14px); }
    to{ opacity:1; transform:none; }
}

@keyframes rgLbIn{
    from{ opacity:0; transform:scale(.97); }
    to{ opacity:1; transform:none; }
}

@keyframes rgGalShimmer{
    from{ background-position:100% 0; }
    to{ background-position:-100% 0; }
}

@keyframes rgGalSpin{
    to{ transform:rotate(360deg); }
}

/* ---------- Moslashuvchanlik ---------- */

@media (max-width: 991.98px){
    .rg-gal{ --gal-row:170px; }
    .rg-gal-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 767.98px){
    .rg-gal{ --gal-row:150px; --gal-gap:10px; --gal-radius:18px; }
    .rg-gal-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }

    /* Telefonda filtr gorizontal aylantiriladi */
    .rg-gal-filters{
        flex-wrap:nowrap;
        justify-content:flex-start;
        overflow-x:auto;
        margin-left:-12px;
        margin-right:-12px;
        padding:2px 12px 6px;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    .rg-gal-filters::-webkit-scrollbar{ display:none; }

    .rg-gal-caption{ left:12px; right:12px; bottom:10px; }
    .rg-gal-caption strong{ font-size:13.5px; }
    .rg-gal-caption small{ font-size:11px; }
    .rg-gal-card.is-featured .rg-gal-caption strong{ font-size:16px; }
    .rg-gal-play{ width:50px; height:50px; margin:-25px 0 0 -25px; font-size:24px; }

    .rg-gal-page-section{ padding-top:120px; }

    .rg-lb{ grid-template-columns:0 minmax(0,1fr) 0; }

    .rg-lb-nav{
        position:absolute;
        top:50%;
        width:42px;
        height:42px;
        margin-top:-21px;
        z-index:3;
        background:rgba(0,0,0,.35);
    }

    .rg-lb-nav.is-prev{ left:8px; }
    .rg-lb-nav.is-next{ right:8px; }

    .rg-lb-media img,
    .rg-lb-media video{ border-radius:0; }

    .rg-lb-caption{ padding:12px 16px calc(16px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px){
    .rg-gal{ --gal-row:128px; }
}

@media (hover: none){
    .rg-gal-card:hover .rg-gal-media img.is-loaded{ transform:none; }
}

@media (prefers-reduced-motion: reduce){
    .rg-gal-card,
    .rg-lb-media img,
    .rg-lb-media video{ animation:none; }

    .rg-gal-media img,
    .rg-gal-chip,
    .rg-gal-btn,
    .rg-lb{ transition:none; }

    .rg-gal-media img{ transform:none; }
    .rg-gal-skeleton{ animation:none; }
}

/* =========================================================
   Bosh sahifa: "bento" tartib (1 katta + 4 kichik).
   Kartaning shakli (tall/wide) bu yerda e'tiborga olinmaydi —
   joylashuv faqat soniga qarab quriladi, shuning uchun teshik qolmaydi.
   ========================================================= */

.rg-gal-grid.is-home{
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:240px;
    grid-auto-flow:row;
}

.rg-gal-grid.is-home > .rg-gal-card{
    grid-column:span 1;
    grid-row:span 1;
}

/* Birinchisi doim katta */
.rg-gal-grid.is-home > .rg-gal-card:first-child{
    grid-column:span 2;
    grid-row:span 2;
}

/* 1 ta: butun kenglik */
.rg-gal-grid.is-home > .rg-gal-card:first-child:last-child{
    grid-column:1 / -1;
}

/* 2 ta: ikkalasi yarmidan */
.rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(2) ~ .rg-gal-card{
    grid-column:span 2;
    grid-row:span 2;
}

/* 3 ta: katta + o'ngda ikkita keng */
.rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(3) ~ .rg-gal-card{
    grid-column:span 2;
}

/* 4 ta: katta + keng + ikkita kichik */
.rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(4) + .rg-gal-card{
    grid-column:span 2;
}

/* Kichik kartalarda yozuv faqat hover'da — toza ko'rinish */
.rg-gal-grid.is-home > .rg-gal-card:not(:first-child) .rg-gal-caption{
    opacity:0;
    transform:translateY(6px);
    transition:opacity .25s ease, transform .25s ease;
}

.rg-gal-grid.is-home > .rg-gal-card:not(:first-child)::after{
    opacity:0;
    transition:opacity .25s ease;
}

.rg-gal-grid.is-home > .rg-gal-card:hover .rg-gal-caption,
.rg-gal-grid.is-home > .rg-gal-card:focus-visible .rg-gal-caption{
    opacity:1;
    transform:none;
}

.rg-gal-grid.is-home > .rg-gal-card:hover::after,
.rg-gal-grid.is-home > .rg-gal-card:focus-visible::after{
    opacity:1;
}

.rg-gal-grid.is-home > .rg-gal-card:first-child .rg-gal-caption strong{
    font-size:20px;
}

@media (max-width: 991.98px){
    .rg-gal-grid.is-home{ grid-auto-rows:190px; }
}

/* Telefon: 2 ustun, katta karta tepada butun kenglikda */
@media (max-width: 767.98px){
    .rg-gal-grid.is-home{
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-auto-rows:150px;
    }

    .rg-gal-grid.is-home > .rg-gal-card:first-child{
        grid-column:1 / -1;
        grid-row:span 2;
    }

    .rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(2) ~ .rg-gal-card,
    .rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(3) ~ .rg-gal-card{
        grid-column:span 1;
        grid-row:span 1;
    }

    .rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(2) ~ .rg-gal-card{
        grid-column:1 / -1;
        grid-row:span 2;
    }

    .rg-gal-grid.is-home > .rg-gal-card:first-child:nth-last-child(4) + .rg-gal-card{
        grid-column:1 / -1;
    }

    .rg-gal-grid.is-home > .rg-gal-card:first-child .rg-gal-caption strong{ font-size:16px; }
}

/* =========================================================
   /gallery sahifasi: umumiy footer to'q fon uchun yasalgan,
   bu sahifa foni esa oq — footerga o'z to'q fonini beramiz.
   ========================================================= */

body.rg-gal-page .footer-pro{
    background:
        radial-gradient(760px 320px at 12% 0%, rgba(124,58,237,.22), transparent 60%),
        radial-gradient(620px 280px at 88% 0%, rgba(236,72,153,.14), transparent 60%),
        linear-gradient(180deg, #110f24, #0b0a18);
    border-top:0;
}

body.rg-gal-page .footer-pro .btn-brand{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:0;
    color:#fff;
    border-radius:999px;
    padding:.82rem 1.2rem;
    font-weight:900;
    background:linear-gradient(135deg,#7c3aed,#ec4899);
    box-shadow:0 18px 44px rgba(124,58,237,.28);
    transition:transform .18s ease, filter .18s ease;
    white-space:nowrap;
}

body.rg-gal-page .footer-pro .btn-brand:hover{
    transform:translateY(-2px);
    filter:saturate(1.08);
}
