*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#f4f6fb;
    color:#333;
    line-height:1.6;
    overflow-x:hidden;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/* ==========================
        HEADER
========================== */

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#1f2448;
    z-index:999;
    box-shadow:0 4px 15px rgba(0,0,0,.25);

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;

}

.logo img{

    height:60px;

}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;

}

nav a{

    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;

}

nav a:hover{

    color:#ff9d00;

}

.btn-header{

    background:#ff9d00;
    color:#1f2448;
    padding:14px 24px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;

}

.btn-header:hover{

    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(255,157,0,.35);

}

/* ==========================
        HERO
========================== */

.hero{

    min-height:100vh;
    background:linear-gradient(rgba(20,24,45,.78),rgba(20,24,45,.78)), url("../imagenes/hero.jpg") center center;
    background-size:cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding-top:90px;

}

.hero h1{

    font-size:60px;
    font-weight:800;
    margin-bottom:25px;

}

.hero p{

    font-size:22px;
    max-width:850px;
    margin:auto;
    margin-bottom:40px;

}

.btn-principal{

    display:inline-block;
    padding:18px 40px;
    border-radius:50px;
    background:#ff9d00;
    color:#1f2448;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:.3s;

}

.btn-principal:hover{

    transform:translateY(-4px);

}

/* ==========================
      SECCIONES
========================== */

section{

    padding:110px 0;

}

section h2{

    text-align:center;
    font-size:42px;
    color:#1f2448;
    margin-bottom:50px;

}

.nosotros p{

    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:19px;

}

/* ==========================
      SERVICIOS
========================== */

.cards{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;

}

.card{

    background:white;
    border-radius:18px;
    padding:35px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h3{

    color:#1f2448;
    margin-bottom:15px;

}



/* ==========================
      CONTACTO
========================== */

.contacto{

    text-align:center;
    background:white;

}

.contacto-texto{

    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    font-size:20px;

}

.btn-mail{

    display:inline-flex;
    align-items:center;
    gap:15px;
    padding:18px 34px;
    border-radius:60px;
    background:#1f2448;
    color:white;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:.3s;

}

.btn-mail:hover{

    background:#ff9d00;
    color:#1f2448;

}

.icono-mail{

    font-size:24px;

}

.mail-info{

    margin-top:25px;
    font-size:22px;
    font-weight:600;
    color:#1f2448;

}

.contacto-botones{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

}

.btn-whatsapp{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    padding:18px 34px;
    border-radius:60px;
    background:#25D366;
    color:white;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:
        transform .3s,
        box-shadow .3s,
        background .3s;

}

.btn-whatsapp:hover{

    background:#1EBE5D;
    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(37,211,102,.35);

}

.icono-whatsapp{

    font-size:22px;

}

.btn-whatsapp:hover{

    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(37,211,102,.35);

}
/* ==========================
      FOOTER
========================== */

footer{

    background:#1f2448;
    color:white;
    text-align:center;
    padding:30px 0;

}

footer a{

    color:#ff9d00;
    text-decoration:none;

}

footer a:hover{

    text-decoration:underline;

}

/* ==========================
      ANIMACIONES
========================== */

section{

    opacity:0;
    transform:translateY(60px);
    transition:
        opacity .8s ease,
        transform .8s ease;

}

section.visible{

    opacity:1;
    transform:translateY(0);

}

.card{

    transition:
        transform .35s,
        box-shadow .35s;

}

.card:hover{

    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.btn-principal,
.btn-header,
.btn-mail{

    transition:
        transform .3s,
        box-shadow .3s,
        background .3s,
        color .3s;

}

.btn-principal:hover,
.btn-header:hover,
.btn-mail:hover{

    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(0,0,0,.20);

}

/* ==========================
      SLIDER
========================== */

.slider{

    overflow:hidden;
    position:relative;
    width:100%;
    padding:30px 0;

}

.slider-track{

    display:flex;
    align-items:center;
    gap:60px;
    will-change:transform;

}

.slider-track img{

    width:170px;
    height:90px;
    object-fit:contain;
    flex-shrink:0;
   
    opacity:.75;
    transition:
        filter .3s,
        opacity .3s,
        transform .3s;

}

.slider-track img:hover{

    filter:none;
    opacity:1;
    transform:scale(1.08);

}


/* ==========================
      RESPONSIVE
========================== */

@media(max-width:900px){

    header .container{

        justify-content:center;
        height:90px;

    }

    nav{

        display:none;

    }

    .btn-header{

        display:none;

    }

    .logo img{

        height:55px;

    }

    .hero{

        padding-top:90px;

    }

    .hero h1{

        font-size:42px;

    }

    .hero p{

        font-size:18px;

    }
    .contacto-botones{

    flex-direction:column;
    align-items:center;

}

}

@media(max-width:600px){

    .hero h1{

        font-size:34px;

    }

    section h2{

        font-size:32px;

    }

}

