/*=========================================
    VARIABLES
=========================================*/

@import url("variables.css");

/*=========================================
    RESET
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:var(--font-family);

    background:var(--color-background);
    color:#1D1D1B;

}

/*=========================================
    HEADER
=========================================*/

header{

    background:var(--color-primary);

    height:96px;

    display:flex;

    align-items:center;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.header-container{

    width:min(1300px,95%);

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logos img{

    height:60px;

}

.titulo-header{

    font-size:1.3rem;

    font-weight:600;

    letter-spacing:.5px;

    color:#FFFFFF;

}

/*=========================================
    HERO
=========================================*/

.hero{

    min-height:calc(100vh - 96px);

    background:var(--color-background);

    background-image:url("../assets/img/fondo.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:60px 0;

}

.hero-content{

    width:min(1300px,92%);

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:60px;

}

/*=========================================
    TEXTO
=========================================*/

.hero-text h1{

    font-size:3.5rem;

    font-weight:700;

    color:#1D1D1B;

    margin-bottom:24px;

    line-height:1.15;

}

.hero-text h2{

    font-size:1.25rem;

    font-weight:400;

    margin-bottom:36px;

    color:#4B5563;

    line-height:1.8;

}

/*=========================================
    GLOBO
=========================================*/

.dialogo{

    background:#FFFFFF;

    color:#1D1D1B;

    border-radius:24px;

    padding:22px;

    max-width:500px;

    position:relative;

    margin-bottom:36px;

    box-shadow:0 8px 24px rgba(0,0,0,.10);

}

.dialogo::after{

    content:"";

    position:absolute;

    left:55px;

    bottom:-16px;

    width:0;

    height:0;

    border-left:16px solid transparent;

    border-right:16px solid transparent;

    border-top:20px solid #FFFFFF;

}

.dialogo p{

    font-size:1.15rem;

    line-height:1.7;

}

/*=========================================
    BOTÓN
=========================================*/

.btn-comenzar{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    background:var(--color-primary);

    color:#FFFFFF;

    text-decoration:none;

    padding:16px 32px;

    border-radius:12px;

    font-size:1.1rem;

    font-weight:600;

    transition:.25s ease;

}

.btn-comenzar:hover{

    background:var(--color-primary-dark);

    transform:translateY(-2px);

}

/*=========================================
    AJOLOTE
=========================================*/

.hero-image{

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-image img{

    width:500px;

    max-width:100%;

}

/*=========================================
    CRÉDITOS
=========================================*/

.creditos{

    background:#009B77;

    padding:45px 0 25px;

    color:#FFFFFF;

}

.creditos-contenedor{

    width:min(1200px,92%);

    margin:auto;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:20px;

    text-align:center;

}

.creditos-logos{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:45px;

    flex-wrap:wrap;

}

.creditos-logos img{

    height:55px;

    object-fit:contain;

}

.creditos h3{

    display:none;

}

.creditos p{

    color:rgba(255,255,255,.92);

    line-height:1.7;

    font-size:.95rem;

    max-width:1000px;

}

/*=========================================
    FOOTER
=========================================*/

footer{

    background:var(--color-primary);

    color:rgba(255,255,255,.85);

    text-align:center;

    padding:0 20px 22px;

    font-size:.9rem;

}

/*=========================================
    RESPONSIVE
=========================================*/

@media(max-width:900px){

.hero{

    padding:40px 0;

}

.hero-content{

    grid-template-columns:1fr;

    text-align:center;

    gap:40px;

}

.hero-text h1{

    font-size:2.5rem;

}

.hero-text h2{

    font-size:1.15rem;

}

.dialogo{

    margin:auto auto 30px;

}

.dialogo::after{

    display:none;

}

.hero-image{

    order:-1;

}

.hero-image img{

    width:320px;

}

.btn-comenzar{

    width:100%;

    justify-content:center;

}

.creditos{

    padding:35px 20px 20px;

}

.creditos-logos{

    gap:25px;

}

.creditos-logos img{

    height:45px;

}

.creditos p{

    font-size:.9rem;

}

footer{

    padding:0 20px 20px;

}

}