/* ==========================================
   MULTISERVICIOS VIP
   STYLE.CSS
   ========================================== */

:root{

    --azul:#0F3D91;
    --azul-oscuro:#0B204A;
    --turquesa:#00A8B5;
    --verde:#28C76F;

    --blanco:#FFFFFF;
    --gris:#F5F8FA;

    --texto:#334155;

}

/* ==========================================
   RESET
   ========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color:var(--texto);

    background:var(--blanco);

    line-height:1.6;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

/* ==========================================
   CONTENEDOR
   ========================================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;
}

/* ==========================================
   HEADER
   ========================================== */

.header{

    background:var(--azul);

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:
        0 4px 15px rgba(0,0,0,.15);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
}

/* ==========================================
   LOGO
   ========================================== */

.logo{

    color:white;

    font-size:1.8rem;

    font-weight:700;

    white-space:nowrap;

}
.logo img{
    height:50px;
    width:auto;
    display:flex;
    flex-direction: row;
    padding-left: 0%;
}


/* ==========================================
   MENU
   ========================================== */

.navbar{

    display:flex;

    align-items:center;

    gap:8px;

    flex:1;

    justify-content:flex-end;

}

.navbar a{

    color:white;

    padding:12px 18px;

    border-radius:8px;

    font-weight:600;

    transition:0.3s;
}

.navbar a:hover{

    background:var(--turquesa);

    color:white;
}

/* ==========================================
   HERO SLIDER
========================================== */

.hero-slider{
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
}

/* Slides */

.slider{
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 40px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    visibility: hidden;

    transition: opacity 1s ease;
}

/* Slide visible */

.slider.active{
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ==========================================
   FONDOS DE LAS DIAPOSITIVAS
========================================== */

.hero-slider .slider:nth-child(1){
    background:
        linear-gradient(
            rgba(15, 61, 145, .75),
            rgba(11, 32, 74, .75)
        ),
        url('../img/slide1.jpg');

    background-size: cover;
    background-position: center;
}

.hero-slider .slider:nth-child(2){
    background:
        linear-gradient(
            rgba(15, 61, 145, .75),
            rgba(11, 32, 74, .75)
        ),
        url('../img/slide2.jpg');

    background-size: cover;
    background-position: center;
}

.hero-slider .slider:nth-child(3){
    background:
        linear-gradient(
            rgba(15, 61, 145, .75),
            rgba(11, 32, 74, .75)
        ),
        url('../img/slide3.jpg');

    background-size: cover;
    background-position: center;
}

/* ==========================================
   CONTENIDO DEL HERO
========================================== */

.hero-content{
    max-width: 1200px;
    margin: auto;
    color: #fff;
    z-index: 2;
}

.hero-content h2{
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 5rem);
    margin-bottom: 20px;

    text-shadow:
        2px 2px 10px rgba(0,0,0,.3);
}

.hero-content p{
    font-size: 1.3rem;
    margin-bottom: 25px;

    text-shadow:
        2px 2px 10px rgba(0,0,0,.3);
}


/* ==========================================
   BOTON
   ========================================== */

.btn{

    display:inline-block;

    background:var(--verde);

    color:white;

    padding:15px 30px;

    border-radius:10px;

    font-weight:bold;

    transition:0.3s;
}

.btn:hover{

    transform:translateY(-3px);

    background:#24b764;
}

/* ==========================================
   SECCIONES
   ========================================== */

.section{

    padding:80px 0;
}

.section h2{

    text-align:center;

    font-size:2.5rem;

    color:var(--azul-oscuro);

    margin-bottom:20px;
}

.section p{

    text-align:center;

    max-width:800px;

    margin:auto;
}

/* ==========================================
   SERVICIOS
   ========================================== */

.grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:40px;
}

.card{

    background:white;

    padding:35px;

    border-radius:15px;

    text-align:center;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);

    transition:0.3s;
}

.card:hover{

    transform:translateY(-6px);

    border-top:4px solid var(--turquesa);
}

/* ==========================================
   CLIENTES
   ========================================== */

#clientes{

    background:var(--gris);
}

/* ==========================================
   PLANES
   ========================================== */

#planes{

    background:white;
}

/* ==========================================
   PROYECTOS
   ========================================== */

#proyectos{

    background:var(--gris);
}

/* ==========================================
   NOSOTROS
========================================== */

.nosotros-intro{
    max-width:900px;
    margin:0 auto 50px;
}

.nosotros-intro h3{
    color:var(--azul);
    text-align:center;
    margin-bottom:20px;
}

.nosotros-intro p{
    text-align:justify;
    margin-bottom:15px;
    line-height:1.8;
}

.mision-vision{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin:40px 0;
}
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .navbar{
        display:none;
    }

    .navbar.active{
        display:flex;
        flex-direction:column;
        width:100%;
        margin-top:15px;
    }

    .logo img{
        height:50px;
    }

    .mision-vision{
        grid-template-columns:1fr;
    }

    .hero-electricidad h2{
        font-size:2.8rem;
    }

    .hero-electricidad p{
        font-size:1.1rem;
    }

}
.mision,
.vision{
    background:#ffffff;
padding:30px;
border-radius:15px;
border-left:5px solid var(--azul);
box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.mision h3,
.vision h3{
    color:var(--azul);
    margin-bottom:15px;
    text-align:center;
}

.mision p,
.vision p{
    text-align:justify;
    line-height:1.8;
}

.valor{
    background:var(--azul);
    color:white;
    text-align:center;
    padding:12px 20px;
    border-radius:10px;
    margin:10px auto;
    max-width:300px;
    font-weight:600;
    transition:.3s;
}

.valor:hover{
    transform:translateY(-3px);
}

.porque{
    margin-top:50px;
}

.porque h3{
    text-align:center;
    color:var(--azul);
    margin-bottom:25px;
}

/* ==========================================
   CONTACTO
   ========================================== */

form{

    max-width:700px;

    margin:40px auto 0;

    display:flex;

    flex-direction:column;

    gap:15px;
}
.contacto-texto{
max-width:700px;
margin:0 auto 40px;
text-align:center;
color:var(--texto);
font-size:1.1rem;
line-height:1.8;
}
input,
textarea{

    padding:15px;

    border:1px solid #d5dbe1;

    border-radius:10px;

    font-size:1rem;
}
select{
    padding:15px;
    border:1px solid #d5dbe1;
    border-radius:10px;
    font-size:1rem;
}
textarea{

    min-height:180px;

    resize:vertical;
}

button{

    background:var(--azul);

    color:white;

    border:none;

    padding:15px;

    border-radius:10px;

    cursor:pointer;

    transition:0.3s;
}

button:hover{

    background:var(--turquesa);
}

/* ==========================================
   DROPDOWN SERVICIOS
   ========================================== */

.dropdown{
    position:relative;
}

.dropdown-content{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    width:280px;

    background:#FFFFFF;

    border-top:4px solid #28C76F;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    overflow:hidden;

    z-index:999;

}

.dropdown-content a{

    display:flex;

    align-items:center;

    width:100%;

    padding:15px 20px;

    color:#0B204A;

    font-weight:600;

    border-bottom:1px solid #edf2f7;

    background:#FFFFFF;

}

.dropdown-content a:last-child{

    border-bottom:none;

}

.dropdown-content a:hover{

    background:#0F3D91;

    color:#FFFFFF;

}

.dropdown:hover .dropdown-content{

    display:block;

}
/* ==========================================
   BOTON CABECERA
   ========================================== */

.btn-header{

    background:#28C76F;

    color:#FFFFFF !important;

    padding:12px 20px;

    border-radius:10px;

    font-weight:700;

    transition:.3s ease;

}

.btn-header:hover{

    background:#1fb45f !important;

    transform:translateY(-2px);

}
/* ==========================================
   MENU HAMBURGUESA
   ========================================== */

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:2rem;

    cursor:pointer;
    margin-right:15px;

}

/* ==========================================
   MODAL CLIENTES
   ========================================== */

.modal{
    display:none;
    position:fixed;
    z-index:9999;
    inset:0;
    background:rgba(0,0,0,.7);
}

.modal-content{
    background:#FFFFFF;
    width:90%;
    max-width:450px;
    margin:10% auto;
    padding:30px;
    border-radius:15px;
    text-align:center;
    position:relative;
}

.modal-content h2{
    color:#0F3D91;
    margin-bottom:15px;
}

.modal-content p{
    margin-bottom:20px;
}
.cerrar{
    position:absolute;
    right:20px;
    top:15px;
    font-size:30px;
    cursor:pointer;
    color:#0B204A;
}
/* ==========================================
   footer
   ========================================== */
.footer{
    background:#0B204A;
    color:white;
    padding:50px 20px;
    text-align:center;
}

.footer h3{
    margin-bottom:15px;
}

.footer p{
    margin-bottom:10px;
}
/* ==========================================
   WHATSAPP
   ========================================== */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    z-index:9999;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

.whatsapp:hover{
    transform:scale(1.1);
}
/* ==========================================
   HERO ELECTRICIDAD
   ========================================== */

.hero-electricidad{

    height:70vh;

    min-height:600px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    background:
    linear-gradient(
        rgba(15,61,145,.80),
        rgba(11,32,74,.80)
    ),
    url('../img/electricidad-hero.jpg');

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;
}

.hero-electricidad .hero-content{
    width: 100%;
    max-width:1000px;

    color:white;

    padding:20px 35px;
}

.hero-electricidad h2{

    font-size:clamp(2rem, 6vw, 4rem);

    color:white;

    margin-bottom:20px;

    text-shadow:
        2px 2px 10px rgba(0,0,0,.30);
}

.hero-electricidad p{

    font-size:1.4rem;

    color:white;

    text-shadow:
        2px 2px 10px rgba(0,0,0,.30);
}
@media(max-width:768px){

    .hero-electricidad h2{

       font-size:1.8rem;
line-height:1.2;
    }

    .hero-electricidad p{

        font-size:1.1rem;
    }

    .dropdown-content{
position:static;
width:100%;
box-shadow:none;
border-radius:0;
}

}
/* ==========================================
   RESPONSIVE
========================================== */
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .navbar{
        display:none;
    }

    .navbar.active{
        display:flex;
        flex-direction:column;
        width:100%;
        margin-top:15px;
    }

    .logo img{
        height:50px;
    }
}
