﻿.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 por fila */
    gap: 16px;
    margin-top: 14px;
}

.client-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

/* Badge centrado (bandera + país) */
.client-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: rgba(255,255,255,.92);
    text-align: center;
}

.client-flag-img {
    width: 34px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
    display: block;
}

.client-country {
    font-size: 12px;
    line-height: 1.1;
    color: rgba(0,0,0,.70);
    font-weight: 600;
}

/* Logo más grande */
.client-logo {
    padding: 7px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 110px;
}

    .client-logo img {
        max-width: 100%;
        max-height: 90px; /* más grande */
        width: auto;
        height: auto;
        object-fit: contain;
    }

.client-card-metric .client-badge {
    /* mantiene centrado */
}

.metric-body {
    flex-direction: column;
    gap: 6px;
}

.metric-number {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: rgba(0,0,0,.85);
}

.metric-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0,0,0,.65);
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




.testimonials {
    margin-top: 28px;
}

.testimonials-header h2 {
    margin: 0 0 6px 0;
}

.testimonials-header .sub {
    margin: 0;
    opacity: .75;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.t-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.t-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: auto;
}

.t-person-wrap {
    display: flex;
    flex-direction: column;
    align-items: center; /* centra foto/nombre */
    text-align: center;
    gap: 8px;
    flex: 1;
}

.t-avatar {
    width: 80px; /* un poco más grande */
    height: 80px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
    background: #f3f3f3;
}

.t-name {
    font-weight: 800;
    margin: 0;
    font-size: 13px;
}

.t-role {
    margin: 0;
    font-size: 12px;
    opacity: .75;
}

.t-org {
    margin: 0;
    font-size: 12px;
    opacity: .75;
}

.t-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5px;
}

.t-link {
    font-size: 12px;
    text-decoration: none;
    opacity: .85;
}

    .t-link:hover {
        text-decoration: underline;
        opacity: 1;
    }

/* La bandera queda a la derecha, pero alineada arriba */
.t-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(0,0,0,.65);
    white-space: nowrap;
}

.t-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}

/* Responsive */
@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}


.t-quote {
    position: relative !important;
    margin: 0;
    padding: 22px 14px 18px 14px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0,0,0,.85);
    overflow: visible;
}

    .t-quote::before {
        content: "\201C" !important; /* “ */
        position: absolute;
        left: 8px;
        top: -10px;
        font-size: 56px;
        font-weight: 900;
        line-height: 1;
        opacity: .18;
        z-index: 2;
        pointer-events: none;
    }

    .t-quote::after {
        content: "\201D" !important; /* ” */
        position: absolute;
        right: 8px;
        bottom: -22px;
        font-size: 56px;
        font-weight: 900;
        line-height: 1;
        opacity: .12;
        z-index: 2;
        pointer-events: none;
    }



/*CTA WhatsApp*/
.cta-whatsapp {
    margin-top: 18px;
    padding: 18px 16px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.cta-text {
    margin: 0 0 12px 0;
    font-size: 14px;
    opacity: .85;
}

.cta-btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

    .cta-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(0,0,0,.14);
        transition: .15s ease;
    }

/* Hero video */
.hero-video-frame { /* Tamaño del marco alrededor del video */
    border-radius: 26px; /* Borde “doble” suave */
    border: 2px solid rgba(255,255,255,.60); /* Glow/borde externo muy sutil (ajústalo si quieres más/menos) */
    box-shadow: 0 18px 46px rgba(0,0,0,.10), 0 0 0 10px rgba(192,0,0,.15), /* halo rojo marca */ inset 0 0 0 1px rgba(192,0,0,.10); /* Fondo translúcido para que se vea el marco */
    background: rgba(255,255,255,.28); /* Si tienes blur disponible, queda elegante */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* Tu tarjeta del video por dentro */
.hero-video-card {
    border-radius: 20px;
    overflow: hidden;
    background: #111; /* por si carga lento el iframe */
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

/* Mantén el iframe responsivo */
.hero-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* ✅ define alto automáticamente */
    overflow: hidden; /* ✅ recorta lo que sobresalga */
    border-radius: 18px; /* opcional si quieres redondeo aquí */
}

/* El video se estira EXACTO al marco */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ llena, recortando un poco si hace falta */
    display: block;
}

/* Fallback si tu navegador no soporta aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .hero-video-wrap {
        height: 0;
        padding-top: 56.25%; /* 16:9 */
    }
}


/*Brand*/


.hero-brand {
    margin-bottom: 14px;
}

.hero-brand-logo {
    margin: 0; /* quita el auto-center */
    display: block;
}

.hero-brand-tagline {
    margin-top: 8px;
    font-size: 22px; /* similar al ejemplo */
    line-height: 1.2;
    color: #c00000; /* rojo suave */
    font-weight: 500;
    text-align: left;
}

/*Hero CTA*/


.hero-cta .btn.btn-primary {
    background: #1f2937; /* gris oscuro */
    border-color: #1f2937;
    color: #fff;
}

    .hero-cta .btn.btn-primary:hover {
        background: #111827;
        border-color: #111827;
    }

/*Hero Lead*/

.hero-lead {
    max-width: 520px; /* evita párrafo largo */
    line-height: 1.65;
}

    .hero-lead p {
        margin: 0 0 10px 0;
    }




/*fondo del Hero*/
.hero-lab-bg {
    position: relative;
    background: radial-gradient(circle at 70% 35%, rgba(192,0,0,.10), transparent 55%), radial-gradient(circle at 25% 70%, rgba(0,0,0,.04), transparent 60%), #fff;
}



.btn-ellipse.btn {
    border-radius: 15px !important;
}

/*movil*/

@media (max-width: 767px) {

    .offset-top-90 {
        margin-top: 80px !important;
    }
    /* Centrar todo el bloque izquierdo */
    #home .cell-md-6.text-left {
        text-align: center !important;
    }
    /* Centrar logo + tagline */
    #home .hero-brand {
        text-align: center !important;
    }

    #home .hero-brand-logo {
        display: none !important;
    }

    #home .hero-brand-tagline {
        font-weight: 600;
        font-size: 30px;
        margin-top: 6px;
        text-align: center !important;
    }
    /* Centrar texto y limitar ancho para que no quede muy “ancho” */
    #home .hero-lead {
        text-align: center !important;
    }
    /* Centrar CTA */
    #home .hero-cta {
        text-align: center !important;
    }

    .hero-cta {
        margin-top: 12px !important;
    }
    /* antes se ve más grande */
    .hero-video-wrap {
        padding-top: 60% !important;
    }
    /* menos alto que 16:9 */
}


/* Padding botton*/

.padding-bottom-percent {
    padding-bottom: 12% !important;
}

/*Facturacion wrap*/
.facturacion-wrap {
    position: relative;
    display: inline-block;
}

/* Imagen base */
.facturacion-base {
    display: block;
    width: 100%;
    border-radius: 14px;
}

/* Imagen factura flotante */
.factura-overlay {
    position: absolute;
    /* posición */
    top: 30%;
    left: 50%;
    width: 42%;
    border-radius: 18px;
    background: #fff;
    opacity: 1;
    /* IMPORTANTE: crea contexto para el pseudo-elemento */
    z-index: 5;
    isolation: isolate;
    /* la sombra “real” del card (sin halo grande aquí) */
    box-shadow: 0 26px 70px rgba(0,0,0,.35);
    border: 6px solid #fff;
    outline: 1px solid rgba(0,0,0,.06);
    pointer-events: none;
}

    /* Máscara + halo (tapa lo de atrás y crea el halo sin transparencia dentro) */
    .factura-overlay::before {
        content: "";
        position: absolute;
        inset: -12px; /* grosor del halo */
        border-radius: 26px; /* 18px + 8px aprox */
        background: #fff; /* <-- esto tapa el texto detrás */
        z-index: -1;
        /* halo suave rojo marca + sombra externa suave */
        box-shadow: 0 0 0 10px rgba(192,0,0,.14), 0 18px 50px rgba(0,0,0,.12);
    }


/*marcas*/
.brand-logo {
    filter: grayscale(100%);
    opacity: .75;
    transition: all .25s ease;
}

    .brand-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
    }


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px; /* ← Ajuste para mover a la izquierda */
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    padding: 10px;
    z-index: 999;
}

    .whatsapp-float img {
        width: 100%;
        height: 100%;
    }

body {
    font-size: 16px !important;
}




/* === SEGURIDAD / PRIVACIDAD / AUDITORÍA === */
/* Pégalo en ~/Content/agency-css/lp_styles.css */

.security-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.security-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    height: 100%;
}

    .security-card h4 {
        margin: 10px 0 0 0;
        font-weight: 800;
    }

    .security-card ul {
        margin-top: 10px;
    }

@media (max-width:1200px) {
    .security-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:650px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}




/* Contenedor con degradado para indicar que hay más contenido */
.table-responsive {
    position: relative;
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sombra suave a la derecha para invitar al scroll en móvil */
@media (max-width: 767px) {
    .table-responsive::after {
        content: 'Scroll para ver más →';
        position: absolute;
        bottom: 0;
        right: 0;
        background: rgba(0,123,255,0.8);
        color: white;
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 5px 0 0 0;
        pointer-events: none;
    }

    /* Fijar la primera columna para que no se pierda el nombre de la característica */
    .table-responsive table td:first-child {
        position: sticky;
        left: 0;
        background-color: white;
        z-index: 10;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        min-width: 150px; /* Ajusta según el largo de tus textos */
    }

    /* Evitar que los títulos se rompan en mil líneas */
    .table-responsive h3 {
        font-size: 1.1rem;
    }

    .table-responsive h2 {
        font-size: 1.3rem;
    }
}


/* En PC: Ocultamos las tarjetas y mostramos la tabla */
@media (min-width: 768px) {
    .table-responsive {
        display: block !important;
    }

    .d-block.d-md-none {
        display: none !important;
        width: 100%;
    }
}

/* En Móvil: Ocultamos la tabla y mostramos las tarjetas */
@media (max-width: 767px) {
    .table-responsive {
        display: none !important;
    }

    .d-block.d-md-none {
        display: block !important;
        width: 100%;
    }

    .card-body ul li {
        padding: 8px 0;
        border-bottom: 1px solid #eee; 
    }

    .card {
        border: 2px solid black;
        border-radius: 8px;
    }

    .card-header {
        padding-bottom: 15px;
        padding-top: 15px !important; 
    }
    .mt-2 {
        font-size: 10rem;
    }
}




/* THUMB */
.hero-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
}

.hero-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0,0,0,.25), rgba(0,0,0,.05) 55%, rgba(0,0,0,0) 70%);
}

    .hero-play i {
        font-size: 54px;
        width: 86px;
        height: 86px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        color: #fff;
        background: rgba(37, 211, 102, .95); /* verde tipo WhatsApp */
        box-shadow: 0 10px 30px rgba(0,0,0,.25);
        transition: transform .15s ease, filter .15s ease;
    }

.hero-video-thumb:hover .hero-play i {
    transform: scale(1.05);
    filter: brightness(1.03);
}

/* MODAL */
.nl-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

    .nl-modal.is-open {
        display: block;
    }

.nl-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.nl-modal-dialog {
    position: relative;
    width: min(1000px, calc(100% - 28px));
    margin: 60px auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

/* Cierre */
.nl-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
}

/* Media */
.nl-modal-media {
    aspect-ratio: 16/9;
    width: 100%;
}

.nl-modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}
 