﻿
#noindex-page .header-content {
    margin-right: 15px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 84px;
    background-color: #ffffff;
}

/* 🔒 Contenedor fijo */
.resp {
}



section {
    position: relative;
    height: 560px;
    background: rgba(0,0,0,0);
    margin-bottom: 23px;
    scroll-margin-top: 84px;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.point {
    position: absolute;
    border-radius: 50%;
    background-color: #2fa9f5;
    opacity: 0.8;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(40px, -50px);
    }

    50% {
        transform: translate(-30px, 60px);
    }

    75% {
        transform: translate(50px, 20px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}


.fixed-button {
    position: fixed; /* lo mantiene siempre visible en pantalla */
    bottom: 20px; /* distancia desde abajo */
    right: 20px; /* distancia desde la derecha */
    background-color: #85b044; /* mismo verde que el menú */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000; /* para que quede por encima de todo */
}

    .fixed-button:hover {
        background-color: #6b9130; /* un verde un poco más oscuro al pasar el cursor */
    }

.section-bg {
    position: relative;
    height: 570px;
    width: 100%;
}

.mini-bg {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 440px;
    background: rgba(0,0,0,0); /* cuadrado de margen, */
    z-index: 10;
}

.punto1 {
    width: 20px;
    height: 20px;
    animation-duration: 8s;
}

.punto2 {
    width: 30px;
    height: 30px;
    animation-duration: 8s;
}

.punto3 {
    width: 60px;
    height: 60px;
    animation-duration: 9s;
}


.content {
    display: flex;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Texto */

.text-box {
    background: rgba(255, 255, 255, 0.2); /* blanco con 60% de opacidad */
    padding: 15px 15px;
    border-radius: 6px;
    display: inline-block;
    margin-left: 0px;
    max-width: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 0 10px rgba(47, 169, 245, 0.8);
    /* Efecto difuminado del fondo */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* compatibilidad Safari */
}



.text-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    margin-top: 0;
    font-weight: 500;
    color: #2d7ed2;
    line-height: 1.2;
    margin-bottom: 15px;
}

.text-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #004777;
    line-height: 1.3;
    margin-bottom: 10px;
}

.text-content b {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #59AC1A;
    line-height: 1.6;
    margin-bottom: 0px;
}

.text-content d {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #004777;
    line-height: 1.6;
    margin-bottom: 30px;
}

.text-content button {
    font-family: 'Montserrat', sans-serif;
    background: #98c455;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

    .text-content button:hover {
        opacity: 0.85;
    }

/* -------------------------------- */

.video-container {
    /* ancho máximo */
    width: 50%; /* ocupa todo el espacio disponible */
    background: #000;
    border-radius: 12px;
    overflow: hidden; /* oculta cualquier borde extra */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.video-box {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* redondea igual que el contenedor */
}


/*-------------------------------------------- */



body {
    font-family: Arial, sans-serif;
}

#interactive-section {
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0); /* cuadrado de margen, */
}


.clientes-section {
    padding: 60px 20px;
    background: #fff;
}

.clientes-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.footer-column .firma {
    text-decoration: none;
    color: #2453A3 !important; /* fuerza tu color inicial */
    transition: color 0.3s;
    font-size: 10px;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

    .footer-column .firma:hover {
        color: #6b9130 !important;
    }

.clientes-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cliente-card {
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    min-height: 350px;
}

    .cliente-card:hover {
        transform: translateY(-5px);
    }

.cliente-img {
    width: 100%;
    height: 200px;
    object-fit: contain; /* muestra toda la imagen */
    background-color: #fff; /* color de relleno */
    box-shadow: 0 0 10px rgba(47, 169, 245, 0.8);
}


.cliente-content {
    padding: 20px;
    text-align: left;
}

.cliente-nombre {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2fa9f5; /* azul corporativo */
}

.cliente-desc {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 15px;
}

.cliente-link {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2fa9f5;
    text-decoration: none;
}

    .cliente-link:hover {
        text-decoration: underline;
    }


/* Animación hacia abajo */
.slide-up {
    transform: translateY(-100px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-down {
    transform: translateY(100px);
    opacity: 0;
    animation: slideIn 0.6s forwards;
}

/* salida hacia arriba (cuando desaparecen subiendo) */
.exit-up {
    transform: translateY(-60px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* salida hacia abajo (cuando desaparecen bajando) */
.exit-down {
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* entrada desde abajo */
@keyframes enterFromBottom {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.enter-down {
    animation: enterFromBottom 0.6s forwards;
}

/* entrada desde arriba */
@keyframes enterFromTop {
    from {
        transform: translateY(-60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.enter-up {
    animation: enterFromTop 0.6s forwards;
}

.centrar {
    display: flex;
    justify-content: center; /* centra horizontal */
    align-items: center; /* centra vertical */
    width: 100%;
    height: 100%;
    overflow: hidden; /* recorta cualquier sobrante */
}

.mapa-container {
    display: flex;
    gap: 40px;
    padding: 20px;
    align-items: center;
}

.seccion5 {
    display: flex;
    width: 75%;
    height: 100%;
    justify-content: space-between;
}
/* MAPA */
.mapa-izquierda {
    position: relative;
    display: inline-block; /* se ajusta al ancho del contenido */
    max-width: none; /* no lo limites a 420px */
}


.mapa-img {
    width: auto; /* escala proporcional */
    height: 100%;
    display: block;
}


.ubicacion {
    position: absolute;
    width: 20px;
    height: 40px;
    background-image: url('../Imagenes/ubicacion-icono.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s;
    /* Nuevo: el punto de escala es la base del icono */
    transform-origin: bottom center;
    /* Solo centramos horizontalmente */
    transform: translateX(-50%);
}

    .ubicacion:hover {
        /* escala hacia arriba dejando la punta fija */
        transform: translateX(-50%) scale(1.3);
    }


/* CARD CLIENTE */


.centrar-vertical {
    display: flex;
    align-items: center; /* centra vertical */
    justify-content: center; /* opcional, si también quieres centrar horizontal */
    height: 100%; /* ¡importante! evita que se recorte */
    flex: 1;
}

.card-cliente {
    flex: 1;
    background: rgba(255, 255, 255, 0.2); /* blanco semi-transparente */
    border-radius: 6px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow: hidden;
    max-width: 280px;
    /* Efecto difuminado de fondo */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    /* Opcional: borde sutil para más efecto glass */
    border: 1px solid rgba(255, 255, 255, 0.3);
}


    /* Barra superior azul */
    .card-cliente .card-header {
        background: #3498db; /* azul barra */
        height: 20px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    /* Logo */
    .card-cliente img {
        width: 120px;
        height: auto;
        margin: 15px auto 10px auto;
        display: block;
        object-fit: contain;
    }

/* Nombre cliente */
#cliente-nombre {
    color: #3498db;
    font-size: 16px;
    margin: 10px 0;
}

/* Descripción */
#cliente-desc {
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}


.section-bg.modulos-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


@keyframes fast-wrap {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    25% {
        transform: scale(0.5) rotate(-90deg);
        opacity: 0;
    }
    /* desaparece */
    90% {
        transform: scale(0.5) rotate(90deg);
        opacity: 0;
    }
    /* invisible hasta casi el final */
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    /* aparece justo al final */
}




.icon.fast-wrap {
    animation: fast-wrap 0.3s ease-in-out;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3aa7ff;
    border-radius: 50%;
    left: var(--left, 0);
    top: var(--top, 0);
}

/*footer*/

.help-desk {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

    .help-desk .help-icon {
        width: 18px; /* ajusta tamaño del icono */
        height: 18px; /* asegura proporción */
        margin-right: 8px;
    }

    .help-desk:hover {
        color: #6b9130;
    }


#contacto {
    height: auto !important; /* Quita el height fijo */
    background: #fff; /* Fondo blanco */
    margin: 0; /* Elimina márgenes */
    padding: 0; /* Sin  padding */
}

/* Footer */
.footer {
    background-color: #2453A3; /* Azul como en la imagen */
    color: #fff;
    padding: 20px 15px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    max-width: 76%;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-column {
    flex: 1 1 200px;
    margin: 4px;
    max-width: 152px;
    margin-left: 8px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin: 8px 0;
        font-size: 14px;
    }

        .footer-column ul li a {
            text-decoration: none;
            color: #fff;
            transition: color 0.3s;
        }

            .footer-column ul li a:hover {
                color: #6b9130; /* Amarillo suave al hover */
            }

/* Contact icons */
.logo-contact ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-contact i {
    font-size: 18px;
}

/* Footer bottom */
.footer-bottom {
    display: flex; /* Activamos Flexbox */
 /* Alineamos verticalmente texto e ícono */
    justify-content: center; /* Centra todo horizontalmente */
    gap: 8px; /* Espacio entre texto e ícono */
    font-size: 12px;
    color: #fff;
    padding: 4px 0;

}


.footer-column.logo-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

    .footer-column.logo-contact img {
        max-width: 120px;
        margin-bottom: 4px;
    }

    .footer-column.logo-contact ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-column.logo-contact ul li {
            display: flex;
            align-items: center;
            gap: 10px; /* espacio entre ícono y texto */
            font-size: 14px;
            margin-bottom: 12px;
            color: #fff;
            white-space: nowrap; /* evita que el número baje de línea */
        }

            .footer-column.logo-contact ul li i {
                font-size: 20px;
                color: #fff;
                min-width: 24px; /* alinea todos los íconos */
                text-align: center;
            }

.footer-column b {
    font-weight: 700; /* hace el texto más grueso */
    font-size: 16px;
}

.ico {
    max-height: 32px;
    max-width: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin: 15px 0;
    }
}


.icon-container {
    position: relative;
    display: inline-block;
}



/*  --------------------------------------------  */

/* Igual que las originales pero con nombres nuevos */
.section-bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 84%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.mini-bg-2 {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 440px;
    background: rgba(0,0,0,0);
    z-index: 10;
}


/* variaciones estéticas (rotaciones/blur/opacidad) */
.img-style-1 {
    transform: rotate(-6deg);
    opacity: 0.95;
    max-height: 30px;
}

.img-style-2 {
    transform: rotate(4deg);
    opacity: 0.95;
    max-height: 24px;
}

.img-style-3 {
    transform: rotate(-2deg);
    opacity: 0.95;
    max-height: 18px;
}





/* ----- Flip Cards ----- */
.cliente-card {
    perspective: 1000px; /* profundidad para el efecto 3D */
}

.cliente-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.cliente-card:hover .cliente-inner {
    transform: rotateY(180deg);
}

.cliente-front, .cliente-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cliente-front {
    background: #fafafa;

}
  

.cliente-back {
    background: #2fa9f5; /* color de fondo trasero */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transform: rotateY(180deg);
}


/* ----------------------- */

.clientes-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    grid-template-rows: repeat(2, auto); /* 2 filas */
    gap: 1.5rem;
    align-items: stretch;
}

.cliente-card {
    perspective: 1000px;
    min-height: 280px; /* ajusta según tu diseño */
    box-shadow: 0 0 4px rgba(160, 214, 77, 0.8);
    background: rgba(255, 255, 255, 0.25); /* transparencia */
    backdrop-filter: blur(10px);
}



.cliente-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    
}

.cliente-card:hover .cliente-inner {
    transform: rotateY(180deg);
}

.cliente-front, .cliente-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cliente-front {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

    .cliente-front img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

.cliente-back {
    background: #2fa9f5;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transform: rotateY(180deg);
    text-align: center;
}

#clientes{
    height: 700px;
}

.cliente-front,
.cliente-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex; /* 👈 centrado uniforme */
    flex-direction: column;
    justify-content: center; /* 👈 centra verticalmente */
    align-items: center; /* 👈 centra horizontalmente */
    text-align: center; /* 👈 evita corrimientos */
    padding: 1rem;
    box-sizing: border-box; /* 👈 para que el padding no desplace */
}

    .cliente-front img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

@media (max-width: 1023px) {
    .header-content {
        width: 100%; 
        max-width: 100%; /* sin límite */
        grid-template-columns: 120px 1fr 40px; /* ajusta las proporciones */
        gap: 10px; /* un poco menos de espacio */
        padding: 0 10px; /* margen interno */
    }

    nav {
        gap: 15px; /* reduce espacio entre links */
        flex-wrap: wrap; /* deja que salten a otra línea si no caben */
        justify-content: center;
        margin-right: 80px;
    }
    .cliente-card {
        min-height: 160px; /* en vez de 350px */
    }
    .cliente-back p {
        font-size: 8px;
        word-wrap: break-word; /* rompe palabras largas */
        white-space: normal; /* permite múltiples líneas */
        overflow-wrap: break-word; /* versión moderna */
        max-width: 90%; /* evita que se salga del contenedor */
        margin: 0 auto;
    }

    .cliente-back h3 {
        font-size:16px;
    }
    #clientes {
        height: 480px;
    }

    .seccion5{
        gap: 8px;
        width:90%;
    }
}


.footer-bottom img {
    display: block;
    margin: 10px auto 0 auto; /* arriba auto centrado */
}
