/* Estilos para escritorio */
@media screen and (min-width: 769px) {
    .social-links-group {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        margin-left: auto;
    }

    .social-links {
        display: flex;
        gap: 20px;
    }
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
    /* Header */
    .header-container {
        padding: 1rem;
    }
    
    .logo img {
        width: 120px;
        height: auto;
        margin-bottom: 0.5rem;
    }
    
    .slogan {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Menú móvil */
    .menu {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .menu li {
        display: inline-block;
    }

    .menu a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: bold;
        position: relative;
        padding: 8px 15px;
        transition: all 0.3s ease;
    }

    .menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: white;
        transition: width 0.3s ease;
    }

    .menu a:hover::after {
        width: 100%;
    }

    .menu a.active,
    .menu a:hover {
        color: #e0e1dd;
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    }
    
    .main-nav.active {
        display: block;
        background: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        padding: 2rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    
    /* Sección de bienvenida */
    .welcome-section {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .welcome-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-title::after {
        width: 60px;
        height: 3px;
        margin: 15px auto;
    }
    
    .highlight-description {
        font-size: 1rem;
        padding: 0 1rem;
        text-align: center;
        line-height: 1.4;
    }
    
    /* Servicios */
    .services-highlight {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .highlight-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .highlight-description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    /* Footer */
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem 1rem;
        background-color: #2196F3;
    }

    /* Videos en móvil */
    .video-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .video-group {
        width: 100%;
        margin: 0 auto;
    }

    .horizontal-video {
        width: 145%;
        max-width: 870px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateX(-22.5%);
    }

    .controls {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .controls button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-column {
        text-align: center;
        padding: 0.8rem;
    }

    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: white;
    }

    .footer-column p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
        color: #e0e1dd;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0.5rem 0;
    }

    .footer-column li {
        margin-bottom: 0.3rem;
    }

    .footer-column a {
        color: #e0e1dd;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-column a:hover {
        color: white;
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    }

    .social-links-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
        padding: 0.4rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .social-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    }

    .social-link img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .turnos-previos {
        color: #FFA500;
        font-weight: bold;
        margin-top: 0.6rem;
        font-size: 0.9rem;
    }
    
    /* WhatsApp flotante */
    .whatsapp-float {
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .whatsapp-float a {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #25D366;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
    }
    
    .whatsapp-float a:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }
    
    .whatsapp-float img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }
}
