/* ═══════════════════════════════════════
   XXII Congreso Colombiano de Historia
   main.css — generado desde el prototipo HTML
═══════════════════════════════════════ */

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  /* Palette */
  --navy:    #1C2B5A;   /* ultramar colonial */
  --navy-dk: #0F1A38;   /* fondo oscuro */
  --navy-md: #253470;
  --red:     #D63E18;   /* bermellón, sello de documento */
  --red-lt:  #FBF0ED;
  --green:   #2A4A35;   /* verde andino */
  --green-lt:#EBF2EE;
  --gold:    #B8882A;   /* dorado colonial */
  --gold-lt: #FBF4E2;
  --parch:   #F2EDE4;   /* pergamino */
  --paper:   #F8F6F1;   /* fondo general */
  --white:   #FFFFFF;
  --ink:     #1A1210;
  --muted:   #6A5F57;
  --border:  #D8D0C4;

  /* Type scale */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --gutter: clamp(16px, 4vw, 40px);
  --max:    1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--body); cursor: pointer; }

/* ── UTILITIES ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 56px;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 100%; display: flex; align-items: center; gap: 0;
}
.nav-logo {
  display: flex; align-items: baseline; gap: 8px;
  text-decoration: none; flex-shrink: 0;
  margin-right: 32px;
}
.nav-xxii {
  font-family: var(--display);
  font-size: 22px; font-weight: 700; color: var(--navy);
  letter-spacing: -.5px; line-height: 1;
}
.nav-name {
  font-size: 11px; font-weight: 500; color: var(--muted);
  letter-spacing: .04em; line-height: 1.2;
  border-left: 1px solid var(--border); padding-left: 10px;
  max-width: 180px;
}
.nav-links {
  display: flex; gap: 0; align-items: center; flex: 1;
}
.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 500;
  color: var(--muted); padding: 0 14px; height: 56px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.on { color: var(--red); border-bottom-color: var(--red); }
.nav-cta {
  margin-left: auto;
  background: var(--red); color: #fff !important;
  padding: 8px 18px !important; height: auto !important;
  border-radius: 3px; border-bottom: none !important;
  font-weight: 600 !important; font-size: 13px !important;
  transition: background .15s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: #b53010 !important; color: #fff !important; }

/* hamburger */
.nav-burger {
  display: none; margin-left: auto;
  background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .25s;
}
.nav-mobile {
  display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 499; padding: 24px;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none; font-size: 17px; font-weight: 500;
  color: var(--ink); padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a.cta-m {
  margin-top: 12px; background: var(--red); color: #fff;
  border-radius: 3px; border: none; text-align: center; font-weight: 600;
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-name { display: none; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  background: var(--navy-dk);
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 56px;
}

/* The signature: XXII as monumental inscription */
.hero-xxii {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--display);
  font-size: clamp(160px, 30vw, 440px);
  font-weight: 700; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
  user-select: none; pointer-events: none;
  white-space: nowrap; line-height: .85;
  z-index: 0;
}

/* Thin horizontal rule that bisects the hero — references ruled paper / archival lines */
.hero-rule {
  position: absolute; top: 42%; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,.08); z-index: 1;
}

/* Small decorative grid — like cartographic graph paper */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px; z-index: 0;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(28px, 5.5vw, 68px);
  font-weight: 300; color: #fff;
  line-height: 1.05; letter-spacing: -.01em;
  max-width: 800px; margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic; font-weight: 600; color: rgba(255,255,255,.92);
}
.hero h1 strong { font-weight: 700; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
  margin-bottom: 32px;
}
.hero-date {
  font-size: 14px; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 6px;
}
.hero-date::before {
  content: ''; display: block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--gold);
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 24px; border-radius: 3px;
  font-family: var(--body); font-size: 14px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent;
  transition: all .18s; cursor: pointer; white-space: nowrap;
  letter-spacing: .01em;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: #b53010; border-color: #b53010; }
.btn-ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-w:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* countdown */
.hero-countdown {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; gap: 0; flex-wrap: wrap;
}
.cd-item {
  padding: 0 28px 0 0; margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.cd-item:last-child { border: none; }
.cd-num {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 52px); font-weight: 700;
  color: #fff; line-height: 1; letter-spacing: -.02em;
}
.cd-lbl {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45); font-family: var(--mono);
}

/* ═══════════════════════════════════════════
   URGENCY STRIP
═══════════════════════════════════════════ */
.strip {
  background: var(--red);
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.strip-text {
  font-size: 13.5px; font-weight: 600; color: #fff;
  letter-spacing: .01em;
}
.strip-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.15); padding: 3px 8px; border-radius: 2px;
}
.strip a.strip-btn {
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4);
  color: #fff; padding: 6px 14px; border-radius: 3px;
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: background .15s; white-space: nowrap;
}
.strip a.strip-btn:hover { background: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
.statsbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.statsbar-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide: border;
}
.stat-item {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px); font-weight: 700;
  color: var(--navy); line-height: 1; letter-spacing: -.02em;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 12px; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
}

@media (max-width: 600px) {
  .statsbar-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ═══════════════════════════════════════════
   SECTIONS — generic
═══════════════════════════════════════════ */
.sec { padding: clamp(48px, 7vw, 96px) 0; }
.sec-parch { background: var(--parch); }
.sec-navy  { background: var(--navy-dk); color: #fff; }
.sec-white { background: var(--white); }
.sec-paper { background: var(--paper); }

.sec-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px; display: block;
}
.sec-eyebrow-w { color: rgba(255,255,255,.5); }

.sec-title {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 44px); font-weight: 400;
  color: var(--ink); line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 16px;
}
.sec-title em { font-style: italic; }
.sec-title-w { color: #fff; }
.sec-body { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 640px; }
.sec-body-w { color: rgba(255,255,255,.72); }

/* section header row */
.sec-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.sec-hd-left { flex: 1; }
.sec-more {
  font-size: 13px; font-weight: 600; color: var(--navy);
  text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.sec-more:hover { color: var(--red); }
.sec-more-w { color: rgba(255,255,255,.7); }
.sec-more-w:hover { color: #fff; }

/* ═══════════════════════════════════════════
   SOBRE EL CONGRESO
═══════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.about-body { font-size: 16px; color: var(--muted); line-height: 1.8; }
.about-body p + p { margin-top: 16px; }
.about-body strong { color: var(--ink); font-weight: 600; }

/* decorative element: mopa-mopa-inspired SVG panel */
.mopa-panel {
  position: relative;
}
.mopa-svg-wrap {
  width: 100%; aspect-ratio: 1;
  border: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.mopa-caption {
  margin-top: 10px; font-size: 11px; color: var(--muted);
  font-family: var(--mono); letter-spacing: .06em; text-align: center;
}

.tema-list { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.tema-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; background: var(--white);
  border: 1px solid var(--border); border-left: 3px solid var(--navy);
  font-size: 14px; line-height: 1.4;
}
.tema-item-dot { color: var(--navy); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .mopa-panel { order: -1; }
  .mopa-svg-wrap { aspect-ratio: 2/1; }
}

/* ═══════════════════════════════════════════
   INSCRIPCIÓN
═══════════════════════════════════════════ */
.insc-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border);
  margin-bottom: 32px; overflow-x: auto;
}
.insc-tab {
  padding: 12px 22px; font-size: 14px; font-weight: 600;
  color: var(--muted); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; white-space: nowrap; transition: color .15s;
}
.insc-tab.on { color: var(--red); border-bottom-color: var(--red); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  background: var(--navy); color: #fff;
  padding: 12px 16px; text-align: left;
  font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  font-weight: 500;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-size: 15px; vertical-align: middle;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--paper); }
.price-table td:last-child { text-align: right; font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--navy); }
.price-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px;
  border-radius: 2px; margin-right: 6px;
}
.badge-red   { background: #FDECEA; color: var(--red); }
.badge-green { background: var(--green-lt); color: var(--green); }
.badge-gold  { background: var(--gold-lt); color: var(--gold); }
.badge-blue  { background: #EEF2FF; color: #1D3FA6; }

.insc-note {
  margin-top: 20px; padding: 14px 16px;
  border-radius: 3px; font-size: 13.5px; line-height: 1.6;
}
.insc-note-gold { background: var(--gold-lt); border: 1px solid #D4AB54; border-left: 3px solid var(--gold); color: #5A3E08; }
.insc-note-blue { background: #EEF2FF; border: 1px solid #A8BBEC; border-left: 3px solid #3A6BC0; color: #1B3070; margin-top: 8px; }

.price-panel { display: none; }
.price-panel.on { display: block; }

.insc-cta-row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.insc-afil-note { font-size: 13px; color: var(--muted); }
.insc-afil-note a { color: var(--red); font-weight: 600; text-decoration: none; }

/* ═══════════════════════════════════════════
   NOTICIAS
═══════════════════════════════════════════ */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.news-card {
  background: var(--white); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(28,20,16,.1); transform: translateY(-2px); }
.news-img {
  height: 160px; overflow: hidden;
  background: var(--navy); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.news-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.news-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff; font-size: 10px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px;
}
.news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-date { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.news-title {
  font-family: var(--display);
  font-size: 19px; font-weight: 600; line-height: 1.25;
  color: var(--ink); text-decoration: none;
}
.news-title:hover { color: var(--red); }
.news-expt { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.news-link {
  margin-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--navy); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}
.news-link:hover { color: var(--red); }

@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .news-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   AGENDA
═══════════════════════════════════════════ */
.agenda-tabs {
  display: flex; gap: 6px; margin-bottom: 24px;
  overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap;
}
.agenda-tab {
  flex-shrink: 0;
  padding: 8px 16px; border-radius: 3px;
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.agenda-tab.on { background: var(--red); color: #fff; border-color: var(--red); }
.agenda-tab:hover:not(.on) { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }

.agenda-panel { display: none; }
.agenda-panel.on { display: block; }

.session-list { display: flex; flex-direction: column; gap: 0; }
.session-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 16px 0;
}
.session-item:last-child { border-bottom: none; }
.session-time {
  font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.45);
  letter-spacing: .04em; padding-top: 2px; padding-right: 16px;
}
.session-content { min-width: 0; }
.session-type {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px;
  border-radius: 2px; margin-bottom: 5px;
}
.stype-conf { background: rgba(184,136,42,.25); color: var(--gold); }
.stype-mesa { background: rgba(42,74,53,.4); color: #7EC8A0; }
.stype-ple  { background: rgba(214,62,24,.25); color: #F88; }
.stype-rec  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.stype-taller { background: rgba(28,43,90,.5); color: #7AB4F8; }

.session-title { font-family: var(--display); font-size: 17px; font-weight: 600; color: #fff; line-height: 1.25; margin-bottom: 4px; }
.session-where { font-size: 12.5px; color: rgba(255,255,255,.45); }

.agenda-note {
  margin-top: 20px; padding: 14px 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6;
}

/* ═══════════════════════════════════════════
   PONENCIAS
═══════════════════════════════════════════ */
.pon-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.pon-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 20px;
  transition: box-shadow .18s;
}
.pon-card:hover { box-shadow: 0 4px 18px rgba(28,20,16,.09); }
.pon-track {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 8px; display: block;
}
.pon-title {
  font-family: var(--display);
  font-size: 17px; font-weight: 600; color: var(--ink);
  line-height: 1.25; margin-bottom: 10px;
}
.pon-meta { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pon-meta strong { color: var(--ink); font-weight: 600; }
.pon-tag {
  margin-top: 12px; display: inline-block;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
  padding: 3px 8px; background: var(--paper); border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   SEDE
═══════════════════════════════════════════ */
.sede-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.sede-map {
  background: var(--navy); min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.sede-map-label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 11px;
  padding: 4px 10px; font-family: var(--mono); letter-spacing: .06em;
}
.sede-info { display: flex; flex-direction: column; gap: 20px; }
.sede-block {}
.sede-block-lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.sede-block-val {
  font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.2;
  color: var(--ink);
}
.sede-block-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.sede-divider { border: none; border-top: 1px solid var(--border); }

@media (max-width: 720px) {
  .sede-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════
   COMITÉ
═══════════════════════════════════════════ */
.comite-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.comite-card {
  padding: 18px; background: var(--white); border: 1px solid var(--border);
}
.comite-role {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.comite-name {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  color: var(--ink); line-height: 1.2; margin-bottom: 4px;
}
.comite-org { font-size: 12.5px; color: var(--muted); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,.6);
  padding: clamp(40px, 5vw, 64px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {}
.footer-logo {
  font-family: var(--display);
  font-size: 28px; font-weight: 700; color: #fff;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 10px;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; max-width: 260px; }
.footer-col-hd {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13.5px; color: rgba(255,255,255,.65); text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-orgs { font-size: 12px; color: rgba(255,255,255,.35); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PAGE SWITCHING (SPA mockup)
═══════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════════
   INNER PAGE HERO (subpages)
═══════════════════════════════════════════ */
.inner-hero {
  background: var(--navy);
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 48px);
}
.inner-hero-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px;
}
.inner-hero h1 {
  font-family: var(--display); font-size: clamp(28px, 5vw, 52px);
  font-weight: 400; color: #fff; line-height: 1.1;
}
.inner-hero p { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 10px; max-width: 560px; }

/* breadcrumb */
.breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-bottom: 14px; display: flex; gap: 6px; align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .4; }

/* ═══════════════════════════════════════════
   INSCRIPTION PAGE
═══════════════════════════════════════════ */
.insc-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start;
}
.insc-sticky { position: sticky; top: 76px; }
.insc-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 24px;
}
.insc-card-hd { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--ink); }

.insc-summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; gap: 8px;
}
.insc-summary-row:last-of-type { border-bottom: none; }
.insc-summary-row .lbl { color: var(--muted); font-size: 13px; }
.insc-total {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--navy-dk); color: #fff; padding: 14px 16px; margin: 16px -24px -24px;
  font-weight: 600;
}
.insc-total-num { font-family: var(--display); font-size: 24px; font-weight: 700; }

@media (max-width: 820px) {
  .insc-layout { grid-template-columns: 1fr; }
  .insc-sticky { position: static; }
}

/* step form */
.form-steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.fstep {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: var(--white); border: 1px solid var(--border);
  cursor: pointer;
}
.fstep.on { border-color: var(--navy); }
.fstep-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fstep.on .fstep-num { background: var(--navy); color: #fff; }
.fstep-body {}
.fstep-title { font-weight: 600; font-size: 14px; }
.fstep-sub { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════
   AGENDA PAGE
═══════════════════════════════════════════ */
.agenda-full-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border);
  margin-bottom: 28px; overflow-x: auto;
}
.aft {
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  color: var(--muted); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; white-space: nowrap; transition: color .15s;
}
.aft.on { color: var(--red); border-bottom-color: var(--red); }
.aft:hover:not(.on) { color: var(--ink); }

.day-grid { display: grid; grid-template-columns: 100px 1fr; gap: 0; }
.day-time-col { padding-top: 4px; }
.day-time { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 16px 0; }
.day-content-col { border-left: 2px solid var(--border); padding-left: 20px; }
.day-event {
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.day-event:last-child { border-bottom: none; }
.day-event-top { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 5px; flex-wrap: wrap; }
.day-event-title { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.day-event-sub { font-size: 13px; color: var(--muted); }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px; }
.cf-input {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--border); font-family: var(--body);
  font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s;
}
.cf-input:focus { border-color: var(--navy); }
.cf-textarea { min-height: 120px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.ci-block-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.ci-block-val { font-size: 15px; color: var(--ink); }
.ci-block-val a { color: var(--red); text-decoration: none; }

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

/* ═══ RESPONSIVE MISC ═══ */
@media (max-width: 600px) {
  .hero-countdown { gap: 16px; }
  .cd-item { padding: 0 16px 0 0; margin-right: 16px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
/* ═══════════════════════════════════════════
   ePAYCO BOTONES DE PAGO · AGREGAR AL FINAL de main.css
═══════════════════════════════════════════ */

.epayco-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px; margin-top: 4px;
  display: flex; align-items: center; gap: 8px;
}
.epayco-section-label::before {
  content: ''; width: 3px; height: 13px;
  background: var(--navy); border-radius: 2px;
  display: block; flex-shrink: 0;
}
.epayco-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.epayco-row-exento {
  border-color: #9ED3B8;
  background: var(--green-lt);
}
.epayco-info { flex: 1; min-width: 200px; }
.epayco-cat {
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 3px;
}
.epayco-price {
  font-family: var(--mono);
  font-size: 20px; font-weight: 700; color: var(--navy);
  line-height: 1;
}
.epayco-cop {
  font-size: 12px; font-weight: 400; color: var(--muted);
}
.epayco-btn-wrap {
  flex-shrink: 0;
}
.epayco-btn-wrap img {
  display: block !important;
  cursor: pointer;
}
.epayco-exento-msg {
  font-size: 13px; color: var(--green); line-height: 1.5;
  text-align: right;
}

@media (max-width: 560px) {
  .epayco-row { flex-direction: column; align-items: flex-start; }
  .epayco-exento-msg { text-align: left; }
}

/* ═══════════════════════════════════════════
   FAQ — Preguntas frecuentes
═══════════════════════════════════════════ */

.quick-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  padding: 18px 20px;
  margin-bottom: 36px;
}
.quick-nav-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.quick-nav ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.quick-nav li { font-size: 14px; }
.quick-nav a { color: var(--navy); text-decoration: none; font-weight: 500; }
.quick-nav a:hover { color: var(--red); }
.faq-item { background: var(--white); border: 1px solid var(--border); margin-bottom: 16px; overflow: hidden; }
.faq-q { padding: 20px 22px; cursor: pointer; display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid transparent; transition: background .15s; }
.faq-q:hover { background: #FAF8F5; }
.faq-item.open .faq-q { border-bottom-color: var(--border); background: #FAF8F5; }
.faq-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-family: monospace; }
.faq-item.open .faq-num { background: var(--red); }
.faq-q-text { flex: 1; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.faq-arrow { flex-shrink: 0; font-size: 18px; color: var(--muted); transition: transform .2s; margin-top: 4px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 22px 22px 22px 66px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 15px; color: var(--ink); line-height: 1.75; margin-bottom: 14px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--navy); }
.info-box { border-radius: 2px; padding: 14px 16px; font-size: 14px; line-height: 1.6; margin: 14px 0; }
.info-navy  { background: #EEF2FF; border-left: 3px solid var(--navy); color: #1B3070; }
.info-gold  { background: #FBF4E2; border-left: 3px solid var(--gold); color: #5A3E08; }
.info-green { background: #EBF2EE; border-left: 3px solid var(--green); color: #1B4030; }
.info-red   { background: #FBF0ED; border-left: 3px solid var(--red); color: #7A1A08; }
.data-row { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-row:last-child { border-bottom: none; }
.data-label { color: var(--muted); min-width: 130px; font-size: 13px; }
.data-value { font-weight: 600; color: var(--ink); font-family: monospace; }
.data-block { background: #F8F6F1; border: 1px solid var(--border); padding: 14px 16px; margin: 14px 0; }
.faq-footer { margin-top: 40px; padding: 20px 22px; background: var(--navy-dk); color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.6; }
.faq-footer strong { color: #fff; }
.faq-footer a { color: var(--gold); }
@media (max-width: 560px) {
  .faq-a { padding: 18px 16px; }
  .faq-q { padding: 16px; }
  .data-label { min-width: 100px; }
}

window.toggleFaq = function(btn) {
  var item = btn.parentElement;
  item.classList.toggle('open');
};