
body {
    overflow-x: hidden;
}

/* =========================
   Image System (CLS SAFE)
========================= */

.img-box {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 14px;
    background: #f8f9fa;
}

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

/* =========================
   Hero
========================= */

.hero-section {
    min-height: 80svh;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 40px 0;
    overflow: hidden;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-box img {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
}

/* =========================
   1. Desktop (≥992px)
========================= */

@media (min-width: 992px) {

    .hero-image-box img {
        max-height: 550px;
    }
}

/* =========================
   2. Tablet (768px–991px)
   تصویر کوچک‌تر
========================= */

@media (max-width: 991px) and (min-width: 768px) {

    .hero-image-box img {
        max-height: 320px;
        transform: scale(0.95);
    }
}

/* =========================
   3. Mobile (≤767px)
   حذف کامل تصویر
========================= */

@media (max-width: 767px) {

    .hero-image-wrapper {
        display: none;
    }

    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
}

/* =========================
   Buttons
========================= */

.hero-buttons .btn {
    min-width: 170px;
}

/* =========================
   Typography
========================= */

.hero-section h1 {
    font-size: 3rem;
}

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}
