/* موبایل — فاصله‌گذاری بهتر، UX روان‌تر */

@media (max-width: 767px) {
    body {
        background: #f8fafc;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* ── صفحه اصلی ── */
    .page-home {
        background: #f8fafc;
    }

    .page-home .home-section-shell {
        padding-block: 24px;
        border-top-color: transparent;
    }

    .page-home .home-section-shell::after {
        display: none;
    }

    .page-home .home-section-frame {
        padding: 16px 14px;
        border-radius: 18px;
        border-color: #e8edf2;
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .page-home .novia-section-header {
        margin-bottom: 16px;
    }

    .page-home .novia-section-header h2,
    .home-section-title {
        font-size: 1.15rem;
        line-height: 1.45;
    }

    .home-section--banners .banner-slider {
        padding: 0;
        margin-bottom: 0;
    }

    .home-section--banners {
        margin-bottom: 0;
    }

    .banner-slider .container {
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }

    .banner-slider__frame {
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .banner-slider__viewport {
        aspect-ratio: 2000 / 740;
        width: 100%;
        height: auto;
        max-height: none;
    }

    .banner-slide__image--contain,
    .banner-slide__image--cover {
        object-fit: cover;
        object-position: center center;
    }

    .trust-strip {
        padding: 12px 0;
        background: #fff;
    }

    .hero-novia {
        padding: 28px 0 32px;
    }

    .hero-badge {
        font-size: 0.74rem;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: 1.45rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.75;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero-btn-white,
    .hero-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .hero-stats-inline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .hero-stats-inline__item {
        padding: 10px 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        text-align: center;
    }

    .hero-stats-inline__item strong {
        font-size: 1rem;
    }

    .hero-stats-inline__item span {
        font-size: 0.68rem;
    }

    .hero-visual {
        display: none;
    }

    .course-preview-body {
        padding: 14px;
    }

    .course-preview-footer {
        padding-top: 12px;
    }

}
