/* ================================
   ACCREDITATION SECTION
   ================================= */
.accreditation-section {
    padding: 30px 0 10px;
}

.accreditation-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border-radius: 16px;
    padding: 40px 36px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 61, 99, 0.06);
}

.accreditation-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.accreditation-deco--top-right {
    top: -30px;
    right: -30px;
}

.accreditation-deco--bottom-left {
    bottom: -20px;
    left: -20px;
}

.accreditation-card .row {
    position: relative;
    z-index: 1;
}

.accreditation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 82, 82, 0.08);
    color: #ec5252;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.accreditation-badge i {
    font-size: 16px;
}

.accreditation-title {
    font-size: 26px;
    font-weight: 800;
    color: #233d63;
    line-height: 1.3;
    margin-bottom: 16px;
}

.accreditation-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ec5252, #f0835a);
    border-radius: 4px;
    margin-bottom: 20px;
}

.accreditation-text {
    font-size: 15px;
    line-height: 1.75;
    color: #5a6573;
    margin-bottom: 14px;
}

.accreditation-text strong {
    color: #233d63;
    font-weight: 700;
}

.accreditation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.accreditation-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #e8ecf1;
    font-size: 14px;
    font-weight: 600;
    color: #233d63;
    transition: all 0.3s ease;
}

.accreditation-feature:hover {
    border-color: #ec5252;
    box-shadow: 0 2px 12px rgba(236, 82, 82, 0.1);
    transform: translateY(-1px);
}

.accreditation-feature__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ec5252, #f0835a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accreditation-feature__icon i {
    color: #fff;
    font-size: 16px;
}

.accreditation-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Diploma visual */
.accreditation-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
}

/* University logo on top */
.accreditation-uni-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 12px rgba(35, 61, 99, 0.08);
    z-index: 2;
    width: 100%;
    max-width: 280px;
}

.accreditation-uni-logo__shield {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f4f8, #e4eaf0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accreditation-uni-logo__text {
    display: flex;
    flex-direction: column;
}

.accreditation-uni-logo__name {
    font-size: 13px;
    font-weight: 800;
    color: #233d63;
    line-height: 1.2;
}

.accreditation-uni-logo__sub {
    font-size: 10px;
    color: #7f8897;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Front diploma frame */
.accreditation-diploma-frame {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    box-shadow:
        0 6px 24px rgba(35, 61, 99, 0.12),
        0 2px 6px rgba(35, 61, 99, 0.06);
    transform: rotate(1deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 270px;
    width: 100%;
    z-index: 1;
}

.accreditation-diploma-frame:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 10px 36px rgba(35, 61, 99, 0.16),
        0 4px 10px rgba(35, 61, 99, 0.08);
}

.accreditation-diploma {
    border: 2px solid #d4b896;
    border-radius: 6px;
    padding: 18px 16px;
    background: linear-gradient(170deg, #fffef9 0%, #faf6ee 100%);
}

.diploma-inner {
    text-align: center;
}

.diploma-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8dcc8;
}

.diploma-header svg {
    opacity: 0.7;
}

.diploma-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diploma-university {
    font-size: 12px;
    font-weight: 800;
    color: #233d63;
    letter-spacing: 0.3px;
}

.diploma-subtitle {
    font-size: 9px;
    color: #8a7e6b;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.diploma-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.diploma-certifies {
    font-size: 9px;
    color: #8a7e6b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.diploma-name {
    font-size: 13px;
    font-weight: 700;
    color: #233d63;
    font-style: italic;
}

.diploma-program {
    font-size: 9px;
    color: #8a7e6b;
}

.diploma-course-name {
    font-size: 11px;
    font-weight: 700;
    color: #ec5252;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diploma-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #e8dcc8;
}

.diploma-signature {
    text-align: center;
    flex: 1;
}

.diploma-sig-line {
    width: 50px;
    height: 1px;
    background: #bbb0a0;
    margin: 0 auto 4px;
}

.diploma-signature span {
    font-size: 7px;
    color: #8a7e6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diploma-seal {
    flex-shrink: 0;
    margin: 0 6px;
}

.diploma-seal-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #d4b896;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 184, 150, 0.1);
}

.diploma-seal-circle i {
    font-size: 16px;
    color: #d4b896;
}

/* Back of diploma */
.accreditation-diploma-back-frame {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    box-shadow:
        0 4px 18px rgba(35, 61, 99, 0.10),
        0 1px 4px rgba(35, 61, 99, 0.05);
    transform: rotate(-1deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 270px;
    width: 100%;
    z-index: 0;
    margin-top: -12px;
}

.accreditation-diploma-back-frame:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 8px 28px rgba(35, 61, 99, 0.14),
        0 2px 8px rgba(35, 61, 99, 0.06);
}

.accreditation-diploma-back {
    border: 2px solid #c8bda6;
    border-radius: 6px;
    padding: 16px 14px;
    background: linear-gradient(170deg, #f5f2eb 0%, #ede8dd 100%);
}

.diploma-back-inner {
    text-align: center;
}

.diploma-back-pattern {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 80px;
}

.diploma-back-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.diploma-back-lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding-top: 6px;
}

.diploma-back-line {
    height: 2px;
    border-radius: 2px;
    background: rgba(35, 61, 99, 0.06);
}

.diploma-back-line--long {
    width: 85%;
}

.diploma-back-line--medium {
    width: 65%;
}

.diploma-back-line--short {
    width: 40%;
}

.diploma-back-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.diploma-back-qr__box {
    width: 36px;
    height: 36px;
    border: 1.5px solid #c8bda6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
}

.diploma-back-qr__box i {
    font-size: 20px;
    color: #8a7e6b;
}

.diploma-back-qr span {
    font-size: 8px;
    color: #8a7e6b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* University badge */
.accreditation-university-badge {
    background: #233d63;
    border-radius: 12px;
    padding: 14px 22px;
    box-shadow: 0 4px 16px rgba(35, 61, 99, 0.3);
    z-index: 3;
    max-width: 270px;
    width: 100%;
    text-align: center;
}

.accreditation-university-badge--top {
    position: static;
}

.accreditation-university-badge__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accreditation-university-badge__prefix {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.accreditation-university-badge__name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 991px) {
    .accreditation-card {
        padding: 28px 22px;
    }

    .accreditation-title {
        font-size: 22px;
    }

    .accreditation-visual {
        margin-top: 32px;
    }

    .accreditation-diploma-frame,
    .accreditation-diploma-back-frame,
    .accreditation-university-badge {
        max-width: 260px;
    }
}

@media (max-width: 575px) {
    .accreditation-features {
        flex-direction: column;
    }

    .accreditation-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .accreditation-diploma-frame,
    .accreditation-diploma-back-frame,
    .accreditation-university-badge {
        max-width: 240px;
    }
}



/* ===== ACORDEON TEMARIO ===== */

.generic-accordion .modules-body {
    font-size: 14px;
    line-height: 1.5;
}

/* reducir padding interior */
.generic-accordion .card-body {
    padding: 15px 18px;
}

/* TITULOS TEMA */
.generic-accordion .modules-body h4 {
    font-size: 18px;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* listas */
.generic-accordion .modules-body ol,
.generic-accordion .modules-body ul {
    margin: 5px 0 10px 20px;
    padding-left: 10px;
}

/* items */
.generic-accordion .modules-body li {
    margin-bottom: 3px;
}

/* listas anidadas */
.generic-accordion .modules-body li ol,
.generic-accordion .modules-body li ul {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* números más discretos */
.generic-accordion .modules-body ol li::marker {
    font-weight: 500;
}

/* texto más compacto */
.generic-accordion .modules-body p {
    margin-bottom: 8px;
}

/* botón del acordeón más limpio */
.generic-accordion .card-header button {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 15px;
}

/* iconos + - */
.generic-accordion .card-header i {
    margin-right: 6px;
}

.course-body p {
    margin-bottom: 18px !important;
    font-weight: normal !important;
}