/* ==========================================================================
   training.html — page-specific styles (builds on styles.css tokens)
   ========================================================================== */

/* ---------- Hero collage ---------- */
.tr-collage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 520px; margin-left: auto; }
.tr-tile {
  position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.55); box-shadow: 0 18px 40px rgba(10, 20, 60, .25);
}
.tr-tile img.tr-icon { width: 44%; height: auto; }
.tr-tile--a { border-radius: 140px 140px 22px 22px; background: linear-gradient(160deg, rgba(214,231,245,.85), rgba(187,215,238,.65)); }
.tr-tile--b { border-radius: 22px; background: var(--dark-blue-10); }
.tr-tile--b img.tr-photo { width: 100%; height: 100%; object-fit: cover; }
.tr-tile--c { border-radius: 22px; background: var(--dark-blue); }
.tr-tile--c img.tr-photo { width: 100%; height: 100%; object-fit: cover; }
.tr-tile--d { border-radius: 22px 140px 140px 22px; background: rgba(255,255,255,.92); }
.tr-tile__tag {
  position: absolute; left: 14px; bottom: 14px; font-family: var(--font-accent); font-weight: 600; font-size: .8rem;
  padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--dark-blue); box-shadow: 0 6px 16px rgba(10,20,60,.18);
}
.tr-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.tr-dot--1 { width: 72px; height: 72px; right: -22px; top: -22px; background: rgba(187,215,238,.55); }
.tr-dot--2 { width: 48px; height: 48px; left: -18px; bottom: 30px; background: rgba(255,255,255,.35); }

/* ---------- Stats band ---------- */
.tr-stats { background: var(--dark-blue); color: #fff; padding: clamp(36px, 5vw, 52px) 0; }
.tr-stats .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tr-stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.05; }
.tr-stat span { font-family: var(--font-accent); color: var(--blue-35); font-size: 1rem; }

/* ---------- Icon chip used on cards ---------- */
.tr-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-10); color: var(--dark-blue); display: grid; place-items: center; margin-bottom: 18px; }
.tr-ico svg { width: 26px; height: 26px; }
.tr-ico img { width: 34px; height: 34px; }
.tr-ico--dark { background: var(--dark-blue); color: #fff; }

/* ---------- Checklists ---------- */
.tr-check { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 14px; }
.tr-check li { display: flex; gap: 12px; align-items: flex-start; }
.tr-check li::before { content: "✓"; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .17rem; font-weight: 700; display: grid; place-items: center; }
.tr-check b { font-family: var(--font-accent); color: var(--dark-blue); }
.section--dark .tr-check b { color: #fff; }
.section--dark .tr-check li { color: var(--dark-blue-10); }

/* ---------- Delivery formats ---------- */
.tr-formats { display: grid; gap: 14px; margin: 24px 0 30px; }
.tr-format { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.tr-format .tr-ico { margin: 0; flex: none; width: 46px; height: 46px; }
.tr-format h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tr-format p { margin: 0; color: var(--text-muted); font-size: .98rem; }

.tr-visual { position: relative; --corner-offset: 16px; border-radius: 24px; background: var(--gradient-diag); aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; }
.tr-visual__grid { display: grid; grid-template-columns: repeat(2, 96px); gap: 18px; }
.tr-visual__grid span { width: 96px; height: 96px; border-radius: 22px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.tr-visual__grid img { width: 56px; height: 56px; }

/* ---------- Pathways ---------- */
.tr-pathway .path-head { margin-bottom: 18px; }
.tr-pathway .tr-ico { margin: 0; }
.tr-num { font-family: var(--font-accent); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.tr-pathway--planned { border-style: dashed; border-color: var(--dark-blue-35); }
.tr-pathway-cta { justify-content: center; }
.tr-pathway-cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Lessons ---------- */
.tr-lesson { position: relative; }
.tr-lesson__n {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  background: var(--gradient); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.tr-lesson p { color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tr-collage { margin: 0 auto; }
}
@media (max-width: 1020px) {
  .tr-stats .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .tr-collage { gap: 12px; }
  .tr-tile__tag { left: 10px; bottom: 10px; font-size: .72rem; }
  .tr-visual__grid { grid-template-columns: repeat(2, 72px); }
  .tr-visual__grid span { width: 72px; height: 72px; }
  .tr-visual__grid img { width: 42px; height: 42px; }
}

/* Coming-soon pathway cards */
.card--soon {
  background: rgba(36, 64, 142, .03);           /* very pale brand blue */
  border: 2px dashed var(--blue-35, #a9bde6);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.card--soon .tr-ico { opacity: .6; }
.card--soon .tr-num,
.card--soon h3 { color: var(--dark-blue); opacity: .75; }
.card--soon p { opacity: .8; }
.card--soon:hover { transform: none; box-shadow: none; }

.status-badge--soon {
  background: transparent;
  color: var(--dark-blue);
  border: 1.5px dashed var(--blue-35, #a9bde6);
}
