/* ===================================================================
   LEGIUM — Premium design system
   Mobile-first, dark elegant theme with emerald accent.
   =================================================================== */

:root {
    --bg: #0a0e14;
    --bg-elev: #11161f;
    --bg-elev-2: #161c27;
    --surface: #1b2230;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f4f6fb;
    --text-muted: #9aa6b8;
    --text-dim: #6b7688;
    --accent: #008f5f;
    --accent-2: #19b884;
    --accent-glow: rgba(0, 143, 95, 0.38);
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --container: 1200px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 20px 60px -20px var(--accent-glow);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Sora', var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; position: relative; min-height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--white); }

a { color: var(--accent-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--container); }

section { position: relative; }

.btn:focus-visible, .form-control:focus-visible, .form-check-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--accent); color: #03130d; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .7rem 1.4rem; transition: all .25s var(--ease); border: 1px solid transparent; }
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.05rem; }

.btn-accent { background: var(--accent); color: #03130d; box-shadow: 0 8px 24px -8px var(--accent-glow); }
.btn-accent:hover { background: var(--accent-2); color: #03130d; transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--accent-glow); }

.btn-outline-light { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.06); color: var(--white); border-color: var(--white); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--white); background: rgba(255,255,255,.05); }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(10, 14, 20, 0.55);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(10, 14, 20, 0.9); border-bottom-color: var(--border); }

.navbar { padding: .9rem 0; }
.navbar-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; color: var(--white); letter-spacing: .06em; }
.brand-mark {
    display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #00633f); color: #03130d; font-weight: 800;
    box-shadow: 0 6px 18px -6px var(--accent-glow);
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; display: block; }
.brand-word { font-size: 1.05rem; }
.navbar-brand:hover { color: var(--white); }

.navbar-nav .nav-link { color: var(--text-muted); font-weight: 500; padding: .5rem .95rem; border-radius: 999px; transition: color .2s var(--ease); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--white); }
.navbar-toggler { border: 1px solid var(--border-strong); color: var(--text); font-size: 1.4rem; padding: .25rem .55rem; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    .navbar-collapse { background: var(--bg-elev); margin-top: .8rem; padding: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }
    .navbar-nav .nav-link { padding: .65rem .5rem; }
}

/* ---------- Layout helpers ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-lead { color: var(--text-muted); font-size: 1.1rem; max-width: 620px; }
.text-muted-2 { color: var(--text-muted); }

.bg-elev { background: var(--bg-elev); }
.bg-grid { background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 28px 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -20% 30% auto -10%; height: 600px;
    background: radial-gradient(circle at 30% 30%, rgba(0,143,95,.22), transparent 60%);
    filter: blur(20px); pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; inset: auto -20% -30% 40%; height: 520px;
    background: radial-gradient(circle at 70% 70%, rgba(52,211,153,.14), transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); max-width: 16ch; }
.hero-lead { color: var(--text-muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 60ch; margin: 1.4rem 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.gradient-text { background: linear-gradient(120deg, #fff 30%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-elev); padding: 1.8rem 1.4rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); }
.stat-num .plus { color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: .92rem; margin-top: .25rem; }

/* ---------- Cards ---------- */
.card-glass {
    background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem;
    height: 100%; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    position: relative; overflow: hidden; display: block; color: var(--text);
}
.card-glass:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); color: var(--text); }

.card-icon {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; font-size: 1.5rem;
    background: rgba(0,143,95,.14); color: var(--accent-2); margin-bottom: 1.2rem;
}
.card-glass h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card-glass p { color: var(--text-muted); margin-bottom: 1rem; }
.card-link { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; color: var(--accent-2); }
.card-link i { transition: transform .25s var(--ease); }
.card-glass:hover .card-link i { transform: translateX(4px); }

.division-tag { font-size: .8rem; color: var(--accent-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-muted); }
.feature-list i { color: var(--accent); margin-top: .2rem; }

/* ---------- Partners grid ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 576px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-tile {
    background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 1.6rem 1rem; text-align: center; cursor: pointer; transition: all .3s var(--ease); width: 100%;
    color: var(--text); display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.partner-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-glow); }
.partner-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--surface); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--accent-2); }
.partner-name { font-weight: 600; color: var(--white); }
.partner-snippet { font-size: .85rem; color: var(--text-muted); }

/* ---------- Modal ---------- */
.modal-content { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.modal-header, .modal-footer { border-color: var(--border); }
.btn-close { filter: invert(1) grayscale(1) brightness(1.6); }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; height: 100%; }
.testimonial-quote { font-size: 1.05rem; color: var(--text); }
.testimonial-stars { color: var(--accent); margin-bottom: .8rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 700; color: var(--accent-2); }
.testimonial-name { color: var(--white); font-weight: 600; }
.testimonial-role { color: var(--text-muted); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, #0c1f18, #0a0e14);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 6vw, 4rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: -50% 30% auto; height: 300px; background: radial-gradient(circle, var(--accent-glow), transparent 65%); }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); position: relative; }
.cta-band p { color: var(--text-muted); position: relative; }

/* ---------- App detail ---------- */
.app-hero { padding: clamp(4rem, 9vw, 7rem) 0 2rem; }
.screenshot-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16/10; display: grid; place-items: center; color: var(--text-dim); }
.benefit-row { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.benefit-num { font-family: var(--font-display); color: var(--accent); font-weight: 800; font-size: 1.4rem; }

/* ---------- Infographic (performance) ---------- */
.info-orbit { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.info-node { text-align: center; padding: 1.4rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); transition: all .3s var(--ease); }
.info-node:hover { border-color: var(--accent); transform: translateY(-4px); }
.info-node .card-icon { margin: 0 auto 1rem; }

/* ---------- Forms ---------- */
.form-control, .form-select {
    background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); padding: .8rem 1rem;
}
.form-control:focus, .form-select:focus { background: var(--bg-elev); border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-control::placeholder { color: var(--text-dim); }
.form-label { color: var(--text-muted); font-weight: 500; margin-bottom: .4rem; }
.form-check-input { background-color: var(--bg-elev); border-color: var(--border-strong); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.text-danger, .field-validation-error { color: #fca5a5 !important; font-size: .88rem; }
.validation-summary-errors ul { color: #fca5a5; }

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.contact-info-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.contact-info-item i { color: var(--accent); font-size: 1.3rem; }
.map-embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { display: block; width: 100%; border: 0; }

.alert-success { background: rgba(0,143,95,.14); border: 1px solid var(--accent); color: var(--accent-2); border-radius: var(--radius-sm); }

/* ---------- Page (legal) ---------- */
.prose { max-width: 820px; color: var(--text-muted); }
.prose h2 { color: var(--white); font-size: 1.4rem; margin: 2rem 0 .8rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-elev); border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; color: var(--white); letter-spacing: .06em; }
.footer-tagline { color: var(--text-muted); margin: 1rem 0 1.3rem; max-width: 36ch; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--text-muted); }
.footer-social a:hover { background: var(--accent); color: #03130d; }
.site-footer h6 { color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer ul a { color: var(--text-muted); }
.site-footer ul a:hover { color: var(--white); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .88rem; text-align: center; }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem;
    box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }

/* ---------- Cookie consent ---------- */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; padding: 1rem; display: flex; justify-content: center; }
.cookie-card {
    width: 100%; max-width: 920px; background: var(--bg-elev-2); border: 1px solid var(--border-strong);
    border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .cookie-card { flex-direction: row; align-items: center; } }
.cookie-body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.cookie-body p { color: var(--text-muted); font-size: .92rem; margin: 0; }
.cookie-options { display: grid; gap: .6rem; margin-top: 1rem; }
.cookie-option { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--text-muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; flex-shrink: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Breadcrumb + page header ---------- */
.crumbs { color: var(--text-dim); font-size: .9rem; margin-bottom: 1rem; }
.crumbs a { color: var(--text-muted); }
.page-header { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: -30% 40% auto -10%; height: 420px; background: radial-gradient(circle, rgba(0,143,95,.16), transparent 60%); }
.page-header .container { position: relative; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 992px) { .admin-shell { grid-template-columns: 260px 1fr; } }
.admin-sidebar { background: var(--bg-elev); border-right: 1px solid var(--border); padding: 1.5rem 1rem; }
.admin-sidebar .nav-link { color: var(--text-muted); border-radius: var(--radius-sm); padding: .6rem .9rem; display: flex; gap: .6rem; align-items: center; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(0,143,95,.14); color: var(--white); }
.admin-main { padding: 2rem; }
.admin-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.kpi { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.kpi .kpi-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); }
.kpi .kpi-label { color: var(--text-muted); font-size: .9rem; }
.table { color: var(--text); }
.table > :not(caption) > * > * { border-color: var(--border); }
.table thead th { color: var(--text-muted); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.badge-soft { background: rgba(0,143,95,.16); color: var(--accent-2); border-radius: 999px; padding: .3rem .7rem; font-size: .78rem; font-weight: 600; }

/* ===================================================================
   LEGIUM ACADEMY — Netflix-style catalogue
   =================================================================== */
.academy-hero, .course-hero {
    padding: clamp(5rem, 11vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}
.academy-hero::before, .course-hero::before {
    content: ""; position: absolute; inset: -30% 30% auto -10%; height: 480px;
    background: radial-gradient(circle, rgba(0,143,95,.18), transparent 62%); z-index: 0;
}
.academy-hero.has-image, .course-hero.has-image {
    background-image: linear-gradient(180deg, rgba(10,14,20,.62) 0%, rgba(10,14,20,.86) 60%, var(--bg) 100%), var(--hero-img);
    background-size: cover; background-position: center;
}
.academy-hero .container, .course-hero .container { position: relative; z-index: 1; }
.academy-hero .hero-lead, .course-hero .hero-lead { color: var(--text-muted); max-width: 640px; font-size: 1.15rem; margin-top: 1rem; }
.academy-hero .hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.academy-catalog { padding-left: clamp(1rem, 5vw, 3rem); padding-right: 0; }
.academy-row { margin-bottom: 2.6rem; }
.academy-row-title { font-size: 1.35rem; margin-bottom: 1rem; }
.academy-track {
    display: flex; gap: 1.1rem; overflow-x: auto; padding-bottom: 1rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.academy-track::-webkit-scrollbar { height: 8px; }
.academy-track::-webkit-scrollbar-thumb { background: rgba(0,143,95,.5); border-radius: 999px; }

.course-card {
    flex: 0 0 290px; scroll-snap-align: start; background: var(--bg-elev);
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; color: var(--text);
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.course-card:hover { transform: translateY(-6px) scale(1.015); border-color: var(--accent); box-shadow: var(--shadow-glow); color: var(--text); }
.course-card-media { position: relative; aspect-ratio: 16/10; background: var(--bg-elev-2); overflow: hidden; }
.course-card-media img { width: 100%; height: 100%; object-fit: cover; }
.course-card-fallback { display: grid; place-items: center; height: 100%; font-size: 2.4rem; color: var(--accent-2); }
.course-badge { position: absolute; top: .7rem; left: .7rem; background: rgba(0,0,0,.6); color: var(--white); border-radius: 999px; padding: .25rem .7rem; font-size: .72rem; font-weight: 600; backdrop-filter: blur(6px); }
.course-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.course-card-body h3 { font-size: 1.08rem; margin: 0; }
.course-card-body p { color: var(--text-muted); font-size: .9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: auto; color: var(--text-dim); font-size: .82rem; }
.course-meta i { color: var(--accent-2); }

/* Trainers */
.trainer-card { display: flex; gap: 1rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; height: 100%; }
.trainer-photo { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--bg-elev-2); display: grid; place-items: center; font-size: 1.8rem; color: var(--accent-2); }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; }
.trainer-card h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.trainer-titles { color: var(--accent-2); font-size: .85rem; font-weight: 600; margin: 0 0 .5rem; }

/* Course detail */
.course-facts { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; color: var(--text-muted); }
.course-facts i { color: var(--accent-2); margin-right: .35rem; }
.course-video video { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: #000; }
.modules-list { display: flex; flex-direction: column; gap: .8rem; }
.module-item { display: flex; gap: 1rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.module-num { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,143,95,.16); color: var(--accent-2); display: grid; place-items: center; font-weight: 700; }
.module-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.module-head h3 { font-size: 1.05rem; margin: 0; }
.module-dur { color: var(--text-dim); font-size: .82rem; white-space: nowrap; }
.module-content p { color: var(--text-muted); margin: .4rem 0 0; }

.course-aside { position: sticky; top: 100px; }
.course-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.course-aside-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .6rem; }
.course-aside-list li { color: var(--text-muted); display: flex; gap: .6rem; align-items: center; }
.course-aside-list i { color: var(--accent-2); }

/* Enroll FAB */
.enroll-fab {
    position: fixed; left: 1.3rem; bottom: 1.3rem; z-index: 60;
    background: var(--accent); color: var(--white); border-radius: 999px;
    padding: .85rem 1.4rem; font-weight: 700; display: inline-flex; gap: .5rem; align-items: center;
    box-shadow: var(--shadow-glow); transition: transform .25s var(--ease), background .25s var(--ease);
}
.enroll-fab:hover { transform: translateY(-3px); background: var(--accent-2); color: var(--white); }
@media (min-width: 992px) { .enroll-fab { display: none; } }

.footer-copy-email { cursor: pointer; word-break: break-word; }
.footer-copy-email.copied { color: var(--accent-2); }

.academy-banner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    background: linear-gradient(135deg, rgba(0,143,95,.16), rgba(25,184,132,.06));
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
}
.academy-banner::before {
    content: ""; position: absolute; inset: auto -10% -60% auto; width: 420px; height: 420px;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%); pointer-events: none;
}
.academy-banner-body { position: relative; z-index: 1; max-width: 640px; }
.academy-banner-body .section-title { margin: .5rem 0 1rem; }
.academy-banner-body p { color: var(--text-muted); margin-bottom: 1.5rem; }
.academy-banner-icon { position: relative; z-index: 1; font-size: clamp(4rem, 10vw, 7rem); color: var(--accent-2); flex: 0 0 auto; }
@media (max-width: 767px) { .academy-banner-icon { display: none; } }