@media (min-width: 1200px) and (max-width: 1640px) {
    .container {
        max-width: 1400px !important;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .nav-link {
        font-size: 16px !important;
    }

    .hero-title {
        font-size: 5.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero {
        height: calc(90vh - 150px);
    }

    .large-text {
        font-size: 6.5rem;
    }

    .developments .description {
        margin-top: 10px;
    }

    .developments-intro {
        font-size: 1.1rem;
    }

    .development-image img {
        width: 225px;
    }

    .development-info {
        padding: 1.7rem;
    }

    .development-location span,
    .detail-item span {
        margin-left: 5px;
    }

    .detail-item span {
        margin-top: 5px;
    }

    .price {
        font-weight: 500;
    }

    .detail-button {
        padding: 0.5rem 1.2rem;
        margin-top: -5px;
    }
}


@media (max-width: 600px) {
    .search-bar .search-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        /* Espacio entre los elementos */
        width: 100%;
    }

    .search-bar .search-btn,
    .search-bar .search-select,
    .search-bar .search-input,
    .search-bar .search-input-code,
    .search-bar .search-submit {
        width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        /* Altura mínima para todos */
        font-size: 1rem;
    }

    .search-bar .search-submit {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .show-filters-btn {
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .close-filters-btn {
        width: 100%;
        min-height: 36px;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .show-filters-btn {
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
        margin-bottom: 12px;
        border: 1px solid #1E293B;
        background: transparent;
        color: #1E293B;
        border-radius: 4px;
        font-family: inherit;
        font-weight: 500;
        letter-spacing: 0.03em;
        transition: background 0.2s, color 0.2s;
        box-shadow: 0 1px 4px rgba(30, 41, 59, 0.04);
        cursor: pointer;
        margin-top: 12px;
    }

    .close-filters-btn {
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
        margin-bottom: 12px;
        border: 1px solid #1E293B;
        background: transparent;
        color: #1E293B;
        border-radius: 4px;
        font-family: inherit;
        font-weight: 500;
        letter-spacing: 0.03em;
        transition: background 0.2s, color 0.2s;
        box-shadow: 0 1px 4px rgba(30, 41, 59, 0.04);
        cursor: pointer;
    }

    .show-filters-btn:hover,
    .close-filters-btn:hover {
        background: #fff;
        color: #1E293B;
    }

    .developments-intro {
        font-size: 1rem;
    }

    .team-button {
        padding: 1rem 3rem;
        font-size: 0.8rem;
    }

    .team-description {
        font-size: 1.1rem;
    }

    .team-bg-text {
        font-size: 10rem;
    }

    .col-number {
        display: none;
    }

    .mobile-menu-btn {
        margin-top: 20px;
    }

    .whatsapp-float {
        bottom: 2.5rem !important;
        right: 2.8rem !important;
    }
    .footer-nav a{
        font-size: 0.8rem !important;
    }
    .contact-phone{
        text-decoration: none !important;
    }
}



@media (max-width: 768px) {
    .close-filters-btn {
        display: block !important;
    }
}