/* ============================================================
   JUSTICIA Y CIUDADANÍA — Corte Suprema de Justicia de Colombia
   styles.css — Todos los estilos del micrositio
   ============================================================ */

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

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 80px }

body {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  color: #1A1A2E;
  background: #fff;
  overflow-x: hidden;
  min-height: 100vh
}

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

button { cursor: pointer; background: none; border: none; font: inherit }

:root {
  --gold:   #F5AE42;
  --gold-d: #C8850A;
  --gold-l: #FDE9B8;
  --blue:   #0E6B8E;
  --blue-d: #0A4F6B;
  --deep:   #06334A;
  --cream:  #F5F0E8;
  --ink:    #1A1A2E;
  --muted:  #6B7280;
  --line:   #E5E0D6;
  --w:      1260px
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.1 }

.wrap { width: min(var(--w), calc(100% - 48px)); margin-inline: auto }

* { border-radius: 0 !important }

/* ---- Páginas (SPA) ---- */
.page { display: none }
.page.active { display: block }

/* ---- Topbar ---- */
.topbar {
  background: var(--deep);
  color: rgba(255,255,255,.8);
  padding: 0;
  font-size: .78rem;
  letter-spacing: .05em
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px }
.topbar-text { flex: 1; text-align: center }
.topbar-home {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 700;
  text-decoration: none; padding: 0 10px; white-space: nowrap
}
.topbar-home:hover { color: var(--gold) }
.topbar-home .hico { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold)
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px }
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer }
.brand-logo { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0 }
.brand-name { font-family: 'Playfair Display', serif; color: var(--deep); font-size: 1.05rem; font-weight: 700; display: block }
.brand-sub { color: var(--muted); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase }
.nav-links { display: flex; gap: 22px; font-size: .92rem; font-weight: 600; color: var(--blue-d) }
.nav-links span { cursor: pointer; transition: color .15s }
.nav-links span:hover { color: var(--gold-d) }

/* Dropdown de conversatorios */
.nav-dd-wrap { position: relative; cursor: pointer }
.nav-dd-trigger { display: flex; align-items: center; gap: 6px; color: var(--blue-d) }
.nav-dd-trigger:hover { color: var(--gold-d) }
.nav-dd-chev { transition: transform .2s }
.nav-dd-wrap:hover .nav-dd-chev { transform: rotate(180deg) }
.nav-dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 360px; background: #fff;
  border: 1.5px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: 0 16px 40px rgba(4,30,46,.18);
  padding: 6px 0; opacity: 0; visibility: hidden; transition: .18s; z-index: 300
}
.nav-dd-wrap:hover .nav-dd, .nav-dd.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) }
.nav-dd-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 18px;
  cursor: pointer; color: var(--blue-d); font-size: .86rem; font-weight: 500;
  transition: .15s; border-left: 3px solid transparent
}
.nav-dd-item:hover { background: var(--cream); border-left-color: var(--gold); color: var(--deep) }
.nav-dd-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; background: var(--gold); color: var(--deep);
  font-weight: 700; font-size: .78rem; flex-shrink: 0; margin-top: 1px
}
.nav-dd-name { flex: 1; line-height: 1.35 }
.nav-dd-sep { height: 1px; background: var(--line); margin: 6px 0 }
.nav-dd-all { color: var(--gold-d); font-weight: 600 }
.nav-dd-all .nav-dd-num { background: var(--deep); color: var(--gold) }

.nav-right { display: flex; align-items: center; gap: 10px }
.nav-btn {
  background: var(--gold); color: var(--deep); font-weight: 700; font-size: .87rem;
  padding: 10px 20px; transition: background .2s, color .2s
}
.nav-btn:hover { background: var(--gold-d); color: #fff }
.nav-home-btn {
  display: flex; align-items: center; gap: 6px; color: var(--deep); font-weight: 700;
  font-size: .82rem; text-decoration: none; padding: 8px 14px;
  border: 1.5px solid var(--line); background: #fff; transition: .18s
}
.nav-home-btn:hover { border-color: var(--gold); color: var(--gold-d); background: var(--gold-l) }

/* ---- Popup ---- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,30,46,.9); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .35s ease
}
.popup-overlay.hidden { display: none }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.popup-box {
  position: relative; max-width: 1000px; width: 100%;
  background: transparent; box-shadow: none; animation: slideUp .38s ease
}
@keyframes slideUp { from { transform: translateY(28px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.popup-box img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain }
.popup-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  background: rgba(0,0,0,.55); color: #fff; border: 2px solid rgba(255,255,255,.3);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: .2s; z-index: 10
}
.popup-close:hover { background: var(--gold); color: var(--deep); border-color: var(--gold) }

/* ---- Home ---- */
.home-header { padding: 28px 0 8px; background: transparent }
.home-header img {
  display: block; width: min(var(--w), calc(100% - 48px));
  height: auto; object-fit: cover; margin-inline: auto
}
.sec-hdr { display: flex; align-items: center; gap: 16px; padding: 34px 0 0 }
.sec-hdr h2 { font-size: 1.55rem; color: var(--deep); white-space: nowrap }
.sec-line { flex: 1; height: 1px; background: var(--line) }
.sec-sub { font-size: .85rem; color: var(--gold-d); font-weight: 600; white-space: nowrap }

/* ---- Cards (grid home) ---- */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 18px 0 56px }
.card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform .25s, box-shadow .25s
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(14,107,142,.13) }
.card-img { position: relative; height: 210px; overflow: hidden }
.card-img .bg { position: absolute; inset: 0; transition: transform .4s }
.card:hover .card-img .bg { transform: scale(1.04) }
.card-img img { width: 100%; height: 100%; object-fit: cover }
.card-cat {
  position: absolute; top: 0; left: 18px;
  background: var(--gold); color: var(--deep);
  font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 12px; z-index: 3
}
.card-body {
  padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px;
  border-top: 3px solid var(--gold)
}
.card-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--muted) }
.card h3 { font-size: 1.13rem; color: var(--deep); line-height: 1.25 }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.58; flex: 1 }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px }
.card-link { color: var(--gold-d); font-weight: 700; font-size: .87rem }
.card-bdg { font-size: .77rem; color: var(--muted); background: var(--cream); padding: 3px 10px }
.ref-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  background: rgba(0,0,0,.65); color: #fff; font-size: .69rem; font-weight: 600;
  letter-spacing: .03em; padding: 4px 10px 4px 26px; line-height: 1.3; pointer-events: none
}
.ref-label::before { content: '📸'; position: absolute; left: 8px; top: 3px }

/* ---- Hero de conversatorio ---- */
.ev-hero { position: relative; min-height: 460px; overflow: hidden; display: flex; align-items: flex-end }
.ev-hero-bg { position: absolute; inset: 0 }
.ev-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30% }
.ev-hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,51,74,.97) 0%, rgba(6,51,74,.75) 55%, rgba(6,51,74,.18) 100%)
}
.ev-hero-ct { position: relative; z-index: 2; width: 100%; padding: 52px 0 46px 60px }
.breadcrumb { font-size: .83rem; color: rgba(255,255,255,.42); margin-bottom: 14px; display: flex; align-items: center; gap: 5px }
.breadcrumb span { color: var(--gold); font-weight: 600; cursor: pointer }
.ev-tag {
  display: inline-flex; background: var(--gold); color: var(--deep);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; margin-bottom: 14px
}
.ev-hero-ct h1 {
  font-size: clamp(2rem,3.8vw,3.2rem); color: #fff;
  margin-bottom: 16px; max-width: 900px; font-style: normal; font-weight: 700
}
.ev-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px }
.ev-meta-i { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.75); font-size: .92rem }
.ev-meta-i .ico { width: 30px; height: 30px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .85rem }
.ev-pills { display: flex; gap: 8px; flex-wrap: wrap }
.ev-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.78); font-size: .78rem; padding: 4px 12px }

/* ---- Tabs de conversatorio ---- */
.tabs-bar { position: sticky; top: 72px; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.05) }
.tabs-inner { width: min(var(--w), calc(100% - 48px)); margin-inline: auto; display: flex; overflow-x: auto }
.tab-btn {
  padding: 14px 22px; font-weight: 600; font-size: .92rem; cursor: pointer;
  color: var(--muted); border: none; background: none;
  border-bottom: 3px solid transparent; white-space: nowrap; transition: .2s;
  font-family: 'Inter', sans-serif
}
.tab-btn.on { color: var(--deep); border-bottom-color: var(--gold) }
.tab-btn:hover { color: var(--blue-d) }
.tab { display: none }
.tab.on { display: block }

/* ---- Cuerpo de conversatorio ---- */
.ev-body { padding: 32px 0 64px }
.two-col { display: grid; grid-template-columns: 1fr 350px; gap: 24px; align-items: start }
.vid-stack { display: flex; flex-direction: column; gap: 28px }
.vid-stack > div { width: 100% }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px }
.ev-stat { background: #fff; border: 1px solid var(--line); padding: 17px; text-align: center }
.ev-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--deep) }
.ev-stat span { font-size: .8rem; color: var(--muted) }

/* Bloque de contenido */
.blk { background: #fff; border: 1px solid var(--line); padding: 24px; margin-bottom: 18px }
.blk-title {
  font-size: 1.15rem; color: var(--deep); margin-bottom: 15px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold-l);
  display: flex; align-items: center; gap: 8px
}
.blk-title::before { content: ''; width: 4px; height: 18px; background: var(--gold); flex-shrink: 0 }

/* Resumen */
.res p { color: var(--muted); line-height: 1.78; font-size: 1rem; margin-bottom: 12px }
.res p:last-child { margin-bottom: 0 }
.quote-box { background: linear-gradient(135deg,rgba(14,107,142,.06),rgba(6,51,74,.04)); border-left: 4px solid var(--gold); padding: 14px 16px; margin-top: 15px }
.quote-box p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.02rem; color: var(--deep); line-height: 1.6; margin: 0 }

/* Temas */
.temas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px }
.tema { background: var(--cream); padding: 15px }
.tema .ti { font-size: 1.25rem; margin-bottom: 6px }
.tema strong { display: block; font-size: .95rem; color: var(--deep) }
.tema p { font-size: .85rem; color: var(--muted); margin-top: 4px; line-height: 1.46 }

/* Agenda */
.ag-item { display: flex }
.ag-item + .ag-item { border-top: 1px solid var(--cream) }
.ag-time { min-width: 118px; padding: 16px 12px 16px 0 }
.ag-ts { font-weight: 700; font-size: .89rem; color: var(--deep); display: block }
.ag-te { font-size: .78rem; color: var(--muted); display: block; margin-top: 2px }
.ag-bar { width: 3px; background: var(--line); margin: 16px 14px 16px 0; position: relative; flex-shrink: 0 }
.ag-bar::before {
  content: ''; width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--gold);
  position: absolute; left: 50%; top: 4px; transform: translateX(-50%)
}
.ag-ct { padding: 16px 0; flex: 1 }
.ag-type { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 3px }
.ag-ct h4 { font-size: 1rem; color: var(--ink); line-height: 1.26; margin-bottom: 2px }
.ag-ct p { font-size: .86rem; color: var(--muted) }
.ag-item.sp .ag-bar::before { background: var(--blue-d); box-shadow: 0 0 0 2px var(--blue-d) }
.ag-item.sp .ag-type { color: var(--blue-d) }

/* Paneles (acordeones) */
.panel { border: 1px solid var(--line); overflow: hidden; margin-bottom: 12px }
.p-hdr { padding: 14px 18px; background: var(--deep); color: #fff; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: .18s }
.p-hdr:hover { background: var(--blue-d) }
.p-hdr.inst { background: var(--blue-d) }
.p-num { min-width: 32px; height: 32px; background: var(--gold); color: var(--deep); font-weight: 700; font-size: .87rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.p-num.sm { background: rgba(255,255,255,.18); color: #fff }
.p-hdr h4 { font-size: .95rem; color: #fff; line-height: 1.2; flex: 1; font-family: 'Playfair Display', serif }
.p-hdr .t { font-size: .78rem; color: rgba(255,255,255,.5); white-space: nowrap }
.arr { color: rgba(255,255,255,.45); font-size: .8rem; margin-left: 4px }
.p-body { max-height: 0; overflow: hidden; transition: max-height .38s ease }
.p-body.on { max-height: 2400px }
.p-body-in { padding: 16px }

/* Panelistas */
.prow { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--cream) }
.prow:last-child { border-bottom: none; padding-bottom: 0 }
.av { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: .88rem; color: #fff; flex-shrink: 0 }
.a1 { background: linear-gradient(135deg,#06334A,#0E6B8E) }
.a2 { background: linear-gradient(135deg,#7B1D0E,#C0392B) }
.a3 { background: linear-gradient(135deg,#2D1B69,#5B2D8E) }
.a4 { background: linear-gradient(135deg,#1B4D3E,#27AE60) }
.a5 { background: linear-gradient(135deg,#5D4037,#8D6E63) }
.a6 { background: linear-gradient(135deg,#1A237E,#3949AB) }
.a7 { background: linear-gradient(135deg,#880E4F,#C2185B) }
.a8 { background: linear-gradient(135deg,#33691E,#558B2F) }
.p-info strong { display: block; font-size: .93rem; color: var(--deep); line-height: 1.2 }
.p-info em { font-size: .81rem; color: var(--muted); display: block; margin-top: 2px; font-style: normal; line-height: 1.4 }
.badge { display: inline-block; font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; margin-top: 3px }
.bmod { background: rgba(14,107,142,.1); color: var(--blue-d) }
.bpan { background: rgba(245,174,66,.15); color: var(--gold-d) }
.binst { background: rgba(6,51,74,.08); color: var(--deep) }

/* ---- Playlist de video ---- */
.vpl-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; align-items: stretch }
.vpl-player { background: var(--deep); display: flex; flex-direction: column }
.vpl-screen { aspect-ratio: 16/9; position: relative; background: linear-gradient(135deg,var(--deep),var(--blue)) }
.vpl-screen iframe { width: 100%; height: 100%; border: 0 }
.vpl-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; color: #fff; cursor: pointer; border: none; background: none; width: 100%; padding: 22px; text-align: center }
.vpl-play-btn { width: 64px; height: 64px; background: rgba(245,174,66,.25); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: .2s; flex-shrink: 0 }
.vpl-now-title { padding: 7px 14px; background: var(--deep); display: flex; align-items: center; gap: 10px }
.vpl-now-label { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); flex-shrink: 0; margin: 0; line-height: 1 }
.vpl-now-name { font-family: 'Playfair Display', serif; font-size: .92rem; color: #fff; line-height: 1.2; margin: 0 }
.vpl-list { background: #f8f5f0; overflow-y: auto; max-height: 100% }
.vpl-list-hdr { padding: 12px 15px; background: var(--deep); color: var(--gold); font-size: .77rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase }
.vpl-item { display: flex; cursor: pointer; border-bottom: 1px solid var(--line); transition: background .15s }
.vpl-item:last-child { border-bottom: none }
.vpl-item:hover { background: #efe8d8 }
.vpl-item.active { background: var(--gold-l); border-left: 3px solid var(--gold) }
.vpl-item-num { min-width: 40px; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--muted); flex-shrink: 0 }
.vpl-item.active .vpl-item-num { color: var(--gold-d) }
.vpl-item-info { padding: 12px 13px 12px 0; flex: 1 }
.vpl-item-type { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-d); display: block; margin-bottom: 2px }
.vpl-item-name { font-size: .87rem; color: var(--deep); line-height: 1.3; font-weight: 600 }
.vpl-item-dur { font-size: .75rem; color: var(--muted); margin-top: 3px }
.vpl-item.active .vpl-item-name { color: var(--gold-d) }

/* ---- Galería ---- */
.gal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px }
.gal-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; background: var(--cream) }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s }
.gal-thumb:hover img { transform: scale(1.07) }
.gal-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(6,51,74,0); transition: .25s; pointer-events: none }
.gal-thumb:hover::after { background: rgba(6,51,74,.18) }
.gal-thumb .gal-zico { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.85); width: 44px; height: 44px; background: rgba(245,174,66,.95); color: var(--deep); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .25s; pointer-events: none; z-index: 2 }
.gal-thumb:hover .gal-zico { opacity: 1; transform: translate(-50%,-50%) scale(1) }
.gal-wrap { display: flex; flex-direction: column; gap: 12px }
.gal-pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0 2px; flex-wrap: wrap }
.gal-pager.hidden { display: none }
.gal-arrow { width: 36px; height: 36px; background: var(--deep); color: #fff; border: none; cursor: pointer; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; transition: .18s; font-family: inherit }
.gal-arrow:hover:not(:disabled) { background: var(--gold); color: var(--deep) }
.gal-arrow:disabled { opacity: .28; cursor: not-allowed }
.gal-dots-line { display: flex; gap: 6px }
.gal-page-dot { width: 9px; height: 9px; background: var(--line); cursor: pointer; transition: .18s }
.gal-page-dot:hover { background: var(--gold-l) }
.gal-page-dot.on { background: var(--gold) }
.gal-page-count { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; min-width: 62px; text-align: center }

/* Carrusel */
.gal-carousel { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--cream); overflow: hidden; cursor: pointer; margin-bottom: 4px }
.gal-car-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s }
.gal-car-img.fading { opacity: 0 }
.gal-car-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(4,30,46,.55); color: #fff; border: none; cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; transition: .18s; z-index: 2 }
.gal-car-arrow:hover { background: var(--gold); color: var(--deep) }
.gal-car-prev { left: 14px }
.gal-car-next { right: 14px }
.gal-car-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2 }
.gal-car-dot { width: 9px; height: 9px; background: rgba(255,255,255,.45); cursor: pointer; transition: .18s }
.gal-car-dot:hover { background: rgba(255,255,255,.85) }
.gal-car-dot.on { background: var(--gold) }
.gal-car-counter { position: absolute; top: 12px; right: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; z-index: 2 }

/* ---- Lightbox ---- */
.lb-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.93); display: flex; align-items: center; justify-content: center; padding: 40px; animation: lbIn .25s ease }
.lb-overlay.hidden { display: none }
@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }
.lb-img-wrap { position: relative; max-width: 92vw; max-height: 84vh; display: flex; align-items: center; justify-content: center }
.lb-img { max-width: 92vw; max-height: 84vh; object-fit: contain; display: block; box-shadow: 0 24px 80px rgba(0,0,0,.6) }
.lb-close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.25); font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; z-index: 3 }
.lb-close:hover { background: var(--gold); color: var(--deep); border-color: var(--gold) }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.25); font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; z-index: 3; font-family: 'Inter', sans-serif }
.lb-prev { left: 22px }
.lb-next { right: 22px }
.lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--deep); border-color: var(--gold) }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .88rem; font-weight: 600; letter-spacing: .05em; background: rgba(0,0,0,.5); padding: 6px 14px; z-index: 3 }
.lb-dots { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3 }
.lb-dot { width: 9px; height: 9px; background: rgba(255,255,255,.3); cursor: pointer; transition: .18s }
.lb-dot.on { background: var(--gold) }
.lb-dot:hover { background: rgba(255,255,255,.6) }

/* ---- Sidebar ---- */
.sidebar { display: flex; flex-direction: column; gap: 14px }
.sb { background: #fff; border: 1px solid var(--line); padding: 18px }
.sb h4 { font-size: .96rem; color: var(--deep); margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-family: 'Playfair Display', serif }
.info-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--cream) }
.info-row:last-child { border-bottom: none; padding-bottom: 0 }
.iico { width: 30px; height: 30px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: .88rem; flex-shrink: 0 }
.info-row strong { display: block; font-size: .87rem; color: var(--ink) }
.info-row em { font-size: .8rem; color: var(--muted); font-style: normal }
.cl { display: flex; gap: 9px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cream); cursor: pointer }
.cl:last-child { border-bottom: none; padding-bottom: 0 }
.cl:hover .cl-name { color: var(--gold-d) }
.cl-dot { min-width: 7px; height: 7px; background: var(--gold); margin-top: 4px; flex-shrink: 0 }
.cl-name { font-size: .87rem; color: var(--deep); display: block; transition: .15s }
.cl-date { font-size: .78rem; color: var(--muted) }
.sb-dark { background: var(--deep) }
.sb-dark h4 { color: var(--gold); border-bottom-color: rgba(255,255,255,.1) }
.sb-dark p { font-size: .87rem; color: rgba(255,255,255,.6); line-height: 1.62 }

/* ---- Footer ---- */
footer { background: var(--deep); color: #fff; padding: 40px 0 18px }
.foot-grid { display: flex; gap: 32px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px }
.foot-brand-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 11px; border: 2px solid rgba(245,174,66,.35); background: #fff; padding: 4px }
.foot-brand p { color: rgba(255,255,255,.5); font-size: .85rem; max-width: 26ch; line-height: 1.62 }
.foot-col h5 { color: var(--gold); font-family: 'Playfair Display', serif; margin-bottom: 9px; font-size: .95rem }
.foot-col span { display: block; color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 6px; cursor: pointer; transition: .15s }
.foot-col span:hover { color: var(--gold) }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 14px; display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 6px }

/* ---- Página lista de conversatorios ---- */
#lista { display: none }
#lista.active { display: block }
.lst-hero { background: linear-gradient(135deg,var(--deep) 0%,var(--blue-d) 100%); color: #fff; padding: 46px 0 40px; border-bottom: 4px solid var(--gold) }
.lst-hero-eyebrow { display: inline-block; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px }
.lst-hero-title { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; margin: 0 0 12px; letter-spacing: -.02em }
.lst-hero-sub { font-size: 1.02rem; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 680px; margin: 0 }
.lst-section { padding: 36px 0 60px; background: var(--cream) }
.lst-list { display: flex; flex-direction: column; gap: 14px }
.lst-row { display: grid; grid-template-columns: 88px 1fr 200px; gap: 24px; background: #fff; padding: 22px 26px; border: 1.5px solid var(--line); border-left: 5px solid var(--gold); cursor: pointer; transition: .2s; align-items: center }
.lst-row:hover { box-shadow: 0 12px 30px rgba(4,30,46,.1); transform: translateX(4px); border-left-color: var(--deep) }
.lst-num { font-family: 'Playfair Display', serif; font-size: 3.4rem; font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -.02em }
.lst-row:hover .lst-num { color: var(--deep) }
.lst-body { min-width: 0 }
.lst-tag { display: inline-block; background: var(--gold); color: var(--deep); font-size: .7rem; font-weight: 700; letter-spacing: .1em; padding: 3px 9px; margin-bottom: 8px }
.lst-title { font-family: 'Playfair Display', serif; font-size: 1.32rem; font-weight: 700; color: var(--deep); margin: 0 0 6px; line-height: 1.25 }
.lst-desc { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0 0 10px }
.lst-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--blue-d); font-size: .82rem; font-weight: 500 }
.lst-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px }
.lst-status { display: inline-block; padding: 5px 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em }
.lst-status-done { background: var(--deep); color: var(--gold) }
.lst-status-next { background: var(--cream); color: var(--muted); border: 1px solid var(--line) }
.lst-open { display: flex; align-items: center; gap: 6px; color: var(--gold-d); font-weight: 700; font-size: .88rem }
.lst-row:hover .lst-open { color: var(--deep) }

/* ---- Responsive ---- */
@media (max-width:1024px) {
  .two-col { grid-template-columns: 1fr }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr }
  .vpl-wrap { grid-template-columns: 1fr }
}
@media (max-width:900px) {
  .cards-grid { grid-template-columns: 1fr 1fr }
  .lst-hero-title { font-size: 2rem }
  .lst-row { grid-template-columns: 60px 1fr; padding: 18px }
  .lst-side { grid-column: 1/-1; flex-direction: row; justify-content: space-between; align-items: center }
  .lst-num { font-size: 2.6rem }
  .nav-dd { position: static; transform: none; min-width: 0; width: 100%; box-shadow: none; border: 0; border-top: 1px solid var(--line); padding: 0; display: none }
  .nav-dd.open { display: block; opacity: 1; visibility: visible; transform: none }
  .nav-dd-wrap:hover .nav-dd { opacity: 0; visibility: hidden }
  .nav-dd-wrap:hover .nav-dd.open { opacity: 1; visibility: visible }
}
@media (max-width:700px) {
  .gal-car-arrow { width: 38px; height: 38px; font-size: 1.05rem }
  .gal-car-prev { left: 8px }
  .gal-car-next { right: 8px }
}
@media (max-width:640px) {
  .cards-grid, .stats-row, .temas-grid { grid-template-columns: 1fr 1fr }
  .sidebar { grid-template-columns: 1fr }
  .nav-links, .nav-btn, .nav-home-btn { display: none }
  .ev-hero-ct { padding-left: 24px }
  .ev-hero-ct h1 { font-size: 1.8rem }
  .tabs-inner { width: 100% }
  .vpl-wrap { grid-template-columns: 1fr }
  .topbar-text { display: none }
  .topbar-home { padding: 0 12px }
}
