/* Landing detalle de curso - CEFIC Pro */
.course-page {
    background: #fff
}

.course-hero {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(7, 31, 88, .94) 0%, rgba(7, 31, 88, .86) 35%, rgba(7, 31, 88, .42) 62%, rgba(7, 31, 88, .1) 100%), var(--course-hero-bg);
    background-size: cover;
    background-position: center right;
    color: #fff
}

.course-hero-wrap {
    min-height: 680px;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    gap: 34px;
    padding: 88px 0 118px
}

.course-breadcrumb {
    color: rgba(255, 255, 255, .74);
    margin: 0 0 30px
}

.course-breadcrumb a {
    color: #fff
}

.course-breadcrumb span:last-child {
    color: rgba(255, 255, 255, .74)
}

.course-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: .02em;
    padding: 10px 16px;
    margin-bottom: 22px;
    box-shadow: 0 10px 22px rgba(207, 23, 38, .22)
}

.course-hero h1 {
    font-size: clamp(44px, 5vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0 0 24px;
    max-width: 800px;
    color: #fff;
    font-weight: 950
}

.course-hero h1 span {
    color: #2b7cff
}

.course-lead {
    font-size: 19px;
    line-height: 1.7;
    max-width: 650px;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 30px
}

.course-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 720px;
    margin: 0 0 34px
}

.course-meta article {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 18px;
    padding: 16px;
    backdrop-filter: blur(6px)
}

.course-meta img {
    width: 38px;
    height: 38px;
    filter: brightness(0) invert(1)
}

.course-meta small {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 2px
}

.course-meta strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.2
}

.course-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.course-actions .btn-outline {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .46)
}

.course-hero-mobile {
    display: none
}

.course-hero-mobile img {
    width: 100%;
    height: auto;
    border-radius: 26px;
    box-shadow: var(--shadow)
}

.course-highlights-section {
    margin-top: -68px;
    position: relative;
    z-index: 4
}

.course-highlights {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden
}

.course-highlights article {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px;
    border-right: 1px solid var(--line)
}

.course-highlights article:last-child {
    border-right: 0
}

.course-highlights img {
    width: 50px;
    height: 50px
}

.course-highlights h3 {
    font-size: 17px;
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--navy)
}

.course-highlights p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: var(--muted);
    font-weight: 600
}

.course-tabs {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(7, 31, 88, .07);
    overflow: hidden
}

.course-tab-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f5f8ff;
    border-bottom: 1px solid var(--line)
}

.course-tab-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 900;
    padding: 22px 18px;
    cursor: pointer;
    transition: .25s ease;
    border-right: 1px solid var(--line)
}

.course-tab-btn:last-child {
    border-right: 0
}

.course-tab-btn.active {
    background: var(--navy);
    color: #fff
}

.course-tab-panel {
    display: none;
    grid-template-columns: 1fr .95fr;
    gap: 36px;
    align-items: center;
    padding: 38px
}

.course-tab-panel.active {
    display: grid
}

.course-tab-copy p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 18px
}

.course-tab-image {
    border-radius: 18px;
    overflow: hidden;
    background: #f2f6fd;
    min-height: 260px
}

.course-tab-image img {
    width: 100%;
    height: 320px;
    object-fit: cover
}

.course-check-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0
}

.course-check-list li {
    list-style: none;
    position: relative;
    padding-left: 34px;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 650
}

.course-check-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red)
}

.course-check-list li:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.course-target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.course-target-grid span {
    background: #f7fbff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    font-weight: 850;
    color: var(--navy)
}

.course-modality-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 54px;
    align-items: center
}

.course-modality-copy h2,
.course-section-title h2,
.course-cert-copy h2 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.05;
    margin: 0 0 16px;
    color: var(--ink)
}

.course-benefit-list {
    display: grid;
    gap: 26px;
    margin-top: 28px
}

.course-benefit-list article {
    display: flex;
    gap: 18px;
    align-items: flex-start
}

.course-benefit-list span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(31, 102, 223, .18);
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    background: #fff
}

.course-benefit-list img {
    width: 31px;
    height: 31px
}

.course-benefit-list h3 {
    font-size: 21px;
    margin: 0 0 7px;
    color: var(--navy)
}

.course-benefit-list p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0
}

.course-modality-image {
    text-align: center
}

.course-modality-image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain
}

.course-section-title {
    text-align: center;
    margin-bottom: 34px
}

.course-section-title .red-line {
    margin: 14px auto 0;
    width: 62px;
    height: 4px
}

.course-syllabus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start
}

.course-accordion {
    display: grid;
    gap: 10px
}

.course-accordion-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden
}

.course-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 0;
    background: #f4f7fc;
    color: var(--navy);
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer
}

.course-accordion-trigger strong {
    font-size: 20px;
    color: var(--blue)
}

.course-accordion-content {
    display: none;
    padding: 0 20px 18px;
    color: var(--muted);
    line-height: 1.55
}

.course-accordion-item.open .course-accordion-content {
    display: block
}

.course-accordion-item.open .course-accordion-trigger {
    background: #fff
}

.course-accordion-item.open .course-accordion-trigger strong {
    transform: rotate(45deg)
}

.course-download-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(7, 31, 88, .06);
    padding: 32px;
    text-align: center;
    position: sticky;
    top: 120px
}

.course-download-card img {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px
}

.course-download-card h3 {
    font-size: 22px;
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--navy)
}

.course-download-card p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 20px
}

.course-teachers-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 52px !important
}

.teacher-card {
    height: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    display: grid !important;
    grid-template-columns: 116px 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: 0 10px 22px rgba(7, 31, 88, .04);
    transition: .25s ease
}

.teacher-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 34px rgba(7, 31, 88, .08)
}

.teacher-card>img {
    width: 116px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef4ff
}

.teacher-card h3 {
    font-size: 18px;
    line-height: 1.18;
    margin: 0 0 7px;
    color: var(--navy)
}

.teacher-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.35;
    margin: 0 0 14px;
    font-weight: 650
}

.teacher-card .btn {
    padding: 10px 16px;
    font-size: 13px
}

.teacher-modal-data {
    display: none
}

.teacher-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none
}

.teacher-modal.open {
    display: block
}

.teacher-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 17, 45, .7);
    backdrop-filter: blur(5px)
}

.teacher-modal-box {
    position: relative;
    z-index: 2;
    width: min(620px, 92%);
    margin: 7vh auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
    padding: 34px
}

.teacher-modal-close {
    position: absolute;
    right: 18px;
    top: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f2f5fb;
    color: var(--navy);
    font-size: 24px;
    cursor: pointer
}

.teacher-modal-content h3 {
    font-size: 30px;
    line-height: 1.1;
    margin: 0 0 10px;
    color: var(--navy)
}

.teacher-modal-content p,
.teacher-modal-content li {
    color: var(--muted);
    line-height: 1.6
}

.teacher-modal-content ul {
    padding-left: 18px
}

.course-cert-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 42px;
    align-items: center
}

.course-cert-copy p {
    color: var(--muted);
    line-height: 1.7
}

.course-cert-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.course-cert-card img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    object-fit: contain
}

.course-final-cta-section {
    padding-top: 40px
}

.course-final-cta {
    background: linear-gradient(135deg, var(--navy), #0d3d9a);
    color: #fff;
    border-radius: 26px;
    padding: 42px 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}

.course-final-cta:after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06)
}

.course-final-cta h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    margin: 0 0 10px;
    color: #fff
}

.course-final-cta p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
    line-height: 1.6
}

.course-final-cta .eyebrow {
    color: #ffd119;
    margin-bottom: 10px !important
}

@media(max-width:1100px) {
.course-hero{
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.10), transparent 35%),
        linear-gradient(90deg, #142C63 0%, #1B356F 45%, #27457F 75%, #3B5A93 100%);
}
    .course-hero-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 70px 0
    }

    .course-hero-mobile {
        display: block
    }

    .course-meta,
    .course-highlights {
        grid-template-columns: repeat(2, 1fr)
    }

    .course-highlights article:nth-child(2) {
        border-right: 0
    }

    .course-highlights article {
        border-bottom: 1px solid var(--line)
    }

    .course-highlights article:nth-child(n+3) {
        border-bottom: 0
    }

    .course-tab-panel,
    .course-modality-grid,
    .course-syllabus-layout,
    .course-cert-grid,
    .course-final-cta {
        grid-template-columns: 1fr
    }

    .course-download-card {
        position: static
    }

    .course-tab-image img {
        height: 280px
    }
}

@media(max-width:700px) {
    .course-hero-wrap {
        padding: 50px 0
    }

    .course-hero h1 {
        font-size: 38px
    }

    .course-lead {
        font-size: 16px
    }

    .course-meta,
    .course-highlights,
    .course-tab-nav,
    .course-target-grid {
        grid-template-columns: 1fr
    }

    .course-meta article {
        padding: 14px
    }

    .course-highlights-section {
        margin-top: 0
    }

    .course-highlights {
        border-radius: 0
    }

    .course-highlights article {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line) !important
    }

    .course-highlights article:last-child {
        border-bottom: 0 !important
    }

    .course-tabs {
        border-radius: 18px
    }

    .course-tab-btn {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .course-tab-panel {
        padding: 24px
    }

    .course-tab-image img {
        height: 220px
    }

    .course-modality-grid {
        gap: 24px
    }

    .teacher-card {
        grid-template-columns: 94px 1fr
    }

    .teacher-card>img {
        width: 94px;
        height: 128px
    }

    .course-final-cta {
        padding: 30px;
        text-align: center
    }

    .course-final-cta .btn {
        width: 100%
    }
}