/* ============================================================
   Tamkeen V2 — design system implemented from the Figma file
   "tamkeen" (4BWB7gWngTytkAPPHj1VQL). RTL / Arabic first.
   Standalone: no Bootstrap, no Odoo frontend assets.
   ============================================================ */
:root {
  --navy: #0c3976;
  --navy-2: #0e538c;
  --blue: #1e5a8e;
  --blue-2: #2b7bb9;
  --blue-3: #1c8fc9;
  --sky: #cfe2f3;
  --sky-soft: #eaf2f9;
  --orange: #f7ab28;
  --orange-2: #e67e22;
  --orange-text: #f0862b;
  --ink: #1a1a1a;
  --ink-2: #3d4a5c;
  --muted: #7b8798;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: #e6eaf0;
  --input: #eef0f3;
  --ok: #2e9e5b;
  --ok-soft: #e4f6ea;
  --danger: #d64545;
  --danger-soft: #fdecec;
  --r-lg: 18px;
  --r-md: 12px;
  --r-pill: 999px;
  --shadow: 0 10px 30px rgba(12, 57, 118, .10);
  --shadow-sm: 0 4px 14px rgba(12, 57, 118, .07);
  --grad-btn: linear-gradient(90deg, #1c8fc9 0%, #0c3976 100%);
  --grad-footer: linear-gradient(to left, #0c3976, #0e538c);
  --grad-hero: linear-gradient(178.92deg, #cfe2f3 0.93%, #cfe2f3 19.78%, #ffffff 72.21%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', 'Cairo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14.5px; }
h1, h2, h3, h4 { line-height: 1.4; font-weight: 700; }

.v2-container { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }

/* ---------- header ---------- */
.v2-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  box-shadow: 0 2px 14px rgba(12, 57, 118, .06);
}
.v2-header .v2-container { display: flex; align-items: center; gap: 30px; height: 86px; }
.v2-logo img { height: 56px; width: auto; }
.v2-nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.v2-nav a {
  padding: 8px 14px; font-weight: 500; font-size: 15px; color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: .18s;
}
.v2-nav a:hover, .v2-nav a.active { color: var(--navy); border-bottom-color: var(--orange); }
.v2-header-actions { display: flex; align-items: center; gap: 12px; }
.v2-icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); font-size: 20px;
  background: transparent; border: 0; transition: .18s;
}
.v2-icon-btn:hover { color: var(--blue-2); }
.v2-badge {
  position: absolute; top: -4px; inset-inline-end: -2px;
  background: var(--orange); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 700; width: 18px; height: 18px;
  display: grid; place-items: center;
}
.v2-user {
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.v2-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sky); }
.v2-burger { display: none; }

/* dropdown menus (same tree as the website menus) */
.v2-nav { flex-wrap: nowrap; }
.v2-nav a { white-space: nowrap; }
.v2-dd { position: relative; display: flex; align-items: center; }
.v2-dd > .v2-dd-toggle { padding-inline-end: 4px; }
.v2-dd-btn { border: 0; background: none; color: var(--ink-2); font-size: 11px; padding: 8px 6px 8px 2px; cursor: pointer; }
.v2-dd-menu {
  display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px;
  background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 14px 40px rgba(12, 57, 118, .14);
  flex-direction: column; z-index: 70;
}
.v2-dd-menu a { display: block; padding: 9px 14px; border-radius: 8px; border-bottom: 0; font-size: 14px; }
.v2-dd-menu a:hover, .v2-dd-menu a.active { background: var(--sky, #eaf4fb); color: var(--navy); }
.v2-dd-menu .v2-dd { display: block; }
.v2-dd-menu .v2-dd > .v2-dd-toggle { display: block; padding: 9px 14px; border-radius: 8px; border-bottom: 0; font-size: 14px; }
.v2-dd-menu .v2-dd > .v2-dd-btn { position: absolute; top: 6px; inset-inline-end: 6px; transform: rotate(90deg); }
.v2-dd-menu .v2-dd-menu { top: 0; inset-inline-start: 100%; }
@media (hover: hover) and (min-width: 721px) {
  .v2-dd:hover > .v2-dd-menu { display: flex; }
}
.v2-dd.open > .v2-dd-menu { display: flex; }
.v2-dd.open > .v2-dd-btn i { transform: rotate(180deg); }
@media (max-width: 720px) {
  .v2-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .v2-dd { flex-wrap: wrap; }
  .v2-dd > .v2-dd-toggle { flex: 1; }
  .v2-dd-menu, .v2-dd-menu .v2-dd-menu { position: static; box-shadow: none; padding-inline-start: 16px; min-width: 0; flex-basis: 100%; }
  .v2-dd-menu .v2-dd > .v2-dd-btn { position: static; transform: none; }
}

/* ---------- buttons ---------- */
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent; transition: .18s; line-height: 1.5; white-space: nowrap;
}
.v2-btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 16px rgba(12, 57, 118, .25); }
.v2-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.v2-btn-navy { background: var(--navy); color: #fff; }
.v2-btn-navy:hover { background: var(--navy-2); }
.v2-btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247, 171, 40, .3); }
.v2-btn-orange:hover { background: var(--orange-2); transform: translateY(-1px); }
.v2-btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-2); }
.v2-btn-outline:hover { background: var(--sky-soft); }
.v2-btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.v2-btn-light:hover { border-color: var(--blue-2); color: var(--blue); }
.v2-btn-ghost-white { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.v2-btn-ghost-white:hover { background: rgba(255,255,255,.26); }
.v2-btn-danger { background: var(--danger-soft); color: var(--danger); }
.v2-btn-danger:hover { background: var(--danger); color: #fff; }
.v2-btn-sm { padding: 7px 16px; font-size: 13.5px; border-radius: 8px; }
.v2-btn-lg { padding: 13px 34px; font-size: 16px; border-radius: 12px; }
.v2-btn-block { width: 100%; }
.v2-btn-pill { border-radius: var(--r-pill); }

/* ---------- hero (home) ---------- */
.v2-hero { background: var(--grad-hero); position: relative; overflow: hidden; }
.v2-hero .v2-container {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding-block: 60px 30px;
}
.v2-hero h1 { font-size: 44px; font-weight: 800; color: var(--ink); }
.v2-hero p { font-size: 17px; color: var(--ink-2); margin-top: 16px; max-width: 560px; }
.v2-hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.v2-hero-art img { width: 100%; max-width: 520px; margin-inline: auto; }

/* ---------- stats ---------- */
.v2-stats { margin-top: -10px; position: relative; z-index: 2; padding-bottom: 20px; }
.v2-stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.v2-stat {
  background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
}
.v2-stat .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; flex: none;
}
.v2-stat .ic.o { background: #fff5e6; color: var(--orange-2); }
.v2-stat .ic.g { background: #e8f5e9; color: #4caf50; }
.v2-stat .ic.b { background: #e3f2fd; color: var(--blue-2); }
.v2-stat .ic.y { background: #fff8e1; color: #f39c12; }
.v2-stat b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.v2-stat span { color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
.v2-section { padding-block: 56px; }
.v2-section.tight { padding-block: 30px; }
.v2-section-head { text-align: center; margin-bottom: 34px; }
.v2-kicker {
  display: inline-block; border: 1px solid var(--blue-2); color: var(--blue); border-radius: var(--r-pill);
  padding: 3px 16px; font-size: 13px; font-weight: 600; margin-bottom: 10px;
}
.v2-title { font-size: 30px; font-weight: 800; color: var(--ink); }
.v2-title .o { color: var(--orange); }
.v2-title.blue { color: var(--blue); }
.v2-sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.v2-section-head.start { text-align: start; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.v2-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.v2-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.v2-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ---------- featured program ---------- */
.v2-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.v2-featured h3 { font-size: 24px; color: var(--blue); font-weight: 700; }
.v2-featured .desc { color: var(--ink-2); margin-top: 10px; }
.v2-featured .points { margin-top: 18px; display: grid; gap: 14px; }
.v2-featured .points li { display: flex; gap: 12px; align-items: flex-start; }
.v2-featured .points i { color: var(--ok); margin-top: 5px; }
.v2-featured .points b { display: block; font-size: 15.5px; }
.v2-featured .points small { color: var(--muted); }
.v2-featured .art img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }

/* ---------- category pills ---------- */
.v2-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.v2-pill {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: var(--r-pill);
  padding: 6px 18px; font-size: 13.5px; font-weight: 500; transition: .18s;
}
.v2-pill:hover { border-color: var(--blue-2); color: var(--blue); }
.v2-pill.active { background: var(--sky-soft); border-color: var(--blue-2); color: var(--blue); font-weight: 700; }

/* ---------- course card ---------- */
.v2-card {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
  border: 1px solid transparent;
}
.v2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.v2-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--navy); }
.v2-card-body { padding: 16px 18px 6px; flex: 1; }
.v2-card-body h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); min-height: 48px; line-height: 1.55; }
.v2-card-body h3:hover { color: var(--blue); }
.v2-card-body .desc { color: var(--muted); font-size: 13px; margin-top: 8px; max-height: 42px; overflow: hidden; }
.v2-card-body .date { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.v2-card-foot {
  padding: 12px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line); margin-top: 10px;
}
.v2-card-foot .lect { font-size: 13px; color: var(--ink-2); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.v2-card-foot .lect i { color: var(--blue-2); }
.v2-tag { background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 8px; }
.v2-tag.soft { background: var(--sky-soft); color: var(--blue); }
.v2-tag.ok { background: var(--ok-soft); color: var(--ok); }
.v2-tag.danger { background: var(--danger-soft); color: var(--danger); }
.v2-tag.gray { background: var(--input); color: var(--ink-2); }
.v2-more { color: var(--blue-2); font-size: 13.5px; font-weight: 600; }
.v2-more i { font-size: 11px; margin-inline-start: 4px; }
.v2-price { font-weight: 800; color: var(--orange-text); font-size: 18px; }
.v2-price small { font-size: 12px; font-weight: 600; margin-inline-start: 3px; }
.v2-price del { color: var(--danger); font-size: 13px; font-weight: 500; margin-inline-start: 8px; }
.v2-wish {
  position: absolute; top: 12px; inset-inline-start: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: var(--danger); box-shadow: var(--shadow-sm); border: 0;
}
.v2-card-media { position: relative; }

/* ---------- lecturer card ---------- */
.v2-lect { text-align: center; padding-top: 60px; position: relative; overflow: visible; margin-top: 60px; }
.v2-lect .cover {
  position: absolute; inset-inline: 0; top: 0; height: 120px; background: var(--blue);
  border-radius: 16px 16px 0 0;
}
.v2-lect img {
  width: 150px; height: 190px; object-fit: cover; object-position: top; margin: -60px auto 0; position: relative;
  border-radius: 0;
}
.v2-lect .name { padding: 14px 16px 18px; font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; border-radius: 0 0 16px 16px; }
.v2-lect .name span { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }

/* ---------- corporate band ---------- */
.v2-band {
  border-radius: 24px; padding: 54px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #1b2a3f, #2c3e56);
  background-size: cover; background-position: center;
}
.v2-band::before { content: ''; position: absolute; inset: 0; background: rgba(15, 28, 48, .72); }
.v2-band > * { position: relative; }
.v2-band .chip { display: inline-block; background: rgba(255,255,255,.18); border-radius: var(--r-pill); padding: 5px 20px; font-size: 13.5px; }
.v2-band h2 { font-size: 26px; margin-top: 14px; }
.v2-band p { max-width: 720px; margin: 10px auto 0; opacity: .9; }
.v2-band .v2-btn { margin-top: 22px; }

/* ---------- why tamkeen ---------- */
.v2-why { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.v2-why .col { display: grid; gap: 22px; }
.v2-why .col.mid { align-content: center; }
.v2-feature {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 26px 22px; text-align: center;
  border: 1px solid var(--line);
}
.v2-feature .ic {
  width: 74px; height: 74px; border-radius: 50%; background: var(--orange); color: #1a1a1a;
  display: grid; place-items: center; font-size: 30px; margin: 0 auto 14px;
  box-shadow: 0 0 0 8px #fff3dc;
}
.v2-feature h3 { font-size: 18px; }
.v2-feature p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- testimonials ---------- */
.v2-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.v2-quote { background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.v2-quote .stars { color: var(--orange); font-size: 13px; margin-bottom: 10px; }
.v2-quote p { font-weight: 600; color: var(--ink); }
.v2-quote .who { color: var(--muted); font-size: 13px; margin-top: 12px; display: flex; gap: 8px; align-items: center; }

/* ---------- newsletter ---------- */
.v2-news {
  border-radius: 24px; padding: 52px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #1b2a3f, #3b4d68);
}
.v2-news::before { content: ''; position: absolute; inset: 0; background: rgba(15, 28, 48, .62); }
.v2-news > * { position: relative; }
.v2-news h2 { font-size: 26px; }
.v2-news form {
  margin: 22px auto 0; max-width: 520px; background: #fff; border-radius: var(--r-pill); padding: 6px; display: flex; gap: 6px;
}
.v2-news input { flex: 1; border: 0; background: transparent; padding: 8px 18px; outline: none; color: var(--ink); }

/* ---------- page banner (inner pages) ---------- */
.v2-banner {
  position: relative; color: #fff; text-align: center; padding: 64px 0;
  background: linear-gradient(90deg, #2d5f8f, #6e9dc3); background-size: cover; background-position: center;
}
.v2-banner::before { content: ''; position: absolute; inset: 0; background: rgba(30, 90, 142, .55); }
.v2-banner > * { position: relative; }
.v2-banner h1 { font-size: 30px; font-weight: 800; }
.v2-banner .crumbs { font-size: 14px; margin-top: 8px; opacity: .95; }
.v2-banner .crumbs a:hover { text-decoration: underline; }
.v2-banner.slim { padding: 40px 0; text-align: start; }
.v2-banner.slim h1 { font-size: 22px; }
.v2-searchbar {
  margin: 26px auto 0; max-width: 980px; background: #fff; border-radius: 14px; padding: 8px;
  display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow);
}
.v2-searchbar input, .v2-searchbar select {
  border: 0; background: transparent; padding: 10px 14px; outline: none; color: var(--ink); min-width: 0;
}
.v2-searchbar input { flex: 1; }
.v2-searchbar select { border-inline-start: 1px solid var(--line); border-radius: 0; font-weight: 600; color: var(--ink-2); }
.v2-searchbar .go { background: var(--orange); color: #fff; width: 46px; height: 46px; border-radius: 10px; border: 0; font-size: 18px; display: grid; place-items: center; }

.v2-pull { margin-top: 40px; padding-bottom: 60px; }
.v2-pull.up { margin-top: -30px; position: relative; z-index: 2; }

/* ---------- panels ---------- */
.v2-panel { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 26px; border: 1px solid var(--line); }
.v2-panel h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.v2-panel h2.blue { color: var(--blue); }
.v2-fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.v2-fact:last-child { border-bottom: 0; }
.v2-fact b { color: var(--ink-2); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.v2-fact b i { color: var(--blue-2); width: 16px; text-align: center; }
.v2-fact span { color: var(--ink); font-weight: 600; }
.v2-note { background: #fbfbe6; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; color: #5b5b2a; text-align: center; }
.v2-alert { border-radius: 12px; padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.v2-alert.ok { background: var(--ok-soft); color: #1d6b3d; }
.v2-alert.err { background: var(--danger-soft); color: var(--danger); }
.v2-empty { text-align: center; padding: 50px 20px; color: var(--muted); display: grid; gap: 6px; justify-items: center; }
.v2-empty i { font-size: 44px; color: var(--sky); }
.v2-empty b { color: var(--ink); font-size: 17px; }

/* ---------- detail layout (2 cols) ---------- */
.v2-detail { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.v2-side { position: sticky; top: 100px; }
.v2-side .v2-panel { padding: 16px; }
.v2-side .v2-card-img { border-radius: 12px; }
.v2-side .pricebox { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 4px 4px; }
.v2-side .pricebox .big { font-size: 24px; font-weight: 800; color: var(--ink); }
.v2-side .pricebox .big small { font-size: 13px; }
.v2-side .vat { color: var(--muted); font-size: 12.5px; padding: 0 4px 10px; border-bottom: 1px solid var(--line); }
.v2-side .actions { display: flex; gap: 8px; margin-top: 14px; }
.v2-side .actions .v2-btn { flex: 1; }
.v2-side .actions .sq { flex: none; width: 46px; padding: 0; }
.v2-side .facts { margin-top: 14px; }
.v2-side .cta-title { color: var(--blue); font-weight: 700; font-size: 14px; margin-top: 12px; }

/* ---------- program detail head ---------- */
.v2-prog-head { background: #fff; border-radius: 16px; padding: 22px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.v2-prog-head h1 { font-size: 24px; color: var(--ink); }
.v2-prog-head .desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.v2-prog-head .meta { display: flex; gap: 20px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.v2-prog-head .lect { display: flex; gap: 12px; align-items: center; }
.v2-prog-head .lect img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sky); }
.v2-prog-head .lect b { display: block; font-size: 14.5px; }
.v2-prog-head .lect small { color: var(--muted); }
.v2-prog-head .live { background: #ff8c00; color: #fff; border-radius: 10px; padding: 8px 16px; font-weight: 700; font-size: 13.5px; }

/* accordion (curriculum) */
.v2-acc { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.v2-acc details { border-bottom: 1px solid var(--line); }
.v2-acc details:last-child { border-bottom: 0; }
.v2-acc summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; font-size: 15px;
}
.v2-acc summary::-webkit-details-marker { display: none; }
.v2-acc summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: var(--muted); transition: .2s; }
.v2-acc details[open] summary { color: var(--blue); }
.v2-acc details[open] summary::after { transform: rotate(180deg); }
.v2-lesson {
  display: flex; align-items: center; gap: 12px; padding: 11px 22px; font-size: 14px; color: var(--ink-2);
  border-top: 1px dashed var(--line); transition: .15s;
}
.v2-lesson:hover { background: var(--sky-soft); color: var(--blue); }
.v2-lesson.active { background: var(--sky-soft); color: var(--blue); font-weight: 700; }
.v2-lesson .type { color: var(--blue-2); width: 18px; text-align: center; }
.v2-lesson .done { color: var(--ok); }
.v2-lesson .lock { margin-inline-start: auto; font-size: 12px; color: var(--muted); }
.v2-lesson .lock.free { background: var(--ok-soft); color: var(--ok); padding: 2px 10px; border-radius: 8px; font-weight: 700; }

/* goals list */
.v2-goals h3 { color: var(--blue); font-size: 17px; margin: 18px 0 8px; display: flex; gap: 8px; align-items: center; }
.v2-goals h3 i { font-size: 12px; }
.v2-goals p { color: var(--ink-2); font-size: 14.5px; }
.v2-goals ul li { display: flex; gap: 10px; padding: 4px 0; color: var(--ink-2); font-size: 14.5px; }
.v2-goals ul li i { color: var(--ok); margin-top: 6px; font-size: 12px; }

/* ---------- lesson player page ---------- */
.v2-lesson-head {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  padding: 20px 28px; text-align: center; margin-bottom: 22px;
}
.v2-lesson-head h1 { font-size: 22px; }
.v2-progress-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; justify-content: center; font-size: 13px; color: var(--ink-2); }
.v2-progress { flex: 1; max-width: 480px; height: 8px; background: var(--input); border-radius: 99px; overflow: hidden; }
.v2-progress div { height: 100%; background: #6bc16b; border-radius: 99px; }
.v2-progress-row .trophy { color: var(--ink-2); }
.v2-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.v2-crumbs a:hover { color: var(--blue); }
.v2-crumbs i { font-size: 10px; }
.v2-player-wrap { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 18px; }
.v2-player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.v2-player-bar h2 { font-size: 17px; font-weight: 700; }
.v2-player-bar .tools { display: flex; gap: 6px; }
.v2-player-bar .tools a, .v2-player-bar .tools button {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--blue-2); color: var(--blue);
  display: grid; place-items: center; background: #fff; font-size: 13px;
}
.v2-player-bar .tools a.disabled { opacity: .4; pointer-events: none; }
.v2-player { background: #0b1526; border-radius: 12px; overflow: hidden; border: 3px solid var(--blue-2); }
.v2-player .embed { position: relative; padding-top: 56.25%; }
.v2-player .embed iframe, .v2-player .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v2-player .doc { height: 78vh; min-height: 520px; position: relative; background: #fff; display: grid; place-items: center; }
.v2-player .doc iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.v2-player .doc a { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff !important; font-weight: 700; padding: 14px 30px; border-radius: 12px; }
.v2-player .article { background: #fff; padding: 28px; }
.v2-player .locked { color: #fff; text-align: center; padding: 70px 20px; }
.v2-player .locked i { font-size: 40px; color: var(--orange); margin-bottom: 12px; }
.v2-player-tabs { display: flex; gap: 22px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.v2-player-tabs span { display: flex; gap: 6px; align-items: center; }
.v2-side-course { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.v2-side-course .head { background: var(--sky); color: var(--navy); padding: 14px 18px; font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.v2-side-course .body { max-height: 70vh; overflow: auto; }
.v2-side-course .v2-acc { border: 0; border-radius: 0; box-shadow: none; }
.v2-side-course .v2-lesson { padding: 10px 18px; font-size: 13.5px; }

/* quiz */
.v2-quiz { border: 2px solid var(--blue-2); border-radius: 16px; padding: 24px; background: #fff; }
.v2-quiz h2 { text-align: center; color: var(--blue); font-size: 18px; margin-bottom: 18px; }
.v2-q { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.v2-q .qt { font-weight: 700; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.v2-q .qt .n { background: var(--input); border-radius: 6px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px; flex: none; }
.v2-q label { display: flex; gap: 8px; align-items: center; padding: 6px 34px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.v2-q input { accent-color: var(--ok); }
.v2-quiz .acts { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }

/* ---------- portal ---------- */
.v2-profile-band { background: var(--sky); padding: 26px 0 0; }
.v2-profile-band .crumbs { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.v2-profile-band .crumbs .cur { color: var(--blue); font-weight: 600; }
.v2-avatar-wrap { text-align: center; margin-top: -10px; position: relative; height: 70px; }
.v2-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow);
  margin: 0 auto; position: relative; top: 8px; background: #fff;
}
.v2-avatar-edit {
  position: absolute; top: 12px; left: calc(50% - 64px); width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; border: 2px solid #fff;
}
.v2-tabs { display: flex; justify-content: center; gap: 16px; margin: 70px 0 30px; flex-wrap: wrap; }
.v2-tab {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 30px; min-width: 150px;
  text-align: center; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); transition: .18s;
}
.v2-tab .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; margin: 0 auto 8px; font-size: 18px; }
.v2-tab.active { background: var(--sky); border-color: var(--blue-2); color: var(--navy); }
.v2-tab:hover { border-color: var(--blue-2); }
.v2-count { color: var(--muted); font-size: 13px; }
.v2-count b { color: var(--ink); }
.v2-enroll { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.v2-enroll img { width: 200px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; flex: none; background: var(--navy); }
.v2-enroll h3 { font-size: 16px; }
.v2-enroll .meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.v2-enroll .meta b { color: var(--orange-text); }
.v2-enroll .acts { margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.v2-cert { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.v2-cert .thumb { background: var(--sky-soft); border-radius: 10px; aspect-ratio: 1.4; display: grid; place-items: center; color: var(--blue); font-size: 46px; }
.v2-cert h3 { font-size: 14.5px; margin-top: 12px; min-height: 44px; }
.v2-cert .acts { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }

/* ---------- forms ---------- */
.v2-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.v2-form label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.v2-form input, .v2-form select, .v2-form textarea {
  width: 100%; border: 1px solid transparent; background: var(--input); border-radius: var(--r-pill);
  padding: 11px 18px; outline: none; transition: .15s; color: var(--ink);
}
.v2-form textarea { border-radius: 14px; resize: vertical; min-height: 120px; }
.v2-form input:focus, .v2-form select:focus, .v2-form textarea:focus { border-color: var(--blue-2); background: #fff; }
.v2-form input[disabled] { color: var(--muted); }
.v2-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.v2-form-grid.four { grid-template-columns: repeat(4, 1fr); }
.v2-check { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.v2-check input { accent-color: var(--blue); width: 16px; height: 16px; }
.v2-upload {
  border: 1px dashed var(--line); background: var(--input); border-radius: 14px; padding: 20px; text-align: center; color: var(--ink-2); font-size: 13.5px; position: relative;
}
.v2-upload i { font-size: 26px; display: block; margin-bottom: 6px; color: var(--ink-2); }
.v2-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.v2-contact-info { display: grid; gap: 14px; }
.v2-contact-info .row { display: flex; gap: 14px; align-items: center; background: var(--sky-soft); border-radius: 14px; padding: 14px 18px; }
.v2-contact-info .row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.v2-contact-info .row small { display: block; color: var(--muted); font-size: 12.5px; }
.v2-contact-info .row b { font-size: 14.5px; direction: ltr; display: inline-block; }

/* ---------- auth ---------- */
.v2-auth-bg { background: #d5dde6; min-height: calc(100vh - 86px); display: grid; place-items: center; padding: 50px 20px; }
.v2-auth { display: grid; grid-template-columns: 1.15fr 1fr; width: 100%; max-width: 900px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; min-height: 520px; }
.v2-auth-form { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.v2-auth-form h1 { font-size: 22px; }
.v2-auth-form .hint { color: var(--muted); font-size: 13px; margin: 4px 0 22px; }
.v2-auth-form .links { font-size: 13px; text-align: center; margin-top: 16px; color: var(--ink-2); }
.v2-auth-form .links a { color: var(--blue-2); font-weight: 600; }
.v2-auth-side {
  background: linear-gradient(180deg, #1c8fc9 0%, #0c3976 100%); color: #fff; padding: 40px 34px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.v2-auth-side img { width: 170px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.v2-auth-side p { font-size: 14.5px; opacity: .95; }
.v2-pass { position: relative; }
.v2-pass i { position: absolute; top: 50%; inset-inline-start: 16px; transform: translateY(-50%); color: var(--muted); cursor: pointer; }

/* ---------- payment ---------- */
.v2-pay-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.v2-pay-methods label {
  flex: 1; min-width: 150px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; text-align: center;
  cursor: pointer; font-weight: 600; font-size: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; background: #fff;
}
.v2-pay-methods input { display: none; }
.v2-pay-methods label.on { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.v2-pay-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; font-size: 14.5px; }
.v2-pay-box b.o { color: var(--orange-text); }
.v2-order-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.v2-order-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: var(--navy); }
.v2-order-card h3 { font-size: 15px; margin: 12px 0; }
.v2-order-card .row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: var(--ink-2); }
.v2-order-card .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; color: var(--ink); }
.v2-order-card .row.total span:last-child { color: var(--orange-text); font-size: 18px; }
.v2-total-line { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-size: 22px; font-weight: 800; margin: 16px 0 12px; }
.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 600; padding: 12px; border-bottom: 1px solid var(--line); }
.v2-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14.5px; }
.v2-table tr:last-child td { border-bottom: 0; }
.v2-prod { display: flex; gap: 12px; align-items: center; }
.v2-prod img { width: 84px; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; background: var(--navy); }

/* ---------- about ---------- */
.v2-about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.v2-about h2 { font-size: 26px; color: var(--blue); }
.v2-about p { color: var(--ink-2); margin-top: 12px; font-size: 15.5px; }
.v2-about .acts { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.v2-about .art { position: relative; }
.v2-about .art img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.v2-about .art .play { position: absolute; inset: 0; display: grid; place-items: center; }
.v2-about .art .play span { width: 74px; height: 74px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-size: 26px; background: rgba(255,255,255,.15); }

/* ---------- footer ---------- */
.v2-footer { background: var(--grad-footer); color: #fff; margin-top: 30px; border-radius: 22px 22px 0 0; position: relative; overflow: hidden; }
.v2-footer .deco { position: absolute; width: 180px; height: 180px; opacity: .14; pointer-events: none; }
.v2-footer .deco.a { top: -50px; inset-inline-end: -30px; }
.v2-footer .deco.b { bottom: -60px; inset-inline-start: -40px; width: 240px; height: 240px; }
.v2-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0 28px; position: relative; }
.v2-footer .logo { height: 60px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.v2-footer .about { font-size: 14px; opacity: .92; max-width: 380px; }
.v2-footer h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.v2-footer .top a, .v2-footer .line { display: flex; gap: 10px; align-items: center; font-size: 14px; opacity: .92; margin-bottom: 10px; }
.v2-footer .top a:hover { opacity: 1; text-decoration: underline; }
.v2-footer .line i { width: 16px; text-align: center; }
.v2-footer .bottom { border-top: 1px solid rgba(255,255,255,.3); padding: 20px 0 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; position: relative; }
.v2-social { display: flex; gap: 8px; }
.v2-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center; font-size: 15px; transition: .18s; }
.v2-social a:hover { background: #fff; color: var(--navy); }

/* ---------- switch-back strip ---------- */
.v2-switch-old { background: #fff7e3; color: #8a6a10; text-align: center; font-size: 13px; padding: 7px 14px; }
.v2-switch-old a { font-weight: 700; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .v2-hero .v2-container { grid-template-columns: 1fr; text-align: center; }
  .v2-hero p, .v2-hero-cta { margin-inline: auto; justify-content: center; }
  .v2-hero-art { order: -1; }
  .v2-hero-art img { max-width: 360px; }
  .v2-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .v2-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .v2-stats .grid { grid-template-columns: repeat(2, 1fr); }
  .v2-featured, .v2-about { grid-template-columns: 1fr; }
  .v2-why { grid-template-columns: 1fr 1fr; }
  .v2-detail { grid-template-columns: 1fr; }
  .v2-side { position: static; }
  .v2-auth { grid-template-columns: 1fr; }
  .v2-auth-side { display: none; }
  .v2-footer .top { grid-template-columns: 1fr 1fr; }
  .v2-form-grid.four { grid-template-columns: repeat(2, 1fr); }
  .v2-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .v2-header .v2-container { height: 72px; gap: 14px; }
  .v2-logo img { height: 44px; }
  .v2-nav {
    display: none; position: absolute; top: 72px; inset-inline: 0;
    background: #fff; flex-direction: column; padding: 12px; box-shadow: var(--shadow);
  }
  .v2-nav.open { display: flex; }
  .v2-burger { display: grid; }
  .v2-header-actions .v2-btn { display: none; }
  .v2-grid-4, .v2-grid-3, .v2-grid-2, .v2-form-grid, .v2-why, .v2-stats .grid { grid-template-columns: 1fr; }
  .v2-hero h1 { font-size: 30px; }
  .v2-title { font-size: 24px; }
  .v2-footer .top { grid-template-columns: 1fr; }
  .v2-band, .v2-news { padding: 34px 20px; border-radius: 16px; }
  .v2-searchbar { flex-wrap: wrap; }
  .v2-searchbar input { flex-basis: 100%; }
  .v2-enroll { flex-direction: column; align-items: stretch; }
  .v2-enroll img { width: 100%; }
  .v2-auth-form { padding: 30px 22px; }
  .v2-tabs { gap: 10px; }
  .v2-tab { min-width: 0; flex: 1; padding: 12px; }
}

/* old website pages shown inside the v2 layout: neutralise Odoo's wrapper rules */
.v2-old-page { position: static; overflow: visible; }
.v2-old-page #wrap { min-height: 0; }
.v2-old-page .o_footer, .v2-old-page header#top { display: none; }
