
:root {
    --blue: #2E3AA5;
    --blue-dark: #1A2272;
    --blue-deep: #121a5c;
    --orange: #F26A1B;
    --lav: #EEF0FF;
    --line: #CBD0F5;
    --muted: #5C6498;

    --radius: 18px;
    --shadow: 0 12px 32px rgba(46, 58, 165, .14);
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Caveat', cursive;

    /* Bootstrap o'zgaruvchilarini bizning palitraga ulaymiz */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--blue-dark);
    --bs-body-bg: #fff;
    --bs-link-color: var(--blue);
    --bs-link-hover-color: var(--blue-dark);
    --bs-border-color: var(--line);
}

/* ---------- 2. BASE ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

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

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .h5 {
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.01em;
}

img {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    fill: currentColor;
    flex: none;
}

.icon-lg {
    width: 2.4rem;
    height: 2.4rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--blue);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 10px;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    border-radius: 14px;
    padding: .5rem 1.1rem;
}

.btn-lg {
    padding: .9rem 1.7rem;
    font-size: 1.05rem;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--blue-dark);
    --bs-btn-hover-border-color: var(--blue-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--blue-deep);
    --bs-btn-active-border-color: var(--blue-deep);
    --bs-btn-focus-shadow-rgb: 46, 58, 165;
}

/* To'q sariq tugma: matn to'q ko'k (oq matn kontrasti AA talabidan past bo'lardi) */
.btn-accent {
    --bs-btn-color: var(--blue-deep);
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-hover-color: var(--blue-deep);
    --bs-btn-hover-bg: #ff7f37;
    --bs-btn-hover-border-color: #ff7f37;
    --bs-btn-active-color: var(--blue-deep);
    --bs-btn-active-bg: #d95a0f;
    --bs-btn-active-border-color: #d95a0f;
    --bs-btn-focus-shadow-rgb: 242, 106, 27;
    box-shadow: 0 8px 20px rgba(242, 106, 27, .32);
}

.btn-ghost {
    --bs-btn-color: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-border-width: 2px;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--blue);
    --bs-btn-hover-border-color: var(--blue);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--blue-dark);
    --bs-btn-active-border-color: var(--blue-dark);
}

.btn-ghost-sm {
    --bs-btn-color: var(--blue-dark);
    --bs-btn-border-color: var(--line);
    --bs-btn-hover-bg: var(--lav);
    --bs-btn-hover-border-color: var(--line);
    --bs-btn-hover-color: var(--blue);
    --bs-btn-active-bg: var(--lav);
    --bs-btn-active-color: var(--blue);
    --bs-btn-active-border-color: var(--line);
    padding: .7rem .9rem;
}

/* ---------- 4. HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header .nav-link {
    position: relative;
    color: var(--blue-dark);
    font-weight: 600;
    padding-inline: 1rem;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .25rem;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.site-header .nav-link:hover, .site-header .nav-link:focus-visible {
    color: var(--blue);
}

.site-header .nav-link:hover::after, .site-header .nav-link:focus-visible::after {
    transform: scaleX(1);
}

.dropdown-item.active, .dropdown-item:active {
    background: var(--blue);
}

/* ---------- 4b. HEADER: mobil navbar (< 992px) ----------
   [menyu tugmasi]  [logo markazda]  [qo'ng'iroq]; menyu ochilganda pastga tushadi */
.site-header .navbar {
    /* .navbar ning yon paddingi 0 bo'lib, .container paddingini bekor qilgan edi: logo va tugma ekran chetiga yopishardi */
    --bs-navbar-padding-x: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: .5rem;
    }

    .site-header .navbar-toggler {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-color: var(--line);
    }

    .site-header .navbar-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        margin: 0;
    }

    .site-header .nav-call {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
    }

    .site-header .navbar-collapse {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .site-header .navbar-nav {
        padding: .75rem 0 .25rem;
        text-align: center;
    }

    .site-header .navbar-collapse .d-flex {
        justify-content: center;
        padding-bottom: .75rem;
    }

    .site-header .nav-link::after {
        left: 35%;
        right: 35%;
    }
}

/* ---------- 5. SECTIONS (umumiy) ---------- */
.section {
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-title {
    font-size: clamp(1.4rem, 3.6vw, 2.3rem);
    max-width: 22em;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
    color: var(--blue);
}

.section-lav {
    background: var(--lav);
}

.section-dark {
    background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
    color: #fff;
}

.section-dark .section-title {
    color: #fff;
}

.script {
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--orange);
}

/* Ko'rinishga kirganda paydo bo'lish (AOS o'rniga ~0.5 KB) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- 6. HERO (plakat uslubi) ---------- */
.hero {
    background: #fff;
    padding: 28px 0 48px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "photo" "services";
}

.hero-head {
    grid-area: head;
    text-align: center;
}

.hero-photo {
    grid-area: photo;
    position: relative;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
}

.hero-services {
    grid-area: services;
}

.hero-tag {
    color: var(--blue);
    font-weight: 500;
    font-size: .98rem;
    margin-bottom: 12px;
}

.hero-title {
    color: var(--blue);
    font-size: clamp(1.3rem, 5.5vw, 2.2rem);
    margin-bottom: 18px;
}

.hero-pill {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--orange);
    color: var(--blue);
    font-weight: 600;
    font-size: .95rem;
}

/* Arka + iqtibos + ism kartasi */
.arch-wrap {
    position: relative;
}

.arch-wrap::before { /* shaffof rasm ortidagi ko'k arka */
    content: "";
    position: absolute;
    left: 11%;
    right: 11%;
    bottom: 0;
    height: 72%;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #2F3DB0 0%, #1B2579 100%);
}

.arch-wrap img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.hero-quote {
    position: absolute;
    z-index: 3;
    right: -18%;
    top: 1%;
    text-align: left;
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--orange);
    font-size: clamp(1.35rem, 5.4vw, 2rem);
    line-height: 1.05;
    transform: rotate(-6deg);
}

.hero-quote::after {
    content: "";
    display: block;
    height: 3px;
    width: 85%;
    margin: 4px 0 0 10%;
    background: var(--orange);
    border-radius: 3px;
    transform: rotate(-2deg);
}

.namecard {
    position: relative;
    z-index: 2;
    margin: -26px 4% 0;
    padding: 14px 16px 12px;
    text-align: center;
    border-radius: 20px;
    border: 3px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--orange), var(--blue)) border-box;
    box-shadow: 0 10px 28px rgba(46, 58, 165, .15);
}

.namecard strong {
    display: block;
    color: var(--blue);
    font-weight: 800;
    font-size: clamp(1.25rem, 5vw, 1.7rem);
}

.namecard span {
    color: var(--orange);
    font-weight: 600;
    font-size: .92rem;
}

.namecard b {
    font-weight: 800;
}

/* Hero xizmat kartalari */
.hsvc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hsvc {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(46, 58, 165, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hsvc:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(46, 58, 165, .14);
}

.hsvc-ico {
    flex: 0 0 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--lav);
    color: var(--blue);
}

.hsvc-ico .icon {
    width: 1.4rem;
    height: 1.4rem;
}

.hsvc h3 {
    font-size: .95rem;
    margin: 0 0 2px;
    color: var(--blue);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.hsvc p {
    font-size: .78rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.25;
}

.hero-cta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero {
        padding: 64px 0 72px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        column-gap: 56px;
        row-gap: 28px;
        grid-template-areas: "head photo" "services photo";
        align-items: start;
    }

    .hero-photo {
        align-self: center;
        max-width: 520px;
    }

    .hero-head {
        text-align: left;
        align-self: end;
    }

    .hero-tag {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: clamp(2.6rem, 3.6vw, 3.6rem);
    }

    .hero-pill {
        font-size: 1.05rem;
    }

    .hsvc {
        padding: 14px;
    }

    .hsvc h3 {
        font-size: 1.02rem;
    }

    .hsvc p {
        font-size: .85rem;
    }

    .hero-cta {
        justify-content: flex-start;
    }
}

/* ---------- 6a. HERO: mobil va planshet tuzatishlari (< 992px) ---------- */
.hsvc > div:last-child {
    min-width: 0;
}

@media (max-width: 575.98px) {
    /* telefonda xizmat kartalari: ikonka tepada, matn pastda (uzun so'zlar sig'sin) */
    .hsvc {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 359.98px) {
    .hsvc h3 {
        font-size: .85rem;
    }
}

@media (max-width: 991.98px) {
    /* Iqtibos rasmning USTIDA turadi (rasmga chiqib qolmaydi) */
    .hero-photo {
        padding-top: 4.5rem;
    }

    .hero-quote {
        top: auto;
        right: auto;
        bottom: 100%;
        left: 0;
        width: 100%;
        margin-bottom: .5rem;
        text-align: center;
        font-size: clamp(1.45rem, 6vw, 1.8rem);
        transform: rotate(-2deg);
    }

    .hero-quote::after {
        width: 55%;
        margin: 4px auto 0;
    }
}

/* ---------- 6b. VIDEO (Telegram doira uslubida) ---------- */
.video-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 64px 0 72px;
    background: radial-gradient(600px 400px at 85% 15%, rgba(242, 106, 27, .28), transparent 60%),
    radial-gradient(500px 420px at 5% 95%, rgba(90, 110, 255, .35), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    background-image: radial-gradient(#fff 1px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}

.vs-inner {
    position: relative;
    display: grid;
    gap: 40px;
    align-items: center;
}

.vs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    font-weight: 600;
    font-size: .85rem;
}

.vs-eyebrow .icon {
    color: var(--orange);
}

.vs-title {
    font-size: clamp(1.9rem, 5.6vw, 3rem);
    margin-bottom: 14px;
}

.vs-title em {
    font-style: normal;
    color: #FFB27F;
}

.vs-text {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    max-width: 520px;
}

.vs-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 28px;
    display: grid;
    gap: 10px;
    max-width: 420px;
    text-align: left;
}

.vs-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600;
}

.vs-list .icon {
    color: var(--orange);
    font-size: 1.15rem;
    margin-top: .15em;
}

.vs-text-col {
    text-align: center;
}

.vs-text-col .vs-text, .vs-text-col .vs-list {
    margin-left: auto;
    margin-right: auto;
}

.vs-video-col {
    display: grid;
    place-items: center;
    order: -1;
}

.vnote {
    position: relative;
    width: min(82vw, 400px);
    aspect-ratio: 1;
}

.vnote-glow {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    filter: blur(34px);
    background: radial-gradient(circle, rgba(242, 106, 27, .55), transparent 70%);
}

.vnote svg.ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    fill: none;
}

.vnote .track {
    stroke: rgba(255, 255, 255, .22);
    stroke-width: 2;
}

.vnote .prog {
    stroke: var(--orange);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset .25s linear;
}

.vwrap {
    position: absolute;
    inset: 4.2%;
    padding: 0;
    border: 0;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #0b1140;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    -webkit-tap-highlight-color: transparent;
}

.vwrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vplay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(10, 16, 70, .28);
    transition: opacity .25s ease;
}

.vplay span {
    width: 22%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--blue-deep);
    animation: pulse 2s infinite;
}

.vplay .icon {
    width: 55%;
    height: 55%;
    margin-left: 6%;
}

.vwrap.playing .vplay {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 106, 27, .55);
    }
    70% {
        box-shadow: 0 0 0 22px rgba(242, 106, 27, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 106, 27, 0);
    }
}

.vtime {
    position: absolute;
    left: 50%;
    bottom: 9%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.vname {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-weight: 800;
    font-size: .88rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vname .icon {
    color: var(--orange);
}

@media (min-width: 992px) {
    .video-section {
        padding: 96px 0;
    }

    .vs-inner {
        grid-template-columns: 1.05fr .95fr;
        gap: 72px;
    }

    .vs-text-col {
        text-align: left;
    }

    .vs-text-col .vs-text, .vs-text-col .vs-list {
        margin-left: 0;
    }

    .vs-video-col {
        order: 0;
    }

    .vnote {
        width: min(34vw, 460px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vplay span {
        animation: none;
    }
}

/* ---------- 6c. LEAD MODAL (Bitrix24 forma) ---------- */
#leadModal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
}

#leadModal .modal-header {
    border: 0;
    padding: 20px 24px;
    color: #fff;
    background: linear-gradient(120deg, var(--blue), var(--blue-dark));
}

#leadModal .modal-title {
    font-weight: 800;
}

#leadModal .modal-sub {
    margin: 2px 0 0;
    font-size: .9rem;
    opacity: .85;
}

#leadModal .btn-close {
    filter: invert(1);
    opacity: .9;
}

#leadModal .modal-body {
    padding: 24px;
}

.b24-placeholder {
    padding: 28px 16px;
    text-align: center;
    color: var(--muted);
    border: 2px dashed var(--line);
    border-radius: 14px;
}

/* ---------- 7. BENEFITS (rasmlar kartadan tepaga chiqib turadi) ---------- */
.benefit-grid {
    display: grid;
    gap: 6.5rem 1.5rem;
    grid-template-columns: 1fr;
    padding-top: 5rem;
    max-width: 960px;
    margin-inline: auto;
}

.benefit {
    position: relative;
    padding: 6.5rem 1.5rem 2rem;
    text-align: center;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(46, 58, 165, .08);
}

.benefit img {
    position: absolute;
    top: -4.5rem;
    left: 50%;
    width: 150px;
    height: 150px;
    object-fit: contain;
    transform: translateX(-50%);
}

.benefit h3 {
    font-size: 1.35rem;
    margin-bottom: .6rem;
    color: var(--blue);
}

.benefit p {
    margin: 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 1.5rem;
    }
}

/* ---------- 7b. STATS + ABOUT ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.stat {
    padding-top: 1rem;
    border-top: 3px solid var(--orange);
}

.stat-num {
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--blue);
}

.stat-num span {
    color: var(--orange);
}

.stat-label {
    margin: .5rem 0 0;
    font-weight: 600;
    color: var(--muted);
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-text {
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
}

@media (min-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 5fr 7fr;
        gap: 3rem;
    }
}

/* ---------- 7c. JAMOA (Swiper) ---------- */


.director img, .member img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center top;
}

.member {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(46, 58, 165, .1);
}

.member-body {
    padding: 1.25rem 1rem 1.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.2rem;
    margin-bottom: .25rem;
}

.member-role {
    margin-bottom: .9rem;
    font-weight: 700;
    color: var(--blue);
}

.exp {
    display: inline-block;
    padding: .35rem .95rem;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
}

.swiper {
    --swiper-theme-color: var(--blue);
    --swiper-navigation-size: 18px;
    --swiper-pagination-bullet-inactive-color: var(--line);
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-size: 10px;
    --swiper-pagination-bullet-horizontal-gap: 4px;
    padding: 8px 8px 3rem;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination {
    bottom: .75rem !important;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 6px;
}

/*.swiper-button-prev, .swiper-button-next {*/
/*  width: 46px; height: 46px; margin-top: -2.5rem; border-radius: 50%;*/
/*  background: #fff; color: var(--blue); box-shadow: 0 4px 15px rgba(0, 0, 0, .15);*/
/*  transition: background-color .2s ease, color .2s ease;*/
/*}*/
/*.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--blue); color: #fff; }*/
/*.swiper-button-prev { left: 4px; }*/
/*.swiper-button-next { right: 4px; }*/
/*.swiper-button-prev::after, .swiper-button-next::after { font-weight: 800; }*/

/* ---------- 7d. SERTIFIKATLAR ---------- */
.cert {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: zoom-in;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(46, 58, 165, .12);
    transition: transform .25s ease;
}

.cert:hover {
    transform: translateY(-3px);
}

.cert img {
    display: block;
    width: 100%;
    height: auto;
}

#certModal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

#certModal img {
    display: block;
    width: 100%;
    height: auto;
}


/* ---------- 7e. YORDAMCHI ---------- */
.sprite {
    position: absolute;
}

/* SVG ikonka sprite'i (ko'rinmaydi) */
.cert-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    margin: .75rem;
    padding: .6rem;
    border-radius: 50%;
    background-color: #fff;
}

/* ---------- 8. SERVICES ---------- */
.svc-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.svc {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.5rem;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.svc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.svc-ico {
    width: 2.6rem;
    height: 2.6rem;
    color: var(--blue);
    transition: color .25s ease;
}

.svc-arrow {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--muted);
    transition: color .25s ease, transform .25s ease;
}

.svc h3 {
    font-size: 1.4rem;
    margin: 0;
}

.svc h3 a {
    color: inherit;
    text-decoration: none;
}

.svc p {
    margin: 0;
    color: var(--muted);
    transition: color .25s ease;
}

.svc-body {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.svc:hover, .svc:focus-within {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.svc:hover .svc-ico, .svc:focus-within .svc-ico {
    color: #fff;
}

.svc:hover .svc-arrow, .svc:focus-within .svc-arrow {
    color: var(--orange);
    transform: translate(3px, -3px);
}

.svc:hover p, .svc:focus-within p {
    color: rgba(255, 255, 255, .85);
}

@media (min-width: 992px) {
    .svc-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .svc-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .svc-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .svc-3 {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .svc-4 {
        grid-column: 3;
        grid-row: 1;
    }

    .svc-5 {
        grid-column: 3;
        grid-row: 2;
    }
}

/* ---------- 9. PARTNERS MARQUEE (CSS-only animatsiya) ---------- */
.marquee {
    overflow: hidden;
    display: grid;
    gap: 1rem;
    padding: .5rem 0;
}

.marquee-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.logo-card {
    flex: none;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    padding: 12px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 14px;
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* JS bor bo'lganda: bir qatorli, cheksiz aylanadigan lenta */
.js .marquee {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.js .marquee-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    animation: marquee 55s linear infinite;
    will-change: transform;
}

.js .marquee-track .logo-card {
    margin-right: 1rem;
}

.js .marquee-track.is-reverse {
    animation-direction: reverse;
}

/*.js .marquee:hover .marquee-track {*/
/*    animation-play-state: paused;*/
/*}*/

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .js .marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
        gap: 1rem;
    }

    .js .marquee-track .logo-card {
        margin-right: 0;
    }

    .marquee-track[aria-hidden="true"], .marquee-track [aria-hidden="true"] {
        display: none;
    }
}

/* ---------- 10. TARIFFS ---------- */
.plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.plan-name {
    font-size: 2.2rem;
    color: var(--blue);
    margin-bottom: .4rem;
    transition: color .25s ease;
}

.plan-for {
    color: var(--muted);
    min-height: 3.2em;
    transition: color .25s ease;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.75rem;
    display: grid;
    gap: .8rem;
}

.plan-list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 600;
}

.plan-list .icon {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--blue);
    transition: color .25s ease;
}

.plan-cta {
    margin-top: auto;
}

.plan:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.plan:hover .plan-name {
    color: #fff;
}

.plan:hover .plan-for {
    color: rgba(255, 255, 255, .8);
}

.plan:hover .plan-list .icon {
    color: var(--orange);
}

.plan:hover .btn-brand {
    --bs-btn-bg: #fff;
    --bs-btn-color: var(--blue);
    --bs-btn-border-color: #fff;
    --bs-btn-hover-bg: var(--lav);
    --bs-btn-hover-color: var(--blue);
    --bs-btn-hover-border-color: var(--lav);
}

/* VIP: to'q sariq urg'u (rangga mos och fon) */
.plan-vip {
    background: #fff3ea;
    background: color-mix(in srgb, var(--orange) 10%, #fff);
    border: 2px solid var(--orange);
}

.plan-vip .plan-name {
    color: var(--blue-deep);
}

.plan-vip .plan-list .icon {
    color: var(--orange);
}

.plan-vip:hover {
    background: #fff3ea;
    background: color-mix(in srgb, var(--orange) 14%, #fff);
    color: var(--blue-dark);
    border-color: var(--orange);
}

.plan-vip:hover .plan-name {
    color: var(--blue-deep);
}

.plan-vip:hover .plan-for {
    color: var(--muted);
}

/* ---------- 11. CTA ---------- */
.section-cta {
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
}

.section-cta h2 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-cta h2 .script {
    font-size: 1.25em;
    line-height: 1;
    color: #ff9a5c;
}

.cta-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.75rem;
}

/* ---------- 12. FOOTER ---------- */
.site-footer {
    background: var(--blue-deep);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

.footer-top {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.site-footer .nav-link {
    color: #fff;
    font-weight: 600;
}

.site-footer .nav-link:hover {
    color: var(--orange);
}

.site-footer .h5 {
    color: #fff;
    margin-bottom: .75rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--orange);
}

.social {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.social .icon {
    width: 2rem;
    height: 2rem;
}

.social:hover {
    background: var(--orange);
    color: var(--blue-deep);
    transform: translateY(-2px);
}

/* ---------- 13. MOBIL ---------- */
@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.6rem;
    }

    .btn-lg {
        width: 100%;
    }

    .plan-for {
        min-height: 0;
    }

    .logo-card {
        width: 96px;
        height: 96px;
    }
}
