/* * {
    margin: 0px;
    padding: 0px;
} */


/* Reset básico */
.container-principal {
    width: 100%;
    height: auto;
    background-image: url('asset/img/background_inicio_1.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* mismo padding lateral en todas las secciones */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.5;
}

/* Navbar fijo con alineación al container */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* verde inicial */
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
}

/* Hacemos que el contenido interno del navbar se comporte como el container */
.navbar .container {
    max-width: 1120px;   /* mismo límite que el resto */
    margin: 0 auto;
    padding: 1rem 2rem; /* mismo padding que tu container principal */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled { 
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-logo {
    display: flex;
}

.logo {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #008000;
}

/* Nav links */
.nav {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: #f2f4f7;
    border: none;
    padding: 0.5rem 0.7rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    justify-content: center;
    /* Centra horizontalmente */
    gap: 3rem;
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 120px;
    flex-wrap: wrap;
    /* para que en móviles se acomode */
}

.hero-content {
    flex: 1 1 500px;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content .highlight {
    color: #008000;
}

.hero-content p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
}

.buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 0.9rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn.primary {
    background: #008000;
    color: #fff;
}

.btn.primary:hover {
    background: #006400;
}

.btn.secondary {
    background: #f3f4f6;
    color: #333;
}

.btn.secondary:hover {
    background: #e2e4e7;
}

/* Hero Image */
.hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* FEATURES */
.features {
    text-align: center;
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.features-header {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    color: #008000;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-sub {
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #008000;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-card a {
    text-decoration: none;
    font-weight: 600;
    color: #008000;
}



/******************* OBJETIVO ***********************/

.objetivo {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Imagen */
.objetivo-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.objetivo-img img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.objetivo-img img:hover {
    transform: scale(1.05);
}

.objetivo-texto {
    flex: 1;
    min-width: 300px;
    border-left: 1px solid #dfdfdf;
    padding-left: 40px;
}

.objetivo-texto h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0a2540;
    margin-top: 5px;
    margin-bottom: 15px;
}

.objetivo-texto h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #6366f1;
    /* un acento morado/azul */
    margin-top: 8px;
    border-radius: 2px;
}

.objetivo-texto p {
    font-size: 16px;
    color: #5a6a85;
    margin-bottom: 10px;
    line-height: 1.6;
}

.objetivo-texto ul {
    list-style: none;
    padding: 0;
}

.objetivo-texto ul li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    color: #5a6a85;
}

.objetivo-texto ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6c63ff;
    /* Bullet color */
    font-size: 20px;
    line-height: 1;
}

.background-grey {
    background: #f8f8f8;
}

/*********** MISION START ******************/

.contenedor-principal-mision {
    width: 100%;
    background: #f9f9fb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.mision {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 50px;
    padding-left: 100px;
    max-width: 1200px;
    margin: 50px auto;
}

.mision-texto {
    flex: 1;
    max-width: 500px;
    text-align: left;
}

.mision-texto h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0a2540;
    margin-top: 5px;
    margin-bottom: 20px;
    position: relative;
}

.mision-texto h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #6366f1;
    /* un acento morado/azul */
    margin-top: 8px;
    border-radius: 2px;
}

.mision-texto p {
    font-size: 17px;
    line-height: 1.8;
    color: #5a6a85;
}

.mision-img {
    flex: 1;
    text-align: center;
}

.mision-img img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-left: 1px solid #dfdfdf;
    padding-left: 40px;
    transition: transform 0.3s ease;
}

.mision-img img:hover {
    transform: scale(1.05);
}

/******************* MISION END *****************/



.titulo-completo {
    display: flex;
}

.titulo-completo img {
    margin-top: 8px;
    margin-right: 8px;
}




/***************** FOOTER START ******************/
.footer {
    background: #707070;
    color: #fff;
    padding: 40px 8%;
}

/* Parte superior */
.footer-top {
    text-align: center;
    margin-bottom: 30px;
}

.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-footer-text {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.footer-top .logo {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.footer-top .desc {
    font-size: 15px;
    margin: 10px 0 20px;
    color: #d0d0d0;
}

.footer-top .social-links a {
    display: inline-block;
    margin: 0 8px;
    font-size: 18px;
    color: #2e2e2e;
    background: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    transition: 0.3s;
}

.footer-top .social-links a:hover {
    background: #ffb703;
    color: #2e2e2e;
}

/* Línea divisoria */
.footer hr {
    border: none;
    height: 1px;
    background: #444;
    margin: 30px 0;
}

/* Parte inferior */
.footer-bottom {
    display: grid;
    grid-template-columns: 1.7fr .8fr 1fr 1.5fr;
    gap: 40px;
}

/* Newsletter */
.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.newsletter button {
    background: #ffb703;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    color: #2e2e2e;
    font-size: 18px;
}

/* Columnas */
.footer-col h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #d0d0d0;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ffb703;
}

.contact p {
    margin: 8px 0;
    color: #d0d0d0;
}

.contact i {
    margin-right: 8px;
    color: #ffb703;
}

/***************** FOOTER END ********************/



@media (max-width: 1024px) {
    .hero {
        padding: 4rem 1.5rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .objetivo-img img {
        max-width: 60%;
        /* más pequeña en tablets */
    }

    .mision {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }

    .mision-texto h3::after {
        margin: 10px auto 0;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .buttons {
        justify-content: center;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 1rem 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        width: 200px;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 220px;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .btn {
        width: 100%;
    }

    .objetivo {
        flex-direction: column;
        text-align: center;
    }

    .objetivo-texto {
        text-align: left;
        margin-top: 20px;
    }

    .objetivo-img img {
        max-width: 50%;
        /* aún más pequeña en celulares */
    }


    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .newsletter button {
        border-radius: 30px;
        width: 100%;
        padding: 12px;
    }

}

@media (min-width: 1600px) {
    .hero {
        padding: 8rem 4rem;
        gap: 4rem;
    }

    .features {
        padding: 6rem 4rem;
    }
}