.na-cat-card-img-wrap {
    position: relative;
}

.na-curso-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-transform: capitalize;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.na-curso-badge--virtual {
    background-color: #62bc9f;
}

.na-curso-badge--presencial {
    background-color: #00112e;
}

.na-curso-badge--virtualasistido {
    background-color: #6366f1;
}

.na-curso-meta {
    font-size: .82rem;
    color: #4b5563;
}

.na-curso-meta__item svg {
    color: #62bc9f;
}

.na-curso-precio {
    font-weight: 700;
    color: #00112e;
}

.na-curso-precio svg {
    color: #62bc9f;
}

.na-curso-precio--gratis {
    color: #62bc9f;
}

/* ── Detalle del curso ───────────────────────────────────────────── */

/* Hero */
.na-det-hero {
    position: relative;
    min-height: 320px;
    background-color: #00112e;
    background-size: cover;
    background-position: center;
    display: flex;
}

.na-det-hero--noimagen {
    min-height: 220px;
}

.na-det-hero__overlay {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(0deg, rgba(0,17,46,.92) 0%, rgba(0,17,46,.55) 60%, rgba(0,17,46,.15) 100%);
}

.na-det-hero__top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1.25rem;
    padding-bottom: .5rem;
}

.na-det-hero__bottom {
    padding-top: .5rem;
    padding-bottom: 2rem;
}

.na-det-hero__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}


.na-det-back {
    font-size: .85rem;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}

.na-det-back:hover {
    color: #62bc9f;
    text-decoration: none;
}

.na-payment-back-link {
    color: #62bc9f;
}

.na-payment-back-link:hover,
.na-payment-back-link:focus {
    color: #4ea888;
    text-decoration: none;
}

/* Badge en hero: inline, sin position absolute */
.na-det-hero .na-curso-badge {
    position: static;
    display: inline-block;
    box-shadow: none;
}

/* Secciones */
.na-det-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00112e;
    border-left: 4px solid #62bc9f;
    padding-left: 12px;
    margin-bottom: 1.25rem;
}

.na-det-desc {
    color: #374151;
    line-height: 1.7;
    font-size: .97rem;
}

/* Card lateral */
.na-det-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    overflow: hidden;
    top: 100px;
    z-index: 1;
}

.na-det-card__img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #9ca3af;
}

.na-det-card__body {
    padding: 1.5rem;
}

.na-det-card__precio {
    font-size: 2rem;
    font-weight: 800;
    color: #00112e;
    margin-bottom: 1rem;
    line-height: 1;
}

.na-det-card__precio span {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

.na-det-card__precio--gratis {
    color: #62bc9f;
}

.na-det-card__meta {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.na-det-card__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px solid #f9fafb;
}

.na-det-card__meta-item svg {
    color: #62bc9f;
    flex-shrink: 0;
}

.na-det-card__meta-label {
    font-weight: 600;
    color: #6b7280;
    min-width: 90px;
}

/* Botón principal */
.na-det-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #62bc9f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: .97rem;
    line-height: 1.2;
    min-height: 3.5rem;
    padding: .75rem 1.5rem;
    transition: background-color .18s;
}

.na-det-btn-primary:hover,
.na-det-btn-primary:focus {
    background-color: #4fa98a;
    color: #fff;
}

/* Acordeón temario */
.na-det-accordion__item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.na-det-accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f9fafb;
    border: none;
    text-align: left;
    font-size: .92rem;
    color: #111827;
    cursor: pointer;
    transition: background-color .15s;
}


.na-det-accordion__header:hover,
.na-det-accordion__header:focus,
.na-det-accordion__header:active {
    background-color: #f3f4f6;
    color: #62bc9f;
    box-shadow: none;
    outline: none;
}

.na-det-accordion__header:hover .na-det-accordion__num,
.na-det-accordion__header:hover .na-det-accordion__name,
.na-det-accordion__header:hover .na-det-accordion__count,
.na-det-accordion__header:hover .na-det-accordion__chevron,
.na-det-accordion__header:focus .na-det-accordion__num,
.na-det-accordion__header:focus .na-det-accordion__name,
.na-det-accordion__header:focus .na-det-accordion__count,
.na-det-accordion__header:focus .na-det-accordion__chevron {
    color: #62bc9f;
}

.na-det-accordion__header[aria-expanded="true"] {
    background-color: #f0fdf8;
    color: #00112e;
}

.na-det-accordion__header[aria-expanded="true"] .na-det-accordion__chevron {
    transform: rotate(180deg);
}

.na-det-accordion__chevron {
    transition: transform .2s ease;
    color: #6b7280;
}

.na-det-accordion__num {
    font-weight: 700;
    color: #62bc9f;
    white-space: nowrap;
    font-size: .8rem;
}

.na-det-accordion__name {
    font-weight: 600;
    flex: 1;
}

.na-det-accordion__count {
    font-size: .78rem;
    color: #6b7280;
    white-space: nowrap;
}

.na-det-accordion__body {
    padding: 12px 16px;
    background: #fff;
}

.na-det-accordion__summary {
    font-size: .88rem;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Actividades (no clicables) */
.na-det-activities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.na-det-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: .88rem;
    color: #374151;
    border-bottom: 1px solid #f9fafb;
    cursor: default;
}

.na-det-activity:last-child {
    border-bottom: none;
}

.na-det-activity__icon {
    flex-shrink: 0;
    opacity: .75;
}

/* Ponentes */
.na-det-ponente-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.na-det-ponente-card__foto {
    height: 160px;
    overflow: hidden;
    background: #f3f4f6;
}

.na-det-ponente-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.na-det-ponente-card__foto-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.na-det-ponente-card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}


.na-det-ponente-card__body .na-cat-card-btn {
    margin-top: auto;
}


.na-det-ponente-card__nombre {
    font-weight: 700;
    color: #00112e;
    margin-bottom: 2px;
    font-size: .97rem;
}

.na-det-ponente-card__especialidad {
    font-size: .82rem;
    color: #62bc9f;
    font-weight: 600;
    margin-bottom: 6px;
}

.na-det-ponente-card__desc {
    font-size: .82rem;
    color: #6b7280;
    margin-bottom: .75rem;
}
