/* =========================================================
   All Courses page (all-services.html) — parts only this page uses.
   Shared parts come from home.css + camp.css (sections, form box, checks).
   ========================================================= */

/* ---------- Hero: text left, "how do you want to learn?" chooser right ---------- */
.sv-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.sv-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 75% at 85% 20%, rgba(216, 176, 81, .18), transparent 60%); }
.sv-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.sv-hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 580px; }
.sv-hero h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; }
.sv-hero__tag { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--gold); font-size: 20px; margin: 0; }

.sv-pick { background: #fff; color: var(--ink); border-radius: 28px; padding: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .28); }
.sv-pick h2 { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.sv-pick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-pick a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, background-color .15s; }
.sv-pick a:hover { border-color: var(--navy); background: var(--gold-wash); color: var(--ink); }
.sv-pick a::after { content: "→"; font-weight: 800; color: var(--gold-text); }
.sv-pick__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.sv-pick b { display: block; font-size: 16px; }
.sv-pick small { display: block; font-size: 13px; color: var(--body); }
.sv-pick li:last-child a { border-style: dashed; }
.sv-pick li:last-child .sv-pick__icon { background: var(--gold); color: var(--ink); }

/* ---------- Four ways to study ---------- */
.sv-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sv-way { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.sv-way:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(27, 47, 94, .12); }
.sv-way__img { background: var(--ph); min-height: 260px; }
.sv-way__img img { width: 100%; height: 100%; object-fit: cover; }
.sv-way__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.sv-way__tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: #7A5A12; background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.sv-way h3 { font-size: 22px; font-weight: 900; }
.sv-way p { font-size: 15px; color: var(--body); }
.sv-way ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; flex: 1; }
.sv-way ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.sv-way ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.sv-way__more { margin-top: 6px; font-weight: 800; color: var(--navy); text-decoration: none; }
.sv-way__more::after { content: " →"; }

/* ---------- By learner (same cards as the homepage, as links) ---------- */
.sv-learners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sv-learner { display: flex; flex-direction: column; gap: 10px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 22px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sv-learner:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(27, 47, 94, .12); border-color: var(--navy); color: var(--ink); }
.sv-learner__img { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--ph); margin-bottom: 6px; }
.sv-learner__img img { width: 100%; height: 100%; object-fit: cover; }
.sv-learner__tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: #7A5A12; background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.sv-learner b { font-size: 20px; font-weight: 900; padding: 0 4px; }
.sv-learner > span:not([class]) { font-size: 14px; color: var(--body); flex: 1; padding: 0 4px; }
.sv-learner__cta { font-weight: 800; font-size: 14px; color: var(--navy); padding: 0 4px; }
.sv-learner__cta::after { content: " →"; }

/* ---------- Every course includes ---------- */
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: sv; }
.sv-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; counter-increment: sv; }
.sv-steps li::before { content: counter(sv); width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.sv-steps b { font-size: 18px; }
.sv-steps span { font-size: 14px; color: var(--body); }
.sv-skills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.sv-skills h3 { font-size: 15px; font-weight: 800; margin-right: 6px; }
.sv-skills span { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }

/* ---------- Compare table ---------- */
.sv-compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sv-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.sv-compare th, .sv-compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sv-compare tr:last-child th, .sv-compare tr:last-child td { border-bottom: 0; }
.sv-compare thead th { background: var(--navy); color: #fff; font-size: 16px; font-weight: 800; }
.sv-compare thead th a { color: var(--gold); text-decoration: none; }
.sv-compare thead th a:hover { text-decoration: underline; color: var(--gold); }
.sv-compare tbody th { width: 150px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); background: var(--soft); }
.sv-compare td { color: var(--ink); }
.sv-swipe { display: none; font-size: 13px; color: var(--body); margin-bottom: 8px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .sv-ways { grid-template-columns: 1fr; }
  .sv-learners, .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .sv-hero__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 72px; }
}
@media (max-width: 640px) {
  .sv-hero__inner { padding-top: 36px; }
  .sv-pick { padding: 20px; }
  .sv-way { grid-template-columns: 1fr; }
  .sv-way__img { min-height: 0; height: 190px; }
  .sv-learners, .sv-steps { grid-template-columns: 1fr; }
  .sv-swipe { display: block; }
}
