/*
========================================
RESET
========================================
*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins', sans-serif;

    background:#f4f7fb;

    color:#111827;

    overflow-x:hidden;

}

/*
========================================
COLORES
========================================
*/

:root{

    --azul-oscuro:#07152b;

    --azul-principal:#2563eb;

    --azul-hover:#1d4ed8;

    --azul-claro:#7db7ff;

    --blanco:#ffffff;

    --gris:#94a3b8;

    --gris-claro:#dbe4ee;

    --negro:#0f172a;

}

/*
========================================
NAVBAR
========================================
*/

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:18px 5%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:999;

    background:rgba(7,21,43,0.18);

    backdrop-filter:blur(14px);

}

/*
========================================
LOGO
========================================
*/

.logo{

    display:flex;

    align-items:center;

}

.logo a{

    display:flex;

    align-items:center;

}

.logo-img{

    height:58px;

    width:auto;

    object-fit:contain;

    display:block;

}

/*
========================================
MENU
========================================
*/

.nav-center{

    display:flex;

    align-items:center;

    gap:35px;

}

/*
========================================
LINKS NAVBAR
========================================
*/

.nav-center a{

    text-decoration:none;

    color:var(--blanco);

    font-size:14px;

    font-weight:600;

    letter-spacing:0.5px;

    transition:0.3s;

    position:relative;

    white-space:nowrap;

}

/*
========================================
HOVER LINKS
========================================
*/

.nav-center a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;

    height:2px;

    background:var(--azul-claro);

    transition:0.3s;

}

.nav-center a:hover::after{

    width:100%;

}

.nav-center a:hover{

    color:var(--azul-claro);

}

/*
========================================
BOTON LOGIN
========================================
*/

.btn-login{

    text-decoration:none;

    background:var(--blanco);

    color:var(--negro);

    padding:13px 24px;

    border-radius:14px;

    font-size:13px;

    font-weight:700;

    transition:0.3s;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.12);

    white-space:nowrap;

}

.btn-login:hover{

    transform:translateY(-2px);

    background:#eef4ff;

}

/*
========================================
HERO
========================================
*/

.hero{

    position:relative;

    width:100%;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

}

/*
========================================
IMAGEN HERO
========================================
*/

.hero-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

/*
========================================
OVERLAY
========================================
*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(7,21,43,0.92) 0%,
        rgba(7,21,43,0.76) 35%,
        rgba(7,21,43,0.35) 65%,
        rgba(7,21,43,0.10) 100%
    );

    z-index:1;

}

/*
========================================
CONTENIDO HERO
========================================
*/

.hero-content{

    position:relative;

    z-index:2;

    max-width:620px;

    margin-left:6%;

    margin-top:90px;

    color:var(--blanco);

}

/*
========================================
TITULO HERO
========================================
*/

.hero-content h1{

    font-size:58px;

    line-height:1.10;

    font-weight:700;

    margin-bottom:24px;

    letter-spacing:-1px;

}

/*
========================================
SPAN TITULO
========================================
*/

.hero-content h1 span{

    color:var(--azul-claro);

}

/*
========================================
PARRAFO HERO
========================================
*/

.hero-content p{

    font-size:18px;

    line-height:1.8;

    color:
    rgba(255,255,255,0.88);

    margin-bottom:38px;

    max-width:540px;

}

/*
========================================
BOTONES HERO
========================================
*/

.hero-buttons{

    display:flex;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}

/*
========================================
BOTONES GENERALES
========================================
*/

.hero-buttons a,
.hero-buttons button{

    border:none;

    outline:none;

    text-decoration:none;

    padding:18px 34px;

    border-radius:14px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s;

}

/*
========================================
BOTON PRINCIPAL
========================================
*/

.btn-primary{

    background:var(--blanco);

    color:var(--negro);

    box-shadow:
    0 10px 25px rgba(0,0,0,0.18);

}

.btn-primary:hover{

    transform:translateY(-3px);

    background:#eef4ff;

}

/*
========================================
BOTON SECUNDARIO
========================================
*/

.btn-secondary{

    background:
    rgba(255,255,255,0.10);

    color:var(--blanco);

    backdrop-filter:blur(10px);

    border:
    1px solid rgba(255,255,255,0.18);

}

.btn-secondary:hover{

    background:var(--blanco);

    color:var(--negro);

}

/*
========================================
MODAL
========================================
*/

.modal{

    position:fixed;

    inset:0;

    background:
    rgba(0,0,0,0.65);

    display:none;

    justify-content:center;

    align-items:center;

    padding:20px;

    z-index:9999;

}

/*
========================================
CONTENIDO MODAL
========================================
*/

.modal-content{

    width:100%;

    max-width:520px;

    background:var(--blanco);

    border-radius:28px;

    padding:45px;

    position:relative;

    box-shadow:
    0 25px 50px rgba(0,0,0,0.25);

    animation:modalShow 0.3s ease;

}

/*
========================================
ANIMACION MODAL
========================================
*/

@keyframes modalShow{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*
========================================
CERRAR MODAL
========================================
*/

.close{

    position:absolute;

    right:22px;

    top:14px;

    font-size:32px;

    cursor:pointer;

    color:var(--negro);

}

/*
========================================
TITULO MODAL
========================================
*/

.modal-content h2{

    margin-bottom:28px;

    color:var(--negro);

}

/*
========================================
INPUTS
========================================
*/

.modal-content input,
.modal-content textarea{

    width:100%;

    padding:17px;

    margin-bottom:20px;

    border:
    1px solid var(--gris-claro);

    border-radius:14px;

    font-size:15px;

    font-family:'Poppins', sans-serif;

    outline:none;

}

/*
========================================
FOCUS INPUTS
========================================
*/

.modal-content input:focus,
.modal-content textarea:focus{

    border-color:var(--azul-principal);

}

/*
========================================
TEXTAREA
========================================
*/

.modal-content textarea{

    height:140px;

    resize:none;

}

/*
========================================
BOTON MODAL
========================================
*/

.modal-content button{

    width:100%;

    border:none;

    background:var(--azul-principal);

    color:white;

    padding:18px;

    border-radius:14px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s;

}

.modal-content button:hover{

    background:var(--azul-hover);

}

/*
========================================
RESPONSIVE TABLET
========================================
*/

@media(max-width:1100px){

    .nav-center{

        gap:20px;

    }

    .hero-content h1{

        font-size:50px;

    }

}

/*
========================================
RESPONSIVE MOVIL
========================================
*/

@media(max-width:900px){

    .navbar{

        flex-direction:column;

        gap:18px;

        padding:16px 5%;

    }

    .logo-img{

        height:52px;

    }

    .nav-center{

        flex-wrap:wrap;

        justify-content:center;

        gap:12px;

    }

    .nav-center a{

        font-size:12px;

    }

    .btn-login{

        padding:12px 20px;

        font-size:12px;

    }

    .hero{

        padding-top:210px;

        padding-bottom:70px;

        align-items:flex-start;

    }

    .hero-content{

        margin-top:30px;

        margin-left:7%;

        margin-right:7%;

        max-width:100%;

    }

    .hero-content h1{

        font-size:42px;

        line-height:1.15;

    }

    .hero-content p{

        font-size:16px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:flex-start;

        width:100%;

    }

    .hero-buttons a,
    .hero-buttons button{

        width:100%;

        text-align:center;

    }

}

/*
========================================
RESPONSIVE CELULAR
========================================
*/

@media(max-width:480px){

    .navbar{

        padding:14px 4%;

    }

    .logo-img{

        height:46px;

    }

    .nav-center{

        gap:10px;

    }

    .nav-center a{

        font-size:11px;

    }

    .btn-login{

        width:100%;

        text-align:center;

    }

    .hero{

        padding-top:240px;

    }

    .hero-content{

        margin-top:10px;

    }

    .hero-content h1{

        font-size:32px;

        line-height:1.2;

    }

    .hero-content p{

        font-size:14px;

        line-height:1.7;

    }

    .hero-buttons a,
    .hero-buttons button{

        padding:16px 22px;

        font-size:14px;

    }

    .modal-content{

        padding:35px 24px;

    }

}