/* MEJORAS PARA MÓVIL - RESPONSIVE DESIGN OPTIMIZADO */

@media (max-width: 768px) {
    section {
        padding: 80px 20px !important;
    }

    h2 {
        font-size: 32px !important;
    }
}

@media (max-width: 480px) {
    /* Secciones */
    section {
        padding: 50px 15px !important;
    }

    /* Header */
    .container-header {
        padding: 12px 15px;
    }

    .logo {
        height: 55px;
    }

    /* Hero Section */
    .hero {
        padding: 60px 15px 50px;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .btn-primary {
        padding: 13px 28px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
        min-height: 44px;
    }

    /* Características */
    .caracteristicas {
        padding: 50px 15px;
    }

    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .caracteristica-card {
        padding: 20px;
    }

    .caracteristica-icon {
        font-size: 35px;
    }

    .caracteristica-card h3 {
        font-size: 16px;
    }

    .caracteristica-card p {
        font-size: 12px;
    }

    /* Servicios */
    .servicios,
    .nosotros,
    .contacto,
    .testimonios {
        padding: 50px 15px;
    }

    .servicios h2,
    .nosotros h2,
    .contacto h2,
    .testimonios h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .servicio-card {
        border-radius: 10px;
        padding: 0;
        overflow: hidden;
    }

    .servicio-image {
        height: 160px;
    }

    .servicio-content {
        padding: 15px;
    }

    .servicio-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .servicio-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* Misión y Visión */
    .mision-vision-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mision-vision-card {
        padding: 20px;
    }

    .mision-vision-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .mision-vision-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    .mv-icon {
        font-size: 35px;
        margin-bottom: 12px;
    }

    /* Unidades de Negocio */
    .unidades-negocio {
        padding: 0 15px;
    }

    .unidades-negocio h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .unidades-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .unidad-item {
        padding: 18px;
    }

    .unidad-item h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .unidad-item p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* Testimonios */
    .testimonios-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonio-card {
        padding: 18px;
    }

    .testimonio-header {
        gap: 12px;
        margin-bottom: 15px;
    }

    .testimonio-foto {
        width: 45px;
        height: 45px;
    }

    .testimonio-info h4 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .testimonio-info p {
        font-size: 11px;
    }

    .testimonio-stars {
        gap: 5px;
        margin-bottom: 12px;
    }

    .testimonio-stars i {
        font-size: 14px;
    }

    .testimonio-texto {
        font-size: 12px;
        line-height: 1.6;
    }

    /* Contacto */
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contacto-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        align-items: flex-start;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        min-width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .info-content h4 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .info-content p {
        font-size: 12px;
    }

    .info-content a {
        font-size: 12px;
    }

    /* Redes Sociales */
    .social-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-btn {
        padding: 10px 18px;
        font-size: 12px;
        min-height: 40px;
    }

    /* Footer */
    .footer {
        padding: 35px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 11px;
        line-height: 1.6;
    }

    .footer-section ul li {
        margin-bottom: 6px;
    }

    .footer-section a {
        font-size: 11px;
    }

    .footer-bottom {
        font-size: 10px;
        padding-top: 20px;
        margin-top: 20px;
    }

    /* Widget WhatsApp */
    .whatsapp-widget {
        width: 50px;
        height: 50px;
    }

    .whatsapp-widget img {
        width: 100%;
        height: 100%;
    }
}

/* Ultra móvil (< 360px) */
@media (max-width: 360px) {
    section {
        padding: 40px 12px !important;
    }

    .hero {
        padding: 50px 12px 40px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 12px;
    }

    h2 {
        font-size: 20px !important;
    }

    .servicio-card h3,
    .mision-vision-card h3 {
        font-size: 14px;
    }

    .servicio-card p,
    .mision-vision-card p {
        font-size: 11px;
    }
}
