/* Foxeffex – Learning & Training page styles
   Loaded after styles.css. Uses the same variables, buttons, cards,
   chips and CTA block, so this file only adds what the page needs. */

/* Shorter hero for an inner page */
.hero-compact {
  padding: 96px 0 104px;
}

.hero-compact .hero-copy {
  max-width: 680px;
}

/* Small label above each of the three areas */
.area-label {
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.sub-title {
  margin: 56px 0 24px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- 1. Service cards ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid .card {
  border-top-width: 3px;
  box-shadow: none;
}

.service-grid .card-title {
  font-size: 1.1rem;
}

/* WHY / WHEN / WHO / VALUE */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.panel {
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-title {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.panel p {
  color: var(--muted);
}

.panel .chip-list {
  gap: 10px;
}

.panel .chip {
  font-size: 0.92rem;
  padding: 8px 14px;
}

/* ---------- 2. Training table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.training-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.training-table th,
.training-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.training-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.training-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.training-table tbody tr:nth-child(even) td {
  background: var(--surface-alt);
}

.training-table tbody td:first-child {
  font-weight: 700;
  color: var(--navy);
}

.training-table tbody td {
  color: var(--ink);
}

/* Delivery options */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.delivery {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}

.delivery-name {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--navy);
}

.delivery p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- 3. L&D process flow ---------- */

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--navy);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
}

.flow-arrow {
  color: var(--green);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .service-grid-3 {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .hero-compact {
    padding: 72px 0 80px;
  }
}
