/**
 * DEEPER — new theme
 * Palette: navy / royal blue / vibrant red · fully responsive
 */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --navy: #0b1f4b;
  --navy-deep: #0b1f4b;
  --navy-mid: #0b3185;
  --blue: #1557d6;
  --crimson: #ef2b2d;
  --crimson-hot: #ef2b2d;
  --crimson-deep: #c41e20;
  --yellow: #ffd21c;
  --aqua: #27c7c1;
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --soft-pink: #fde8e8;
  --soft-mint: #e3f8f5;
  --soft-blue: #eaf2ff;
  --ink: #172554;
  --muted: #475569;
  --line: #e2e8f0;
  --surface: #f8fafd;
  --surface-2: #eaf2ff;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(11, 31, 75, 0.1);
  --radius: 16px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--crimson);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--crimson-deep);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section-surface {
  background:
    radial-gradient(800px 280px at 0% 0%, rgba(21, 87, 214, 0.06), transparent 60%),
    var(--surface);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.4em;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--crimson);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(239, 43, 45, 0.32);
}

.btn-primary:hover {
  background: var(--crimson-deep);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}

.btn-blue {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(21, 87, 214, 0.28);
}

.btn-blue:hover {
  background: var(--navy);
  color: #fff !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== Header ========== */
.site-topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 3px solid var(--crimson);
}

.site-topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-meta a {
  color: inherit;
}

.topbar-meta a:hover {
  color: #fff;
}

.topbar-actions {
  display: flex;
  gap: 0.5rem;
}

.topbar-actions .btn {
  min-height: 34px;
  padding: 0 0.9rem;
  font-size: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy) !important;
  text-decoration: none !important;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand-text {
  display: none; /* logo already includes DEEPER wordmark */
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav > a,
.nav-drop > summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  padding: 0.5rem 0.45rem;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav > a:hover,
.nav-drop > summary:hover {
  color: var(--blue);
  background: var(--soft-blue);
}

.nav-drop {
  position: relative;
}

.nav-drop > summary::-webkit-details-marker {
  display: none;
}

.nav-drop > summary::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

.nav-drop[open] > summary,
.site-nav > a.is-active {
  color: var(--crimson);
  box-shadow: inset 0 -2px 0 var(--crimson);
  border-radius: 0;
  background: transparent;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  display: grid;
  gap: 0.15rem;
  z-index: 50;
}

.nav-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-menu a:hover {
  background: var(--surface);
  color: var(--crimson);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("../img/banner/01.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 31, 58, 0.94) 0%, rgba(11, 31, 58, 0.78) 48%, rgba(198, 40, 40, 0.42) 100%),
    linear-gradient(0deg, rgba(11, 31, 58, 0.45), transparent 50%);
}

.hero-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  animation: riseIn 0.8s var(--ease) both;
}

.hero-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  max-width: 14ch;
  margin: 0 0 0.85rem;
  color: #fff;
  line-height: 1.1;
}

.hero-sub {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.hero .btn-row {
  animation: riseIn 0.8s 0.12s var(--ease) both;
}

/* Why DEEPER — feature cards (mockup) */
.why-deeper {
  position: relative;
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(21, 87, 214, 0.07), transparent 55%),
    radial-gradient(600px 220px at 0% 100%, rgba(39, 199, 193, 0.07), transparent 50%),
    var(--surface);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  overflow: hidden;
}

.why-deeper-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.why-deeper-copy {
  padding-top: 0.35rem;
}

.why-deeper-copy .eyebrow {
  color: var(--crimson);
  margin-bottom: 0.5rem;
}

.why-deeper-copy h2 {
  color: var(--navy);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.why-deeper-copy p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-deeper-copy .btn {
  min-height: 44px;
  padding: 0 1.2rem;
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.8rem 0.9rem;
  box-shadow: 0 6px 18px rgba(11, 31, 75, 0.05);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 31, 75, 0.09);
  border-color: #c9d6ea;
}

.feature-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.feature-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-card[data-tone="red"] .feature-icon { background: var(--crimson); }
.feature-card[data-tone="blue"] .feature-icon { background: var(--blue); }
.feature-card[data-tone="aqua"] .feature-icon { background: var(--aqua); }
.feature-card[data-tone="purple"] .feature-icon { background: var(--purple); }
.feature-card[data-tone="amber"] .feature-icon { background: var(--amber); }

.feature-card[data-tone="red"] { background: linear-gradient(180deg, #fff 70%, var(--soft-pink) 140%); }
.feature-card[data-tone="blue"] { background: linear-gradient(180deg, #fff 70%, var(--soft-blue) 140%); }
.feature-card[data-tone="aqua"] { background: linear-gradient(180deg, #fff 70%, var(--soft-mint) 140%); }
.feature-card[data-tone="purple"] { background: linear-gradient(180deg, #fff 70%, #f3eefe 140%); }
.feature-card[data-tone="amber"] { background: linear-gradient(180deg, #fff 70%, #fff7e8 140%); }

/* Statistics strip */
.proof-strip {
  background: linear-gradient(100deg, #0b1f4b 0%, #0b3185 100%);
  color: #fff;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  align-items: center;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 3.25rem;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item i {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 4px 12px rgba(255, 210, 28, 0.28);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.proof-item span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.12rem;
  line-height: 1.25;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

/* ========== Highlight banner scroller — keep original banner colours ========== */
.banner-scroller {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 7;
  min-height: 220px;
  max-height: min(46vh, 440px);
  overflow: hidden;
  background: #c2410c;
}

.banner-track {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #0b1f3a;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.7s var(--ease);
  z-index: 0;
}

.banner-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 31, 58, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease);
}

.banner-nav:hover {
  background: var(--crimson);
}

.banner-prev { left: 14px; }
.banner-next { right: 14px; }

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 3.8rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.45rem;
}

.banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.banner-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

.banner-cta-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 58, 0.82));
  padding: 1.6rem 0 0.85rem;
}

.banner-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  color: #fff;
}

.banner-cta-inner p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .banner-scroller {
    aspect-ratio: 16 / 6.5;
    min-height: 200px;
    max-height: min(42vh, 360px);
  }

  .banner-nav {
    width: 36px;
    height: 36px;
  }

  .banner-dots {
    bottom: 4.4rem;
  }
}

@media (max-width: 640px) {
  .banner-scroller {
    aspect-ratio: auto;
    height: 38vw;
    min-height: 160px;
    max-height: 240px;
  }

  .banner-cta-inner {
    justify-content: center;
    text-align: center;
  }

  .banner-cta-inner p {
    font-size: 0.9rem;
  }

  .banner-dots {
    bottom: 4.2rem;
  }
}

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--navy) center top / cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11, 31, 58, 0.55));
}

/* ========== Schedule ========== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.exam-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--crimson);
  transition: transform 0.25s var(--ease);
}

.exam-panel:hover {
  transform: translateY(-4px);
}

.exam-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.exam-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.exam-dates {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.exam-dates li {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.exam-dates li:last-child {
  border-bottom: 0;
}

.exam-dates strong {
  color: var(--navy);
}

.price {
  color: var(--crimson);
  font-weight: 700;
  font-family: var(--font-display);
}

.pack-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.pack-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.pack-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pack-box li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.schedule-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== Fees tables ========== */
.table-scroll {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  border: 1px solid #b8c6d8;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.table-scroll::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: #9aadc4;
  border-radius: 999px;
}

.fees-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--ink);
}

.fees-table--simple {
  min-width: 560px;
}

.fees-table th,
.fees-table td {
  padding: 0.75rem 0.9rem;
  border: 1px solid #b8c6d8;
  text-align: left;
  vertical-align: middle;
}

.fees-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  border-color: var(--navy);
}

.fees-table tbody tr:nth-child(even) td {
  background: #f5f8fc;
}

.fees-table .pkg {
  background: #eaf0f7;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
}

.fees-table .amt {
  font-weight: 800;
  color: var(--crimson-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fees-table .bonus {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.fees-table .total-row td {
  background: #fff5f5;
  border-top: 2px solid #c62828;
  font-weight: 700;
}

.fees-table--packages {
  min-width: 920px;
  font-size: 0.9rem;
}

.fees-table--packages td small,
.fees-table .cell-note {
  display: block;
  margin-top: 0.35rem;
  color: #4a5d73;
  font-size: 0.8rem;
  font-weight: 500;
}

.fees-table td.bonus,
.fees-table .total-row td.bonus {
  background: #eef2f8;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.fees-table span.bonus {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--crimson);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid var(--crimson-deep);
}

/* Visible bonus chips inside TOTAL offer columns */
.fees-table td.bonus-cell {
  background: #fff7f7;
  text-align: center;
  vertical-align: middle;
}

.fees-table .total-row td.bonus-cell {
  background: #ffe8e8;
}

.fees-table .bonus-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--crimson);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid var(--crimson-deep);
  box-shadow: 0 2px 0 rgba(139, 0, 0, 0.25);
}

.fees-table .total-cell {
  background: #e8eef6;
  font-size: 1.05rem;
  color: var(--crimson-deep);
  font-weight: 800;
}

.fees-table a.table-inline-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fees-table a.table-inline-link:hover {
  color: var(--navy);
}

.fees-table tbody tr.pkg-row-alt td {
  background: #f0f4fa;
}

.fees-table tbody tr.pkg-row-alt .pkg,
.fees-table tbody tr.pkg-row-alt .total-cell {
  background: #e2eaf4;
}

.fees-table tbody tr:hover td {
  background: #e8f0fa;
}

/* Make every main mock exam unmistakable in schedules */
.fees-table tbody tr.mock-row td {
  background: #fff0f0 !important;
  border-top: 2px solid #ff4d4d;
  border-bottom: 2px solid #ff4d4d;
  color: #64121a;
  font-weight: 700;
}

.fees-table tbody tr.mock-row td.pkg {
  background: #e31b23 !important;
  color: #fff !important;
}

.fees-table tbody tr.mock-row td.amt {
  background: #ffd1d1 !important;
  color: #a40018;
  font-weight: 800;
}

.fees-table tbody tr.mock-row:hover td {
  background: #ffdddd !important;
}

.fees-table tbody tr.mock-row:hover td.pkg {
  background: #c8101e !important;
}

.exam-dates li.mock-date {
  margin: 0.45rem 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid #ff6b6b;
  border-left: 5px solid #e31b23;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff0f0 0%, #fff 100%);
  box-shadow: 0 3px 10px rgba(227, 27, 35, 0.12);
}

.exam-dates li.mock-date strong,
.exam-dates li.mock-date .price {
  color: #c8101e;
}

.fees-table--results th,
.fees-table--results td {
  border-color: #b8c6d8;
}

/* Home fee package cards */
.fee-packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.fee-pack {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #b8c6d8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.fee-pack--featured {
  border-color: var(--crimson);
  box-shadow: 0 14px 36px rgba(198, 40, 40, 0.14);
}

.fee-pack-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--navy);
  color: #fff;
}

.fee-pack--featured .fee-pack-head {
  background: linear-gradient(135deg, var(--crimson) 0%, #8b0000 100%);
}

.fee-pack-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.fee-pack-total {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.92;
}

.fee-pack-total strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.fee-pack-desc {
  margin: 0;
  padding: 0.95rem 1.15rem 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fee-pack-desc a {
  font-weight: 700;
  font-size: 0.84rem;
}

.fee-pack-choices {
  list-style: none;
  margin: 0.5rem 1.15rem 0.85rem;
  padding: 0;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  overflow: hidden;
}

.fee-pack-choices li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #e4ebf3;
  font-size: 0.92rem;
}

.fee-pack-choices li:last-child {
  border-bottom: 0;
}

.fee-pack-choices li:nth-child(even) {
  background: #f5f8fc;
}

.fee-pack-choices strong {
  color: var(--crimson-deep);
  font-weight: 800;
  white-space: nowrap;
}

.fee-pack-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: auto 1.15rem 1.15rem;
  padding-top: 0.25rem;
}

.fee-pack-offers > div {
  background: #f3f6fb;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
}

.fee-offer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.fee-pack-offers p {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.fee-pack-offers em {
  display: inline-block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .fee-packs {
    grid-template-columns: 1fr;
  }
}

.pkg-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2rem;
}

.pkg-summary-card {
  background: var(--white);
  border: 2px solid #9aadc4;
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.1);
  border-top: 4px solid var(--crimson);
}

.pkg-summary-card .pkg-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--crimson);
  margin-bottom: 0.45rem;
}

.pkg-summary-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1.1;
}

.pkg-summary-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pkg-block-title {
  margin: 2rem 0 0.85rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.pkg-notes-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.pkg-notes-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
}

.pkg-notes-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.pkg-notes-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pkg-notes-card li + li {
  margin-top: 0.4rem;
}

.pkg-notes-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pkg-notes-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .pkg-summary,
  .pkg-notes-grid {
    grid-template-columns: 1fr;
  }
}

.fine-print {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.fine-print ul {
  padding-left: 1.15rem;
}

/* ========== Stats / proof ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--crimson);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

a.stat-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

a.stat-link:hover {
  transform: translateY(-3px);
  border-color: var(--crimson);
}

a.stat-link::after {
  content: "View →";
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.02em;
}

/* ========== Why ========== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.why-visual {
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--navy) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.why-list {
  display: grid;
  gap: 1.15rem;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.why-item h3 a {
  color: var(--navy);
}

.why-item h3 a:hover {
  color: var(--crimson);
}

.why-item p {
  color: var(--muted);
  margin: 0;
}

/* ========== Pathways / exams ========== */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.path-card {
  display: block;
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff !important;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.path-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.45);
}

.path-card:hover {
  transform: translateY(-4px);
  background: var(--navy-mid);
  color: #fff !important;
}

.path-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.path-card span {
  position: relative;
  opacity: 0.85;
  font-size: 0.95rem;
}

.path-card .path-card-stage {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #ffb3b3;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 1;
  text-transform: uppercase;
}

.path-card p {
  position: relative;
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.quick-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy) !important;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.2s;
}

.quick-link:hover {
  transform: translateY(-3px);
  border-color: var(--crimson);
  color: var(--crimson) !important;
}

.quick-link strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.quick-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========== Toppers teaser ========== */
.topper-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.topper-link {
  display: block;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff !important;
  min-height: 140px;
  transition: transform 0.25s var(--ease);
}

.topper-link:hover {
  transform: translateY(-4px);
  color: #fff !important;
}

.topper-link strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.topper-link span {
  opacity: 0.85;
}

.home-topper-lanes {
  display: grid;
  gap: 1.5rem;
}

.home-topper-lane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.home-topper-lane-head h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.home-topper-lane-head a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crimson);
}

.home-topper-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.home-topper-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.home-topper-card:hover {
  transform: translateY(-3px);
  border-color: #d5dde8;
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.12);
}

.home-topper-avatar {
  display: grid;
  place-items: center;
  margin: 1rem auto 0.35rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background:
    conic-gradient(from 200deg, #ea580c 0deg 140deg, #d7dee8 140deg 360deg);
  padding: 5px;
  box-sizing: border-box;
}

.home-topper-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #e8eef6;
  border: 3px solid #fff;
}

.home-topper-card strong,
.home-topper-card span {
  display: block;
  padding: 0 0.85rem;
}

.home-topper-card strong {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.home-topper-card span {
  margin: 0.2rem 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .home-topper-strip {
    grid-template-columns: 1fr;
  }
}

/* ========== CTA band ========== */
.cta-band {
  background:
    linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 55%, var(--crimson-deep) 140%);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3.5rem;
  border-top: 4px solid var(--crimson);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer p {
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ========== Inner pages ========== */
.page-hero {
  background:
    linear-gradient(110deg, var(--navy) 0%, var(--navy-mid) 55%, var(--crimson) 160%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.5rem 0 0;
  max-width: 40rem;
}

/* Compact modern page header (prototype — mission-vision first) */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0 1.15rem;
}

.page-head-inner {
  display: flex;
  align-items: center;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--navy);
  line-height: 1.2;
  padding-left: 0.85rem;
  border-left: 4px solid var(--crimson);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.mv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--crimson);
}

.mv-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.mv-card p {
  margin: 0;
  color: var(--muted);
}

.page-head + .section {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

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

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 1.75rem;
}

/* ========== Media video gallery (Error 153-safe embeds) ========== */
.media-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.media-video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.media-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.media-play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
}

.media-play-btn i {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--crimson);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.media-video-thumb--ig {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  font-weight: 700;
}

.media-video-thumb--ig i {
  font-size: 2.5rem;
}

.media-video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.media-video-actions {
  padding: 0.85rem 1rem 1rem;
}

.media-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.media-photo-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .media-video-grid,
  .media-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .media-video-grid,
  .media-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Result scoreboards / accordion ========== */
.result-accordion {
  display: grid;
  gap: 0.65rem;
}

.result-acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.result-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  appearance: none;
  border: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: left;
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.result-acc-item.is-open .result-acc-btn {
  background: var(--crimson);
}

.result-acc-btn i {
  transition: transform 0.25s var(--ease);
  font-size: 0.85rem;
}

.result-acc-item.is-open .result-acc-btn i {
  transform: rotate(180deg);
}

.result-acc-panel {
  padding: 1rem 1rem 1.15rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.result-year-tabs,
.result-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
}

.result-yeartab,
.result-subtab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.result-yeartab.is-active,
.result-subtab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.result-subtab {
  border-radius: var(--radius);
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
}

.result-subtab.is-active {
  background: var(--crimson);
  border-color: var(--crimson);
}

.fees-table--results th,
.fees-table--results td {
  white-space: nowrap;
  font-size: 0.88rem;
}

.fees-table--results td.pkg {
  white-space: normal;
  min-width: 11rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.content-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.content-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.content-card li + li {
  margin-top: 0.3rem;
}

.content-card .card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.4rem;
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.obj-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.obj-item .obj-num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.obj-item p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.network-list {
  display: grid;
  gap: 0.85rem;
}

.network-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--crimson);
}

.network-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.network-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.download-card:hover {
  border-color: var(--crimson);
  transform: translateY(-2px);
}

.download-card i {
  font-size: 1.5rem;
  color: var(--crimson);
}

.download-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}

.download-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.founder-roles {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.founder-roles li + li {
  margin-top: 0.35rem;
}

.pattern-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
}

.pattern-strip strong {
  color: var(--navy);
}

@media (max-width: 900px) {
  .content-grid,
  .obj-grid,
  .download-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .about-grid,
  .why-grid,
  .hero-inner,
  .why-deeper-inner {
    grid-template-columns: 1fr;
  }

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

  .proof-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.75rem 0.35rem;
  }

  .schedule-grid,
  .stats-grid,
  .path-grid,
  .quick-grid,
  .topper-links,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .fee-packs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .site-topbar .topbar-meta {
    display: none;
  }

  .site-topbar .container {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand img {
    height: 44px;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + 34px) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.15rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav > a,
  .nav-drop > summary {
    white-space: normal;
    font-size: 0.95rem;
    padding: 0.7rem 0.75rem;
  }

  .nav-drop .nav-menu {
    position: static;
    box-shadow: none;
    border: 0;
    max-height: none;
    overflow: visible;
    padding: 0.25rem 0.5rem 0.5rem;
  }

  .home-topper-strip {
    grid-template-columns: 1fr 1fr;
  }

  .fee-pack-offers {
    grid-template-columns: 1fr;
  }

  .pkg-summary {
    grid-template-columns: 1fr;
  }

  .result-acc-btn {
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
  }

  .banner-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-cta-inner .btn-row {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .home-topper-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .schedule-grid,
  .stats-grid,
  .path-grid,
  .quick-grid,
  .topper-links,
  .footer-grid,
  .highlighter-grid,
  .media-video-grid,
  .media-photo-grid,
  .content-grid,
  .obj-grid,
  .download-grid,
  .feature-grid,
  .proof-strip-inner {
    grid-template-columns: 1fr;
  }

  .exam-dates li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 2.75rem 0 2.25rem;
  }

  .about-visual,
  .why-visual {
    min-height: 240px;
  }

  .brand img {
    height: 40px;
  }

  .page-head h1 {
    font-size: 1.25rem;
  }

  .section {
    padding: clamp(1.75rem, 5vw, 2.5rem) 0;
  }

  .table-scroll {
    margin-inline: -0.15rem;
    border-radius: 10px;
  }

  .fees-table th,
  .fees-table td {
    padding: 0.65rem 0.7rem;
    font-size: 0.84rem;
  }

  .fees-table .bonus-chip,
  .fees-table span.bonus {
    font-size: 0.72rem;
    padding: 0.28rem 0.55rem;
  }

  .home-topper-avatar {
    width: 6.75rem;
    height: 6.75rem;
  }

  .btn-row {
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
    min-height: 42px;
  }

  .topbar-actions .btn {
    padding: 0 0.7rem;
    font-size: 0.75rem;
  }

  .result-year-tabs,
  .result-subtabs {
    gap: 0.4rem;
  }

  .result-yeartab,
  .result-subtab {
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
  }
}

@media (max-width: 400px) {
  .home-topper-strip,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .banner-scroller {
    min-height: 150px;
    max-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
