/*
 * Sistema visual de páginas públicas
 * Portada, Quiénes Somos, registro e inicio de sesión
 */
:root {
    --primary: #4586b5;
    --primary-dark: #346b93;
    --primary-soft: #eaf3f9;
    --secondary: #5d2973;
    --secondary-soft: #f2ebf5;
    --accent: #10b981;
    --dark: #0f172a;
    --navy: #121d34;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --surface: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --radius-md: 16px;
    --radius-lg: 24px;
}

html { scroll-behavior: smooth; }
body {
    background: #f7f9fc;
    color: var(--gray-800);
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body::selection { background: rgba(69, 134, 181, 0.22); color: var(--dark); }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid rgba(69, 134, 181, 0.3);
    outline-offset: 3px;
}
.container { max-width: 1200px; }

/* Portada: hero */
.hero-carousel {
    min-height: clamp(590px, 74vh, 760px);
    background: var(--navy);
    padding-top: 70px;
}
.hero-slide { min-height: clamp(590px, 74vh, 760px); }
.hero-slide--async .hero-slide-bg {
    background:
        radial-gradient(circle at 78% 28%, rgba(69, 134, 181, 0.30), transparent 30%),
        linear-gradient(118deg, #101b31 0%, #18364f 56%, #482253 100%);
}
.hero-slide--vivo .hero-slide-bg {
    background:
        radial-gradient(circle at 78% 28%, rgba(239, 68, 68, 0.22), transparent 30%),
        linear-gradient(118deg, #15172b 0%, #30203d 58%, #58202c 100%);
}
.hero-slide-bg::before { opacity: 0.45; }
.hero-slide-content { padding: 5.5rem 0 6.5rem; }
.hero-slide-content .col-lg-7 { position: relative; z-index: 3; }
.hero-slide-badge {
    padding: 0.5rem 0.9rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}
.hero-slide-badge--async { background: rgba(255,255,255,0.09); }
.hero-slide-badge--vivo { box-shadow: none; }
.hero-slide h1 {
    max-width: 720px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 5vw, 4.15rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
}
.hero-slide-desc {
    max-width: 610px;
    margin-bottom: 1.75rem;
    color: rgba(255,255,255,0.72);
    font-size: 1.08rem;
    line-height: 1.75;
}
.hero-slide-meta { gap: 0.65rem; margin-bottom: 1.75rem; }
.hero-slide-meta-item {
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.78);
    font-size: 0.78rem;
}
.hero-slide-price { margin-bottom: 1.5rem; font-size: 1.8rem; letter-spacing: -0.03em; }
.hero-slide-cta {
    min-height: 50px;
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    font-size: 0.92rem;
    box-shadow: none;
}
.hero-slide-cta--async:hover, .hero-slide-cta--vivo:hover { transform: translateY(-2px); }
.hero-slide-img {
    right: max(3vw, 24px);
    width: min(35vw, 440px);
    height: min(35vw, 440px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    opacity: 0.66;
    box-shadow: 0 35px 80px rgba(0,0,0,0.28);
}
.hero-slide-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18,29,52,0.56), transparent 42%);
}
.hero-controls {
    bottom: 1.75rem;
    gap: 0.4rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 99px;
    background: rgba(15,23,42,0.28);
    backdrop-filter: blur(12px);
}
.hero-dot { width: 7px; height: 7px; }
.hero-dot.active { width: 24px; }
.hero-nav {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(15,23,42,0.24);
}

/* Portada: catálogo */
.courses-section { padding: 6.5rem 0; background: #fff; }
.section-header { margin-bottom: 3.25rem; }
.section-badge {
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(69,134,181,0.16);
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.section-title {
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}
.section-subtitle { color: var(--gray-600); font-size: 1rem; line-height: 1.75; }
.course-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(69,134,181,0.34);
    box-shadow: var(--shadow-md);
}
.course-image { aspect-ratio: 16 / 10; }
.course-card:hover .course-image img { transform: scale(1.035); }
.course-badge {
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 7px;
    background: rgba(15,23,42,0.78);
    font-size: 0.66rem;
    backdrop-filter: blur(10px);
}
.course-price-tag {
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.4rem 0.7rem;
    border-radius: 7px;
    box-shadow: none;
    font-size: 0.82rem;
}
.course-body { padding: 1.35rem; }
.course-category { margin-bottom: 0.55rem; font-size: 0.67rem; letter-spacing: 0.08em; }
.course-title { color: var(--dark); font-size: 1.05rem; letter-spacing: -0.015em; }
.course-description { color: var(--gray-600); font-size: 0.84rem; }
.course-meta { gap: 0.65rem; }
.course-meta-item { padding: 0.3rem 0.5rem; border-radius: 6px; background: var(--gray-50); color: var(--gray-600); font-size: 0.71rem; }
.course-footer { border-color: var(--gray-200); }
.course-price { color: var(--dark); font-size: 1.18rem; }
.btn-curso {
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    background: var(--primary);
    font-size: 0.78rem;
    box-shadow: none;
}
.btn-curso:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: none; }
.empty-state { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* Acceso y registro */
.page-hero {
    min-height: 390px;
    padding: 9rem 0 8rem;
    background:
        radial-gradient(circle at 20% 10%, rgba(69,134,181,0.28), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(93,41,115,0.28), transparent 28%),
        linear-gradient(120deg, #111c32 0%, #192e47 54%, #44204f 100%);
}
.page-hero::before { opacity: 0.26; }
.page-hero h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2.15rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}
.page-hero h1 i {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    font-size: 1.35rem;
    vertical-align: 0.35rem;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.login-section, .register-section {
    position: relative;
    z-index: 5;
    margin-top: -6rem;
    padding: 0 0 6rem;
}
.login-card, .register-card {
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15,23,42,0.14);
}
.login-card::before, .register-card::before { height: 3px; }
.login-body, .register-form { padding: 2.5rem; }
.login-logo { margin-bottom: 1.75rem; }
.login-logo img { max-width: 180px; height: 52px; object-fit: contain; }
.form-section-title {
    color: var(--primary-dark);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
}
.form-label { color: var(--gray-800); font-size: 0.82rem; }
.form-control, .form-select {
    min-height: 50px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--gray-50);
    color: var(--dark);
    font-size: 0.9rem;
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(69,134,181,0.1);
}
.input-group-text {
    border: 1px solid var(--gray-200);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: var(--gray-50);
}
.input-group .form-control { border-left: 0; border-radius: 0 10px 10px 0; }
.input-group:focus-within .input-group-text { border-color: var(--primary); background: #fff; }
.btn-login, .btn-register {
    min-height: 52px;
    border-radius: 10px;
    background: linear-gradient(110deg, var(--primary), var(--secondary));
    font-size: 0.9rem;
    box-shadow: none;
}
.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(69,134,181,0.24);
}
.btn-google {
    min-height: 50px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.87rem;
}
.btn-google:hover { border-color: #cbd5e1; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.divider, .divider-google { margin: 1.6rem 0; }
.divider span, .divider-google span { color: var(--gray-400); font-size: 0.75rem; }
.forgot-link a, .login-link a, .register-link a { color: var(--primary-dark); }
.alert { border: 1px solid #fecaca; border-radius: 10px; font-size: 0.86rem; }
.features-box {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
}
.feature-mini span { font-size: 0.82rem; }
.benefits-sidebar {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 10%, rgba(93,41,115,0.5), transparent 40%),
        linear-gradient(145deg, #121d34, #1b3550);
    box-shadow: var(--shadow-md);
}
.benefits-sidebar > h5 { color: #fff !important; }
.benefit-item { margin-bottom: 1.7rem; }
.benefit-item:last-child { margin-bottom: 0; }
.benefit-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.09);
}
.benefit-text h5 { color: #fff; font-size: 0.88rem; }
.benefit-text p { color: rgba(255,255,255,0.62); font-size: 0.78rem; }

/* Quiénes somos */
.hero:not(.hero-carousel) {
    min-height: 580px;
    padding: 120px 0 90px;
    background:
        radial-gradient(circle at 15% 25%, rgba(69,134,181,0.30), transparent 30%),
        radial-gradient(circle at 85% 35%, rgba(93,41,115,0.35), transparent 30%),
        linear-gradient(120deg, #111c32, #19334d 55%, #44204f);
}
.hero:not(.hero-carousel)::before { opacity: 0.28; }
.hero-badge {
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}
.hero:not(.hero-carousel) h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.7rem, 7vw, 5rem);
    line-height: 1;
    letter-spacing: -0.055em;
}
.hero:not(.hero-carousel) h1 span {
    background: linear-gradient(100deg, #7cb6dc, #b88bcc);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero:not(.hero-carousel) p { max-width: 760px; color: rgba(255,255,255,0.72); font-size: 1.12rem; line-height: 1.75; }
.hero-company { padding-top: 0.8rem; font-size: 0.78rem !important; letter-spacing: 0.04em; }
.stats-section { margin-top: -52px; }
.stat-card {
    padding: 1.9rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-number { font-size: clamp(2rem, 5vw, 2.65rem); letter-spacing: -0.045em; }
.stat-label { font-size: 0.84rem; }
.section { padding: 6rem 0; }
.section-light { border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); background: #fff; }
.section-text { color: var(--gray-600); font-size: 1rem; line-height: 1.85; }
.stats-section + .section .section-text { max-width: 920px; margin-inline: auto; color: var(--gray-800); line-height: 1.9; }
.mv-card {
    padding: 2.4rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: #fff;
}
.mv-card:hover { transform: translateY(-4px); border-color: rgba(69,134,181,0.25); box-shadow: var(--shadow-md); }
.mv-card .icon { width: 52px; height: 52px; border-radius: 12px; }
.mv-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.mv-card p { font-size: 0.92rem; line-height: 1.8; }
.training-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.training-card:hover { transform: translateY(-5px); border-color: rgba(69,134,181,0.28); box-shadow: var(--shadow-md); }
.training-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0 auto 1.25rem;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
    font-size: 1.65rem;
}
.training-card h4 { font-size: 1rem; }
.training-card p { font-size: 0.82rem; line-height: 1.7; }
.method-card {
    padding: 1.4rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: none;
}
.method-card:hover { transform: translateY(-3px); border-color: rgba(69,134,181,0.28); box-shadow: var(--shadow-sm); }
.method-card .icon { width: 46px; height: 46px; border-radius: 10px; }
.method-card h5 { font-size: 0.94rem; }
.method-card p { font-size: 0.8rem; }
.hero ~ .stats-section ~ .section .col-lg-6 > div[style*="background: linear-gradient"] {
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: var(--radius-lg) !important;
    background:
        radial-gradient(circle at 80% 15%, rgba(93,41,115,0.42), transparent 38%),
        linear-gradient(145deg, #121d34, #1d405b) !important;
    box-shadow: var(--shadow-md);
}
body > .section[style*="background: linear-gradient"] {
    margin: 0;
    background:
        radial-gradient(circle at 18% 50%, rgba(69,134,181,0.22), transparent 28%),
        linear-gradient(115deg, #121d34, #361d43) !important;
}
body > .section[style*="background: linear-gradient"] h2 { font-size: clamp(2rem, 5vw, 3.25rem) !important; letter-spacing: -0.045em; }
body > .section[style*="background: linear-gradient"] .btn-light { border-radius: 10px !important; font-size: 0.9rem; }

/* Adaptación */
@media (max-width: 991px) {
    .hero-carousel, .hero-slide { min-height: 570px; }
    .hero-slide-content { padding: 4.5rem 0 5.5rem; }
    .hero-slide h1 { max-width: 680px; }
    .courses-section, .section { padding: 4.75rem 0; }
    .benefits-sidebar { position: static; }
}
@media (max-width: 767px) {
    .hero-carousel, .hero-slide { min-height: 540px; }
    .hero-slide-content { padding: 3.5rem 0 5.5rem; }
    .hero-slide h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
    .hero-slide-desc { font-size: 0.95rem; }
    .hero-slide-meta-item { padding: 0.38rem 0.55rem; font-size: 0.7rem; }
    .hero-slide-price { font-size: 1.5rem; }
    .courses-section { padding: 4.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .course-image { aspect-ratio: 16 / 9; }
    .page-hero { min-height: 330px; padding: 7.75rem 0 7rem; }
    .page-hero h1 i { width: 40px; height: 40px; font-size: 1.1rem; vertical-align: 0.25rem; }
    .login-section, .register-section { margin-top: -4.5rem; padding-bottom: 4.5rem; }
    .login-body, .register-form { padding: 1.5rem; }
    .login-card, .register-card { border-radius: 16px; }
    .benefits-sidebar { padding: 1.5rem; }
    .hero:not(.hero-carousel) { min-height: 500px; padding: 105px 0 80px; }
    .stats-section { margin-top: -34px; }
    .stat-card { padding: 1.4rem 1rem; }
    .section { padding: 4rem 0; }
    .mv-card { padding: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Portada: agenda de cursos en vivo */
.home-live-section {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    background:
        radial-gradient(circle at 8% 4%, rgba(69,134,181,0.10), transparent 26%),
        radial-gradient(circle at 94% 18%, rgba(93,41,115,0.08), transparent 24%),
        #f7f9fc;
}
.home-live-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1200px, 92%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(69,134,181,0.28), rgba(93,41,115,0.22), transparent);
}
.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}
.home-section-heading > div { max-width: 760px; }
.home-section-heading .section-title { margin-top: 0.95rem; }
.home-section-heading .section-subtitle { max-width: 680px; margin: 0; }
.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.46rem 0.72rem;
    border: 1px solid rgba(69,134,181,0.16);
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}
.home-section-kicker--live {
    border-color: rgba(239,68,68,0.16);
    background: #fff1f2;
    color: #be123c;
}
.live-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.10);
    animation: homeLivePulse 1.8s ease-in-out infinite;
}
@keyframes homeLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.home-section-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 9px;
    background: #fff;
    color: var(--gray-800);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.home-section-link:hover { border-color: rgba(69,134,181,0.38); color: var(--primary-dark); transform: translateY(-2px); }
.home-live-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-live-card:hover {
    transform: translateY(-6px);
    border-color: rgba(69,134,181,0.3);
    box-shadow: var(--shadow-md);
}
.home-live-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #14233d, #254f6c 58%, #512b61);
}
.home-live-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.02) 35%, rgba(15,23,42,0.48));
    pointer-events: none;
}
.home-live-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.home-live-card:hover .home-live-media img { transform: scale(1.035); }
.home-live-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,0.32); font-size: 3rem; }
.home-live-label {
    position: absolute;
    z-index: 2;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.62rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(15,23,42,0.72);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.home-live-label .live-pulse { width: 6px; height: 6px; box-shadow: none; }
.home-live-date {
    position: absolute;
    z-index: 2;
    right: 0.85rem;
    bottom: 0.85rem;
    display: flex;
    width: 58px;
    height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 11px;
    background: rgba(255,255,255,0.94);
    color: var(--dark);
    line-height: 1;
    box-shadow: 0 10px 24px rgba(15,23,42,0.18);
    backdrop-filter: blur(10px);
}
.home-live-date strong { margin-bottom: 0.28rem; font-size: 1.35rem; letter-spacing: -0.05em; }
.home-live-date span { color: var(--gray-600); font-size: 0.61rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.home-live-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem 1.4rem 1.15rem; }
.home-live-topic {
    margin-bottom: 0.55rem;
    color: var(--primary-dark);
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.home-live-body h3 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0.65rem;
    color: var(--dark);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -0.018em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-live-body > p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 1.15rem;
    color: var(--gray-600);
    font-size: 0.79rem;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-live-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: auto;
}
.home-live-details span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.42rem;
    overflow: hidden;
    padding: 0.48rem 0.55rem;
    border-radius: 7px;
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 0.67rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-live-details i { flex: 0 0 auto; color: var(--primary); font-size: 0.75rem; }
.home-live-details .is-sold-out { background: #fff1f2; color: #be123c; }
.home-live-details .is-sold-out i { color: #e11d48; }
.home-live-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem 1.25rem;
    border-top: 1px solid var(--gray-100);
}
.home-live-price { display: flex; min-width: 0; flex-direction: column; }
.home-live-price small { margin-bottom: 0.18rem; color: var(--gray-400); font-size: 0.59rem; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; }
.home-live-price strong { color: var(--dark); font-size: 1rem; font-weight: 800; letter-spacing: -0.025em; white-space: nowrap; }
.home-live-price strong span { color: var(--gray-400); font-size: 0.59rem; font-weight: 600; letter-spacing: 0; }
.home-live-price strong.is-free { color: #059669; }
.btn-home-live, .btn-home-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-home-live { padding: 0.68rem 0.8rem; background: var(--dark); color: #fff; }
.btn-home-live:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(69,134,181,0.2); }
.home-live-empty {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.home-live-empty-icon { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--primary-soft); color: var(--primary); font-size: 1.35rem; }
.home-live-empty h3 { margin-bottom: 0.3rem; color: var(--dark); font-size: 1rem; font-weight: 750; }
.home-live-empty p { margin: 0; color: var(--gray-600); font-size: 0.82rem; }
.btn-home-outline { margin-left: auto; padding: 0.72rem 0.9rem; border: 1px solid var(--gray-200); color: var(--primary-dark); }
.btn-home-outline:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.courses-section--async { background: #fff; }
.home-section-heading--async { margin-bottom: 3rem; }

@media (max-width: 991px) {
    .home-live-section { padding: 4.75rem 0; }
    .home-section-heading { align-items: flex-start; }
}
@media (max-width: 767px) {
    .home-live-section { padding: 4.25rem 0; }
    .home-section-heading { flex-direction: column; gap: 1.25rem; margin-bottom: 2.35rem; }
    .home-section-heading .section-title { margin-top: 0.75rem; }
    .home-section-link { width: 100%; justify-content: center; }
    .home-live-details { grid-template-columns: 1fr; }
    .home-live-empty { align-items: flex-start; flex-wrap: wrap; padding: 1.4rem; }
    .home-live-empty > div:nth-child(2) { flex: 1; }
    .btn-home-outline { width: 100%; margin-left: 0; }
    .home-live-footer { padding-inline: 1.2rem; }
}
