        /* ══ HERO INMERSIVO ══ */
        .course-hero {
            position: relative;
            min-height: 520px;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
        }
        .course-hero__bg {
            position: absolute;
            inset: 0;
            background-image: url('../images/Cursos-Fortinet/Curso\ FortiGate\ Security\ FortiOS.webp');
            background-size: cover;
            background-position: center;
            transform: scale(1.04);
            transition: transform 8s ease;
        }
        .course-hero:hover .course-hero__bg { transform: scale(1); }
        .course-hero__overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(10,10,12,1) 0%, rgba(10,10,12,0.75) 40%, rgba(10,10,12,0.2) 100%);
        }
        .course-hero__overlay-red {
            position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(238,49,36,0.18) 0%, transparent 60%);
        }
        .course-hero__grid {
            position: absolute; inset: 0;
            background-image: linear-gradient(rgba(238,49,36,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(238,49,36,0.06) 1px, transparent 1px);
            background-size: 40px 40px;
            opacity: 0.6;
        }
        .course-hero__content { position: relative; z-index: 2; padding: 80px 0 60px; width: 100%; }
        .course-hero__breadcrumb {
            display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
            font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .1em;
        }
        .course-hero__breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
        .course-hero__breadcrumb a:hover { color: #ff1100; }
        .course-hero__breadcrumb i { font-size: 9px; }
        .course-hero__badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
        .course-hero__badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: #ff1100; color: #fff; font-size: 11px; font-weight: 700;
            letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 2px;
        }
        .course-hero__badge--outline { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }
        .course-hero__title {
            font-size: clamp(28px, 4.5vw, 52px); font-weight: 800; color: #fff;
            line-height: 1.08; margin-bottom: 20px; letter-spacing: -.02em;
        }
        .course-hero__title span { color: #ff1100; }
        .course-hero__desc { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 620px; margin-bottom: 36px; }
        .course-hero__stats { display: flex; gap: 0; flex-wrap: wrap; }
        .course-hero__stat { padding: 18px 32px 18px 0; margin-right: 32px; border-right: 1px solid rgba(255,255,255,0.1); }
        .course-hero__stat:last-child { border-right: none; margin-right: 0; }
        .course-hero__stat-num { font-family: 'reeyregular', cursive; font-size: 36px; color: #ff1100; line-height: 1; margin-bottom: 4px; }
        .course-hero__stat-label { font-size: 12px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: .08em; }

        /* ══ BODY ══ */
        .course-body { padding: 70px 0 80px; }
        .course-section { margin-bottom: 52px; }
        .course-section__label {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #ff1100; margin-bottom: 14px;
        }
        .course-section__label::before { content: ''; display: block; width: 20px; height: 2px; background: #ff1100; }
        .course-section__title { font-size: clamp(18px, 2.5vw, 24px); font-weight: 800; color: #1a1a1a; margin-bottom: 18px; line-height: 1.2; }
        .course-section__text { font-size: 15px; color: #555; line-height: 1.85; margin-bottom: 14px; }
        .topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
        .topic-chip {
            background: rgba(238,49,36,.07); border: 1px solid rgba(238,49,36,.18); color: #cc2200;
            font-size: 11px; font-weight: 700; padding: 5px 13px; border-radius: 2px;
            letter-spacing: .04em; text-transform: uppercase; transition: all .2s;
        }
        .topic-chip:hover { background: rgba(238,49,36,.14); border-color: rgba(238,49,36,.35); }

        /* ── Temario acordeón ── */
        .temario-module { border: 1px solid #e8e8e8; border-radius: 3px; margin-bottom: 8px; overflow: hidden; transition: box-shadow .25s; }
        .temario-module:hover { box-shadow: 0 4px 20px rgba(238,49,36,.08); }
        .temario-module__header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 16px 22px; cursor: pointer; background: #fff; transition: background .2s; user-select: none;
        }
        .temario-module__header:hover { background: #fafafa; }
        .temario-module.open .temario-module__header { background: #fff8f7; }
        .temario-module__num { font-size: 11px; font-weight: 700; color: #ff1100; letter-spacing: .1em; text-transform: uppercase; margin-right: 14px; flex-shrink: 0; }
        .temario-module__name { font-size: 14px; font-weight: 700; color: #1a1a1a; flex: 1; }
        .temario-module__arrow { width: 28px; height: 28px; border: 1px solid #e0e0e0; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .25s; }
        .temario-module__arrow i { font-size: 10px; color: #999; transition: transform .25s; }
        .temario-module.open .temario-module__arrow { background: #ff1100; border-color: #ff1100; }
        .temario-module.open .temario-module__arrow i { color: #fff; transform: rotate(180deg); }
        .temario-module__body { display: none; padding: 0 22px 18px; border-top: 1px solid #f0f0f0; }
        .temario-module.open .temario-module__body { display: block; }
        .temario-module__topics { list-style: none; padding: 14px 0 0; margin: 0; }
        .temario-module__topics li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 13px; color: #666; border-bottom: 1px dashed #f0f0f0; }
        .temario-module__topics li:last-child { border-bottom: none; }
        .temario-module__topics li i { color: #ff1100; font-size: 8px; margin-top: 5px; flex-shrink: 0; }

        /* ── Info grid ── */
        .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .info-card { background: #f8f8f8; border-left: 3px solid #ff1100; padding: 24px; border-radius: 0 3px 3px 0; }
        .info-card__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #1a1a1a; margin-bottom: 14px; }
        .info-card ul { list-style: none; padding: 0; margin: 0; }
        .info-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #555; padding: 5px 0; }
        .info-card ul li i { color: #ff1100; font-size: 9px; margin-top: 4px; flex-shrink: 0; }

        /* ── FAQ mini ── */
        .faq-mini { margin-top: 52px; }
        .faq-item { border: 1px solid #e8e8e8; border-radius: 3px; margin-bottom: 8px; }
        .faq-item__q { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 700; color: #1a1a1a; gap: 12px; user-select: none; }
        .faq-item__q i { flex-shrink: 0; color: #ff1100; font-size: 11px; transition: transform .25s; }
        .faq-item.open .faq-item__q i { transform: rotate(180deg); }
        .faq-item__a { display: none; padding: 14px 20px 16px; font-size: 13px; color: #666; line-height: 1.75; border-top: 1px solid #f0f0f0; }
        .faq-item.open .faq-item__a { display: block; }

        /* ══ MODALIDADES ══ */
        .modalidades-section { background: #0a0a0c; padding: 70px 0; position: relative; overflow: hidden; }
        .modalidades-section::before {
            content: ''; position: absolute; inset: 0;
            background-image: linear-gradient(rgba(238,49,36,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(238,49,36,0.05) 1px, transparent 1px);
            background-size: 50px 50px;
        }
        .modalidades-section__inner { position: relative; z-index: 1; }
        .modalidades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin-top: 48px; }
        .modalidad-card { background: #0d0d10; padding: 40px 30px; text-align: center; transition: background .3s; position: relative; overflow: hidden; }
        .modalidad-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #ff1100; transform: scaleX(0); transition: transform .3s; }
        .modalidad-card:hover { background: #111318; }
        .modalidad-card:hover::before { transform: scaleX(1); }
        .modalidad-card__icon { width: 64px; height: 64px; background: rgba(238,49,36,0.1); border: 1px solid rgba(238,49,36,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all .3s; }
        .modalidad-card:hover .modalidad-card__icon { background: #ff1100; border-color: #ff1100; }
        .modalidad-card__icon i { color: #ff1100; font-size: 24px; transition: color .3s; }
        .modalidad-card:hover .modalidad-card__icon i { color: #fff; }
        .modalidad-card__title { font-size: 15px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
        .modalidad-card__text { font-size: 13px; color: #666; line-height: 1.7; }

        /* ══ CURSOS RELACIONADOS ══ */
        .related-courses { padding: 70px 0; background: #f5f5f5; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
        .related-card { background: #fff; border: 1px solid #ebebeb; border-radius: 3px; overflow: hidden; transition: all .3s; text-decoration: none; display: block; }
        .related-card:hover { border-color: #ff1100; box-shadow: 0 8px 32px rgba(238,49,36,.12); transform: translateY(-4px); }
        .related-card__img { width: auto; height: auto; object-fit: cover; object-position: center; display: block; transition: transform .4s; }
        .related-card:hover .related-card__img { transform: scale(1.04); }
        .related-card__img-wrap { overflow: hidden; }
        .related-card__body { padding: 24px; }
        .related-card__code { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff1100; margin-bottom: 8px; }
        .related-card__title { font-size: 15px; font-weight: 800; color: #1a1a1a; line-height: 1.3; margin-bottom: 10px; }
        .related-card__meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #999; }
        .related-card__meta i { color: #ff1100; font-size: 11px; }
        .related-card__arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #ff1100; text-transform: uppercase; letter-spacing: .06em; margin-top: 16px; transition: gap .2s; }
        .related-card:hover .related-card__arrow { gap: 10px; }

        /* ══ SIDEBAR ══ */
        .course-sidebar { position: sticky; top: 100px; }
        .sidebar-cta { background: #1a1a1a; border-radius: 3px; overflow: hidden; margin-bottom: 24px; }
        .sidebar-cta__head { background: #ff1100; padding: 20px 24px; }
        .sidebar-cta__pretitle { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
        .sidebar-cta__title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.2; }
        .sidebar-cta__body { padding: 24px; }
        .sidebar-cta__item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; color: #aaa; }
        .sidebar-cta__item:last-of-type { border-bottom: none; margin-bottom: 20px; }
        .sidebar-cta__item i { color: #ff1100; width: 16px; text-align: center; }
        .sidebar-cta__item strong { color: #fff; }
        .sidebar-cta__btn { display: block; background: #ff1100; color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 14px 20px; text-align: center; text-decoration: none; border-radius: 2px; transition: background .25s; margin-bottom: 10px; }
        .sidebar-cta__btn:hover { background: #cc0e00; color: #fff; }
        .sidebar-cta__btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
        .sidebar-cta__btn--ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }
        .sidebar-cta__phone { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0 0; font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; }
        .sidebar-cta__phone span { color: rgba(255,255,255,0.7); font-weight: 700; }
        .sidebar-nav-card { background: #fff; border: 1px solid #ebebeb; border-radius: 3px; overflow: hidden; }
        .sidebar-nav-card__head { padding: 14px 20px; background: #f5f5f5; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #888; }
        .sidebar-nav__list { list-style: none; padding: 0; margin: 0; }
        .sidebar-nav__list li { border-bottom: 1px solid #f0f0f0; }
        .sidebar-nav__list li:last-child { border-bottom: none; }
        .sidebar-nav__list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 13px; color: #555; text-decoration: none; transition: all .2s; }
        .sidebar-nav__list a:hover { color: #ff1100; background: #fff8f7; padding-left: 24px; }
        .sidebar-nav__list li.active a { color: #ff1100; background: #fff8f7; font-weight: 700; border-left: 3px solid #ff1100; }
        .sidebar-nav__list a i { font-size: 10px; color: #ccc; }
        .sidebar-nav__list li.active a i { color: #ff1100; }

        /* ══ RESPONSIVE ══ */
        @media (max-width: 1199px) { .modalidades-grid { grid-template-columns: repeat(2, 1fr); } .related-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 991px) { .course-hero { min-height: 420px; } .course-sidebar { position: static; margin-top: 48px; } .info-grid { grid-template-columns: 1fr; } }
        @media (max-width: 767px) { .modalidades-grid { grid-template-columns: 1fr 1fr; } .related-grid { grid-template-columns: 1fr; } }
        @media (max-width: 480px) { .modalidades-grid { grid-template-columns: 1fr; } .course-hero__stats { flex-direction: column; gap: 12px; } .course-hero__stat { border-right: none; padding: 0; margin: 0; } }

        
@media (max-width: 991px) { 
    .related-card__img-wrap { 
        height: 220px; 
        overflow: hidden; 
    }

    .related-card__img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
    } 
}


@media (max-width: 767px) { 
    .related-card__img-wrap { 
        height: 180px; 
        overflow: hidden; 
    }

    .related-card__img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
    } 
}