/* DCT Academy — static site styles */

:root {
  --bg: #201a15;
  --bg-soft: #2b231c;
  --surface: #ffffff;
  --surface-alt: #faf5f0;
  --ink: #2b2320;
  --ink-soft: #6b615a;
  --line: #ece5dd;
  --brand: #f15a22;       /* DCT orange */
  --brand-dark: #d2461a;
  --accent: #ffb81c;      /* DCT gold */
  --red: #e4002b;         /* DCT red */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(45, 35, 30, 0.09);
  --shadow-lg: 0 24px 60px rgba(45, 35, 30, 0.16);
  --wrap: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--bg); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--accent); }

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead { color: #94a3b8; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px rgba(241, 90, 34, .3); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.btn--light { background: #fff; color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .96rem;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-alt); text-decoration: none; }
.nav__links a.is-active { color: var(--brand); }
.nav__cta { margin-left: 10px; }

/* keep the CTA a real button — beat the generic .nav__links a rules */
.nav__links .nav__cta a.btn--primary,
.nav__links .nav__cta a.btn--primary:hover {
  display: inline-flex;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
}
.nav__links .nav__cta a.btn--primary:hover { background: var(--brand-dark); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: .2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1a1512;
  color: #e2e8f0;
  padding: 118px 0 108px;
}

/* animated backdrop */
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.hero__blob--1 {
  width: 460px; height: 460px;
  top: -140px; right: -80px;
  background: radial-gradient(circle at 30% 30%, #f15a22, transparent 70%);
  animation: floaty 16s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle at 60% 40%, #ffb81c, transparent 70%);
  animation: floaty 20s ease-in-out infinite reverse;
}
.hero__blob--3 {
  width: 320px; height: 320px;
  top: 30%; left: 45%;
  background: radial-gradient(circle at 50% 50%, #e4002b, transparent 70%);
  opacity: .35;
  animation: floaty 24s ease-in-out infinite;
}
.hero__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: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -28px, 0) scale(1.08); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #cbd5e1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,184,28,.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,184,28,.55); }
  70% { box-shadow: 0 0 0 12px rgba(255,184,28,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,184,28,0); }
}

.hero h1 {
  color: #fff;
  margin-top: 22px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #ffb81c 0%, #f15a22 50%, #e4002b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: #9aa7bd;
  font-size: 1.15rem;
  max-width: 52ch;
  margin-top: 4px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn--primary { box-shadow: 0 14px 34px rgba(241, 90, 34, .42); }
.hero .btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__trust-item { display: flex; flex-direction: column; line-height: 1.25; }
.hero__trust-item strong { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero__trust-item span { font-size: .85rem; color: #8896ac; }

.hero__note {
  margin-top: 26px;
  font-size: .95rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.hero__note strong { color: #fff; }

/* floating code card */
.hero__visual { display: flex; justify-content: center; perspective: 1200px; }
.code-card {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  background: rgba(17, 24, 42, 0.72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transform: rotate3d(1, 1, 0, 4deg);
  animation: cardfloat 7s ease-in-out infinite;
}
@keyframes cardfloat {
  0%, 100% { transform: rotate3d(1, 1, 0, 4deg) translateY(0); }
  50% { transform: rotate3d(1, 1, 0, 4deg) translateY(-16px); }
}
.code-card__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.code-card__bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-card__bar .dot:nth-child(2) { background: #febc2e; }
.code-card__bar .dot:nth-child(3) { background: #28c840; }
.code-card__file {
  margin-left: 10px;
  font-size: .78rem;
  color: #8896ac;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.code-card__body {
  margin: 0;
  padding: 20px 22px 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.85;
  color: #c9d4e6;
  white-space: pre;
  overflow-x: auto;
}
.c-key { color: #ff7b9c; }
.c-type { color: #7dd3fc; }
.c-fn { color: #c4b5fd; }
.c-str { color: #86efac; }
.c-com { color: #64748b; font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .hero__blob, .code-card, .hero__badge-dot { animation: none; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1a1512;
  color: #cbd5e1;
  padding: 88px 0 76px;
}
/* same animated backdrop as the home hero */
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero::before {
  inset: -25%;
  background:
    radial-gradient(460px 460px at 82% 8%, rgba(241,90,34,.55), transparent 70%),
    radial-gradient(400px 400px at 8% 92%, rgba(255,184,28,.45), transparent 70%),
    radial-gradient(320px 320px at 55% 45%, rgba(228,0,43,.35), transparent 70%);
  filter: blur(70px);
  opacity: .55;
  animation: floaty 20s ease-in-out infinite;
  will-change: transform;
}
.page-hero::after {
  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: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::before { animation: none; }
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #94a3b8; max-width: 62ch; margin: 0; }

/* ---------- Grid / cards ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(241,90,34,.14), rgba(255,184,28,.14));
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

.section--dark .card {
  background: var(--bg-soft);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}
.section--dark .card p { color: #94a3b8; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 20px;
  text-align: center;
}
.stat__num { font-size: 2.2rem; font-weight: 800; color: var(--brand); }
.section--dark .stat__num { color: var(--accent); }
.stat__label { color: var(--ink-soft); font-size: .95rem; }
.section--dark .stat__label { color: #94a3b8; }

/* ---------- Modules ---------- */
.module {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.module__no {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 12px;
  display: grid;
  place-items: center;
  height: 72px;
  width: 72px;
}
.module__stack {
  display: inline-block;
  margin: 4px 0 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.module p { color: var(--ink-soft); margin: 0; }

/* ---------- Feature list ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pills li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: .95rem;
}
.section--dark .pills li {
  background: var(--bg-soft);
  border-color: rgba(255,255,255,.1);
  color: #e2e8f0;
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checklist li::before {
  content: "✓";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,184,28,.15);
  color: var(--accent);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: .8rem;
  margin-top: 2px;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }

/* ---------- Trainer ---------- */
.trainer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.trainer__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
}
.trainer__role { color: var(--brand); font-weight: 600; margin: 0 0 12px; }
.trainer p { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1rem; color: var(--ink-soft); margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 1.05rem; font-weight: 600; }

.map-embed {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 22px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  color: #94a3b8;
  padding: 56px 0 32px;
}
.site-footer a { color: #cbd5e1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { justify-content: flex-start; }
  .code-card { max-width: 480px; }
}

@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .trainer { grid-template-columns: 1fr; text-align: center; }
  .trainer__avatar { margin: 0 auto; }

  .hero { padding: 84px 0 76px; }
  .hero__trust { gap: 12px 22px; }
  .hero__trust-item strong { font-size: 1.3rem; }

  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 10px; }
  .nav__cta { margin: 8px 0 0; text-align: center; }
  .module { grid-template-columns: 1fr; gap: 14px; }
  .cta-band { padding: 36px 24px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform .2s ease;
  flex: none;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  font-size: .85rem;
  color: #8896ac;
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumbs a { color: #cbd5e1; }
.crumbs a:hover { color: #fff; }

/* ===================================================================
   Course page
   =================================================================== */

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Course hero ---- */
.course-hero .wrap { position: relative; z-index: 1; }
.course-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.course-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.techstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.techstrip .chip { animation: chipIn .5s ease both; }
.techstrip .chip:nth-child(1) { animation-delay: .05s; }
.techstrip .chip:nth-child(2) { animation-delay: .1s; }
.techstrip .chip:nth-child(3) { animation-delay: .15s; }
.techstrip .chip:nth-child(4) { animation-delay: .2s; }
.techstrip .chip:nth-child(5) { animation-delay: .25s; }
.techstrip .chip:nth-child(6) { animation-delay: .3s; }
.techstrip .chip:nth-child(7) { animation-delay: .35s; }
.techstrip .chip:nth-child(8) { animation-delay: .4s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #dbe4f3;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}
.chip::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

/* glance card */
.glance {
  background: rgba(17, 24, 42, 0.72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 32px 70px rgba(0,0,0,.45);
}
.glance h2 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8896ac;
  margin-bottom: 16px;
}
.glance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.glance li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #d7dfec;
  font-size: .96rem;
}
.glance li::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,184,28,.16);
  color: #ffb81c;
  font-size: .75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ---- Interactive module explorer ---- */
.explorer {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  margin-top: 46px;
  align-items: start;
}

.explorer__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 90px;
}
.explorer__tab {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.explorer__tab:hover { transform: translateX(3px); border-color: #c9d4e6; }
.explorer__tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.explorer__tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(241,90,34,.1), rgba(255,184,28,.1));
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.explorer__tab-no {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  transition: background .2s ease;
}
.explorer__tab.is-active .explorer__tab-no { background: linear-gradient(135deg, var(--brand), var(--accent)); }
.explorer__tab-text { display: flex; flex-direction: column; line-height: 1.3; }
.explorer__tab-title { font-weight: 700; color: var(--ink); font-size: .98rem; }
.explorer__tab-stack { font-size: .78rem; color: var(--ink-soft); }

.explorer__progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-top: 8px;
}
.explorer__progress-bar {
  display: block;
  height: 100%;
  width: var(--p, 20%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .35s ease;
}
.explorer__progress-label { font-size: .82rem; color: var(--ink-soft); margin: 10px 2px 0; }
.explorer__progress-label b { color: var(--brand); }

.explorer__panels { position: relative; }
.explorer__panel {
  display: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 34px;
  animation: panelIn .35s ease both;
}
.explorer__panel.is-active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .explorer__panel { animation: none; } }

.explorer__panel-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.explorer__panel h3 { font-size: 1.5rem; margin-bottom: 14px; }
.explorer__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.explorer__chips .chip {
  color: var(--brand);
  background: var(--surface-alt);
  border-color: var(--line);
}
.explorer__chips .chip::before { background: var(--brand); }
.explorer__panel p { color: var(--ink-soft); }

.explorer__outcomes {
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.explorer__outcomes li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
  font-size: .96rem;
}
.explorer__outcomes li::before {
  content: "→";
  flex: none;
  color: var(--accent);
  font-weight: 800;
}

.explorer__next {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.explorer__next:hover { background: var(--surface-alt); transform: translateX(3px); }
.explorer__next[hidden] { display: none; }

/* ---- Outcomes grid ---- */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-top: 40px;
}
.outcome {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.outcome__n { font-size: .8rem; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.outcome p { margin: 8px 0 0; color: var(--ink-soft); font-size: .96rem; }

/* ---- Included features ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin-top: 36px;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 13px;
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.feature__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(241,90,34,.25), rgba(255,184,28,.25));
}
.feature span { color: #e2e8f0; font-weight: 600; font-size: .95rem; }

@media (max-width: 960px) {
  .course-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__rail { position: static; flex-direction: column; }
}

/* ===================================================================
   Reviews page
   =================================================================== */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.reviews-summary__score { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.reviews-summary__stars { color: #f5a524; letter-spacing: 2px; font-size: 1.1rem; }
.reviews-summary__meta { color: var(--ink-soft); font-size: .92rem; }

.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 26px;
}
.review-filters__btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.review-filters__btn:hover { border-color: #c9d4e6; }
.review-filters__btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.reviews-grid {
  columns: 3 300px;
  column-gap: 22px;
}
.review-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card[hidden] { display: none; }
.review-card .stars {
  color: #f5a524;
  letter-spacing: 2px;
  font-size: .95rem;
  margin-bottom: 12px;
}
.review-card blockquote {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}
.review-card__person { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.review-card__name { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.review-card__role { color: var(--ink-soft); font-size: .82rem; }

.reviews-empty { color: var(--ink-soft); padding: 20px 2px; }
.reviews-empty[hidden] { display: none; }

@media (max-width: 720px) {
  .reviews-grid { columns: 1; }
}

/* reviews: search + expandable cards */
.reviews-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 34px 0 24px;
}
.reviews-search {
  flex: 1 1 260px;
  max-width: 380px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
}
.reviews-search:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.reviews-count { color: var(--ink-soft); font-size: .9rem; }
.reviews-source { color: var(--ink-soft); font-size: .9rem; margin-top: 10px; }

.review-card__date { color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.review-card blockquote.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card__more {
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.review-card__more:hover { text-decoration: underline; }

.reviews-summary { align-items: flex-start; }
.reviews-summary__meta { margin: 0; }
.reviews-summary__actions { margin: 14px 0 0; }
.reviews-summary__actions .btn { padding: 10px 20px; font-size: .9rem; }

/* ---------- Home testimonials ---------- */
.testimonials {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-top: 40px;
}
.testimonial {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial .stars { color: #f5a524; letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 18px; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .9rem;
}
.testimonial__who { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial__who strong { font-size: .92rem; color: var(--ink); }
.testimonial__meta { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Brand logo (dct.png) ---------- */
.brand__logo { height: 58px; width: auto; display: block; }
/* footer sits on a dark ground — the logo's dark wordmark needs a light chip */
.site-footer .brand__logo {
  height: 56px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
}
@media (max-width: 860px) {
  .brand__logo { height: 46px; }
  .site-footer .brand__logo { height: 46px; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .55), 0 2px 8px rgba(0, 0, 0, .2);
}
.wa-float:focus-visible { outline: 3px solid #128c7e; outline-offset: 3px; }
.wa-float svg { display: block; }
@media (max-width: 860px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ===================================================================
   Full mobile responsiveness
   =================================================================== */
html, body { overflow-x: clip; }

/* fix: with the mobile hamburger, keep the toggle pinned to the right */
@media (max-width: 860px) {
  .nav__toggle { margin-left: auto; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  .section { padding: 54px 0; }
  .section--tight { padding: 40px 0; }

  .hero { padding: 90px 0 60px; }
  .hero__inner { gap: 30px; }
  .hero p { font-size: 1.04rem; }
  .hero__note { flex-wrap: wrap; }
  .hero__actions { width: 100%; }
  .hero__actions .btn,
  .course-hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  .page-hero { padding: 62px 0 52px; }

  .code-card { max-width: 100%; }
  .code-card__body { font-size: .8rem; padding: 18px; }

  .card, .contact-card, .review-card, .testimonial,
  .module, .trainer, .explorer__panel, .reviews-summary { padding: 20px; }

  .module__no { height: 56px; width: 56px; font-size: 1.4rem; }

  .cta-band { padding: 30px 20px; }
  .cta-band h2 { font-size: 1.45rem; }

  .map-embed iframe { height: 280px; }

  .reviews-toolbar { flex-direction: column; align-items: stretch; }
  .reviews-search { max-width: none; }
  .reviews-grid { column-gap: 0; }

  .stats { gap: 16px; }
  .hero__trust { gap: 10px 18px; }

  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .brand__logo { height: 40px; }
  .site-footer .brand__logo { height: 40px; }
  .hero { padding: 84px 0 52px; }
  .explorer__tab { padding: 12px; gap: 10px; }
  .pills li { font-size: .88rem; padding: 8px 14px; }
}

/* ---------- Enquiry form ---------- */
.enquiry-form {
  max-width: 620px;
  margin: 36px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: grid;
  gap: 18px;
}
.enquiry-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.enquiry-form__field { display: grid; gap: 6px; }
.enquiry-form__field > span { font-weight: 600; font-size: .9rem; color: var(--ink); }
.enquiry-form__field > span small { font-weight: 400; color: var(--ink-soft); }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
}
.enquiry-form textarea { resize: vertical; }
.enquiry-form input:focus-visible,
.enquiry-form select:focus-visible,
.enquiry-form textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.enquiry-form__captcha-row { display: flex; gap: 10px; }
.enquiry-form__captcha-row input { max-width: 140px; }
.captcha-refresh {
  flex: none;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.captcha-refresh:hover { color: var(--brand); border-color: var(--brand); }
.enquiry-form__err { color: #c62828; font-size: .82rem; font-style: normal; min-height: 1em; }
.enquiry-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enquiry-form__submit { justify-self: start; margin-top: 4px; }
.enquiry-form__submit[disabled] { opacity: .6; cursor: progress; }
.enquiry-form__status { margin: 0; font-size: .92rem; font-weight: 600; }
.enquiry-form__status.is-ok { color: #1b7f4b; }
.enquiry-form__status.is-error { color: #c62828; }

@media (max-width: 560px) {
  .enquiry-form { padding: 22px; }
  .enquiry-form__grid { grid-template-columns: 1fr; }
  .enquiry-form__submit { width: 100%; justify-self: stretch; text-align: center; justify-content: center; }
}

/* ---------- Enrol / enquiry modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px;
  overflow-y: auto;
}
.modal[hidden] { display: none; }   /* stay closed until "Enrol Now" is clicked */
.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 18, 14, .55);
  backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  animation: modalIn .22s ease both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal__panel { animation: none; } }
.modal__panel h2 { margin: 0 0 6px; font-size: 1.4rem; }
.modal__sub { margin: 0 0 20px; color: var(--ink-soft); font-size: .95rem; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background: var(--line); color: var(--ink); }

/* form inside the modal: drop the standalone card chrome */
.enquiry-form--modal {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  max-width: none;
}

@media (max-width: 560px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__panel { max-width: none; min-height: 100%; border-radius: 0; padding: 24px 20px 32px; }
}

/* enquiry/hire form: preferred-contact radios + conditional field */
.enquiry-form__field[hidden] { display: none; }
.enquiry-form__radio { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.enquiry-form__radio legend { padding: 0; font-weight: 600; font-size: .9rem; color: var(--ink); }
.enquiry-form__radio-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.enquiry-form__radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .95rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.enquiry-form__radio-row input { accent-color: var(--brand); width: auto; }

/* ---------- Hire / recruiters page ---------- */
.hire-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 20px;
  text-align: center;
  margin-top: 40px;
}
.hire-stats .stat__num { font-size: 2.1rem; font-weight: 800; color: var(--brand); }
.hire-stats .stat__label { color: var(--ink-soft); font-size: .92rem; }

.hire-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}
.hire-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hire-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  margin-bottom: 14px;
}
.hire-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hire-step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contact page layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr .8fr;
  gap: 40px;
  align-items: start;
}
.contact-layout__form .enquiry-form { max-width: none; margin: 18px 0 0; }
.contact-layout__info {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.contact-info__title { font-size: 1.15rem; margin-bottom: 18px; }
.contact-info { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.contact-info li { display: grid; gap: 3px; }
.contact-info__k {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-info li a,
.contact-info li address,
.contact-info li span:not(.contact-info__k) {
  font-size: 1rem;
  font-style: normal;
  color: var(--ink);
}
.contact-info li a:hover { color: var(--brand); }
.contact-info__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-info__actions .btn { padding: 10px 18px; font-size: .9rem; }
.contact-map { margin-top: 44px; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-layout__info { position: static; }
}
