/* ============================================================
   REDES.CSS - DMCS E-SERVICES (ESTRUCTURA FORZADA)
   ============================================================ */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/consultoriabody.jpg');
    background-size: 1600px auto; 
    background-position: center center; 
    background-repeat: repeat; 
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #0AEFFF;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #0AEFFF; object-fit: cover; }
.header-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.brand { color: #0AEFFF; font-weight: 800; text-transform: uppercase; font-size: 1rem; }

.nav-volver {
    color: #0AEFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    border: 1px solid #0AEFFF;
    padding: 3px 12px;
    border-radius: 4px;
    transition: 0.3s;
    background: rgba(10, 239, 255, 0.1);
}
.nav-volver:hover { background: #0AEFFF; color: #000; }

.main-container { padding: 40px 20px; display: flex; justify-content: center; }

.content-card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid #0AEFFF;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(10, 239, 255, 0.1);
}

/* CARRUSEL FORZADO - ACEPTA IMÁGENES GRANDES */
.carousel {
    width: 100%; 
    height: 350px; 
    overflow: hidden; 
    border-radius: 12px;
    margin-bottom: 20px; 
    border: 1px solid rgba(10, 239, 255, 0.2);
    background-color: #000;
}

.slides { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    animation: slideRedes 12s infinite linear; 
}

.slide { 
    width: 33.333%; 
    height: 100%; 
    /* Cambiado a cover para que llene siempre el espacio y no se trabe */
    object-fit: cover; 
}

@keyframes slideRedes {
    0%, 30% { transform: translateX(0); }
    35%, 65% { transform: translateX(-33.333%); }
    70%, 95% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}

h1 { color: #0AEFFF; font-size: 1.8rem; margin-bottom: 15px; text-align: center; }
p { margin-bottom: 20px; text-align: center; color: #e0e0e0; }

.nota-tecnica {
    font-size: 0.9rem;
    border-left: 3px solid #0AEFFF;
    padding-left: 10px;
    margin: 20px 0;
    text-align: left;
    background: rgba(10, 239, 255, 0.05);
    padding: 10px;
}

.btn-consulta {
    display: block; background: #0AEFFF; color: #000; text-align: center;
    padding: 15px; border-radius: 10px; text-decoration: none; font-weight: 800; transition: 0.3s;
}
.btn-consulta:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(10, 239, 255, 0.3); }

/* RESPONSIVO */
@media (min-width: 1024px) { body { background-size: 1600px auto; } }
@media (max-width: 768px) { 
    body { background-size: 1600px auto; background-attachment: scroll; } 
    .carousel { height: 220px; }
}