/* Blackmon Tutoring — Test Prep page */

.testprep-page {
  --navy: #0b1f3f;
  --navy-2: #0d2243;
  --navy-3: #12294e;
  --blue: #5babe0;
  --blue-2: #3e8dc4;
  --blue-3: #5cabe0;
  --ink: #222222;
  --muted: #5d7089;
  --muted-2: #54647e;
  --border: #dfe7f0;
  --bg-light: #f4f8fc;
  --bg-input: #fbfcfe;
  --green-text: #2e9e6b;
  --green-bg: #e8f6ef;
  --font-heading: var(--font-merriweather), Georgia, serif;
  --font-body: var(--font-inter), Arial, sans-serif;
  color: var(--ink);
  font-family: var(--font-body);
}

.testprep-page * {
  box-sizing: border-box;
}

.testprep-page .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.testprep-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 0.2px solid var(--blue-2);
  background: rgba(62, 141, 196, 0.04);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 24px;
}

.testprep-page .eyebrow--on-dark {
  background: rgba(62, 141, 196, 0.1);
  color: var(--blue);
  border-color: var(--blue);
}

.testprep-page .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  flex-shrink: 0;
}

.testprep-page h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.36px;
  margin: 0 0 12px;
  text-align: center;
}

.testprep-page .section-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #e8f1f8; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue-2); }
.btn-outline-light { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-navy { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn-outline-navy:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7); }

/* ---------- HERO ---------- */

.testprep-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(175deg, #071229 0%, #0b1f3f 55%, #122a54 100%);
}

.testprep-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/results/assets/hero-bg.jpg");
  background-size: 1739px 652px;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.14;
}

.testprep-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7, 18, 41, 0.55) 0%, rgba(11, 31, 63, 0.55) 55%, rgba(18, 42, 84, 0.55) 100%);
}

.testprep-hero .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) 480px;
  gap: 60px;
  align-items: center;
}

.testprep-hero .hero-grid > * {
  min-width: 0;
}

.testprep-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1.04px;
  color: #fff;
  margin: 0 0 20px;
}

.testprep-hero .hero-copy {
  font-size: 18px;
  line-height: 1.55;
  color: #cbddf0;
  max-width: 500px;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Score projector card */

.score-card {
  background: var(--bg-light);
  border: 1px solid #fff;
  border-radius: 25px;
  overflow: hidden;
}

.score-card .score-header {
  background: var(--navy);
  padding: 20px 24px;
}

.score-card .score-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0 0 4px;
}

.score-card .score-header p {
  font-size: 13.5px;
  color: #cbddf0;
  margin: 0;
}

.score-card .score-body {
  padding: 24px 28px 28px;
}

.test-toggle {
  display: flex;
  background: #eaf0f6;
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 20px;
}

.test-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.test-toggle button {
  min-width: 0;
}

.test-toggle button.is-active {
  background: var(--navy);
  color: #fff;
}

.score-slider-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.score-slider-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.score-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 12px;
  background: #dce6f0;
  margin: 0 0 24px;
  cursor: pointer;
  display: block;
}

.score-slider:focus {
  outline: none;
}

.score-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 12px;
  background: transparent;
}

.score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-top: -5px;
  cursor: pointer;
}

.score-slider::-moz-range-track {
  height: 8px;
  border-radius: 12px;
  background: transparent;
}

.score-slider::-moz-range-progress {
  height: 8px;
  border-radius: 12px;
  background: var(--navy);
}

.score-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.score-projection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.score-projection .score-block {
  text-align: center;
}

.score-projection .score-block .value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}

.score-projection .score-block.is-projected .value {
  color: var(--green-text);
}

.score-projection .score-block .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--muted);
  text-transform: uppercase;
}

.score-projection .arrow {
  color: var(--blue-2);
  font-size: 20px;
}

.exam-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.exam-pill {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}

.score-card .form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}

/* ---------- EXAMS WE PREPARE FOR ---------- */

.testprep-exams {
  background: #fff;
  padding: 100px 0;
}

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

.exam-grid > * {
  min-width: 0;
}

.exam-card {
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exam-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(11, 31, 63, 0.25);
  border-color: var(--blue-2);
}

.exam-card.is-featured:hover {
  border-color: var(--blue);
}

.exam-card.is-featured {
  grid-column: span 2;
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  padding: 28px;
}

.exam-card .exam-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
}

.exam-card.is-featured .exam-name {
  font-size: 24px;
  color: #fff;
}

.exam-card .exam-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 12px;
}

.exam-card.is-featured .exam-desc {
  font-size: 15px;
  color: #cbddf0;
}

.exam-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-2);
  background: rgba(62, 141, 196, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.exam-card.is-featured .exam-badge {
  color: var(--blue);
  background: rgba(91, 171, 224, 0.15);
}

.exam-card .book-prep {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-2);
  text-decoration: none;
}

.exam-card.is-featured .book-prep {
  color: #fff;
}

/* ---------- WORKING BACKWARDS ---------- */

.testprep-process {
  background: var(--bg-light);
  padding: 100px 0;
}

.testprep-process .section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.process-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: center;
}

.process-grid > * {
  min-width: 0;
}

.process-photo {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
}

.process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.process-step:first-child {
  border-top: none;
  padding-top: 0;
}

.process-step .step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 6px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

/* ---------- STUDENT RESULTS ---------- */

.testprep-results {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  padding: 100px 0;
}

.testprep-results::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/results/assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}

.testprep-results::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7, 18, 41, 0.55) 0%, rgba(11, 31, 63, 0.55) 55%, rgba(18, 42, 84, 0.55) 100%);
}

.testprep-results .inner {
  position: relative;
  z-index: 1;
}

.testprep-results h2,
.testprep-results .section-lede {
  color: #fff;
}

.testprep-results .section-lede {
  color: #c9dcee;
}

.result-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  align-items: center;
  gap: 24px;
}

.result-row > * {
  min-width: 0;
}

.result-row .student-info .student-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.result-row .student-info .student-meta {
  font-size: 13.5px;
  color: var(--blue);
}

.result-track-wrap {
  position: relative;
}

.result-track-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.result-track-labels .score-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.result-track-labels .score-label {
  font-size: 11px;
  color: #9fb3cf;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-track {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
}

.result-track .fill {
  position: absolute;
  inset: 0;
  width: 70%;
  border-radius: 6px;
  background: var(--blue);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-gain {
  text-align: right;
}

.result-gain .gain-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--blue);
  display: block;
}

.result-gain .gain-label {
  font-size: 12.5px;
  color: #9fb3cf;
}

/* ---------- PREP TEAM ---------- */

.testprep-team {
  background: #fff;
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-grid > * {
  min-width: 0;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.team-card .team-photo {
  height: 200px;
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card .team-body {
  padding: 22px;
}

.team-card .team-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 10px;
}

.team-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---------- FORMAT ---------- */

.testprep-format {
  background: var(--bg-light);
  padding: 100px 0;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-grid > * {
  min-width: 0;
}

.format-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.format-card.is-best {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(11, 31, 63, 0.12);
}

.format-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-2);
  box-shadow: 0 16px 32px -16px rgba(11, 31, 63, 0.25);
}

.format-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 100px;
}

.format-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 8px 0 10px;
}

.format-card > p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 20px;
}

.format-specs {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.format-specs {
  min-width: 0;
}

.format-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.format-specs li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.format-specs .spec-label {
  color: var(--muted);
}

.format-specs .spec-value {
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}

/* ---------- PRACTICE UNDER PRESSURE (CTA) ---------- */

.testprep-cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 100px 0;
}

.testprep-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/results/assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}

.testprep-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7, 18, 41, 0.55) 0%, rgba(11, 31, 63, 0.55) 55%, rgba(18, 42, 84, 0.55) 100%);
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 60px;
  align-items: center;
}

.cta-grid > * {
  min-width: 0;
}

.testprep-cta h2 {
  color: #fff;
  font-size: 34px;
  text-align: left;
  margin: 0 0 16px;
}

.testprep-cta .section-lede {
  color: #cbddf0;
  text-align: left;
  margin: 0 0 28px;
}

.cta-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cta-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

.cta-checklist li:first-child {
  border-top: none;
}

.cta-checklist .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- FAQ + CONTACT (shared pattern) ---------- */

.testprep-faq {
  background: linear-gradient(90deg, rgba(232, 241, 248, 0.45), rgba(232, 241, 248, 0.45)), #fff;
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.faq-grid > * {
  min-width: 0;
}

.faq-grid .section-head,
.faq-grid h2,
.faq-grid .section-lede {
  text-align: left;
  margin-left: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faq-item .faq-question img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-item .faq-answer {
  font-size: 16px;
  line-height: 1.4;
  color: #222;
  margin-top: 12px;
  max-width: 90%;
}

.faq-item:not(.is-open) .faq-answer {
  display: none;
}

.faq-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(20, 40, 80, 0.25);
  padding: 40px;
}

.faq-card .eyebrow-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-2);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.faq-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.26px;
  margin: 0 0 8px;
}

.faq-card .form-sub {
  font-size: 16px;
  color: #222;
  margin: 0 0 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row > * {
  min-width: 0;
}

.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--navy);
  font-family: var(--font-body);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.faq-card .btn-submit {
  width: 100%;
  margin: 24px 0 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -8px rgba(91, 171, 224, 0.7);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-card .btn-submit:hover {
  background: var(--blue-2);
}

.faq-card .form-note {
  font-size: 13px;
  color: #5b6472;
  text-align: center;
  margin: 0;
}

/* ---------- SCORE PLAN MODAL ---------- */

.score-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 63, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.score-modal-overlay.is-open {
  display: flex;
}

.score-modal {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(11, 31, 63, 0.35);
}

.score-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-modal h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 8px;
}

.score-modal-summary {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-2);
  background: rgba(62, 141, 196, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin: 0 0 24px;
}

.score-modal .form-field {
  margin-bottom: 16px;
}

.score-modal .btn-submit {
  width: 100%;
  margin: 8px 0 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -8px rgba(91, 171, 224, 0.7);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.score-modal .btn-submit:hover {
  background: var(--blue-2);
}

.score-modal .form-note {
  font-size: 13px;
  color: #5b6472;
  text-align: center;
  margin: 0;
}

.score-modal-success {
  text-align: center;
  padding: 20px 0;
}

.score-modal-success .success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.score-modal-success h3 {
  margin-bottom: 8px;
}

.score-modal-success p {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}

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

@media (max-width: 1100px) {
  .testprep-hero .hero-grid,
  .process-grid,
  .cta-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .exam-card.is-featured {
    grid-column: span 2;
  }

  .result-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testprep-page .inner {
    padding: 0 24px;
  }
}

@media (max-width: 640px) {
  .exam-grid,
  .team-grid,
  .format-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .exam-card.is-featured {
    grid-column: span 1;
  }
}

/* ---------- SHARED QUIZ WIDGET (used on exam sub-pages) ---------- */

/* Quiz card */

.quiz-card {
  background: var(--bg-light);
  border: 1px solid #fff;
  border-radius: 25px;
  overflow: hidden;
}

.quiz-card .quiz-header {
  background: var(--navy);
  padding: 24px 24px 20px;
}

.quiz-progress-track {
  height: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 33%;
  border-radius: 12px;
  background: linear-gradient(90deg, #071229 0%, #0b1f3f 20%, #122a54 45%, #5cabe0 67%, #85ceff 100%);
}

.quiz-card .quiz-body {
  padding: 20px 28px 38px;
  position: relative;
}

.quiz-step {
  display: flow-root;
}

.quiz-step[hidden] {
  display: none;
}

.quiz-card .quiz-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 4px;
}

.quiz-card .quiz-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 20px;
}

.quiz-card .quiz-timer {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 15px;
  color: var(--navy);
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.quiz-option {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e9e9e9;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.quiz-option:hover {
  border-color: var(--blue-3);
}

.quiz-option--fixed {
  flex-grow: 0;
}

.quiz-option.is-selected {
  background: var(--blue-3);
  border-color: var(--blue-3);
  color: var(--navy);
}

.quiz-continue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  border: 1px solid #e9e9e9;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  padding: 0 20px;
  border-radius: 6px;
  float: right;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.quiz-continue:hover {
  background: var(--blue-2);
}

.quiz-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.quiz-back:hover {
  color: var(--navy);
}

.quiz-step + .quiz-step {
  margin-top: 0;
}

.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-fields input {
  width: 100%;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e9e9e9;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  padding: 0 14px;
  font-family: var(--font-body);
}

.quiz-success {
  text-align: center;
  padding: 8px 0 4px;
}

.quiz-success .quiz-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f6ef;
  color: #2e9e6b;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.quiz-success h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 6px;
}

.quiz-success p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
