.borderojo{
    border: 2px solid red;
}

.titulo-secundario{
    font-family: "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 22px;
}

.titulo-principal{
    font-family: "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 76px;    
}

.encabezado-principal_menu{
    padding: 3rem;
    background: #091E3E; /* bg-dark */
}

.service-card{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    height: 330px; /* mismo alto aproximado que las tarjetas vecinas */
}

.service-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.service-card:hover img{
    transform: scale(1.05);
}

.service-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    /* ocupa el 40% inferior */
    height: 30%;

    padding: 15px;

    /* Negro con 70% de opacidad */
    background: rgba(0, 0, 0, 0.6);


    color: #fff;

    /* importante */
    box-sizing: border-box;
    overflow: hidden;

    /*display: flex;*/
    flex-direction: column;
    justify-content: flex-end;
}

.service-category{
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.service-overlay h3{
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
}

.service-overlay hr{
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.5);
    margin: 5px 0;
}

.service-overlay p{
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

/* Botón oculto inicialmente */
.btn-vermas{
    position: absolute;
    bottom: 10px;
    right: 20px;

    background: #06A3DA;
    color: #fff;

    padding: 5px 18px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    border-radius: 5px;

    opacity: 0;
    transform: translateY(15px);

    transition: all 0.4s ease;
}

.service-card:hover .btn-vermas{
    opacity: 1;
    transform: translateY(0);
}

.btn-vermas:hover{
    background: #0b8cc2;
    color: #fff;
}



/* *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{

    background:#f8f8f8;

} */


/***************
SECCION
****************/

.servicio{

    width:90%;
    max-width:1400px;
    margin:100px auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;

}


.servicio.reverse{

    flex-direction:row-reverse;

}



.imagen{

    flex:1;

}


.imagen img{

    width:100%;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);

}


.contenido{

    flex:1;

}

.contenido p{

    text-align:justify;
    line-height: 20px;

}

.contenido ul{
    margin-top:30px;
    padding:0;
}

.contenido ul li{

    list-style:none;
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:18px;
    font-size:18px;
    line-height:1.6;
    color:#444;

}

.contenido ul li i{

    color:#e31c24;
    font-size:20px;
    margin-top:4px;
    flex-shrink:0;
    width:24px;
    text-align:center;

}


.subtitulo{

    color:#d82128;
    font-size:20px;

}


h2{

    margin:20px 0;
    font-size:52px;
    color:#222;

}


p{

    color:#666;
    line-height:30px;
    font-size:18px;

}


ul{

    margin-top:30px;

}


ul li{

    list-style:none;
    margin:6px 0;
    font-size:18px;
    color:#444;

}


ul li i{

    color:#d82128;
    margin-right:10px;

}


.boton{

    display:inline-block;
    margin-top:35px;
    padding:18px 45px;
    background:#d82128;
    color:white;
    text-decoration:none;
    border-radius:40px;
    transition:.3s;

}


.boton:hover{

    background:#b80000;

}


/****************************
ANIMACIONES
****************************/

.fade-right{

    opacity:0;
    transform:translateX(120px);
    transition:1.1s;

}


.fade-left{

    opacity:0;
    transform:translateX(-120px);
    transition:1.1s;

}


.show{

    opacity:1;
    transform:translateX(0);

}



/*=========================
TITULO GENERAL
=========================*/

.titulo-seccion{

    width:90%;
    max-width:1100px;
    margin:80px auto 40px;
    text-align:center;

}

.subtitulo-general{

    display:inline-block;
    color:#ff6600;
    font-size:26px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:15px;

}

.texto-naranja {

    color:#ff6600 !important;

}

.bg-naranja{

    background:#ff6600 !important;

}

.titulo-seccion h1{

    font-size:48px;
    color:#13294B;
    margin-bottom:25px;
    font-weight:700;

}

.titulo-seccion p{
    font-size:18px;
    color:#666;
    line-height:26px;
    max-width:900px;
    margin:auto;
    text-align: justify;
}

/* Animación desde abajo */

.fade-up{

    opacity:0;
    transform:translateY(60px);
    transition:1s;

}

.fade-up.show{

    opacity:1;
    transform:translateY(0);

}


/*=========================
BOTÓN FLOTANTE
==========================*/

.boton-flotante{

    position:fixed;
    right:30px;
    bottom:30px;
    z-index:9999;
    display:flex;
    align-items:center;
    gap:12px;
    background:#e31c24;
    color:#fff;
    padding:18px 28px;
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:.35s;

}

.boton-flotante:hover{

    background:#c5161d;
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.boton-flotante i{

    font-size:20px;

}

.w-50 a img{
    border-radius:20px;
    transition:all .3s ease;
}

.w-50 a img:hover{
    transform:scale(1.03);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.boton-brochure{
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #f59e0b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    transition: .3s;
}

.boton-brochure:hover{
    background: #e68900;
    transform: translateY(-2px);
}



/*********************
CELULAR
**********************/

@media(max-width:991px){

    .servicio{
        flex-direction:column;
        text-align:center;
    }

    .servicio.reverse{
        flex-direction:column;
    }

    h2{
        font-size:38px;
    }

    .boton-flotante{

        right:15px;
        left:15px;
        bottom:20px;
        justify-content:center;
        font-size:16px;
        padding:15px;

    }

    .encabezado-principal_menu{
        padding: 1rem;      /* equivalente a p-3 */
        background: #fff;   /* blanco */
    }


}

@media (max-width: 767.98px){
    .encabezado-principal_menu{
        padding: 1rem;      /* equivalente a p-3 */
        background: #fff;   /* blanco */
    }
}