@charset "utf-8";
/* CSS Document */


/* =========================================================
   COLABORAWEB | CTA PREMIUM + FAQ
========================================================= */

.cta {
    --cta-blue: #087CF0;
    --cta-green: #10D982;
    --cta-dark: #10213D;
    --cta-muted: #596B84;
    --cta-border: #E2EAF4;

    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(8, 124, 240, 0.07),
            transparent 35%
        ),
        #F7FAFF;
}

.cta,
.cta * {
    box-sizing: border-box;
}

.cta .cta-box {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 34px;
    width: 100%;
    padding: 30px;
    border: 1px solid rgba(226, 234, 244, 0.95);
    border-radius: 26px;
    background: #FFFFFF;
    box-shadow: 0 18px 55px rgba(24, 57, 100, 0.08);
}

/* VIDEO */

.cta .cta-video {
    position: sticky;
    top: 24px;
    min-width: 0;
}

.cta .video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(8, 124, 240, 0.12);
    border-radius: 20px;
    background: #EAF3FF;
    cursor: pointer;
    isolation: isolate;
}

.cta .video-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cta .video-wrapper:hover .video-thumb {
    transform: scale(1.035);
}

.cta .video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cta .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    padding: 0 0 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: linear-gradient(135deg, #087CF0, #10BFA1);
    box-shadow: 0 10px 30px rgba(8, 80, 160, 0.28);
    color: #FFFFFF;
    font-size: 23px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta .video-wrapper:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 14px 35px rgba(8, 80, 160, 0.35);
}

.cta .video-play:focus-visible {
    outline: 3px solid var(--cta-blue);
    outline-offset: 4px;
}

.cta .cta-video-caption {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 15px 16px;
    border: 1px solid #E7F0FC;
    border-radius: 14px;
    background: #F7FAFF;
    color: var(--cta-muted);
    font-size: 13px;
    line-height: 1.6;
}

.cta .cta-video-caption__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border-radius: 50%;
    background: #DDF9ED;
    color: #078D59;
    font-size: 12px;
    font-weight: 800;
}

/* CONTENIDO */

.cta .cta-content {
    min-width: 0;
}

.cta .cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 13px;
    border: 1px solid rgba(8, 124, 240, 0.12);
    border-radius: 30px;
    background: #EDF6FF;
    color: var(--cta-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.45px;
}

.cta .cta-content > h2 {
    margin: 0 0 14px;
    color: var(--cta-dark);
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.9px;
}

.cta .cta-content > h2 span {
    display: block;
    margin-top: 5px;
    background: linear-gradient(100deg, #087CF0, #08AD9B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta .cta-intro {
    margin: 0 0 24px;
    color: var(--cta-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* GRUPOS DE PREGUNTAS */

.cta .faq {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.cta .faq-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.cta .faq-group__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 3px;
    color: var(--cta-dark);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.cta .faq-group__title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #EAF4FF;
    color: var(--cta-blue);
    font-size: 17px;
}

.cta .faq-group details {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cta-border);
    border-radius: 13px;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta .faq-group details:hover {
    border-color: rgba(8, 124, 240, 0.35);
}

.cta .faq-group details[open] {
    border-color: rgba(8, 124, 240, 0.3);
    box-shadow: 0 5px 18px rgba(8, 80, 160, 0.055);
}

.cta .faq-group summary {
    position: relative;
    display: block;
    padding: 16px 44px 16px 16px;
    color: #1C304D;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
    list-style: none;
    cursor: pointer;
}

.cta .faq-group summary::-webkit-details-marker {
    display: none;
}

.cta .faq-group summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #EDF6FF;
    color: var(--cta-blue);
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-50%);
}

.cta .faq-group details[open] summary::after {
    content: "\2212";
    background: #E1F9EF;
    color: #078D59;
}

.cta .faq-group summary:focus-visible {
    outline: 2px solid var(--cta-blue);
    outline-offset: -3px;
    border-radius: 12px;
}

.cta .faq-answer {
    padding: 0 16px 16px;
}

.cta .faq-answer p {
    margin: 0;
    color: var(--cta-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* CTA FINAL */

.cta .cta-action {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--cta-border);
}

.cta .cta-action__text {
    margin: 0 0 13px;
    color: var(--cta-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.cta .cta-action .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(110deg, #087CF0, #079FCE);
    box-shadow: 0 8px 20px rgba(8, 124, 240, 0.19);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta .cta-action .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(8, 124, 240, 0.25);
    color: #FFFFFF;
}

/* TABLET */

@media (max-width: 900px) {
    .cta .cta-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 24px;
    }

    .cta .cta-video {
        position: relative;
        top: auto;
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .cta .video-wrapper {
        aspect-ratio: 16 / 9;
    }

    .cta .cta-content > h2 {
        font-size: clamp(28px, 5vw, 36px);
    }
}

/* MÓVIL */

@media (max-width: 600px) {
    .cta {
        padding: 26px 0;
    }

    .cta .cta-box {
        gap: 23px;
        padding: 16px;
        border-radius: 19px;
    }

    .cta .video-wrapper {
        border-radius: 15px;
    }

    .cta .video-play {
        width: 54px;
        height: 54px;
        font-size: 20px;
    }

    .cta .cta-video-caption {
        margin-top: 11px;
        padding: 12px;
        font-size: 12px;
    }

    .cta .cta-tag {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .cta .cta-content > h2 {
        font-size: clamp(26px, 7vw, 32px);
        letter-spacing: -0.6px;
    }

    .cta .cta-intro {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.75;
    }

    .cta .faq {
        gap: 19px;
    }

    .cta .faq-group__title {
        font-size: 14px;
    }

    .cta .faq-group summary {
        padding: 14px 40px 14px 13px;
        font-size: 13px;
    }

    .cta .faq-group summary::after {
        right: 11px;
    }

    .cta .faq-answer {
        padding: 0 13px 14px;
    }

    .cta .faq-answer p {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .cta .cta-action {
        margin-top: 21px;
        padding-top: 19px;
    }

    .cta .cta-action .btn-primary {
        width: 100%;
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {
    .cta .video-thumb,
    .cta .video-play,
    .cta .faq-group details,
    .cta .cta-action .btn-primary {
        transition: none;
    }

    .cta .video-wrapper:hover .video-thumb,
    .cta .video-wrapper:hover .video-play,
    .cta .cta-action .btn-primary:hover {
        transform: none;
    }
}


/* =========================================================
   COLABORAWEB | CTA - FAQ EN 3 COLUMNAS + VIDEO FINAL
========================================================= */

.cta .cta-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 30px;
}

/* CONTENIDO DE PREGUNTAS */

.cta .cta-content {
    width: 100%;
    min-width: 0;
}

.cta .cta-content > h2 {
    max-width: 850px;
}

.cta .cta-intro {
    max-width: 850px;
}

/* CADA CATEGORÍA OCUPA UNA FILA */

.cta .faq {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* PREGUNTAS EN TRES COLUMNAS */

.cta .faq-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

/* TÍTULO DE CATEGORÍA A TODO EL ANCHO */

.cta .faq-group__title {
    grid-column: 1 / -1;
    margin-bottom: 2px;
}

/* TARJETAS DE PREGUNTAS */

.cta .faq-group details {
    height: 100%;
    min-width: 0;
}

.cta .faq-group summary {
    height: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    padding: 14px 38px 14px 14px;
    font-size: 13px;
    line-height: 1.55;
}

/* RESPUESTAS */

.cta .faq-group details[open] {
    height: auto;
}

.cta .faq-answer {
    padding: 0 14px 15px;
}

/* VIDEO AL FINAL, CENTRADO */

.cta .cta-video {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.cta .video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* TABLET */

@media (max-width: 900px) {
    .cta .cta-box {
        gap: 25px;
        padding: 24px;
    }

    .cta .faq-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta .faq-group__title {
        grid-column: 1 / -1;
    }

    .cta .cta-video {
        max-width: 680px;
    }
}

/* MÓVIL */

@media (max-width: 600px) {
    .cta {
        padding: 26px 0;
    }

    .cta .cta-box {
        gap: 23px;
        padding: 16px;
    }

    .cta .faq {
        gap: 20px;
    }

    .cta .faq-group {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .cta .faq-group__title {
        grid-column: 1;
    }

    .cta .faq-group summary {
        min-height: 0;
        padding: 14px 40px 14px 13px;
    }

    .cta .cta-video {
        max-width: 100%;
    }
}

