*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:Arial,Helvetica,sans-serif;background:#ffffff;color:#079df4;}

header{
position:fixed;
top:0;
width:100%;
height:239px;
display:flex;
justify-content:flex-end;
align-items:center;
padding:0 30px;
z-index:1000;
}

.header-brand img{height: 200px;}

.menu-toggle{
position:fixed;
top:20px;
left:20px;
width:50px;
height: 50px;;
background:#0095ff;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:24px;
color:#fff;
cursor:pointer;
z-index:1100;
box-shadow:0 4px 10px rgba(0,0,0,.3);
}

nav{
position:fixed;
top:20px;
left:80px;
display:flex;
gap:20px;
padding:10px 20px;
background:rgba(255,255,255,0.65);
backdrop-filter:blur(8px);
border-radius:30px;
transform:translateX(-120%);
transition:transform 0.5s ease;
z-index:1050;
}

nav.active{transform:translateX(0);}
nav a{text-decoration:none;color:#0095ff;font-weight:bold;font-size:16px;white-space:nowrap;}

section{
width:100%;
min-height:100vh;
padding:100px 30px 40px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.inicio{padding:0;}

.carousel{position:absolute;inset:0;}
.carousel-track{display:flex;height:100%;transition:.8s;}
.carousel-slide{min-width:100%;}
.carousel-slide img{width:100%;height:100%;object-fit:cover;}

.overlay{
position:absolute;inset:0;
background:rgba(0,0,0,.45);
display:flex;
justify-content:center;
align-items:center;
color:#ffffff;
text-align:center;
}

.section-title{
font-size:36px;
margin-bottom:30px;
color:#05a3fe;
}
.section-title::after{
content:"";
display:block;
width:60px;
height:3px;
background:#000;
margin:10px auto 0;
}

.services-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
width:90%;
max-width:1200px;
}

.service-btn{
aspect-ratio:1/1;
background-size:cover;
background-position:center;
border:none;
color:#ffffff;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.service-btn:hover{transform:scale(1.05);}

.bg-electro{background-image:url('https://th.bing.com/th/id/OIP.-3tRbMq-mv41U7OOHj8HrwHaJ4?w=164&h=218&c=7&r=0&o=7&dpr=1.3&pid=1.7&rm=3');}
.bg-hidraulico{background-image:url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQEzeuJPyW4Z7qZjGsFS3zPQRfskj7Wz0WHcQ&s');}
.bg-montaplatos{background-image:url('https://elevadoresdeauto.com/wp-content/uploads/2024/08/3.1.E.F.png');}

.contact-box{
background:#ffffff;
padding:40px;
border-radius:8px;
max-width:500px;
width:100%;
}

.contact-box h2{text-align:center;margin-bottom:20px;}

.contact-box input,
.contact-box textarea{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #a0a0a0;
border-radius:5px;
}

.contact-box button{
width:100%;
padding:12px;
background:#1f2a36;
color:#fff;
border:none;
border-radius:5px;
font-size:16px;
cursor:pointer;
}

.contact-info{text-align:center;margin-top:15px;color:#000;}

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
color:#fff;
width:60px;
height:60px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:32px;
text-decoration:none;
z-index:2000;
}

/* ===== PÁGINAS INTERNAS CON CARRUSEL DE FONDO ===== */

.page-carousel{
    position:fixed;
    inset:0;
    z-index:-2;
    overflow:hidden;
}

.page-carousel-track{
    display:flex;
    height:100%;
    transition:transform 1s ease;
}

.page-carousel-slide{
    min-width:100%;
    height:100%;
}

.page-carousel-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* oscurece fondo para leer texto */
.page-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

/* contenido encima */
.page-content{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 30px;
}

.page-box{
    background:rgba(232, 226, 226, 0);
    padding:50px;
    border-radius:12px;
    max-width:900px;
    width:100%;
    text-align:center;
}

.page-box h1{
    margin-bottom:20px;
    color:#00a2ff;
}

/* ===== TEXTO MANTENCIÓN (ESTILO WORD) ===== */

.mantencion-lista{
    list-style:disc;
    padding-left:25px;
    margin:30px 0;
    text-align:left;
    color:#ffffff;
    font-size:17px;
    line-height:1.7;
}

.mantencion-lista li{
    margin-bottom:15px;
}

.mantencion-lista strong{
    color:#00a2ff;
}

.mantencion-texto{
    margin-top:25px;
    font-size:16px;
    line-height:1.7;
    color:#ffffff;
    text-align:justify;
}

/* ===== NOSOTROS ===== */

.nosotros-texto{
    max-width:900px;
    margin-bottom:20px;
    font-size:16px;
    line-height:1.7;
    color:#ffffff;
    text-align:justify;
}

.mision-vision{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin-top:40px;
    max-width:900px;
    width:100%;
}

.mv-box{
    background:#ffffff00;
    padding:25px;
    border-radius:6px;
}

.mv-box h3{
    margin-bottom:10px;
    color:#05a3fe;
    font-size:22px;
}

.mv-box p{
    font-size:15px;
    line-height:1.6;
    color:#ffffff;
}

/* Responsive */
@media(max-width:768px){
    .mision-vision{
        grid-template-columns:1fr;
    }
}

/* ===== NORMATIVA ===== */

.normativa-lista{
    list-style:disc;
    padding-left:25px;
    margin:30px 0;
    max-width:900px;
    color:#ffffff;
    font-size:16px;
    line-height:1.7;
}

.normativa-lista li{
    margin-bottom:15px;
}

.normativa-lista strong{
    color:#05a3fe;
}

/* --- ESTILOS DEL PIE DE PÁGINA J/G --- */
.creditos-desarrollador {
    background-color: #1a1a1a; /* Fondo negro elegante */
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    width: 100%;
    border-top: 3px solid #05a3fe; /* Línea azul que combina con el logo */
    font-family: Arial, sans-serif;
    margin-top: 40px;
}

.footer-content p {
    margin: 8px 0;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.creditos-desarrollador a {
    color: #05a3fe; /* Azul brillante para el número */
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.creditos-desarrollador a:hover {
    color: #ffffff; /* El número se vuelve blanco al pasar el mouse */
    text-decoration: underline;
}

/* Icono de WhatsApp */
.creditos-desarrollador i {
    margin-right: 5px;
    color: #25d366; /* Color verde oficial de WhatsApp */
}