/* ==========================================================================
   GENERAL EDUTECH CENTRE — COURSES ROUTE MAP & TICKETS ARCHITECTURE
   Handcrafted, Human-Centered Editorial Architecture & Interactive System
   Visual System: Paper & Mist with Spreadsheet Grid, Selection Rectangle,
   Navy (#12234A), Crimson (#C4162A), Amber (#B7791F), Teal (#0E7C86),
   Violet (#5B3FA0), Sheet Green (#1E7B4F)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Custom Variables & Reset Guard
   -------------------------------------------------------------------------- */
:root {
  --line-crimson: #C4162A;
  --line-navy: #12234A;
  --line-green: #1E7B4F;
  --line-amber: #B7791F;
  --line-teal: #0E7C86;
  --line-violet: #5B3FA0;

  --bg-paper: #FBFBFC;
  --bg-mist: #F1F5F9;
  --bg-grid-line: rgba(18, 35, 74, 0.05);

  --shadow-navy-card: 0 4px 20px rgba(18, 35, 74, 0.07), 0 1px 3px rgba(18, 35, 74, 0.04);
  --shadow-navy-hover: 0 12px 30px rgba(18, 35, 74, 0.12), 0 2px 6px rgba(18, 35, 74, 0.06);
  --shadow-cell-select: 0 0 0 2px #FFFFFF, 0 0 0 4px #1E7B4F, 0 8px 24px rgba(30, 123, 79, 0.18);
}

.courses-page-main {
  background-color: var(--bg-paper);
  color: #334155;
  font-family: 'Hind Vadodara', -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Visually Hidden Utility for Screen Readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION (Compact, Paper-to-Mist with Faint Grid)
   -------------------------------------------------------------------------- */
.courses-hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-paper) 60%, var(--bg-mist) 100%);
  background-image: 
    linear-gradient(to right, var(--bg-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--border-light, #E2E8F0);
  padding: 22px 0 16px 0;
}

/* Faint 6% route line decorative overlay */
.courses-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: 
    radial-gradient(circle at 15% 30%, #C4162A 10%, transparent 12%),
    radial-gradient(circle at 45% 70%, #1E7B4F 10%, transparent 12%),
    radial-gradient(circle at 75% 40%, #0E7C86 10%, transparent 12%),
    radial-gradient(circle at 90% 80%, #5B3FA0 10%, transparent 12%);
  background-size: 100% 100%;
}

.hero-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 12px;
}

.hero-title-wrap {
  flex: 1;
  min-width: 280px;
}

.courses-hero-h1 {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: var(--navy, #12234A);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 6px;
  word-break: break-word;
}

.courses-hero-sub {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.5;
  color: #475569;
  max-width: 660px;
  margin: 0;
}

/* Child Switch Toggle */
.hero-child-switch-wrap {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 7px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(18, 35, 74, 0.04);
}

.child-switch-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.child-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.child-switch-track {
  width: 38px;
  height: 22px;
  background: #CBD5E1;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  transition: background-color 200ms ease;
}

.child-switch-thumb {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.child-switch-input:checked + .child-switch-track {
  background-color: var(--crimson, #C4162A);
}

.child-switch-input:checked + .child-switch-track .child-switch-thumb {
  transform: translateX(16px);
}

.child-switch-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy, #12234A);
}

/* "I am..." Chips Bar */
.hero-chips-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.chips-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy, #12234A);
}

.chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chip-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 180ms ease;
  box-shadow: 0 1px 3px rgba(18, 35, 74, 0.04);
  max-width: 100%;
}

.hero-chip-btn:hover {
  border-color: var(--navy, #12234A);
  color: var(--navy, #12234A);
  background: #F8F9FB;
}

.hero-chip-btn.is-active {
  background: var(--navy, #12234A);
  border-color: var(--navy, #12234A);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(18, 35, 74, 0.2);
}

/* Recommendation Line under Chips */
.hero-rec-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  background: #FFFFFF;
  border-left: 4px solid var(--crimson, #C4162A);
  padding: 7px 14px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 8px rgba(18, 35, 74, 0.04);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.rec-icon {
  font-weight: 800;
  color: var(--crimson, #C4162A);
}

.rec-text {
  flex: 1;
  color: #1F2933;
  font-weight: 500;
}

.rec-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.rec-view-btn {
  background: rgba(196, 22, 42, 0.08);
  border: 1px solid rgba(196, 22, 42, 0.25);
  color: var(--crimson, #C4162A);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 150ms ease;
}

.rec-view-btn:hover {
  background: var(--crimson, #C4162A);
  color: #FFFFFF;
}

.rec-wa-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #047857;
  text-decoration: underline;
}

/* Trust Bar & Quiz Link */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-pills-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.trust-pill svg {
  color: var(--line-green);
  flex-shrink: 0;
}

.trust-pill-sep {
  color: #94A3B8;
}

.hero-quiz-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy, #12234A);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.hero-quiz-link:hover {
  color: var(--crimson, #C4162A);
}

/* --------------------------------------------------------------------------
   2. THE ROUTE MAP (Section & Desktop Grid)
   -------------------------------------------------------------------------- */
.route-map-section {
  padding: 24px 0 44px 0;
  background-color: var(--bg-paper);
  position: relative;
}

.map-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.map-heading {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  font-weight: 700;
  color: var(--navy, #12234A);
  margin-bottom: 4px;
}

.map-sub {
  font-size: 0.95rem;
  color: #64748B;
  margin: 0;
}

.map-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.skill-filter-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0369A1;
}

.skill-pill-clear-btn {
  background: none;
  border: none;
  color: #0369A1;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  text-decoration: underline;
}

.sort-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy, #12234A);
  cursor: pointer;
  transition: all 150ms ease;
}

.sort-toggle-btn:hover {
  background: #F8F9FA;
  border-color: var(--navy, #12234A);
}

/* DESKTOP ROUTE MAP GRID (>= 1100px) */
.route-map-desktop {
  display: none;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-navy-card);
  margin-bottom: 28px;
  position: relative;
}

@media (min-width: 1100px) {
  .route-map-desktop {
    display: block;
  }
  .route-map-mobile {
    display: none !important;
  }
}

/* Grid Header */
.map-grid-header {
  display: grid;
  grid-template-columns: 210px repeat(10, 1fr) 200px;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 12px;
  align-items: flex-end;
}

.col-header-course {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  padding-left: 10px;
}

.col-header-skill {
  background: none;
  border: none;
  padding: 4px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy, #12234A);
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 150ms ease;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-header-skill:hover {
  background: #F1F5F9;
  color: var(--crimson, #C4162A);
}

.col-header-skill.is-active-skill {
  background: var(--navy, #12234A);
  color: #FFFFFF;
}

.col-header-terminal {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  text-align: right;
  padding-right: 10px;
}

/* Grid Rows */
.map-grid-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.map-route-row {
  display: grid;
  grid-template-columns: 210px repeat(10, 1fr) 200px;
  gap: 6px;
  align-items: center;
  min-height: 56px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: opacity 250ms ease, background-color 180ms ease, border-color 180ms ease;
  outline: none;
}

.map-route-row:hover,
.map-route-row:focus-visible {
  background: #FBFBFC;
  border-color: #CBD5E1;
}

.map-route-row:focus-visible {
  box-shadow: var(--shadow-cell-select);
}

/* Dimming behavior */
.route-map-desktop.is-hovering .map-route-row:not(:hover):not(.is-selected),
.route-map-desktop.has-skill-filter .map-route-row.is-dimmed {
  opacity: 0.45;
}

.map-route-row.is-selected {
  background: #F8FAFC;
  border-color: #94A3B8;
  opacity: 1 !important;
  box-shadow: 0 4px 14px rgba(18, 35, 74, 0.06);
}

/* Specific Course Track Starting Points */
.map-route-row[data-course-id="advanced-excel"] { --track-start: 35%; }
.map-route-row[data-course-id="gst-taxation"]   { --track-start: 35%; }
.map-route-row[data-course-id="digital-skills-ai"] { --track-start: 75%; }
.map-route-row[data-course-id="tally-expert"]   { --track-start: 35%; }
.map-route-row[data-course-id="masters-in-computer"] { --track-start: 15%; }
.map-route-row[data-course-id="general-technocrat"] { --track-start: 5%; }

/* Left Col: Course Info */
.route-meta-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 8px;
}

.route-color-indicator {
  width: 8px;
  height: 26px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.route-name-wrap {
  display: flex;
  flex-direction: column;
}

.route-name {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy, #12234A);
  line-height: 1.25;
}

.route-duration-chip {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

/* Track Canvas & Stations */
.route-track-canvas {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: center;
  position: relative;
  height: 48px;
}

/* Lighter 2px dashed bar from row start to first station */
.route-track-canvas::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--track-start, 0%);
  height: 2px;
  margin-top: -1px;
  border-top: 2px dashed #CBD5E1;
  z-index: 1;
}

/* 6px rounded bar in line colour from first station to terminal */
.route-track-line {
  position: absolute;
  top: 50%;
  left: var(--track-start, 0%);
  right: 0;
  height: 6px;
  margin-top: -3px;
  border-radius: 6px;
  background-color: var(--line-color);
  z-index: 1;
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Load Moment Draw Animation */
@keyframes drawTrack {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.route-map-desktop.animate-draw .route-track-line {
  animation: drawTrack 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Reduced motion guard */
@media (prefers-reduced-motion: reduce) {
  .route-track-line,
  .route-cursor-token,
  .station-node,
  .terminal-flag-icon {
    animation: none !important;
    transition: none !important;
  }
}

/* Skill Station Cells & Interchange Links */
.route-station-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  z-index: 2;
}

/* Thin vertical dashed connector joining stations of the same skill across rows */
.route-station-cell::after {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 50%;
  width: 1px;
  border-left: 1px dashed rgba(203, 213, 225, 0.6);
  z-index: 0;
  pointer-events: none;
}

.station-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--line-color);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.station-node:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(18, 35, 74, 0.15);
}

/* Interchange Node (Shared by 2+ courses) */
.station-node.is-interchange {
  width: 34px;
  height: 34px;
  border-width: 3px;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--line-color);
}

.station-inner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--line-color);
  opacity: 0.85;
}

/* Sequential Lighting State on Selection */
.map-route-row.is-selected .station-node.lit {
  background-color: var(--line-color);
  box-shadow: 0 0 12px var(--line-color);
}

.map-route-row.is-selected .station-node.lit .station-inner-dot {
  background-color: #FFFFFF;
}

/* Station Tooltip */
.station-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1.4;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 210px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.station-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0F172A transparent transparent transparent;
}

.station-node:hover .station-tooltip,
.station-node:focus-visible .station-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Terminal Station & Jobs */
.route-terminal-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  justify-content: flex-start;
}

.terminal-flag-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line-color);
  flex-shrink: 0;
  transition: transform 300ms ease;
}

/* Terminal Flag Wave on selection */
@keyframes flagWave {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.25) rotate(-14deg); }
  70% { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.map-route-row.is-selected .terminal-flag-icon {
  animation: flagWave 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.terminal-jobs-text {
  font-size: 13px;
  line-height: 1.35;
  color: #475569;
  font-weight: 500;
}

/* Traveling Cursor Token */
.route-cursor-token {
  position: absolute;
  top: 50%;
  left: 210px;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--line-color);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-route-row.is-selected .route-cursor-token {
  display: flex;
}

.token-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line-color);
}

/* --------------------------------------------------------------------------
   DETAIL PANEL (Desktop - Below Map, Stable Fixed Minimum Height)
   -------------------------------------------------------------------------- */
.route-detail-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-navy-card);
  min-height: 320px;
  display: block;
}

.panel-inner-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .panel-inner-grid {
    grid-template-columns: 1fr;
  }
}

.panel-header-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.panel-line-badge {
  width: 12px;
  height: 28px;
  border-radius: 9999px;
  display: inline-block;
}

.panel-course-title {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy, #12234A);
  line-height: 1.2;
}

.panel-summary-text {
  font-size: 18px;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 16px;
}

.panel-fact-pills,
.m-fact-pills-row,
.ticket-fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 20px;
}

.fact-pill,
.ticket-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--bg-mist);
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy, #12234A);
}

.panel-section-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  margin-bottom: 10px;
}

.panel-learn-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #334155;
  line-height: 1.5;
}

.panel-jobs-block {
  font-size: 14.5px;
  line-height: 1.5;
  color: #334155;
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.panel-jobs-block strong {
  color: var(--navy, #12234A);
}

/* Panel Right Col */
.panel-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-fee-card {
  background: var(--bg-paper);
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.fee-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  display: block;
  margin-bottom: 4px;
}

.fee-val-text {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy, #12234A);
  margin-bottom: 4px;
}

.fee-note {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
}

.panel-actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Primary, Secondary, Sample Action Buttons */
.btn-primary-action {
  background-color: var(--crimson, #C4162A);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 180ms ease;
  box-shadow: 0 2px 8px rgba(196, 22, 42, 0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-action:hover {
  background-color: #A01222;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 22, 42, 0.35);
}

.btn-secondary-action {
  background-color: #FFFFFF;
  color: var(--navy, #12234A);
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 180ms ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-action:hover {
  border-color: var(--navy, #12234A);
  background-color: #F8FAFC;
}

.btn-sample-action,
.btn-sample-trigger,
.btn-sample-link {
  background: none;
  border: 1px dashed var(--line-amber);
  color: #92400E;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
  text-align: center;
}

.btn-sample-action:hover,
.btn-sample-trigger:hover,
.btn-sample-link:hover {
  background: #FFFBEB;
  border-style: solid;
}

/* --------------------------------------------------------------------------
   3. MOBILE & TABLET ROUTE CARDS (< 1100px)
   -------------------------------------------------------------------------- */
.route-map-mobile {
  display: block;
}

.mobile-skills-filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-skills-filter-scroll::-webkit-scrollbar {
  display: none;
}

.m-skill-chip {
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 150ms ease;
}

.m-skill-chip.is-active {
  background: var(--navy, #12234A);
  color: #FFFFFF;
  border-color: var(--navy, #12234A);
}

.mobile-route-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m-route-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-navy-card);
  transition: border-color 200ms ease;
}

.m-route-card.is-open {
  border-color: #94A3B8;
  box-shadow: var(--shadow-navy-hover);
}

.m-route-header {
  width: 100%;
  display: flex;
  align-items: stretch;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.m-route-line-spine {
  width: 10px;
  flex-shrink: 0;
}

.m-route-title-col {
  flex: 1;
  padding: 16px 14px;
}

.m-route-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.m-route-name {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #12234A);
  margin: 0;
}

.m-route-duration {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  flex-shrink: 0;
}

.m-route-summary {
  font-size: 13.5px;
  line-height: 1.45;
  color: #475569;
  margin: 0 0 10px 0;
}

.m-stations-preview-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.m-terminal-shape-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid currentColor;
}

.m-route-chevron {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #94A3B8;
  font-size: 18px;
  font-weight: 700;
  transition: transform 200ms ease;
}

.m-route-card.is-open .m-route-chevron {
  transform: rotate(180deg);
}

.m-route-body {
  border-top: 1px solid #E2E8F0;
  padding: 18px 16px;
  background: var(--bg-paper);
}

.m-learn-box {
  margin-bottom: 16px;
}

.m-learn-box h4 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  margin-bottom: 8px;
}

.m-learn-box ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-jobs-box {
  font-size: 13.5px;
  color: #334155;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.m-actions-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-fee-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #12234A);
  text-align: center;
}

.m-btns-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   4. COURSE TICKETS (Section 3: Grid, Perforation Notches & Spine)
   -------------------------------------------------------------------------- */
.course-tickets-section {
  padding: 56px 0 64px 0;
  background-color: var(--bg-paper);
}

.tickets-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.tickets-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-filter-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 150ms ease;
}

.ticket-filter-chip:hover {
  border-color: var(--navy, #12234A);
}

.ticket-filter-chip.is-active {
  background: var(--navy, #12234A);
  border-color: var(--navy, #12234A);
  color: #FFFFFF;
}

/* Tickets Responsive Grid: 2 Cols >= 1100px, 1 Col Below */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 1099px) {
  .tickets-grid {
    grid-template-columns: 1fr;
  }
}

/* The Ticket Shape */
.course-ticket-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-navy-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.course-ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-navy-hover);
  border-color: #CBD5E1;
}

/* Left Ticket Spine */
.ticket-spine {
  width: 38px;
  background-color: var(--line-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.ticket-spine-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* Perforation Notches */
.ticket-notch {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--bg-paper);
  border-radius: 50%;
  left: 30px;
  z-index: 3;
}

.ticket-notch.notch-top {
  top: -8px;
  border-bottom: 1px solid #E2E8F0;
}

.ticket-notch.notch-bottom {
  bottom: -8px;
  border-top: 1px solid #E2E8F0;
}

/* Ticket Body */
.ticket-body {
  flex: 1;
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
}

.ticket-meta-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ticket-course-title {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy, #12234A);
  line-height: 1.22;
  margin: 0 0 4px 0;
}

.ticket-duration-sub {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

/* Compare Checkbox Control */
.ticket-compare-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy, #12234A);
}

.ticket-compare-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.compare-custom-box {
  width: 18px;
  height: 18px;
  border: 2px solid #94A3B8;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  transition: all 150ms ease;
}

.ticket-compare-checkbox:checked + .compare-custom-box {
  background-color: var(--line-green);
  border-color: var(--line-green);
}

.ticket-compare-checkbox:checked + .compare-custom-box::after {
  content: "✓";
  font-size: 12px;
  color: #FFFFFF;
  font-weight: 800;
}

.ticket-summary {
  font-size: 16px;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 16px;
}

.ticket-learn-section {
  margin-bottom: 14px;
}

.ticket-section-label {
  font-size: 13.5px;
  color: #64748B;
  display: block;
  margin-bottom: 6px;
}

.ticket-bullets-list {
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ticket-jobs-line {
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 18px;
}

.ticket-jobs-line strong {
  color: var(--navy, #12234A);
}

/* Perforation Divider Line */
.ticket-perforation-divider {
  border-top: 2px dashed #E2E8F0;
  margin: 0 -24px 18px -24px;
}

/* Ticket Footer Actions */
.ticket-footer-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-ticket-book {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
}

.btn-ticket-syllabus {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   STICKY COMPARE TRAY (Sits above mobile bottom bar)
   -------------------------------------------------------------------------- */
.sticky-compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #CBD5E1;
  box-shadow: 0 -4px 20px rgba(18, 35, 74, 0.12);
  padding: 12px 0;
  z-index: 1050;
  animation: slideUp 200ms ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 767px) {
  .sticky-compare-tray {
    bottom: 56px; /* Above mobile sticky bar */
  }
}

.compare-tray-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-tray-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.compare-tray-heading {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #12234A);
}

.compare-chips-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-mist);
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy, #12234A);
}

.compare-mini-remove {
  background: none;
  border: none;
  color: #64748B;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  line-height: 1;
}

.compare-tray-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-compare-clear {
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  text-decoration: underline;
}

.btn-compare-open {
  padding: 8px 18px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   5. THE LAB SECTION
   -------------------------------------------------------------------------- */
.lab-practical-section {
  padding: 64px 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.lab-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .lab-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.lab-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-navy-card);
  cursor: pointer;
}

.lab-main-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 300ms ease;
}

.lab-photo-card:hover .lab-main-img {
  transform: scale(1.02);
}

.lab-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 35, 74, 0.85);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.lab-highlight-sentence {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--crimson, #C4162A);
  font-weight: 600;
  margin-bottom: 24px;
}

.lab-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.lab-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #334155;
}

.lab-detail-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.lab-detail-item strong {
  display: block;
  color: var(--navy, #12234A);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.lab-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   6. FOR PARENTS SECTION
   -------------------------------------------------------------------------- */
.parents-corner-section {
  padding: 64px 0;
  background-color: var(--bg-paper);
}

.parents-header-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.parents-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .parents-qa-grid {
    grid-template-columns: 1fr;
  }
}

.parent-qa-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-navy-card);
  display: flex;
  flex-direction: column;
}

.parent-q-title {
  font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #12234A);
  line-height: 1.35;
  margin-bottom: 10px;
}

.parent-a-text {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 16px;
  flex: 1;
}

.parent-wa-btn {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   7. FAQ (NATIVE DETAILS / SUMMARY ACCORDION)
   -------------------------------------------------------------------------- */
.faq-clean-section {
  padding: 64px 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.faq-header-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.faq-accordion-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-native-item {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: var(--bg-paper);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-native-item[open] {
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(18, 35, 74, 0.04);
  background: #FFFFFF;
}

.faq-native-summary {
  padding: 18px 22px;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy, #12234A);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  user-select: none;
}

.faq-native-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 20px;
  font-weight: 700;
  color: #94A3B8;
  transition: transform 200ms ease;
}

.faq-native-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--crimson, #C4162A);
}

.faq-native-content {
  padding: 0 22px 20px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #475569;
}

.faq-native-content p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. FREE DEMO PASS (FINAL CTA & TICKET CONFIRMATION)
   Light Section (No Navy Full-Bleed)
   -------------------------------------------------------------------------- */
.demo-pass-section {
  padding: 68px 0 80px 0;
  background: linear-gradient(180deg, var(--bg-paper) 0%, #FFFFFF 100%);
  border-top: 1px solid #E2E8F0;
}

.demo-pass-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .demo-pass-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.demo-pass-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.pass-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #334155;
  font-weight: 500;
}

.bullet-check {
  color: var(--line-green);
  font-weight: 800;
}

.btn-whatsapp-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 150ms ease;
}

.btn-whatsapp-chat:hover {
  background: #DCFCE7;
}

/* Inline Ticket Form */
.demo-pass-ticket {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(18, 35, 74, 0.08);
  position: relative;
  overflow: hidden;
}

.pass-notch {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--bg-paper);
  border-radius: 50%;
  top: 50%;
  margin-top: -10px;
}

.pass-notch-top {
  left: -10px;
  border-right: 1px solid #E2E8F0;
}

.pass-notch-bottom {
  right: -10px;
  border-left: 1px solid #E2E8F0;
}

.pass-ticket-header {
  text-align: center;
  border-bottom: 2px dashed #E2E8F0;
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.pass-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crimson, #C4162A);
  display: block;
  margin-bottom: 4px;
}

.pass-title {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #12234A);
  margin: 0 0 2px 0;
}

.pass-location {
  font-size: 13px;
  color: #64748B;
}

.pass-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.pass-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #12234A);
}

.pass-input,
.pass-select {
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14.5px;
  color: #1F2933;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  background: #FFFFFF;
}

.pass-input:focus,
.pass-select:focus {
  outline: none;
  border-color: var(--line-green);
  box-shadow: 0 0 0 3px rgba(30, 123, 79, 0.15);
}

.btn-get-pass {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  margin-top: 6px;
}

/* Stamped Success State */
.pass-stamped-success {
  text-align: center;
  padding: 24px 0 10px 0;
  animation: fadeIn 300ms ease;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.pass-stamp-seal {
  display: inline-block;
  border: 3px double var(--line-green);
  color: var(--line-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 6px;
  transform: rotate(-5deg);
  margin-bottom: 16px;
}

.stamped-title {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #12234A);
  margin-bottom: 6px;
}

.stamped-name {
  font-size: 20px;
  font-weight: 700;
  color: #1F2933;
  margin-bottom: 4px;
}

.stamped-course {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stamped-center {
  font-size: 13.5px;
  color: #64748B;
  margin-bottom: 16px;
}

.stamped-note {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  background: #ECFDF5;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.btn-stamped-wa {
  display: inline-block;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   9. MODALS: COMPARE & SAMPLES
   -------------------------------------------------------------------------- */
.compare-modal-card {
  max-width: 900px !important;
  width: 95% !important;
}

.compare-modal-header {
  margin-bottom: 20px;
}

.compare-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border: 1px solid #E2E8F0;
  vertical-align: top;
  text-align: left;
}

.compare-table th {
  background: var(--bg-mist);
  color: var(--navy, #12234A);
  font-weight: 700;
  width: 20%;
}

.compare-table td {
  background: #FFFFFF;
  width: 26.6%;
}

.compare-table td strong {
  color: var(--navy, #12234A);
}

.sample-modal-card {
  max-width: 720px !important;
  width: 95% !important;
}

.sample-modal-header {
  margin-bottom: 18px;
}

.sample-intro-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crimson, #C4162A);
  display: block;
  margin-bottom: 4px;
}

.sample-intro-sentence {
  font-size: 15px;
  color: #475569;
}

.sample-sim-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #12234A);
  display: block;
  margin-bottom: 10px;
}

/* Reused Simulators Styling */
.tally-fkeys-strip,
.gst-portal-steps,
.ai-sim-tabs,
.technocrat-quarters-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tally-fkey-btn,
.gst-step-node,
.ai-sim-tab-btn,
.quarter-step-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 150ms ease;
}

.tally-fkey-btn.is-active,
.gst-step-node.is-active,
.ai-sim-tab-btn.is-active,
.quarter-step-btn.is-active {
  background: var(--navy, #12234A);
  border-color: var(--navy, #12234A);
  color: #FFFFFF;
}

.tally-voucher-card {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px;
}

.tally-voucher-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #CBD5E1;
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-weight: 700;
}

.tally-voucher-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.tally-vrow {
  display: flex;
  justify-content: space-between;
}

.tally-voucher-total {
  border-top: 1px solid #CBD5E1;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy, #12234A);
}

.excel-formula-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.excel-fx-label {
  font-weight: 700;
  color: #64748B;
}

.excel-mini-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.excel-mini-grid th,
.excel-mini-grid td {
  border: 1px solid #CBD5E1;
  padding: 6px 10px;
}

.excel-mini-grid th {
  background: #F8FAFC;
  font-weight: 600;
}

.excel-mini-grid .highlight-row td {
  background: #FEF3C7;
}

/* --------------------------------------------------------------------------
   10. MEDIA QUERIES (Mobile & Tablet Refinements)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero-chips-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .chips-list {
    width: 100%;
  }
  .hero-chip-btn {
    width: 100%;
    text-align: left;
  }
  .hero-rec-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tickets-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .tickets-filter-pills {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  .ticket-filter-chip {
    flex-shrink: 0;
  }
}
