:root {
    --primary-color: #4a6bff;
    --secondary-color: #e6ebff;
    --color-texto-primario:#FFF;
    --color-fondo-ppal:#092133;
    --text-color: #333;
    --light-text-color: #555;
    --background-color: #fff;
    --fondo_panel_aux:#7fcaff;
    --fondo_panel_info:#595959;
    --border-radius: 12px;
    --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Estilos para el menú desplegable */
.dropdown-menu {
    background-color: var(--color-fondo-ppal);
    box-shadow: 0 4px 12px rgba(143, 143, 143, 0.15);
    border-radius: 1rem;
    display: none;
    max-width:300px;
    z-index:3000;
    position:fixed;
    top:10px;
    left:10px;
  }
  
  /* Estilos para cada elemento del menú */
  .dropdown-item {
    display: block;
    padding: 12px 15px;
    color: var(--color-texto-primario);
    text-decoration: none;
    border-bottom: 1px dotted rgba(253, 254, 255, 0.496)
    transition: background-color 0.2s ease;
    cursor:pointer;
  }
  
  .dropdown-item:hover {
    background-color: #f8f8f8;
    color: #2076d2;
    border-radius:1rem;
  }
  
  .dropdown-item:last-child {
    border-bottom: none;
  }
  
  /* Información del usuario en la parte superior */
  .user-info {
    padding: 15px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
    font-weight: bold;
    color: #444;
  }
  
  /* Clase para el elemento activador cuando el menú está activo */
  .menu-active {
    display:block !important;
  }
  
  /* Estilo opcional para añadir una flecha indicadora al elemento activador */
  .menu-active::after {
    content: '';
    position: fixed;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
    z-index: 1002;
  }

.img_avatar_top{
    display:inline-block;
    height:30px;
    width: 30px;
    position:relative;
    overflow: hidden;
    border-radius:50%;
    vertical-align: middle;
    cursor:pointer;
}
.img_avatar_top img{
    object-fit: cover;
    height: 100%;
    width:100%;
}
.nombre_usr_top{
    display:inline-block;
    margin-left:.5rem;
    font-size:1.1rem;
    font-weight: 500;
    color:#bdf3fb;
    padding-right:1.5rem;
    border-right:1px solid #fff;
    vertical-align: middle;
}

.zona_pestas
{
    display:flex;
    justify-content: flex-start;
    gap:.3rem;
    width:90%;
    margin-left:1.5rem;
}
.pesta{
    background-color:#999;
    color:#333;
    cursor:pointer;
    border-top-left-radius:.5rem;
    border-top-right-radius: .5rem;
    text-align:center;
    padding:1rem;
    min-width:120px;
}
.contenedor_pestas{
    padding:.3rem;
    border-radius:1rem;
    border:1px solid #777;
    min-height:500px;
}
.pesta_sel{
    background-color: #fff;
    color:#333;
    cursor:inherit;
}
.cont_pesta_dest{
    display:none !important;
}
.no_opac{
    opacity:1 !important;
}
.bloque_dom{
    margin-top:1rem;
}
.zona_prompt{
    margin-top:1rem;
}
.cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    vertical-align: middle;
    background-color: rgb(219, 16, 246);
    animation: blink 0.7s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.boton_icono{
    padding:.5rem;
    border-radius:.3rem;
    text-align:center;
    display:inline-flex;
    justify-content: center;
    align-items: center;
    background-color:#1c1c1c;
    color:#fff;
    height:100%;
    width:25px;
    margin-left:.5rem;
    cursor:pointer;
    vertical-align: middle;
}
.titulo_diagrama{
    font-size:1.3rem;
    width: 100%;
    text-align: center;
    margin-bottom:1rem;
    color:var(--primary-color);
}
.subtitulo_diagrama{
    font-size:1rem;
    margin-top:1.2rem;
    margin-bottom:2rem;
    width: 100%;
    text-align:center;

}
#acciones_flujo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2c2c2c;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: fit-content;
    margin: 10px auto;
    opacity:0;
    transition: opacity 1s ease-in;
}

#acciones_flujo button {
    background: #444;
    border: none;
    color: white;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#acciones_flujo button:hover {
    background: #555;
}

#acciones_flujo button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#acciones_flujo input {
    background: #1c1c1c;
    color: white;
    border: none;
    padding: 5px;
    width: 60px;
    text-align: center;
    font-size: 14px;
    border-radius: 5px;
}

.material-icons {
    font-size: 20px;
    vertical-align: middle;
}

.contenedor_diagrama_ppal{
    width: 90%;  /* Puedes ajustar el ancho */
    margin: auto; /* Centrar horizontalmente */
    border: 1px solid black;
    overflow-y: auto; /* Hacer scroll vertical si es necesario */
    overflow-x: hidden; /* Evitar desplazamiento horizontal */
    display: flex;
    justify-content: center; /* Centrar el contenido */
    align-items: center;
    background-color:#dadada;
    margin-top:2rem;
    margin-left:auto;
    margin-right:auto;
    padding-top:2rem;
    padding-bottom:2rem;
    border-radius:1rem;
    transition: opacity 1.5s ease-in;

}
.seguimiento_lateral{
    display:none;
    width:90%;
    margin-left:auto;
    margin-right:auto;
    padding:1rem;
    border-radius:1rem;
    background-color:var(--fondo_panel_info);

    color:var(--color-texto-primario);
    opacity:0;
    transition: opacity .5s ease-in;
}
.pyr_titulo{
    font-size:1rem;
    text-align:center;
    margin-bottom:1.5rem;
    width: 100%;
    font-weight: 700;
}
.pyr_contenido{
    margin-bottom:1rem;
    width:100%;

}
.texto_trabajando
{
    font-size:.9rem;
    text-align:center;
    transition: opacity .5s ease-in-out;
}
/* Estilos con prefijo ds_ para evitar conflictos */
.ds_contenedor-boton-demo {
    position: relative;
    width: 220px;
    height: 70px;
}

.ds_boton-demo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6e22ce, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(110, 34, 206, 0.3);
}

/* Estilo para botón desactivado */
.ds_boton-demo.ds_desactivado {
    background: linear-gradient(135deg, #8e8e8e, #5e5e5e);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: none !important;
}

.ds_boton-demo.ds_desactivado:before {
    display: none;
}

.ds_boton-demo.ds_desactivado:hover {
    transform: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ds_boton-demo:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.ds_boton-demo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(110, 34, 206, 0.4);
}

.ds_boton-demo:hover:before {
    left: 100%;
}

.ds_contenedor-particulas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.ds_particula {
    position: absolute;
    display: block;
    pointer-events: none;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
}

@keyframes ds_pulso {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.fondo_total
{
    display:none;
    position:fixed;
    z-index:100000;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-color:#000;
    opacity:.7;
}
.capa_trabajando{
    display:none;
    position:fixed;
    top:20%;
    left:0px;
    width:100%;
    height:250px;
    padding-top:4rem;
    padding-bottom:7rem;
    text-align:center;
    z-index:100001;
    background-color:#000;
    font-size:1.2rem;
}
.capa_trabajando img{
    max-width: 250px;
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #a9e5ff;
    background-color:var(--color-fondo-ppal);
}
input[type="file"]{
    color:#092133 !important;
}
.desafio{
    color:#092133;
}
.txt_resumen{
    display:none;
    font-size:1rem;
    color:#42a5f5;
    padding-bottom:1rem;
    margin-bottom:1rem;
    border-bottom:1px dotted #ccc;
}
.zona_pyr{
    display:none;
}
.mini_cabecera{
    width:70%;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}
.mini_cabecera h2{
    font-size:1.2rem;
    color:#FFF !important;
    margin:.3rem;
}
.mini_cabecera img{
    height:120px;
}
.zona_demo{
    display:none;
    min-height:900px;
    margin-top:2rem;
}
.iproducto  p{
    color:#FFF !important;
}
.oscuro_app
{
    background-color:#222 !important;
    color:#777 !important;
}


.bloque_pregunta {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.bloque_pregunta p {
    font-weight: bold;
    margin-bottom: 5px;
}

.sugerencia {
    background-color: #e3f2fd;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #42a5f5;
    font-style: italic;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border: none;
    background-color: #42a5f5;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1e88e5;
}

#enviar_respuestas {
    width: 100%;
    background-color: #2e7d32;
}

#enviar_respuestas:hover {
    background-color: #1b5e20;
}

.produ{
    min-height: 200px !important;
}
/* Estilos para el diagrama de flujo */
.flow-diagram {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .node text {
    pointer-events: none;
  }
  
  .node:hover {
    cursor: pointer;
    filter: brightness(1.1);
  }
  
  .link path {
    transition: stroke-width 0.2s;
  }
  
  .link:hover path {
    stroke-width: 3;
    stroke: #333;
  }
  
  .link text {
    font-weight: bold;
    background-color: white;
    padding: 2px 4px;
  }
  
  /* Estilos para el panel de control */
  .controls {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px;
  }
  
  .controls button {
    margin: 0 5px;
    padding: 5px 10px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 3px;
    cursor: pointer;
  }
  
  .controls button:hover {
    background-color: #e0e0e0;
  }
.contenedor-diagrama{
    width: 98%;
    margin-left:auto;
    margin-right:auto;
    margin-top:1rem;
    border-top:1px solid #ccc;
    padding-top:1rem;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index:3500;
    background: rgba(37, 57, 76, 0.9);
    color: rgb(253, 254, 255);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    display: flex;
    justify-content: center;
}
.cookie-banner a{
    color:inherit;
}

.cookie-container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-container p {
    margin: 0;
    flex: 1;
    text-align: left;
}

.cookie-container button {
    background: #0073e6;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}
.campo_error{
    border:2px solid #cb0780 !important;
}
.cookie-container button:hover {
    background: #005bb5;
}

.cookie-container button:nth-child(3) {
    background: #666;
}

.cookie-container button:nth-child(3):hover {
    background: #444;
}


.marco_contenedor{
    width:90%;
    margin-left:auto;
    margin-right:auto;
}
.contenedorcp{
    margin-top:1.5rem;
}
#mensaje-emergente {
    position: fixed;
    top: 40%; /* Posición vertical central */
    transform: translateY(-50%); /* Ajuste fino para centrar verticalmente */
    left:-300px;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    width: 300px; /* Inicialmente ancho 0 */
    transition: left 0.3s ease-in-out; /* Transición suave */
    overflow: hidden; /* Oculta el contenido que se desborda al cambiar el ancho */
}

#mensaje-contenido {
    background-color: #f0f0f0;
    padding: 1.5rem;
    border-top-right-radius: .5rem;
    border-bottom-right-radius: .5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#mensaje-emergente.show {
    left: 0px; /* Ancho completo */
}

#mensaje-cerrar {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Estilos de fondo según el tipo de mensaje */
#mensaje-emergente.ok #mensaje-contenido {
    background-color: #4CAF50; /* Verde para OK */
    color: white;
}

#mensaje-emergente.error #mensaje-contenido {
    background-color: #7f0c66; /* Rojo para error */
    color: white;
}

#mensaje-emergente.ojo #mensaje-contenido {
    background-color: #ff9800; /* Amarillo para ojo */
}

#mensaje-emergente.neutro #mensaje-contenido {
    background-color: #e0e0e0; /* Gris para neutro */
}
.container{
    width:90%;
}
.msg_fallo{
    color:#cc087a;
    font-weight: 800px;
}
.cmp_err{
    background-color: #cc087a;
    color:#FFF;
    border-radius:.5rem !important;
}

.menu {
    background-color: #2c6e8e;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu nav {
    display: flex;
    align-items: center;
    width: 90%;
    justify-content: space-between;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-content: center;
    align-items: center;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.menu ul li a:hover {
    color: #c5c6c7;
}

.menu ul li.active a {
    /* border-bottom: 3px solid #ffcc00; Subrayado amarillo */
    font-weight: bold;
    background-color:#FFF;
    color:#1e5670;
    border-radius:.5rem;
    padding:.5rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.menu ul li.active a:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
}

.lang-link {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.lang-link:hover {
    color: #ffdd57;
}

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero .contenido {
    display: grid;
    grid-template-columns: 1fr 2fr;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.hero .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.hero .logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
}

.hero .texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(44, 110, 142, 0.6);
    border-radius: 10px;
    animation: fadeIn 2s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.hero .texto h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.hero .texto p {
    font-size: 1.2rem;
    margin: 0;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-direction: row;
    transition: transform 0.5s;
    border-bottom: 2px solid #ccc;
}
.section:last-child{
    border:0px !important;
}

.section:hover {
    transform: scale(1.02);
}

.section .text {
    flex: 1;
    text-align: left;
}

.section .media {
    flex: 1;
}

.section .media video, .section .media img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s;
}

.section .media video:hover, .section .media img:hover {
    transform: scale(1.05);
}

.section:nth-child(even) {
    flex-direction: row-reverse column;
}

.section h2 {
    color: #2c6e8e;
    margin-bottom: 15px;
}

.section p {
    margin-bottom: 20px;
    line-height:1.6;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #2c6e8e;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.button:hover {
    background-color: #1e5670;
}

.pie-de-pagina {
    background-color: #797979;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.menu-pie {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    padding: 0;
}

.menu-pie li a {
    color: #fff;
    text-decoration: none;
}

.section .media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s;
}

.section .media img:hover {
    transform: scale(1.05);
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

.menu-toggle{
    display:none;
}


.hero_int {
    text-align: center;
    padding: 80px 20px;
    /* background: url('https://www.amgor.com/corporax/iface/fondo_empresa2.jpg') center/cover no-repeat; */
    position: relative;
    color: #fff;
    min-height:350px;
    display: flex;
    justify-content: center;
    align-items: center; /* Centra el texto verticalmente */
    transition:padding .5s ease-in-out;
}

.hero_int::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero_int .hero-text {
    background: rgba(255, 255, 255, 0.5);
    color: #1e5670;
    display: inline-block;
    padding: 15px 25px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    width:50%;
    min-width:550px;
}

.hero_int h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero_int p {
    font-size: 1.3rem;
}
.solo-logo{
    display:none;
}


@media (max-width: 768px) {
    .solo-logo{
        display:block !important;
        position:fixed;
        top:.3rem;
        right:1rem;
        z-index:1000;
    }
    .img-solo-logo{
        width:50px;
        height:50px;
        overflow:hidden;
        position:relative;
        padding:.3rem;
        background-color:#FFF;
        border-radius:50%;
        opacity:.6;
    }
    .img-solo-logo img{
        width:100;
        height:100%;
        object-fit: cover;
        cursor:pointer;
        border:0px;
    }
    .invisible{
        display:none;
    }

    .section {
        flex-direction: column;
        margin-bottom:10px !important;
    }

    .section .media, .section .text {
        width: 100%;
    }

    .section .media img {
        height: 200px;
    }
    .texto{
        margin-top:1rem;
    }
    .titulo-presentacion{
        
    }
    .hero{
        height:400px;
    }
    .hero .contenido{
        display:grid;
        grid-template-columns:1fr;
    }
    .hero .texto h1{
        font-size:1.5rem;
    }
    .hero .texto p{
        font-size:.9rem;
    }
    .hero_int{
        flex-wrap:wrap;
    }
    .hero_int .hero-text{
        width:80%;
        min-width: 0px;
    }
    .hero-text h1{
        font-size:1.8rem;
    }
    .hero_int .hero-text p{
        font-size:1rem;
    }
    label{
        font-size:.9rem;
        font-weight: 500;
    }
    .menu{
        box-shadow: 0px,0px,10px,10px rgb(0,0,0,0.5);
        position:fixed;
        top:0px;
        left:-55%;
        z-index:2000;
        width:40%;
        padding:1.5rem;
        justify-content: flex-start;
        align-items: flex-start;
        height:100vh;
        opacity: 0.92;
        transition: left .4s ease-in-out;
    }
    .menu .container
    {
        width:100%;
    }
    .menu .container nav{
        flex-direction:column;
        flex-wrap: wrap;
        gap:1rem;
    }
    .menu .container nav ul{
        width:100%;
        display:block;
    }
    .menu .container nav ul li{
        margin-bottom:1.5rem;
    }
    .marco_contenedor{
        margin-top:4rem;
    }

    .cookie-banner{
        width:90%;
        position:fixed;
        bottom:10vh;
        left: 10%;
        width: 70%;
        z-index: 3000;
        border-radius: 1rem;
        text-align: center;
        border:1px solid #1e5670;
    }
    .cookie-banner p{
        font-size:1rem;
        text-align:center;
        margin-bottom:1.5rem;
    }

    .menu-toggle {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 3000;
        width: 35px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        color:#333;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 5px;
        background: #777;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    
    /* Estilos para mostrar el menú */
    .menu.active {
        left: 0;
    }
    .pie-de-pagina{
        width:100%;
        padding:0px;
    }
    .pie-de-pagina .container{
        width:90%;
        margin-left:auto;
        margin-right:auto;
        margin-top:1.5rem;
        padding-top:1.5rem;
        padding-bottom:1.5rem;
    }
    .menu-pie{
        padding:0px;
        display:flex;
        flex-wrap:wrap;
        font-size:.9rem;
    }
    .copyright{
        margin-top:1.5rem;
    }
    
}




.botonera
{
    display:flex;
    width:90%;
    margin-left:auto;
    margin-right:auto;
    justify-content: space-around;
}

/* Sección Oportunidades de Inversión */
.section.inversion {
    margin-top: 80px;
    padding: 50px 20px;
    text-align: center;
    background-color: #e6f4f7;
}

.section.inversion h2 {
    color: #2c6e8e;
    margin-bottom: 20px;
}

.section.inversion p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.section.inversion .button {
    background-color: #2c6e8e;
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
}

.section.inversion .button:hover {
    background-color: #1e5670;
}


/* Separación entre hero y secciones */
.section:first-of-type {
    padding-top: 80px;
}



/* Sección de cifras */
.stats {
    text-align: center;
    padding: 60px 20px;
    background-color: #2c6e8e;
    color: #fff;
}

.stats h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.stat h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffdd57;
}

.stat p {
    font-size: 1rem;
    color: #fff;
}

/* CTA final */
.cta {
    text-align: center;
    padding: 60px 20px;
    background-color: #2c6e8e;
    color: #fff;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta .button {
    display: inline-block;
    background-color: #ffdd57;
    color: #1e5670;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta .button:hover {
    background-color: #e6c24b;
}

.form-section {
    max-width: 450px;
    min-height:500px;
    margin: 40px auto;
    padding: 20px;
    padding-right:40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease-in-out;
}
.nprompt{
    min-height: auto !important;
    margin:1rem !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.form-section h2 {
    text-align: center;
    color: #1e5670;
    margin-bottom: 20px;
}

.form-section-cabecera{
    text-align:center;
    font-size:.9rem;
    width:100%;
    padding:.5rem;
    background-color: #68005c;
    color:#FFF;
    font-family:'Inter',sans-serif;
    font-weight: 300;
    margin-bottom:1rem;
    border-radius:.5rem;
    margin-left:auto;
    margin-right:auto;
}

.form-section label {
    display: block;
    font-weight: 400;
    margin: 10px 0 5px;
    color: #2c6e8e;
    font-family:'Inter',sans-serif;
    font-size:.9rem;
}

.form-section input,
.form-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-section textarea {
    height: 120px;
    resize: vertical;
    font-family:'Inter',sans-serif;
    font-size:.9rem;
}

.form-section input[type="file"] {
    border: none;
}

.form-section img {
    display: block;
    margin: 10px 0;
}

.form-section button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #2c6e8e;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease-in-out;
}

.form-section button:hover {
    background: #1e5670;
}
.form-section select {
    width: 85%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
}

.form-section select:focus {
    border-color: #2c6e8e;
    outline: none;
    box-shadow: 0 0 5px rgba(44, 110, 142, 0.5);
}

.no_borde{
    border:0px !important;
}
p a{
    color:#FFF !important;
}


/* Contenedor principal del chatbot */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Botón para abrir/cerrar el chatbot */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

/* Contenedor principal del chatbot */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Botón para abrir/cerrar el chatbot */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

/* Panel del chatbot */
.chatbot-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform var(--transition-speed);
}

.chatbot-panel.active {
    transform: scale(1);
}

/* Encabezado del chatbot */
.chatbot-header {
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
}

/* Área de mensajes */
.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.message.user .message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 5px;
}

.message.bot .message-content {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-bottom-left-radius: 5px;
}

/* Área de entrada de texto */
.chatbot-input-container {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
}

/* Estilo para el input deshabilitado */
.chatbot-input:disabled {
    background-color: #f2f2f2;
    color: #999;
    cursor: not-allowed;
}

.chatbot-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color var(--transition-speed);
    font-family: inherit;
}

.chatbot-input:focus {
    border-color: var(--primary-color);
}

.send-button {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.send-button:hover {
    background-color: #3a5bef;
}

.send-button svg {
    width: 20px;
    height: 20px;
}

/* Estilo para el texto de atribución */
.chatbot-propiedad {
    padding: 8px 15px;
    text-align: center;
    font-size: 11px;
    color: #999;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
}

/* Animación de "escribiendo" */
.typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    margin: 0 1px;
    background-color: #bbb;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.typing-indicator span:nth-child(1) {
    animation: pulse 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation: pulse 1s infinite 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation: pulse 1s infinite 0.4s;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}