/* ---------- ПЛАНШЕТЫ (768px - 1024px) ---------- */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .advantages-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .advantages-list {
        align-items: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}


/* ---------- МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) ---------- */

@media (max-width: 768px) {
     :root {
        --container-padding: 16px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-description {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 32px 24px;
    }
    .form-card h2 {
        font-size: 24px;
    }
    /* Мобильное меню */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-xl);
        padding: 80px 32px;
        transition: right var(--transition-base);
        z-index: 999;
    }
    .nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}


/* ---------- МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ---------- */

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .form-card {
        padding: 24px 20px;
    }
}