/* ============================= */
/* ASOSIY SOZLAMALAR */
/* ============================= */

:root {
    --sariq: #ffcc00;
    --sariq-toq: #e6b800;
    --qora: #111111;
    --qora-yumshoq: #1a1a1a;
    --kulrang: #6f6f6f;
    --och-kulrang: #f4f4f4;
    --oq: #ffffff;
    --chegara: rgba(17, 17, 17, 0.1);
    --soya: 0 20px 50px rgba(17, 17, 17, 0.08);
    --yumaloqlik: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--oq);
    color: var(--qora);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    width: 100%;
}

main {
    overflow: hidden;
}


/* ============================= */
/* YUQORI QISM */
/* ============================= */

.bosh-qism {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    min-height: 76px;
    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--chegara);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    z-index: 1002;
}

.logo-belgi {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--sariq);
    color: var(--qora);

    border-radius: 14px;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-matn {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-matn strong {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
}

.logo-matn small {
    max-width: 170px;
    color: var(--kulrang);
    font-size: 10px;
    line-height: 1.2;
}

.menyu-tugmasi {
    position: relative;
    z-index: 1002;

    width: 45px;
    height: 45px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: none;
    border-radius: 14px;
    background: var(--qora);
    cursor: pointer;
}

.menyu-tugmasi span {
    width: 21px;
    height: 2px;

    display: block;

    background: var(--oq);
    border-radius: 10px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menyu-tugmasi.faol span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menyu-tugmasi.faol span:nth-child(2) {
    opacity: 0;
}

.menyu-tugmasi.faol span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.asosiy-menyu {
    position: fixed;
    top: 0;
    right: -100%;

    width: min(86%, 360px);
    height: 100vh;

    padding: 110px 24px 30px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    background: var(--oq);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.12);

    transition: right 0.35s ease;
}

.asosiy-menyu.ochiq {
    right: 0;
}

.asosiy-menyu a {
    padding: 17px 18px;

    color: var(--qora);
    background: var(--och-kulrang);

    border: 1px solid transparent;
    border-radius: 15px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.asosiy-menyu a.faol {
    background: var(--sariq);
    border-color: var(--sariq);
}


/* ============================= */
/* ASOSIY KIRISH QISMI */
/* ============================= */

.asosiy-banner {
    position: relative;
    min-height: 100vh;

    padding: 120px 20px 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fff8d9 48%,
            #ffcc00 100%
        );

    overflow: hidden;
}

.banner-bezak {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.banner-bezak-bir {
    top: 100px;
    right: -110px;

    width: 300px;
    height: 300px;

    background: rgba(255, 255, 255, 0.38);
}

.banner-bezak-ikki {
    bottom: -150px;
    left: -130px;

    width: 330px;
    height: 330px;

    background: rgba(17, 17, 17, 0.06);
}

.banner-mazmuni {
    position: relative;
    z-index: 2;
}

.kichik-yozuv {
    width: fit-content;
    margin-bottom: 20px;
    padding: 9px 14px;

    background: rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.banner-mazmuni h1 {
    max-width: 670px;
    margin-bottom: 20px;

    font-size: clamp(42px, 12vw, 74px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 900;
}

.banner-mazmuni h1 span {
    display: block;
    color: rgba(17, 17, 17, 0.62);
}

.banner-mazmuni > p {
    max-width: 590px;

    color: rgba(17, 17, 17, 0.72);

    font-size: 16px;
    line-height: 1.75;
}

.banner-tugmalar {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asosiy-tugma,
.ikkinchi-tugma {
    min-height: 58px;
    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    font-size: 14px;
    font-weight: 800;
    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.asosiy-tugma {
    background: var(--qora);
    color: var(--oq);
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.18);
}

.ikkinchi-tugma {
    color: var(--qora);
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(17, 17, 17, 0.12);
}

.asosiy-tugma:active,
.ikkinchi-tugma:active {
    transform: scale(0.98);
}

.banner-karta {
    position: relative;
    z-index: 2;

    padding: 26px;

    background: rgba(17, 17, 17, 0.95);
    color: var(--oq);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;

    box-shadow: 0 28px 70px rgba(17, 17, 17, 0.24);
}

.banner-karta-belgi {
    width: 58px;
    height: 58px;
    margin-bottom: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--sariq);
    color: var(--qora);

    border-radius: 18px;

    font-size: 18px;
    font-weight: 900;
}

.banner-karta > p {
    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
    font-weight: 700;
}

.banner-karta > strong {
    display: block;
    max-width: 240px;

    font-size: 22px;
    line-height: 1.3;
}

.banner-holat {
    margin-top: 28px;
    padding-top: 18px;

    display: flex;
    align-items: center;
    gap: 9px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
    font-weight: 700;
}

.holat-nuqta {
    width: 9px;
    height: 9px;

    display: block;

    background: var(--sariq);
    border-radius: 50%;

    box-shadow: 0 0 0 6px rgba(255, 204, 0, 0.12);
}


/* ============================= */
/* YO‘NALISHLAR */
/* ============================= */

.yonalishlar {
    padding: 78px 20px;
    background: var(--oq);
}

.bolim-sarlavhasi {
    max-width: 650px;
    margin-bottom: 35px;
}

.bolim-sarlavhasi > span {
    display: block;
    margin-bottom: 12px;

    color: #9a7600;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.bolim-sarlavhasi h2 {
    margin-bottom: 14px;

    font-size: clamp(31px, 9vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.bolim-sarlavhasi p {
    color: var(--kulrang);
    font-size: 15px;
    line-height: 1.7;
}

.yonalish-kartalari {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.yonalish-kartasi {
    position: relative;
    min-height: 300px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid var(--chegara);
    border-radius: var(--yumaloqlik);

    box-shadow: var(--soya);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.yonalish-kartasi:first-child {
    background: var(--sariq);
}

.yonalish-kartasi:last-child {
    background: var(--qora);
    color: var(--oq);
}

.karta-raqami {
    position: absolute;
    top: 22px;
    right: 22px;

    font-size: 13px;
    font-weight: 900;
    opacity: 0.4;
}

.karta-belgi {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    font-size: 25px;
    font-weight: 900;
}

.yonalish-kartasi:first-child .karta-belgi {
    background: var(--qora);
    color: var(--oq);
}

.yonalish-kartasi:last-child .karta-belgi {
    background: var(--sariq);
    color: var(--qora);
}

.karta-matni h3 {
    margin-bottom: 12px;

    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.karta-matni p {
    margin-bottom: 22px;

    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
}

.karta-havola {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    font-size: 13px;
    font-weight: 900;
}

.karta-havola b {
    font-size: 22px;
}


/* ============================= */
/* AFZALLIKLAR */
/* ============================= */

.afzalliklar {
    padding: 20px 20px 78px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;

    background: var(--oq);
}

.afzallik {
    padding: 22px;

    display: flex;
    align-items: flex-start;
    gap: 17px;

    background: var(--och-kulrang);
    border: 1px solid var(--chegara);
    border-radius: 20px;
}

.afzallik-belgi {
    min-width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--sariq);
    color: var(--qora);

    border-radius: 16px;

    font-size: 13px;
    font-weight: 900;
}

.afzallik h3 {
    margin-bottom: 7px;
    font-size: 17px;
}

.afzallik p {
    color: var(--kulrang);
    font-size: 13px;
    line-height: 1.65;
}


/* ============================= */
/* TEZKOR YORDAM */
/* ============================= */

.tezkor-yordam {
    margin: 0 20px 78px;
    padding: 32px 24px;

    display: flex;
    flex-direction: column;
    gap: 28px;

    background:
        linear-gradient(
            135deg,
            var(--sariq) 0%,
            #ffe66f 100%
        );

    border-radius: 28px;
}

.tezkor-yordam-matni > span {
    display: block;
    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 900;
}

.tezkor-yordam h2 {
    margin-bottom: 12px;

    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.tezkor-yordam p {
    color: rgba(17, 17, 17, 0.68);
    font-size: 14px;
    line-height: 1.7;
}

.tezkor-yordam .asosiy-tugma {
    width: 100%;
}


/* ============================= */
/* PASTKI QISM */
/* ============================= */

.pastki-qism {
    padding: 42px 20px 28px;

    background: var(--qora);
    color: var(--oq);
}

.pastki-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pastki-logo strong {
    display: block;
    margin-bottom: 4px;

    font-size: 17px;
}

.pastki-logo p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
}

.pastki-havolalar {
    margin: 34px 0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pastki-havolalar a {
    padding: 13px 0;

    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 13px;
    font-weight: 700;
}

.mualliflik {
    padding-top: 20px;

    color: rgba(255, 255, 255, 0.38);
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 11px;
    line-height: 1.5;
}


/* ============================= */
/* MENYU OCHILGANDA QORONG‘I FON */
/* ============================= */

body::after {
    position: fixed;
    inset: 0;
    z-index: 900;

    content: "";

    background: rgba(17, 17, 17, 0.48);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

body.menyu-ochiq {
    overflow: hidden;
}

body.menyu-ochiq::after {
    opacity: 1;
    visibility: visible;
}


/* ============================= */
/* KATTA TELEFON VA PLANSHET */
/* ============================= */

@media (min-width: 600px) {

    .bosh-qism {
        padding-left: 35px;
        padding-right: 35px;
    }

    .asosiy-banner {
        padding-left: 35px;
        padding-right: 35px;
    }

    .banner-tugmalar {
        flex-direction: row;
    }

    .asosiy-tugma,
    .ikkinchi-tugma {
        width: fit-content;
        min-width: 220px;
    }

    .yonalishlar,
    .afzalliklar {
        padding-left: 35px;
        padding-right: 35px;
    }

    .tezkor-yordam {
        margin-left: 35px;
        margin-right: 35px;
    }

    .pastki-qism {
        padding-left: 35px;
        padding-right: 35px;
    }
}


/* ============================= */
/* NOUTBUK VA KATTA EKRAN */
/* ============================= */

@media (min-width: 900px) {

    .bosh-qism {
        min-height: 84px;
        padding: 15px 6%;
    }

    .menyu-tugmasi {
        display: none;
    }

    .asosiy-menyu {
        position: static;

        width: auto;
        height: auto;
        padding: 0;

        flex-direction: row;
        align-items: center;
        gap: 8px;

        background: transparent;
        box-shadow: none;
    }

    .asosiy-menyu a {
        padding: 12px 15px;
        background: transparent;
    }

    .asosiy-menyu a.faol {
        background: var(--sariq);
    }

    .asosiy-banner {
        min-height: 780px;
        padding: 150px 7% 80px;

        display: grid;
        grid-template-columns: 1.4fr 0.75fr;
        align-items: center;
        gap: 70px;
    }

    .banner-karta {
        padding: 35px;
    }

    .yonalishlar {
        padding: 110px 7% 80px;
    }

    .yonalish-kartalari {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .yonalish-kartasi {
        min-height: 380px;
        padding: 34px;
    }

    .yonalish-kartasi:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 70px rgba(17, 17, 17, 0.13);
    }

    .afzalliklar {
        padding: 0 7% 110px;
        grid-template-columns: repeat(3, 1fr);
    }

    .tezkor-yordam {
        margin: 0 7% 110px;
        padding: 48px;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .tezkor-yordam-matni {
        max-width: 640px;
    }

    .tezkor-yordam .asosiy-tugma {
        width: auto;
        min-width: 210px;
    }

    .pastki-qism {
        padding: 55px 7% 30px;
    }

    .pastki-havolalar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
    }

    .pastki-havolalar a {
        border: none;
    }
}


/* ============================= */
/* JUDA KICHIK TELEFONLAR */
/* ============================= */

@media (max-width: 370px) {

    .logo-matn small {
        display: none;
    }

    .banner-mazmuni h1 {
        font-size: 38px;
        letter-spacing: -2px;
    }

    .banner-mazmuni > p {
        font-size: 14px;
    }

    .yonalish-kartasi {
        min-height: 320px;
    }

    .karta-matni h3 {
        font-size: 22px;
    }
}


/* ============================= */
/* HARAKATNI KAMAYTIRISH */
/* ============================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}