/*==================================================
                TOOLNOVA
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#f5f7fb;

    color:#1f2937;

}

/*=========================================
                HEADER
=========================================*/

header{

    width:100%;

    height:80px;

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 8%;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.logo h1{

    color:#2563eb;

    font-size:34px;

    font-weight:800;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:#374151;

    font-weight:600;

    transition:.3s;

}

nav a:hover{

    color:#2563eb;

}

/*=========================================
                HERO
=========================================*/

.hero{

    width:100%;

    min-height:520px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:80px 20px;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    color:white;

}

.hero h2{

    font-size:58px;

    max-width:900px;

    line-height:75px;

    margin-bottom:20px;

}

.hero h2 span{

    color:#fde047;

}

.hero p{

    font-size:22px;

    margin-bottom:45px;

    opacity:.95;

}

.hero input{

    width:100%;

    max-width:700px;

    height:65px;

    border:none;

    border-radius:50px;

    padding:0 30px;

    font-size:18px;

    outline:none;

    box-shadow:0 15px 40px rgba(0,0,0,.18);

}

/*=========================================
            CATEGORÍAS
=========================================*/

.categorias{

    width:90%;

    max-width:1400px;

    margin:-70px auto 80px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.card{

    background:white;

    border-radius:20px;

    padding:35px;

    text-align:center;

    font-size:50px;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.card span{

    display:block;

    margin-top:15px;

    font-size:18px;

    font-weight:600;

    color:#1f2937;

}

.card:hover{

    transform:translateY(-10px);

    background:#2563eb;

    color:white;

}

.card:hover span{

    color:white;

}/*=========================================
            HERRAMIENTAS
=========================================*/

.herramientas{

    width:90%;

    max-width:1400px;

    margin:auto;

    padding-bottom:100px;

}

.herramientas h2{

    text-align:center;

    font-size:42px;

    margin-bottom:50px;

    color:#1f2937;

}

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.tool{

    background:#ffffff;

    border-radius:22px;

    padding:35px 25px;

    text-decoration:none;

    color:#1f2937;

    text-align:center;

    transition:.35s;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    border:1px solid #ececec;

}

.tool:hover{

    transform:translateY(-12px);

    background:#2563eb;

    color:#ffffff;

    box-shadow:0 25px 50px rgba(37,99,235,.35);

}

.tool .icon{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    background:#eff6ff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:45px;

    transition:.35s;

}

.tool:hover .icon{

    background:rgba(255,255,255,.2);

}

.tool h3{

    font-size:24px;

    margin-bottom:15px;

}

.tool p{

    color:#6b7280;

    line-height:28px;

    transition:.35s;

}

.tool:hover p{

    color:white;

}

/*=========================================
            FOOTER
=========================================*/

footer{

    background:#111827;

    color:white;

    text-align:center;

    padding:70px 20px;

}

footer h2{

    font-size:36px;

    margin-bottom:15px;

}

footer p{

    max-width:700px;

    margin:auto;

    line-height:30px;

    opacity:.8;

}

footer small{

    display:block;

    margin-top:35px;

    opacity:.6;

}

/*=========================================
            ANIMACIONES
=========================================*/

@keyframes subir{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero h2{

    animation:subir .8s ease;

}

.hero p{

    animation:subir 1s ease;

}

.hero input{

    animation:subir 1.2s ease;

}

.card{

    animation:subir .8s ease;

}

.tool{

    animation:subir .8s ease;

}