: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 ------------------- */
/*! Nuevo Boton de Menu */
.burger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px; 
    height: 60px; 
    background: #384585;
    border-radius: 50%; 
    cursor: pointer;
    display: flex;
    justify-content: center; 
    align-items: center; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 10; 
}

.burger:hover {
    transform: scale(1.1); 
    background-color: #5C71FB; 
}

.burger input {
    display: none; 
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 30px; 
    background: white; 
    border-radius: 9px; 
    opacity: 1;
    transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 18px; 
    transform-origin: center; 
}

.burger span:nth-of-type(2) {
    top: 28px; 
    transform-origin: center; 
}

.burger span:nth-of-type(3) {
    top: 38px; 
    transform-origin: center;
}

.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 28px;
}

.burger input:checked ~ span:nth-of-type(2) {
    width: 0%; 
    opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
}

.cont-menu {
    background: linear-gradient(100deg, rgba(0,74,173,1) 35%, rgba(0, 43, 100, 1) 100%);
    width: 350px;
    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; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cont-menu ul li {
    margin-bottom: 10px; 
}

.cont-menu ul li a {
    color: white;
    position: relative; 
    text-decoration: none; 
    padding: 15px 30px; 
    display: inline-block; 
    font-size: 18px; 
    transition: color 0.3s ease-out; 
}

.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; 
}

.cont-menu ul li a:hover::after {
    transform: scaleX(1);
}

.cont-menu ul li a:hover {
    color: #ddd; 
}


.active {
    transform: translate(600px);
}

/* ------------------- Home -------------------  */
.inicio {
    background-image: url(../assets/img/FONDOS/Fondo_w.webp);
    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); 
    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; 
}

.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; 
}

.contpaqi {
    padding-left: 10px;
    padding-right: 10px;
    width: 50;
    height: 50px;
}

.product-box {
    width: 415px; 
    height: 70px; 
    background-color: #2B6AF6; 
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: first baseline;
    border-radius: 20px; 
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2; 
}

.comerciales {
    background-color: #019493;
}

.productividad {
    background-color: #7D4AA2;
}

.nube {
    background-color: #6192E0;
}

.tooltip {
    visibility: hidden;
    width: 410px; 
    height: 90px; 
    background-color: #DEDEDE; 
    color: #000; 
    text-align: center;
    border-radius: 15px; 
    padding: 10px; 
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%) translateY(15px); 
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    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); 
}

.show-tooltip {
    transform: translateY(70px); 
}

/* ------------------- ¿Por qué elegir CONTPAQi? -------------------  */
.elegir-contpaqi {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap; 
    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; 
}

.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;
}

.elergirnos-video {
    border-radius: 10px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.6);
    margin-left: 4rem;
    height: 25rem;
    width: 25rem;
}

/* ------------------- 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); 
    background-color: rgba(0, 0, 0, 0.7); 
}

.nav-btn:active {
    transform: scale(0.95);
    background-color: rgba(0, 0, 0, 0.9); 
}

.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 ------------------- */
.title-slide {
    font-size: var(--title);
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 3rem;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 30px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 80s slide infinite linear;
}

.logos-img {
    height: 100px;
    margin: 0 40px;
}

/* ------------------- 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;
}

.marcas-section 
.marcas-container
.marca:first-child
.text-marca {
    font-size: 18px;
}

.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;
}


/* ------------------- contacto ------------------- */
.contacto {
    background: #212F3D;
    color: white;
    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;
}

/* ------------------- footer ------------------- */
footer {
    background-color: #212F3D;
    color: white;
    text-align: center;
    font-weight: 600;
    padding: 1rem 0;
}