/* PRINCIPAL CSS */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#fff;
    color:#111;
}

.container{width:90%;
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:0 10px;
}





/* NAV */
nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo img{
    height: 50px;
    width:auto;
    object-fit:contain;
    margin-left:-10px;
}

.nav-btn{
    background:#2563EB;
    color:#fff;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
}





/* HERO */
.hero{
    padding:10px 0;
    text-align:center;
}

.hero-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;gap:40px;
    gap:40px;
    flex-wrap:wrap;
}

.hero-text{
flex:1;
animation:fadeUp 0.8s ease forwards;
opacity:0;
}

.hero-img{
flex:1;
text-align:center;
}

.hero-img img{
max-width:100%;
height:auto;
border-radius:20px;
box-shadow:0 15px 40px rgba(37,99,235,0.2);
}

.hero h1{
font-size:3rem;
margin-bottom:20px;
}

.hero span{
color:#2563EB;
}

.hero p{
color:#555;
font-size:1.2rem;
margin-bottom:30px;
}

.btn{
padding:14px 24px;
border-radius:8px;
text-decoration:none;
display:inline-block;
margin:5px;
transition:all .2s ease;
position:relative;
overflow:hidden;
}

.btn-primary{
background:#2563EB;
color:#fff;
box-shadow:0 5px 15px rgba(37,99,235,0.3);
}

.btn-secondary{
border:2px solid #2563EB;
color:#2563EB;
}





/* SERVICES */
.services{
padding:40px 0;
}

.services h2{
text-align:center;
margin-bottom:40px;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.card{
background:#ffffff;
border:1px solid #eee;
padding:30px 25px;
border-radius:16px;
text-align:center;
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.08);
border-color:#2563EB;
transform:scale(1.1);
transition:.3s;
}

.card h3{
margin-bottom:10px;
font-size:1.1rem;
}

.card p{
font-size:0.95rem;
color:#555;
}





/* ABOUT */
.about{
padding:80px 0;
text-align:center;
}

.about-flex{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
flex-wrap:wrap;
}

.about-box{
flex:1;
background:#f9f9f9;
padding:30px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.about-box h2{
margin-bottom:15px;
}

.about-box p{
text-align:justify;
line-height:1.6;
color:#555;
}

.about-img{
flex:1;
text-align:center;
}

.about-img img{
max-width:100%;
border-radius:20px;
box-shadow:0 15px 40px rgba(37,99,235,0.2);
}





/* BENEFITS */
.benefits{
background:#f5f7fb;
padding:80px 0;
}

.benefits h2{
text-align:center;
margin-bottom:20px;
}

.benefits-sub{
text-align:center;
color:#555;
margin-bottom:40px;
}

.benefits-list{
max-width:800px;
margin:auto;
display:flex;
flex-direction:column;
gap:25px;
}

.benefit-item{
display:flex;
align-items:flex-start;
gap:15px;
}

.benefit-item span{
font-size:1.8rem;
}

.benefit-item h3{
margin-bottom:5px;
font-size:1.1rem;
}

.benefit-item p{
color:#555;
font-size:0.95rem;
}





/* PROCESS */
.process{
padding:80px 0;
}

.process h2{
text-align:center;
margin-bottom:20px;
}

.process-sub{
text-align:center;
color:#555;
margin-bottom:50px;
}

.process-line{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:20px;
position:relative;
}

.process-line::before{
content:"";
position:absolute;
top:25px;
left:0;
width:100%;
height:2px;
background:#e5e7eb;
z-index:0;
}

.process-step{
text-align:center;
position:relative;
z-index:1;
flex:1;
}

.circle{
width:50px;
height:50px;
border-radius:50%;
background:#2563EB;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 15px;
font-weight:bold;
}

.process-step h3{
margin-bottom:5px;
}

.process-step p{
font-size:0.9rem;
color:#555;
max-width:200px;
margin:auto;
}





/* CTA */
.cta{
background:linear-gradient(135deg,#0A1F44,#2563EB);
color:#fff;
text-align:center;
padding:100px 20px;
}

.cta-sub{
margin-bottom:30px;
color:#dbeafe;
}





/* FORM */
.contact-form{
max-width:500px;
margin:0 auto;
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{
padding:12px;
border:none;
border-radius:8px;
outline:none;
font-family:inherit;
}

.contact-form textarea{
min-height:120px;
resize:none;
}

.contact-form button{
background:#fff;
color:#2563EB;
padding:14px;
border:none;
border-radius:8px;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.contact-form button:hover{
background:#e5e7eb;
}





/* WHATS BUTTON CTA */
.whatsapp-btn{
display:inline-block;
margin-top:10px;
background:#25D366;
color:#fff;
padding:12px 20px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:.2s ease;
box-shadow:0 5px 15px rgba(37,211,102,0.4);
}

.whatsapp-btn:hover{
transform:scale(1.07);
}





/* FLOAT WHATSAPP */
.whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
color:#fff;
padding:14px 16px;
border-radius:50%;
font-size:20px;
text-decoration:none;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}





/* FOOTER */
footer{
text-align:center;
padding:30px;
font-size:.9rem;
color:#777;
}





/* ANIMATIONS */
.fade{
opacity:0;
transform:translateY(20px);
transition:.6s;
}

.fade.show{
opacity:1;
transform:translateY(0);
}





/* RESPONSIVE */
@media(max-width:768px){

.hero-flex{
flex-direction:column;
text-align:center;
}

.about-flex{
flex-direction:column;
text-align:center;
gap:40px;
}

.process-line{
flex-direction:column;
gap:40px;
}

.process-line::before{
display:none;
}

}





/* FOOTER */
.footer{
background:#0A1F44;
color:#fff;
padding:60px 20px 20px;
}

.footer-content{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:30px;
margin-bottom:30px;
}

.footer h3,
.footer h4{
margin-bottom:10px;
}

.footer p{
color:#cbd5f5;
font-size:0.95rem;
}





/* LINKS */
.footer-links a{
display:block;
color:#cbd5f5;
text-decoration:none;
margin-bottom:5px;
transition:.2s;
}

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





/* BOTTOM */
.footer-bottom{
border-top:1px solid rgba(255,255,255,0.1);
padding-top:15px;
text-align:center;
font-size:0.85rem;
color:#aaa;
}





/* RESPONSIVE */
@media(max-width:768px){

.hero-flex{
flex-direction:column;
text-align:center;
}

.about-flex{
flex-direction:column;
text-align:center;
gap:40px;
}





/* FIX SOLO DEL PROCESS */
.process-line{
flex-direction:column;
align-items:center;
gap:50px;
}

.process-step{
max-width:300px;
text-align:center;
}

.process-line::before{
display:none;
}

.circle{
margin:0 auto 15px;
}

}





/* NAVBAR PRO */
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;
position:sticky;
top:0;
background:#fff;
z-index:1000;
}





/* botón */
.nav-btn{
background:#2563EB;
color:#fff;
padding:10px 20px;
border-radius:8px;
text-decoration:none;
font-weight:500;
transition:.2s ease;
}





/* hover más pro */
.nav-btn:hover{
transform:translateY(-2px);
box-shadow:0 5px 15px rgba(37,99,235,0.3);
}

.icon{
width:40px;
height:40px;
margin-bottom:15px;
color:#2563EB;
stroke-width:1.5;
}

.benefit-icon{
width:30px;
height:30px;
color:#2563EB;
flex-shrink:0;
margin-top:5px;
}

.nav-inner{
display:flex;
justify-content:space-between;
align-items:center;
}

.btn:hover{
transform:scale(1.05);
}

.btn-primary:hover{
box-shadow:0 10px 25px rgba(37,99,235,0.4);
}

.btn-secondary:hover{
background:#2563EB;
color:#fff;
}

.hero-text h1{
animation:fadeUp 0.8s ease forwards;
animation-delay:0.2s;
opacity:0;
}

.hero-text p{
animation:fadeUp 0.8s ease forwards;
animation-delay:0.4s;
opacity:0;
}

.hero-text .btn{
animation:fadeUp 0.8s ease forwards;
animation-delay:0.6s;
opacity:0;
}





/* keyframes */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.btn::after{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
transition:.5s;
}

.btn:hover::after{
left:100%;
}

.hero span{
color:#2563EB;
animation:fadeUp 1s ease forwards;
animation-delay:0.3s;
opacity:0;
}

a[href^="tel"]{
color:inherit;
text-decoration:none;
}

@media(max-width:768px){.footer-content{
        flex-direction:column;
        align-items:center; /* 🔥 centra TODO */
        text-align:center;
        gap:25px;
    }
    .footer-brand, .footer-links, .footer-contact{
            width:100%;
            text-align:center;
        }
    /* centrar links */
    .footer-links a{
        text-align:center;
    }

}





/* TESTIMONIALS PRO */
.testimonials{
padding:80px 0;
background:#f8fafc;
}

.testimonials h2{
text-align:center;
margin-bottom:50px;
}

.testimonials-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}





/* CARD */
.testimonial-card{
background:#fff;
border-radius:16px;
padding:25px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:.3s;
position:relative;
}

.testimonial-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}





/* estrellas */
.stars{
color:#fbbf24;
margin-bottom:10px;
font-size:1rem;
letter-spacing:2px;
}





/* texto */
.testimonial-card p{
color:#555;
font-size:0.95rem;
line-height:1.6;
margin-bottom:20px;
}





/* cliente */
.client{
display:flex;
align-items:center;
gap:12px;
}





/* imagen */
.client img{
width:45px;
height:45px;
border-radius:50%;
object-fit:cover;
}





/* nombre */
.client h4{
font-size:0.95rem;
margin:0;
}





/* rol */
.client span{
font-size:0.8rem;
color:#777;
}





/* PORTFOLIO */
.portfolio{
padding:80px 0;
background:#fff;
}

.portfolio h2{
text-align:center;
margin-bottom:10px;
}

.portfolio-sub{
text-align:center;
color:#555;
margin-bottom:40px;
}

.portfolio-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.portfolio-card{
background:#fff;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:.3s;
}

.portfolio-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.portfolio-card img{
width:100%;
height:180px;
object-fit:cover;
}

.portfolio-info{
padding:20px;
}

.portfolio-info h3{
margin-bottom:10px;
font-size:1.1rem;
}

.portfolio-info p{
font-size:0.95rem;
color:#555;
}





/* FAQ */
.faq{
padding:80px 0;
background:#f8fafc;
}

.faq h2{
text-align:center;
margin-bottom:40px;
}

.faq-item{
max-width:700px;
margin:0 auto 20px;
background:#fff;
padding:20px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3{
margin-bottom:8px;
font-size:1rem;
color:#2563EB;
}

.faq-item p{
font-size:0.95rem;
color:#555;
}