/* ============================================================
   Becas del Bienestar México — Design System 2026
   Modern, premium, informational — AdSense-ready
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette — institutional green/teal */
  --primary: #0d7c5f;
  --primary-dark: #065c45;
  --primary-light: #e6f5f0;

  /* Accent — warm gold */
  --accent: #e8a838;
  --accent-dark: #c48820;
  --accent-light: #fef7e8;

  /* Surfaces */
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-elevated: #ffffff;

  /* Text */
  --text: #1a2332;
  --text-secondary: #526070;
  --text-muted: #8a95a3;

  /* Semantic */
  --success: #1b8f5a;
  --warning: #d4850a;
  --danger: #c0392b;
  --info: #2980b9;

  /* Borders & shadows */
  --border: #e2e8f0;
  --border-light: #f0f3f5;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 124, 95, 0.12);
  --shadow-xl: 0 20px 60px rgba(13, 124, 95, 0.15);

  /* Geometry */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max-width: 1140px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --surface: #1a2332;
    --surface-glass: rgba(26, 35, 50, 0.82);
    --surface-elevated: #1e2d3d;
    --text: #e8edf2;
    --text-secondary: #a3b1c0;
    --text-muted: #6b7d8f;
    --border: #2a3a4a;
    --border-light: #1e2d3d;
    --primary-light: #0a3d2e;
    --accent-light: #3a2a10;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--duration) var(--ease),
              text-decoration-color var(--duration) var(--ease);
}

a:hover {
  color: var(--primary-dark);
  text-decoration-thickness: 2.5px;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--surface);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  left: 12px;
  outline: 3px solid var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reading Progress Bar ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Header (Glassmorphism) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  transition: opacity var(--duration) var(--ease);
}

.brand:hover {
  opacity: 0.85;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.menu-toggle:hover {
  background: var(--primary-dark);
}

.menu-toggle:active {
  transform: scale(0.96);
}

.notice {
  text-align: center;
  background: var(--accent-light);
  color: var(--warning);
  border-top: 1px solid rgba(232, 168, 56, 0.2);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 24px;
  letter-spacing: 0.01em;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin: 0.2em 0 0.3em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 2em 0 0.6em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5em 0 0.4em;
}

p {
  margin: 0 0 1em;
}

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(160deg, #e6f5f0 0%, #f4f7f6 40%, #fef7e8 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 124, 95, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .hero {
    background: linear-gradient(160deg, #0a2a20 0%, var(--bg) 40%, #1a1508 100%);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 800;
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero img,
.hero svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(13, 124, 95, 0.15));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(13, 124, 95, 0.3);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 124, 95, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn.secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.btn.accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(232, 168, 56, 0.3);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card:hover::before {
  opacity: 1;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.card h3 {
  margin-top: 4px;
}

/* ---------- Summary Box ---------- */
.summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 28px 28px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.summary-box h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--primary);
}

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

.summary-box li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

.summary-box li:last-child {
  border-bottom: none;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge {
  background: var(--primary-light);
  color: var(--primary);
}

.badge.gold {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.badge.blue {
  background: #e8f4fd;
  color: var(--info);
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}

th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}

tr:hover td {
  background: var(--primary-light);
}

tr:last-child td {
  border-bottom: none;
}

/* ---------- Accordion / FAQ ---------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  padding: 18px 22px;
  padding-right: 48px;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

details[open] summary::after {
  content: '−';
  color: var(--primary);
}

summary:hover {
  color: var(--primary);
  background: var(--primary-light);
}

details > *:not(summary) {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- Alerts ---------- */
.alert {
  background: var(--accent-light);
  border: 1px solid rgba(232, 168, 56, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}

.alert.info {
  background: #e8f4fd;
  border-color: rgba(41, 128, 185, 0.25);
  border-left-color: var(--info);
}

.alert.danger {
  background: #fde8e8;
  border-color: rgba(192, 57, 43, 0.2);
  border-left-color: var(--danger);
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid var(--border-light);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Timeline (Registration Steps) ---------- */
.timeline {
  list-style: none;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}

.timeline li {
  position: relative;
  padding: 0 0 32px 56px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: attr(data-step);
  position: absolute;
  left: 6px;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline li strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* ---------- Stat Cards ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.stat-card .stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 20px 0 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--text-secondary);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 18px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 124, 95, 0.1);
  outline: none;
}

/* ---------- Ad Slot ---------- */
.ad-slot {
  min-height: 100px;
  border: 2px dashed var(--border);
  background: var(--bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 32px 0;
  transition: border-color var(--duration) var(--ease);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1e2c;
  color: #c8d6e0;
  margin-top: 80px;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.site-footer a {
  display: block;
  color: #a0b4c4;
  text-decoration: none;
  margin: 8px 0;
  font-weight: 500;
  transition: color var(--duration) var(--ease),
              padding-left var(--duration) var(--ease);
}

.site-footer a:hover {
  color: #fff;
  padding-left: 4px;
  text-decoration: none;
}

.copyright {
  text-align: center;
  color: #6b8296;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin: 40px 0 0;
  font-size: 0.88rem;
}

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

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease),
              transform 0.5s var(--ease);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Status indicators ---------- */
.status-ok { color: var(--success); }
.status-warn { color: var(--warning); }
.status-bad { color: var(--danger); }

/* ---------- Inline content sections ---------- */
.content-section {
  max-width: 780px;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.content-section h2 {
  color: var(--text);
}

.content-section ul,
.content-section ol {
  padding-left: 24px;
  margin-bottom: 1.2em;
}

.content-section li {
  margin-bottom: 0.5em;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #065c45 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  margin: 0 0 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 20px;
}

.cta-banner .btn {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

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

  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    z-index: 50;
  }

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

  .main-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .hero-grid,
  .grid,
  .grid.two,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-grid > img,
  .hero-grid > svg {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .site-header {
    position: sticky;
  }

  .section {
    padding: 48px 0;
  }

  th, td {
    min-width: 150px;
  }

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

  .timeline::before {
    left: 16px;
  }

  .timeline li {
    padding-left: 48px;
  }

  .timeline li::before {
    left: 4px;
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }
}

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

  h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .ad-slot,
  .reading-progress,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
}
