html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

:root {
    --color-blanco: #ffffff;
    --color-negro: #000000;
    --color-texto-secundario: #275247;
    --color-texto-secundario2: #e1e8e4;
    --color-verde: #0e1f10;
    --color-verde-hover: #275247;
    --color-amarillo: #e5c61f;
    --color-amarillo-hover: #f0d94a;
    --color-fondo-menu: rgba(14, 31, 16, 0.88);
    --color-fondo-menu-scroll: rgba(14, 31, 16, 0.96);
    --color-borde-suave: rgba(255, 255, 255, 0.12);
    --color-overlay: rgba(0, 0, 0, 0.26);
    --color-overlay-inferior: rgba(0, 0, 0, 0.50);
    --color-sombra: rgba(0, 0, 0, 0.28);
    --fuente-principal: Georgia, "Times New Roman", serif;
    --fuente-secundaria: Arial, Helvetica, sans-serif;
    --ancho-maximo: 1200px;
    --radio-boton: 8px;
}

body {
    line-height: 1.6;
    color: var(--color-negro);
    background: var(--color-texto-secundario2);
    -webkit-user-select: none;
    /* Safari, Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* viejo Edge */
    user-select: none;
    /* estándar */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: inherit;
}

.barraNegra {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-verde);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 1.05rem 4.1rem;
    max-width: 90rem;
    margin: 0 auto;
}

.navbar a {
    display: flex;
    align-items: center;
}

.navbar img {
    height: 3.65rem;
    width: auto;
    object-fit: contain;
}

hr {
    border: 1px solid;
    margin-bottom: 0.75rem;
}

/* Sección Héroe */
#udai {
    padding: 6rem 3rem;
    padding-bottom: 0rem;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 6rem;
}

.contenedorTitulo {
    max-width: 65rem;
}

.contenedorTitulo h1 {
    font-size: 5rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.09em;
    line-height: 1;
    color: #000;
    font-weight: bold;
}

.contenedorTitulo p {
    padding-top: 2rem;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: var(--color-texto);
    line-height: 1.4;
    max-width: 50rem;
}

/* Sección completa con fondo claro y padding */
.queridoEmprendedor {
    padding: 6rem 3rem;
    display: flex;
    justify-content: center;
}

/* Contenedor del contenido */
.contenedorEmprendedor {
    max-width: 65rem;
    width: 100%;
    text-align: justify;
    justify-content: center;
    align-items: center;
}

/* Encabezado */
.contenedorEmprendedor h2 {
    text-align: center;
    /* Centra solo el título */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #005bb5;
}

/* Párrafos */
.contenedorEmprendedor p {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.7;
    /* Espacio entre líneas */
    margin-bottom: 1rem;
    color: var(--color-negro);
}

.contenedorEmprendedor p b {
    font-weight: 600;
}

.contenedorEmprendedor li {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.3;
    /* Espacio entre líneas */
    margin-bottom: 1rem;
    color: var(--color-negro);
    margin-left: 3rem
}

.contenedorEmprendedor a {
    font-size: 1.6rem;
    position: relative;
    text-decoration: none;
    color: var(--color-verde);
    transition: color 0.3s ease;
}

.contenedorEmprendedor a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: var(--color-verde);
    transition: width 0.3s ease;
}

.contenedorEmprendedor a:hover {
    color: var(--color-verde);
}

.contenedorEmprendedor a:hover::after {
    width: 100%;
}

/* ==============================
   FOOTER
   ============================== */

.footer {
    background: var(--color-verde);
}

.contenedor-footer {
    max-width: 75rem;
    width: 100%;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 4rem;
}

/* ==============================
   IZQUIERDA
   ============================== */

.footer-info {
    color: var(--color-blanco);
    display: grid;
    flex-direction: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.footer-bloque h4 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-bloque a {
    display: block;
    font-size: 1rem;
    color: var(--color-blanco);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-bloque a:hover {
    color: var(--color-amarillo);
    transform: translateX(4px);
}

.footer-bloque img {
    height: 6rem;
    width: auto;
}

.footer-redes {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    justify-content: flex-start;
}

.footer-redes i {
    font-size: 2rem;
    margin-right: 0;
}

.footer-redes i:hover {
    color: var(--color-amarillo);
    transform: translateX(4px);
}

/* ==============================
        FOOTER FINAL
        ============================== */

.footer-bottom {
    text-align: center;
    margin-top: 8rem;
    font-size: 0.7rem;
    color: var(--color-blanco);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.footer-bottom a {
    display: inline-block;
    color: var(--color-blanco);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-amarillo);
    transform: translate(4px);
}

@media (min-width: 751px) and (max-width: 1024px) {

    /*Seccion menus*/
    .navbar {
        padding: 1rem 2rem;
        gap: 2rem;
    }

    .navbar img {
        height: 3rem;
    }

    /* Sección Héroe */
    #udai {
        padding-top: 0rem;
        padding-bottom: 0.9rem;
        margin-top: 9rem;
    }

    .contenedorTitulo {
        max-width: 80%;
    }

    .contenedorTitulo h1 {
        font-size: 3.5rem;
        margin-bottom: 0.4rem;
    }

    .contenedorTitulo p {
        padding-top: 1rem;
        font-size: 1.2rem;
        margin: 0 auto 1rem;
        line-height: 1.2;
        max-width: 80%;
    }

    /*section queridoEmprendedor*/
    .contenedorEmprendedor {
        max-width: 90%;
    }

    .contenedorEmprendedor p,
    .contenedorEmprendedor a {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .contenedorEmprendedor li {
        margin-left: 2.5rem;
        font-size: 1.4rem;
        line-height: 1.3;
    }

    /*Footer*/
    .contenedor-footer {
        padding: 5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 0.5fr 1.5fr;
        gap: 2.5rem;
    }

    .footer-info {
        gap: 1.7rem;
    }

    .footer-bloque h4 {
        font-size: 0.95rem;
    }

    .footer-bloque img {
        height: 3.5rem;
        width: auto;
    }

    .footer-bloque a {
        font-size: 0.9rem;
    }

    .footer-redes i {
        font-size: 1.7rem;
    }

    .footer-bottom {
        margin-top: 6rem;
    }

    .footer-bottom p,
    .footer-bottom a {
        font-size: 0.8rem;
    }
}

@media (max-width: 750px) {
    .navbar {
        padding: 0.8rem 2rem;
    }

    .navbar img {
        height: 2.5rem;
    }

    /* Sección Héroe */
    #udai {
        padding-top: 0rem;
        padding-bottom: 0.9rem;
    }

    .contenedorTitulo {
        max-width: 100%;
    }

    .contenedorTitulo h1 {
        font-size: 2.7rem;
        margin-bottom: 0.4rem;
    }

    .contenedorTitulo p {
        padding-top: 1rem;
        font-size: 1.1rem;
        margin: 0 auto 1rem;
        line-height: 1.2;
        max-width: 95%;
    }

    .desaparecer {
        display: none;
    }

    /* section queridoEmprendedor */
    .contenedorEmprendedor {
        max-width: 100%;
        margin-top: 0rem;
        margin-bottom: 0rem;
    }

    .contenedorEmprendedor p,
    .contenedorEmprendedor a {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .contenedorEmprendedor li {
        margin-left: 1.5rem;
        font-size: 1.1rem;
        line-height: 1.3;
    }

    /*Footer*/
    .contenedor-footer {
        padding: 4rem 1rem 2rem;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .footer-bloque img {
        height: 4.5rem;
        width: auto;
        justify-content: center;
        display: flex;
        margin: 0 auto;
    }

    .footer-info {
        text-align: center;
        align-items: center;
        gap: 2rem;
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-bloque a:hover,
    .footer-redes i:hover,
    .footer-bottom a:hover {
        transform: none;
    }

    .footer-bloque h4 {
        font-size: 1.1rem;
    }

    .footer-bloque a {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-redes {
        align-items: center;
        justify-content: center;
    }

    .footer-redes i {
        margin: 0 0.4rem;
        font-size: 2rem;
    }

    .footer-bottom {
        margin-top: 3rem;
    }

    .footer-bottom p,
    .footer-bottom a {
        font-size: 0.75rem;
    }

    .order1 {
        order: 1;
    }

    .order2 {
        order: 2;
    }

    .order3 {
        order: 3;
    }

    .order4 {
        order: 4;
    }
}