/* ==========================================================================
   Estudio Lat — Estilos específicos para páginas de Cursos y Nichos
   Optimizado para SEO Local Argentina, GEO / IA y conversión (CRO)
   ========================================================================== */

:root {
    --curso-blue: #0055A4;
    --curso-blue-light: #38bdf8;
    --curso-blue-dark: #0f172a;
    --curso-gold: #facc15;
    --curso-green: #10b981;
    --curso-card-bg: rgba(255, 255, 255, 0.98);
    --curso-card-border: rgba(148, 163, 184, 0.25);
    --curso-radius: 16px;
}

/* Badge Geo Local Argentina */
.curso-geo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #bae6fd;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.curso-geo-pill .flag {
    font-size: 1.1rem;
    line-height: 1;
}

/* Caja de Resumen Ejecutivo / Recomendación de IA (GEO Box) */
.curso-ai-summary {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--curso-radius);
    padding: 1.85rem clamp(1.2rem, 3vw, 2.2rem);
    margin: 1.85rem 0;
    color: #f8fafc;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.curso-ai-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #38bdf8 100%);
}

.curso-ai-summary h3 {
    color: #38bdf8;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.85rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.01em;
}

.curso-ai-summary p {
    color: #e2e8f0;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 1.15rem 0;
}

.curso-ai-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.curso-ai-summary li {
    position: relative;
    padding-left: 1.65rem;
    font-size: 0.94rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.curso-ai-summary li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.9rem;
}

.curso-ai-summary strong {
    color: #ffffff;
}

/* Tabla Comparativa de Valor — Dark Studio Pro */
.curso-table-wrap {
    overflow-x: auto;
    margin: 1.75rem 0 2.25rem;
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.8) 100%);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.curso-table-wrap::-webkit-scrollbar {
    height: 6px;
}

.curso-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 4px;
}

.curso-comparativa-table {
    width: 100%;
    min-width: 660px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.curso-comparativa-table th {
    padding: 0.95rem 0.85rem;
    background: rgba(15, 23, 42, 0.96);
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-align: center;
}

.curso-comparativa-table th:first-child {
    border-top-left-radius: 18px;
    padding-left: 1.25rem;
    text-align: left;
}

.curso-comparativa-table th:last-child {
    border-top-right-radius: 18px;
}

.curso-comparativa-table th.col-highlight {
    background: linear-gradient(180deg, rgba(2, 132, 199, 0.35) 0%, rgba(14, 165, 233, 0.15) 100%);
    color: #38bdf8;
    text-align: center;
    position: relative;
    border-top: 2px solid #38bdf8;
    border-left: 1px solid rgba(56, 189, 248, 0.35);
    border-right: 1px solid rgba(56, 189, 248, 0.35);
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 -4px 16px rgba(56, 189, 248, 0.2);
}

.curso-comparativa-table th.col-highlight::after {
    content: '★ RECOMENDADO';
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: #fef08a;
    background: rgba(234, 179, 8, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.4);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-top: 0.35rem;
}

.curso-comparativa-table td {
    padding: 0.85rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    vertical-align: middle;
    line-height: 1.45;
    color: #cbd5e1;
    text-align: center;
}

.curso-comparativa-table td:first-child {
    padding-left: 1.25rem;
    color: #f1f5f9;
    font-weight: 600;
    text-align: left;
}

.curso-comparativa-table tr:last-child td {
    border-bottom: none;
}

.curso-comparativa-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.curso-comparativa-table td.col-highlight {
    background: rgba(56, 189, 248, 0.07);
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    border-left: 1px solid rgba(56, 189, 248, 0.25);
    border-right: 1px solid rgba(56, 189, 248, 0.25);
}

.curso-comparativa-table tr:hover td.col-highlight {
    background: rgba(56, 189, 248, 0.12);
}

.curso-comparativa-table .badge-good {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-weight: 700;
    font-size: 0.84rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.curso-comparativa-table .badge-good::before {
    content: '✓';
    font-weight: 900;
    color: #10b981;
}

.curso-comparativa-table .badge-mid {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    font-size: 0.82rem;
    font-weight: 600;
}

.curso-comparativa-table .badge-bad {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Grid de Nichos & Escala — Dark Luxe */
.curso-nicho-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.35rem;
    margin: 1.85rem 0;
}

.curso-nicho-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 1.6rem 1.45rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.curso-nicho-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.45);
}

.curso-nicho-header {
    margin-bottom: 1rem;
}

.curso-nicho-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    margin-bottom: 0.75rem;
}

.curso-nicho-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.85rem 0;
    line-height: 1.3;
}

.curso-nicho-body {
    flex-grow: 1;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.curso-nicho-point {
    margin-bottom: 0.95rem;
}

.curso-nicho-point strong {
    color: #38bdf8;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.curso-nicho-scale {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.2) 100%);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-left: 3px solid #10b981;
    padding: 0.85rem 1rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #d1fae5;
    line-height: 1.5;
}

.curso-nicho-scale strong {
    color: #34d399;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.curso-nicho-footer {
    margin-top: 1.4rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.curso-nicho-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.25s ease;
}

.curso-nicho-link:hover {
    color: #7dd3fc;
    gap: 0.7rem;
}

/* Grid de Retorno de Inversión (ROI) — Cohesive Studio */
.curso-roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.85rem 0;
}

.curso-roi-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    border-radius: var(--curso-radius);
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.curso-roi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.curso-roi-card.highlight {
    background: linear-gradient(145deg, rgba(2, 132, 199, 0.22) 0%, rgba(30, 58, 138, 0.38) 100%);
    border: 2px solid #38bdf8;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.25);
}

.curso-roi-card.highlight:hover {
    box-shadow: 0 16px 45px rgba(56, 189, 248, 0.35);
    transform: translateY(-5px);
}

.curso-roi-card.highlight h4 {
    color: #38bdf8;
}

.curso-roi-card.highlight .roi-val {
    color: #facc15;
    text-shadow: 0 2px 14px rgba(250, 204, 21, 0.3);
}

.curso-roi-card.highlight p {
    color: #f1f5f9;
}

.curso-roi-card h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 0 0 0.6rem 0;
}

.curso-roi-card .roi-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #38bdf8;
    margin: 0 0 0.45rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.curso-roi-card p {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

.curso-roi-banner {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: var(--curso-radius);
    padding: 1.35rem 1.6rem;
    margin: 1.75rem 0;
    color: #ecfdf5;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.curso-roi-banner .ico-check {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 900;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.curso-roi-banner strong {
    color: #34d399;
}

/* Banner de Conversión / CTA */
.curso-cta-banner {
    background: linear-gradient(135deg, #0a0f1e 0%, #1e293b 50%, #0f172a 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--curso-radius);
    padding: 2.25rem clamp(1.2rem, 4vw, 2.5rem);
    color: #ffffff;
    text-align: center;
    margin: 2.5rem 0;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.curso-cta-banner h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: #ffffff;
}

.curso-cta-banner p {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 1.75rem auto;
    line-height: 1.6;
}

.curso-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-mpago-direct {
    background: #009ee3;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 158, 227, 0.4);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-mpago-direct:hover {
    background: #0084bf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.5);
}

.btn-wapp-direct {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-wapp-direct:hover {
    background: #20ba59;
    transform: translateY(-2px);
}

/* Estilos de Pasos / Hoja de Ruta para Salida Laboral */
.curso-steps-timeline {
    display: grid;
    gap: 1.25rem;
    margin: 1.75rem 0;
}

.curso-step-card {
    display: flex;
    gap: 1.2rem;
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--curso-radius);
    padding: 1.35rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.curso-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.curso-step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.curso-step-content h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.1rem;
    color: #f8fafc;
    font-weight: 700;
}

.curso-step-content p {
    margin: 0;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.55;
}

/* Badge de garantía y confianza */
.curso-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.curso-trust-tag {
    font-size: 0.8rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   Accordion / Details & Summary Unificado y Moderno
   ========================================================================== */
.curso-faq-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.curso-details,
details.curso-details {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.curso-details:hover,
details.curso-details:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.12);
}

.curso-details[open],
details.curso-details[open] {
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.18);
}

.curso-details summary,
details.curso-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #f8fafc;
    cursor: pointer;
    list-style: none;
    user-select: none;
    line-height: 1.4;
}

.curso-details summary::-webkit-details-marker {
    display: none;
}

.curso-details summary::after,
details.curso-details summary::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.curso-details[open] summary::after,
details.curso-details[open] summary::after {
    content: '−';
    background: rgba(56, 189, 248, 0.22);
    color: #7dd3fc;
    transform: rotate(180deg);
}

.curso-details .mod-body,
details.curso-details .mod-body {
    padding: 0 1.35rem 1.25rem 1.35rem;
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.65;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.curso-details .mod-body p,
details.curso-details .mod-body p {
    margin: 0.85rem 0 0 0;
    color: #cbd5e1;
}

.curso-details .mod-body li {
    color: #cbd5e1;
}

/* ==========================================================================
   Sección de Testimonios y Prueba Social Local (Argentina)
   ========================================================================== */
.curso-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.35rem;
    margin: 1.75rem 0;
}

.curso-testimonial-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--curso-radius);
    padding: 1.6rem 1.45rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.curso-testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 16px 36px rgba(56, 189, 248, 0.15);
}

.curso-testimonial-stars {
    color: #facc15;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

.curso-testimonial-quote {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #e2e8f0;
    font-style: italic;
    margin: 0 0 1.35rem 0;
}

.curso-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 0.95rem;
}

.curso-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.35);
}

.curso-testimonial-name {
    font-weight: 700;
    font-size: 0.94rem;
    color: #ffffff;
    margin: 0;
}

.curso-testimonial-role {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

/* ==========================================================================
   Video Embed Responsivo (16:9)
   ========================================================================== */
.curso-video-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #0f172a;
    border-radius: var(--curso-radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    margin: 1.5rem 0;
}

.curso-video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Galería Visual de Renders y Proyectos Reales
   ========================================================================== */
.curso-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
    margin: 1.75rem 0;
}

.curso-visual-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.curso-visual-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.curso-visual-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
}

.curso-visual-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.curso-visual-card:hover .curso-visual-img-wrap img {
    transform: scale(1.04);
}

.curso-visual-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.curso-visual-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.curso-visual-body h4 {
    margin: 0;
    font-size: 1.02rem;
    color: #f8fafc;
    font-weight: 700;
}

.curso-visual-body p {
    margin: 0;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.curso-visual-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #38bdf8;
    margin-top: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

/* ==========================================================================
   Caja de Garantía y Fricción Cero en Argentina
   ========================================================================== */
.curso-guarantee-box {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: var(--curso-radius);
    padding: 1.75rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.curso-guarantee-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.curso-guarantee-content h3 {
    margin: 0 0 0.35rem 0;
    color: #34d399;
    font-size: 1.2rem;
    font-weight: 700;
}

.curso-guarantee-content p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.94rem;
    line-height: 1.6;
}

.curso-guarantee-content p strong {
    color: #ffffff;
}

/* ==========================================================================
   Banner de Enrutamiento Cruzado entre Nichos (Cross-Niche)
   ========================================================================== */
.curso-cross-niche-banner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.curso-cross-niche-text {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.curso-cross-niche-text strong {
    color: #f8fafc;
}

.curso-cross-niche-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.curso-cross-niche-btn:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Barra Flotante Inferior en Mobile (Sticky Bottom Bar)
   ========================================================================== */
.curso-mobile-price-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.75rem 1rem;
    z-index: 9999;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.curso-mobile-price-bar.is-visible {
    transform: translateY(0);
}

.curso-mobile-price-bar-inner {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.curso-mobile-price-text {
    display: flex;
    flex-direction: column;
}

.curso-mobile-price-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.curso-mobile-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.1;
}

.curso-mobile-price-cta {
    background: #009ee3;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.4);
    flex-shrink: 0;
}

/* ==========================================================================
   Soporte Sticky Sidebar en Desktop (PC)
   ========================================================================== */
html,
body.page-cursos {
    overflow-x: clip !important;
}

.page-cursos .curso-hero {
    overflow: visible !important;
}

@media (min-width: 960px) {
    .curso-layout {
        display: grid;
        grid-template-columns: 1.22fr 415px;
        gap: 2.5rem;
        align-items: start;
    }

    .curso-aside {
        position: -webkit-sticky;
        position: sticky;
        top: 86px;
        align-self: start;
        height: fit-content;
        z-index: 40;
    }

    .curso-pricing {
        max-height: calc(100vh - 98px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .curso-pricing::-webkit-scrollbar {
        width: 4px;
    }

    .curso-pricing::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.35);
        border-radius: 4px;
    }

    .curso-pricing::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Toast no intrusivo en PC: fijado en esquina inferior izquierda limpia */
    .curso-live-toast {
        bottom: 24px !important;
        left: 24px !important;
        max-width: 290px !important;
        z-index: 30 !important;
    }

    /* Tarjetas de nichos: cuadrícula simétrica 2x2 en PC */
    .curso-nicho-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Tarjetas de ROI: cuadrícula 2x2 equilibrada en PC */
    .curso-roi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.35rem;
    }

    /* Tabla comparativa: 100% visible en PC sin scroll horizontal */
    .curso-table-wrap {
        overflow-x: auto;
    }

    .curso-comparativa-table {
        min-width: 100%;
        width: 100%;
        table-layout: fixed;
    }

    .curso-comparativa-table th,
    .curso-comparativa-table td {
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .curso-comparativa-table th {
        font-size: 0.75rem;
        padding: 0.85rem 0.45rem;
        line-height: 1.25;
    }

    .curso-comparativa-table th:first-child,
    .curso-comparativa-table td:first-child {
        width: 21%;
        padding-left: 0.85rem;
    }

    .curso-comparativa-table th.col-highlight,
    .curso-comparativa-table td.col-highlight {
        width: 27%;
    }

    .curso-comparativa-table th:nth-child(3),
    .curso-comparativa-table td:nth-child(3) {
        width: 17%;
    }

    .curso-comparativa-table th:nth-child(4),
    .curso-comparativa-table td:nth-child(4) {
        width: 17%;
    }

    .curso-comparativa-table th:nth-child(5),
    .curso-comparativa-table td:nth-child(5) {
        width: 18%;
    }

    .curso-comparativa-table td {
        font-size: 0.82rem;
        padding: 0.75rem 0.4rem;
    }

    .curso-comparativa-table .badge-good {
        font-size: 0.76rem;
        padding: 0.22rem 0.45rem;
        gap: 0.2rem;
        line-height: 1.25;
    }

    .curso-comparativa-table .badge-mid,
    .curso-comparativa-table .badge-bad {
        font-size: 0.74rem;
        padding: 0.2rem 0.45rem;
        line-height: 1.25;
    }
}

/* Beneficios dark glassmorphic integrados al hero */
.curso-hero .curso-beneficio {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.curso-hero .curso-beneficio:hover {
    border-color: rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.15) !important;
}

.curso-hero .curso-beneficio h3 {
    color: #f8fafc !important;
}

.curso-hero .curso-beneficio p {
    color: #cbd5e1 !important;
}

.curso-hero .curso-beneficio .ico {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}



