@media (max-width: 1200px) {
    .hero-content {
        gap: 4rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-title-row {
        flex-direction: column;
    }

    .hero-logo img {
        width: 110px;
        margin-bottom: 10px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .visual-circle {
        width: 350px;
        height: 350px;
    }

    .floating-badge {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        justify-content: center;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 80px;
        padding-right: 2rem;
    }

    .timeline-year {
        left: 0 !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid,
    .features-grid,
    .contact-grid,
    .proyectos-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

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

    .floating-contacts {
        bottom: 1rem;
        right: 1rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    section {
        padding: 5rem 2rem;
    }

    .hero {
        padding: 7rem 2rem 3rem;
    }

    nav {
        padding: 1.2rem 2rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .client-logo {
        height: 180px;
        padding: 2rem;
    }

    .client-logo img {
        max-width: 170px;
        max-height: 90px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 5rem 1.5rem;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .visual-circle {
        width: 280px;
        height: 280px;
    }

    .visual-circle i {
        font-size: 8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .timeline-item {
        padding-left: 60px;
        padding-right: 1rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }

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

    .client-logo {
        height: 160px;
        padding: 1.5rem;
    }

    .client-logo img {
        max-width: 150px;
        max-height: 80px;
    }

    .service-card,
    .contact-card,
    .feature-item {
        padding: 2rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .proyecto-header,
    .proyecto-body {
        padding: 1.5rem;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .logo-container img {
        height: 40px;
    }

    .brand-text h1 {
        font-size: 1.5rem;
    }
}