/* ============================================================
   WEB.CSS - DMCS E-SERVICES (PRUEBA UNIFICADA 1600PX)
   ============================================================ */

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

body {
    background-color: #000;
    /* Luz en 0.4 y webbody.jpg a 1600px de base */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/webbody.jpg');
    background-size: 1600px auto; 
    background-position: center top; 
    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 rgba(10, 239, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.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: 600%; height: 100%; animation: slideWeb 24s infinite ease-in-out; }
.slide { width: 16.666%; height: 100%; object-fit: cover; }

@keyframes slideWeb {
    0%, 13% { transform: translateX(0); }
    16%, 29% { transform: translateX(-16.666%); }
    33%, 46% { transform: translateX(-33.333%); }
    50%, 63% { transform: translateX(-50%); }
    66%, 79% { transform: translateX(-66.666%); }
    83%, 96% { transform: translateX(-83.3333%); }
    100% { transform: translateX(0); }
}

h1 { color: #0AEFFF; font-size: 1.8rem; margin-bottom: 15px; text-align: center; }
p { margin-bottom: 30px; text-align: center; color: #e0e0e0; }
.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 MOBILE VS DESKTOP - PRUEBA 1600PX UNIFICADA */
@media (min-width: 1024px) {
    body { 
        background-size: 1600px auto; 
    }
}

@media (max-width: 768px) {
    body { 
        /* Probando 1600px también en celular */
        background-size: 1600px auto; 
        background-attachment: scroll; 
    }
}

