:root {
  --bg: #f5f5f5;
  --bg-elev: #ffffff;
  --ink: #1a1a22;
  --ink-2: #3a3a44;
  --ink-3: #6b6b78;
  --line: #e6e6ef;
  --shadow: 0 1px 0 rgba(20,20,40,.04), 0 12px 40px -16px rgba(20,20,40,.18);
  --radius: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
.page { min-height: 100vh; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245,245,245,.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav--scrolled { background: rgba(255,255,255,.92); border-color: var(--line); }
.nav__inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .03em;
  box-shadow: 0 6px 18px -8px rgba(124,58,237,.6);
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__title { font-weight: 700; font-size: 15px; letter-spacing: -0.005em; }
.brand__sub { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }

.nav__links { display: flex; gap: 4px; margin-left: 18px; flex: 1; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: #ececf3; color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  border: 0; cursor: pointer;
  transition: transform .12s, box-shadow .15s;
  box-shadow: 0 8px 24px -10px rgba(124,58,237,.55);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(124,58,237,.65); }
.nav__burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }


/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.hero__circle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 60%);
}
.hero__circle--a { width: 520px; height: 520px; right: -120px; top: -160px; }
.hero__circle--b { width: 360px; height: 360px; left: -80px; bottom: -120px; opacity: .7; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 92px 28px 110px;
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 60px; align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.hero__pillDot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.hero__title {
  margin: 22px 0 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.02; letter-spacing: -0.028em; font-weight: 800;
  text-wrap: pretty;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 60%, rgba(255,255,255,.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 4px;
}
.hero__lead { font-size: 17px; line-height: 1.6; max-width: 540px; color: rgba(255,255,255,.86); }
.hero__ctas { display: flex; gap: 12px; margin: 30px 0 36px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 36px; }
.hero__meta > div { display: flex; flex-direction: column; }
.hero__meta strong { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.hero__meta span { font-size: 12.5px; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .08em; }

.hero__card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 18px;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.4);
}
.hero__cardTop {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85);
  text-transform: uppercase; letter-spacing: .08em;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,.18);
}
.hero__cardDot { width: 8px; height: 8px; border-radius: 50%; background: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.hero__cardBody { padding-top: 16px; }
.hero__cardLabel { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.66); }
.hero__cardTitle { font-size: 17px; font-weight: 700; margin: 6px 0 6px; line-height: 1.3; }
.hero__cardWhen { font-size: 13px; color: rgba(255,255,255,.74); }
.hero__cardMap { margin: 14px 0; }
.miniMap {
  position: relative; height: 120px; border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 6px, transparent 6px 12px);
  border: 1px solid rgba(255,255,255,.12); overflow: hidden;
}
.miniMap__pin {
  position: absolute; left: 38%; top: 48%;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}
.miniMap__pin--b { left: 68%; top: 28%; width: 8px; height: 8px; opacity: .8; }
.miniMap__pin--c { left: 18%; top: 70%; width: 6px; height: 6px; opacity: .6; }
.miniMap__pulse {
  position: absolute; left: 38%; top: 48%;
  width: 12px; height: 12px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,.6);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0%{transform:scale(1); opacity:.8} 100%{transform:scale(4); opacity:0} }
.hero__cardCta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: #fff;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  opacity: .9; transition: opacity .15s;
  white-space: nowrap;
}
.hero__cardCta:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  font-size: 14.5px; font-weight: 600;
  border: 0; cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .15s;
  text-decoration: none;
}
.btn--pill { border-radius: 999px; }
.btn--white {
  background: #fff; color: #1a1a22;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.4);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -12px rgba(0,0,0,.45); }
.btn--ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
}
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--ghost-dark {
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
}
.btn--ghost-dark:hover { background: #f5f5f5; }
.btn--solid {
  background: #2b2580; color: #fff; border-radius: 12px; padding: 12px 18px;
}
.btn--solid:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* ---------- Section ---------- */
.section { padding: 110px 0; }
.section--soft { background: var(--bg); }
.section__inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--row {
  display: flex; justify-content: space-between; align-items: end; gap: 28px;
  max-width: none; margin-bottom: 40px; flex-wrap: wrap;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.section__title {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 800;
  text-wrap: balance;
}
.section__lead { color: var(--ink-3); font-size: 16.5px; line-height: 1.6; max-width: 620px; }
.section__lead--right { text-align: right; max-width: 480px; }


/* ---------- Quiénes somos ---------- */
.qs { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.qs__lead { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; margin: 0 0 20px; max-width: 520px; }
.qs__lead strong { color: var(--ink); font-weight: 700; }
.qs__principles {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.qs__principles > div {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.qs__principles > div > span:first-child { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.qs__right { display: flex; flex-direction: column; }
.qs__photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(31,26,80,.18), 0 2px 8px rgba(0,0,0,.10);
  border: 3px solid #fff;
  outline: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.qs__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.qsStat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 24px;
  align-items: baseline;
}
.qsStat__num { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; grid-row: 1 / span 2; }
.qsStat__label { font-weight: 700; font-size: 15px; }
.qsStat__cap { color: var(--ink-3); font-size: 13.5px; grid-column: 2; }

/* ---------- Concejales ---------- */
.conc {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 28px;
}
.conc__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.conc__card:hover { transform: translateY(-2px); }
.conc__card.is-active { border-width: 2px; padding: 17px; }
.conc__photo { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.conc__name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.conc__role { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.conc__stats { display: flex; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); }
.conc__stats strong { color: var(--ink); font-weight: 700; }

.portrait {
  width: 100%; height: 100%; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-radius: 12px;
  color: rgba(255,255,255,.8);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
}
.portrait > span:first-child {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800; font-size: 32px; color: rgba(255,255,255,.9);
  letter-spacing: -0.02em;
}
.portrait__cap { position: absolute; left: 8px; bottom: 6px; opacity: .8; font-size: 10px; }
.portrait--lg > span:first-child { font-size: 64px; }

.concDetail {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px;
  border: 1px solid; border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 60px;
}
.concDetail__photo { width: 240px; height: 240px; border-radius: 16px; overflow: hidden; }
.concDetail__role { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.concDetail__name { margin: 4px 0 12px; font-size: 32px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.concDetail__bio { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; max-width: 560px; }
.concDetail__projects strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
.concDetail__projects ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.concDetail__projects li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.badge {
  display: inline-block; padding: 3px 9px;
  border-radius: 999px; border: 1px solid;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  flex-shrink: 0;
}

.projWrap__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.projWrap__head h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.projWrap__head a { font-size: 14px; font-weight: 600; }
.projGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proj {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .2s;
}
.proj:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.proj__top { display: flex; justify-content: space-between; align-items: center; }
.proj__tag {
  padding: 3px 9px; border-radius: 999px; border: 1px solid;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.proj__num { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--ink-3); }
.proj__title { font-size: 15.5px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.proj__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12.5px;
}
.proj__author { color: var(--ink-3); }
.proj__estado { font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f0f0f6; color: var(--ink-2); }
.proj__estado--aprobado-en-general { background: #dcfce7; color: #166534; }
.proj__estado--despachado { background: #dbeafe; color: #1e40af; }
.proj__estado--ingresado  { background: #fef3c7; color: #92400e; }


/* ---------- Mapa ---------- */
.mapWrap { display: grid; grid-template-columns: 320px 1fr; gap: 22px; }
.mapWrap__legend {
  border: 1px solid; border-radius: var(--radius-lg);
  padding: 22px; align-self: start;
  position: sticky; top: 90px;
}
.legend__head { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 14px; }
.legend__icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.legend__list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 12px; font-size: 14px; color: var(--ink-2);
}
.legend__list li { display: flex; gap: 10px; align-items: flex-start; }
.legend__num {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 22px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; border: 1px solid currentColor;
  font-size: 12px; font-weight: 700;
}
.legend__divider { height: 1px; background: rgba(0,0,0,.06); margin: 18px 0 14px; }
.legend__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 10px; }
.legend__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; color: var(--ink-2); }
.legend__cat { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; border-radius: 50%; }
.dot--lg { width: 12px; height: 12px; }
.dot--sm { width: 8px; height: 8px; }
.legend__cta { margin-top: 4px; }

.mapWrap__map {
  position: relative;
  background: #fff;
  border: 1px solid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
}
.leafletMap {
  width: 100%; height: 600px;
  cursor: crosshair;
  z-index: 0;
}
/* Evitar que el z-index de Leaflet rompa el panel de reporte */
.mapWrap__map .leaflet-pane { z-index: 1; }
.mapWrap__map .leaflet-top,
.mapWrap__map .leaflet-bottom { z-index: 2; }

/* Tooltip personalizado */
.mapTooltip {
  background: #1e1b2e;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 12px;
  padding: 6px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  line-height: 1.4;
  white-space: nowrap;
}
.mapTooltip::before { display: none; }

/* Controles de zoom */
.leaflet-control-zoom { border: none !important; box-shadow: 0 2px 10px rgba(0,0,0,.15) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-control-zoom a { border: none !important; color: #374151 !important; font-size: 16px !important; width: 34px !important; height: 34px !important; line-height: 34px !important; }
.leaflet-control-zoom a:hover { background: #f3f4f6 !important; }

.mapPanel {
  position: absolute; right: 18px; top: 18px; bottom: 18px;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 50px -20px rgba(20,20,40,.32);
  display: flex; flex-direction: column;
  animation: slidein .25s ease;
}
@keyframes slidein {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mapPanel__close {
  position: absolute; right: 10px; top: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #1a1a22;
  border: 0; cursor: pointer; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.mapPanel__photo { width: 100%; height: 200px; object-fit: cover; display: block; }
.mapPanel__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.mapPanel__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mapPanel__tag {
  display: inline-block; padding: 4px 10px;
  border-radius: 999px; color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.mapPanel__date { font-size: 12px; color: var(--ink-3); }
.mapPanel__addr { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.25; }
.mapPanel__desc { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 8px 0 0; }
.mapPanel__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-3);
}
.mapPanel__votes { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- Modal de reporte ---------- */
.modalBg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 12, 36, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadein .15s ease;
}
@keyframes fadein { from{opacity:0} to{opacity:1} }
.modal {
  background: #fff;
  border-radius: 22px;
  max-width: 780px; width: 100%; max-height: 90vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
  animation: popin .25s ease;
}
@keyframes popin {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__head {
  display: flex; justify-content: space-between; align-items: start;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
}
.modal__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.modal__title { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; margin-top: 4px; }
.modal__close {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f0f0f6; color: #1a1a22;
  border: 0; cursor: pointer; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: #e6e6ef; }
.modal__body { padding: 22px 28px; overflow-y: auto; }
.modal__loc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px; border: 1px solid;
  font-size: 13px;
  margin-bottom: 18px;
}
.modal__loc strong { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

.modal__grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 24px;
}
.drop {
  height: 100%;
  min-height: 280px;
  border: 2px dashed;
  border-radius: 14px;
  background: #fafaff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .15s;
}
.drop:hover { background: #f0eff8; }
.drop--has { background: #000; border-style: solid; }
.drop--has img { width: 100%; height: 100%; object-fit: cover; }
.photo-error { grid-column: 1/-1; color: #b45309; background: #fef3c7; border: 1px solid #fde68a; border-radius: 8px; padding: 8px 14px; font-size: 13.5px; margin: 0; }
.drop__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  padding: 24px;
}
.drop__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.drop strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.drop span { font-size: 13px; color: var(--ink-3); }
.drop em { font-style: normal; font-size: 11.5px; color: var(--ink-3); font-family: ui-monospace, Menlo, monospace; margin-top: 6px; }

.modal__fields { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span:first-child { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14.5px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fafaff; outline: none;
  transition: border .15s, background .15s, box-shadow .15s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: #b9a6f1; background: #fff;
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.field [data-err="true"] { border-color: #e85b6a; background: #fff5f6; }
.catGrid { display: flex; flex-wrap: wrap; gap: 6px; }
.catChip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px;
  background: #fafaff; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: transform .12s;
}
.catChip:hover { transform: translateY(-1px); }
.catChip__dot { width: 8px; height: 8px; border-radius: 50%; }
.catChip.is-on .catChip__dot { background: #fff !important; }

.modal__foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 28px 24px; border-top: 1px solid var(--line); background: #fafafd;
}
.modal__body .modal__foot { padding: 16px 0 0; border: 0; background: transparent; margin-top: 16px; }


/* ---------- Reportes recientes ---------- */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: transform .12s, background .15s;
}
.chip:hover { transform: translateY(-1px); }
.chip--on { color: #fff !important; }

.reports {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.report {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .2s;
}
.report:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(20,20,40,.25); }
.report__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.report__photo img { width: 100%; height: 100%; object-fit: cover; }
.report__pin {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: 999px; color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.report__body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.report__addr { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.report__desc { color: var(--ink-3); font-size: 14px; margin: 0; line-height: 1.55; }
.report__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line);
}
.report__author { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.report__date { font-size: 11.5px; color: var(--ink-3); }
.report__support {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
}

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.contact__left {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: #fff;
  position: relative; overflow: hidden;
}
.contact__left::before {
  content: ""; position: absolute; right: -100px; top: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.contact__title {
  margin: 8px 0 16px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04; font-weight: 800; letter-spacing: -0.03em;
}
.contact__lead { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 420px; margin-bottom: 36px; }
.contact__info { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.contact__info > div { display: flex; flex-direction: column; gap: 4px; }
.contact__info strong { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); font-weight: 700; }
.contact__info span { font-size: 15px; line-height: 1.5; color: #fff; }

.contact__right { display: flex; flex-direction: column; gap: 16px; }
.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 1;
  display: flex; flex-direction: column;
}
.contact__card > strong { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 700; margin-bottom: 14px; }
.contact__social { display: flex; flex-direction: column; gap: 4px; }
.contact__social a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: background .15s;
}
.contact__social a:hover { background: #fafafd; }
.contact__socialIcon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__social div { display: flex; flex-direction: column; }
.contact__social span { font-size: 13px; color: var(--ink-3); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: #14141c; color: #cfcfdd; }
.footer__inner {
  max-width: 1240px; margin: 0 auto; padding: 70px 28px 40px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px;
}
.footer__brand { display: flex; align-items: flex-start; gap: 14px; }
.footer__title { font-weight: 700; color: #fff; font-size: 16px; }
.footer__sub { color: #9090a4; font-size: 13.5px; margin-top: 4px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer__col { color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.footer__cols a { color: #b6b6c8; font-size: 14px; transition: color .15s; }
.footer__cols a:hover { color: #fff; }
.footer__bar {
  max-width: 1240px; margin: 0 auto; padding: 18px 28px 28px;
  border-top: 1px solid #22222e;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12.5px; color: #8c8ca0;
  flex-wrap: wrap;
}
.footer__legal a { color: #b6b6c8; }
.footer__legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 70px 28px 80px; }
  .hero__card { justify-self: start; }
  .qs { grid-template-columns: 1fr; gap: 36px; }
  .mapWrap { grid-template-columns: 1fr; }
  .mapWrap__legend { position: static; }
  .conc { grid-template-columns: repeat(2, 1fr); }
  .concDetail { grid-template-columns: 1fr; }
  .concDetail__photo { width: 180px; height: 180px; }
  .projGrid { grid-template-columns: repeat(2, 1fr); }
  .reports { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .modal__grid { grid-template-columns: 1fr; }
  .drop { min-height: 220px; }
  .mapPanel { position: fixed; right: 16px; left: 16px; top: auto; bottom: 16px; width: auto; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .reports, .footer__cols, .projGrid, .conc { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .section__lead--right { text-align: left; }
  .leafletMap { height: 460px; }
  .mapWrap__map { min-height: 460px; }
  .modal { max-height: 100vh; border-radius: 0; }
}

/* ---------- Mobile nav menu ---------- */
.nav__mobile {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.97);
}
.nav__mobile a {
  padding: 12px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background .15s;
}
.nav__mobile a:hover { background: #ececf3; color: var(--ink); }
.nav__cta--mobile {
  margin-top: 8px; width: 100%; justify-content: center;
  padding: 13px 18px; border-radius: 999px;
}

/* ---------- Empty state ---------- */
.reports__empty {
  text-align: center; padding: 60px 0;
  color: var(--ink-3); font-size: 15px;
}

/* Mapa del Abandono highlight */
.section__title--map { font-size: clamp(28px, 4vw, 48px); }
.map-highlight {
  font-style: italic;
  color: #fff;
  display: inline;
  padding: 2px 14px 4px;
  border-radius: 8px;
  line-height: 1.2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Proyectos */
.proyectos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.proyecto__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .15s, transform .15s;
}
.proyecto__card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.proyecto__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.proyecto__num { font-size: 12px; font-weight: 700; letter-spacing: .04em; font-family: ui-monospace, monospace; }
.proyecto__estado { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.proyecto__titulo { font-size: 14px; line-height: 1.5; color: var(--ink-1); font-weight: 500; flex: 1; margin: 0; }
.proyecto__tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; width: fit-content; }
