:root {
    --title: 2rem;
    --puntos: 1.5rem; 
    --text: 1.2rem;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Archivo', sans-serif; */
    font-family: 'Open Sans', sans-serif;
    list-style: none;
}

/* ------------------- Menu de navegacion ------------------- */
.menu {
    height: 60px;
    transition: all .5s ease;
}

.menu:hover {
    transform: scale(1.1); 
    filter: brightness(110%); 

}

.menu:not(:hover) {
    transform: scale(1); 
    filter: brightness(100%); 
}

.icono_menu img {
    vertical-align: top;
    cursor: pointer;

    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;

}

.cont-menu {
    background: linear-gradient(100deg, rgba(0,74,173,1) 35%, rgba(0, 43, 100, 1) 100%);
    width: 350px;
    /* height: 100vh; */
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s ease;
    z-index: 5;
}

.cont-menu ul {
    list-style: none;
    margin: 0;
    padding: 20px 0; /* Espacio interno superior e inferior */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrado horizontal */
}

.cont-menu ul li {
    margin-bottom: 10px; /* Aumento del espacio entre elementos */
}

.cont-menu ul li a {
    color: white;
    position: relative; /* Necesario para el ::after */
    text-decoration: none; /* Quitar subrayado predeterminado */
    padding: 15px 30px; /* Aumento del espacio interno izquierda-derecha y superior-inferior */
    display: inline-block; /* Para permitir el uso de padding y margin */
    font-size: 18px; /* Tamaño de fuente aumentado */
    transition: color 0.3s ease-out; /* Transición para el cambio de color */
}

.cont-menu ul li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-out, width 0.3s ease-out; /* Añadido transition para width */
}

.cont-menu ul li a:hover::after {
    transform: scaleX(1);
}

.cont-menu ul li a:hover {
    color: #ddd; /* Cambiar color del texto al pasar el ratón */
}


.active {
    transform: translate(600px);
}

/* .opacity {
    background-color: rgba(0,0,0,0.5);
    transition: all .5s ease;
} */

/* ------------------- Home -------------------  */
.inicio {
    background-image: url(../IMAGENES_SEISA/Fondo.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:white;

    display: flex;
    flex-direction: column;
}

.logo_container {
    position: relative;
    display: inline-block;
}

.logo {
    position: relative;
    height: 8.3rem;
    margin-bottom: 20px;
    z-index: 2;
}

.cuadro_opacidad {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 0.5rem;
    margin-top: 0.5rem;
    width: 19rem;
    height: 7.5rem;
    background-color: rgba(255, 255, 255, 0.65); /* Blanco con opacidad */
    border-radius: 20px;
    z-index: 1;
}

.cuadro {
    position: static;
    height: auto;
    background-color: rgba(0, 0, 0, 0.4); 
    width: 70%;
    padding-left: 5.5rem;
    padding-right: 5.5rem;
    padding: 2rem 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.p1 {
    font-size: 60px;
    margin-bottom: 10px;
    font-family: 'Archivo', sans-serif;
    
}

hr {
    border: 0.15rem solid white;
    width: 80%;
}

.p2 {
    font-size: 25px;
    margin-top: 10px;
    font-weight: 300;
    margin-left: 4rem;
    margin-right: 4rem;
}

/* ------------------- Servicios-------------------  */
.servicios-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.transforma {
    text-align: center;
    font-size: var(--title);
    margin-bottom: 2rem;
    padding-right: 4rem;
    padding-left: 4rem;
}

.contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.viñeta {
    height: 1.5rem;
    width: 1.5rem;
}

.lista {
    margin-left: 1.2rem;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: repeat(9, 4rem);
    align-items: center;
}

.servicio {
    font-size: var(--puntos);
    font-weight: 400;
    margin-left: 1rem;
}

.servicios {
    height: 25rem;
    margin-left: 4rem;
}


/* ------------------- Contpaqi-------------------  */
.contpaqi-section {
    background-color: #f5f5f5;
    padding-top: 3rem;
    padding-bottom: 6.5rem;
}

.contpaqi-title {
    font-size: var(--title);
    text-align: center;
    margin-bottom: 0.5rem;
}

.line-subtitle {
    width: 40rem;
    max-width: 1200px;
    height: 6px;
    background: #002B64; /*#2B33A7;*/
    border-radius: 5px;
    margin: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.contpaqi-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding-left: 20rem;
    padding-right: 20rem;
    margin-bottom: 2rem;

}

.contpaqi-container {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.left-column {
    margin-right: 8rem;

}

.info {
    height: 25px;
    width: 25px;
}

.container {
    display: flex;
    gap: 20px;

    transition: margin-top 0.3s; /* Animación para el desplazamiento */
}

.left-column, .right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.programa {
    padding-right: 30px;
    text-decoration: none;
    color: white;
    font-weight: 700;
}

.categoria {
    text-align: center;
    margin-bottom: 0px;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.facturacion {
    text-align: start;
}

.product {
    position: relative;
    display: inline-block;
    transition: transform 0.3s; /* Animación para el desplazamiento */
}

.contpaqi {
    padding-left: 10px;
    padding-right: 10px;
    width: 50;
    height: 50px;
}

.product-box {
    width: 415px; /* Ancho del recuadro del producto */
    height: 70px; /* Altura del recuadro del producto */
    background-color: #2B6AF6; /* Color de fondo del recuadro */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: first baseline;
    border-radius: 20px; /* Esquinas más redondeadas */
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2; /* Asegura que el producto esté por encima del tooltip */
}

.comerciales {
    background-color: #019493;
}

.productividad {
    background-color: #7D4AA2;
}

.nube {
    background-color: #6192E0;
}

.tooltip {
    visibility: hidden;
    width: 410px; /* Ancho del tooltip igual al del recuadro del producto */
    height: 90px; /* Altura reducida del tooltip */
    background-color: #DEDEDE; /* Color de fondo del tooltip */
    color: #000; /* Color del texto en el tooltip */
    text-align: center;
    border-radius: 15px; /* Esquinas más redondeadas */
    padding: 10px; /* Ajustado para altura más compacta */
    position: absolute;
    top: 100%; /* Ajusta la posición del tooltip justo debajo del recuadro */
    left: 50%;
    transform: translateX(-50%) translateY(15px); /* Separación adicional del tooltip */
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1; /* Tooltip en detras del producto */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para el tooltip */

    display: flex;
    justify-content: center;
    align-items: end;
    padding-top: 20px;
    padding-bottom: 20px;
}

.corto {
    padding-bottom: 1.8rem;
}

.tooltip-visible {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-20px); /* Mantiene la separación cuando es visible */
}

.show-tooltip {
    transform: translateY(70px); /* Ajusta la distancia para desplazar solo productos debajo */
}

/* ------------------- ¿Por qué elegir CONTPAQi? -------------------  */
.elegir-contpaqi {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap; /* Permitir que los elementos se envuelvan */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.circle {
    background: rgb(57, 142, 254);
    background: linear-gradient(146deg, rgba(57, 142, 254, 1) 0%, rgba(71, 43, 206, 1) 50%);
    border-radius: 50%;
    width: 18rem;
    height: 18rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
    margin-bottom: 2rem; /* Ajustar el margen inferior para separación */
}

.titulo-circle {
    text-align: center;
    color: #fff;
    font-size: var(--title);
}

.puntos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
}

.punto {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background-color: #fff;
}

.icons {
    height: 80px;
    width: 80px;
    margin-right: 20px;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    /* text-align: justify; */
}

/* ------------------- ¿Quienes somos? -------------------  */
.nosotros {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #f5f5f5;
    margin-top: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.collage {
    width: 30rem;
    height: 25rem;
    margin-right: 3rem;
}

.container-info {
    width: 40%;
}

.title-somos {
    font-size: var(--title);
    text-align: center;
    margin-bottom: 2rem;
}

.subtitle-seisa {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.somos {
    font-size: var(--text);
    font-weight: 400;
    text-align: justify;
    line-height: 2rem;
}

/* ------------------- ¿Por qué elegirnos? -------------------  */
.elegirnos {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.container-elegirnos {
    display: flex;
    justify-content: center;
    align-items: center;

}

.title-elegirnos {
    font-size: var(--title);
    text-align: center;;
}

.line-elegirnos {
    width: 25rem;
}

.elegirnos-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding-left: 30rem;
    padding-right: 30rem;
    margin-bottom: 2rem;
}

.lista-elegirnos {
    margin-left: 3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: repeat(5, 4rem);
    align-items: center;
    grid-row-gap: 1.5rem;
}

.check {
    height: 3rem;
    width: 3rem;
}

.punto-elegirnos {
    font-size: var(--puntos);
    font-weight: 400;
    margin-left: 1rem;
}

.elergirnos-img {
    margin-left: 4rem;
}

/* ------------------- Carrusel SEISA ------------------- */
.title-carrusel {
    margin-bottom: 2rem;
    font-size: var(--title);
}

.carrusel-seisa {
    background-color: #f5f5f5;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carrusel-container {
    position: relative;
    width: 1050px; /* 3 images * 350px each + 2 gaps of 10px each */
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel-imagenes {
    display: flex;
}

.image-c {
    width: 350px;
    height: 350px;
    object-fit: cover;
    margin-right: 10px;
}

.image-c:last-child {
    margin-right: 0;
}

.nav-btn {
    position: absolute;
    top: calc(50% - 2rem); /* 50% desde arriba menos la mitad de la altura del botón */
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-btn:hover {
    transform: scale(1.1); /* Escala ligeramente la flecha al pasar el mouse */
    background-color: rgba(0, 0, 0, 0.7); /* Hace que el fondo sea un poco más oscuro */
}

.nav-btn:active {
    transform: scale(0.95); /* Reduce ligeramente la flecha al hacer clic */
    background-color: rgba(0, 0, 0, 0.9); /* Hace que el fondo sea aún más oscuro al hacer clic */
}

.left-btn {
    left: 10px;
    height: 4rem;
    transition: all .5s ease;
}

.right-btn {
    right: 10px;
    height: 4rem;
    transition: all .5s ease;
}

.nav-btn:disabled {
    display: none;
}

/* ------------------- Slide SEISA ------------------- */
.slider-seisa {
    width: 100%;
    height: auto;
    margin: auto;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.title-slide {
    font-size: var(--title);
    text-align: center;
    margin-bottom: 1rem;
}

.slider-seisa .slide-container {
    display: flex;
    align-items: center;
    animation: scroll 10s linear infinite;
    width: calc(20 * 120px + 20 * 4rem); /* Ancho ajustado para 20 imágenes más los márgenes */
}

.slider-seisa .slide {
    flex: 0 0 auto;
    margin: 0 2rem; /* Margen lateral de 2rem */
}

.slider-seisa .brand {
    width: 120px;
    height: auto;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Se mueve exactamente la mitad del contenedor */
    }
}



/* .linea {
    border: solid 2px black;
    border-radius: 5px;
    width: 90%;
} */

/* ------------------- Marcas ------------------- */
.marcas-section {
    /* padding-top: 3rem; */
    padding-bottom: 3rem;
}

.marcas-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.marca {
    width: 14%;
    display: grid;
    grid-template-rows: auto auto auto;
    justify-items: center;
    align-items: center;
    gap: 1rem;
}

.marca-img {
    height: 150px;
    width: 150px;
}

.text-marca {
    text-align: center;
    line-height: 1.8rem;
    font-size: 20px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.boton {
    height: 50px;
    width: 190px;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s ease;
    text-align: center;
}

.Contpaqi-boton {
    background-color: #3A4CC0;
}

.Contpaqi-boton:hover {
    background-color: #5C71FB;
}

.Microsoft {
    background-color: #6E64C3;
}

.Microsoft:hover {
    background-color: #A49AFF;
}

.TeamViewer {
    background-color: #050A52;
}

.TeamViewer:hover {
    background-color: #2B33A7;
}

.National {
    background-color: #E2221F;
}

.National:hover {
    background-color: #FF605D;
}

.kaspersky {
    background-color: #2B186E;
}

.kaspersky:hover {
    background-color: #6048B7;
}

.Grandstream {
    background-color: #204778;
}

.Grandstream:hover {
    background-color: #2763ac;
}


/* ------------------- footer ------------------- */
footer {
    background: #212F3D;
    color: white;
}

.contacto {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    max-width: 1200px;
    margin: auto;
}

.datos {
    max-width: 40%;
}

.title-footer {
    font-weight: 500;
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.text1-footer {
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

.text2-footer {
    margin-bottom: 1rem;
}

.social-media {
    display: flex;
    gap: 35px;
}

.social-icon {
    color: white;
    font-size: 48px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.5;
}

.line {
    width: 90%;
    max-width: 1200px;
    height: 2px;
    background: #fff;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 1rem;
}