/*cosas que no estan renderizadas en pantallas de resoluciones grandes*/
.social-bar-mobile {
    display: none;
}



html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", sans-serif;
    background: #f9f9f9;
    color: #222;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    margin-top: 120px;
}

.proyectos .lista-puntos {
    margin: 1rem;
    padding-left: 1.5rem;
    text-align: left;
    list-style-type: disc;
    color: #444;
    line-height: 1.6;
    font-size: 1.05em;
}


header {
    background-color: white;
    border-bottom: 1px solid #ddd;
}

header.scrolled .top-bar {
    transform: translateY(-100%);
    opacity: 0;
}

.btn-primary {
    background-color: #0a61d0;
    color: white;
    text-decoration: none;
}


/*----------------- seccion 1 ------------------------*/


#seccion-innovacion {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 2rem;
    background: #fff;
    flex-wrap: wrap;
}

#seccion-innovacion .columna {
    flex: 1;
    min-width: 280px;
    padding: 1.5rem;
}

#seccion-innovacion .texto h1 {
    color: #0f62fe;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

#seccion-innovacion .texto p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

#seccion-innovacion .botones {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#seccion-innovacion .botones a {
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 20px;
    white-space: normal;
    word-wrap: break-word;
    max-width: 150px;
    text-align: center;
    display: inline-block;
}

#seccion-innovacion .btn-primary {
    background-color: #0f62fe;
    color: white;
}

#seccion-innovacion .btn-outline {
    border: 2px solid #0f62fe;
    color: #0f62fe;
    background: transparent;
}

#seccion-innovacion .imagen img {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

#seccion-innovacion .noticias {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#seccion-innovacion .noticias h3 {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#seccion-innovacion #lista-noticias {
    position: relative;
    width: 100%;
    min-height: 200px;
}

#seccion-innovacion #lista-noticias .contenedor-animado {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#seccion-innovacion .contenido-noticias {
    position: relative;
    width: 100%;
    min-height: 100px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#seccion-innovacion .contenido-noticias.animar-salida {
    animation: deslizarFuera 0.4s ease forwards;
}

#seccion-innovacion .contenido-noticias.animar-entrada {
    animation: deslizarDentro 0.4s ease forwards;
}

#seccion-innovacion .lista-noticias {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#seccion-innovacion .lista-noticias li {
    border-bottom: 1px solid #8f8f8f;
    padding: 10px 0;
}

#seccion-innovacion .lista-noticias li:last-child {
    border-bottom: none;
}

#seccion-innovacion .lista-noticias a {
    text-decoration: none;
    color: #0052cc;
    font-weight: 500;
    transition: color 0.3s;
}

#seccion-innovacion .lista-noticias a:hover {
    color: #003d99;
}

#seccion-innovacion .paginacion {
    margin-top: auto;
    padding-top: 1rem;
    text-align: left;
}

#seccion-innovacion .paginacion a {
    margin: 0 5px;
    text-decoration: none;
    color: blue;
    cursor: pointer;
}

#seccion-innovacion .paginacion a.activo {
    font-weight: bold;
    text-decoration: underline;
}

@keyframes deslizarFuera {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes deslizarDentro {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/*--------------- css para la seccion 2 ---------------*/

.objetivos {
    text-align: center;
    padding: 6rem 2rem;
    background-color: #f9f9f9;
}

.objetivos h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.objetivos .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.objetivos .card {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 250px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease;
}

.objetivos .card:hover {
    transform: translateY(-5px);
}

.objetivos .card img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.objetivos .card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
}

.objetivos .card p {
    font-size: .8rem;
    color: #555;
    font-weight: bold;
}

.objetivos .info-button {
    margin-top: 40px;
}

.objetivos .info-button button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    background-color: #3367d6;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.objetivos .info-button button:hover {
    background-color: #274c9b;
}

/*------------------------ css para la seccion 3 --------------------------------------*/

.potencial {
    margin: 0 auto;
    padding: 50px 20px;
    background-color: #fff;
    padding: 4rem;
}

.potencial h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #111;
}

.potencial h2 span {
    color: #1a73e8;
}

.bloque {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.bloque .imagen {
    flex: 1 1 80px;
    text-align: center;
    padding: 10px;
}

.bloque .imagen img {
    max-width: 60%;
    height: auto;
    border-radius: 16px;
    background-color: transparent;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.bloque .imagen img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.bloque .texto {
    flex: 2 1 400px;
}

.bloque .texto h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
}

.bloque .texto p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/*------------------------ css para la seccion 4 --------------------------------------*/

/*background: #f9fbff;*/

.ayuda-faq {
    background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
    border-radius: 20px;
    text-align: center;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.limite {
    max-width: 1200px;
    margin: 0 auto;
}

.ayuda-faq .ayuda-contenido {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.ayuda-faq .ayuda-contenido h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a73e8;
}

.ayuda-faq .ayuda-contenido p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ayuda-faq .btn-contacto {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e8f0fe;
    color: #1a73e8;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.ayuda-faq .btn-contacto:hover {
    background-color: #1a73e8;
    color: white;
    transform: translateY(-2px);
}

.ayuda-faq .faq {
    text-align: left;
    padding: 0 1rem;
}

.ayuda-faq .faq h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #222;
}

.ayuda-faq .acordeon .item {
    border-top: 1px solid #ddd;
}

.ayuda-faq .pregunta {
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1.05rem;
    cursor: pointer;
    font-weight: bold;
    color: #1a73e8;
}

.ayuda-faq .respuesta {
    padding: 0 1.2rem 1rem;
    display: none;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

.item.extra {
    display: none;
}

.ayuda-faq .contenedor-boton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.ayuda-faq .contenedor-boton.oculto {
    display: none;
}

.ayuda-faq .btn-contacto {
    display: inline-block;
    padding: 12px 28px;
    background-color: #e8f0fe;
    color: #1a73e8;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.ayuda-faq .btn-contacto:hover {
    background-color: #1a73e8;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .ayuda-faq {
        padding: 3rem 1rem;
    }

    .ayuda-faq .ayuda-contenido h2 {
        font-size: 1.5rem;
    }

    .ayuda-faq .faq h2 {
        font-size: 1.4rem;
    }
}


/*---------------------------Animaciones para los botones-----------------------------*/
/*estos son botones / iconos del tope de pagina*/
/* Logo, se hace mas grande*/
.logo:hover {
    color: #094bb0;
    cursor: pointer;
}

/* Imagen del logo se hace mas grande*/
.logo-icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/*el contorno del boton cambia de color*/
.btn-outline:hover {
    background-color: #0a61d0;
    color: white;
    transition: 0.3s ease;
}

/*boton principal cambia de color*/
.btn-primary:hover {
    background-color: #094bb0;
    transition: 0.3s ease;
}

main {
    flex: 1;
}

.section-title {
    padding: 40px 40px 10px;
    font-size: 3rem;
    color: #0a61d0;
    border-bottom: 2px solid #0a61d0;
    width: fit-content;
}

.section-subtitle {
    padding: 10px 40px;
    font-size: 1.2rem;
}

footer {
    background-color: #004393;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer div {
    margin-bottom: 10px;
}

footer small {
    display: block;
    font-size: 0.8rem;
}

#submenu-productos {
    position: relative;
}

#submenu-productos .megamenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 100vw;
    max-width: 1000px;
    padding: 2rem;
    border-radius: 10px;
    font-family: 'Arial', sans-serif;
    color: #333;
    flex-wrap: wrap;
    gap: 1rem;
}

#submenu-productos .megamenu.show {
    display: flex;
}

#submenu-productos .col {
    flex: 1 1 200px;
}

#submenu-productos .full-width {
    flex: 1 1 100%;
    text-align: center;
}

#submenu-productos h4 {
    font-size: 1rem;
    color: #0a61d0;
    margin-bottom: 1rem;
}

#submenu-productos ul {
    list-style: none;
    padding: 0;
}

#submenu-productos ul li {
    margin-bottom: 0.5rem;
}

#submenu-productos ul li a {
    text-decoration: none;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#submenu-productos ul li a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

#submenu-productos .tech-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

#submenu-productos .tech-icons span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #444;
}

#submenu-productos .tech-icons img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

#submenu-productos>a {
    display: inline-flex;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 8px;
}

.btn-explorar-Mobile {
    display: none !important;
}

@media (max-width: 768px) {
    #seccion-innovacion .noticias {
        display: none;

    }

    #seccion-innovacion .imagen img {
        display: none;
    }

    #seccion-innovacion {
        padding: 0rem 2rem;
    }

    .btn-explorar-Mobile {
        display: flex !important;
    }

    .btn-explorar {
        display: none !important;
    }
}
