:root{
    --video-gap: clamp(8px, 2vh, 24px);
}
#testimonios {
    margin-bottom: 0px;
}
@media all and (min-width: 768px) {
   #testimonios {
        margin-bottom: 30px;
    } 
}
.titulo-aliados {
    margin-bottom: 20px;
}
@media all and (min-width: 768px) {
    .titulo-aliados {
        margin-bottom: 30px;
    }
}
.testimonio {
    margin-top: 20px;
    margin-bottom: 20px;
}
@media all and (min-width: 768px) {
    .testimonio {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}
.btn-testimonio {
    border: none;
    background: transparent;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}
.nombre-testimonio {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.descripcion-testimonio {
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}
.btn-testimonio-naranja {
    border: 4px solid #EC5200;
}
.btn-testimonio-azul {
    border: 4px solid #00CDD3;
}
#videoModal .modal-dialog{
    width: 100%;
    margin: 0;
    padding: 0;
}
@media (min-width: 768px){
    #videoModal .modal-dialog{ 
        width: 580px;
        margin: 0 auto; 
    }
}
@media (min-width: 992px){
    #videoModal .modal-dialog{ 
        width: 400px;
        margin: 20px auto; 
    }
}
@media (min-width: 1200px){
    #videoModal .modal-dialog{ 
        width: 380px;
        margin: 20px auto; 
    }
}
#videoModal .video-modal{
    border: 0; 
    border-radius: 12px; 
    background:#000; 
    position: relative;
    width: 100%;
}
#videoModal .close-abs{
    position: absolute; 
    right: 30px;
    top: 60px;
    z-index: 2;
    background-color: #EC5200;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: none;
    opacity: 0.5;
}
@media all and (min-width: 768px) {
    #videoModal .close-abs{
        right: 12px; 
        top: 12px; 
    }
}
#videoModal .close-abs:hover {
    opacity: 1;
}
#videoModal .video-stage{
    height: 100%; 
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding-block: 0;
    padding-bottom: 0;
    overflow: hidden; 
    background: #000;
}
#videoModal video{
    display: block;
    width: auto;            
    aspect-ratio: 9 / 16;
    object-fit: contain;
}
.modal-backdrop.show {
    opacity: .7;
}
#videoStage {
    position: relative;
}

#videoStage video {
    width: 100%;
    height: auto; /* evita “altura 0” en algunos casos */
    display: block;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    display: none;                 /* se activa con .show */
    align-items: center;
    justify-content: center;
     /* velo oscuro */
    z-index: 2;
    pointer-events: none;
}

.cta-overlay.show { display: flex; align-items: flex-end;}

.cta-overlay .btn-primary{
    font-size: 13px;
    pointer-events: auto;
}

.cta-overlay .btn-outline-light {
    margin: 10px 0 !important;
     font-size: 13px;
     text-transform: uppercase;
     pointer-events: auto;
}

.cta-box {
    text-align: center;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(2px);
    color: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

.cta-box .btn + .btn { margin-left: .5rem; }


