﻿.capacitacion-profesional-wrapper {
    width: 100%;
    padding: 42px 18px 55px;
    background: #f5f5f6;
    font-family: Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.capacitacion-profesional-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.capacitacion-profesional-head {
    max-width: 900px;
    margin: 0 auto 58px;
    text-align: center;
}

.capacitacion-profesional-title {
    margin: 0 0 10px;
    color: #ff5252;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.15;
}

.capacitacion-profesional-subtitle {
    margin: 0;
    color: #6f009e;
    font-size: clamp(21px, 2.3vw, 31px);
    font-weight: 700;
    line-height: 1.3;
}

.capacitacion-profesional-pleca {
    display: block;
    width: 105px;
    height: auto;
    margin: 18px auto;
}

.capacitacion-profesional-description {
    max-width: 820px;
    margin: 0 auto;
    color: #6f009e;
    font-size: 18px;
    line-height: 1.55;
}

.cursos-profesionales-lista {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

/* =========================================================
           TARJETA COMPLETA
        ========================================================= */
/*.curso-card-profesional {
    --curso-color: #6f009e;
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 230px;
    column-gap: 34px;
    align-items: center;
    width: 100%;
    min-height: 255px;
    padding: 42px 42px 30px 34px;
    box-sizing: border-box;
    overflow: visible;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 28px;
    box-shadow: 0 9px 25px rgba(38, 24, 55, 0.07);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

    .curso-card-profesional:hover {
        transform: translateY(-2px);
        box-shadow: 0 13px 30px rgba(38, 24, 55, 0.11);
    }

    .curso-card-profesional.hs-active {
        border-color: #ff5252;
        box-shadow: 0 12px 30px rgba(255, 82, 82, 0.13), 0 0 0 1px rgba(255, 82, 82, 0.07);
    }*/

/* =========================================================
           ETIQUETA CURSO
        ========================================================= */
.curso-badge {
    position: absolute;
    top: -15px;
    left: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 115px;
    padding: 8px 16px;
    box-sizing: border-box;
    color: #ffffff;
    background: linear-gradient(90deg, #6f009e 0%, #e41691 100%);
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(111, 0, 158, 0.18);
}

/* =========================================================
           COLUMNA IZQUIERDA
        ========================================================= */
.curso-card-icono {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    min-height: 175px;
    padding: 15px 18px;
    box-sizing: border-box;
    text-align: center;
}

    .curso-card-icono i {
        display: block;
        margin: 0 0 22px;
        color: var(--curso-color);
        font-size: 64px;
        transition: color 0.25s ease;
    }

.curso-card-nombre {
    width: 100%;
    max-width: 255px;
    margin: 0 auto;
    color: var(--curso-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    transition: color 0.25s ease;
}

/*.curso-card-profesional.hs-active .curso-card-icono i,
.curso-card-profesional.hs-active .curso-card-nombre {
    color: #ff5252;
}
*/
/* =========================================================
           COLUMNA CENTRAL
        ========================================================= */
.curso-card-contenido {
    width: 100%;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
}

.curso-card-descripcion {
    max-width: 640px;
    margin: 0 0 17px;
    color: #292929;
    font-size: 16px;
    line-height: 1.55;
}

.curso-card-beneficios {
    max-width: 640px;
    margin: 0 0 19px;
    padding-left: 22px;
    color: #292929;
    font-size: 14px;
    line-height: 1.55;
}

    .curso-card-beneficios li {
        margin-bottom: 4px;
    }

/* =========================================================
           BOTÓN DE VIDEO
        ========================================================= */
.curso-video-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 17px;
    color: #6f009e;
    background: rgba(111, 0, 158, 0.03);
    border: 1.5px solid #6f009e;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .curso-video-button:hover {
        color: #ffffff;
        background: #6f009e;
    }

/* =========================================================
           COLUMNA DE PRECIO
        ========================================================= */
.curso-card-compra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 230px;
    min-width: 230px;
    box-sizing: border-box;
    text-align: center;
}

.curso-precio-label {
    margin: 0 0 5px;
    color: var(--curso-color);
    font-size: 17px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.curso-precio {
    margin: 0 0 18px;
    color: var(--curso-color);
    font-size: 29px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.curso-precio-moneda {
    font-size: 21px;
}
/*
.curso-card-profesional.hs-active .curso-precio-label,
.curso-card-profesional.hs-active .curso-precio {
    color: #ff5252;
}*/

/* =========================================================
           BOTÓN AGREGAR
        ========================================================= */
/*.curso-card-profesional .btn-complemento {
    width: 175px;
    min-height: 43px;
    padding: 11px 20px;
    box-sizing: border-box;
    color: #ffffff;
    background: #6f009e;
    border: none;
    border-radius: 25px;
    font-size: 0;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 7px 15px rgba(111, 0, 158, 0.18);
    transition: background-color 0.25s ease, transform 0.2s ease;
}

    .curso-card-profesional .btn-complemento::after {
        content: attr(data-label-default);
        font-size: 15px;
    }

    .curso-card-profesional .btn-complemento:hover {
        transform: translateY(-1px);
    }

    .curso-card-profesional .btn-complemento.activo {
        background: #ff5252;
        box-shadow: 0 7px 15px rgba(255, 82, 82, 0.2);
    }

        .curso-card-profesional .btn-complemento.activo::after {
            content: "✓ Añadido";
        }*/
/*
.curso-card-profesional .hs-options {
    display: none;
}
*/
.cursos-profesionales-vacio {
    padding: 35px 25px;
    color: #666666;
    background: #ffffff;
    border: 1px solid #dddddf;
    border-radius: 20px;
    text-align: center;
}

.metodologia-profesional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding: 18px 22px;
    color: #444444;
    background: #ffffff;
    border: 1px dashed #9b18ba;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.metodologia-profesional-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .metodologia-profesional-info i {
        color: #8922a1;
        font-size: 20px;
    }

.continuar-profesional-wrapper {
    margin-top: 30px;
    text-align: center;
}

#btnContinuarCompra {
    padding: 14px 35px;
    color: #ffffff;
    background: #ff5252;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(255, 82, 82, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    #btnContinuarCompra:hover {
        background: #e94343;
        transform: translateY(-1px);
    }

.video-wrapper-inline {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
    border-radius: 12px;
}

    .video-wrapper-inline iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

@media (max-width: 1050px) {
    /*.curso-card-profesional {
        grid-template-columns: 230px minmax(0, 1fr);
        row-gap: 25px;
    }*/

    .curso-card-icono {
        width: 230px;
    }

    .curso-card-compra {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 700px) {
    .capacitacion-profesional-wrapper {
        padding-right: 12px;
        padding-left: 12px;
    }

    .capacitacion-profesional-head {
        margin-bottom: 45px;
    }

   /* .curso-card-profesional {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
        padding: 43px 22px 27px;
        border-radius: 22px;
    }*/

    .curso-card-icono {
        width: 100%;
        min-height: 0;
    }

    .curso-card-nombre {
        max-width: 290px;
    }

    .curso-card-contenido {
        text-align: left;
    }

    .curso-card-compra {
        grid-column: auto;
        width: 100%;
        min-width: 0;
    }

    .curso-precio {
        font-size: 27px;
    }

    /*.curso-card-profesional .btn-complemento {
        width: 190px;
    }*/

    .metodologia-profesional {
        flex-direction: column;
        align-items: flex-start;
    }
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif !important;
    background-color: #f7f6fd;
    color: #4b4b68;
    display: flex;
    justify-content: center;
}

.addon-card {
    background: #ffffff;
    width: 100%;
    max-width: 960px;
    border-radius: 20px;
    border: 1px solid #e7e6f3;
    box-shadow: 0 5px 25px rgba(36, 28, 93, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 1. Header Unificado */
.card-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #f0edf9;
    background: #ffffff;
}

.title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f0ff 0%, #ede5fb 100%);
    border: 1px solid #ddd6fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D2666;
    flex-shrink: 0;
}

    .icon-box svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Contenedor vertical: Píldora arriba y Título abajo */
.title-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.category-pill-pro {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #f0edf9 !important;
    color: #7c3aed !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 2px 10px !important;
    border-radius: 20px !important;
    line-height: 1.4 !important;
}

    .category-pill-pro svg {
        width: 10px !important;
        height: 10px !important;
        fill: currentColor !important;
    }

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2d2666;
    margin: 0;
    line-height: 1.25;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e7e6f3;
    color: #2D2666;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-video:hover {
        background: #f5f0ff;
        border-color: #c4b5fd;
        transform: translateY(-1px);
    }

    .btn-video svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

/* 2. Cuerpo en 2 Columnas (Split View) */
.card-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    padding: 32px;
    gap: 36px;
}

/* Columna Izquierda: Información de Valor */
.info-pane {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lead-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4b4b68;
    margin: 0;
}

    .lead-desc strong {
        color: #2d2666;
    }

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .benefit-list li {
        font-size: 0.83rem;
        color: #555273;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.45;
    }

        .benefit-list li svg {
            width: 16px;
            height: 16px;
            stroke: #8b5cf6;
            fill: none;
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
            margin-top: 1px;
        }

    .benefit-list strong {
        color: #2d2666;
    }

/* Columna Derecha: Panel de Compra Directa */
.checkout-dock {
    background: #fbfaff;
    border: 1px solid #ede8f7;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.dock-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7b789e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

/* Tarjeta de Precio Preferencial */
.price-highlight-card {
    background: #ffffff;
    border: 1.5px solid #dedbf0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.04);
}

.price-highlight-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #7b789e;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.price-highlight-amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: #2d2666;
    letter-spacing: -0.5px;
}

    .price-highlight-amount span {
        font-size: 0.95rem;
        font-weight: 700;
        color: #7b789e;
        margin-left: 2px;
    }

.price-highlight-sub {
    font-size: 0.74rem;
    color: #22c55e;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

    .price-highlight-sub svg {
        width: 13px;
        height: 13px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.4;
    }

.btn-complemento {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #2d2666;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .btn-complemento:hover {
        transform: translateY(-1px);
        background: #FF5252;
        box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
    }

/* 3. Responsivo */
@media (max-width: 780px) {
    .card-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .card-layout {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 24px;
    }
}


