/*=========================================
SAGÑAY DIGITAL
style.css
=========================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#071327;
    color:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

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

/*=========================================
HEADER
=========================================*/

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:#071327;

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:95px;

}
.header.scrolled{
    background: rgba(10, 18, 40, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.logo{

    display:flex;
    align-items:center;
    justify-content:center;

    height:85px;

}

.logo img{

    width:140px;
    height:auto;
    object-fit:contain;

    transform:translateY(8px);
}

.nav-links{

    display:flex;

    gap:40px;

}

.nav-links a{

    color:#fff;

    font-size:16px;

    font-weight:500;

    transition:.3s;

}

.nav-links a:hover{

    color:#18e7a8;

}

.btn-header{

    background:#18e7a8;

    color:#071327;

    padding:14px 28px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.btn-header:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(24,231,168,.35);

}

.menu-btn{

    display:none;

    font-size:30px;

    cursor:pointer;

    transition: all .3s ease;
    cursor: pointer;

}

/*=========================================
HERO
=========================================*/

.hero{

     padding:125px 0 100px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.tag{

    display:inline-block;

    color:#18d3ff;

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:20px;

}

.hero-content h1{

    font-size:60px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero-content h1 span{

    color:#18e7a8;

}

.hero-content p{

    color:#c6d0df;

    font-size:20px;

    line-height:1.8;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn-primary{

    background:#18e7a8;

    color:#071327;

    padding:16px 35px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

.btn-secondary{

    border:2px solid #18e7a8;

    color:#fff;

    padding:16px 35px;

    border-radius:12px;

    transition:.3s;

}

.btn-secondary:hover{

    background:#18e7a8;

    color:#071327;

}

.hero-image img{

    width:100%;
    border-radius:20px;
    box-shadow:0 20px 45px rgba(0,0,0,.30);
    transition:transform .4s ease, box-shadow .4s ease;

} 

.hero-image img:hover{
    transform:scale(1.03);
    box-shadow:0 30px 60px rgba(0,0,0,.40);
} 
    .btn:hover{
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.btn-primary:hover{
    background:#14d8a0;
}

.btn-secondary:hover{
    background:#19e7a8;
    color:#071426;
    border-color:#19e7a8;
}

/*=========================================
SERVICIOS
=========================================*/

.services{
    padding:100px 0;
    background:#09182f;
}

.services .tag,
.portfolio .tag,
.about .tag,
.why-us .tag,
.contact .tag{
    display:block;
    text-align:center;
}

.services h2,
.portfolio h2,
.about h2,
.why-us h2,
.contact h2{
    text-align:center;
    font-size:42px;
    margin-bottom:20px;
}

.section-text{
    max-width:720px;
    margin:0 auto 70px;
    text-align:center;
    color:#c6d0df;
    line-height:1.8;
}

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:#111c3d;
    border-radius:20px;
    padding:35px;
    transition:all .35s ease;
    border:1px solid rgba(255,255,255,.06);

}
.service-card:hover{
    transform:translateY(-12px);
    border-color:#19e7a8;
    box-shadow:0 20px 45px rgba(25,231,168,.18);
}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}
.service-card:hover i,
.service-card:hover .service-icon{
    transform:scale(1.15) rotate(5deg);
    color:#19e7a8;
}  

.service-card img{

    width:100px;

    height:100px;

    object-fit:contain;

    margin:0 auto 25px;

}

.service-card h3{

    font-size:22px;

    margin-bottom:15px;

}

.service-card p{

    color:#c6d0df;

    line-height:1.7;

}

/*=========================================
PORTAFOLIO
=========================================*/

.portfolio{

    padding:100px 0;

    background:#08142e;

}

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.portfolio-card{

     position:relative;
    overflow:hidden;
    border-radius:20px;
    transition:all .4s ease;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(0,0,0,.18);

}

.portfolio-card:hover{

    transform:translateY(-10px);

}

.portfolio-card img{

    width:100%;
    display:block;
    transition:transform .5s ease;

}

.portfolio-content{

    padding:25px;

}

.portfolio-content h3{

    margin-bottom:15px;

    font-size:22px;

}

.portfolio-content p{

    color:#c6d0df;

    margin-bottom:20px;

    line-height:1.7;

}

.portfolio-content a{

    color:#18e7a8;

    font-weight:600;

}

.portfolio-content a:hover{

    color:#18d3ff;

}

.portfolio-info{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(7,20,38,.78);
    opacity:0;
    transition:.35s ease;
}

.portfolio-card:hover .portfolio-info{
    opacity:1;
}

/*=========================================
NOSOTROS
=========================================*/

.about{

    padding:100px 0;

    background:#0b1736;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image img{

    width:100%;

    max-width:520px;

    margin:auto;

}

.about h2{

    text-align:left;

}

.about p{

    color:#c6d0df;

    line-height:1.9;

    margin:25px 0;

}

.about-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-bottom:35px;

}

.about-list div{

    font-weight:500;

}

.about-list i{

    color:#18e7a8;

    margin-right:10px;

}

/*=========================================
POR QUÉ ELEGIRNOS
=========================================*/

.why-us{

    padding:100px 0;

    background:#08142e;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.why-card{

     background:#111c3d;
    padding:30px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    transition:all .35s ease;

}
.why-card:hover{
    transform:translateY(-10px);
    border-color:#19e7a8;
    box-shadow:0 20px 40px rgba(25,231,168,.18);
}

.why-card:hover{

    transform:translateY(-10px);

    border:1px solid #18e7a8;

}

.why-card i{

    font-size:52px;

    color:#18e7a8;

    margin-bottom:20px;
}
.why-card i{
    transition:.35s ease;
}
.why-card:hover i{
    transform:scale(1.2);
    color:#19e7a8;
}

.why-card h3{

    font-size:22px;

    margin-bottom:15px;

}

.why-card p{

    color:#c6d0df;

    line-height:1.7;

}

/*=========================================
ESTADÍSTICAS
=========================================*/

.stats{

    padding:100px 0;

    background:linear-gradient(135deg,#08142e,#102046);

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:40px 20px;

    text-align:center;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-10px);

    border-color:#18e7a8;

}

.stat-card h2{

    font-size:54px;

    color:#18e7a8;

    margin-bottom:15px;

}

.stat-card p{

    color:#fff;

    line-height:1.7;

}
/*=========================================
CONTACTO
=========================================*/

.contact{
    padding:100px 0;
    background:#071327;
}

.contact-grid{
    display:flex;
    justify-content:center;
}

.contact-form{
    width:100%;
    max-width:700px;
    background:#102046;
    padding:40px;
    border-radius:20px;
}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:16px;

    margin-bottom:20px;

    border:none;

    border-radius:12px;

    background:#071327;

    color:#fff;

    font-size:16px;

    outline:none;

}

.contact-form textarea{

    min-height:180px;

    resize:vertical;

}

.contact-form button{

    width:100%;

    padding:16px;

    background:#18e7a8;

    color:#071327;

    border:none;

    border-radius:12px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.contact-form button:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(24,231,168,.35);

}

/*=========================================
FOOTER
=========================================*/

.footer{

    background:#061120;

    padding:70px 0 25px;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-grid{

    display:grid;

    grid-template-columns:1.2fr 1fr 1fr;

    gap:60px;

}

.footer-about img{

      width:160px;
    margin:auto;

}

.footer-about p{

    color:#c6d0df;

    line-height:1.8;

}

.footer h3{

    margin-bottom:20px;

    font-size:22px;

}

.footer ul li{

    margin-bottom:14px;

    color:#c6d0df;

}

.footer-contact p{

    margin-bottom:15px;

    color:#c6d0df;

}

.footer-contact i{

    color:#18e7a8;

    width:22px;

    margin-right:8px;

}

.footer-social{

   display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-top:30px;

}
    
  .footer-social{

    display:flex;
    gap:15px;
    margin-top:25px;
}

.footer-social a{

   width:50px;
    height:50px;

    display:inline-flex;

    justify-content:center;
    align-items:center;

    background:#102046;

    border-radius:50%;

    color:#18e7a8;

    font-size:22px;

    padding:0;

    line-height:1;

}

.footer-social a i{

    margin:0;
    padding:0;
    line-height:1;

}

.footer-social a:hover{

    background:#18e7a8;

    color:#071327;

    transform:translateY(-4px);

}

.footer-bottom{

    margin-top:50px;

    padding-top:25px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-bottom p{

    color:#9fb0c7;

}
.footer-bottom strong{

    color:#18e7a8;
    font-weight:700;

}

/*=========================================
BOTÓN WHATSAPP
=========================================*/

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    box-shadow:0 12px 30px rgba(0,0,0,.35);

    z-index:9999;

    transition:.3s;

}

.whatsapp:hover{

    transform:scale(1.1);

}
.portfolio-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.35);
}

.portfolio-card:hover img{
    transform:scale(1.08);
}
#backToTop{
    position:fixed;
    bottom:25px;
    right:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#19e7a8;
    color:#071426;
    font-size:22px;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

#backToTop.show{
    opacity:1;
    visibility:visible;
}

#backToTop:hover{
    transform:translateY(-5px);
}
.nav-menu a.active{
    color:#19e7a8;
}

.nav-menu a.active::after{
    width:100%;
}
