#servicios-detalle{
    width: 85%;
    margin: 0 auto;
    padding: 60px 0;
}

#servicios-detalle h1{
    text-align: center;
    color: #233897;
    font-size: 42px;
    margin-bottom: 40px;
}

.intro{
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #595a63;
    margin-bottom: 50px;
}

.servicio-item{
    margin-bottom: 40px;
    padding: 25px;
    background: #f5f5f5;
    border-left: 5px solid #233897;
    border-radius: 8px;
}

.servicio-item h2{
    color: #233897;
    margin-bottom: 15px;
}

.servicio-item p{
    line-height: 1.8;
    color: #595a63;
}

.imagen-servicio{
    text-align: center;
    margin-top: 40px;
}

.imagen-servicio img{
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
    font-family: "Arial", sans-serif;
}

body{
    line-height: 1.6;
}

header{
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.barra-superior{
    background-color: #d9d9d9;
    width: 100%;
    min-height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    font-size: 15px;
    color: #666;
    font-family: Arial, sans-serif;

    padding: 10px 20px;
    box-sizing: border-box;
}

.dato{
    white-space: nowrap;
}

.logo{
    font-size: 0.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 20px;
    margin-top: 1px;
}

.nav-links a{
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-right: 1rem;
    margin-top: 1px;
}

.redes-sociales{
    display: flex;
    gap: 15px;
    margin-right: 10px;
    margin-top: 6px;

}
.btn-contacto{
    display:flex;
    gap: 15px;
    margin-right: 1px;
    background-color: #233897;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 0px;
    
}
.btn-contacto:hover{
    background-color: #1c244a;
}

.dropdown{
    position: relative;
}

.submenu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    list-style: none;
    background: white;
    min-width: 220px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.submenu li{
    width: 100%;
}

.submenu a{
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
}

.submenu a:hover{
    background-color: #233897;
    color: white;
}

.dropdown:hover .submenu{
    display: block;
}

.w{
    display: flex;
    align-items: center;
    gap: 8px;
}

.w img{
    width: 20px;
    height: 20px;
}


.whatsapp{
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.whatsapp img{
    width: 70px;
    height: 70px;
    transition: 0.3s;
}

.whatsapp img:hover{
    transform: scale(1.1);
}

#contacto{
    background-image: url("imagenes/fondo pie.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-align: center;
    color: white;

    padding: 80px 20px;
    position: relative;
}

/* Capa oscura para mejorar lectura */
#contacto::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

#contacto *{
    position: relative;
    z-index: 1;
}

#contacto h2{
    font-size: 60px;
    margin-bottom: 40px;
    font-weight: bold;
}

#contacto p{
    font-size: 28px;
    margin: 25px 0;
}

.redes{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.redes img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #000000;
    padding: 15px;
    transition: 0.3s;
}

.redes img:hover{
    transform: scale(1.1);
}

footer{
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}