/* ==========================================================================
   Portal public website (resources/views/site/*) — customer portals only.
   Colours come from the brand (--lms-primary* via partials.theme-head) and
   the site's own tokens set in site/layout (--site-accent, --site-head,
   --site-body). Nothing here is used by hipaaauditors.com.
   ========================================================================== */

:root {
    --ink: #0f172a;
    --body: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --card: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .05);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
    --container: 1200px;
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body.site {
    margin: 0;
    font-family: var(--site-body), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.site h1, .site h2, .site h3, .site h4 {
    font-family: var(--site-head), system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}
.site p { margin: 0 0 1em; }
.site a { color: var(--lms-primary); text-decoration: none; }
.site a:hover { color: var(--lms-primary-dark); }
.site img { max-width: 100%; height: auto; display: block; }
.site :focus-visible { outline: 3px solid var(--site-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 15px/1 var(--site-body), system-ui, sans-serif;
    padding: 13px 22px; border-radius: 12px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s, color .15s, border-color .15s;
    white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.site .btn-primary { background: var(--lms-primary); color: var(--lms-on-primary); box-shadow: 0 8px 20px -8px rgba(var(--lms-primary-rgb), .65); }
.site .btn-primary:hover { background: var(--lms-primary-dark); color: var(--lms-on-primary); }
.site .btn-accent { background: var(--site-accent); color: var(--site-on-accent); box-shadow: 0 8px 20px -8px var(--site-accent); }
.site .btn-accent:hover { filter: brightness(.94); color: var(--site-on-accent); }
.site .btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.site .btn-outline:hover { border-color: var(--lms-primary); color: var(--lms-primary); }
.site .btn-ghost { background: transparent; color: var(--ink); }
.site .btn-ghost:hover { background: var(--soft); color: var(--ink); }
.site .btn-light { background: #fff; color: var(--lms-primary-deep); }
.site .btn-light:hover { color: var(--lms-primary-deep); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.site .btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.site .btn-glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ── Admin preview bar + announcement ─────────────────────────────── */
.admin-bar { background: #0b1220; color: #cbd5e1; font-size: 13px; }
.admin-bar .container { display: flex; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.admin-bar strong { color: #fff; }
.admin-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.admin-bar .dot.off { background: #f59e0b; }
.admin-bar a { color: #fff; font-weight: 600; margin-left: auto; }
.admin-bar a + a { margin-left: 14px; }
.site-announce { background: var(--lms-primary-deep); color: #fff; font-size: 14px; text-align: center; }
.site-announce .container { padding-top: 9px; padding-bottom: 9px; }
.site-announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,23,42,.4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 12px; color: var(--ink) !important; font: 800 18px/1.15 var(--site-head), sans-serif; letter-spacing: -.02em; min-width: 0; }
.site-logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex: none; }
.site-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.site-nav > a { color: var(--body); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.site-nav > a:hover { color: var(--ink); background: var(--soft); }
.site-nav > a[aria-current="page"] { color: var(--lms-primary); background: var(--lms-primary-50); font-weight: 600; }
.site-nav .nav-mobile-actions { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s; content: ''; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .header-actions { display: none; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(15,23,42,.35);
        padding: 12px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .nav-open .site-nav { display: flex; }
    .site-nav > a { padding: 13px 14px; font-size: 16px; }
    .site-nav .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
    .site-nav .nav-mobile-actions .btn:only-child { grid-column: 1 / -1; }
}

/* ── Sections ──────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--soft); }
.section-tint { background: linear-gradient(180deg, var(--lms-primary-50), #fff); }
@media (max-width: 767px) { .section { padding: 64px 0; } }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head-row .section-head { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--site-body), sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--site-accent); margin-bottom: 14px; }
.kicker::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .15s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero--dark { background: linear-gradient(135deg, var(--lms-primary-deep) 0%, var(--lms-primary-800) 45%, var(--lms-primary) 120%); color: rgba(255,255,255,.86); }
.hero--light { background: linear-gradient(160deg, var(--lms-primary-50) 0%, #fff 60%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero--dark .hero-bg {
    background-image:
        radial-gradient(600px 400px at 85% 10%, rgba(255,255,255,.14), transparent 60%),
        radial-gradient(500px 360px at 0% 100%, color-mix(in srgb, var(--site-accent) 35%, transparent), transparent 70%),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px, 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
            mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero--light .hero-bg {
    background-image:
        radial-gradient(520px 380px at 90% 0%, rgba(var(--lms-primary-rgb), .14), transparent 65%),
        linear-gradient(rgba(var(--lms-primary-rgb), .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--lms-primary-rgb), .06) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
            mask-image: linear-gradient(180deg, #000 50%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 20px; }
.hero--dark h1 { color: #fff; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 560px; margin-bottom: 32px; }
.hero--light .lead { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 22px; }
.hero--dark .eyebrow { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.hero--light .eyebrow { background: #fff; color: var(--lms-primary); border: 1px solid var(--lms-primary-200); box-shadow: var(--shadow-sm); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--site-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-accent) 30%, transparent); }
.hero--dark .eyebrow::before { background: color-mix(in srgb, var(--site-accent) 45%, #fff); box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--site-accent); }
.hero--dark .hero-trust i { color: #fff; opacity: .9; }

.hero-visual { position: relative; min-height: 440px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-visual .hero-photo + .float-chip { left: -18px; bottom: 32px; }
.collage { position: absolute; inset: 0; }
.collage .mini-card { position: absolute; width: 62%; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); color: var(--ink); transition: transform .4s var(--ease); }
.collage .mini-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.collage .mini-card .mc-body { padding: 14px 16px 16px; }
.collage .mini-card .mc-title { font: 700 15px/1.3 var(--site-head), sans-serif; margin: 0 0 6px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.collage .mini-card .mc-meta { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.collage .mini-card .mc-meta strong { color: var(--lms-primary); }
.collage div.mini-card:not(:last-of-type) .mc-body { display: none; }
.collage .mc-1 { top: 2%; left: 0; width: 56%; transform: rotate(-6deg); z-index: 1; opacity: .92; }
.collage .mc-2 { top: 10%; right: 0; width: 56%; transform: rotate(5deg); z-index: 2; opacity: .96; }
.collage .mc-3 { bottom: 0; left: 16%; width: 66%; transform: rotate(-1deg); z-index: 3; }
.hero-visual:hover .mc-1 { transform: rotate(-7deg) translate(-6px, -4px); }
.hero-visual:hover .mc-2 { transform: rotate(6deg) translate(6px, -2px); }
.collage.count-1 .mc-1 { top: 12%; left: 12%; width: 76%; transform: rotate(-2deg); opacity: 1; }
.collage.count-2 .mc-1 { top: 4%; }
.collage.count-2 .mc-2 { top: auto; bottom: 4%; width: 66%; }
.float-chip { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px 10px 10px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.float-chip i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--lms-primary-50); color: var(--lms-primary); font-size: 14px; }
.float-chip small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.float-chip.chip-a { left: -14px; bottom: 22%; animation: floaty 6s ease-in-out infinite; }
.float-chip.chip-b { right: -8px; top: 2%; animation: floaty 7s ease-in-out -2s infinite; }
.float-chip.chip-b i { background: color-mix(in srgb, var(--site-accent) 14%, #fff); color: var(--site-accent); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.brand-tile { position: absolute; inset: 8% 10%; border-radius: 32px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.hero--light .brand-tile { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.brand-tile img { width: 44%; border-radius: 24px; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
    .hero-visual { min-height: 0; max-width: 460px; width: 100%; margin: 0 auto; }
    .collage { position: relative; height: 0; padding-bottom: 80%; }
    .collage.count-3 .mc-1 { display: none; }
    .collage.count-3 .mc-2 { top: 0; right: 2%; width: 64%; }
    .collage.count-3 .mc-3 { left: 2%; width: 74%; }
    .float-chip.chip-a { display: none; }
    .float-chip.chip-b { left: 0; right: auto; top: 6%; bottom: auto; }
}
@media (max-width: 520px) {
    .float-chip { font-size: 12px; }
    .float-chip small { display: none; }
    .hero-ctas .btn { flex: 1 1 100%; }
}

/* ── Stats band ────────────────────────────────────────────────────── */
.stats-band { position: relative; z-index: 2; margin-top: -48px; }
.stats-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font: 800 clamp(28px, 3vw, 38px)/1 var(--site-head), sans-serif; color: var(--ink); letter-spacing: -.03em; }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 680px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── Feature cards ─────────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--lms-primary); background: var(--lms-primary-50); margin-bottom: 20px; }
.feature:nth-child(3n+2) .feature-icon { color: var(--site-accent); background: color-mix(in srgb, var(--site-accent) 12%, #fff); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ── Course cards ──────────────────────────────────────────────────── */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1024px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.course-card > a.cover-link { display: block; position: relative; }
.course-cover { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--lms-primary-50); }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; justify-content: space-between; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .01em; line-height: 1; }
.badge-free { background: #dcfce7; color: #166534; }
.badge-draft { background: #fef3c7; color: #92400e; margin-left: auto; }
.badge-soft { background: var(--lms-primary-50); color: var(--lms-primary); }
.course-body { padding: 20px 22px 8px; flex: 1; }
.course-track { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--site-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.course-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.course-card h3 a { color: var(--ink); }
.course-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.course-card h3 a:hover { color: var(--lms-primary); }
.course-desc { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 14px 22px 0; font-size: 13.5px; color: var(--muted); }
.course-meta i { color: var(--lms-primary-400); margin-right: 5px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px 20px; margin-top: 14px; border-top: 1px solid var(--line); }
.price { font: 800 20px/1 var(--site-head), sans-serif; color: var(--ink); letter-spacing: -.02em; }
.price.is-free { color: #15803d; }
.course-foot .go { font-weight: 600; font-size: 14px; color: var(--lms-primary); display: inline-flex; align-items: center; gap: 6px; }
.course-card:hover .go i { transform: translateX(3px); }
.course-foot .go i { transition: transform .15s var(--ease); }

/* ── Topics ────────────────────────────────────────────────────────── */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.topic { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.topic-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; flex: none; background: var(--topic, var(--lms-primary)); }
.topic strong { display: block; font: 700 16px/1.3 var(--site-head), sans-serif; }
.topic span { font-size: 13.5px; color: var(--muted); }
.topic .fa-arrow-right { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ── Steps ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--lms-primary-200) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--site-head), sans-serif; color: var(--lms-on-primary); background: var(--lms-primary); box-shadow: 0 0 0 8px #fff, 0 10px 24px -8px rgba(var(--lms-primary-rgb), .7); position: relative; }
.section-soft .step-num { box-shadow: 0 0 0 8px var(--soft), 0 10px 24px -8px rgba(var(--lms-primary-rgb), .7); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr 1fr; }
    .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; text-align: left; } .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; } .step-num { grid-row: span 2; margin: 0; } }

/* ── About split ───────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media .media-panel { border-radius: 24px; aspect-ratio: 5 / 4; background: linear-gradient(135deg, var(--lms-primary-deep), var(--lms-primary)); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.media-panel::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; }
.media-panel .mp-logo { position: relative; width: 120px; height: 120px; border-radius: 28px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.media-panel .mp-logo img { width: 84px; height: 84px; object-fit: contain; border-radius: 16px; }
.media-panel .mp-motto { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-weight: 600; letter-spacing: .06em; font-size: 13px; text-transform: uppercase; }
.split-media .float-chip { right: -16px; left: auto; bottom: 28px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist li::before { content: '\f00c'; font: 900 11px/1 'Font Awesome 6 Free'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; background: var(--lms-primary-50); color: var(--lms-primary); }
.prose { font-size: 17px; }
.prose p { color: var(--body); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split-media { order: -1; } .split-media .float-chip { right: 12px; } }

/* ── Testimonials ──────────────────────────────────────────────────── */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 20px; }
.quote-card .fa-quote-left { font-size: 26px; color: var(--lms-primary-200); }
.quote-card blockquote { margin: 0; font-size: 16.5px; color: var(--ink); line-height: 1.7; flex: 1; }
.quote-person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--site-head), sans-serif; color: var(--lms-on-primary); background: var(--lms-primary); flex: none; }
.quote-card:nth-child(3n+2) .avatar { background: var(--site-accent); color: var(--site-on-accent); }
.quote-person strong { display: block; color: var(--ink); font-size: 15px; }
.quote-person span { font-size: 13.5px; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 600 17px/1.4 var(--site-head), sans-serif; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\2b'; font: 900 14px/1 'Font Awesome 6 Free'; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--lms-primary); flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lms-primary-50); }
.faq .faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }

/* ── CTA band ──────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center; color: rgba(255,255,255,.88); background: linear-gradient(120deg, var(--lms-primary-deep), var(--lms-primary)); isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 260px at 100% 0%, color-mix(in srgb, var(--site-accent) 45%, transparent), transparent 70%), radial-gradient(360px 260px at 0% 100%, rgba(255,255,255,.12), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.cta-band p { font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 48px 24px; border-radius: 22px; } }

/* ── Page header (inner pages) ─────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--lms-primary-deep), var(--lms-primary-800) 60%, var(--lms-primary) 130%); color: rgba(255,255,255,.85); padding: 64px 0 72px; }
.page-hero .hero-bg { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.03em; margin-bottom: 14px; }
.page-hero .lead { font-size: 18px; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 18px; color: rgba(255,255,255,.7); list-style: none; padding: 0; }
.crumbs a { color: rgba(255,255,255,.9); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ── Catalogue ─────────────────────────────────────────────────────── */
.catalog-search { margin-top: 28px; max-width: 640px; position: relative; }
.catalog-search input { width: 100%; height: 58px; border-radius: 16px; border: 0; padding: 0 130px 0 52px; font: 500 16px var(--site-body), sans-serif; color: var(--ink); box-shadow: var(--shadow-lg); }
.catalog-search input:focus { outline: 3px solid color-mix(in srgb, var(--site-accent) 60%, transparent); }
.catalog-search > i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog-search .btn { position: absolute; right: 7px; top: 7px; height: 44px; padding: 0 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--body) !important; font-size: 14px; font-weight: 500; transition: all .15s; }
.chip:hover { border-color: var(--lms-primary-300); color: var(--lms-primary) !important; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.chip .count { font-size: 12px; opacity: .65; }
.filter-selects { display: flex; gap: 10px; flex-wrap: wrap; }
.select { appearance: none; -webkit-appearance: none; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 0 38px 0 14px; font: 500 14px var(--site-body), sans-serif; color: var(--ink); cursor: pointer; }
.results-line { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.results-line a { font-weight: 600; margin-left: 8px; }
.empty-state { text-align: center; padding: 72px 24px; border: 1.5px dashed var(--line); border-radius: 24px; background: var(--soft); }
.empty-state .es-icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px; display: grid; place-items: center; font-size: 28px; background: #fff; color: var(--lms-primary); box-shadow: var(--shadow-sm); }
.empty-state h3 { font-size: 22px; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; color: var(--body); background: #fff; }
.pager a:hover { border-color: var(--lms-primary); color: var(--lms-primary); }
.pager .is-current { background: var(--lms-primary); color: var(--lms-on-primary); border-color: var(--lms-primary); }
.pager .is-disabled { opacity: .45; }

/* ── Course page ───────────────────────────────────────────────────── */
.course-hero { padding: 56px 0 64px; }
.course-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.course-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.course-hero .lead { font-size: 18.5px; max-width: 720px; margin-bottom: 24px; }
.course-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.pill-accent { background: var(--site-accent); color: var(--site-on-accent); border-color: transparent; }
.pill-draft { background: #fef3c7; color: #92400e; border-color: transparent; }
.course-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.9); }
.course-facts i { opacity: .8; margin-right: 7px; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.course-main { min-width: 0; }
.buy-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); margin-top: -260px; color: var(--body); }
.buy-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.buy-body { padding: 24px; }
.buy-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.buy-price .price { font-size: 34px; }
.buy-price small { color: var(--muted); font-size: 14px; }
.buy-body .btn + .btn { margin-top: 10px; }
.buy-includes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; font-size: 14.5px; }
.buy-includes li { display: flex; gap: 12px; align-items: center; color: var(--body); }
.buy-includes i { width: 18px; text-align: center; color: var(--lms-primary); }
.buy-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.block { margin-bottom: 52px; }
.block > h2 { font-size: 26px; margin-bottom: 18px; }
.rich { font-size: 16.5px; color: var(--body); overflow-wrap: anywhere; }
.rich h2, .rich h3 { margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .4em; }
.rich img { border-radius: 12px; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; background: var(--soft); list-style: none; margin: 0; }
.outcomes li { display: flex; gap: 12px; color: var(--ink); font-weight: 500; font-size: 15.5px; }
.outcomes li i { color: #16a34a; margin-top: 5px; }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
.curriculum-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.curriculum-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.curriculum-head button { background: none; border: 0; color: var(--lms-primary); font-weight: 600; cursor: pointer; font-size: 14px; padding: 4px; }
.module { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.module summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.module summary::-webkit-details-marker { display: none; }
.module .m-num { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--lms-primary-50); color: var(--lms-primary); font-weight: 800; font-size: 14px; }
.module .m-title { flex: 1; min-width: 0; font: 700 16px/1.35 var(--site-head), sans-serif; color: var(--ink); }
.module .m-meta { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.module summary::after { content: '\f078'; font: 900 12px/1 'Font Awesome 6 Free'; color: var(--muted); transition: transform .2s var(--ease); }
.module[open] summary::after { transform: rotate(180deg); }
.module[open] summary { border-bottom: 1px solid var(--line); background: var(--soft); }
.lessons { list-style: none; margin: 0; padding: 6px 0; }
.lessons li { display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 68px; font-size: 15px; color: var(--body); }
.lessons li i.l-type { width: 16px; color: var(--muted); text-align: center; }
.lessons li .l-title { flex: 1; min-width: 0; }
.lessons li .l-dur { font-size: 13px; color: var(--muted); white-space: nowrap; }
.lessons li a.l-preview { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lms-primary-50); color: var(--lms-primary); white-space: nowrap; position: relative; z-index: 1; }
.lessons li a.l-preview:hover { background: var(--lms-primary); color: var(--lms-on-primary); }
.lessons li.is-quiz i.l-type { color: #d97706; }
@media (max-width: 640px) {
    .lessons li { padding-left: 20px; }
    .module .m-meta { display: none; }
}
.cert-panel { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, var(--lms-primary-50), #fff); border: 1px solid var(--lms-primary-200); }
.cert-panel .cert-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; color: var(--lms-on-primary); background: var(--lms-primary); box-shadow: 0 12px 24px -10px rgba(var(--lms-primary-rgb), .7); }
.cert-panel h3 { font-size: 19px; margin-bottom: 4px; }
.cert-panel p { margin: 0; color: var(--muted); font-size: 15px; }
.prereq-list { display: grid; gap: 10px; }
.prereq-list a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.prereq-list a:hover { border-color: var(--lms-primary); color: var(--lms-primary); }
@media (max-width: 1024px) {
    .course-hero-grid, .course-layout { grid-template-columns: 1fr; }
    .buy-card { position: static; margin-top: 0; max-width: 560px; }
    .course-layout .buy-card { order: -1; }
}
.mobile-buy { display: none; }
@media (max-width: 1024px) {
    .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: 16px; box-shadow: 0 -10px 30px -18px rgba(15,23,42,.4); transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility .25s; }
    .mobile-buy.is-visible { transform: none; visibility: visible; }
    .mobile-buy .price { font-size: 20px; }
    .mobile-buy .btn { margin-left: auto; }
}

/* ── Lesson preview ────────────────────────────────────────────────── */
.preview-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 88px; }
.preview-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: var(--lms-primary-50); border: 1px solid var(--lms-primary-200); margin-bottom: 28px; flex-wrap: wrap; }
.preview-banner i { color: var(--lms-primary); font-size: 20px; }
.preview-banner div { flex: 1; min-width: 200px; font-size: 15px; color: var(--ink); }
.preview-banner small { display: block; color: var(--muted); }
.lesson-paper { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 44px 48px; box-shadow: var(--shadow-sm); }
.lesson-paper > h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.lesson-paper .l-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.lesson-paper .content { font-size: 16px; line-height: 1.85; color: #334155; }
.lesson-paper .content h2 { font-size: 23px; margin: 30px 0 12px; }
.lesson-paper .content h3 { font-size: 19px; margin: 24px 0 10px; }
.lesson-paper .content p { margin-bottom: 16px; }
.lesson-paper .content ul, .lesson-paper .content ol { margin-bottom: 16px; padding-left: 24px; }
.lesson-paper .content li { margin-bottom: 6px; }
.lesson-paper .content blockquote { border-left: 4px solid var(--lms-primary); padding: 12px 20px; margin: 16px 0; background: var(--lms-primary-light); border-radius: 0 8px 8px 0; font-style: italic; color: var(--lms-primary-dark); }
.lesson-paper .content code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.lesson-paper .content pre { background: #1e293b; color: #e2e8f0; padding: 16px 20px; border-radius: 10px; overflow-x: auto; margin: 16px 0; }
.lesson-paper .content table { width: 100%; border-collapse: collapse; margin: 16px 0; display: block; overflow-x: auto; }
.lesson-paper .content th, .lesson-paper .content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; font-size: 14px; }
.lesson-paper .content th { background: var(--soft); font-weight: 600; }
.lesson-paper .content img { max-width: 100%; border-radius: 10px; margin: 16px 0; }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 16px; overflow: hidden; margin-bottom: 28px; background: #0f172a; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.unlock-card { margin-top: 32px; border-radius: 22px; padding: 36px; text-align: center; background: linear-gradient(135deg, var(--lms-primary-deep), var(--lms-primary)); color: rgba(255,255,255,.88); }
.unlock-card h2 { color: #fff; font-size: 26px; }
.unlock-card p { max-width: 520px; margin: 0 auto 22px; }
.side-outline { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.side-outline header { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.side-outline header strong { display: block; color: var(--ink); font: 700 15.5px/1.35 var(--site-head), sans-serif; }
.side-outline header span { font-size: 13px; color: var(--muted); }
.side-outline ol { list-style: none; margin: 0; padding: 8px 0; max-height: 60vh; overflow-y: auto; }
.side-outline .so-module { padding: 10px 20px 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.side-outline .so-lesson { display: flex; gap: 10px; align-items: center; padding: 8px 20px; font-size: 14px; color: var(--body); }
.side-outline .so-lesson i { width: 14px; font-size: 12px; color: #cbd5e1; }
.side-outline .so-lesson a { color: var(--lms-primary); font-weight: 600; }
.side-outline .so-lesson.is-current { background: var(--lms-primary-50); }
.side-outline .so-lesson.is-current i, .side-outline .so-lesson.is-open i { color: var(--lms-primary); }
.side-outline footer { padding: 16px 20px; border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .preview-layout { grid-template-columns: 1fr; } .side-outline { position: static; } }
@media (max-width: 640px) { .lesson-paper { padding: 28px 20px; border-radius: 18px; } }

/* ── Contact ───────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; margin-top: -40px; position: relative; z-index: 2; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.contact-card .cc-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; flex: none; color: var(--lms-primary); background: var(--lms-primary-50); }
.contact-card .cc-icon.wa { color: #fff; background: #25d366; }
.contact-card h3 { font-size: 15px; margin: 0 0 3px; }
.contact-card p, .contact-card a { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.contact-card p { color: var(--muted); white-space: pre-line; }
.contact-card .small-link { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); padding: 13px 15px; font: 400 15.5px var(--site-body), sans-serif; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lms-primary); background: #fff; box-shadow: 0 0 0 4px rgba(var(--lms-primary-rgb), .14); }
.field .is-invalid { border-color: #dc2626; background: #fff; }
.field .err { color: #dc2626; font-size: 13.5px; margin-top: 6px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 320px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; font-size: 15px; margin-bottom: 22px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.success-state { text-align: center; padding: 28px 8px 8px; }
.success-state .ok { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-size: 32px; color: #fff; background: #16a34a; box-shadow: 0 0 0 10px #dcfce7; }
.success-state h2 { margin-bottom: 8px; }
.success-state p { color: var(--muted); max-width: 400px; margin: 0 auto 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; margin-top: -32px; } .form-card { padding: 26px 20px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ── About page ────────────────────────────────────────────────────── */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { border-radius: 22px; padding: 34px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lms-primary); }
.mv-card + .mv-card::before { background: var(--site-accent); }
.mv-card h3 { font-size: 21px; display: flex; align-items: center; gap: 12px; }
.mv-card h3 i { color: var(--lms-primary); }
.mv-card + .mv-card h3 i { color: var(--site-accent); }
.mv-card p { margin: 0; color: var(--muted); font-size: 16px; white-space: pre-line; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { background: #0b1220; color: #94a3b8; padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--site-body), sans-serif; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-brand .site-logo { color: #fff !important; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #e2e8f0; transition: background .15s, transform .15s; }
.socials a:hover { background: var(--lms-primary); color: var(--lms-on-primary); transform: translateY(-2px); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { width: 16px; margin-top: 5px; color: var(--lms-primary-300); }
.footer-contact span { white-space: pre-line; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 56px; } }
@media (max-width: 1024px) { body.has-mobile-buy .site-footer { padding-bottom: 76px; } }

/* ── Motion ────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .admin-bar, .mobile-buy, .site-announce { display: none !important; } }

/* Contact: quick answers */
.contact-card.faq-card { display: block; }
.faq-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px !important; }
.faq-card ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.faq-card li a { font-size: 14.5px; color: var(--body); display: flex; gap: 8px; }
.faq-card li a:hover { color: var(--lms-primary); }
.faq-card li i { color: var(--lms-primary-300); margin-top: 6px; font-size: 10px; }
