/* === BO'LIM SAHIFASI === */
.section-page {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem);
}

/* --- Bo'lim boshi: sarlavha chapda, katta belgi o'ngda, ostida ko'rsatkichlar --- */
.section-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem 3rem;
    align-items: end;
    padding-bottom: 2rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--chiziq);
}

.section-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.9rem;
    border-radius: var(--radius-pill);
    background: var(--kok-yumshoq);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--kok);
}

.section-hero__badge::before { display: none; }
.section-hero__badge svg { width: 14px; height: 14px; }
.section-hero__badge { margin-bottom: 1rem; }

.section-hero__content { position: relative; }

.section-hero h1 {
    font-size: clamp(2.2rem, 3.4vw + 0.5rem, 3.8rem);
    margin-bottom: 0.75rem;
}

.section-hero p {
    font-size: clamp(1.05rem, 0.3vw + 1rem, 1.25rem);
    max-width: 56ch;
    color: var(--siyoh-2);
}

.section-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.25rem;
    margin-top: 1.75rem;
}

.section-hero__stat { display: flex; flex-direction: column; gap: 0.15rem; }

.section-hero__stat strong {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--siyoh);
    letter-spacing: -0.02em;
}

.section-hero__stat span { font-size: 0.82rem; color: var(--siyoh-3); }

/* Belgi — chizmali, oddiy, katta */
.section-hero__icon {
    position: relative;
    width: 150px;
    height: 150px;
    flex: none;
}

.section-hero__icon__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(29, 95, 214, 0.35);
}

/* naqsh: belgi ortidagi nuqta matritsasi */
.section-hero__icon::before {
    content: '';
    position: absolute;
    inset: -40%;
    background-image: radial-gradient(rgba(29, 95, 214, 0.32) 1.1px, transparent 1.2px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 78%);
    mask-image: radial-gradient(closest-side, #000 30%, transparent 78%);
    pointer-events: none;
}

.section-hero__icon__core {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: var(--kok);
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(29, 95, 214, 0.3);
    color: #fff;
    display: grid;
    place-items: center;
}

.section-hero__icon__core svg { width: 44px; height: 44px; }

/* --- Kichik bo'limlar boshi --- */
.items-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.items-head h2 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.items-head p { font-size: 0.95rem; color: var(--siyoh-3); }

/* --- Kartalar to'ri: chegaralar umumiy, bo'shliq yo'q --- */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem 1.4rem 1.25rem;
    background: var(--qogoz-2);
    border: 1px solid var(--chiziq);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}

.item-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.item-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-card__num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-pill);
    background: var(--kok-yumshoq);
    color: var(--kok);
}

.item-card:hover .item-card__num { color: var(--kok); }

.item-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--kok-yumshoq);
    color: var(--kok);
    display: grid;
    place-items: center;
}

.item-card__icon svg { width: 19px; height: 19px; }

.item-card h3 { font-size: 1.15rem; line-height: 1.25; }
.item-card p { font-size: 0.92rem; color: var(--siyoh-2); flex: 1; }

.item-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--chiziq);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--kok);
}

.item-card__cta svg { width: 15px; height: 15px; transition: transform var(--duration-fast) var(--ease-out); }
.item-card:hover .item-card__cta { color: var(--kok); }
.item-card:hover .item-card__cta svg { transform: translateX(3px); }

@media (max-width: 900px) {
    .section-hero { grid-template-columns: 1fr; }
    .section-hero__icon { display: none; }
}
