.info-section {
    position: relative;
    width: 100%;
    padding: 70px 24px;
    background:
        radial-gradient(circle at 15% 25%, rgba(29, 78, 216, 0.08), transparent 28%),
        radial-gradient(circle at 85% 70%, rgba(134, 239, 172, 0.12), transparent 30%),
        #f5f5f5;
    overflow: hidden;
}

.info-container {
    position: relative;
    z-index: 1;

    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

/* Gallery */
.info-gallery {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-gallery-row {
    display: grid;
    gap: 14px;
}

.info-gallery-row-top {
    grid-template-columns: 2fr 1fr;
}

.info-gallery-row-middle {
    grid-template-columns: repeat(3, 1fr);
}

.info-gallery-row-bottom {
    grid-template-columns: repeat(2, 1fr);
}

.info-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #e5e7eb;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    isolation: isolate;
}

.info-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.04),
        rgba(0, 0, 0, 0.12)
    );
    pointer-events: none;
}

.info-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transform: scale(1.02);
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.info-gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.03);
}

/* ردیف اول: یک تصویر افقی 16:9 و یک تصویر کوچک */
/* .info-gallery-wide {
    aspect-ratio: 16 / 9;
} */

.info-gallery-small {
    aspect-ratio: 1 / 1;
}

/* ردیف وسط: سه تصویر مربعی */
.info-gallery-square {
    aspect-ratio: 1 / 1;
}

/* ردیف پایین: دو تصویر افقی */
.info-gallery-horizontal {
    aspect-ratio: 16 / 9;
}

/* Content */
.info-content {
    direction: rtl;
    text-align: right;
}

.info-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
    padding: 6px 14px;

    border-radius: 999px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--color-primary, #1d4ed8);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.info-heading {
    margin: 0 0 18px;
    color: var(--color-text, #1f2937);

    font-size: 34px;
    font-weight: 900;
    line-height: 1.45;
}

.info-text {
    margin: 0 0 14px;
    color: #4b5563;

    font-size: 15px;
    font-weight: 400;
    line-height: 2.2;
}

/* Responsive */
@media (max-width: 992px) {
    .info-section {
        padding: 58px 18px;
    }

    .info-container {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 20px
    }

    .info-content {
        order: 1;
    }

    .info-gallery {
        order: 2;
        width: 90%;

    }

    .info-heading {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .info-gallery {
        gap: 12px;
    }

    .info-gallery-row {
        gap: 12px;
    }

    .info-gallery-item {
        border-radius: 20px;
    }

    .info-heading {
        font-size: 26px;
    }

    .info-text {
        font-size: 14px;
        line-height: 2.1;
    }
}

@media (max-width: 520px) {
    .info-section {
        padding: 46px 14px;
    }

    .info-gallery-row-top {
        grid-template-columns: 1.5fr 1fr;
    }

    .info-gallery-row-middle {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-gallery-row-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-gallery {
        gap: 10px;
    }

    .info-gallery-row {
        gap: 10px;
    }

    .info-gallery-item {
        border-radius: 16px;
    }

    .info-heading {
        font-size: 23px;
        margin-bottom: 14px;
    }

    .info-subtitle {
        font-size: 9px;
        padding: 5px 12px;
    }

    .info-text {
        font-size: 13px;
        line-height: 2;
    }
}

/* @media (max-width: 290px) {
    .info-gallery-row-top,
    .info-gallery-row-bottom {
        grid-template-columns: 1fr;
    }

    .info-gallery-row-middle {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-gallery-small,
    .info-gallery-square {
        aspect-ratio: 1 / 1;
    }
} */

@media (prefers-reduced-motion: reduce) {
    .info-gallery-item img {
        transition: none !important;
        transform: none !important;
    }

    .info-gallery-item:hover img {
        transform: none !important;
    }
}
