/* ==========================================================================
   ALE MEDIAL · sistema visual
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #071018;
  --ink-2: #0a151e;
  --surface: #0d1a23;
  --surface-2: #11232f;
  --surface-3: #152a37;
  --ivory: #f4efe6;
  --ivory-soft: #dfd8ca;
  --muted: #8fa3ad;
  --muted-2: #6f858f;
  --line: rgba(226, 235, 236, 0.12);
  --line-strong: rgba(226, 235, 236, 0.22);
  --amber: #f0b35b;
  --amber-2: #d99436;
  --teal: #53d6c7;
  --coral: #ef7b68;
  --violet: #a897ff;
  --lilac: #d9a7ff;
  --green: #7ee2a8;
  --header-h: 86px;
  --radius: 18px;
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
svg { display: block; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: -60px; left: 18px; z-index: 5000;
  background: var(--amber); color: var(--ink); padding: 10px 16px;
  border-radius: 8px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 18px; }

.noise {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--amber); font-size: 10.5px; line-height: 1.2;
  font-weight: 700; letter-spacing: .19em; text-transform: uppercase;
}
.section-index {
  display: inline-grid; place-items: center;
  width: 27px; height: 27px; border: 1px solid rgba(240,179,91,.45);
  border-radius: 50%; color: var(--amber); font-family: var(--font-body);
  font-size: 9px; font-weight: 800; letter-spacing: .08em; flex: 0 0 auto;
}
em { font-style: italic; color: var(--amber); }
.glass {
  background: rgba(10, 21, 30, .76);
  border: 1px solid rgba(236, 242, 240, .14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  height: var(--header-h); display: flex; align-items: center; gap: 30px;
  padding: 0 clamp(20px, 4vw, 62px);
  background: linear-gradient(180deg, rgba(7,16,24,.86), rgba(7,16,24,.25) 70%, transparent);
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,16,24,.94);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand-mark {
  display: grid; place-items: center; width: 45px; height: 45px;
  color: var(--amber); border-radius: 50%; flex: 0 0 auto;
}
.brand-mark svg { width: 45px; height: 45px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.brand-text strong {
  font-size: 14px; letter-spacing: .235em; font-weight: 800;
}
.brand-text small {
  color: var(--muted); font-size: 8.5px; letter-spacing: .145em;
  text-transform: uppercase; font-weight: 600;
}
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 13px; border-radius: 999px; color: #a6b2b8;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ivory); background: rgba(244,239,230,.055); }
.nav-link.active { color: var(--ivory); background: rgba(244,239,230,.075); }
.nav-link.active::after {
  content: ''; position: absolute; left: 50%; bottom: 4px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber); transform: translateX(-50%);
  box-shadow: 0 0 10px var(--amber);
}
.nav-num { color: var(--amber); font-size: 8px; font-weight: 800; letter-spacing: .08em; opacity: .8; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 11px; color: #bfcacb; font-size: 9.5px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
}
.live-pill i, .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(126,226,168,.1), 0 0 12px rgba(126,226,168,.7);
  animation: livePulse 2.2s infinite;
}
.live-pill.small { padding: 6px 9px; font-size: 8px; }
.header-linkedin {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ivory-soft); font-size: 10px; font-weight: 700;
  letter-spacing: .08em; transition: border-color .2s, color .2s, background .2s;
}
.header-linkedin svg { width: 13px; height: 13px; fill: currentColor; }
.header-linkedin:hover { border-color: rgba(240,179,91,.5); color: var(--amber); background: rgba(240,179,91,.06); }
.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ivory-soft);
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.theme-toggle:hover { border-color: rgba(240,179,91,.5); color: var(--amber); background: rgba(240,179,91,.06); transform: rotate(8deg); }
.theme-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; padding: 12px 10px; }
.menu-toggle span { display: block; width: 100%; height: 1px; background: var(--ivory); transition: transform .25s; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Vistas ---------- */
.view { display: none; }
.view.active { display: block; animation: viewIn .55s ease both; }
@keyframes viewIn { from { opacity: 0; } to { opacity: 1; } }
.view-content {
  padding: calc(var(--header-h) + 62px) clamp(20px, 5vw, 80px) 110px;
  background:
    radial-gradient(ellipse 80% 60% at 12% 8%, rgba(20, 62, 71, .20), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 18%, rgba(84, 50, 31, .17), transparent 60%),
    var(--ink);
  min-height: 100vh;
}
.page-hero {
  max-width: 1400px; margin: 0 auto; padding: 30px 0 70px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
  gap: 60px; align-items: end; border-bottom: 1px solid var(--line);
}
.page-hero-copy h1 {
  margin-top: 27px; max-width: 820px;
  font-family: var(--font-display); font-size: clamp(43px, 5.2vw, 78px);
  line-height: .96; letter-spacing: -.035em; font-weight: 340;
}
.page-hero-copy p {
  max-width: 650px; margin-top: 26px; color: #aab8bc;
  font-size: 15px; line-height: 1.75;
}
.page-hero-aside { display: flex; justify-content: flex-end; align-items: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 13px 21px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .055em;
  transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: #1b1206; box-shadow: 0 12px 34px rgba(240,179,91,.16); }
.btn-primary:hover { background: #f6c478; transform: translateY(-1px); box-shadow: 0 16px 40px rgba(240,179,91,.23); }
.btn-text { padding: 12px 3px; color: #c7d0d2; }
.btn-text:hover { color: var(--amber); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--ivory-soft); }
.btn-outline:hover { border-color: rgba(240,179,91,.55); color: var(--amber); background: rgba(240,179,91,.055); }
.btn-small { padding: 10px 15px; font-size: 10.5px; }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translate(2px, -1px); }
.pill-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px;
  color: #9aaab0; font-size: 10.5px; font-weight: 700; transition: all .2s;
}
.pill:hover { color: var(--ivory); border-color: var(--line-strong); }
.pill.active { background: var(--amber); border-color: var(--amber); color: #1a1205; }

/* ==========================================================================
   MAPA
   ========================================================================== */
.map-stage {
  position: relative; height: 100svh; min-height: 700px;
  overflow: hidden; background: #071019;
}
.map-canvas { position: absolute; inset: 0; z-index: 0; }
.map-vignette {
  position: absolute; inset: 0; z-index: 400; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,13,19,.83) 0%, rgba(5,13,19,.35) 29%, transparent 56%),
    linear-gradient(0deg, rgba(5,13,19,.88) 0%, transparent 28%, transparent 74%, rgba(5,13,19,.4) 100%);
}
.map-grid {
  position: absolute; inset: 0; z-index: 401; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(to right, rgba(240,179,91,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240,179,91,.055) 1px, transparent 1px);
  background-size: 25vw 25vh;
  mask-image: radial-gradient(ellipse 70% 70% at 58% 50%, black 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 58% 50%, black 10%, transparent 76%);
}
.map-topline {
  position: absolute; z-index: 700; top: calc(var(--header-h) + 24px);
  left: clamp(20px, 4vw, 62px); right: clamp(20px, 4vw, 62px);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  pointer-events: none;
}
.map-breadcrumb {
  pointer-events: auto; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  background: rgba(8,18,26,.56); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.crumb { color: #82949c; transition: color .2s; }
.crumb:hover { color: var(--ivory); }
.crumb.active { color: var(--amber); }
.crumb-sep { color: rgba(244,239,230,.2); }
.map-live {
  display: inline-flex; align-items: center; gap: 10px;
  color: #aab9bc; font-size: 9px; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; background: rgba(8,18,26,.5); border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px; backdrop-filter: blur(12px);
}
.map-hero {
  position: absolute; z-index: 650; left: clamp(20px, 5vw, 74px); bottom: 58px;
  width: min(535px, calc(100vw - 40px)); padding: 29px 31px 27px;
  border-radius: 22px; transition: width .4s, background .4s;
}
.map-hero-top { display: flex; align-items: center; gap: 11px; margin-bottom: 19px; }
.map-hero h1 {
  font-family: var(--font-display); font-size: clamp(39px, 4.2vw, 57px);
  line-height: .94; letter-spacing: -.035em; font-weight: 330; max-width: 430px;
}
.map-hero p {
  margin-top: 19px; color: #aebbc0; font-size: 13.5px; line-height: 1.72;
  max-width: 420px;
}
.map-hero-actions { display: flex; align-items: center; gap: 17px; margin-top: 24px; flex-wrap: wrap; }
.map-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  border-top: 1px solid var(--line); margin-top: 25px; padding-top: 19px;
}
.map-stats .stat-value {
  display: block; font-family: var(--font-display); font-size: 25px;
  line-height: 1; color: var(--ivory);
}
.map-stats .stat-label {
  display: block; margin-top: 6px; color: var(--muted); font-size: 8px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.node-filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--line); margin-top: 22px; padding-top: 17px;
}
.filter-label {
  color: var(--muted); font-size: 8.5px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase; margin-right: 3px;
}
.node-filter {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 9px; color: #81949b; font-size: 9px; font-weight: 700;
  transition: all .2s;
}
.node-filter b { color: var(--ivory-soft); font-weight: 800; }
.node-filter:hover { color: var(--ivory); border-color: var(--line-strong); }
.node-filter.off { opacity: .42; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.dot-prof { background: var(--teal); box-shadow: 0 0 9px rgba(83,214,199,.75); }
.dot-heritage { background: var(--ivory); border-radius: 1px; transform: rotate(45deg); box-shadow: 0 0 9px rgba(244,239,230,.55); }
.dot-festival { background: var(--coral); box-shadow: 0 0 9px rgba(239,123,104,.7); }

.level-rail {
  position: absolute; z-index: 700; right: clamp(20px, 4vw, 62px); top: 50%;
  transform: translateY(-50%); display: flex; flex-direction: column;
  align-items: stretch; gap: 0; padding: 10px; border-radius: 999px;
  background: rgba(8,18,26,.42); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.level-rail-label {
  position: absolute; top: -23px; left: 50%; transform: translateX(-50%);
  color: var(--muted-2); font-size: 7px;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 800;
  white-space: nowrap;
}
.level-btn {
  position: relative; display: flex; align-items: center; gap: 9px;
  padding: 12px 8px; border-radius: 999px; color: #7f949b;
  transition: color .2s, background .2s; text-align: left;
}
.level-btn + .level-btn::before {
  content: ''; position: absolute; top: -1px; left: 22px; width: 1px; height: 2px;
  background: var(--line);
}
.level-dot {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid #576d76;
  display: grid; place-items: center; transition: all .3s; flex: 0 0 auto;
}
.level-dot::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #758a92; transition: all .3s; }
.level-copy { display: flex; flex-direction: column; gap: 1px; }
.level-copy strong { font-size: 8px; letter-spacing: .12em; color: #677e87; font-weight: 800; }
.level-copy small { font-size: 9px; font-weight: 700; white-space: nowrap; }
.level-btn:hover { color: var(--ivory); }
.level-btn.active { color: var(--ivory); background: rgba(244,239,230,.08); }
.level-btn.active .level-dot { border-color: var(--amber); box-shadow: 0 0 18px rgba(240,179,91,.3); }
.level-btn.active .level-dot::after { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.level-btn.active .level-copy strong { color: var(--amber); }

.map-legend {
  position: absolute; z-index: 700; right: clamp(20px, 4vw, 62px); bottom: 57px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(8,18,26,.56); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #9aabb0; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
}
.map-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.legend-hint { color: #647b84; }
.map-legend kbd {
  display: inline-grid; place-items: center; width: 15px; height: 15px;
  border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-body);
  font-size: 9px; color: #8da0a6;
}
.map-corner-note {
  position: absolute; z-index: 600; left: clamp(20px, 5vw, 74px); bottom: 20px;
  display: flex; align-items: center; gap: 11px; color: #5f777f;
  font-size: 8px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.corner-line { width: 30px; height: 1px; background: rgba(240,179,91,.5); }
.scroll-cue {
  position: absolute; z-index: 600; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: #627a82; font-size: 7.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; white-space: nowrap;
}
.scroll-line { width: 1px; height: 28px; background: linear-gradient(var(--amber), transparent); animation: scrollDrop 2.4s ease-in-out infinite; }
@keyframes scrollDrop { 0%,100% { transform: scaleY(.45); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }

.map-node-panel {
  position: absolute; z-index: 800; right: clamp(20px, 5vw, 74px); bottom: 110px;
  width: min(370px, calc(100vw - 40px)); border-radius: 20px;
  padding: 25px; animation: panelIn .32s ease both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.node-panel-close {
  position: absolute; top: 12px; right: 13px; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--line); color: var(--muted);
  font-size: 17px; line-height: 1; display: grid; place-items: center;
}
.node-panel-close:hover { color: var(--ivory); border-color: var(--line-strong); }
.node-panel-kicker {
  display: inline-flex; align-items: center; gap: 7px; color: var(--amber);
  font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.node-panel-title { margin-top: 9px; font-family: var(--font-display); font-size: 28px; line-height: 1.02; padding-right: 20px; }
.node-panel-body { margin-top: 11px; color: #a3b2b7; font-size: 12px; line-height: 1.65; }
.node-panel-meta { margin-top: 13px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.node-panel-actions { display: flex; gap: 9px; margin-top: 17px; flex-wrap: wrap; }

/* ---------- Leaflet ---------- */
.leaflet-container { background: #061019; font-family: var(--font-body); }
.leaflet-control-attribution {
  background: rgba(7,16,24,.64) !important; color: #637b84 !important;
  font-size: 8px !important; padding: 3px 7px !important;
  border-radius: 5px 0 0 0; backdrop-filter: blur(8px);
}
.leaflet-control-attribution a { color: #8fa3aa !important; }
.leaflet-control-zoom { border: 0 !important; box-shadow: none !important; margin-right: 22px !important; margin-bottom: 98px !important; }
.leaflet-control-zoom a {
  background: rgba(8,18,26,.7) !important; color: #cad3d4 !important;
  border: 1px solid var(--line) !important; width: 30px !important; height: 30px !important;
  line-height: 28px !important; font-size: 16px !important; backdrop-filter: blur(10px);
}
.leaflet-control-zoom a:hover { background: rgba(240,179,91,.15) !important; color: var(--amber) !important; }
.leaflet-control-zoom-in { border-radius: 8px 8px 0 0 !important; }
.leaflet-control-zoom-out { border-radius: 0 0 8px 8px !important; border-top: 0 !important; }
.leaflet-popup-content-wrapper {
  background: #0b1821; color: var(--ivory); border: 1px solid rgba(240,179,91,.32);
  border-radius: 14px; box-shadow: 0 18px 55px rgba(0,0,0,.55);
}
.leaflet-popup-content { margin: 15px 17px; line-height: 1.5; }
.leaflet-popup-tip { background: #0b1821; border: 1px solid rgba(240,179,91,.3); }
.leaflet-popup-close-button { color: #8ea1a6 !important; font-size: 18px !important; top: 5px !important; right: 7px !important; }
.map-tooltip {
  background: rgba(7,16,24,.92) !important; border: 1px solid var(--line-strong) !important;
  color: var(--ivory) !important; border-radius: 6px !important; box-shadow: none !important;
  font-size: 9px !important; letter-spacing: .05em; font-weight: 700; padding: 5px 8px !important;
}
.map-tooltip::before { display: none; }
.popup-kicker { display: block; color: var(--amber); font-size: 7.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 5px; }
.popup-title { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.05; margin-bottom: 5px; }
.popup-desc { display: block; color: #9fafb4; font-size: 10.5px; line-height: 1.5; margin-bottom: 9px; }
.popup-link { color: var(--amber); font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* Marker */
.map-marker { position: relative; display: block; width: 24px; height: 24px; }
.map-marker .marker-core {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  transform: translate(-50%, -50%); display: block;
}
.map-marker .marker-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid currentColor; opacity: 0; animation: markerPulse 3.2s ease-out infinite;
}
.map-marker.professional { color: var(--teal); }
.map-marker.professional .marker-core {
  background: var(--teal); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(83,214,199,.18), 0 0 18px rgba(83,214,199,.8);
}
.map-marker.heritage { color: var(--ivory); }
.map-marker.heritage .marker-core {
  background: var(--ivory); transform: translate(-50%,-50%) rotate(45deg);
  box-shadow: 0 0 0 3px rgba(244,239,230,.12), 0 0 16px rgba(244,239,230,.5);
}
.map-marker.festival { color: var(--coral); }
.map-marker.festival .marker-core {
  background: var(--coral); border-radius: 50% 50% 50% 0;
  transform: translate(-50%,-50%) rotate(-45deg);
  box-shadow: 0 0 0 3px rgba(239,123,104,.16), 0 0 18px rgba(239,123,104,.8);
}
.map-marker:hover .marker-core { filter: brightness(1.35); }
.map-marker.dim { opacity: .18; }
@keyframes markerPulse {
  0% { transform: scale(.35); opacity: .7; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Home lower ---------- */
.home-lower {
  padding: 100px clamp(20px, 5vw, 80px) 110px;
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(31, 80, 85, .17), transparent 65%),
    linear-gradient(180deg, #08121a, #071018);
}
.home-lower > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.home-lower-head {
  display: grid; grid-template-columns: 1.15fr .65fr; gap: 60px;
  align-items: end; padding-bottom: 44px; border-bottom: 1px solid var(--line);
}
.home-lower-head h2 {
  margin-top: 21px; font-family: var(--font-display); font-size: clamp(36px, 4.3vw, 61px);
  line-height: .98; letter-spacing: -.03em; font-weight: 330;
}
.home-lower-head p { color: #9dafb4; font-size: 13.5px; line-height: 1.7; max-width: 390px; }
.direction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 1px; }
.direction-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; min-height: 285px; padding: 27px 23px 24px;
  background: #08131b; transition: background .3s, transform .3s; overflow: hidden;
}
.direction-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.direction-card:hover { background: #0b1921; }
.direction-card:hover::after { transform: scaleX(1); }
.direction-num { color: #5e767e; font-size: 8.5px; letter-spacing: .16em; font-weight: 800; }
.direction-icon { height: 48px; margin: 38px 0 26px; color: var(--amber); }
.direction-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.direction-card strong { font-family: var(--font-display); font-size: 24px; line-height: 1.04; font-weight: 380; max-width: 220px; }
.direction-card > span:not(.direction-num):not(.direction-icon) { color: #8ea2a8; font-size: 11px; line-height: 1.6; margin-top: 11px; max-width: 230px; }
.direction-card small { margin-top: auto; padding-top: 24px; color: var(--amber); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.direction-card small span { transition: transform .2s; }
.direction-card:hover small span { transform: translate(2px, -2px); }

.home-pulse {
  display: grid; grid-template-columns: .68fr 1.32fr; gap: 70px;
  padding: 58px 0; border-bottom: 1px solid var(--line);
}
.home-pulse-intro h3 {
  margin-top: 22px; font-family: var(--font-display); font-size: 40px;
  line-height: 1; letter-spacing: -.03em; font-weight: 360;
}
.home-pulse-intro p { margin-top: 15px; color: #899da3; font-size: 12.5px; line-height: 1.65; max-width: 300px; }
.home-pulse-intro .btn { margin-top: 19px; }
.home-pulse-feed { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pulse-post {
  display: grid; grid-template-columns: 85px 1fr auto; gap: 22px; align-items: center;
  width: 100%; text-align: left; padding: 18px 4px; border-bottom: 1px solid var(--line);
  transition: padding .25s, background .25s;
}
.pulse-post:hover { padding-left: 10px; padding-right: 8px; background: rgba(244,239,230,.025); }
.pulse-post img { width: 85px; height: 64px; object-fit: cover; border-radius: 8px; filter: saturate(.72) brightness(.82); }
.pulse-post-body strong { display: block; font-size: 12.5px; line-height: 1.35; font-weight: 700; max-width: 520px; }
.pulse-post-body span { display: block; margin-top: 7px; color: #6f858d; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.pulse-arrow { color: var(--amber); font-size: 15px; }

.home-quote {
  position: relative; padding: 90px 0 10px; max-width: 980px !important; text-align: center;
}
.quote-mark { display: block; height: 44px; color: var(--amber); font-family: var(--font-display); font-size: 80px; line-height: .8; opacity: .7; }
.home-quote blockquote {
  margin: 15px auto 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 39px);
  line-height: 1.2; letter-spacing: -.02em; font-weight: 330; color: #e9e3d8;
}
.quote-author { display: inline-flex; align-items: center; gap: 11px; margin-top: 26px; text-align: left; }
.quote-avatar {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(240,179,91,.12); border: 1px solid rgba(240,179,91,.4);
  color: var(--amber); font-size: 9px; font-weight: 800; letter-spacing: .08em;
}
.quote-author strong { display: block; font-size: 11px; letter-spacing: .02em; }
.quote-author small { display: block; color: #768b93; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

/* ==========================================================================
   PROFESIONALES
   ========================================================================== */
.orbit-graphic { position: relative; width: 240px; height: 240px; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-1 { inset: 20px; }
.orbit-2 { inset: 56px; border-color: rgba(240,179,91,.3); }
.orbit-3 { inset: 92px; }
.orbit-core {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(240,179,91,.5); color: var(--amber); background: rgba(240,179,91,.07);
  font-family: var(--font-display); font-size: 21px;
}
.orbit::before { content: ''; position: absolute; top: -3px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.orbit-label {
  position: absolute; color: #8da1a7; font-size: 7.5px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 800;
}
.orbit-label-a { top: 3px; left: 13px; }
.orbit-label-b { right: -12px; top: 50%; }
.orbit-label-c { bottom: 8px; left: 32px; }

.directory-layout {
  max-width: 1400px; margin: 0 auto; padding-top: 52px;
  display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 62px;
}
.directory-aside { align-self: start; position: sticky; top: 112px; }
.filter-block { border-top: 1px solid var(--line); padding-top: 18px; }
.filter-heading { display: block; color: var(--muted); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; font-weight: 800; margin-bottom: 13px; }
.category-list { display: flex; flex-direction: column; gap: 2px; }
.category-filter {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 11px; border-radius: 8px; color: #93a6ac; text-align: left;
  font-size: 11px; font-weight: 650; transition: all .2s;
}
.category-filter b { color: #586e76; font-size: 9px; font-weight: 800; }
.category-filter:hover { color: var(--ivory); background: rgba(244,239,230,.035); }
.category-filter.active { background: rgba(240,179,91,.1); color: var(--amber); }
.category-filter.active b { color: var(--amber); }
.aside-note { margin-top: 32px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,35,47,.38); }
.aside-note-kicker { display: block; color: var(--amber); font-family: var(--font-display); font-size: 18px; line-height: 1.1; }
.aside-note p { margin-top: 9px; color: #8da1a7; font-size: 10.5px; line-height: 1.6; }
.aside-note .btn { margin-top: 15px; }
.aside-metadata { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 15px; display: flex; flex-direction: column; gap: 3px; }
.aside-metadata span { color: #566d75; font-size: 7.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.aside-metadata strong { font-size: 11px; font-weight: 700; }
.aside-metadata small { color: #6f858d; font-size: 9px; }

.directory-main { min-width: 0; }
.directory-toolbar { display: flex; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.search-box {
  display: flex; align-items: center; gap: 10px; flex: 1;
  border: 1px solid var(--line); border-radius: 999px; padding: 0 15px;
  background: rgba(14,29,38,.45); transition: border-color .2s, background .2s;
}
.search-box:focus-within { border-color: rgba(240,179,91,.45); background: rgba(14,29,38,.7); }
.search-box svg { width: 15px; height: 15px; fill: none; stroke: #7b9098; stroke-width: 1.6; flex: 0 0 auto; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; padding: 12px 0; color: var(--ivory); font-size: 11.5px; }
.search-box input::placeholder { color: #647b84; }
.results-count { color: #758b93; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; white-space: nowrap; }
.results-count span { color: var(--amber); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 28px; }
.pro-card {
  display: flex; flex-direction: column; text-align: left;
  background: linear-gradient(180deg, rgba(18,37,48,.82), rgba(11,24,33,.72));
  border: 1px solid var(--line); border-radius: 17px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.pro-card:hover { transform: translateY(-4px); border-color: rgba(240,179,91,.3); box-shadow: 0 20px 50px rgba(0,0,0,.27); }
.pro-card-media { position: relative; aspect-ratio: 4 / 2.75; overflow: hidden; background: var(--surface-2); }
.pro-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) brightness(.76); transition: transform .55s, filter .45s; }
.pro-card:hover .pro-card-media img { transform: scale(1.055); filter: saturate(.9) brightness(.86); }
.pro-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,16,24,.62)); }
.category-badge {
  position: absolute; z-index: 2; left: 13px; top: 13px;
  padding: 5px 9px; border-radius: 999px; background: rgba(7,16,24,.7);
  border: 1px solid rgba(244,239,230,.2); backdrop-filter: blur(8px);
  color: #dbe4e2; font-size: 7.5px; letter-spacing: .11em; text-transform: uppercase; font-weight: 800;
}
.pro-card-body { padding: 17px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pro-avatar {
  display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%;
  border: 1px solid rgba(240,179,91,.4); background: rgba(240,179,91,.1);
  color: var(--amber); font-size: 9px; font-weight: 800; letter-spacing: .06em;
  margin-top: -36px; position: relative; z-index: 3; margin-bottom: 13px;
  box-shadow: 0 0 0 4px #0d1e28;
}
.pro-card h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.05; letter-spacing: -.02em; font-weight: 380; }
.pro-role { color: #9bb0b5; font-size: 10px; line-height: 1.45; margin-top: 6px; min-height: 29px; }
.pro-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.pro-tags span { color: #728991; font-size: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; }
.pro-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); margin-top: 19px; }
.pro-location { display: inline-flex; align-items: center; gap: 5px; color: #71878f; font-size: 8.5px; letter-spacing: .05em; }
.pro-location svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pro-open { color: var(--amber); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.empty-state { padding: 90px 20px; text-align: center; }
.empty-state > span { color: var(--amber); font-size: 40px; }
.empty-state h3 { margin-top: 13px; font-family: var(--font-display); font-size: 28px; }
.empty-state p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.empty-state .btn { margin-top: 18px; }

/* ==========================================================================
   AGENDA
   ========================================================================== */
.page-hero-agenda { align-items: center; }
.agenda-status-card {
  width: min(330px, 100%); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; background: linear-gradient(145deg, rgba(17,37,49,.7), rgba(12,25,34,.45));
}
.status-top { display: inline-flex; align-items: center; gap: 7px; color: var(--amber); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.status-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 9px var(--amber); }
.agenda-status-card strong { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 25px; line-height: 1.05; }
.agenda-status-card p { margin-top: 8px; color: #8fa2a8; font-size: 10.5px; line-height: 1.55; }
.agenda-status-card .btn { margin-top: 14px; }

.agenda-layout {
  max-width: 1400px; margin: 0 auto; padding-top: 48px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .72fr); gap: 50px; align-items: start;
}
.agenda-feed { display: flex; flex-direction: column; gap: 18px; }
.post-card {
  background: linear-gradient(160deg, rgba(18,37,48,.8), rgba(10,23,32,.68));
  border: 1px solid var(--line); border-radius: 19px; padding: 24px 25px 18px;
  transition: border-color .25s;
}
.post-card:hover { border-color: var(--line-strong); }
.post-head { display: flex; align-items: flex-start; gap: 11px; }
.post-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; filter: saturate(.65) brightness(.8); border: 1px solid rgba(240,179,91,.3); }
.post-head-copy { flex: 1; min-width: 0; }
.post-head-copy strong { display: block; font-size: 11.5px; font-weight: 750; line-height: 1.25; }
.post-head-copy small { display: block; color: #778d95; font-size: 9px; margin-top: 3px; }
.post-head-copy small b { color: var(--amber); font-weight: 700; }
.post-menu { color: #627b84; font-size: 18px; padding: 0 3px; letter-spacing: .1em; }
.post-text { margin-top: 17px; color: #c0cbcc; font-size: 12.5px; line-height: 1.72; white-space: pre-line; }
.post-text .hashtag { color: var(--amber); }
.post-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.post-tags span { color: #718991; font-size: 8.5px; letter-spacing: .02em; }
.post-image { position: relative; margin-top: 17px; aspect-ratio: 16 / 8.7; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.post-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.8); }
.post-image span {
  position: absolute; left: 12px; bottom: 11px; padding: 5px 8px; border-radius: 5px;
  background: rgba(7,16,24,.7); color: #c9d4d3; font-size: 7.5px; letter-spacing: .09em;
  text-transform: uppercase; font-weight: 700; backdrop-filter: blur(8px);
}
.post-actions { display: flex; align-items: center; gap: 23px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.post-action { display: inline-flex; align-items: center; gap: 6px; color: #7f959c; font-size: 9px; font-weight: 700; transition: color .2s; }
.post-action:hover { color: var(--amber); }
.post-action svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.post-comments { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 11px; display: flex; flex-direction: column; gap: 8px; }
.post-comment { display: flex; gap: 7px; align-items: baseline; }
.post-comment b { color: #b7c4c4; font-size: 9.5px; font-weight: 750; white-space: nowrap; }
.post-comment span { color: #7c9097; font-size: 9.5px; line-height: 1.4; }

.agenda-rail { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.profile-card {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(18,37,48,.85), rgba(10,22,31,.7));
}
.profile-cover { height: 100px; background-size: cover; background-position: center; position: relative; filter: saturate(.7) brightness(.65); }
.profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,24,.1), rgba(7,16,24,.75)); }
.profile-body { padding: 0 21px 21px; position: relative; }
.profile-avatar {
  width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid #0d1b25;
  margin-top: -32px; position: relative; z-index: 2; filter: saturate(.8);
}
.profile-body h2 { margin-top: 11px; font-family: var(--font-display); font-size: 27px; line-height: 1; }
.profile-handle { color: var(--amber); font-size: 8.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; margin-top: 5px; }
.profile-headline { color: #9aacb0; font-size: 10px; line-height: 1.5; margin-top: 9px; }
.profile-stats { display: flex; gap: 20px; margin-top: 16px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stats strong { display: block; font-size: 13px; }
.profile-stats span { display: block; color: #71878f; font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.profile-actions { display: flex; gap: 7px; margin-top: 14px; }
.profile-actions .btn { flex: 1; }
.profile-note { color: #647b84; font-size: 8.5px; line-height: 1.5; margin-top: 10px; }

.interaction-wall { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: rgba(12,26,35,.52); }
.rail-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rail-heading h2 { margin-top: 7px; font-family: var(--font-display); font-size: 27px; line-height: 1; }
.interaction-list { display: flex; flex-direction: column; margin-top: 16px; }
.interaction-item { display: flex; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.interaction-avatar { width: 27px; height: 27px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: rgba(83,214,199,.12); border: 1px solid rgba(83,214,199,.3); color: var(--teal); font-size: 7px; font-weight: 800; }
.interaction-body { min-width: 0; }
.interaction-body strong { font-size: 9.5px; font-weight: 750; }
.interaction-body time { color: #5e767e; font-size: 7.5px; margin-left: 5px; }
.interaction-body p { color: #8da1a7; font-size: 9px; line-height: 1.45; margin-top: 3px; }
.interaction-body small { display: block; color: #5a727b; font-size: 7.5px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-link { display: block; margin-top: 14px; color: var(--amber); font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rail-note { display: flex; gap: 10px; padding: 15px; border: 1px dashed var(--line-strong); border-radius: 13px; }
.rail-note-icon { color: var(--amber); font-size: 17px; line-height: 1; }
.rail-note p { color: #7c9198; font-size: 9px; line-height: 1.55; }
.rail-note strong { color: #b4c1c2; }

/* ==========================================================================
   COLUMNAS
   ========================================================================== */
.columns-aside { flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.columns-source {
  max-width: 1400px; margin: 0 auto 18px; display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 11px; color: var(--muted); font-size: 8px; line-height: 1.5;
  letter-spacing: .13em; text-transform: uppercase; font-weight: 800;
}
.columns-source .source-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(126,226,168,.1), 0 0 12px rgba(126,226,168,.55);
  flex: 0 0 auto;
}
.columns-source .source-dot.is-local { background: var(--amber); box-shadow: 0 0 0 4px rgba(240,179,91,.1); }
.columns-source a { color: var(--amber); }
.columns-source a:hover { text-decoration: underline; text-underline-offset: 3px; }
.columns-source .source-note {
  color: var(--muted); font-size: 9px; line-height: 1.5; letter-spacing: .01em;
  text-transform: none; font-weight: 600;
}
.columns-big-mark { color: var(--amber); font-family: var(--font-display); font-size: 100px; line-height: .6; opacity: .5; }
.columns-aside p { max-width: 250px; color: #cbd4d2; font-family: var(--font-display); font-size: 21px; line-height: 1.2; }
.columns-sign { color: #71878f; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.columns-feature {
  max-width: 1400px; margin: 0 auto; padding-top: 52px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: rgba(14,30,40,.35);
}
.feature-image { position: relative; min-height: 420px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.78); transition: transform .7s; }
.columns-feature:hover .feature-image img { transform: scale(1.025); }
.feature-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(7,16,24,.5)); }
.feature-copy { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-meta { display: flex; gap: 11px; align-items: center; color: #71878f; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.feature-meta .cat { color: var(--amber); }
.feature-copy h2 { margin-top: 22px; font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 47px); line-height: 1.01; letter-spacing: -.03em; font-weight: 350; }
.feature-copy p { margin-top: 17px; color: #9cacb0; font-size: 12.5px; line-height: 1.7; }
.feature-author { display: flex; align-items: center; gap: 9px; margin-top: 26px; }
.feature-author .quote-avatar { width: 31px; height: 31px; }
.feature-author strong { display: block; font-size: 10px; }
.feature-author small { display: block; color: #6e858d; font-size: 8px; }
.feature-copy .btn { align-self: flex-start; margin-top: 24px; }

.columns-toolbar {
  max-width: 1400px; margin: 0 auto; padding: 54px 0 24px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  border-bottom: 1px solid var(--line);
}
.section-subhead h2 { margin-top: 15px; font-family: var(--font-display); font-size: 38px; line-height: 1; letter-spacing: -.025em; font-weight: 350; }
.columns-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 26px; }
.column-card { text-align: left; border-top: 1px solid var(--line); padding-top: 14px; transition: border-color .25s; }
.column-card:hover { border-color: rgba(240,179,91,.48); }
.column-card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 12px; }
.column-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) brightness(.74); transition: transform .55s, filter .4s; }
.column-card:hover .column-card-image img { transform: scale(1.04); filter: saturate(.85) brightness(.82); }
.column-card-meta { display: flex; gap: 9px; margin-top: 14px; color: #6d848c; font-size: 7.5px; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; }
.column-card-meta .cat { color: var(--amber); }
.column-card h3 { margin-top: 10px; font-family: var(--font-display); font-size: 26px; line-height: 1.07; letter-spacing: -.02em; font-weight: 380; }
.column-card p { margin-top: 9px; color: #899da3; font-size: 10.5px; line-height: 1.6; }
.column-card .column-read { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--amber); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }

/* ==========================================================================
   FESTIVALES
   ========================================================================== */
.page-hero-festivals { align-items: center; }
.festival-season { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.season-kicker { color: #7d9299; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.festival-season strong { color: var(--amber); font-family: var(--font-display); font-size: 90px; line-height: .85; font-weight: 300; letter-spacing: -.05em; }
.season-line { width: 90px; height: 1px; background: var(--line-strong); margin: 9px 0; }
.festival-season small { color: #82969d; font-size: 8.5px; letter-spacing: .06em; }
.festival-category-strip {
  max-width: 1400px; margin: 0 auto; padding: 27px 0 25px;
  display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line);
}
.fest-cat {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 999px; color: #93a6ac;
  font-size: 10px; font-weight: 700; transition: all .2s;
}
.fest-cat i { width: 7px; height: 7px; border-radius: 50%; background: var(--cat-color, var(--amber)); box-shadow: 0 0 8px var(--cat-color, var(--amber)); }
.fest-cat b { color: #617982; font-size: 8px; }
.fest-cat:hover { color: var(--ivory); border-color: var(--line-strong); }
.fest-cat.active { border-color: var(--cat-color, var(--amber)); background: rgba(244,239,230,.04); color: var(--ivory); }
.fest-cat.active b { color: var(--cat-color, var(--amber)); }

.festival-layout {
  max-width: 1400px; margin: 0 auto; padding-top: 45px;
  display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 64px; align-items: start;
}
.festival-rail { position: sticky; top: 110px; }
.month-index { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.month-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line); color: #71878f;
  font-size: 10px; font-weight: 650; text-align: left; transition: color .2s;
}
.month-link span:last-child { color: #50676f; font-size: 8px; }
.month-link:hover, .month-link.active { color: var(--amber); }
.festival-map-cta { margin-top: 33px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,35,47,.36); }
.map-cta-icon { display: block; color: var(--amber); margin-bottom: 16px; }
.map-cta-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.festival-map-cta strong { display: block; font-family: var(--font-display); font-size: 19px; line-height: 1.1; font-weight: 380; }
.festival-map-cta p { margin-top: 8px; color: #82969d; font-size: 9.5px; line-height: 1.55; }
.festival-map-cta .btn { margin-top: 13px; }

.festival-timeline { min-width: 0; }
.timeline-month { margin-bottom: 38px; scroll-margin-top: 120px; }
.timeline-month-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.timeline-month-head strong { font-family: var(--font-display); font-size: 35px; line-height: 1; font-weight: 350; letter-spacing: -.02em; }
.timeline-month-head span { color: #6f858d; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.timeline-month-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.festival-event {
  position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr);
  gap: 20px; padding: 0 0 19px; margin-left: 3px;
}
.festival-event::before {
  content: ''; position: absolute; left: -10px; top: 4px; bottom: 0; width: 1px;
  background: linear-gradient(var(--cat-color, var(--amber)), rgba(244,239,230,.04));
}
.festival-event::after {
  content: ''; position: absolute; left: -13px; top: 2px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--cat-color, var(--amber));
  box-shadow: 0 0 12px var(--cat-color, var(--amber));
}
.festival-date { padding-top: 1px; }
.festival-date strong { display: block; color: var(--cat-color, var(--amber)); font-family: var(--font-display); font-size: 35px; line-height: .9; font-weight: 350; }
.festival-date span { display: block; color: #6d858d; font-size: 7.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; margin-top: 7px; }
.festival-card {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 21px;
  padding: 13px; border: 1px solid var(--line); border-radius: 15px;
  background: linear-gradient(150deg, rgba(18,37,48,.65), rgba(10,23,32,.42));
  text-align: left; transition: border-color .25s, transform .25s, background .25s;
}
.festival-card:hover { border-color: var(--cat-color, var(--amber)); transform: translateX(3px); background: rgba(18,37,48,.8); }
.festival-card-image { position: relative; min-height: 145px; border-radius: 9px; overflow: hidden; }
.festival-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.75); transition: transform .5s; }
.festival-card:hover .festival-card-image img { transform: scale(1.04); }
.festival-card-copy { padding: 8px 8px 8px 0; display: flex; flex-direction: column; }
.festival-card-meta { display: flex; align-items: center; gap: 8px; color: var(--cat-color, var(--amber)); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.festival-card-meta i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.festival-card h3 { margin-top: 10px; font-family: var(--font-display); font-size: 25px; line-height: 1.06; letter-spacing: -.02em; font-weight: 380; }
.festival-card p { margin-top: 8px; color: #85999f; font-size: 10px; line-height: 1.55; }
.festival-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 14px; }
.festival-venue { color: #6e858d; font-size: 8.5px; }
.festival-venue b { color: #a7b7b8; font-weight: 700; }
.festival-open { color: var(--cat-color, var(--amber)); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.festival-empty { padding: 40px 0; color: var(--muted); font-size: 12px; }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 2200; display: none; }
.modal.open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(2, 8, 12, .78);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  animation: fadeIn .25s ease both;
}
.modal-dialog {
  position: relative; width: min(880px, calc(100vw - 34px)); max-height: 88vh; overflow: auto;
  margin: 6vh auto; border: 1px solid rgba(236,242,240,.16); border-radius: 22px;
  background: #0b1720; box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1) both;
  scrollbar-width: thin; scrollbar-color: #314852 #0b1720;
}
.modal-dialog::-webkit-scrollbar { width: 7px; }
.modal-dialog::-webkit-scrollbar-thumb { background: #314852; border-radius: 10px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(.985); } }
.modal-close {
  position: sticky; top: 14px; z-index: 5; float: right; margin: 14px 14px 0 0;
  width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(7,16,24,.7); color: var(--ivory); font-size: 21px; line-height: 1;
  display: grid; place-items: center; backdrop-filter: blur(9px);
}
.modal-close:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.modal-hero { position: relative; height: 270px; overflow: hidden; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.68); }
.modal-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,24,.1), #0b1720); }
.modal-hero-copy { position: absolute; z-index: 2; left: 35px; right: 35px; bottom: 23px; }
.modal-kicker { color: var(--amber); font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.modal-hero h2 { margin-top: 7px; font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 51px); line-height: .98; letter-spacing: -.03em; font-weight: 340; }
.modal-body { padding: 27px 35px 35px; }
.modal-role { color: #9cafb3; font-size: 12px; line-height: 1.5; }
.modal-bio { margin-top: 17px; color: #b4c2c4; font-size: 13px; line-height: 1.75; }
.modal-section-title { margin-top: 25px; color: var(--amber); font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.modal-projects { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.modal-projects span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: #a2b1b4; font-size: 9px; }
.modal-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.modal-article p { margin-top: 18px; color: #c0cbcc; font-size: 14px; line-height: 1.82; }
.modal-article p:first-child { margin-top: 0; }
.modal-article .article-lead { color: #d9e1df; font-family: var(--font-display); font-size: 21px; line-height: 1.4; }
.modal-article-meta { display: flex; gap: 11px; align-items: center; margin-bottom: 20px; color: #758b93; font-size: 8.5px; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; }
.modal-article-meta .cat { color: var(--amber); }
.modal-author { display: flex; gap: 10px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.modal-author .quote-avatar { width: 37px; height: 37px; }
.modal-author strong { display: block; font-size: 11px; }
.modal-author small { display: block; color: #71878f; font-size: 8.5px; margin-top: 2px; }
.modal-festival-date { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.modal-festival-date span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: #9eb0b4; font-size: 8.5px; letter-spacing: .05em; }
.modal-festival-date span b { color: var(--ivory); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050c11; border-top: 1px solid var(--line);
  padding: 64px clamp(20px, 5vw, 80px) 25px;
}
.footer-top { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; padding-bottom: 50px; }
.footer-brand p { max-width: 430px; margin-top: 19px; color: #758a92; font-size: 11px; line-height: 1.7; }
.footer-nav { display: grid; grid-template-columns: 1fr .55fr; gap: 40px; }
.footer-nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-heading { color: #5e767e; font-size: 8px; letter-spacing: .17em; text-transform: uppercase; font-weight: 800; margin-bottom: 5px; }
.footer-nav button, .footer-nav a { color: #9cafb3; font-size: 10.5px; transition: color .2s; text-align: left; }
.footer-nav button:hover, .footer-nav a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1400px; margin: 0 auto; padding-top: 21px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  color: #526a73; font-size: 8px; letter-spacing: .03em;
}
.credits { color: #5c737b; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 3000; transform: translate(-50%, 20px);
  background: var(--amber); color: #1b1205; border-radius: 999px; padding: 11px 18px;
  font-size: 10.5px; font-weight: 800; box-shadow: 0 15px 45px rgba(0,0,0,.38);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1220px) {
  .nav-link { padding: 10px 9px; font-size: 10.5px; }
  .header-actions .live-pill { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direction-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-layout { gap: 40px; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 3px;
    padding: 18px 20px 24px; background: rgba(7,16,24,.97);
    border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
  }
  .main-nav.open { display: flex; }
  .nav-link { justify-content: flex-start; padding: 13px 14px; font-size: 12.5px; border-radius: 8px; }
  .nav-link.active::after { left: auto; right: 15px; bottom: 50%; transform: translateY(50%); }
  .menu-toggle { display: block; }
  .header-linkedin span { display: none; }
  .header-linkedin { padding: 8px 10px; }
  .page-hero { grid-template-columns: 1fr; gap: 35px; padding-bottom: 45px; }
  .page-hero-aside { justify-content: flex-start; }
  .orbit-graphic { width: 190px; height: 190px; }
  .columns-aside { align-items: flex-start; text-align: left; }
  .festival-season { align-items: flex-start; }
  .home-lower-head { grid-template-columns: 1fr; gap: 25px; }
  .home-pulse { grid-template-columns: 1fr; gap: 35px; }
  .directory-layout { grid-template-columns: 1fr; }
  .directory-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
  .aside-metadata { display: none; }
  .agenda-layout { grid-template-columns: 1fr; }
  .agenda-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .rail-note { grid-column: 1 / -1; }
  .festival-layout { grid-template-columns: 1fr; }
  .festival-rail { position: static; display: grid; grid-template-columns: 1fr 220px; gap: 25px; align-items: start; }
  .festival-rail > .eyebrow { grid-column: 1 / -1; }
  .month-index { margin-top: 0; }
  .festival-map-cta { margin-top: 0; }
  .columns-feature { grid-template-columns: 1fr; }
  .feature-image { min-height: 320px; }
  .columns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }

  .level-rail { display: none; }
  .map-legend { bottom: 20px; right: 20px; }
  .map-corner-note { display: none; }
  .scroll-cue { display: none; }
  .map-topline { top: calc(var(--header-h) + 16px); }
}

@media (max-width: 720px) {
  .view-content { padding: calc(var(--header-h) + 35px) 20px 75px; }
  .site-header { padding: 0 18px; gap: 12px; }
  .brand-text small { display: none; }
  .header-linkedin { display: none; }
  .map-stage { min-height: 660px; height: 100svh; }
  .map-topline { left: 18px; right: 18px; }
  .map-breadcrumb { max-width: 100%; overflow: hidden; padding: 8px 11px; }
  .map-breadcrumb .crumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90px; }
  .map-live { display: none; }
  .map-hero { left: 18px; right: 18px; bottom: 22px; width: auto; padding: 22px 21px 19px; border-radius: 18px; }
  .map-hero h1 { font-size: 39px; }
  .map-hero p { font-size: 12px; line-height: 1.6; margin-top: 14px; }
  .map-hero-actions { margin-top: 18px; gap: 13px; }
  .map-hero-actions .btn { padding: 11px 17px; font-size: 10.5px; }
  .map-hero-actions .btn-text { display: none; }
  .map-stats { margin-top: 19px; padding-top: 15px; gap: 9px; }
  .map-stats .stat-value { font-size: 21px; }
  .map-stats .stat-label { font-size: 6.8px; letter-spacing: .1em; }
  .node-filters { margin-top: 16px; padding-top: 13px; }
  .node-filter { font-size: 8px; padding: 5px 7px; }
  .map-legend { display: none; }
  .map-node-panel { left: 18px; right: 18px; bottom: 22px; width: auto; }
  .leaflet-control-zoom { margin-bottom: 280px !important; margin-right: 12px !important; }

  .home-lower { padding: 70px 20px 80px; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 210px; }
  .direction-icon { margin: 23px 0 17px; }
  .pulse-post { grid-template-columns: 66px 1fr auto; gap: 14px; }
  .pulse-post img { width: 66px; height: 55px; }
  .home-quote { padding-top: 60px; }

  .page-hero { padding-top: 15px; }
  .page-hero-copy h1 { font-size: 42px; margin-top: 21px; }
  .page-hero-copy p { font-size: 13px; margin-top: 20px; }
  .page-hero-aside { display: none; }
  .directory-aside { grid-template-columns: 1fr; }
  .aside-note { margin-top: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .directory-toolbar { flex-wrap: wrap; gap: 10px; }
  .search-box { flex-basis: 100%; }
  .results-count { margin-left: auto; }

  .agenda-rail { grid-template-columns: 1fr; }
  .post-card { padding: 19px 17px 15px; }
  .post-text { font-size: 12px; }
  .post-actions { gap: 16px; }
  .post-actions .post-action:last-child { display: none; }

  .columns-feature { margin-top: 32px; }
  .feature-copy { padding: 27px 22px 30px; }
  .columns-toolbar { align-items: flex-start; flex-direction: column; gap: 20px; padding-top: 40px; }
  .columns-grid { grid-template-columns: 1fr; }
  .feature-image { min-height: 240px; }

  .festival-rail { grid-template-columns: 1fr; }
  .festival-map-cta { display: none; }
  .month-index { flex-direction: row; flex-wrap: wrap; }
  .month-link { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; gap: 6px; }
  .month-link span:last-child { display: none; }
  .festival-category-strip { gap: 6px; }
  .fest-cat { padding: 7px 10px; font-size: 9px; }
  .festival-event { grid-template-columns: 58px minmax(0, 1fr); gap: 13px; }
  .festival-card { grid-template-columns: 1fr; gap: 0; padding: 10px; }
  .festival-card-image { min-height: 155px; }
  .festival-card-copy { padding: 13px 5px 5px; }
  .festival-date strong { font-size: 27px; }
  .festival-date span { font-size: 6.5px; letter-spacing: .08em; }
  .timeline-month-head strong { font-size: 28px; }

  .modal-dialog { width: calc(100vw - 24px); margin: 4vh auto; max-height: 92vh; }
  .modal-hero { height: 205px; }
  .modal-hero-copy { left: 20px; right: 20px; bottom: 17px; }
  .modal-body { padding: 20px 20px 27px; }
  .modal-article p { font-size: 13px; }
  .modal-article .article-lead { font-size: 18px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   MODO CLARO
   ========================================================================== */
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #f4f7f8;
  --ink-2: #e9eff2;
  --surface: #ffffff;
  --surface-2: #edf2f4;
  --surface-3: #e1e9ec;
  --ivory: #102027;
  --ivory-soft: #2b4149;
  --muted: #61757c;
  --muted-2: #7d9097;
  --line: rgba(16, 32, 39, 0.10);
  --line-strong: rgba(16, 32, 39, 0.20);
  --amber: #a85f08;
  --amber-2: #8a4c04;
  --teal: #0b766f;
  --coral: #be4d3b;
  --violet: #5b4ac1;
  --lilac: #8a4fb8;
  --green: #1f7a50;
  --shadow: 0 24px 70px rgba(23, 51, 61, 0.10);
}
:root[data-theme="light"] body { background: var(--ink); color: var(--ivory); }
:root[data-theme="light"] .noise { opacity: .018; mix-blend-mode: multiply; }
:root[data-theme="light"] ::selection { background: var(--amber); color: #fff; }

/* Header */
:root[data-theme="light"] .site-header {
  background: linear-gradient(180deg, rgba(248,250,251,.94), rgba(248,250,251,.54) 70%, transparent);
}
:root[data-theme="light"] .site-header.scrolled {
  background: rgba(248,250,251,.92);
  border-bottom-color: var(--line);
}
:root[data-theme="light"] .nav-link { color: #50656d; }
:root[data-theme="light"] .nav-link:hover,
:root[data-theme="light"] .nav-link.active { color: var(--ivory); background: rgba(19,38,45,.07); }
:root[data-theme="light"] .live-pill { color: #4c626a; }
:root[data-theme="light"] .header-linkedin { color: var(--ivory-soft); }
:root[data-theme="light"] .main-nav { background: rgba(248,250,251,.98); }

/* Vistas y texto secundario */
:root[data-theme="light"] .view-content {
  background:
    radial-gradient(ellipse 72% 58% at 8% 4%, rgba(11, 118, 111, .075), transparent 58%),
    radial-gradient(ellipse 62% 48% at 96% 12%, rgba(168, 95, 8, .065), transparent 62%),
    linear-gradient(180deg, #f8fafb 0%, var(--ink) 56%, #eef3f5 100%);
}
:root[data-theme="light"] .page-hero-copy p,
:root[data-theme="light"] .map-hero p { color: #4f666e; }
:root[data-theme="light"] .btn-primary { color: #fff; }
:root[data-theme="light"] .btn-primary:hover { background: var(--amber-2); }
:root[data-theme="light"] .btn-text { color: #4b6068; }
:root[data-theme="light"] .btn-outline { color: var(--ivory-soft); }
:root[data-theme="light"] .pill { color: #5a6f77; }
:root[data-theme="light"] .pill:hover { color: var(--ivory); }
:root[data-theme="light"] .pill.active { color: #fff; }

/* Mapa */
:root[data-theme="light"] .map-stage { background: #e5eef0; }
:root[data-theme="light"] .map-vignette {
  background:
    linear-gradient(90deg, rgba(244,247,248,.92) 0%, rgba(244,247,248,.44) 29%, transparent 56%),
    linear-gradient(0deg, rgba(244,247,248,.94) 0%, transparent 28%, transparent 74%, rgba(244,247,248,.42) 100%);
}
:root[data-theme="light"] .map-grid { opacity: .32; }
:root[data-theme="light"] .map-breadcrumb,
:root[data-theme="light"] .map-live,
:root[data-theme="light"] .level-rail,
:root[data-theme="light"] .map-legend {
  background: rgba(255,255,255,.74); border-color: var(--line);
}
:root[data-theme="light"] .crumb { color: #5e737b; }
:root[data-theme="light"] .crumb:hover { color: var(--ivory); }
:root[data-theme="light"] .crumb-sep { color: rgba(19,38,45,.3); }
:root[data-theme="light"] .map-live { color: #556b73; }
:root[data-theme="light"] .glass {
  background: rgba(255,255,255,.88); border-color: rgba(16,32,39,.12);
  box-shadow: 0 24px 60px rgba(23,51,61,.12);
}
:root[data-theme="light"] .node-filter { color: #647981; }
:root[data-theme="light"] .node-filter b { color: var(--ivory-soft); }
:root[data-theme="light"] .node-filter:hover { color: var(--ivory); }
:root[data-theme="light"] .level-btn { color: #647981; }
:root[data-theme="light"] .level-btn:hover,
:root[data-theme="light"] .level-btn.active { color: var(--ivory); background: rgba(19,38,45,.07); }
:root[data-theme="light"] .level-dot { border-color: #9aaba8; }
:root[data-theme="light"] .level-dot::after { background: #829592; }
:root[data-theme="light"] .level-copy strong { color: #7a8c92; }
:root[data-theme="light"] .map-legend { color: #586d75; }
:root[data-theme="light"] .legend-hint { color: #7a8c92; }
:root[data-theme="light"] .map-legend kbd { color: #5d7279; }
:root[data-theme="light"] .map-corner-note { color: #75878d; }
:root[data-theme="light"] .scroll-cue { color: #75878d; }
:root[data-theme="light"] .node-panel-body { color: #4f666e; }
:root[data-theme="dark"][data-tiles="osm"] .leaflet-tile-pane {
  filter: brightness(.68) saturate(.68) contrast(1.08);
}
:root[data-theme="light"] .leaflet-tile-pane { filter: saturate(.9) brightness(1.03) contrast(.99); }
:root[data-theme="light"] .leaflet-container { background: #e5eef0; }
:root[data-theme="light"] .leaflet-control-attribution {
  background: rgba(255,255,255,.82) !important; color: #5d7279 !important;
}
:root[data-theme="light"] .leaflet-control-attribution a { color: #465c64 !important; }
:root[data-theme="light"] .leaflet-control-zoom a {
  background: rgba(255,255,255,.90) !important; color: #30474f !important;
}
:root[data-theme="light"] .leaflet-popup-content-wrapper,
:root[data-theme="light"] .leaflet-popup-tip {
  background: #ffffff; color: var(--ivory);
}
:root[data-theme="light"] .leaflet-popup-close-button { color: #5d7279 !important; }
:root[data-theme="light"] .map-tooltip {
  background: rgba(255,255,255,.96) !important; color: var(--ivory) !important;
}
:root[data-theme="light"] .popup-desc { color: #4f666e; }

/* Home inferior */
:root[data-theme="light"] .home-lower {
  background:
    radial-gradient(ellipse 64% 42% at 82% 0%, rgba(11, 118, 111, .07), transparent 65%),
    linear-gradient(180deg, #edf3f5 0%, #f8fafb 100%);
}
:root[data-theme="light"] .home-lower-head p { color: #50656d; }
:root[data-theme="light"] .direction-card { background: #ffffff; }
:root[data-theme="light"] .direction-card:hover { background: #f7fafb; }
:root[data-theme="light"] .direction-num { color: #7a8c92; }
:root[data-theme="light"] .direction-card > span:not(.direction-num):not(.direction-icon) { color: #5a7078; }
:root[data-theme="light"] .pulse-post:hover { background: rgba(19,38,45,.035); }
:root[data-theme="light"] .pulse-post img { filter: saturate(.8) brightness(.98); }
:root[data-theme="light"] .pulse-post-body span { color: #5f747c; }
:root[data-theme="light"] .home-quote blockquote { color: #1b2c33; }
:root[data-theme="light"] .quote-author small { color: #6a7f87; }

/* Profesionales */
:root[data-theme="light"] .orbit-label { color: #5f747c; }
:root[data-theme="light"] .category-filter { color: #556a72; }
:root[data-theme="light"] .category-filter b { color: #71878f; }
:root[data-theme="light"] .category-filter:hover { color: var(--ivory); background: rgba(19,38,45,.05); }
:root[data-theme="light"] .aside-note { background: rgba(255,255,255,.68); }
:root[data-theme="light"] .aside-note p { color: #5a7078; }
:root[data-theme="light"] .aside-metadata span { color: #71878f; }
:root[data-theme="light"] .aside-metadata small { color: #6f858d; }
:root[data-theme="light"] .search-box { background: rgba(255,255,255,.72); }
:root[data-theme="light"] .search-box:focus-within { background: #ffffff; }
:root[data-theme="light"] .search-box svg { stroke: #6b8088; }
:root[data-theme="light"] .search-box input::placeholder { color: #7b8f96; }
:root[data-theme="light"] .results-count { color: #637980; }
:root[data-theme="light"] .pro-card {
  background: linear-gradient(180deg, #ffffff, #f8fbfc);
  box-shadow: 0 10px 30px rgba(23,51,61,.06);
}
:root[data-theme="light"] .pro-card:hover { box-shadow: 0 22px 52px rgba(23,51,61,.13); }
:root[data-theme="light"] .pro-card-media img { filter: saturate(.85) brightness(.98); }
:root[data-theme="light"] .pro-card-media::after { background: linear-gradient(180deg, transparent 45%, rgba(244,247,248,.42)); }
:root[data-theme="light"] .category-badge {
  background: rgba(255,255,255,.90); border-color: rgba(16,32,39,.16); color: #30474f;
}
:root[data-theme="light"] .pro-avatar { box-shadow: 0 0 0 4px #ffffff; }
:root[data-theme="light"] .pro-role,
:root[data-theme="light"] .modal-role { color: #4f666e; }
:root[data-theme="light"] .pro-tags span { color: #5d7279; }
:root[data-theme="light"] .pro-location { color: #5f747c; }

/* Agenda */
:root[data-theme="light"] .agenda-status-card { background: linear-gradient(145deg, #ffffff, #f4f8f9); }
:root[data-theme="light"] .agenda-status-card p { color: #566b73; }
:root[data-theme="light"] .post-card { background: linear-gradient(160deg, #ffffff, #f8fbfc); }
:root[data-theme="light"] .post-avatar { filter: saturate(.8) brightness(.98); }
:root[data-theme="light"] .post-head-copy small { color: #637980; }
:root[data-theme="light"] .post-menu { color: #6b8088; }
:root[data-theme="light"] .post-text { color: #30474f; }
:root[data-theme="light"] .post-tags span { color: #5d7279; }
:root[data-theme="light"] .post-action { color: #5c7179; }
:root[data-theme="light"] .post-comment b { color: #3f555d; }
:root[data-theme="light"] .post-comment span { color: #5f747c; }
:root[data-theme="light"] .profile-card { background: linear-gradient(160deg, #ffffff, #f5f9fa); }
:root[data-theme="light"] .profile-avatar { border-color: #ffffff; }
:root[data-theme="light"] .profile-headline { color: #4f666e; }
:root[data-theme="light"] .profile-stats span { color: #637980; }
:root[data-theme="light"] .profile-note { color: #647b84; }
:root[data-theme="light"] .interaction-wall { background: rgba(255,255,255,.72); }
:root[data-theme="light"] .interaction-body p { color: #4f666e; }
:root[data-theme="light"] .interaction-body time,
:root[data-theme="light"] .interaction-body small { color: #71878f; }
:root[data-theme="light"] .rail-note p { color: #566b73; }
:root[data-theme="light"] .rail-note strong { color: #2f464e; }

/* Columnas */
:root[data-theme="light"] .columns-aside p { color: #243a42; }
:root[data-theme="light"] .columns-sign { color: #71878f; }
:root[data-theme="light"] .columns-source { color: #61757c; }
:root[data-theme="light"] .columns-source .source-note { color: #61757c; }
:root[data-theme="light"] .columns-feature { background: rgba(255,255,255,.72); }
:root[data-theme="light"] .feature-image img { filter: saturate(.85) brightness(.95); }
:root[data-theme="light"] .feature-image::after { background: linear-gradient(90deg, transparent 60%, rgba(244,247,248,.42)); }
:root[data-theme="light"] .feature-meta { color: #637980; }
:root[data-theme="light"] .feature-copy p { color: #4f666e; }
:root[data-theme="light"] .feature-author small { color: #6e858d; }
:root[data-theme="light"] .column-card-meta { color: #637980; }
:root[data-theme="light"] .column-card p { color: #4f666e; }

/* Festivales */
:root[data-theme="light"] .season-kicker { color: #637980; }
:root[data-theme="light"] .festival-season small { color: #637980; }
:root[data-theme="light"] .fest-cat { color: #556a72; }
:root[data-theme="light"] .fest-cat b { color: #71878f; }
:root[data-theme="light"] .fest-cat:hover { color: var(--ivory); }
:root[data-theme="light"] .fest-cat.active { background: rgba(19,38,45,.05); color: var(--ivory); }
:root[data-theme="light"] .month-link { color: #637980; }
:root[data-theme="light"] .month-link span:last-child { color: #7a8c92; }
:root[data-theme="light"] .festival-map-cta { background: rgba(255,255,255,.68); }
:root[data-theme="light"] .festival-map-cta p { color: #566b73; }
:root[data-theme="light"] .timeline-month-head span { color: #637980; }
:root[data-theme="light"] .festival-event::before { background: linear-gradient(var(--cat-color, var(--amber)), rgba(19,38,45,.05)); }
:root[data-theme="light"] .festival-date span { color: #637980; }
:root[data-theme="light"] .festival-card { background: linear-gradient(150deg, #ffffff, #f8fbfc); }
:root[data-theme="light"] .festival-card:hover { background: #ffffff; }
:root[data-theme="light"] .festival-card-image img { filter: saturate(.85) brightness(.97); }
:root[data-theme="light"] .festival-card p { color: #4f666e; }
:root[data-theme="light"] .festival-venue { color: #637980; }
:root[data-theme="light"] .festival-venue b { color: #334a52; }

/* Modal */
:root[data-theme="light"] .modal-backdrop { background: rgba(16,32,39,.42); }
:root[data-theme="light"] .modal-dialog {
  background: #ffffff; border-color: rgba(16,32,39,.14);
  box-shadow: 0 40px 100px rgba(23,51,61,.22);
  scrollbar-color: #c4d2d7 #ffffff;
}
:root[data-theme="light"] .modal-dialog::-webkit-scrollbar-thumb { background: #c4d2d7; }
:root[data-theme="light"] .modal-close { background: rgba(255,255,255,.86); color: var(--ivory); }
:root[data-theme="light"] .modal-close:hover { background: var(--amber); color: #fff; }
:root[data-theme="light"] .modal-hero::after { background: linear-gradient(180deg, rgba(244,247,248,.1), #ffffff); }
:root[data-theme="light"] .modal-bio { color: #334a52; }
:root[data-theme="light"] .modal-projects span { color: #4f666e; }
:root[data-theme="light"] .modal-article p { color: #30474f; }
:root[data-theme="light"] .modal-article .article-lead { color: #1b2c33; }
:root[data-theme="light"] .modal-article-meta { color: #637980; }
:root[data-theme="light"] .modal-author small { color: #71878f; }
:root[data-theme="light"] .modal-festival-date span { color: #4f666e; }

/* Footer y toast */
:root[data-theme="light"] .site-footer { background: #e8eff2; }
:root[data-theme="light"] .footer-brand p { color: #5a7078; }
:root[data-theme="light"] .footer-heading { color: #71878f; }
:root[data-theme="light"] .footer-nav button,
:root[data-theme="light"] .footer-nav a { color: #4f666e; }
:root[data-theme="light"] .footer-bottom { color: #71878f; }
:root[data-theme="light"] .credits { color: #71878f; }
:root[data-theme="light"] .toast { color: #fff; }

@media (max-width: 980px) {
  :root[data-theme="light"] .main-nav { background: rgba(248,250,251,.98); box-shadow: 0 30px 60px rgba(23,51,61,.14); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
