/* ============================================
   UZMIX — Home Page CSS
   ============================================ */

/* ---- HERO ---- */
.hero {
    position: relative;
    background: var(--gray-50);
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hero__bg-text {
    position: absolute;
    right: 7rem;
    top: 10%;
    transform: translateY(-50%);
    font-size: clamp(1rem, 8.9vw, 14rem);
    font-weight: 800;
    color: rgba(0,0,0,.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero__slider { flex: 1; position: relative; }

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
}
.hero__slide.active { opacity: 1; position: relative; }

.hero__slide-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr 300px;
    align-items: center;
    gap: 2rem;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    min-height: 550px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* === YON TOMONDAGI STRELKALAR === */
.hero__side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 20;
    cursor: pointer;
}
.hero__side-arrow:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.3);
}
.hero__side-arrow--prev { left: 2rem; }
.hero__side-arrow--next { right: 2rem; }

/* ============================================
   CHAP TOMON: Mahsulot ma'lumotlari
   ============================================ */
.hero__content {
    padding-left: 1rem;
    padding-right: 0.5rem;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    line-height: 1.4;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
}

.hero__title {
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
    color: var(--black);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.hero__title .blue { color: var(--blue); }

.hero__subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.hero__desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.hero__cta { font-size: 0.95rem; }

/* ============================================
   Rasm konteyneri
   ============================================ */
.hero__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    width: 100%;
    padding: 0 1rem;
    min-width: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.1));
    transition: opacity 0.3s ease;
}

.hero__image-placeholder {
    width: 100%; height: 100%;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-200);
    font-size: 8rem;
}

/* ============================================
   SPECS (Font Awesome)
   ============================================ */
.hero__specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
    min-width: 0;
}

.hero__spec-item {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero__spec-item:last-child {
    border-bottom: none;
}

.hero__spec-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border: none;
    opacity: 1;
    padding: 0;
    margin: 0;
}

.hero__spec-icon i {
    font-size: 1.4rem;
    color: #1a1a1a;
    line-height: 1;
}

.hero__spec-icon svg {
    width: 28px;
    height: 28px;
    stroke: #1a1a1a;
    stroke-width: 2;
}

.hero__spec-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 1.25rem;
    padding-left: 1.25rem;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.hero__spec-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 3px;
    line-height: 1.2;
    font-weight: 400;
}

.hero__spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* =========================================
   HERO BOTTOM CONTROLS
   ========================================= */
.hero__bottom-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.hero__progress-area {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}
.hero__counter {
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 500;
}
.hero__counter-current {
    font-weight: 800;
    color: var(--black);
    font-size: 1.1rem;
}
.hero__progress-bar {
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    position: relative;
    border-radius: 2px;
}
.hero__progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    background: var(--blue);
    border-radius: 2px;
    transition: width 1.2s ease-in-out;
}

.hero__thumb-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}
.hero__thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}
.hero__thumbnails::-webkit-scrollbar { display: none; }
.hero__thumb {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex-shrink: 0;
}
.hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero__thumb-name {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.hero__thumb.active {
    border-color: var(--blue);
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
}
.hero__thumb:hover { border-color: var(--blue); }
.hero__thumb-ph { font-size: 1.5rem; color: #ddd; }

.hero__controls-spacer { min-width: 200px; }

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.section-header__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
    color: var(--black);
    letter-spacing: -0.03em;
    margin: 0;
}

.section-title .blue { color: var(--blue); }

.section-header__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-top: 1rem;
    gap: 1.25rem;
}

.section-header__right p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 460px;
    margin: 0;
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
    padding: 0.6rem 0;
}

.section-more-link:hover { color: var(--blue); }

.section-more-link__circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
    background: #fff;
}

.section-more-link:hover .section-more-link__circle {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateX(4px);
}

.section-more-link span:last-child {
    line-height: 1.3;
    text-align: left;
}

.section-more-link strong {
    font-weight: 800;
    color: var(--black);
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-card__number {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.category-card__name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.category-card__desc {
    font-size: 0.8rem;
    color: var(--gray-600);
    max-width: 360px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 10.5em;
}

.category-card__image {
    position: absolute;
    bottom: 0;
    right: 14px;
    width: 75%;
    height: 50%;
    object-fit: contain;
    object-position: center right;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.category-card__image-placeholder {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-200);
    font-size: 3rem;
    z-index: 1;
}

.category-card__arrow {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all var(--transition);
    z-index: 3;
}

.category-card:hover .category-card__arrow {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--gray-50); position: relative; }
.testimonials__bg-text {
    position: absolute;
    right: -2rem; top: 2rem;
    font-size: 14rem; font-weight: 900;
    color: rgba(0,0,0,.03);
    pointer-events: none; user-select: none;
}
.testimonials__nav-arrows { display: flex; gap: 0.5rem; margin-top: 1rem; }
.testimonials__arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.testimonials__arrow:hover { background: var(--blue); border-color: var(--blue); color: white; }

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.testimonial-video__thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: #1a1a1a;
}
.testimonial-video__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.testimonial-video__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.testimonial-video__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: #ff0000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: transform var(--transition);
}
.testimonial-video__play:hover { transform: translate(-50%, -50%) scale(1.1); }
.testimonial-video__label {
    position: absolute;
    top: 1rem; left: 1rem; right: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}
.testimonial-video__yt-icon {
    width: 28px; height: 28px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.testimonial-video__footer {
    position: absolute;
    bottom: 1rem; left: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; gap: 0.4rem;
}
.testimonial-video__footer i { color: #ff0000; }

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 3rem 0 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
}
.stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    transition: transform 0.3s ease;
}
.stats__item:hover { transform: translateY(-4px); }
.stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gray-200) 50%, transparent);
}
.stats__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--blue);
    background: rgba(0, 86, 179, 0.08);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.stats__item:hover .stats__icon {
    background: var(--blue);
    color: #fff;
    transform: scale(1.08);
}
.stats__number {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--black) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stats__label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.4;
    max-width: 140px;
}
.stats__divider { display: none; }

/* ---- FAQ ---- */
.faq { position: relative; overflow: hidden; }
.faq__bg-text {
    position: absolute;
    right: -2rem; top: 50%;
    transform: translateY(-50%);
    font-size: 14rem; font-weight: 900;
    color: rgba(0,0,0,.03);
    pointer-events: none; user-select: none;
}
.faq__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
.faq__desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    line-height: 1.7;
}
.faq__contact-box {
    margin-top: 2.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.faq__contact-icon { font-size: 1.5rem; color: var(--blue); flex-shrink: 0; }
.faq__contact-box strong { font-size: 0.95rem; }
.faq__contact-box p { font-size: 0.8rem; color: var(--gray-600); margin-top: 0.15rem; }

.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    transition: color var(--transition);
}
.faq__question:hover { color: var(--blue); }
.faq__num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--transition);
}
.faq__item.open .faq__num {
    background: var(--blue);
    color: white;
}
.faq__icon { margin-left: auto; font-size: 0.8rem; color: var(--gray-400); flex-shrink: 0; }
.faq__answer {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 3rem;
}
.faq__answer.visible {
    max-height: 400px;
    padding: 0 3rem 1.25rem;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    position: relative;
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.blog-section__bg-text {
    position: absolute;
    left: -2rem;
    bottom: 2rem;
    font-size: 14rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.02);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.blog-section .container {
    position: relative;
    z-index: 1;
}

.blog-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.blog-header__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-header__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-top: 1rem;
    gap: 1.25rem;
}

.blog-header__desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 460px;
    margin: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
    border-color: var(--blue);
}

.blog-card__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: #ffffff;
    aspect-ratio: 4/3;
    margin-bottom: 0;
    padding: 0.5rem;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.blog-card__img-wrap:hover .blog-card__img {
    transform: scale(1.02);
}

.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 3rem;
}

.blog-card__body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    font-size: 0.78rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
}

.blog-card__meta-sep {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.blog-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    color: var(--black);
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card__title a:hover { color: var(--blue); }

.blog-card__excerpt {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card__read {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog-card__read:hover { gap: 0.75rem; color: var(--blue); }

.blog-card__read i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.blog-card__read:hover i { transform: translateX(3px); }

.blog-section__cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   YOUTUBE VIDEO MODAL
   ============================================ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal--open {
    opacity: 1;
    visibility: visible;
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.video-modal__content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal--open .video-modal__content {
    transform: scale(1);
}

.video-modal__iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-modal__iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-modal__close:hover {
    background: var(--blue);
    color: #fff;
    transform: rotate(90deg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero__slide-inner { grid-template-columns: 1fr 1fr; }
    .hero__specs { display: none; }
    .categories__grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials__grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero__thumb-area { display: none; }
    .hero__bottom-controls { justify-content: space-between; }
    .hero__side-arrow { width: 40px; height: 40px; }
    .hero__side-arrow--prev { left: 1rem; }
    .hero__side-arrow--next { right: 1rem; }
    .hero__slide-inner { padding: 3rem 1.5rem; }
    
    .blog-header { grid-template-columns: 1fr; gap: 1.5rem; }
    .blog-header__right { align-items: flex-start; text-align: left; padding-top: 0; }
    .blog-header__right .section-more-link { align-self: flex-start; }
}

@media (max-width: 900px) {
    .section-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .section-header__right {
        align-items: flex-start;
        text-align: left;
        padding-top: 0;
    }
    .section-header__right p { max-width: 100%; }
}

@media (max-width: 768px) {
    .hero__slide-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem 1.25rem 2rem;
        gap: 1.5rem;
        min-height: auto;
    }

    .hero__image-wrap {
        display: flex;
        order: -1;
        height: 240px;
        padding: 0;
        margin-bottom: 0.5rem;
    }

    .hero__image { max-height: 100%; width: auto; }
    .hero__specs { display: none; }

    .hero__content { padding-left: 0; padding-right: 0; }
    .hero__eyebrow { display: inline-block; margin: 0 auto 1rem; }
    .hero__title { font-size: clamp(1.8rem, 8vw, 2.8rem); margin-bottom: 0.5rem; }
    .hero__subtitle { font-size: 0.85rem; margin-bottom: 0.75rem; }
    .hero__desc { max-width: 100%; margin: 0 auto 1.5rem; font-size: 0.85rem; }
    .hero__cta { display: inline-flex; align-items: center; gap: 0.5rem; }

    .hero__side-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
    .hero__side-arrow--prev { left: 0.5rem; }
    .hero__side-arrow--next { right: 0.5rem; }

    .hero__bottom-controls { justify-content: space-between; padding: 0 1.25rem 1.25rem; }
    .hero__progress-area { min-width: 120px; }
    .hero__controls-spacer { min-width: 0; }

    .categories__grid { grid-template-columns: 1fr; }
    .category-card { min-height: 240px; }
    .category-card__image { width: 70%; height: 60%; }

    .section-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }

    .faq__inner { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stats__item:not(:last-child)::after { display: none; }
    .stats__item {
        background: var(--gray-50);
        border-radius: var(--radius-lg);
        padding: 1.25rem 0.75rem;
    }
    .stats__divider { display: none; }

    .blog-section { padding: 50px 0; }
    .blog-section__bg-text { font-size: 8rem; }

    /* Modal mobil uchun */
    .video-modal { padding: 1rem; }
    .video-modal__close {
        top: -44px;
        right: 0;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__image-wrap { height: 200px; }
    .hero__title { font-size: 1.9rem; }
    .hero__side-arrow { width: 32px; height: 32px; }
    .hero__slide-inner { padding: 1.25rem 1rem 1.75rem; }
}

/* ============================================
   YOUTUBE VIDEO MODAL
   ============================================ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal--open {
    opacity: 1;
    visibility: visible;
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.video-modal__content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal--open .video-modal__content {
    transform: scale(1);
}

.video-modal__iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-modal__iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-modal__close:hover {
    background: var(--blue);
    color: #fff;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .video-modal { padding: 1rem; }
    .video-modal__close {
        top: -44px;
        right: 0;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}