@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --principal: #2E2E2E;
    --naranja: #F5764D;
    --azul: #44C8EE;
    --blanco: #ffffff;
    --h1: 35px;
    --h2: 50px;
    --h3: 20px;
    --texto-general: 18px;
}

.naranja {
    color: var(--naranja);
}

.azul {
    color: var(--azul);
}

.resaltado {
    color: var(--principal);
    font-weight: 500;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 20px 20px 20px;
    margin: 0 auto;
    top: 0;
    right: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 22;
    background: #fff;
}

.menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.menu li a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: var(--texto-general);
    transition: color 0.3s ease;
}

#burger-toggle {
    display: none;
}

/* --- Estilos del Icono de Hamburguesa (Solo visible en Móvil) --- */
.burger-container {
    display: none;
    /* Se oculta por defecto en desktop */
    cursor: pointer;
    z-index: 1001;
    /* Asegura que esté sobre todo */
}

.burger-line {
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* --- Estilos del Menú (Por defecto para Desktop) --- */
.contenedor-menu {
    /* En desktop, el botón de cerrar no es visible */

}

.close-btn {
    display: none;
}

header {
    width: 100%;
    height: 800px;
    overflow: hidden;
}

/* Contenedor del slider */
.slider {
    display: flex;
    width: 300%;
    /* 3 imágenes, así que 300% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
    padding-bottom: 1500px;
    margin-top: 5%;
}

/* Cada slide */
.slide {
    width: 100%;
}

.slide-1 {
    background-image:
        url('Eventos-Empresariales-Blanco-Naranja.webp'),
        url('../imagenes/banners/persona-1.webp'),
        url('../imagenes/banners/banner-teambuilding-1.webp'),
        url('../imagenes/banners/banner-1.webp');
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat;
    background-position:
        calc(40% - 15%) 30%, 
        left bottom,
        0 center,
        180% center;
    background-size:
        30%,
        23%,
        auto,
        80%;
}

.slide-2 {
    background-image:
        url('Eventos-Empresariales-Azul-Blanco.webp'),
        url('../imagenes/banners/persona-2.webp'),
        url('../imagenes/banners/banner-teambuilding-2.webp'),
        url('../imagenes/banners/banner-2.webp');
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat;
    background-position:
        calc(40% - 15%) 30%, 
        left bottom,
        0 center,
        180% center;
    background-size:
        30%,
        20%,
        auto,
        80%;
}

.slide-3 {
    background-image:
        url('Eventos-Empresariales-Gris-Naranja.webp'),
        url('../imagenes/banners/persona-3.webp'),
        url('../imagenes/banners/banner-teambuilding-3.webp'),
        url('../imagenes/banners/banner-3.webp');
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat;
    background-position:
        calc(40% - 15%) 30%,
        left bottom,
        0 center,
        180% center;
    background-size:
        30%,
        20%,
        auto,
        80%;
}

h1 {
    color: var(--principal);
    font-size: var(--h1);
    text-align: center;
}

.primer-contenedor {
    padding-top: 30px;
}

.contenedor-principal {
    background-image:
        url('../imagenes/fondo.webp'),
        url('../imagenes/circulos/circulo-azul-mediano.webp'),
        url('../imagenes/circulos/circulo-blanco-grande.webp');
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat;
    background-position:
        calc(50% - 30%) -90%,
        calc(20% - 5%) 58%,
        calc(50% - 10%) 30%;
    background-size:
        auto,
        15%,
        14%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columnas del mismo tamaño */
    gap: 0;
    justify-content: center;
}

.pc-texto {
    display: flex;
    align-items: center;
    flex-direction: column;
    transform: translateX(100px);
}

.pc-texto p {
    text-align: center;
    font-size: var(--texto-general);
}

.circulo-pequeño {
    width: 4%;
    padding: 10px 0;
}

iframe {
    margin: 50px 0;
    width: 50%;
    height: 315px;
}

/*.segundo-h1 {
    color: var(--principal);
    font-size: var(--h1);
    text-align: center;
    padding: 50px 0 0 0;
}*/

.pc-imagenes {
    background-image: url('../imagenes/fondo-circulos-de-colores.webp');
    background-repeat: no-repeat;
    background-position: top center;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100px);
}

.primera {
    z-index: 0;
}

.segunda {
    z-index: 1;
    margin: -50px 300px 0 0;
}

.tercera {
    z-index: 2;
    margin: -50px -50px 0 0;
}

.contenedor-circulos-iconos {
    display: flex;
    justify-content: center;
    padding: 20px 0 20px 0;
}

.cont-azul {
    background-color: var(--azul);
    border-radius: 100%;
    width: 15%;
    height: 300px;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.5;
    margin-right: -50px;
}

.cont-azul h3 {
    color: var(--blanco);
    font-size: var(--h3);
}

.cont-naranja {
    background-color: var(--naranja);
    border-radius: 100%;
    width: 15%;
    height: 300px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    display: flex;
    justify-content: center;
    opacity: 0.8;
    margin-right: -50px;
}

.cont-naranja h3 {
    color: var(--blanco);
    font-size: var(--h3);
}

.segundo-contenedor {
    background-image: url('../imagenes/fondo.webp');
    background-repeat: no-repeat;
    background-position: 50px center;
    padding: 50px 0 50px 0;
    text-align: center;
}

.segundo-contenedor p {
    font-size: var(--texto-general);
}

.sub-contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columnas del mismo tamaño */
    gap: 0;
    justify-content: center;
    align-items: center;
}

.cont-izq p {
    transform: translateX(100px);
}

.cont-izq {
    font-size: var(--texto-general);
}

.texto-circulos {
    background-image:
        url('../imagenes/circulos/circulo-azul-mediano.webp'),
        url('../imagenes/circulos/circulo-negro-grande.webp'),
        url('../imagenes/circulos/circulo-naranja-mediano.webp');
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat;
    background-position:
        calc(50% - 50px) 320px,
        85% center,
        25% center;
    background-size:
        30%,
        60%,
        55%;
    padding: 80px 0 80px 0;
}

.texto-circulos h1 {
    color: var(--blanco);
    font-size: 100px;
    line-height: 1;
}

.cont-der {
    transform: translateX(-100px);
}

.cont-der p {
    font-size: var(--texto-general);
}

.cont-imagenes-der {
    background-image:
        url('../imagenes/circulos/circulo-azul-grande.webp'),
        url('../imagenes/circulos/circulo-blanco-chico.webp');
    background-repeat:
        no-repeat,
        no-repeat;
    background-position:
        calc(20% - -45%) 90%,
        calc(10% - -10%) 0;
    background-size:
        50%,
        8%;
    padding-bottom: 100px;
}

.imagenV2 {
    padding: 0 0 80px 20px;
}

/*.tercer-h1 {
    color: var(--principal);
    font-size: var(--h1);
    text-align: center;
    padding: 50px 0 0 0;
}*/

.tercer-contenedor {
    padding-bottom: 150px;
}

.tercer-contenedor p {
    font-size: var(--texto-general);
    text-align: center;
    margin: -30px 0 50px 0;
}

.contenedor-metodologia-integral {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* ejemplo */
    gap: 0px;
}

.contenedor-uno {
    margin-left: 45%;
}

.contenedor-uno h2 {
    border-radius: 100%;
    background-color: var(--naranja);
    text-align: center;
    width: 22%;
    color: var(--blanco);
    font-size: var(--h2);
    font-weight: 600;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    margin: 50px 0 0 0;
}

.contenedor-uno h3 {
    background-color: var(--azul);
    color: var(--blanco);
    border-radius: 20px;
    padding: 10px 20px 10px 35px;
    margin-right: 40px;
    font-size: var(--h3);
}

.contenedor-uno p {
    font-size: var(--texto-general);
    text-align: left;
    padding: 20px 0 0 0;
}

.contenedor-uno img{
    margin: -30px 0 0 0;
}

.contenedor-dos {
    background-image: url('../imagenes/imagen-teambuilding-7.webp');
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px 0 20px;
    margin-bottom: -30px;
}

.contenedor-dos h2 {
    border-radius: 100%;
    background-color: var(--naranja);
    text-align: center;
    width: 13%;
    color: var(--blanco);
    font-size: var(--h2);
    font-weight: 600;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.contenedor-dos h3 {
    background-color: var(--azul);
    color: var(--blanco);
    border-radius: 20px;
    padding: 10px 10px 10px 12px;
    width: 45%;
    margin: 0 10px 0 30px;
    font-size: var(--h3);
    z-index: 1;
}

.contenedor-dos p {
    background-color: var(--blanco);
    font-size: var(--texto-general);
    text-align: left;
    border-radius: 100px;
    padding: 25px 25px 10px 25px;
    margin: -3% 40% 10% 0;
    width: 80%;
    z-index: 0;
}

.contenedor-tres {
    margin-right: 40%;
    margin-left: 5%;
}

.contenedor-tres h2 {
    border-radius: 100%;
    background-color: var(--naranja);
    text-align: center;
    width: 4%;
    color: var(--blanco);
    font-size: var(--h2);
    font-weight: 600;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    margin: -5% 0 0 1%;
    z-index: 1;
    position: absolute;
}

.contenedor-tres h3 {
    background-color: var(--azul);
    color: var(--blanco);
    border-radius: 20px;
    padding: 10px 20px 10px 35px;
    margin-right: 40px;
    font-size: var(--h3);
}

.contenedor-tres p {
    font-size: var(--texto-general);
    text-align: left;
    padding: 20px 0 0 0;
}

.contenedor-tres img {
    z-index: 0;
}

.cuarto-contenedor {
    background-image: url('../imagenes/banner.webp');
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 1fr 40fr 1fr;
    /* ejemplo */
}

.texto-banner {
    margin: 100px 0 0 0;
}

.texto-banner h1 {
    text-align: center;
    color: var(--blanco);
    font-size: var(--h1);
}

.imagen-pan {
    margin: -100px 0 0 0;
}

.imagen-reconocimiento {
    margin: 0 0 100px 0;
}

.contenedor-carrusel-qlt {
    text-align: center;
}

.contenedor-carrusel-qlt h2 {
    font-size: var(--h2);
    margin: 0 55% -1% 0;
}

.contenedor-carrusel-qlt h1 {
    font-size: 100px;
    margin: 0 0 0 0;
}

.cont-carr {
    display: grid;
    grid-template-columns: 1fr 40fr 1fr;
    /* ejemplo */
}

.cc-izq {
    background-image:
        url('../imagenes/circulos/circulo-blanco-grande.webp'),
        url('../imagenes/img-carrusel/elipses/elipse-naranja-izq.webp');
    background-position:
        calc(100% - 20%) 20px,
        center;
    background-repeat:
        no-repeat,
        no-repeat;
    margin: 0 -200px 0 0;
    height: 150%;
}

.carousel-container {
    position: relative;
    width: 100%;
    /* Ancho máximo para el layout */
    height: 450px;
    /* Ajusta la altura si los textos son muy largos */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Espacio para el título principal */
}

/* Estilo base de cada ítem (los círculos de imagen y su contenedor de texto) */
.carousel-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    /* Por defecto ocultamos los que no sean active/prev/next */
    z-index: 0;
    text-align: center;
}

.carousel-item {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    /* Para que la imagen respete el círculo */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    /* Necesario para el pseudo-elemento ::after */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- CAPA DE COLOR (El filtro naranja/rojo) --- */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.7), rgba(255, 140, 0, 0.7));
    border-radius: 50%;
    transition: opacity 0.5s ease;
    opacity: 1;
    /* Por defecto tienen color */
    pointer-events: none;
    /* Permite interactuar con la imagen si fuera necesario */
}

/* Texto debajo de las imágenes laterales */
.carousel-text {
    margin-top: 20px;
    font-size: 1rem;
    color: #555;
    max-width: 200px;
    /* Limita el ancho del texto */
    line-height: 1.4;
    display: none;
    /* Oculto por defecto */
}

/* --- ESTADOS DEL CARRUSEL --- */

/* 1. Ítem Activo (Centro) */
.carousel-wrapper.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0%) scale(1.3);
    /* Más grande */
    left: 50%;
    right: 50%;
    margin: 0 auto;
    /* Centrado absoluto */
    pointer-events: auto;
    /* Permite clics si el círculo central fuera un enlace */
}

.carousel-wrapper.active .carousel-text {
    display: block;
}

.carousel-wrapper.active .carousel-item {
    border: 8px solid #ff6b35;
    /* El borde naranja grueso */
}

/* Al activo le quitamos el filtro de color y ocultamos el texto */
.carousel-wrapper.active .carousel-item::after {
    opacity: 0;
}

.carousel-wrapper.active .carousel-text {
    display: none;
}

/* 2. Ítem Anterior (Izquierda) */
.carousel-wrapper.prev {
    opacity: 1;
    z-index: 5;
    transform: translateX(-150%) scale(0.9);
    /* Hacia la izquierda y un poco más pequeño */
    left: 50%;
    /* Referencia desde el centro */
    pointer-events: auto;
}

.carousel-wrapper.prev .carousel-text {
    display: block;
    /* Muestra el texto */
}

/* 3. Ítem Siguiente (Derecha) */
.carousel-wrapper.next {
    opacity: 1;
    z-index: 5;
    transform: translateX(40%) scale(0.9);
    /* Hacia la derecha y un poco más pequeño */
    left: 50%;
    pointer-events: auto;
}

.carousel-wrapper.next .carousel-text {
    display: block;
    /* Muestra el texto */
}

/* --- BOTONES DE NAVEGACIÓN --- */
.nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: #00c2ff;
    /* El azul cian de la imagen */
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    /* Bordes redondeados pero cuadrados */
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #0099cc;
}

.nav-btn.prev-btn {
    left: 37%;
    /* Ajusta esta posición para que quede entre el centro y la izq */
}

.nav-btn.next-btn {
    right: 37%;
    /* Ajusta esta posición para que quede entre el centro y la der */
}

/* Ajustes Responsive */
@media (max-width: 992px) {
    .carousel-item {
        width: 200px;
        height: 200px;
    }

    .carousel-wrapper.active {
        transform: translateX(0) scale(1.2);
    }

    .carousel-wrapper.prev {
        transform: translateX(-120%) scale(0.8);
    }

    .carousel-wrapper.next {
        transform: translateX(20%) scale(0.8);
    }

    .nav-btn.prev-btn {
        left: 10%;
    }

    .nav-btn.next-btn {
        right: 10%;
    }

    .carousel-text {
        font-size: 0.9rem;
    }

    .main-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        width: 150px;
        height: 150px;
    }

    .carousel-wrapper.active {
        transform: translateX(0) scale(1.1);
    }

    .carousel-wrapper.prev {
        transform: translateX(-100%) scale(0.7);
    }

    .carousel-wrapper.next {
        transform: translateX(0%) scale(0.7);
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .nav-btn.prev-btn {
        left: 5%;
    }

    .nav-btn.next-btn {
        right: 5%;
    }

    .carousel-text {
        font-size: 0.8rem;
        max-width: 150px;
        margin-top: 10px;
    }

    .main-title {
        font-size: 1.3rem;
    }

    .carousel-container {
        height: 350px;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-item {
        width: 520px;
        height: 120px;
    }

    .carousel-wrapper.active {
        transform: translateX(0) scale(1.0);
    }

    /* El central puede ser más pequeño */
    .carousel-wrapper.prev {
        transform: translateX(-80%) scale(0.6);
    }

    .carousel-wrapper.next {
        transform: translateX(-20%) scale(0.6);
    }

    /* Ajuste para que se vea en pantallas pequeñas */
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .nav-btn.prev-btn {
        left: 0%;
    }

    .nav-btn.next-btn {
        right: 0%;
    }

    .carousel-text {
        display: none !important;
    }

    /* Ocultar texto en móviles muy pequeños */
    .main-title {
        font-size: 1.1rem;
    }
}

.cc-der {
    background-image: url('../imagenes/img-carrusel/elipses/elipse-azul-der.webp');
    background-position: calc(10% - -50%) center;
    background-repeat: no-repeat;
    margin-top: -450px;
    margin-left: -250px;
}

.contenedor-clientes {
    font-size: var(--h1);
    padding: 100px 0 100px 0;
}

.carouselClientes {
    width: 100%;
    /* Ancho del carrusel, ajustable */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centra los botones verticalmente con el track */
    padding: 20px 0;
    /* Padding vertical para que los logos no estén pegados al borde */
}

.carousel-track-container {
    overflow: hidden;
    /* ¡Clave! Oculta las imágenes que están fuera de vista */
    width: 70%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* Suaviza el desplazamiento */
}

.Citem {

    margin: 0 20px;
    /* Espacio horizontal entre los logos */
}

.Citem img {
    width: 100%;
    display: block;
    /* Elimina espacio extra debajo de la imagen */
    margin: 0 auto;
    /* Centra la imagen si es más pequeña que su contenedor */
    opacity: 0.7;
    /* Ligeramente transparentes, como en el ejemplo */
    transition: opacity 0.3s ease-in-out;
}

.Citem img:hover {
    opacity: 1;
    /* Opacidad completa al pasar el ratón */
}

.carousel-button {
    background-color: transparent;
    outline: none;
    border: 0;
}

.carousel-button i {
    font-size: 70px;
    /* Tamaño de los iconos de flecha */
    color: #36aee0;
    /* Color de las flechas */
    cursor: pointer;
    padding: 0 15px;
    transition: color 0.3s ease-in-out;
}

.carousel-button:hover {
    color: #2a8bbb;
    /* Color más oscuro al pasar el ratón */
}


.contacto {
    background-image: url('../imagenes/footer/EQUIPO.webp');
    background-repeat: no-repeat;
    background-position: calc(50% - 50%) bottom;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
}

.contacto-texto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contacto-texto h1 {
    font-size: 100px;
    line-height: 1;
}

.contacto-texto p {
    font-size: var(--texto-general);
    text-align: center;
    margin: -60px 0 0 0;
    width: 65%;
}

.formulario {
    background-image:
        url('../imagenes/iconos-circulos/circulo-naranja-con-circulo-blanco.webp'),
        url('../imagenes/circulos/circulo-azul-grande.webp');
    background-repeat:
        no-repeat,
        no-repeat;
    background-position:
        calc(50% - -40%) 5%,
        center;
    background-size:
        25%,
        100%;
    width: 40%;
    padding: 10% 10% 10% 10%;
}

form {
    padding: 25px 0 0 0;
}

label {
    display: block;
    margin-top: 10px;
    color: var(--blanco);
    font-size: var(--texto-general);
    font-weight: 600;
}

.name,
.phone,
.email {
    display: block;
    width: 100%;
    padding: 10px 0 10px 0;
    margin-top: 0px;
    border-radius: 20px;
    border: 7px solid var(--naranja);
    text-indent: 20px;
    font-size: var(--texto-general);
}

textarea {
    display: block;
    width: 100%;
    height: 70px;
    padding: 10px 0 0 0;
    margin-top: 5px;
    border-radius: 20px;
    border: 7px solid var(--naranja);
    text-indent: 10px;
    font-size: var(--texto-general);
}

.send {
    padding: 15px;
    background-color: var(--naranja);
    color: white;
    border: none;
    cursor: pointer;
    width: 50%;
    display: block;
    margin: 15px auto;
    text-align: center;
    border-radius: 20px;
    font-size: var(--texto-general);
}

.send:hover {
    background-color: #e58464;
}

#social {
    padding: 0;
    margin: 0;
    display: block !important;
    left: 0;
    float: left;
    right: auto;
    position: fixed;
    width: 48px;
    z-index: 5;
    background: 0 0;
    top: 40% !important;
    vertical-align: baseline;
    border: 0;
    line-height: 21px;
    color: #000
}

#social a {
    position: relative;
    display: block;
    width: 48px;
    line-height: 48px;
    margin: 0;
    outline: 0;
    text-align: center
}

#social a svg path {
    fill: #fff
}

#social a svg {
    font-size: 21px;
    position: relative;
    top: 12px
}

#social a:visited {
    text-decoration: none
}

#social a .google-bubble {
    background: #f7f7f7;
    text-decoration: none;
    vertical-align: baseline;
    border: 0;
    cursor: auto
}

#social .google-bubble {
    padding-top: 10px;
    text-align: center;
    background-color: #f7f7f7;
    width: 46px;
    height: 46px;
    cursor: pointer;
    transition: all .1s linear;
    -webkit-transition: all .1s linear;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px
}

#social .google-bubble:hover {
    transition: all .1s linear;
    -webkit-transition: all .1s linear;
    width: 60px
}

.footer-container {
    /* Color de fondo oscuro como en tu imagen */
    background-color: #222222;
    /* Altura fija para la barra */
    height: 60px;
    /* Flexbox para alinear y distribuir los elementos */
    display: flex;
    justify-content: space-around;
    /* Distribuye el espacio entre los ítems */
    align-items: center;
    /* Centra verticalmente los ítems */
    /* Asegura que el footer se quede en la parte inferior si la usas como barra de navegación */
    width: 100%;
}

/* 2. Ítems Individuales */
.footer-item {
    /* Opcional: Define un área de toque/clic */
    flex-grow: 1;
    /* Permite que cada ítem tome igual espacio */
    text-align: center;
    /* Para centrar el contenido (el ícono) */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* 3. Estilo del Enlace (<a>) */
.footer-item a {
    /* Quita el subrayado del enlace */
    text-decoration: none;
    /* El color blanco/claro es el color del ícono */
    color: white;
    /* Hace que el área clicable sea más grande */
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 4. Estilo de los Íconos */
i {
    /* Ajusta el tamaño del ícono (esto es para los emojis de marcador de posición) */
    font-size: 25px;
    /* Color blanco para los íconos (si usas SVGs o imágenes, el color se cambia en el archivo/código del ícono) */
}

/* 5. Estilo Específico del Ítem Central */
/*
Si quisieras un ícono central más grande o con un fondo circular,
usarías un estilo adicional para 'center-item'.
*/
.center-item .icon {
    /* Si quieres que el ícono central se destaque un poco más */
    font-size: 28px;
    /* Para darle un efecto de "Instagram" o similar si lo necesitas */
    /* background-color: white;
    border-radius: 50%;
    padding: 8px; */
}

/* 6. Separadores Verticales */
/* Puedes usar pseudo-elementos para crear las líneas divisorias */
.footer-item:not(:last-child)::after {
    content: '';
    display: block;
    /* Posiciona la línea justo a la derecha del ítem */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    /* Ancho de la línea */
    height: 60%;
    /* Altura de la línea */
    background-color: rgba(255, 255, 255, 0.1);
    /* Línea gris muy sutil */
}

/* Corrección para que la línea no aparezca en el último elemento, 
   y para manejar la superposición al usar 'flex-grow: 1'
*/
.footer-item {
    position: relative;
    /* Necesario para posicionar el pseudo-elemento */
    /* Define explícitamente el ancho para distribuir si no quieres usar flex-grow */
    /* width: 25%; */
}

.main-footer {
    position: relative;
    /* CLAVE para el pseudo-elemento */
    padding: 50px 0;
    /* Espacio vertical interno */
    overflow: hidden;
    /* Asegura que la imagen no se desborde */

    /* Imagen de Fondo */
    background-image: url('../imagenes/footer/FOOTHER.webp');
    /* REEMPLAZA ESTA URL */
    background-size: cover;
    /* Cubre todo el contenedor */
    background-position: center;
    /* Centra la imagen */
    background-repeat: no-repeat;
    min-height: 400px;
    /* Altura mínima para mostrar bien la imagen */
    display: grid;
}

/* 2. El FILTRO OSCURO (Overlay) */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Color de la capa oscura (negro con 70% de opacidad) */
    background-color: rgba(0, 0, 0, 0.7);
    /* Coloca la capa oscura detrás del texto */
    z-index: 1;
}

/* 3. Contenido del Footer (Texto y Logo) */
.footer-content {
    /* Necesario para posicionar el texto SOBRE el pseudo-elemento (el filtro) */
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    /* Distribuye las columnas */
    max-width: 1200px;
    /* Limita el ancho del contenido */
    margin: 0 auto;
    /* Centra el contenido */
    padding: 0 20px;
}

/* Estilos para las columnas de Información (Encuéntranos/Contacto) */
.info-column {
    line-height: 1.5;
    text-align: left;
    padding-right: 20px;
}

.info-column h3 {
    font-size: var(--h3);
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.info-column a {
    font-size: var(--texto-general);
    display: block;
    color: var(--blanco);
    margin: 5px 0;
    text-decoration: none;
}

/* Estilos para la columna de Branding (Derecha) */
.branding-column {
    display: grid;
    place-items: center;
}


/* Opcional: Media queries para ajustar el número de items visibles en pantallas pequeñas */
@media (max-width: 1024px) {
    .Citem {
        flex: 0 0 calc(100% / 5);
        /* 5 items en tablets */
    }
}

@media (max-width: 768px) {
    .Citem {
        flex: 0 0 calc(100% / 3);
        /* 3 items en móviles */
    }

    .carousel-button {
        font-size: 2em;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 calc(100% / 2);
        /* 2 items en móviles pequeños */
    }


}

.firma{
    /* Clave 1: Posicionamiento absoluto para colocarlo en un lugar específico */
    position: absolute; 
    
    /* Clave 2: Posicionarlo en la parte inferior del footer */
    bottom: 5px; /* Distancia desde la parte inferior (ajusta si es necesario) */
    
    /* Clave 3: Estirarlo de izquierda a derecha para que abarque todo el ancho */
    left: 0;
    right: 0;
    
    /* Clave 4: Centrar el texto dentro de este contenedor */
    text-align: center;
    
    /* Opcional: Estilo de la firma */
    font-size: 0.8em;
    color: #bbb;
    margin: 0; /* Elimina cualquier margen predeterminado */
    padding: 0;
    z-index: 2;
}

.firma h3{
    color: var(--blanco);
    text-decoration: none;
    z-index: 2;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: var(--texto-general);
}

.firma a{
    color: var(--blanco);
    text-decoration: none;
} 