#servicios-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Fondo muy claro sobre la isla */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 5000; display: none; opacity: 0;
    transition: opacity 0.6s ease;
    flex-direction: column; align-items: center; justify-content: center;
}

.servicios-header { 
    width: 100%; /* Garantiza que el centrado sea sobre toda la pantalla */
    text-align: center; 
    margin-bottom: 80px; /* Aumentamos el espacio para que la sección respire */
    padding: 0 20px;
}

.servicios-header h1 { 
    font-size: 48px; /* Un poco más grande para imponer autoridad */
    color: #9966ff; 
    font-weight: 900; 
    margin-bottom: 15px; /* Espacio entre el título y el subtítulo */
}

.servicios-header p {
    font-size: 18px;
    color: #555;
    margin-bottom: 0; /* Evitamos márgenes extraños aquí */
}

.servicios-container {
    display: flex; gap: 25px; max-width: 1100px; width: 95%;
    justify-content: center;
}

.servicio-card {
    background: #fff; /* Volvemos al blanco sólido: limpieza total */
    border-radius: 40px; 
    padding: 45px 30px; 
    width: 330px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Sombra muy suave */
    transition: all 0.4s ease;
    text-align: center;
}

.servicio-card:hover {
    transform: translateY(-15px); /* Elevación sutil */
    box-shadow: 0 25px 50px rgba(153, 102, 255, 0.15); /* Brillo morado discreto */
}

.card-icon { font-size: 45px; margin-bottom: 25px; }

.servicio-card h3 { 
    font-size: 22px; 
    color: #1a1a1a; 
    margin-bottom: 15px; 
    font-weight: 900; 
}

.servicio-card p { 
    font-size: 15px; 
    line-height: 1.6; 
    color: #555; 
    margin-bottom: 25px; 
}

.lista-servicios { list-style: none; padding: 0; }
.lista-servicios li { 
    font-size: 13px; 
    color: #888; 
    padding: 8px 0; 
    border-top: 1px solid #f0f0f0; 
    font-weight: 700;
}
/* --- RESPONSIVIDAD SERVICIOS ONCLIP (MEJORADA) --- */
@media (max-width: 768px) {
    #servicios-layer {
        padding: 90px 15px 40px !important; /* Más espacio arriba para el botón VOLVER */
        justify-content: flex-start !important; 
        overflow-y: auto; 
    }

    .servicios-header {
        margin-bottom: 40px !important; /* Espacio controlado entre el título y las tarjetas */
    }

    .servicios-header h1 {
        font-size: 30px !important; /* Tamaño legible que no se corta */
        margin-bottom: 10px !important;
    }

    .servicios-header p {
        font-size: 16px !important;
        padding: 0 10px; /* Evita que el texto toque los bordes */
    }

    .servicios-container {
        flex-direction: column !important; 
        align-items: center !important;
        gap: 25px !important; /* Espacio entre cada tarjeta */
        width: 100% !important;
    }

    .servicio-card {
        width: 90% !important; /* Dejamos un margen pequeño a los lados */
        max-width: 350px !important;
        padding: 35px 20px !important;
        margin: 0 auto;
    }

    .servicio-card h3 {
        font-size: 20px !important;
    }

    .servicio-card p {
        font-size: 14px !important; /* Texto un poco más pequeño para que quepa todo */
    }
}