
/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

    .logo span {
        color: #3498db;
    }

.nav-links {
    display: flex;
    list-style: none;
}

    .nav-links li {
        margin-left: 30px;
    }

    .nav-links a {
        text-decoration: none;
        color: #2c3e50;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #3498db;
        }

.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: #2980b9;
    }

/* Hero Section */
.hero-modern {
    position: relative;
    padding: 150px 0;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 40%, #0072ff 100%);
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-reversed {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-modern h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

    .hero-modern h1 span {
        background: linear-gradient(90deg, #0072ff, #00c6ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gradient {
    background: linear-gradient(45deg, #0072ff, #00c6ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
    border: none;
}

    .btn-gradient:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
    }

.btn-outline {
    background: transparent;
    color: #0072ff;
    border: 2px solid #0072ff;
}

    .btn-outline:hover {
        background: rgba(0, 114, 255, 0.1);
        transform: translateY(-3px);
    }

/* Partículas */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* Servicios */
.services-modern {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

    .section-title span {
        background: linear-gradient(90deg, #0072ff, #00c6ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    height: 100%;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    border: 1px solid rgba(0, 114, 255, 0.1);
    overflow: hidden;
}

.service-card:hover .card-inner {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 114, 255, 0.15);
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px; /* Cambiado para centrar horizontalmente */
    display: flex; /* Añadido */
    align-items: center; /* Añadido */
    justify-content: center; /* Añadido */
}

    .service-icon i {
        font-size: 36px;
        color: #0072ff;
        /* position: relative;
            z-index: 2; */
    }

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 114, 255, 0.1);
    border-radius: 50%;
    top: 0;
    left: 0;
    z-index: 1;
    transform: scale(0.8);
    transition: all 0.4s ease;
    margin: 0 auto; /* Añadido para asegurar el centrado */
}

.service-card:hover .icon-bg {
    transform: scale(1);
    background: rgba(0, 114, 255, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #0072ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .service-link i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .service-link:hover {
        color: #005bc5;
    }

        .service-link:hover i {
            transform: translateX(5px);
        }

/* Efecto de borde animado */
.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover .card-inner::before {
    transform: scaleX(1);
}
/* Sobre Nosotros */
.about-elegant {
    padding: 100px 0;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    height: 100%;
}

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-inner {
    max-width: 520px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin-bottom: 30px;
}

    .section-title span {
        color: #0072ff;
    }

.text-block {
    margin-bottom: 25px;
}

    .text-block p {
        color: #444;
        line-height: 1.8;
        font-size: 1.05rem;
    }

.highlight-box {
    background: #f8faff;
    border-left: 4px solid #0072ff;
    padding: 20px;
    margin: 30px 0;
}

    .highlight-box p {
        color: #333;
        line-height: 1.8;
        font-size: 1.05rem;
        margin: 0;
    }

.elegant-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0072ff;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 0;
    margin-top: 20px;
}

.arrow-icon {
    width: 20px;
    height: 2px;
    background: #0072ff;
    position: relative;
    transition: all 0.3s ease;
}

    .arrow-icon::after {
        content: '';
        position: absolute;
        right: 0;
        top: -4px;
        width: 10px;
        height: 10px;
        border-right: 2px solid #0072ff;
        border-top: 2px solid #0072ff;
        transform: rotate(45deg);
    }

.elegant-btn:hover .arrow-icon {
    transform: translateX(5px);
}


/* Proyectos */
.projects {
    padding: 80px 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .project-card:hover {
        transform: translateY(-10px);
    }

.project-image {
    height: 200px;
    overflow: hidden;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
    background-color: #fff;
}

    .project-info h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .project-info p {
        color: #7f8c8d;
        margin-bottom: 15px;
    }

/* Testimonios */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #7f8c8d;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

    .author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-info h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-info p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Estilos modernos para la sección de contacto */
.contact-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-modern h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

    .contact-modern h2 span {
        color: #0072ff;
    }

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.08);
    border: 1px solid rgba(0, 114, 255, 0.1);
}

    .contact-info-card h3 {
        font-size: 1.5rem;
        color: #2c3e50;
        margin-bottom: 30px;
        position: relative;
        padding-bottom: 15px;
    }

        .contact-info-card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(to right, #0072ff, #00c6ff);
        }

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 114, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0072ff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.method-details p,
.method-details a {
    color: #7f8c8d;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .method-details a:hover {
        color: #0072ff;
    }

.social-section {
    margin-top: 40px;
}

    .social-section h4 {
        font-size: 1.1rem;
        color: #2c3e50;
        margin-bottom: 15px;
    }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(0, 114, 255, 0.1);
        color: #0072ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: #0072ff;
            color: white;
            transform: translateY(-3px);
        }

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.08);
    border: 1px solid rgba(0, 114, 255, 0.1);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 2;
    position: relative;
}

.modern-form textarea {
    min-height: 150px;
    resize: vertical;
}

.modern-form label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #94a3b8;
    transition: all 0.3s ease;
    background: white;
    padding: 0 5px;
    z-index: 1;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form input:not(:placeholder-shown),
.modern-form textarea:not(:placeholder-shown) {
    border-color: #0072ff;
    outline: none;
}

    .modern-form input:focus + label,
    .modern-form textarea:focus + label,
    .modern-form input:not(:placeholder-shown) + label,
    .modern-form textarea:not(:placeholder-shown) + label {
        top: -10px;
        left: 15px;
        font-size: 0.8rem;
        color: #0072ff;
        z-index: 3;
    }

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #0072ff, #00c6ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .submit-btn svg {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
    }

        .submit-btn:hover svg {
            transform: translateX(5px);
        }
/* Footer */
/* Estilos modernos para el footer */
.footer-bottom {
    background: #0072ff; /* Azul corporativo */
    padding: 25px 0;
}
/* Estilos para el footer centrado */
.footer-main {
    background: #111827;
    padding: 60px 0;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-footer {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 25px;
    max-width: 600px;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #1f2937;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background: #0072ff;
            transform: translateY(-3px);
        }

.footer-nav-horizontal {
    margin-top: 20px;
}

.footer-menu-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

    .footer-menu-horizontal li {
        display: inline-block;
    }

    .footer-menu-horizontal a {
        color: #9ca3af;
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
        padding: 5px 0;
        position: relative;
    }

        .footer-menu-horizontal a:hover {
            color: #fff;
        }

        .footer-menu-horizontal a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background: #0072ff;
            transition: width 0.3s ease;
        }

        .footer-menu-horizontal a:hover::after {
            width: 100%;
        }

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
}

.legal-links {
    display: flex;
    gap: 20px;
}

    .legal-links a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .legal-links a:hover {
            color: #fff;
            text-decoration: underline;
        }
/* Estilos para la sección de clientes */
.distinct-style {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
}

    .distinct-style .section-header h2 {
        font-size: 2.8rem;
        text-align: center;
        color: #2c3e50;
        margin-bottom: 15px;
    }

        .distinct-style .section-header h2 span {
            color: #0072ff;
        }

    .distinct-style .subtitle {
        text-align: center;
        color: #7f8c8d;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 50px;
        display: block;
    }

.client-mosaic {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.client-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.client-item {
    flex: 0 0 calc(16.666% - 30px);
    min-width: 150px;
}

.client-logo-wrapper {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
    border: 1px solid rgba(0, 114, 255, 0.1);
}

.client-item:hover .client-logo-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.1);
    border-color: rgba(0, 114, 255, 0.2);
}

.client-logo {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 114, 255, 0.9);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 0 0 12px 12px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.client-item:hover .client-hover {
    transform: translateY(0);
    opacity: 1;
}

/* Efecto de borde sutil */
.client-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0072ff, #00c6ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.client-item:hover .client-logo-wrapper::after {
    transform: scaleX(1);
}

/* ===== RESPONSIVE DESIGN - MÓVILES ===== */

/* Tablets y pantallas medianas (768px y menos) */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Header - Navegación móvil */
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

        .nav-links li {
            margin-left: 0;
        }

    /* Hero Section */
    .hero-modern {
        padding: 120px 0 80px;
    }

    .hero-content-reversed {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-modern h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Servicios */
    .services-modern {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card .card-inner {
        padding: 30px 25px;
    }

    /* Sobre Nosotros */
    .about-elegant {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .content-inner {
        max-width: 100%;
    }

    /* Proyectos */
    .projects {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Contacto */
    .contact-modern {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 30px 25px;
    }

    /* Clientes */
    .client-row {
        gap: 20px;
    }

    .client-item {
        flex: 0 0 calc(50% - 20px);
        min-width: 120px;
    }

    .client-logo-wrapper {
        height: 100px;
        padding: 15px;
    }

    .client-logo {
        max-height: 50px;
    }
}

/* Móviles pequeños (480px y menos) */
@media (max-width: 480px) {
    /* Header */
    .logo {
        font-size: 20px;
    }

    /* Hero Section */
    .hero-modern {
        padding: 100px 0 60px;
    }

        .hero-modern h1 {
            font-size: 2rem;
            line-height: 1.3;
        }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Secciones generales */
    .services-modern,
    .about-elegant,
    .projects,
    .contact-modern {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Servicios */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card .card-inner {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

        .service-icon i {
            font-size: 28px;
        }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Sobre Nosotros */
    .about-grid {
        gap: 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .text-block p,
    .highlight-box p {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 15px;
        margin: 20px 0;
    }

    /* Proyectos */
    .project-image {
        height: 180px;
    }

    .project-info {
        padding: 15px;
    }

        .project-info h3 {
            font-size: 1.2rem;
        }

    /* Contacto */
    .contact-modern h2 {
        font-size: 2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 25px 20px;
    }

    .contact-method {
        gap: 15px;
    }

    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .modern-form {
        gap: 20px;
    }

        .modern-form input,
        .modern-form textarea {
            padding: 12px 15px;
            font-size: 0.9rem;
        }

        .modern-form label {
            left: 15px;
            top: 12px;
        }

        .modern-form input:focus + label,
        .modern-form textarea:focus + label,
        .modern-form input:not(:placeholder-shown) + label,
        .modern-form textarea:not(:placeholder-shown) + label {
            left: 10px;
            font-size: 0.75rem;
        }

    .submit-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    /* Clientes */
    .distinct-style {
        padding: 60px 0;
    }

    .client-mosaic {
        padding: 15px;
    }

    .client-row {
        gap: 15px;
        margin-bottom: 20px;
    }

    .client-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 100px;
    }

    .client-logo-wrapper {
        height: 80px;
        padding: 10px;
    }

    .client-logo {
        max-height: 40px;
    }

    /* Footer */
    .footer-main {
        padding: 40px 0;
    }

    .logo-footer {
        font-size: 1.5rem;
    }

    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .footer-social {
        gap: 10px;
        margin-bottom: 25px;
    }

        .footer-social a {
            width: 35px;
            height: 35px;
        }

    .footer-menu-horizontal {
        flex-direction: column;
        gap: 15px;
    }

        .footer-menu-horizontal a {
            font-size: 0.9rem;
        }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .container {
        width: 98%;
        padding: 0 5px;
    }

    .hero-modern h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card .card-inner {
        padding: 20px 15px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 20px 15px;
    }

    .client-item {
        flex: 0 0 100%;
    }
}

/* Ajustes específicos para orientación horizontal en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-modern {
        padding: 80px 0 60px;
    }

        .hero-modern h1 {
            font-size: 2.2rem;
        }

    .services-modern,
    .about-elegant,
    .projects,
    .contact-modern {
        padding: 60px 0;
    }
}

/* Mejoras de accesibilidad táctil para móviles */
@media (max-width: 768px) {
    .btn,
    .service-link,
    .elegant-btn,
    .submit-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links a {
        padding: 10px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-links a,
    .footer-social a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Optimización de imágenes para móviles */
@media (max-width: 768px) {
    .hero-image img,
    .about-image img,
    .project-image img {
        max-width: 100%;
        height: auto;
    }

    .client-logo {
        object-fit: contain;
    }
}

