@media (max-width: 1199.98px) {
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    :root {
        --container-padding: 74px 0;
    }

    #header .site-navbar {
        min-height: 76px;
    }

    #header .navbar-collapse {
        margin-top: 16px;
        padding: 14px;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: 18px;
        box-shadow: var(--shadow-card);
    }

    #header .nav-link {
        width: 100%;
    }

    .hero-section,
    .catalog-hero {
        padding: 124px 0 70px;
    }

    .hero-section h1,
    .catalog-hero h1 {
        letter-spacing: -0.055em;
    }

    .hero-card img {
        min-height: 320px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .section-title.with-action,
    .contact-card,
    .footer-grid {
        display: grid;
        justify-items: start;
    }

    .section-link {
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    :root {
        --container-padding: 62px 0;
    }

    #header .logo {
        width: 142px;
    }

    .hero-section,
    .catalog-hero {
        padding-top: 112px;
    }

    .hero-actions {
        display: grid;
    }

    .btn-primary-custom,
    .btn-outline-custom,
    .nav-whatsapp {
        width: 100%;
    }

    .hero-badge {
        position: static;
        max-width: none;
        margin-top: 12px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .catalog-toolbar {
        position: static;
    }

    .product-image {
        height: 240px;
    }

    .testimonial-card {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .contact-card {
        padding: 26px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: grid;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1,
    .catalog-hero h1 {
        font-size: 2.45rem;
    }

    .section-title {
        justify-items: start;
        text-align: left;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-card img {
        min-height: 240px;
    }

    .service-card {
        min-height: auto;
        padding: 22px;
    }

    .category-filters {
        flex-direction: column;
    }

    .filter-button {
        width: 100%;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }
}
