/* ============================================================
   JUNTOS POR VENEZUELA — Estilos (v2, moderno)
   Base blanca + acentos tricolor, identidad por módulo
   ============================================================ */
:root {
  --ve-yellow: #FFD100;
  --ve-blue:   #00269A;
  --ve-blue-2: #0039c7;
  --ve-red:    #CF142B;
  --green:     #1a9e57;

  --bg:        #ffffff;
  --surface:   #f5f7fb;
  --surface-2: #eaeef5;
  --border:    #e4e9f1;
  --text:      #131c28;
  --text-soft: #5a6b80;
  --shadow-sm: 0 1px 2px rgba(16,32,46,.05);
  --shadow:    0 2px 6px rgba(16,32,46,.06), 0 12px 28px rgba(16,32,46,.07);
  --shadow-lg: 0 18px 50px rgba(16,32,46,.16);
  --radius:    16px;
  --maxw:      1140px;

  --accent: var(--ve-blue);
  --accent-tint: #e8edfb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--bg); line-height: 1.5;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ve-blue); }
h1,h2,h3 { letter-spacing: -.02em; font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif; font-weight: 800; }

/* Bandera de Venezuela (SVG) */
.flag-svg { width:42px; height:28px; border-radius:6px; box-shadow: var(--shadow-sm); display:block; flex:none; border:1px solid rgba(0,0,0,.06); }
.flag-svg.big { width:60px; height:40px; border-radius:8px; }

/* color helpers (acento por módulo) */
.t-red    { --accent: var(--ve-red);  --accent-tint:#fdeaec; }
.t-blue   { --accent: var(--ve-blue); --accent-tint:#e8edfb; }
.t-green  { --accent: var(--green);   --accent-tint:#e7f6ed; }
.t-yellow { --accent: #b08400;        --accent-tint:#fff5d6; }

.tricolor { height: 5px; display: flex; }
.tricolor > i { flex: 1; }
.tricolor > i:nth-child(1){ background: var(--ve-yellow); }
.tricolor > i:nth-child(2){ background: var(--ve-blue); }
.tricolor > i:nth-child(3){ background: var(--ve-red); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- Banner antifraude ---------- */
.fraud { background: linear-gradient(90deg,#2a0a0e,#3a0c12); color: #ffe4e8; font-size: 13.5px; }
.fraud .wrap { display:flex; gap:10px; align-items:center; padding: 9px 18px; }
.fraud strong { color:#fff; } .fraud .big { font-weight:800; color:#ff8a98; }

/* ---------- Header ---------- */
header.site { position: sticky; top:0; z-index:50; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(12px); border-bottom:1px solid var(--border); }
header.site .wrap { display:flex; align-items:center; gap:14px; padding:11px 18px; }
.brand { display:flex; align-items:center; gap:11px; cursor:pointer; border:0; background:none; padding:0; }
.brand .flag { width:40px; height:27px; border-radius:6px; overflow:hidden; box-shadow: var(--shadow-sm); flex:none; display:flex; flex-direction:column; }
.brand .flag i { flex:1; }
.brand .flag i:nth-child(1){ background:var(--ve-yellow);}
.brand .flag i:nth-child(2){ background:var(--ve-blue); position:relative;}
.brand .flag i:nth-child(3){ background:var(--ve-red);}
.brand .flag i:nth-child(2)::after{ content:"★"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:8px; }
.brand h1 { font-size:18px; margin:0; line-height:1.05; font-weight:800; }
.brand small { color: var(--text-soft); font-size:11.5px; font-weight:600; }
header.site .spacer { flex:1; }
.wa-btn { display:inline-flex; align-items:center; gap:7px; background:#25D366; color:#06351b; font-weight:800; border:0; border-radius:999px; padding:9px 16px; font-size:13.5px; text-decoration:none; box-shadow: var(--shadow-sm); white-space:nowrap; }
.wa-btn:hover { filter:brightness(.97); transform: translateY(-1px); transition:.12s; }

/* ---------- Botones ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:700; cursor:pointer; border:1px solid var(--border); background:#fff; color:var(--text); border-radius:12px; padding:11px 17px; text-decoration:none; transition:.14s; min-height:46px; }
.btn:hover { background: var(--surface); transform: translateY(-1px); }
.btn:focus-visible { outline:3px solid var(--ve-yellow); outline-offset:2px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color:#fff; box-shadow: 0 6px 16px -6px var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.red { background: var(--ve-red); border-color: var(--ve-red); color:#fff; }
.btn.ghost { background: var(--accent-tint); border-color: transparent; color: var(--accent); }
.btn.block { width:100%; }
.btn.small { padding:8px 13px; min-height:38px; font-size:13px; border-radius:10px; }

/* ---------- Icon tiles ---------- */
.tile { display:inline-flex; align-items:center; justify-content:center; border-radius:14px; background:var(--accent-tint); font-size:24px; flex:none; line-height:1; }
.tile.lg { width:60px; height:60px; font-size:30px; border-radius:18px; }
.tile.sm { width:42px; height:42px; font-size:20px; border-radius:12px; }

/* ---------- HERO ---------- */
.hero { position:relative; padding: 48px 0 14px; text-align:center; }
.hero::before { content:""; position:absolute; inset:0 0 auto 0; height:280px; background:
   radial-gradient(900px 280px at 12% -40%, rgba(0,38,154,.10), transparent 70%),
   radial-gradient(700px 260px at 92% -50%, rgba(207,20,43,.10), transparent 70%); z-index:-1; }
.hero .chip { background:#fff; border:1px solid var(--border); box-shadow: var(--shadow-sm); }
.hero h2 { font-size: clamp(38px, 8vw, 72px); margin:16px 0 14px; font-weight:850; line-height:1.02; }
.hero h2 .gr { background: linear-gradient(90deg,#b08400,var(--ve-blue) 55%,var(--ve-red)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero p.lead { font-size:18px; color:var(--text-soft); max-width:660px; margin:0 auto 24px; }
.hero .cta-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.dash { text-align:left; }
.chip.live { display:inline-flex; align-items:center; gap:8px; font-weight:700; }
.chip.live .dot { width:8px; height:8px; border-radius:50%; background:var(--ve-red); animation:pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(207,20,43,.5)} 70%{box-shadow:0 0 0 8px rgba(207,20,43,0)} 100%{box-shadow:0 0 0 0 rgba(207,20,43,0)} }

/* tonos */
.tone-red{--c:var(--ve-red);--tint:#fdeef0} .tone-green{--c:var(--green);--tint:#e9f7ef}
.tone-blue{--c:var(--ve-blue);--tint:#eaeffc} .tone-gray{--c:#54687d;--tint:#eef2f7}
.tone-yellow{--c:#9a7600;--tint:#fff6da}

/* Panel dashboard premium (inicio) */
.dash { margin-top:28px; background:#fff; border:1px solid var(--border); border-radius:22px; padding:22px; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.dash::after { content:""; position:absolute; right:-50px; top:-50px; width:220px; height:220px; background:radial-gradient(circle, rgba(0,38,154,.07), transparent 70%); pointer-events:none; }
.dash-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.dash-head h3 { margin:0; font-size:16px; font-weight:800; }
.dash-head .go { font-weight:800; color:var(--ve-blue); text-decoration:none; font-size:13.5px; }
.bigstats { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; }
.bigstat { position:relative; border:1px solid var(--border); border-radius:18px; padding:20px; background:linear-gradient(180deg,var(--tint),#fff 75%); overflow:hidden; transition:.16s; }
.bigstat:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.bigstat::before { content:""; position:absolute; inset:0 0 auto 0; height:4px; background:var(--c); }
.bigstat .tile { width:46px; height:46px; font-size:22px; background:#fff; margin-bottom:14px; box-shadow:var(--shadow-sm); }
.bigstat b { display:block; font-family:"Plus Jakarta Sans","Inter",sans-serif; font-size:clamp(36px,5.2vw,54px); font-weight:800; line-height:1; color:var(--c); font-variant-numeric:tabular-nums; letter-spacing:-.03em; }
.bigstat span { display:block; margin-top:8px; font-size:14px; color:var(--text-soft); font-weight:700; }
.ministats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-top:14px; }
.ministat { display:flex; align-items:center; gap:11px; border:1px solid var(--border); border-radius:14px; padding:12px 14px; background:var(--surface); }
.ministat .tile { width:40px; height:40px; font-size:18px; background:#fff; box-shadow:var(--shadow-sm); }
.ministat b { font-size:23px; font-weight:800; line-height:1; display:block; font-variant-numeric:tabular-nums; font-family:"Plus Jakarta Sans",sans-serif; }
.ministat span { font-size:12px; color:var(--text-soft); font-weight:600; }

/* ---------- Tablero stats ---------- */
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin:24px 0 6px; }
.stat { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:15px 16px; box-shadow: var(--shadow-sm); display:flex; align-items:center; gap:12px; }
.stat .tile { width:44px; height:44px; font-size:20px; }
.stat b { font-size:24px; display:block; line-height:1; font-weight:800; }
.stat span { color:var(--text-soft); font-size:12.5px; }
.stat.red .tile{background:#fdeaec;} .stat.red b{color:var(--ve-red);}
.stat.green .tile{background:#e7f6ed;} .stat.green b{color:var(--green);}
.stat.blue .tile{background:#e8edfb;} .stat.blue b{color:var(--ve-blue);}
.stat.yellow .tile{background:#fff5d6;} .stat.yellow b{color:#9a7100;}

/* ---------- Grid de módulos (home) ---------- */
.section-title { display:flex; align-items:center; gap:9px; font-size:13px; text-transform:uppercase; letter-spacing:.09em; color:var(--text-soft); margin:30px 0 12px; font-weight:800; }
.modules { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
.mod-card { text-align:left; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:18px; cursor:pointer; transition:.16s; box-shadow: var(--shadow-sm); position:relative; overflow:hidden; }
.mod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.mod-card .top { display:flex; align-items:center; justify-content:space-between; }
.mod-card .count { background:var(--accent-tint); color:var(--accent); font-size:12px; font-weight:800; border-radius:999px; padding:3px 11px; }
.mod-card h3 { margin:13px 0 5px; font-size:17.5px; font-weight:800; }
.mod-card p { margin:0; font-size:13.5px; color:var(--text-soft); line-height:1.45; }
.mod-card .go { margin-top:12px; font-size:13px; font-weight:800; color:var(--accent); display:inline-flex; align-items:center; gap:5px; }

/* ============================================================
   VISTA DE MÓDULO — pantalla propia con banner temático
   ============================================================ */
.mod-screen { background: linear-gradient(180deg, var(--accent-tint), rgba(255,255,255,0) 220px); min-height: 60vh; }
.mhero { padding: 18px 0 6px; }
.mhero .back { color:var(--accent); font-weight:700; font-size:14px; text-decoration:none; display:inline-flex; gap:6px; align-items:center; }
.mhero .head { display:flex; align-items:flex-start; gap:16px; margin:14px 0 8px; }
.mhero .tile { box-shadow: var(--shadow-sm); }
.mhero h2 { margin:2px 0 4px; font-size: clamp(22px,4.5vw,32px); font-weight:850; }
.mhero .sub { color:var(--text-soft); font-size:15px; max-width:640px; margin:0; }
.mhero .actions { margin:16px 0 4px; display:flex; flex-wrap:wrap; gap:10px; }

.explain-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.exp { background:#fff; border:1px solid var(--border); border-radius:14px; padding:14px 16px; box-shadow:var(--shadow-sm); }
.exp h4 { margin:0 0 5px; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--accent); font-weight:800; }
.exp p { margin:0; font-size:14px; color:var(--text); line-height:1.5; }

/* Buscador + filtros pill */
.searchbar { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--border); border-radius:14px; padding:6px 8px 6px 14px; box-shadow:var(--shadow-sm); margin:16px 0 10px; }
.searchbar svg { color:var(--text-soft); flex:none; }
.searchbar input { flex:1; border:0; outline:0; font:inherit; padding:10px 0; background:none; min-width:0; }
.searchbar select { border:0; background:var(--surface); border-radius:10px; padding:9px 10px; font:inherit; color:var(--text); max-width:170px; }
.searchbar .btn { white-space:nowrap; }
.pills { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 14px; }
.pill { border:1px solid var(--border); background:#fff; color:var(--text-soft); border-radius:999px; padding:7px 14px; font-size:13px; font-weight:700; cursor:pointer; transition:.12s; }
.pill:hover { border-color:var(--accent); }
.pill.on { background:var(--accent); border-color:var(--accent); color:#fff; }
.filters { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:6px 0 14px; }
.filters .pills { margin:0; }
.viewtoggle { display:inline-flex; background:#fff; border:1px solid var(--border); border-radius:11px; overflow:hidden; }
.viewtoggle .vt { border:0; background:#fff; padding:10px 14px; font:inherit; font-weight:700; cursor:pointer; color:var(--text-soft); min-height:46px; }
.viewtoggle .vt.on { background:var(--accent); color:#fff; }

/* Buscador global (inicio) */
.hsearch { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--border); border-radius:14px; padding:7px 8px 7px 16px; box-shadow:var(--shadow-sm); max-width:640px; margin:22px auto 0; text-align:left; }
.hsearch svg { color:var(--text-soft); flex:none; }
.hsearch input { flex:1; border:0; outline:0; font:inherit; font-size:16px; padding:12px 0; background:none; min-width:0; }

/* Geolocalización / mapas */
.geo { border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.geo-actions { display:flex; align-items:center; gap:10px; padding:9px 11px; background:var(--surface); flex-wrap:wrap; }
.geo-coords { font-size:12.5px; color:var(--text-soft); }
.geo-map { height:230px; width:100%; }
.modmap { height:440px; width:100%; border:1px solid var(--border); border-radius:14px; overflow:hidden; margin-top:8px; z-index:0; }
.leaflet-popup-content { font-family:inherit; }
.leaflet-popup-content a { color:var(--ve-blue); font-weight:700; }

/* Skeletons de carga */
.skel-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.skel { background:linear-gradient(90deg,#eef2f7 25%,#e2e8f1 37%,#eef2f7 63%); background-size:400% 100%; animation:shimmer 1.4s ease infinite; border-radius:8px; }
.skel-l { height:16px; width:80%; margin:8px 0; }
.skel-s { height:12px; width:55%; margin:8px 0; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }

/* Aparición al hacer scroll */
.rv { opacity:0; transform:translateY(12px); }
.rv.in { opacity:1; transform:none; transition:opacity .45s ease, transform .45s ease; }
@media (prefers-reduced-motion: reduce){ .rv{opacity:1;transform:none} }

/* ---------- LISTAS / TARJETAS ---------- */
.grid-persona { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:16px; margin:8px 0 36px; }
.grid-ayuda   { display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:14px; margin:8px 0 36px; }
.grid-lugar   { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:14px; margin:8px 0 36px; }
.grid-feed    { display:grid; grid-template-columns:1fr; gap:12px; margin:8px 0 36px; max-width:660px; }

/* Tarjeta persona (foto prominente) */
.pcard { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); cursor:pointer; transition:.16s; }
.pcard:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.pcard .ph { position:relative; aspect-ratio:1/1; background:linear-gradient(135deg,var(--accent-tint),#fff); display:flex; align-items:center; justify-content:center; font-size:46px; font-weight:800; color:var(--accent); }
.pcard .ph img { width:100%; height:100%; object-fit:cover; }
.pcard .ph .st { position:absolute; top:8px; left:8px; }
.pcard .b { padding:11px 13px 13px; }
.pcard h3 { margin:0 0 3px; font-size:15.5px; font-weight:800; }
.pcard .meta { font-size:12.5px; color:var(--text-soft); }
.pcard .row { display:flex; gap:6px; margin-top:9px; }

/* Tarjeta ayuda (horizontal, franja de estado) */
.hcard { display:flex; background:#fff; border:1px solid var(--border); border-left:5px solid var(--accent); border-radius:14px; overflow:hidden; box-shadow:var(--shadow-sm); cursor:pointer; transition:.14s; }
.hcard:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.hcard .b { padding:14px 16px; flex:1; min-width:0; }
.hcard .topline { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:6px; }
.hcard h3 { margin:0; font-size:17px; font-weight:800; }
.hcard .meta { font-size:13px; color:var(--text-soft); margin-top:3px; }
.hcard .desc { font-size:13.5px; margin-top:6px; max-height:3em; overflow:hidden; color:#34435a; }
.hcard .chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
.hcard .row { display:flex; flex-wrap:wrap; gap:7px; margin-top:11px; }
.hcard .hph { width:132px; flex:none; background:var(--surface-2); }
.hcard .hph img { width:100%; height:100%; object-fit:cover; }
.pc-img { width:100%; border-radius:12px; margin-top:12px; max-height:220px; object-fit:cover; }

/* Tarjeta lugar */
.placecard { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:16px; box-shadow:var(--shadow-sm); cursor:pointer; transition:.14s; }
.placecard:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.placecard .h { display:flex; gap:12px; align-items:center; }
.placecard h3 { margin:0; font-size:16.5px; font-weight:800; }
.placecard .meta { font-size:13px; color:var(--text-soft); }
.placecard .chips { display:flex; flex-wrap:wrap; gap:6px; margin:11px 0; }
.placecard .row { display:flex; flex-wrap:wrap; gap:7px; }

/* Tarjeta feed (alertas) */
.feedcard { background:#fff; border:1px solid var(--border); border-radius:14px; padding:15px 17px; box-shadow:var(--shadow-sm); }
.feedcard .topline { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.feedcard h3 { margin:8px 0 4px; font-size:18px; font-weight:800; }
.feedcard .desc { font-size:14.5px; color:#2c3a4f; }
.feedcard img { border-radius:12px; margin-top:10px; max-height:340px; width:auto; }
.feedcard .meta { color:var(--text-soft); font-size:12.5px; margin-top:8px; }

/* Badges / chips */
.badge { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:800; padding:4px 10px; border-radius:999px; }
.badge.red{background:#fdeaec;color:#a30f22;} .badge.green{background:#e7f6ed;color:#0f7a40;}
.badge.yellow{background:#fff3cf;color:#876700;} .badge.gray{background:#eef1f6;color:#566;}
.badge.blue{background:#e8edfb;color:#1c3aa3;}
.badge.solid { box-shadow:0 2px 8px rgba(0,0,0,.18); }
.badge.solid.red{background:var(--ve-red);color:#fff;} .badge.solid.green{background:var(--green);color:#fff;}
.badge.solid.yellow{background:#caa100;color:#1a1300;} .badge.solid.gray{background:#5b6b80;color:#fff;}
.badge.solid.blue{background:var(--ve-blue);color:#fff;}
.verified { color:var(--ve-blue); font-weight:800; font-size:12px; }
.flagwarn { color:#a30f22; font-size:12px; font-weight:800; }
.chip { background:var(--surface); border:1px solid var(--border); border-radius:999px; font-size:12px; padding:4px 11px; color:var(--text-soft); font-weight:600; }
.chip.ac { background:var(--accent-tint); color:var(--accent); border-color:transparent; }

/* ---------- Modal / formulario ---------- */
.overlay { position:fixed; inset:0; background:rgba(13,22,34,.55); display:flex; align-items:flex-start; justify-content:center; padding:18px; z-index:100; overflow:auto; }
.modal { background:#fff; border-radius:18px; width:100%; max-width:640px; box-shadow:var(--shadow-lg); overflow:hidden; margin:auto; animation:pop .16s ease; }
@keyframes pop { from{transform:translateY(8px) scale(.99);opacity:0} to{transform:none;opacity:1} }
.modal .head { display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid var(--border); }
.modal .head .tile { width:40px;height:40px;font-size:20px; }
.modal .head h3 { margin:0; font-size:18px; flex:1; font-weight:800; }
.modal .x { border:0; background:var(--surface); width:36px; height:36px; border-radius:10px; cursor:pointer; font-size:17px; }
.modal .content { padding:16px 18px; max-height:70vh; overflow:auto; }
.modal .foot { padding:14px 18px; border-top:1px solid var(--border); display:flex; gap:10px; }

.field { margin-bottom:13px; }
.field label { display:block; font-size:13.5px; font-weight:700; margin-bottom:5px; }
.field .req { color:var(--ve-red); }
.field .help { font-size:12px; color:var(--text-soft); margin-top:3px; }
.field input, .field select, .field textarea { width:100%; font:inherit; padding:12px 13px; border:1px solid var(--border); border-radius:11px; background:#fff; }
.field textarea { min-height:84px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--ve-blue); box-shadow:0 0 0 3px rgba(0,38,154,.12); }
.checks { display:flex; flex-wrap:wrap; gap:8px; }
.checks label { display:inline-flex; align-items:center; gap:6px; font-weight:600; background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:8px 13px; cursor:pointer; font-size:13.5px; }
.checks input { width:auto; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.consent { display:flex; gap:9px; align-items:flex-start; font-size:13px; background:var(--surface); border-radius:11px; padding:12px; }
.consent input { width:auto; margin-top:3px; }
.privacy-note { background:#fff5d6; border:1px solid #ffe39a; border-radius:11px; padding:11px 13px; font-size:13px; margin-bottom:13px; }
.nomoney-note { background:#fdeaec; border:1px solid #f6c9cf; border-radius:11px; padding:11px 13px; font-size:13px; margin-bottom:13px; color:#7a0f1d; }
.token-box { background:#0e1b2a; color:#dbe7f5; border-radius:13px; padding:15px; font-size:14px; }
.token-box code { background:#1d3146; color:#7fe9b0; padding:4px 10px; border-radius:7px; font-size:17px; letter-spacing:1.5px; font-weight:700; }

.toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:#131c28; color:#fff; padding:13px 20px; border-radius:12px; box-shadow:var(--shadow-lg); z-index:200; font-size:14px; max-width:90%; font-weight:600; }
.toast.err { background:var(--ve-red); } .toast.ok { background:var(--green); }
.empty { text-align:center; color:var(--text-soft); padding:46px 16px; background:#fff; border:1px dashed var(--border); border-radius:var(--radius); }
.spinner { border:3px solid var(--surface-2); border-top-color:var(--accent); border-radius:50%; width:32px; height:32px; animation:spin 1s linear infinite; margin:36px auto; }
@keyframes spin { to { transform:rotate(360deg); } }

/* Ficha detalle */
.detail-grid { display:grid; grid-template-columns:1fr; gap:2px; margin-top:6px; }
.detail-grid .row { display:flex; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); font-size:14px; }
.detail-grid .row b { min-width:140px; color:var(--text-soft); font-weight:700; }
.contacts { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }

/* toolbar admin (reutiliza) */
.toolbar { display:flex; flex-wrap:wrap; gap:9px; margin:14px 0; align-items:center; }
.toolbar input, .toolbar select { font:inherit; padding:10px 12px; border:1px solid var(--border); border-radius:11px; background:#fff; min-height:44px; }
.toolbar .spacer { flex:1; }
.card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.card .body { padding:14px; }
.card .desc { font-size:13.5px; color:#34435a; }
.meta { font-size:13px; color:var(--text-soft); }

/* Banner ONG / alianzas */
.ally { display:flex; align-items:center; gap:18px; background:linear-gradient(100deg,var(--accent-tint),#fff 70%); border:1px solid var(--border); border-radius:var(--radius); padding:20px 22px; margin:28px 0 4px; box-shadow:var(--shadow-sm); flex-wrap:wrap; }
.ally .tile { box-shadow:var(--shadow-sm); }
.ally-txt { flex:1; min-width:240px; }
.ally-txt h3 { margin:0 0 4px; font-size:18px; }
.ally-txt p { margin:0; font-size:14px; color:var(--text-soft); line-height:1.5; }

footer.site { border-top:1px solid var(--border); background:var(--surface); margin-top:36px; }
footer.site .wrap { padding:24px 18px; font-size:13px; color:var(--text-soft); }
footer.site a { color:var(--ve-blue); font-weight:700; }

@media (max-width:620px){
  .row2 { grid-template-columns:1fr; }
  .explain-grid { grid-template-columns:1fr; }
  .brand small { display:none; }
  .hcard { flex-direction:column; }
  .hcard .hph { width:auto; height:180px; }
  .searchbar { flex-wrap:wrap; }
  .searchbar select { max-width:none; flex:1; }
}

/* Botón "Cargar más" (paginación de listas) */
.morewrap { text-align:center; margin:22px 0 8px; }
.morewrap #morebtn { min-width:200px; }
