/* =====================================================================
   CLMS International — portal design system (on top of Bootstrap 5.3)
   Midnight navy + brass gold on warm ivory · Plus Jakarta Sans + Fraunces
   ===================================================================== */
:root {
  --ink: #0a1628;
  --midnight: #0e2140;
  --navy: #163463;
  --royal: #2456a6;
  --gold: #c9a24b;
  --gold-2: #e8cd87;
  --gold-soft: #f7efdc;
  --ivory: #f6f4ef;
  --paper: #ffffff;
  --text: #1a2233;
  --muted: #667085;
  --line: #e6e2d8;
  --line-2: #eeebe4;
  --success: #12a37c;
  --danger: #d64545;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .05);
  --shadow: 0 1px 2px rgba(10, 22, 40, .04), 0 12px 32px -16px rgba(10, 22, 40, .18);
  --shadow-lg: 0 24px 60px -24px rgba(10, 22, 40, .35);
  --font-ui: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --bs-body-font-family: var(--font-ui);
  --bs-body-color: var(--text);
  --bs-primary: #163463;
  --bs-primary-rgb: 22, 52, 99;
  --bs-link-color: #2456a6;
  --bs-link-color-rgb: 36, 86, 166;
  --bs-link-hover-color: #0e2140;
  --bs-border-color: var(--line);
  --bs-border-radius: 10px;
}
html { scroll-behavior: smooth; }
body { background: var(--ivory); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, .font-display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.h5, .h6, h5, h6 { font-family: var(--font-ui); letter-spacing: 0; }
::selection { background: var(--gold-2); color: var(--ink); }

/* ---------- buttons & badges */
.btn { font-weight: 600; border-radius: 10px; letter-spacing: .01em; }
.btn-lg { border-radius: 12px; }
.btn-primary { --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy); --bs-btn-hover-bg: var(--midnight); --bs-btn-hover-border-color: var(--midnight); --bs-btn-active-bg: var(--ink); --bs-btn-disabled-bg: #8793a6; --bs-btn-disabled-border-color: #8793a6;
  background-image: linear-gradient(135deg, var(--royal) 0%, var(--navy) 55%, var(--midnight) 100%); border: 0; box-shadow: 0 6px 16px -8px rgba(22, 52, 99, .7); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline-primary { --bs-btn-color: var(--navy); --bs-btn-border-color: #b9c3d6; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy); --bs-btn-active-bg: var(--midnight); background: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border: 0; color: var(--ink); box-shadow: 0 6px 18px -8px rgba(201, 162, 75, .9); }
.btn-gold:hover { color: var(--ink); filter: brightness(1.05); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { color: var(--ink); background: #fff; }
.badge { font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .38em .7em; }
.badge-gold { background: var(--gold-soft); color: #8a6516; border: 1px solid #ecdcb2; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.bg-navy { background: var(--midnight) !important; color: #fff; }
.small-muted { font-size: .84rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: var(--gold); }

/* ---------- cards & forms */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
.card-header { background: transparent; border-bottom: 1px solid var(--line-2); font-weight: 700; padding: 14px 18px; color: var(--midnight); }
.card-body { padding: 18px; }
.form-control, .form-select { border-radius: 10px; border-color: #dcd8cd; padding: .55rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(36, 86, 166, .12); }
.form-label { font-weight: 600; font-size: .9rem; color: #2b3445; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.alert { border-radius: 14px; border-width: 1px; }
.table > :not(caption) > * > * { vertical-align: middle; padding: .7rem .75rem; }
.table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; background: #faf9f6 !important; }
.list-group-item { border-color: var(--line-2); }
.accordion-button:not(.collapsed) { background: var(--gold-soft); color: var(--midnight); }
.accordion-item { border-color: var(--line); }
.urdu, [lang="ur"] { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; line-height: 2.2; }
input.urdu, textarea.urdu { line-height: 1.9; }
.avatar { border-radius: 50%; object-fit: cover; display: inline-block; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.avatar-txt { background: linear-gradient(135deg, var(--gold-soft), #efe2bf); color: var(--midnight); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.avatar-trainer { background: linear-gradient(135deg, var(--navy), var(--midnight)); color: var(--gold-2); }
.pagination .page-link { border-radius: 8px !important; margin: 0 2px; color: var(--navy); border-color: var(--line); }
.pagination .active > .page-link { background: var(--navy); border-color: var(--navy); }

/* ---------- public site */
.site-nav { background: rgba(10, 22, 40, .96); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid rgba(232, 205, 135, .15); }
.site-nav .navbar-brand { color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; line-height: 1.05; }
.site-nav .navbar-brand small { display: block; font-family: var(--font-ui); font-weight: 500; color: var(--gold-2); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.site-nav .nav-link { color: rgba(255, 255, 255, .78); font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); font-size: .9rem; }
.site-footer a { color: var(--gold-2); }
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(232, 205, 135, .22), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(36, 86, 166, .45), transparent 60%), linear-gradient(135deg, var(--ink), var(--navy)); color: #fff; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.08; }
.hero .lead { color: rgba(255, 255, 255, .8); }
.hero-tile { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 18px; backdrop-filter: blur(6px); }
.course-card { transition: transform .2s ease, box-shadow .2s ease; height: 100%; overflow: hidden; border-radius: var(--radius); }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.course-card .cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; display: block; }
.cover-ph { aspect-ratio: 16/10; background: radial-gradient(400px 200px at 80% 0%, rgba(232, 205, 135, .35), transparent 60%), linear-gradient(135deg, var(--navy), var(--ink)); color: var(--gold-2); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.price { font-weight: 800; color: var(--midnight); }
.price-free { color: var(--success); font-weight: 800; letter-spacing: .02em; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .85rem; }
.auth-card { max-width: 470px; margin: 48px auto; }
.auth-card .card-body { padding: 32px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

/* ---------- student portal header (wireframe: Dashboard · brand · Logout · menu) */
.portal-header { background: radial-gradient(900px 300px at 50% -40%, rgba(232, 205, 135, .28), transparent 60%), radial-gradient(700px 300px at 0% 120%, rgba(36, 86, 166, .45), transparent 60%), linear-gradient(160deg, var(--ink), var(--navy)); color: #fff; }
.portal-header .ph-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.btn-dashboard { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 8px 18px 8px 12px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 22px -10px rgba(201, 162, 75, 1); border: 0; }
.btn-dashboard:hover { color: var(--ink); text-decoration: none; filter: brightness(1.06); transform: translateY(-1px); }
.btn-dashboard .ico { width: 28px; height: 28px; border-radius: 50%; background: rgba(10, 22, 40, .12); display: inline-flex; align-items: center; justify-content: center; }
.ph-right { display: flex; align-items: center; gap: 10px; }
.ph-bell { position: relative; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); }
.ph-bell:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.ph-bell .dot { position: absolute; top: -3px; right: -3px; background: var(--gold); color: var(--ink); font-size: .65rem; font-weight: 800; border-radius: 999px; padding: 1px 6px; border: 2px solid var(--midnight); }
.btn-logout { border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-weight: 700; padding: 7px 20px; border-radius: 999px; background: transparent; }
.btn-logout:hover { background: #fff; color: var(--ink); }
.portal-header .brand { text-align: center; padding: 22px 0 26px; }
.portal-header .brand h1 { font-weight: 700; letter-spacing: .08em; color: #fff; margin: 0; font-size: clamp(1.6rem, 4.4vw, 2.9rem); }
.portal-header .brand .sub { color: var(--gold-2); font-weight: 600; font-size: clamp(.78rem, 1.6vw, .95rem); letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.portal-header .brand .rule { width: 72px; height: 3px; border-radius: 3px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.portal-nav { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1020; box-shadow: var(--shadow-sm); }
.portal-menu { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; justify-content: safe center; }
.portal-menu::-webkit-scrollbar { display: none; }
.portal-menu a { color: #3b4658; font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.portal-menu a:hover { background: var(--ivory); color: var(--midnight); text-decoration: none; }
.portal-menu a.active { background: var(--midnight); color: #fff; }
.portal-menu a.active i { color: var(--gold-2); }
.portal-menu .badge { font-size: .62rem; background: var(--gold) !important; color: var(--ink) !important; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h2 { margin: 0; font-size: 1.7rem; color: var(--midnight); }

/* ---------- dashboard */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; }
.panel-title { font-family: var(--font-display); font-weight: 600; color: var(--midnight); }
.profile-box { overflow: hidden; }
.profile-box .pb-top { background: linear-gradient(160deg, var(--navy), var(--ink)); height: 84px; margin: -16px -16px 0; }
.profile-box .photo, .profile-box .photo-ph { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow); margin-top: -66px; }
.profile-box .photo-ph { background: linear-gradient(135deg, var(--gold-soft), #efe2bf); color: var(--midnight); font-size: 2.6rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.profile-box dt { font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.profile-box dd { margin-bottom: .6rem; word-break: break-word; font-weight: 500; }
.counter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.counter { background: var(--ivory); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 6px; text-align: center; }
.counter b { display: block; font-size: 1.35rem; color: var(--midnight); font-family: var(--font-display); line-height: 1.1; }
.counter span { font-size: .68rem; color: var(--muted); font-weight: 600; line-height: 1.2; display: block; }
.my-course { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.my-course:hover { box-shadow: var(--shadow); }
.my-course + .my-course { margin-top: 14px; }
.my-course .mc-body { padding: 16px; display: flex; gap: 14px; }
.my-course .mc-img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.my-course .mc-img.ph { background: linear-gradient(135deg, var(--navy), var(--ink)); color: var(--gold-2); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.my-course h3 { font-size: 1.12rem; margin: 0 0 2px; color: var(--midnight); }
.my-course h3 a { color: inherit; }
.mc-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mc-stats span { font-size: .78rem; background: var(--ivory); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; color: #475467; font-weight: 600; }
.mc-stats span b { color: var(--midnight); }
.mc-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; margin-top: 8px; font-weight: 600; }
.mc-links a { white-space: nowrap; color: var(--royal); }
.mc-links .sep { color: var(--line); }
.mc-live { margin-top: 10px; font-size: .8rem; background: linear-gradient(90deg, #eef4ff, #fff); border: 1px solid #d9e5fb; border-radius: 10px; padding: 7px 10px; color: var(--navy); }
.fee-pill { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.fee-paid { background: #e3f6ef; color: #0b7a5c; }
.fee-pending { background: #fff4dc; color: #996b00; }
.fee-rejected { background: #fde8e8; color: #b42318; }
.fee-none { background: #eef0f3; color: #475467; }
.perf-bar { height: 26px; border-radius: 0; background: #edeae3; }
.perf-bar .progress-bar { background: linear-gradient(90deg, var(--midnight), var(--royal) 70%, var(--gold)); font-size: .74rem; font-weight: 700; text-align: left; padding-left: 12px; }
.notif-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: block; color: var(--text); background: #fff; transition: border-color .15s, transform .15s; }
.notif-card:hover { text-decoration: none; border-color: var(--royal); transform: translateX(2px); }
.notif-card.unread { border-left: 4px solid var(--gold); background: #fffcf4; }
.notif-card .t { font-weight: 700; font-size: .88rem; color: var(--midnight); }
.notif-card .b { font-size: .8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-card .d { font-size: .7rem; color: var(--muted); }
.notif-tabs a { font-weight: 700; color: var(--muted); padding: 2px 0; }
.notif-tabs a.active { color: var(--midnight); border-bottom: 2px solid var(--gold); }
.notif-nav .btn { width: 44px; height: 38px; border-radius: 50%; padding: 0; }
.live-item { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.live-item + .live-item { margin-top: 10px; }
.live-date { width: 58px; flex: none; text-align: center; border-radius: 12px; background: linear-gradient(160deg, var(--navy), var(--ink)); color: #fff; padding: 6px 0; line-height: 1.1; }
.live-date b { display: block; font-size: 1.35rem; font-family: var(--font-display); }
.live-date span { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); font-weight: 700; }
.live-badge { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; }
.live-badge.live { background: #fde8e8; color: #d92d20; animation: pulse 1.6s infinite; }
.live-badge.soon { background: #fff4dc; color: #996b00; }
.live-badge.upcoming { background: #eef4ff; color: var(--royal); }
.live-badge.cancelled, .live-badge.ended { background: #eef0f3; color: #475467; }
@keyframes pulse { 50% { opacity: .55; } }
.more-courses .course-card .card-body { padding: 12px; }
.more-courses .course-card h4 { font-size: .9rem; font-weight: 700; margin: 0 0 4px; font-family: var(--font-ui); }
.section-title { font-family: var(--font-display); color: var(--midnight); font-weight: 600; }
.section-title::after { content: ""; display: block; width: 48px; height: 3px; background: var(--gold); border-radius: 3px; margin: 8px auto 0; }
.fee-table td { padding: .55rem .25rem; }
.fee-table .total td { border-top: 2px solid var(--midnight); font-weight: 800; font-size: 1.1rem; color: var(--midnight); }
.cert-option { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; transition: border-color .15s, background .15s; }
.cert-option:hover { border-color: #b9c3d6; }
.cert-option:has(input:checked) { border-color: var(--royal); background: #f3f7ff; }
.wa-card { background: linear-gradient(135deg, #0f7a4a, #16a765); color: #fff; border-radius: var(--radius); padding: 22px; }
.wa-card a.btn { background: #fff; color: #0f7a4a; border: 0; }

/* ---------- learning reader */
.reader-top { background: linear-gradient(120deg, var(--ink), var(--navy)); color: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: 0 4px 18px -8px rgba(10, 22, 40, .6); }
.reader-top a { color: #fff; }
.reader-top .progress { height: 8px; background: rgba(255, 255, 255, .18); width: 140px; border-radius: 99px; }
.reader-top .progress-bar { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.reader-lang .btn { white-space: nowrap; color: #fff; border-color: rgba(255, 255, 255, .35); padding: 3px 10px; font-size: .82rem; }
.reader-lang .btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.reader-wrap { display: flex; min-height: calc(100vh - 58px); }
.reader-side { width: 320px; flex: none; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; max-height: calc(100vh - 58px); position: sticky; top: 58px; }
.reader-side .mod { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.reader-side .mod-h { padding: 12px 16px 6px; font-weight: 700; font-size: .86rem; color: var(--midnight); display: flex; gap: 8px; align-items: flex-start; }
.reader-side .sec { display: flex; gap: 8px; align-items: center; padding: 7px 16px 7px 24px; font-size: .85rem; color: var(--text); border-left: 3px solid transparent; }
.reader-side .sec:hover { background: var(--ivory); text-decoration: none; }
.reader-side .sec.current { background: var(--gold-soft); font-weight: 700; border-left-color: var(--gold); }
.reader-side .sec.locked { color: #a4abb8; }
.reader-main { flex: 1; min-width: 0; padding: 30px clamp(16px, 4vw, 56px); }
.reading-pane { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 48px); max-width: 880px; margin: 0 auto; font-size: 1.07rem; line-height: 1.85; box-shadow: var(--shadow); }
.reading-pane h1, .reading-pane h2, .reading-pane h3 { color: var(--midnight); }
.reading-pane.urdu { font-size: 1.22rem; line-height: 2.45; }
.reading-pane.urdu h1, .reading-pane.urdu h2, .reading-pane.urdu h3 { font-family: "Noto Nastaliq Urdu", serif; }
.reading-pane img { max-width: 100%; height: auto; border-radius: 10px; }
.reading-pane table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.reading-pane table td, .reading-pane table th { border: 1px solid var(--line); padding: 6px 10px; }
.reading-pane iframe { max-width: 100%; }
.slide { display: none; animation: fadein .35s ease; }
.slide.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.slide-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-2); direction: ltr; font-family: var(--font-ui); line-height: 1.4; }
.slide-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.slide-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #d9d4c7; padding: 0; }
.slide-dots button.on { background: var(--gold); width: 26px; border-radius: 6px; }
.slide-dots button.seen { background: var(--navy); }
.slide-count { font-size: .8rem; color: var(--muted); font-weight: 600; }
.checkpoint { background: linear-gradient(180deg, #fffdf7, #fff); border: 1px solid #ecdcb2; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.checkpoint h2 { font-family: var(--font-display); }
.reader-nav { max-width: 880px; margin: 18px auto 0; display: flex; justify-content: space-between; gap: 10px; }
.quiz-q { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.quiz-q .form-check { padding: 9px 10px 9px 36px; border-radius: 10px; border: 1px solid transparent; }
.quiz-q .form-check:hover { background: var(--ivory); border-color: var(--line-2); }
.quiz-q.right { border-color: #6cc08b; }
.quiz-q.wrong { border-color: #e28b8b; }
.ratio-16x9 { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 12px; }
@media (max-width: 991.98px) {
  .reader-wrap { display: block; }
  .reader-side { width: auto; max-height: none; position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .reader-side.collapsed-mobile { display: none; }
}

/* ---------- admin */
.admin-body { background: #f3f2ee; }
.admin-side { width: 252px; flex: none; background: radial-gradient(400px 300px at 0% 0%, rgba(232, 205, 135, .12), transparent 60%), linear-gradient(180deg, var(--ink), var(--midnight)); color: #fff; min-height: 100vh; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 22px 20px 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; line-height: 1.1; font-size: 1.15rem; }
.admin-side .brand small { display: block; color: var(--gold-2); font-family: var(--font-ui); font-weight: 600; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.admin-side .nav-group { font-size: .64rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .38); padding: 14px 20px 6px; font-weight: 700; }
.admin-side .nav-link { color: rgba(255, 255, 255, .74); padding: 8px 12px; margin: 1px 10px; border-radius: 10px; font-size: .88rem; display: flex; gap: 10px; align-items: center; font-weight: 500; }
.admin-side .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.admin-side .nav-link.active { color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); font-weight: 700; }
.admin-side .nav-link .badge { margin-left: auto; background: var(--gold) !important; color: var(--ink) !important; }
.admin-side .nav-link.active .badge { background: var(--ink) !important; color: var(--gold-2) !important; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 24px; position: sticky; top: 0; z-index: 1020; }
.admin-top h1 { font-family: var(--font-display); font-size: 1.35rem; }
.admin-me { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: .88rem; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.admin-me:hover { border-color: var(--royal); text-decoration: none; color: var(--midnight); }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; height: 100%; display: block; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, .16), transparent 70%); }
.stat-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card .n { font-size: 2rem; font-weight: 700; color: var(--midnight); line-height: 1.1; font-family: var(--font-display); }
.stat-card .l { color: var(--muted); font-size: .84rem; font-weight: 500; }
.stat-card .ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-soft); color: #9a7220; font-size: 1.2rem; }
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-card .table { margin: 0; }
.lang-tabs .nav-link { padding: 4px 12px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang-tabs .nav-link.active { color: var(--midnight); }
.lang-tabs + .tab-content { border: 1px solid var(--line); border-top: 0; padding: 10px; border-radius: 0 0 10px 10px; background: #fff; }
.nav-pills .nav-link.active { background: var(--midnight); }
.nav-pills .nav-link { color: var(--navy); font-weight: 600; border-radius: 999px; }
.proof-img { max-width: 100%; max-height: 520px; border: 1px solid var(--line); border-radius: 10px; }
.tox-tinymce { border-radius: 10px !important; }
.profile-hero { overflow: hidden; }
.profile-hero .card-body { background: radial-gradient(500px 160px at 50% 0%, rgba(201, 162, 75, .16), transparent 70%); }
@media (max-width: 991.98px) {
  .admin-side { position: fixed; left: -270px; z-index: 1040; transition: left .2s; }
  .admin-side.open { left: 0; box-shadow: var(--shadow-lg); }
}
@media (max-width: 575.98px) {
  .portal-header .ph-top .lbl { display: none; }
  .btn-dashboard { padding: 7px 12px 7px 8px; }
  .counter b { font-size: 1.1rem; }
}
@media print { .no-print { display: none !important; } }


/* =====================================================================
   Public site chrome + main page (landing)
   ===================================================================== */
.brand-words { display: inline-block; }
.brand-logo { display: block; object-fit: contain; }
.brand-emblem { flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.site-nav { transition: background .3s, box-shadow .3s, padding .3s; padding: 12px 0; }
.site-nav.nav-over-hero { background: transparent; border-bottom-color: transparent; position: fixed; left: 0; right: 0; top: 0; backdrop-filter: none; }
.site-nav.nav-over-hero.scrolled { background: rgba(10, 22, 40, .94); backdrop-filter: blur(12px); border-bottom-color: rgba(232, 205, 135, .15); padding: 6px 0; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
@media (max-width: 991.98px) { .site-nav.nav-over-hero .navbar-collapse { background: rgba(10, 22, 40, .97); border-radius: 14px; padding: 10px 16px; margin-top: 8px; } }
.site-footer { background: radial-gradient(700px 240px at 10% 0%, rgba(36, 86, 166, .25), transparent 60%), var(--ink); }
.site-footer .footer-h { color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer .col-6 a, .site-footer .col-lg-3 a { display: block; color: rgba(255, 255, 255, .7); padding: 3px 0; font-size: .9rem; }
.site-footer .col-6 a:hover, .site-footer .col-lg-3 a:hover { color: var(--gold-2); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .5); }
.urdu-inline { font-family: "Noto Nastaliq Urdu", serif; color: var(--gold-2); }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .lp-card.float, .orb { animation: none !important; } }
.gold-text { background: linear-gradient(100deg, #f5e3ae 0%, #d8b25a 45%, #b8892f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.u-gold { background-image: linear-gradient(transparent 68%, rgba(201, 162, 75, .35) 68%); padding: 0 .08em; }

/* hero */
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 110px; background: linear-gradient(150deg, #081324 0%, var(--midnight) 45%, #13335f 100%); }
.lp-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.lp-hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.lp-hero-bg .o1 { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(232, 205, 135, .55), transparent 65%); }
.lp-hero-bg .o2 { width: 600px; height: 600px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(36, 86, 166, .8), transparent 65%); animation-duration: 20s; }
.lp-hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); background: rgba(232, 205, 135, .08); border: 1px solid rgba(232, 205, 135, .25); border-radius: 999px; padding: 6px 14px; }
.lp-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 75, .25); }
.lp-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; margin: 22px 0 14px; }
.lp-urdu { font-family: "Noto Nastaliq Urdu", serif; color: var(--gold-2); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 2.2; margin: 0 0 6px; text-align: left; }
.lp-lead { color: rgba(255, 255, 255, .78); font-size: 1.12rem; line-height: 1.75; max-width: 560px; }
.lp-lead b { color: #fff; }
.lp-ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .75); font-size: .9rem; font-weight: 500; }
.lp-ticks i { color: var(--gold); margin-right: 4px; }
.lp-stage { position: relative; min-height: 440px; }
.lp-card { background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 20px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5); }
.lp-card.main { position: absolute; left: 6%; right: 6%; top: 40px; padding: 26px; transform: rotate(-1.5deg); }
.lp-card-title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--midnight); }
.lp-chip { font-size: .74rem; font-weight: 700; color: var(--navy); background: #eef3fb; border-radius: 999px; padding: 4px 10px; }
.lp-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .72rem; }
.lp-lang > * { padding: 3px 9px; color: var(--muted); }
.lp-lang b { background: var(--gold); color: var(--ink); }
.lp-lines { margin-top: 14px; display: grid; gap: 9px; }
.lp-lines span { display: block; height: 9px; border-radius: 6px; background: linear-gradient(90deg, #e9e5dc, #f3f0e9); }
.lp-dots { display: flex; gap: 6px; }
.lp-dots i { width: 9px; height: 9px; border-radius: 6px; background: #ddd7c9; }
.lp-dots i.on { width: 24px; background: var(--gold); }
.lp-dots i.seen { background: var(--navy); }
.lp-mini { font-size: .74rem; color: var(--muted); }
.lp-progress { height: 8px; border-radius: 6px; background: #ece8df; overflow: hidden; }
.lp-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--midnight), var(--royal), var(--gold)); border-radius: 6px; }
.lp-card.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; font-size: .9rem; animation: floaty 6s ease-in-out infinite; }
.lp-card.float b { color: var(--midnight); }
.lp-card.f1 { left: -2%; top: 0; animation-delay: -1s; }
.lp-card.f2 { right: -2%; bottom: 40px; animation-delay: -3s; }
.lp-card.f3 { left: 4%; bottom: 0; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.lp-seal { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-size: 1.2rem; }
@media (max-width: 991.98px) { .lp-hero { padding: 120px 0 80px; } .lp-stage { min-height: 400px; margin-top: 10px; } }
@media (max-width: 575.98px) { .lp-card.main { left: 0; right: 0; } .lp-card.f1 { left: 0; top: -14px; } .lp-card.f2 { right: 0; } .lp-card.f3 { display: none; } }

/* stats band */
.lp-band { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 2; margin-top: -1px; }
.lp-stat { padding: 30px 18px; text-align: center; border-right: 1px solid var(--line-2); }
.lp-stat:last-child { border-right: 0; }
.lp-stat .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; color: var(--midnight); line-height: 1; }
.lp-stat .l { color: var(--muted); font-size: .86rem; font-weight: 600; margin-top: 8px; }
@media (max-width: 991.98px) { .lp-stat:nth-child(2) { border-right: 0; } .lp-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }

/* sections */
.lp-section { padding: clamp(64px, 9vw, 110px) 0; }
.lp-soft { background: linear-gradient(180deg, #f1ede4, var(--ivory)); }
.lp-dark { background: radial-gradient(800px 300px at 80% 0%, rgba(201, 162, 75, .16), transparent 60%), linear-gradient(160deg, var(--ink), var(--midnight)); color: #fff; }
.lp-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.015em; color: var(--midnight); margin: 10px 0 18px; }
.lp-p { color: #475467; font-size: 1.06rem; line-height: 1.8; }
.lp-urdu-dark { font-family: "Noto Nastaliq Urdu", serif; color: var(--navy); font-size: 1.15rem; line-height: 2.3; border-right: 3px solid var(--gold); padding-right: 14px; margin-top: 18px; }
.lp-fact { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; height: 100%; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.lp-fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-fact .ic, .lp-pillar .ic, .lp-feature .ic { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; background: linear-gradient(135deg, var(--gold-soft), #efe0b6); color: #8a6516; transition: background .25s, color .25s; }
.lp-fact h3, .lp-pillar h3, .lp-feature h3, .lp-step h3 { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700; color: var(--midnight); margin: 14px 0 6px; }
.lp-fact p, .lp-pillar p, .lp-feature p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }

/* steps */
.lp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.lp-steps::before { content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, rgba(232, 205, 135, .5), transparent); }
.lp-step { position: relative; text-align: center; padding: 0 6px; }
.lp-step .num { position: absolute; top: -8px; left: 50%; transform: translateX(22px); width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .78rem; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lp-step .ic { width: 88px; height: 88px; margin: 0 auto; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--gold-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(232, 205, 135, .28); backdrop-filter: blur(4px); position: relative; z-index: 1; transition: transform .3s, background .3s; }
.lp-step:hover .ic { transform: translateY(-6px) rotate(-3deg); background: rgba(232, 205, 135, .12); }
.lp-step h3 { color: #fff; }
.lp-step p { color: rgba(255, 255, 255, .62); font-size: .9rem; line-height: 1.6; }
@media (max-width: 991.98px) { .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; } .lp-steps::before { display: none; } }
@media (max-width: 575.98px) { .lp-steps { grid-template-columns: 1fr; } }

/* pillars */
.lp-pillar { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lp-pillar::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, .14), transparent 70%); transition: transform .4s; }
.lp-pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #e3d3a8; }
.lp-pillar:hover::after { transform: scale(1.4); }
.lp-pillar:hover .ic { background: linear-gradient(135deg, var(--navy), var(--midnight)); color: var(--gold-2); }

/* feature list + reader mock */
.lp-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin-top: 26px; }
.lp-feature { display: flex; gap: 14px; }
.lp-feature .ic { width: 42px; height: 42px; flex: none; font-size: 1.1rem; }
.lp-feature h3 { margin-top: 2px; font-size: .98rem; }
@media (max-width: 575.98px) { .lp-feature-list { grid-template-columns: 1fr; } }
.lp-reader { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: perspective(1200px) rotateY(6deg); }
.lp-reader-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: linear-gradient(120deg, var(--ink), var(--navy)); color: #fff; font-size: .82rem; font-weight: 600; }
.lp-reader-top .lp-lang { border-color: rgba(255, 255, 255, .3); }
.lp-reader-top .lp-lang > * { color: rgba(255, 255, 255, .8); }
.lp-reader-top .lp-lang b { color: var(--ink); }
.lp-reader-body { padding: 26px 28px 30px; font-family: "Noto Nastaliq Urdu", serif; font-size: 1.12rem; line-height: 2.3; color: var(--text); }
.lp-reader-h { font-size: 1.6rem; color: var(--midnight); font-weight: 600; }
.lp-check { font-family: var(--font-ui); line-height: 1.5; background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #ecdcb2; border-radius: 14px; padding: 14px 16px; margin-top: 14px; font-size: .92rem; color: var(--midnight); }
.lp-input { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--muted); font-size: .85rem; background: #fff; }

/* courses empty */
.lp-empty { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; background: #fff; border: 1px dashed #d8cfb8; border-radius: 20px; padding: 26px; }
.lp-empty > i { font-size: 2rem; color: var(--gold); }
.lp-empty > div { flex: 1; min-width: 220px; }

/* certificate mock */
.lp-cert { background: linear-gradient(135deg, #0e2140, #13335f); padding: 16px; border-radius: 22px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .4s; }
.lp-cert:hover { transform: rotate(0) scale(1.01); }
.lp-cert-inner { background: #fcfaf4; border: 2px solid var(--gold); outline: 1px solid rgba(201, 162, 75, .5); outline-offset: -8px; border-radius: 10px; padding: 30px 26px 22px; text-align: center; }
.lp-cert-org { font-weight: 800; letter-spacing: .24em; color: var(--midnight); font-size: .8rem; }
.lp-cert-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--midnight); margin: 6px 0 10px; }
.lp-cert-small { font-family: var(--font-display); font-style: italic; color: var(--muted); font-size: .9rem; }
.lp-cert-name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--navy); border-bottom: 1px solid #d9d2c1; display: inline-block; padding: 0 20px 4px; margin: 4px 0 8px; }
.lp-cert-course { font-weight: 800; color: var(--midnight); font-size: 1.1rem; margin-top: 4px; }
.lp-cert-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: .7rem; color: var(--muted); font-weight: 600; }
.lp-cert-foot .qr { font-size: 2.2rem; color: var(--ink); line-height: 1; }
.lp-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.lp-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: #2b3445; }
.lp-list i { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #eef3fb; color: var(--royal); }
.lp-verify { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 8px 16px; box-shadow: var(--shadow); }
.lp-verify i { color: var(--success); font-size: 1.3rem; }
.lp-verify input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: .95rem; background: transparent; }

/* audience chips */
.lp-audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.lp-audience span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--midnight); box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; }
.lp-audience span:hover { transform: translateY(-3px); border-color: var(--gold); }
.lp-audience i { color: var(--gold); margin-right: 6px; }

/* inspiration */
.lp-quote { padding: clamp(70px, 9vw, 110px) 0; background: radial-gradient(600px 260px at 50% 0%, rgba(201, 162, 75, .22), transparent 70%), linear-gradient(160deg, var(--midnight), var(--ink)); color: #fff; }
.lp-quote-mark { font-size: 3.4rem; color: var(--gold); line-height: 1; }
.lp-quote-text { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.3; max-width: 900px; margin: 10px auto 18px; }
.lp-quote-ur { font-family: "Noto Nastaliq Urdu", serif; color: rgba(255, 255, 255, .72); font-size: 1.25rem; line-height: 2.3; margin: 0; }

/* faq + cta */
.lp-faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; overflow: hidden; margin-bottom: 10px; background: #fff; }
.lp-faq .accordion-button { font-weight: 700; color: var(--midnight); padding: 18px 20px; }
.lp-faq .accordion-button:focus { box-shadow: none; }
.lp-cta { padding: 0 0 clamp(64px, 9vw, 110px); }
.lp-cta-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: #fff; background: radial-gradient(500px 240px at 100% 0%, rgba(232, 205, 135, .3), transparent 60%), linear-gradient(135deg, var(--royal), var(--midnight) 60%, var(--ink)); box-shadow: var(--shadow-lg); }
.lp-cta-box .lp-h2 { margin: 6px 0; }

/* mobile gutters + no horizontal scroll on the main page */
body.is-home { overflow-x: hidden; }
@media (max-width: 991.98px) { .lp-hero .row.g-5, .lp-section .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; } .brand-words small { display: none; } .brand-words { font-size: 1rem; } }
@media (max-width: 340px) { .brand-words { display: none; } }
@media (max-width: 991.98px) { .site-nav .navbar-brand .brand-words small { display: none; } }
.lp-card.f1 { top: -18px; }
.lp-reader-body .lp-mini { font-family: var(--font-ui); }

/* ---------- real CLMS logo placements */
.site-nav .navbar-brand { gap: 12px !important; }
.brand-intl { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); line-height: 1.2; }
@media (max-width: 420px) { .brand-intl { letter-spacing: .18em; font-size: .62rem; padding-left: 8px; } .site-nav .navbar-brand { margin-right: 0; } }
@media (max-width: 340px) { .brand-intl { display: none; } }
.portal-header .brand .brand-logo { max-width: 86vw; height: auto !important; max-height: 92px; }
.portal-header .brand .sub { margin-top: 10px; font-size: .72rem; }
.admin-side .brand { display: block; }
.admin-side .brand .brand-logo { max-width: 100%; height: auto !important; max-height: 54px; }
.admin-side .brand small { margin-top: 10px; }
.site-footer .brand-logo { max-width: 100%; height: auto !important; max-height: 66px; }

/* =====================================================================
   Slide kit — designed lesson slides (used by built-in courses; classes survive the editor)
   ===================================================================== */
.section-body .sl-kicker { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; color: var(--gold); margin: 0 0 6px; line-height: 1.4; }
.section-body > h2, .section-body .sl-open h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.18; letter-spacing: -.01em; color: var(--midnight); margin: 0 0 18px; }
.section-body .sl-lead { font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.45; color: var(--midnight); border-left: 4px solid var(--gold); padding: 2px 0 2px 16px; margin: 0 0 10px; }
.section-body .sl-lead + p { color: #475467; }
.section-body .sl-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--gold-soft); color: #6b5217; font-size: .96rem; line-height: 1.6; }

/* module opener */
.sl-open { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 3vw, 34px); align-items: center; }
.sl-open-img { border-radius: 18px; overflow: hidden; background: var(--ivory); box-shadow: 0 18px 40px -22px rgba(10, 22, 40, .45); aspect-ratio: 4 / 5; }
.sl-open-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; display: block; }
.sl-open .sl-sub { font-size: 1.05rem; color: #475467; margin: -8px 0 16px; line-height: 1.6; }
.sl-mini-h { font-family: var(--font-ui); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 0 0 8px; }
.sl-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sl-ticks li { position: relative; padding: 9px 12px 9px 40px; background: #f7f5f0; border-radius: 12px; font-size: .98rem; line-height: 1.5; }
.sl-ticks li::before { content: "\2713"; position: absolute; left: 12px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (max-width: 767.98px) { .sl-open { grid-template-columns: 1fr; } .sl-open-img { aspect-ratio: 16 / 10; } }

/* numbered cards */
.sl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.sl-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sl-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sl-card:hover { transform: translateY(-2px); border-color: #e3d3a8; box-shadow: var(--shadow); }
.sl-card b { display: block; color: var(--midnight); font-size: 1rem; line-height: 1.35; margin-bottom: 3px; }
.sl-card span:not(.sl-n) { display: block; color: #556070; font-size: .93rem; line-height: 1.55; }
.sl-n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: var(--gold-2); background: linear-gradient(135deg, var(--navy), var(--midnight)); font-family: var(--font-ui); }
.sl-cards.compact .sl-card { padding: 12px 14px; }
.sl-cards.compact .sl-card span:not(.sl-n) { font-size: .88rem; }
@media (max-width: 767.98px) { .sl-cards, .sl-cards.c3 { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 991.98px) { .sl-cards.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* framework flow */
.sl-flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; counter-reset: flow; }
.sl-flow .sl-card { flex-direction: column; gap: 10px; position: relative; padding: 18px 14px; background: linear-gradient(180deg, #fff, #fbf9f4); text-align: left; }
.sl-flow .sl-card:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 32px; width: 10px; height: 2px; background: var(--gold); }
.sl-flow .sl-card b { font-family: var(--font-display); font-size: 1.12rem; }
@media (max-width: 767.98px) { .sl-flow { grid-auto-flow: row; } .sl-flow .sl-card { flex-direction: row; } .sl-flow .sl-card:not(:last-child)::after { right: auto; left: 30px; top: auto; bottom: -10px; width: 2px; height: 10px; } }

/* weak vs strong */
.sl-compare, .sl-example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.sl-bad, .sl-good { border-radius: 16px; padding: 18px; border: 1px solid; }
.sl-bad { background: #fdf4f3; border-color: #f2d4d0; }
.sl-good { background: #f0f8f4; border-color: #c8e6d6; }
.sl-bad > span, .sl-good > span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.sl-bad > span { color: #b4382c; }
.sl-good > span { color: #0f7a5c; }
.sl-bad > span::before { content: "\2715"; width: 22px; height: 22px; border-radius: 50%; background: #e8574a; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.sl-good > span::before { content: "\2713"; width: 22px; height: 22px; border-radius: 50%; background: var(--success); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; }
.sl-compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sl-compare li { font-size: .95rem; line-height: 1.5; padding-bottom: 8px; border-bottom: 1px dashed rgba(0, 0, 0, .08); }
.sl-compare li:last-child { border-bottom: 0; padding-bottom: 0; }
.sl-example p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.02rem; line-height: 1.65; color: #2b3445; }
@media (max-width: 767.98px) { .sl-compare, .sl-example { grid-template-columns: 1fr; } }

/* checklist */
.sl-check { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sl-check li { position: relative; padding: 12px 14px 12px 46px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: .97rem; line-height: 1.5; }
.sl-check li::before { content: "\2713"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--gold); color: var(--navy); font-weight: 800; font-size: .75rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 767.98px) { .sl-check { grid-template-columns: 1fr; } }

/* key principle */
.sl-principle { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(28px, 5vw, 56px); color: #fff; text-align: center;
  background: radial-gradient(600px 240px at 85% -10%, rgba(232, 205, 135, .28), transparent 60%), radial-gradient(500px 260px at 0% 110%, rgba(36, 86, 166, .55), transparent 60%), linear-gradient(150deg, var(--ink), var(--midnight) 55%, var(--navy)); }
.sl-principle::before { content: "\201C"; position: absolute; left: 22px; top: 4px; font-family: Georgia, serif; font-size: 6.5rem; color: rgba(232, 205, 135, .18); line-height: 1; }
.sl-principle .sl-kicker { color: var(--gold-2); }
.sl-principle blockquote { position: relative; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.35; margin: 8px auto 16px; max-width: 680px; color: #fff; }
.sl-principle p:not(.sl-kicker) { color: rgba(255, 255, 255, .78); max-width: 620px; margin: 0 auto; font-size: 1.02rem; }

/* practice */
.sl-practice { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.sl-practice-top { padding: 20px 22px; background: linear-gradient(135deg, var(--gold-soft), #fffaf0); border-bottom: 1px solid #ecdcb2; }
.sl-practice-top h3 { font-family: var(--font-display); font-weight: 600; color: var(--midnight); font-size: 1.35rem; margin: 10px 0 4px; }
.sl-practice-top p { margin: 0; color: #5b4a20; }
.sl-badge { display: inline-flex; gap: 6px; align-items: center; font-family: var(--font-ui); font-size: .76rem; font-weight: 600; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-radius: 999px; padding: 4px 12px; }
.sl-steps { list-style: none; counter-reset: st; padding: 18px 22px; margin: 0; display: grid; gap: 10px; }
.sl-steps li { counter-increment: st; position: relative; padding-left: 44px; line-height: 1.55; min-height: 30px; }
.sl-steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-ui); }

/* recap */
.sl-recap { list-style: none; counter-reset: rc; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sl-recap li { counter-increment: rc; position: relative; padding: 14px 14px 14px 54px; border-radius: 14px; background: #f7f5f0; font-weight: 600; color: var(--midnight); line-height: 1.45; }
.sl-recap li::before { content: counter(rc, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); font-weight: 600; }
.sl-task { margin-top: 14px; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--midnight)); }
.sl-task b { flex: 0 0 auto; font-family: var(--font-ui); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--gold-2); padding: 5px 10px; border-radius: 999px; }
.sl-task span { line-height: 1.55; }
@media (max-width: 767.98px) { .sl-recap { grid-template-columns: 1fr; } .sl-task { flex-direction: column; align-items: flex-start; } }

/* =====================================================================
   Course landing page — Executive Communication Mastery (ecm-*)
   ===================================================================== */
.ecm-hero { padding-bottom: 120px; }
.ecm-title { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.ecm-tag { font-family: var(--font-display); font-style: italic; color: var(--gold-2); font-size: clamp(1.08rem, 2vw, 1.32rem); margin: -2px 0 16px; }
.ecm-price-pill { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 10px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(232, 205, 135, .3); }
.ecm-price-pill span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .6); font-weight: 700; }
.ecm-price-pill b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1; }
.ecm-price-pill small { color: var(--gold-2); font-weight: 600; }
.ecm-stage { position: relative; padding: 34px 6% 54px; }
.ecm-frame { border-radius: 26px; overflow: hidden; transform: rotate(1.4deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 8px rgba(255, 255, 255, .06); }
.ecm-frame img { display: block; width: 100%; height: auto; }
.ecm-stage .lp-card.float { position: absolute; }
.ecm-f1 { left: -2%; top: 0; animation-delay: -1s; }
.ecm-f2 { right: -3%; top: 44%; animation-delay: -3s; }
.ecm-f3 { left: 4%; bottom: 0; animation-delay: -4.5s; }
@media (max-width: 575.98px) { .ecm-stage { padding: 30px 0 60px; } .ecm-f1 { left: 0; } .ecm-f2 { display: none; } .ecm-f3 { left: 0; } }

.ecm-img-card { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.ecm-img-card img { width: 100%; height: auto; display: block; }
.ecm-mini { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; height: 100%; }
.ecm-mini i { color: var(--gold); font-size: 1.3rem; line-height: 1; margin-top: 2px; }
.ecm-mini b { display: block; color: var(--midnight); }
.ecm-mini span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.ecm-who { position: relative; height: 100%; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.ecm-who::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #f28c28, var(--royal)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.ecm-who:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ecm-who:hover::after { transform: scaleX(1); }
.ecm-who .ic { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--gold-2); background: linear-gradient(135deg, var(--navy), var(--midnight)); margin-bottom: 14px; }
.ecm-who b { display: block; color: var(--midnight); font-size: 1.04rem; margin-bottom: 6px; }
.ecm-who p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.ecm-shift { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 10px 24px 14px; box-shadow: var(--shadow); }
.ecm-shift-head, .ecm-shift-row { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 12px; align-items: center; }
.ecm-shift-head { padding: 14px 0 10px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ecm-shift-head span:first-child { color: #b4382c; }
.ecm-shift-head span:last-child { color: #0f7a5c; }
.ecm-shift-row { padding: 12px 0; border-top: 1px solid var(--line-2); }
.ecm-shift-row .from { color: #7a8494; text-decoration: line-through; text-decoration-color: rgba(214, 69, 69, .45); }
.ecm-shift-row .to { color: var(--midnight); font-weight: 700; }
.ecm-shift-row .arrow { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold-soft); color: #8a6516; }
@media (max-width: 575.98px) { .ecm-shift { padding: 6px 16px 10px; } .ecm-shift-head { display: none; } .ecm-shift-row { grid-template-columns: 1fr; gap: 4px; } .ecm-shift-row .arrow { transform: rotate(90deg); width: 26px; height: 26px; } }

.ecm-ex { border-radius: 20px; padding: 22px 24px; margin-bottom: 14px; border: 1px solid; }
.ecm-ex span { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.ecm-ex p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.7; color: #2b3445; }
.ecm-ex.bad { background: #fdf4f3; border-color: #f2d4d0; }
.ecm-ex.bad span { color: #b4382c; }
.ecm-ex.good { background: #fff; border-color: #c8e6d6; box-shadow: 0 24px 50px -30px rgba(18, 163, 124, .5); }
.ecm-ex.good span { color: #0f7a5c; }

.ecm-model { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ecm-model .step { position: relative; text-align: center; padding: 22px 8px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 205, 135, .2); }
.ecm-model .step span { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-weight: 800; margin-bottom: 10px; }
.ecm-model .step b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: #fff; }
.ecm-model .step:not(:last-child)::after { content: "\2192"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 700; z-index: 1; }
@media (max-width: 991.98px) { .ecm-model { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ecm-model .step::after { display: none; } }
@media (max-width: 575.98px) { .ecm-model { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ecm-mod { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.ecm-mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ecm-mod .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory); }
.ecm-mod .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ecm-mod:hover .ph img { transform: scale(1.05); }
.ecm-mod .bd { padding: 16px 18px 18px; }
.ecm-mod .no { font-family: var(--font-display); color: var(--gold); font-weight: 600; font-size: 1.15rem; }
.ecm-mod b { display: block; color: var(--midnight); line-height: 1.35; margin: 2px 0 6px; }
.ecm-mod p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
@media (max-width: 575.98px) { .ecm-mod { flex-direction: row; align-items: stretch; } .ecm-mod .ph { flex: 0 0 104px; aspect-ratio: auto; } .ecm-mod .bd { padding: 12px 14px; } }
.ecm-extra { height: 100%; padding: 22px; border-radius: 20px; color: #fff; background: radial-gradient(400px 160px at 100% 0%, rgba(232, 205, 135, .25), transparent 60%), linear-gradient(150deg, var(--midnight), var(--navy)); }
.ecm-extra span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.ecm-extra b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 6px 0; }
.ecm-extra p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .92rem; }

.ecm-step { position: relative; height: 100%; padding: 24px 22px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ecm-step .k { position: absolute; top: 20px; right: 20px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ecm-step .ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--gold-soft); color: #8a6516; margin-bottom: 14px; }
.ecm-step b { display: block; color: var(--midnight); font-size: 1.08rem; margin-bottom: 6px; }
.ecm-step p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.ecm-fw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ecm-fw div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ecm-fw b { min-width: 62px; text-align: center; padding: 6px 8px; border-radius: 10px; font-size: .82rem; letter-spacing: .06em; color: var(--gold-2); background: linear-gradient(135deg, var(--navy), var(--midnight)); }
.ecm-fw span { font-size: .92rem; color: var(--text); line-height: 1.35; }
.ecm-acts { list-style: none; counter-reset: a; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ecm-acts li { counter-increment: a; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f7f5f0; font-weight: 600; color: var(--midnight); font-size: .95rem; }
.ecm-acts li::before { content: counter(a, decimal-leading-zero); font-family: var(--font-display); color: var(--gold); font-size: 1.15rem; }
@media (max-width: 575.98px) { .ecm-fw, .ecm-acts { grid-template-columns: 1fr; } }

.ecm-cert { max-width: 440px; padding: 26px; border-radius: 18px; text-align: center; color: var(--ink); background: linear-gradient(#fffdf7, #fcfaf4); border: 1px solid #e9dcb8; box-shadow: 0 0 0 6px rgba(232, 205, 135, .25), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ecm-cert .t { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: #8a6516; margin-top: 12px; }
.ecm-cert .n { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--midnight); margin: 6px 0 10px; }
.ecm-cert .d { font-size: .8rem; color: var(--muted); }
.ecm-price { background: #fff; color: var(--text); border-radius: 26px; padding: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ecm-price .top { text-align: center; padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.ecm-price .amt { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 600; color: var(--midnight); line-height: 1.1; margin-top: 10px; }
.ecm-price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ecm-price li { position: relative; padding-left: 30px; line-height: 1.45; }
.ecm-price li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: #fff; font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ecm-wa { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; padding: 10px; border-radius: 12px; background: #eefaf3; color: #128c4b; font-weight: 600; font-size: .92rem; text-decoration: none; }
.ecm-wa:hover { background: #e2f6ea; color: #0d6e3a; }
.ecm-wa span { font-size: .75rem; color: #5f8f73; font-weight: 500; }

.ecm-final { padding: 0 0 clamp(64px, 9vw, 110px); }
.ecm-final-card { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: linear-gradient(135deg, #fff8ec, #fff); border: 1px solid #ecdcb2; box-shadow: var(--shadow-lg); }
.ecm-final-card img { width: 100%; border-radius: 20px; display: block; }
.ecm-final-card h2 { font-family: var(--font-display); font-weight: 600; color: var(--midnight); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 6px 0 10px; }
.ecm-final-card p { color: #475467; font-size: 1.08rem; line-height: 1.75; max-width: 640px; }
@media (max-width: 767.98px) { .ecm-final-card { grid-template-columns: 1fr; } .ecm-final-card img { max-width: 220px; } }

.ecm-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1030; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(10, 22, 40, .96); color: #fff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .35s ease; }
.ecm-sticky.on { transform: none; }
.ecm-sticky b { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.ecm-sticky > div { min-width: 0; }
.ecm-sticky span { display: block; font-size: .72rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecm-sticky .btn { flex: 0 0 auto; white-space: nowrap; }
