/* =========================================================================
   CORPORATE SOFTWARE TRAINING PROGRAMS — inner page
   Header/footer/consult are the shared components (folds.css), unmodified.
   Every content section below uses a shape none of the other inner pages
   use yet: a photo hero with an IDE/terminal-window mock-up (not a ticket
   or a bento wall), a stacked full-width "spec sheet" dossier for the three
   programs (not a 3-card grid), a mock terminal console printing the
   selling points as output lines (not a marquee or badge cluster), a
   horizontal connected path for the delivery modes (not a diagonal
   cascade), and a lettered manifest/roster list for who it's for (not a
   scattered badge cluster or icon grid).
   ========================================================================= */

/* --- hero: a real photo behind the copy + an IDE/terminal window ----------- */
.cs-hero {
  position: relative;
  padding: clamp(9rem, 18vw, 12rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  background: var(--void);
  overflow: hidden;
}
.cs-hero-plate { position: absolute; inset: 0; z-index: 0; }
.cs-hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero-plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--void-rgb), 0.55) 0%, rgba(var(--void-rgb), 0.82) 60%, var(--void) 100%),
    linear-gradient(90deg, rgba(var(--void-rgb), 0.62) 0%, transparent 55%),
    radial-gradient(50rem 30rem at 100% 100%, rgba(var(--gold-rgb), 0.1), transparent 60%);
}
.cs-hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.cs-crumb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: var(--fs-xs);
  color: var(--ink-quiet);
}
.cs-crumb a { color: var(--ink-mid); text-decoration: none; }
.cs-crumb a:hover { color: var(--ink); }
.cs-crumb b { color: var(--ink); font-weight: 600; }
.cs-hero .numbers-tag { display: inline-flex; width: fit-content; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.cs-hero-h {
  margin: 0 0 0.6rem;
  max-width: 16ch;
  font-family: var(--font-poster);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.cs-hero-sub {
  margin: 0 0 1.25rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--gold);
}
.cs-hero-lead {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-mid);
}
.cs-hero-ctas { display: flex; flex-wrap: wrap; gap: clamp(0.75rem, 2vw, 1.25rem); }

/* --- shared section head ----------------------------------------------------- */
.cs-h {
  margin: 0.5rem 0 0;
  font-family: var(--font-poster);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
}

/* --- available training programs: a stacked "spec sheet" dossier ----------- */
.cs-programs { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--surface); }
.cs-programs-head { max-width: var(--page); margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.cs-programs-head .numbers-tag { display: inline-flex; width: fit-content; margin-bottom: 0.5rem; }
.cs-dossier { max-width: var(--page); margin: 0 auto; padding: 0; list-style: none; }
.cs-track {
  display: grid;
  grid-template-columns: clamp(4rem, 8vw, 7rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-bottom: var(--hair) solid rgba(var(--white-rgb), 0.12);
}
.cs-track:first-child { padding-top: 0; }
.cs-track:last-child { border-bottom: 0; padding-bottom: 0; }
/* an alternating zebra tint reads as a ledger of tracks, not a repeated card */
.cs-track:nth-child(even) { background: rgba(var(--white-rgb), 0.015); }
.cs-track-no {
  font-family: var(--font-poster);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--gold), var(--brand-lit));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-track-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(9rem, 16vw, 13rem);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.cs-track-text { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.cs-track-media {
  height: clamp(8rem, 15vw, 12rem);
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--hair) solid rgba(var(--white-rgb), 0.14);
}
.cs-track-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-track-outcomes-label {
  margin: 0.2rem 0 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.cs-track-outcomes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 60ch;
}
.cs-track-outcomes li {
  position: relative;
  padding-left: 1.2em;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-mid);
}
.cs-track-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--gold);
}
.cs-track-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
}
.cs-track-name {
  margin: 0;
  font-family: var(--font-poster);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.cs-track-dur {
  padding: 0.3em 0.85em;
  border-radius: var(--r-pill);
  border: var(--hair) solid rgba(var(--gold-rgb), 0.4);
  background: rgba(var(--gold-rgb), 0.1);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.cs-track-tools {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cs-track-tools li {
  padding: 0.35em 0.9em;
  border-radius: var(--r-pill);
  border: var(--hair) solid rgba(var(--white-rgb), 0.18);
  background: rgba(var(--white-rgb), 0.03);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}
.cs-track-for { margin: 0; max-width: 62ch; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-quiet); }
.cs-track-for span { font-weight: 700; color: var(--ink-mid); }

/* --- key selling points: the site's standard checkbox-tick checklist ------- */
.cs-console-section { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--void); }
.cs-console-head { max-width: var(--page); margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.cs-perks-list {
  max-width: 44rem;
  margin: 0 auto;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink);
}

/* --- delivery modes: a horizontal connected path --------------------------- */
.cs-modes { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--surface); }
.cs-modes-head { max-width: var(--page); margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.cs-modes-head .numbers-tag { display: inline-flex; width: fit-content; margin: 0 auto 0.5rem; }
.cs-mode-path {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}
/* a single connecting line runs behind the three stops, like a signal path */
.cs-mode-path::before {
  content: '';
  position: absolute;
  top: clamp(1.1rem, 2.4vw, 1.5rem);
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.5), rgba(var(--gold-rgb), 0.5));
  z-index: 0;
}
.cs-mode-stop {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.cs-mode-no {
  display: grid;
  place-items: center;
  width: clamp(2.2rem, 4.8vw, 3rem);
  height: clamp(2.2rem, 4.8vw, 3rem);
  border-radius: 50%;
  border: 2px solid rgba(var(--gold-rgb), 0.6);
  background: var(--surface-raised);
  font-family: var(--font-poster);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gold);
}
.cs-mode-label { margin: 0; max-width: 18ch; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; color: var(--ink); }
.cs-modes-note {
  max-width: var(--page);
  margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0;
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--ink-quiet);
  text-align: center;
}

/* --- who it's for: a lettered manifest/roster list -------------------------- */
.cs-audience { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--void); }
.cs-audience-head { max-width: var(--page); margin: 0 auto clamp(2rem, 4vw, 2.75rem); }
.cs-audience-head .numbers-tag { display: inline-flex; width: fit-content; margin-bottom: 0.5rem; }
.cs-roster { max-width: 52rem; margin: 0 auto; padding: 0; list-style: none; }
.cs-roster-row {
  display: flex;
  align-items: baseline;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.4vw, 1.5rem) 0;
  border-top: var(--hair) solid rgba(var(--white-rgb), 0.12);
}
.cs-roster-row:last-child { border-bottom: var(--hair) solid rgba(var(--white-rgb), 0.12); }
.cs-roster-letter {
  flex: none;
  font-family: var(--font-poster);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--brand-lit);
}
.cs-roster-label { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-mid); }
.cs-audience-note {
  max-width: 52rem;
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--ink-quiet);
}

/* --- our institute is your ideal choice: centred head + badge cluster,
   ported from the demo-class page (dc-why/dc-badges) --------------------- */
.cs-why { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--surface); }
.cs-why-head { max-width: 62ch; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.cs-why-head .numbers-tag { display: inline-flex; width: fit-content; margin: 0 auto 0.5rem; }
.cs-why-lead { margin: 1rem 0 0; font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-mid); }
.cs-badges {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 1rem;
}
.cs-badge {
  padding: 0.85em 1.3em;
  border-radius: var(--r-pill);
  border: var(--hair) solid rgba(var(--white-rgb), 0.18);
  background: rgba(var(--white-rgb), 0.03);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--t-1) var(--ease), transform var(--t-1) var(--ease), background-color var(--t-1) var(--ease);
}
.cs-badge:hover { border-color: rgba(var(--gold-rgb), 0.55); background: rgba(var(--gold-rgb), 0.08); }
.cs-badges li:nth-child(4n) { border-color: rgba(var(--brand-rgb), 0.3); }

/* --- closing copy+button band, matching .call-inner ------------------------- */
.cs-close { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--void); }
.cs-close-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
}
.cs-close-copy p { margin: 0.75rem 0 0; max-width: 58ch; font-size: var(--fs-body); line-height: 1.6; color: var(--ink-mid); }
.cs-close-btn { flex: none; }

@media (max-width: 900px) {
  .cs-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-track { grid-template-columns: 1fr; gap: 0.75rem; }
  .cs-track-body { grid-template-columns: minmax(0, 1fr); }
  .cs-track-media { order: -1; max-width: 26rem; }
  .cs-close-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .cs-mode-path { grid-template-columns: 1fr; }
  .cs-mode-path::before { top: 0; bottom: 0; left: calc(1.1rem - 1px); right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.5), rgba(var(--gold-rgb), 0.5)); }
  .cs-mode-stop { flex-direction: row; text-align: left; }
  .cs-mode-label { max-width: none; }
}
