﻿ul {
    list-style: inherit;
}

li::marker {
    color: #F45635;
}

/* Clases para una divisiÃ³n 45/55 */
.col-45 {
    flex: 0 0 45%;
    /* Evita que el ancho cambie */
    width: 45%;
}

.col-55 {
    flex: 0 0 55%;
    /* Evita que el ancho cambie */
    width: 55%;
}

@media (min-width: 768px) and (max-width: 960px) {

    .col-45,
    .col-55 {
        width: 50%;
        flex: 0 0 50%;
    }
}

/* Opcional: Estilo responsivo para que las columnas se apilen en pantallas pequeÃ±as */
@media (max-width: 768px) {

    .col-45,
    .col-55 {
        width: 100%;
        height: 100%;
        flex: 0 0 100%;
    }
}

.background-section-one {
    background-image: url("../../assets/img/nosotros/bg_nosotros_sec1.jpg");
    /* Reemplaza con la ruta de tu imagen */
    background-size: cover;
    /* Asegura que la imagen cubra toda la secciÃ³n */
    background-position: center center;
    /* Centra la imagen */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
}

/* **************************************
      Ecosistema
************************************** */
/* 1. Establecer la referencia de posiciÃ³n en el contenedor principal */
#section-two {
    position: relative; /* Esencial para el posicionamiento absoluto */
    /* ... otras clases que ya tenÃ­as ... */
}

/* 2. Estilos para el cÃ­rculo flotante */
.circulo-central {
    position: absolute;
    /* Coloca el cÃ­rculo en el centro geomÃ©trico del contenedor relativo */
    top: calc(50% + 1px);
    left: 50%;
    
    /* Mueve el cÃ­rculo hacia atrÃ¡s la mitad de su propio ancho/alto para centrarlo */
    transform: translate(-50%, -50%); 
    
    /* Definir el tamaÃ±o y forma */
    width: 400px; /* Ajusta el tamaÃ±o segÃºn tu diseÃ±o */
    height: 400px; /* Debe ser igual al ancho para un cÃ­rculo perfecto */
    border-radius: 50%; /* Crea la forma circular */
    
    /* Estilos visuales */
    background-color: white; /* O el color que necesites */
    z-index: 5; /* Asegura que estÃ© por encima de las cajas y las imÃ¡genes/videos */
    
    /* Centrar el texto dentro del cÃ­rculo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.texto-central-ecosistema {
    /* Estilos del texto dentro del cÃ­rculo */
    color: black; 
    font-size: 1.2rem;
}

/* 1. Posicionamiento: Ambas caras (imagen y video) deben superponerse */
.caja-fade {
    position: relative; /* Contenedor principal para la referencia */
    width: 100%;
    height: calc(50vh + 1px);
}

.cara.frontal, .video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

/* 2. Estilos del VIDEO para el efecto fundido */
.video-fondo {
    opacity: 0; 
    z-index: 2; /* Sobre la imagen */
     /* La transiciÃ³n suave */
    object-fit: cover;
}

.circulo-central {
    /* ... tus estilos de posicionamiento y tamaÃ±o ... */
    
    /* AÃ±adir transiciÃ³n para el efecto fundido */
    transition: opacity 0.4s ease-in-out; 
    opacity: 1; /* Visible por defecto */
    /* AsegÃºrate de que su z-index sea alto para que no estorbe */
    z-index: 5; 
}

/* Imagen de fondo */
.bg-eco-medios {
    background: url('../../assets/img/nosotros/ecosistema/interno/eco-medios.jpg') no-repeat center center;
    background-size: cover;
    padding: 0;
}

.bg-eco-contenidos {
    background: url('../../assets/img/nosotros/ecosistema/interno/eco-contenidos.jpg') no-repeat center center;
    background-size: cover;
    padding: 0;
}

.bg-eco-tecnologia {
    background: url('../../assets/img/nosotros/ecosistema/interno/eco-tecnologia.jpg') no-repeat center center;
    background-size: cover;
    padding: 0;
}

.bg-eco-sustentabilidad {
    background: url('../../assets/img/nosotros/ecosistema/interno/eco-sustentabilidad.jpg') no-repeat center center;
    background-size: cover;
    padding: 0;
}

/* Capa de color semitransparente */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Contenedor del contenido (caja de texto) */
.content-container {
    padding: 0;
    position: relative;
    z-index: 2;
    height: 100vh;
}

/* Estilo de la caja de contenido */
.content-box {
    color: #fff;
    padding: 3rem;
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Para controlar el ancho en pantallas grandes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* ícono Reveal (solo páginas Nosotros) */
.reveal-panel .reveal-close-btn,
.reveal-panel [data-reveal-close] {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 30px;
    height: 30px;
    display: block;
    overflow: visible;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    border: 1px solid #ffffff;
    border-radius: 50px;
    background-color: transparent;
    background-image: none;
    cursor: pointer;
    z-index: 11;
}

.reveal-panel .reveal-close-btn::before,
.reveal-panel [data-reveal-close]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../../assets/img/chevron-up-solid-full.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    transition: transform 0.25s ease;
}

.reveal-panel .reveal-close-btn:hover,
.reveal-panel [data-reveal-close]:hover {
    transform: none;
}

.reveal-panel .reveal-close-btn:hover::before,
.reveal-panel [data-reveal-close]:hover::before {
    transform: rotate(180deg);
}`r`n/* **************************************
    Diferenciales
    *************************************** */
/* Estilo para la fila del tÃ­tulo superpuesta */
.titulo-superpuesto {
    /* Mueve la fila del tÃ­tulo hacia abajo para que se superponga con el elemento siguiente (las cajas) */
    /* AJUSTA el valor (-20px) segÃºn quÃ© tanto quieres que se superponga */
    /* margin-bottom: -65px;  */
    
    /* Asegura que el tÃ­tulo siempre estÃ© en la parte superior */
    position: relative;
    z-index: 10; 

    padding: 20px; 
}

/* --- 1. Contenedor Principal del Flip --- */
.caja-flip {
    height: calc(50vh + 1px);
    width: 100%;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #002646;
}

/* --- 2. Estilos de las Caras (Frontal y Trasera) --- */
/* Las transiciones de flip se manejan desde JS para evitar bugs de
   transition-delay en Firefox al salir del estado :hover */
.cara {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

/* --- 3. Estilos de la Cara FRONTAL (Borde Recto) --- */
.frontal {
    display: flex;
    flex-direction: column;
    transform: rotateY(0deg);
    z-index: 2;
    pointer-events: none;
}

.frontal img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 0; 
    z-index: 1; 
}

.frontal::before, .trasera::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Ocupa 1/3 de la altura de la caja (350px / 3 â‰ˆ 117px) */
    height: 25%; 
    z-index: 2; /* Sobre la imagen pero bajo el texto */
    
    /* Degradado de negro a transparente, de abajo hacia arriba */
    background: linear-gradient(
        to bottom,
        rgba(0, 38, 70, 0.8) 0%, /* Negro sÃ³lido en la base (0%) */
        transparent 100%       /* Transparente en la parte superior (100%) */
    );
}

.frontal::after, .trasera::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Ocupa 1/3 de la altura de la caja (350px / 3 â‰ˆ 117px) */
    height: 25%; 
    z-index: 2; /* Sobre la imagen pero bajo el texto */
    
    /* Degradado de negro a transparente, de abajo hacia arriba */
    background: linear-gradient(
        to top,
        rgba(0, 38, 70, 0.8) 0%, /* Negro sÃ³lido en la base (0%) */
        transparent 100%       /* Transparente en la parte superior (100%) */
    );
}

.frontal .texto-inferior {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 10px;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.1;
    font-weight: 600;
    color: #ffffff;
    /* Mantenemos el texto blanco para contrastar con el degradado oscuro */

    /* Â¡CAMBIO CLAVE! ELIMINAMOS el background-color sÃ³lido: */
    background-color: transparent;

    display: flex;
    align-items: flex-end;
    /* Alinea el texto a la parte inferior del contenedor */
    justify-content: center;
    /* Damos la altura del 1/3 de la caja para que el texto estÃ© dentro del Ã¡rea del degradado */
    height: 33.33%;

    z-index: 3;
    /* CLAVE: Aseguramos que el texto estÃ© encima del degradado (z-index: 2) */
}

.frontal p.texto-inferior {
    margin-bottom: 0;
}

/* --- 4. Estilos de la Cara TRASERA (Borde Recto) --- */
.trasera {
    /* background: var(--bluesteel-gradient); */
    background: #c5e5ff;
    color: #002646;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    /* Empieza de canto (90deg): invisible sin backface-visibility ni preserve-3d */
    transform: rotateY(90deg);
    z-index: 1;
}

.trasera h4 {
    font-size: 1.2rem;
    font-weight: bold;
}

.trasera p, .trasera ol li {
    font-size: 1rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .trasera p, .trasera ol li {
        font-size: .8rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) and (-webkit-device-pixel-ratio: 3) {
    .trasera p, .trasera ol li {
        font-size: .8rem;
        line-height: 1;
    }
}

@media (min-width: 768px) and (max-width: 1280px) and (-webkit-device-pixel-ratio: 1.5) {
    .trasera p, .trasera ol li {
        font-size: .8rem;
        line-height: 1;
    }
}

/* VB */
@media (min-width: 1024px) and (-webkit-device-pixel-ratio: 3) {
    .trasera p, .trasera ol li {
        font-size: .8rem;
        line-height: 1;
    }
}

/* Media query para tu configuraciÃ³n especÃ­fica de XPS 13 sin zoom del 125% */
@media (min-width: 1280px) and (min-height: 720px) and (-webkit-device-pixel-ratio: 3) {
    /* Estilos para tu configuraciÃ³n con un zoom del 100% */
    .trasera p, .trasera ol li {
        font-size: .8rem;
        line-height: 1;
    }
}

/* Media query para tu configuraciÃ³n de XPS 13 con zoom del 125% */
@media (min-width: 1024px) and (min-height: 576px) and (-webkit-device-pixel-ratio: 3) {
    .trasera p, .trasera ol li {
        font-size: .8rem;
        line-height: 1;
    }
}

/* From Uiverse.io by Creatlydev */
/* Boton ver mÃ¡s */
.toggle-features-btn {
    position: relative;
    z-index: 2;
    line-height: 1;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.8rem;
    border: 1px solid #ffffff;
    border-radius: 10rem;
    padding: 3px 3px 3px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s;
}

.button__icon-wrapper {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    position: relative;
    color: #fff;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    /* transform: rotate(0deg); */
}

.toggle-features-btn:hover {
    background-color: rgba(0,0,0,0.6);
}

.toggle-features-btn:hover .button__icon-wrapper {
    color: #fff;
}

/* --- ESTADO BASE DE Flechas --- */

/* Estilos para AMBOS Ã­conos */
.toggle-features-btn .button__icon-svg {
  /* Le decimos al navegador que se prepare para animar el transform */
  will-change: transform;
  /* Definimos la transiciÃ³n base para que la salida tambiÃ©n sea suave */
  transition: transform 0.3s ease-in-out;
}

/* PosiciÃ³n inicial del segundo Ã­cono (la copia) */
.button__icon-svg--copy {
  position: absolute;
  transform: translate(0%, -30%);
}

/* --- ESTADO :HOVER DEL BOTÃ“N --- */

/* La primera flecha se va hacia abajo */
.toggle-features-btn:hover .button__icon-svg:first-child {
  transform: translate(0%, 30%);
}

/* La segunda flecha (copia) entra en su lugar */
.toggle-features-btn:hover .button__icon-svg--copy {
  /* El delay se mantiene aquÃ­ para que solo ocurra al entrar */
  transition-delay: 0.1s;
  transform: translate(0);
}

/* ========================================================== */
/* MODIFICADOR PARA LA FLECHA HACIA LA DERECHA            */                      
/* ========================================================== */

/* 1. Giramos el contenedor del Ã­cono -90 grados */
.toggle-features-btn .button__icon-wrapper.button__icon-wrapper--right {
  transform: rotate(-90deg);
}


