/*=====================================================
SERVICIOS
======================================================*/

.services{

    padding:100px 8%;

    background:#f5f8fc;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:#D71920;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.section-title h2{

    font-size:42px;

    color:#005EB8;

    margin:20px 0;

}

.section-title p{

    max-width:800px;

    margin:auto;

    color:#666;

    line-height:30px;

    font-size:18px;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.service-card{

    background:#ffffff;

    border-radius:20px;

    padding:40px;

    text-align:center;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:#D71920;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.icon{

    width:90px;

    height:90px;

    margin:auto;

    background:#005EB8;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:30px;

}

.icon i{

    color:white;

    font-size:38px;

}

.service-card h3{

    color:#005EB8;

    margin-bottom:20px;

    font-size:24px;

}

.service-card p{

    color:#666;

    line-height:30px;

    margin-bottom:35px;

}

.btn-service{

    display:inline-block;

    padding:14px 30px;

    background:#D71920;

    color:white;

    border-radius:8px;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

}

.btn-service:hover{

    background:#005EB8;

}

/*=====================================================
RESPONSIVE
======================================================*/

@media(max-width:1100px){

.services-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.services{

padding:80px 6%;

}

.section-title h2{

font-size:34px;

}

.section-title p{

font-size:16px;

}

.services-grid{

grid-template-columns:1fr;

}

.service-card{

padding:35px 25px;

}

}

/*=====================================================
CTA
======================================================*/

.cta{

    position:relative;

    padding:120px 8%;

    background:url("../img/cta-bg.webp") center center/cover no-repeat;

    text-align:center;

    overflow:hidden;

}

.cta-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,54,108,.90),
        rgba(0,54,108,.88)
    );

}

.cta-content{

    position:relative;

    z-index:2;

    max-width:900px;

    margin:auto;

    color:white;

}

.cta-content span{

    display:inline-block;

    color:#ffcb05;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:20px;

}

.cta-content h2{

    font-size:48px;

    margin-bottom:25px;

    line-height:1.2;

}

.cta-content p{

    font-size:19px;

    line-height:34px;

    margin-bottom:45px;

    color:#f5f5f5;

}

/*==============================
BOTONES
==============================*/

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.btn-primary{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:18px 36px;

    background:#D71920;

    color:white;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.btn-primary:hover{

    background:#b8141a;

    transform:translateY(-4px);

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:18px 36px;

    border:2px solid white;

    color:white;

    text-decoration:none;

    border-radius:10px;

    font-weight:600;

    transition:.35s;

}

.btn-secondary:hover{

    background:white;

    color:#005EB8;

    transform:translateY(-4px);

}

/*=====================================================
RESPONSIVE CTA
======================================================*/

@media(max-width:768px){

.cta{

padding:90px 6%;

}

.cta-content h2{

font-size:34px;

}

.cta-content p{

font-size:17px;

line-height:30px;

}

.cta-buttons{

flex-direction:column;

align-items:center;

display:flex;

justify-content:center;

align-items:center;

gap:25px;

margin-top:50px;

margin-bottom:20px;

flex-wrap:wrap;

}

.btn-primary,
.btn-secondary{

width:100%;

max-width:320px;

justify-content:center;

}

}

/*==========================================
BOTÓN WHATSAPP
==========================================*/

.btn-whatsapp{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    margin-top:20px;

	margin-bottom:20px;
	
	padding:18px 38px;

    background:#25D366;

    color:#ffffff;

    text-decoration:none;

    font-size:17px;

    font-weight:600;

    border-radius:50px;

    transition:all .35s ease;

    box-shadow:0 12px 30px rgba(37,211,102,.35);

}

.btn-whatsapp i{

    font-size:24px;

}

.btn-whatsapp:hover{

    background:#1EBE5B;

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(37,211,102,.45);

}

.btn-whatsapp:active{

    transform:translateY(-2px);

}

@media(max-width:768px){

.btn-whatsapp{

    width:100%;

    max-width:340px;

    margin-top:140px;
	
	margin-bottom:140px;
	
	margin:auto;

    padding:16px 25px;

    font-size:16px;
	
	padding:18px 40px;

    border-radius:50px;

	animation:pulseWhatsApp 2.5s infinite;
}

}

@keyframes pulseWhatsApp{

    0%{

        box-shadow:0 0 0 0 rgba(37,211,102,.55);

    }

    70%{

        box-shadow:0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(37,211,102,0);

    }

}