﻿html {
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; /* altura del header fijo */
}


body{
    font-family: "Montserrat", sans-serif;
}


.cabecera-ayuda{
    background: url(../images/1.jpg) no-repeat center center;
    background-size: cover;
    height: 190px;
}



.cabecera{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
     background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 0.8) 40%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0.5) 70%,
        rgba(255, 255, 255, 0.4) 80%,
        rgba(255, 255, 255, 0.3) 85%,
        rgba(255, 255, 255, 0.2) 90%,
        rgba(255, 255, 255, 0) 100%
    );
    padding-top: 10px;
    padding-bottom: 100px;

    transition: all 0.8s;
}
.scrolled{
    background: white;
    padding-bottom: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.logotipo{
    font-weight: bold;
    font-size: 50px;
    color: #21325e;
}
.logotipo img{
    width: 100%;
}
.logotipo a{
    color: #21325e;
    text-decoration: none;
}


nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    float: right;
    padding: 0;
}
nav ul li{
    float: left;
}
.menu{
    text-align: center;
    color: #21325e;
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
    padding: 14px 30px 14px;
}
.menu:hover{
    font-weight: bold;
}
.dosM{
    padding: 0;
}


.datos{
    font-size: 14px;
    text-align: center;
}
.datos img{
    width: 30px;
}


.efecto{
    background: url(../images/efecto.jpg) no-repeat top center;
    background-size: cover;
    padding-top: 320px;
    padding-bottom: 470px;
}

.frase strong{
    background: rgba(255, 255, 255, 0.7);
    font-size: 47px;
    line-height: 63px;
}

.btn-grad {
    background: linear-gradient(135deg, #3a4f96, #21325e, #0d172e);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 12px 24px;
    margin-top: 20px;
}

.btn-grad:hover {
    background: linear-gradient(to right, #2c4480, #21325e);
    transform: scale(1.05);
}


/* Fondo suave y corporativo */
.bg-gradient-soft {
    background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Tarjetas de servicio */
.service-card {
    background: #ffffff;
    border: 1px solid rgba(33, 50, 94, 0.08);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
    border-color: rgba(33, 50, 94, 0.20);
}

/* Contenedor de imagen con proporción fija */
.service-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;     /* Mantiene proporción moderna y limpia */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 14px;
    background: #eef1f7;
}

/* Imagen */
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.04);
}

/* Título */
.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #21325e;           /* Color corporativo solicitado */
    margin: 0;
    letter-spacing: .2px;
}


.seccion{
    background: #21325e;
    color: white;
    font-size: 22px;
    padding: 60px 40px;
}
.seccion strong{
    width: 100%;
    font-size: 30px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}


.img{
    background-size: cover;
}

.img1{background: url(../images/1.jpg) no-repeat center center;}
.img2{background: url(../images/2.jpg) no-repeat center center;}
.img3{background: url(../images/3.jpg) no-repeat center center;}
.img4{background: url(../images/4.jpg) no-repeat center center;}

.imgs1{background: url(../images/s1.jpg) no-repeat center center;}
.imgs2{background: url(../images/s2.jpg) no-repeat center center;}
.imgs3{background: url(../images/s3.jpg) no-repeat center center;}
.imgs4{background: url(../images/s4.jpg) no-repeat center center;}
.imgs5{background: url(../images/s5.jpg) no-repeat center center;}
.imgs6{background: url(../images/s6.jpg) no-repeat center center;}
.imgs7{background: url(../images/s7.jpg) no-repeat center center;}
.imgs8{background: url(../images/s8.jpg) no-repeat center center;}


.form-group{
    margin-bottom: 20px;
}


/* FOOTER */
.footer {
    background: linear-gradient(180deg, #1a2238, #12182b);
    margin: 50px 0 0 0;
}

.footer h5 {
    color: #f1f1f1;
    font-size: 1.1rem;
}

.footer-links a {
    color: #bfc7da;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer .btn-success {
    background-color: #25d366;
    border: none;
    font-weight: 600;
}

.footer .btn-success:hover {
    background-color: #1ebe5c;
}
.footer a{
    color: white;
}



@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){
    .cabecera-ayuda{
        display: none;
    }
    .cabecera{
        position: relative;
        padding-bottom: 12px;
    }
}

@media screen and (max-width:992px){
    nav{
        margin-top: 30px !important;
    }
}

@media screen and (max-width:768px){
    nav ul li{
        width: 50%;
    }
    .menu{
        font-size: 22px;
    }
    .efecto{
        padding-top: 170px;
        padding-bottom: 220px;
    }
    .img{
        height: 300px;
    }
}

@media screen and (max-width:576px){
    
}






/* ====== Beneficios (estilo visual refinado) ====== */
.beneficios .titulo-beneficios {
    color: #21325e;
    letter-spacing: .2px;
}

/* Tarjeta */
.benefit-card {
    background: #ffffff;
    border: 1px solid rgba(33, 50, 94, 0.08);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    border-color: rgba(33, 50, 94, 0.20);
}

/* Ícono circular centrado */
.icon-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a4f96, #21325e, #0d172e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(33, 50, 94, .25);
    transition: transform .3s ease;
}
.benefit-card:hover .icon-circle {
    transform: scale(1.08);
}

/* Texto */
.benefit-text {
    font-size: 1.05rem;
    color: #263248;
    line-height: 1.5;
    margin-top: 10px;
}
.benefit-text strong {
    display: block;
    font-weight: 700;
    color: #21325e;
    margin-bottom: 6px;
}

/* Responsivo */
@media (max-width: 768px) {
    .benefit-card {
        padding: 25px 20px;
    }
    .icon-circle {
        width: 90px;
        height: 90px;
    }
}







/* ====== TESTIMONIOS ====== */
.testimonios .text-muted{
    font-size: 1.05rem;
}

/* Tarjeta testimonio */
.testimonial-card{
    background: #ffffff;
    border: 1px solid rgba(33, 50, 94, 0.10);
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
}

/* Detalle superior suave */
.testimonial-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(135deg, #3a4f96, #21325e, #0d172e);
    opacity: .95;
}

.testimonial-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    border-color: rgba(33, 50, 94, 0.22);
}

.testimonial-head{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 12px;
}

.avatar{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a4f96, #21325e, #0d172e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 10px 20px rgba(33, 50, 94, .20);
    flex: 0 0 46px;
}

.meta strong{
    display: block;
    color: #21325e;
    font-size: 1.02rem;
    line-height: 1.2;
}
.meta span{
    display: block;
    color: #6b7280;
    font-size: 0.90rem;
    line-height: 1.2;
}

.testimonial-text{
    color: #263248;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

/* Footer tarjeta */
.testimonial-foot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stars{
    color: #21325e;
    font-size: 0.95rem;
    letter-spacing: 1px;
    user-select: none;
}

.tag{
    color: #21325e;
    background: rgba(33, 50, 94, 0.08);
    border: 1px solid rgba(33, 50, 94, 0.10);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Responsive ajustes */
@media (max-width: 576px){
    .testimonial-card{
        padding: 16px;
    }
    .testimonial-foot{
        flex-direction: column;
        align-items: flex-start;
    }
}