/* ============================================================
   CONSULTORIA.CSS - DMCS E-SERVICES (VERSIÓN FINAL 1600PX)
   ============================================================ */

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

body {
    background-color: #000;
    /* Luz en 0.4 para resaltar consultoriabody.jpg */
    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 {
    /* Identidad visual con fondo.jpg */
    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 rgba(10, 239, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* CARRUSEL PARA 5 FOTOS */
.carousel {
    width: 100%; height: 200px; overflow: hidden; border-radius: 12px;
    margin-bottom: 20px; border: 1px solid rgba(10, 239, 255, 0.2);
}
.slides { display: flex; width: 500%; height: 100%; animation: slideConsult 20s infinite ease-in-out; }
.slide { width: 20%; height: 100%; object-fit: cover; }

@keyframes slideConsult {
    0%, 15% { transform: translateX(0); }
    20%, 35% { transform: translateX(-20%); }
    40%, 55% { transform: translateX(-40%); }
    60%, 75% { transform: translateX(-60%); }
    80%, 95% { transform: translateX(-80%); }
    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 UNIFICADO A 1600PX */
@media (min-width: 1024px) {
    body { background-size: 1600px auto; }
}
@media (max-width: 768px) {
    body { background-size: 1600px auto; background-attachment: scroll; }
}

