/* ============================================================
   PROJECT PACHUCA — main.css
   Dark elegant theme, Inter-based typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --bg-base:       #08080d;
  --bg-surface:    #0f0f16;
  --bg-card:       #16161f;
  --bg-card-hover: #1c1c28;
  --border:        #252530;
  --border-light:  #2e2e3d;

  --text-primary:  #eaeaf4;
  --text-secondary:#9494aa;
  --text-muted:    #5c5c70;

  --gold:          #c9a96e;
  --gold-light:    #e0c994;
  --gold-dim:      rgba(201, 169, 110, 0.12);
  --blue:          #4d8ef8;
  --blue-light:    #7ab0ff;
  --blue-dim:      rgba(77, 142, 248, 0.10);
  --teal:          #2dd4bf;
  --teal-dim:      rgba(45, 212, 191, 0.10);

  --nav-height:    64px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.45);
  --shadow-hover:  0 8px 40px rgba(0,0,0,0.65);

  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Selection ───────────────────────────────────────────── */
::selection { background: var(--gold-dim); color: var(--gold-light); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(8, 8, 13, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8, 8, 13, 0.95);
  border-bottom-color: var(--border-light);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-mobile a:hover { color: var(--text-primary); background: var(--bg-card); }

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── Typography ──────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.eyebrow-blue { color: var(--blue); }
.eyebrow-teal { color: var(--teal); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.display-xl {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.display-lg {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.display-md {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.display-sm {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.body-lg { font-size: 18px; line-height: 1.7; color: var(--text-secondary); }
.body-md { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.body-xs { font-size: 12px; line-height: 1.5; color: var(--text-muted); }

.text-gold  { color: var(--gold); }
.text-blue  { color: var(--blue); }
.text-teal  { color: var(--teal); }
.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-muted); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: saturate(0.6);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,13,0.3) 0%,
    rgba(8,8,13,0.5) 40%,
    rgba(8,8,13,0.85) 75%,
    rgba(8,8,13,1) 100%
  );
}

.hero-gradient-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,8,13,0.7) 0%,
    rgba(8,8,13,0.0) 60%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

/* ── Page Hero (smaller, for inner pages) ────────────────── */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--gold-dim) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-body { padding: 28px 32px; }
.card-body-sm { padding: 20px 24px; }

.card-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-surface);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img-wrap img { transform: scale(1.04); }

/* ── Image Containers ────────────────────────────────────── */
.img-container {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
}

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

.img-credit {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.5);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ── Placeholder Containers ──────────────────────────────── */
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 40px 24px;
}

.placeholder svg { opacity: 0.35; }

.placeholder-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(201,169,110,0.2);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: #0a0808;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ── Tags / Badges ───────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.tag-gold   { background: var(--gold-dim);  color: var(--gold);  border: 1px solid rgba(201,169,110,0.2); }
.tag-blue   { background: var(--blue-dim);  color: var(--blue);  border: 1px solid rgba(77,142,248,0.2);  }
.tag-teal   { background: var(--teal-dim);  color: var(--teal);  border: 1px solid rgba(45,212,191,0.2);  }
.tag-ghost  { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border); }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
  margin: 64px 0;
}

/* ── Grid Layouts ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ── Timeline ────────────────────────────────────────────── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0;
  padding: 20px 0;
}

.timeline-line {
  grid-column: 2;
  grid-row: 1 / -1;
  background: linear-gradient(to bottom, transparent, var(--border-light) 10%, var(--border-light) 90%, transparent);
  position: relative;
}

.timeline-item-left,
.timeline-item-right {
  padding: 32px 40px;
}

.timeline-item-left { text-align: right; }
.timeline-item-right { text-align: left; }

.timeline-year {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-base);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px var(--gold);
}

/* ── Formula Card ────────────────────────────────────────── */
.formula-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  text-align: center;
}

.formula-display {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 12px 0;
  font-family: 'Inter', monospace;
}

.formula-display .var { color: var(--blue); }
.formula-display .op  { color: var(--gold); margin: 0 6px; }
.formula-display .val { color: var(--teal); }

/* ── Chart ───────────────────────────────────────────────── */
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.chart-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* SVG Charts */
.chart-svg { width: 100%; overflow: visible; }

.bar-group text { font-family: 'Inter', sans-serif; font-size: 11px; fill: var(--text-muted); }

/* ── Stat Block ──────────────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: 24px 16px;
}

.stat-number {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Quote / Blockquote ──────────────────────────────────── */
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 16px 24px;
  background: var(--gold-dim);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 24px 0;
}

.quote-block cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Table ───────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-card-hover); }

/* ── Interview Layout ────────────────────────────────────── */
.interview-qa { display: flex; flex-direction: column; gap: 20px; }

.qa-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.qa-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.qa-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.qa-lang-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.qa-lang-es { background: rgba(201,169,110,0.15); color: var(--gold); }
.qa-lang-en { background: rgba(77,142,248,0.15);  color: var(--blue); }

/* ── Video Placeholder ───────────────────────────────────── */
.video-container {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

.video-container video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: #000;
}

.video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
}

.play-btn-icon {
  width: 72px;
  height: 72px;
  background: rgba(201,169,110,0.12);
  border: 2px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-btn-icon:hover {
  background: rgba(201,169,110,0.2);
  border-color: var(--gold);
}

/* ── QA Checklist ────────────────────────────────────────── */
.qa-checklist { display: flex; flex-direction: column; gap: 12px; }

.qa-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg { color: var(--teal); }

/* ── Progress Bar ────────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transition: width 1s ease;
}

.progress-fill-blue {
  background: linear-gradient(to right, var(--blue), var(--blue-light));
}

.progress-fill-teal {
  background: linear-gradient(to right, var(--teal), #7efce7);
}

/* ── Gauge ───────────────────────────────────────────────── */
.gauge-container { text-align: center; padding: 16px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 96px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.footer-brand span { color: var(--gold); }

.footer-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
  font-weight: 500;
}

.footer-nav a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Glow Accents ────────────────────────────────────────── */
.glow-gold {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.glow-blue {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77,142,248,0.06) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* ── Subject Nav Pill Row ─────────────────────────────────── */
.subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.subject-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
}

.subject-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.subject-pill.gold { border-color: rgba(201,169,110,0.25); }
.subject-pill.gold:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }

.subject-pill.blue { border-color: rgba(77,142,248,0.2); }
.subject-pill.blue:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-dim); }

.subject-pill.teal { border-color: rgba(45,212,191,0.2); }
.subject-pill.teal:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-dim); }

/* ── Utility Classes ─────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }

.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline-line { display: none; }
  .timeline-item-left,
  .timeline-item-right {
    padding: 24px 0;
    text-align: left;
    border-left: 2px solid var(--border-light);
    padding-left: 24px;
    margin-left: 16px;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .card-body { padding: 20px; }
  .card-body-sm { padding: 16px; }
  .hero-content { padding-top: calc(var(--nav-height) + 24px); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .subject-pills { gap: 8px; }
  .subject-pill { padding: 8px 16px; font-size: 12px; }
  .display-xl { font-size: 38px; }
  .display-lg { font-size: 30px; }
}
