/* ==========================================================================
   web26.css — estilo de las páginas PÚBLICAS del sitio (salguero20.com.ar)
   Propio del sitio: NO es el de la app (tarjeta2 usa assets/componentes.css con prefijo s20-).
   Todo va con prefijo w- y dentro de .w26 (la página envuelve su contenido en <div class="w26">).
   Verde profundo + degradés, tipografía grande, tarjetas redondeadas con sombra suave, animación de entrada.
   Se carga con includes/web26.php → $extra_head (antes de incluir encabezado.php).
   ========================================================================== */
.w26 {
  --w-950: #04210f; --w-900: #07381b; --w-800: #0a5a2b; --w-700: #0e7a3a; --w-600: #15964a;
  --w-500: #22b35a; --w-400: #4ade80; --w-300: #86efac; --w-200: #bbf7d0; --w-100: #dcfce7; --w-50: #f0fdf4;
  --w-lima: #d9f99d; --w-oro: #fbbf24;
  --w-bg: #f3faf5; --w-card: #ffffff; --w-ink: #0f2a1a; --w-ink2: #4b5f53; --w-line: #dcebe1;
  --w-sombra: 0 1px 2px rgba(7,56,27,.06), 0 8px 24px rgba(7,56,27,.08);
  --w-sombra-alta: 0 2px 4px rgba(7,56,27,.08), 0 18px 44px rgba(7,56,27,.16);
  --w-radio: 18px;
  font-family: 'Plus Jakarta Sans', 'Roboto', system-ui, sans-serif;
  color: var(--w-ink); background: var(--w-bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[data-theme="dark"] .w26 {
  --w-bg: #07130c; --w-card: #0e2216; --w-ink: #e6f4ea; --w-ink2: #9db8a6; --w-line: #1c3a28;
  --w-sombra: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --w-sombra-alta: 0 2px 4px rgba(0,0,0,.5), 0 18px 44px rgba(0,0,0,.5);
  --w-50: #0b1f13; --w-100: #12301f;
}
.w26 *, .w26 *::before, .w26 *::after { box-sizing: border-box; }
.w26 h1, .w26 h2, .w26 h3, .w26 h4 { font-family: inherit; line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--w-ink); }
.w26 p { margin: 0 0 1em; }
.w26 a { color: var(--w-700); }
html[data-theme="dark"] .w26 a { color: var(--w-400); }
.w-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.w-wrap--s { width: min(860px, 100% - 40px); }

/* ---------- Hero ---------- */
.w-hero {
  position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px) 0 clamp(52px, 5vw, 70px);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(74,222,128,.38), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(217,249,157,.20), transparent 60%),
    linear-gradient(135deg, var(--w-950) 0%, var(--w-900) 45%, var(--w-700) 100%);
}
.w-hero::before { /* trama de puntos */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.w-hero::after { /* borde inferior curvo */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(22px, 3vw, 36px); background: var(--w-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleX(1.6);
}
.w-hero .w-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.w-hero .w-orb--1 { width: 340px; height: 340px; right: -90px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(134,239,172,.5), rgba(34,179,90,0) 70%); }
.w-hero .w-orb--2 { width: 260px; height: 260px; left: -80px; bottom: -60px; background: radial-gradient(circle at 70% 40%, rgba(217,249,157,.35), rgba(217,249,157,0) 70%); }
.w-hero .w-eyebrow { color: var(--w-lima); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.w-hero h1 { color: #fff !important; font-size: clamp(1.55rem, 2.9vw, 2.3rem); font-weight: 800; max-width: 26ch; margin: 10px auto 0; text-wrap: balance; }
.w-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--w-lima), var(--w-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-hero .w-lead { max-width: 62ch; margin: 10px auto 0; font-size: clamp(.92rem, 1.2vw, 1.02rem); color: rgba(255,255,255,.86); }
.w-hero--izq { text-align: left; }
.w-hero--izq h1, .w-hero--izq .w-lead { margin-left: 0; }
.w-migas { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.w-migas a { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.w-migas a:hover { color: #fff !important; text-decoration: underline; }

/* ---------- Piezas sueltas ---------- */
.w-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: .68rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--w-700); background: var(--w-100); border: 1px solid var(--w-200);
}
html[data-theme="dark"] .w-eyebrow { color: var(--w-300); border-color: var(--w-line); }
.w-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.w-sec { padding: clamp(24px, 3vw, 40px) 0; }
.w-sec--alt { background: linear-gradient(180deg, var(--w-50), transparent); }
.w-sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(16px, 2vw, 26px); }
.w-sec-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 800; margin-top: 10px; }
.w-sec-head p { margin: 8px 0 0; color: var(--w-ink2); font-size: .95rem; }
.w-subir { margin-top: calc(-1 * clamp(34px, 4vw, 48px)); position: relative; z-index: 2; } /* sube sobre el hero */

.w-card {
  position: relative; background: var(--w-card); border: 1px solid var(--w-line); border-radius: var(--w-radio); padding: clamp(16px, 1.8vw, 22px);
  box-shadow: var(--w-sombra); transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
}
.w-card--hover:hover { transform: translateY(-5px); box-shadow: var(--w-sombra-alta); border-color: var(--w-300); }
.w-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.w-card p:last-child { margin-bottom: 0; }
.w-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; margin-bottom: 10px; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, var(--w-500), var(--w-800)); box-shadow: 0 10px 22px -8px rgba(14,122,58,.7);
}
.w-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.w-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.w-texto { font-size: .97rem; color: var(--w-ink2); }
.w-texto strong, .w-texto .w-res { color: var(--w-ink); }
.w-res { font-weight: 700; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--w-400) 38%, transparent) 62%); padding: 0 2px; }
.w-texto a.w-res { text-decoration: none; }

.w-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .9rem;
  color: #fff !important; text-decoration: none !important; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--w-600), var(--w-800));
  box-shadow: 0 12px 26px -10px rgba(14,122,58,.8); transition: transform .2s, box-shadow .2s;
}
.w-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(14,122,58,.9); }
.w-btn--claro { background: #fff; color: var(--w-800) !important; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }

.w-aviso { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px; background: var(--w-100); border: 1px solid var(--w-200); color: var(--w-ink); }
html[data-theme="dark"] .w-aviso { border-color: var(--w-line); }
.w-aviso > i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--w-600); color: #fff; }

/* ---------- Cifras ---------- */
.w-cifras { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.w-cifra { padding: 14px 10px; text-align: center; background: var(--w-card); border: 1px solid var(--w-line); border-radius: 20px; box-shadow: var(--w-sombra); }
.w-cifra b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; background: linear-gradient(135deg, var(--w-500), var(--w-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] .w-cifra b { background: linear-gradient(135deg, var(--w-300), var(--w-500)); -webkit-background-clip: text; background-clip: text; }
.w-cifra span { display: block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--w-ink2); }

/* ---------- Línea de tiempo ---------- */
.w-tl { position: relative; display: grid; gap: clamp(10px, 1.4vw, 16px); padding: 4px 0; }
.w-tl::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); border-radius: 3px; background: linear-gradient(180deg, transparent, var(--w-400) 6%, var(--w-700) 94%, transparent); }
.w-tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.w-tl-item::before { /* punto sobre la línea */
  content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--w-bg); border: 5px solid var(--w-500); box-shadow: 0 0 0 6px color-mix(in srgb, var(--w-400) 25%, transparent); z-index: 1;
}
.w-tl-card { grid-column: 1; margin-right: clamp(26px, 3.4vw, 44px); text-align: left; }
.w-tl-item:nth-child(even) .w-tl-card { grid-column: 2; margin-right: 0; margin-left: clamp(26px, 3.4vw, 44px); }
.w-tl-ano {
  display: inline-block; margin-bottom: 6px; padding: 2px 11px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--w-500), var(--w-800));
}
.w-tl-card h3 { font-size: 1rem; }
.w-tl-card p { font-size: .9rem; line-height: 1.55; color: var(--w-ink2); }
.w-tl-item--hito .w-tl-card { background: linear-gradient(135deg, var(--w-900), var(--w-700)); border-color: transparent; }
.w-tl-item--hito .w-tl-card h3, .w-tl-item--hito .w-tl-card p { color: #fff; }
.w-tl-item--hito .w-tl-ano { background: var(--w-lima); color: var(--w-900); }
@media (max-width: 760px) {
  .w-tl::before { left: 14px; transform: none; }
  .w-tl-item { grid-template-columns: 1fr; }
  .w-tl-item::before { left: 14px; top: 28px; transform: translate(-50%, 0); width: 18px; height: 18px; border-width: 4px; }
  .w-tl-card, .w-tl-item:nth-child(even) .w-tl-card { grid-column: 1; margin: 0 0 0 40px; }
}

/* ---------- Tablas ---------- */
.w-tabla-wrap { overflow-x: auto; border-radius: var(--w-radio); border: 1px solid var(--w-line); background: var(--w-card); box-shadow: var(--w-sombra); }
.w-tabla { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; min-width: 560px; }
.w-tabla th { padding: 10px 14px; font-weight: 700; text-align: center; color: #fff; background: var(--w-800); font-size: .82rem; letter-spacing: .03em; }
.w-tabla thead tr:nth-child(2) th { background: var(--w-700); }
.w-tabla thead tr:first-child th:first-child { border-top-left-radius: calc(var(--w-radio) - 1px); }
.w-tabla thead tr:first-child th:last-child { border-top-right-radius: calc(var(--w-radio) - 1px); }
.w-tabla th small { font-weight: 500; opacity: .85; }
.w-tabla th + th { border-left: 1px solid rgba(255,255,255,.18); }
.w-tabla td { padding: 8px 14px; text-align: center; border-top: 1px solid var(--w-line); color: var(--w-ink2); }
.w-tabla tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--w-100) 45%, transparent); }
.w-tabla tbody tr { transition: background .15s; }
.w-tabla tbody tr:hover td { background: var(--w-100); }
.w-tabla td:first-child { text-align: left; font-weight: 700; color: var(--w-ink); letter-spacing: .02em; }
.w-hs { display: inline-block; min-width: 46px; padding: 3px 12px; border-radius: 999px; font-weight: 800; color: var(--w-900); background: linear-gradient(135deg, var(--w-200), var(--w-300)); }
.w-tabla--chica { min-width: 0; }

/* ---------- Listas de personas ---------- */
.w-lista { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.w-fila { display: flex; gap: 12px; align-items: center; padding: 9px 14px; background: var(--w-card); border: 1px solid var(--w-line); border-radius: 16px; transition: border-color .2s, transform .2s; }
.w-fila:hover { border-color: var(--w-400); transform: translateX(3px); }
.w-fila-ini { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-size: .85rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--w-500), var(--w-800)); }
.w-fila small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--w-ink2); }
.w-fila b { display: block; font-size: .95rem; color: var(--w-ink); }
.w-bloque-t { margin: 18px 0 10px; font-size: 1rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.w-bloque-t::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--w-300), transparent); }

/* ---------- Banda final ---------- */
.w-cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding: clamp(24px, 3vw, 36px) clamp(18px, 3vw, 40px); border-radius: 22px;
  background: radial-gradient(500px 260px at 90% 0%, rgba(74,222,128,.35), transparent 65%), linear-gradient(135deg, var(--w-950), var(--w-800));
  box-shadow: var(--w-sombra-alta);
}
.w-cta h2, .w-cta h3 { color: #fff !important; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; }
.w-cta p { max-width: 64ch; margin: 10px auto 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.w-cta .w-lema { margin-top: 20px; font-style: italic; color: var(--w-lima); }

/* ---------- Galería / carrusel de fotos ---------- */
.w-gal { position: relative; overflow: hidden; border-radius: 20px; background: #04210f; box-shadow: var(--w-sombra-alta); border: 1px solid var(--w-line); }
.w-gal-s { display: none; position: relative; margin: 0; }
.w-gal-s.on { display: block; animation: wGal .8s; }
@keyframes wGal { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.w-gal-s img { display: block; width: 100%; height: clamp(220px, 30vw, 380px); object-fit: contain; background: radial-gradient(circle at 50% 40%, #0e2216, #04210f); }
.w-gal-s figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 24px 20px; color: #fff; background: linear-gradient(transparent, rgba(2,20,10,.88)); font-size: .95rem; }
.w-gal-d { position: absolute; bottom: 14px; right: 18px; display: flex; gap: 7px; }
.w-gal-d button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; cursor: pointer; background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.w-gal-d button.on { width: 26px; background: var(--w-400); }

/* ---------- Entrada animada ---------- */
html.w-js .w-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--w-d, 0s); }
html.w-js .w-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.w-js .w-rv { opacity: 1; transform: none; transition: none; }
  .w-gal-s.on { animation: none; }
  .w-card, .w-btn, .w-fila { transition: none; }
}
@media (max-width: 560px) { .w-hero h1 { max-width: none; } .w-hero--izq { text-align: center; } }

/* ---------- Camino a los 80 años (historia.php; includes/aniv80.php lo activa por fecha) ---------- */
.w-cuenta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 16px; border-radius: 999px; font-size: .9rem; color: #fff !important; text-decoration: none !important;
  background: rgba(251,191,36,.16); border: 1px solid rgba(251,191,36,.55); backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.w-cuenta:hover { background: rgba(251,191,36,.28); transform: translateY(-1px); }
.w-cuenta b { color: var(--w-oro); }
.w-80 { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(14px, 3vw, 36px); align-items: center; color: #fff;
  padding: clamp(18px, 2.6vw, 30px) clamp(18px, 3vw, 40px); border-radius: 22px; box-shadow: var(--w-sombra-alta);
  background: radial-gradient(460px 220px at 8% 0%, rgba(251,191,36,.22), transparent 65%), radial-gradient(420px 240px at 100% 100%, rgba(74,222,128,.28), transparent 65%), linear-gradient(135deg, var(--w-950), var(--w-800)); }
.w-80-num { font-size: clamp(4.5rem, 10vw, 7.5rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; background: linear-gradient(180deg, #fde68a, #d4a017 70%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.w-80 h2 { color: #fff !important; font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 800; margin: 8px 0 6px; }
.w-80 p { margin: 0 0 14px; color: rgba(255,255,255,.82); font-size: .95rem; }
.w-80 .w-eyebrow { color: #fde68a; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.4); }
.w-80-dias { text-align: center; padding: 14px 22px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.w-80-dias b { display: block; font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1; color: var(--w-oro); font-variant-numeric: tabular-nums; }
.w-80-dias span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.w-prog { margin: 4px 0 16px; }
.w-prog-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255,255,255,.2); }
.w-prog-fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 8px; background: linear-gradient(90deg, #d4a017, #fde68a); transition: width 2.2s cubic-bezier(.2,.8,.2,1); }
html.w-js .w-rv:not(.in) .w-prog-fill { width: 0; }
.w-prog-d { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(255,255,255,.5); }
.w-prog-d.on { background: var(--w-900); box-shadow: 0 0 0 1.5px #fde68a; }
.w-prog-lb { display: flex; justify-content: space-between; margin-top: 8px; font-size: .78rem; font-weight: 700; color: #fde68a; }
.w-80-acc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.w-80-acc .w-btn { padding: 9px 18px; }
.w-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.35); }
.w-tl-item--prox .w-tl-card { border-style: dashed; }
.w-tl-item--prox .w-tl-ano::after { content: ' · próximamente'; font-weight: 600; opacity: .85; }
@media (max-width: 760px) {
  .w-80 { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .w-80-num { font-size: 4.2rem; }
  .w-prog { width: 100%; }
  .w-80-acc { justify-content: center; }
}

/* ---------- Formularios, grilla de fotos y visor (galeria_recuerdos.php) ---------- */
.w-form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.w-form .w-full { grid-column: 1 / -1; }
.w-form label { display: block; margin-bottom: 5px; font-size: .84rem; font-weight: 700; color: var(--w-ink); }
.w-form label small { font-weight: 500; color: var(--w-ink2); }
.w-form input[type=text], .w-form input[type=number], .w-form textarea, .w-form input[type=file] {
  width: 100%; padding: 10px 12px; font: inherit; font-size: .94rem; color: var(--w-ink); background: var(--w-bg); border: 1px solid var(--w-line); border-radius: 12px;
}
.w-form input:focus, .w-form textarea:focus { outline: 2px solid var(--w-500); outline-offset: 1px; }
.w-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--w-ink2); }
.w-check input { margin-top: 4px; accent-color: var(--w-600); }
.w-flash { padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.w-flash--ok { background: var(--w-100); color: var(--w-800); border: 1px solid var(--w-200); }
.w-flash--err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
html[data-theme="dark"] .w-flash--ok { color: var(--w-300); border-color: var(--w-line); }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.w-chipf { padding: 6px 14px; border-radius: 999px; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; color: var(--w-ink2); background: var(--w-card); border: 1px solid var(--w-line); transition: all .2s; }
.w-chipf:hover { border-color: var(--w-400); }
.w-chipf.on { color: #fff; background: linear-gradient(135deg, var(--w-600), var(--w-800)); border-color: transparent; }
.w-masonry { columns: 250px; column-gap: 16px; }
.w-foto { break-inside: avoid; margin: 0 0 16px; overflow: hidden; padding: 0; cursor: pointer; }
.w-foto[hidden] { display: none; }
.w-foto img { display: block; width: 100%; height: auto; background: var(--w-100); }
.w-foto-cuerpo { padding: 12px 14px 14px; }
.w-foto-cuerpo b { display: block; font-size: .98rem; color: var(--w-ink); }
.w-foto-cuerpo p { margin: 4px 0 0; font-size: .86rem; color: var(--w-ink2); line-height: 1.45; }
.w-foto-cuerpo small { display: block; margin-top: 6px; font-size: .76rem; color: var(--w-ink2); }
.w-foto-anio { position: absolute; top: 10px; left: 10px; padding: 2px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(4,33,15,.78); backdrop-filter: blur(4px); }
.w-lb { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; background: rgba(2,14,7,.94); }
.w-lb.on { display: flex; }
.w-lb img { max-width: 100%; max-height: 78vh; border-radius: 12px; }
.w-lb-cap { max-width: 640px; margin-top: 14px; text-align: center; color: #fff; font-size: .95rem; }
.w-lb-cap b { display: block; font-size: 1.05rem; }
.w-lb button { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; font-size: 1rem; cursor: pointer; color: #fff; background: rgba(255,255,255,.14); }
.w-lb button:hover { background: rgba(255,255,255,.28); }
.w-lb-x { top: 14px; right: 16px; } .w-lb-p { left: 14px; top: 50%; } .w-lb-n { right: 14px; top: 50%; }
@media (max-width: 640px) { .w-form { grid-template-columns: 1fr; } }

/* ---------- Documentos / páginas de texto (privacidad, términos, etc.) ---------- */
.w-doc { margin-bottom: 16px; }
.w-doc h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1.12rem; font-weight: 800; }
.w-doc h2 > i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--w-500), var(--w-800)); }
.w-doc p, .w-doc li { font-size: .96rem; color: var(--w-ink2); }
.w-doc ul, .w-doc ol { margin: 8px 0 0; padding-left: 22px; }
.w-doc li { margin-bottom: 7px; }
.w-doc li::marker { color: var(--w-600); font-weight: 700; }
.w-doc strong { color: var(--w-ink); }
.w-doc-nota { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; font-size: .9rem; color: #7a5c00; background: #fff8e1; border: 1px solid #ffe082; margin-bottom: 12px; }
.w-doc-nota a { color: inherit; font-weight: 700; }
html[data-theme="dark"] .w-doc-nota { color: #f0c96b; background: #2a2410; border-color: #5c4a1e; }
.w-fecha { text-align: center; font-size: .82rem; color: var(--w-ink2); }
.w-hide { display: none !important; }
.w-form input[type=email], .w-form input[type=tel], .w-form select { width: 100%; padding: 10px 12px; font: inherit; font-size: .94rem; color: var(--w-ink); background: var(--w-bg); border: 1px solid var(--w-line); border-radius: 12px; }
.w-form select:focus { outline: 2px solid var(--w-500); outline-offset: 1px; }
.w-dato { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--w-card); border: 1px solid var(--w-line); border-radius: 16px; box-shadow: var(--w-sombra); }
.w-dato i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--w-500), var(--w-800)); }
.w-dato a, .w-dato span { color: var(--w-ink) !important; text-decoration: none; font-weight: 600; font-size: .95rem; word-break: break-word; }
.w-dato a:hover { text-decoration: underline; }
.w-mapa { overflow: hidden; border-radius: 18px; border: 1px solid var(--w-line); box-shadow: var(--w-sombra); }
.w-mapa iframe { display: block; width: 100%; height: 240px; border: 0; }

/* ---------- Personas (delegados, comisión) y buscador de listas ---------- */
.w-buscar { position: relative; max-width: 460px; margin: 0 auto 22px; }
.w-buscar input { width: 100%; padding: 12px 16px 12px 44px; font: inherit; font-size: .98rem; color: var(--w-ink); background: var(--w-card); border: 1px solid var(--w-line); border-radius: 999px; box-shadow: var(--w-sombra); }
.w-buscar input:focus { outline: 2px solid var(--w-500); outline-offset: 1px; }
.w-buscar i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--w-600); }
.w-persona { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.w-persona[hidden] { display: none; }
.w-persona img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 3px solid var(--w-300); background: var(--w-100); }
.w-persona b { display: block; font-size: 1rem; line-height: 1.25; color: var(--w-ink); }
.w-persona small { display: block; margin-top: 2px; font-size: .82rem; font-weight: 600; color: var(--w-600); }
.w-vacio { text-align: center; padding: 24px; color: var(--w-ink2); }

/* ---------- Tarifas (precios) ---------- */
.w-precio { font-weight: 800; color: var(--w-800); }
html[data-theme="dark"] .w-precio { color: var(--w-300); }
.w-gratis { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: .82rem; color: var(--w-900); background: linear-gradient(135deg, var(--w-200), var(--w-300)); }
.w-cond { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: var(--w-100); color: var(--w-800); }
html[data-theme="dark"] .w-cond { color: var(--w-300); }
.w-cond--invitado { background: #fef3c7; color: #92400e; } .w-cond--particular { background: #e0e7ff; color: #3730a3; }
.w-servicio { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 10px; padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: .86rem; color: #fff; background: linear-gradient(135deg, var(--w-600), var(--w-800)); }
.w-esp { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--w-100); border: 1px solid var(--w-200); font-size: .92rem; color: var(--w-ink); }
html[data-theme="dark"] .w-esp { border-color: var(--w-line); }
.w-tabla td:not(:first-child) { white-space: nowrap; }

/* ---------- Tarjeta de ítem con imagen (ayudas, comercios, emprendimientos…) ---------- */
.w-item { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s; }
.w-item:hover { transform: translateY(-5px); box-shadow: var(--w-sombra-alta); border-color: var(--w-300); }
.w-item[hidden] { display: none; }
.w-item-img { aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--w-100), var(--w-200)); overflow: hidden; }
.w-item-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.w-item:hover .w-item-img img { transform: scale(1.05); }
.w-item-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.w-item-body h3 { font-size: 1.05rem; margin: 0; }
.w-item-body p { margin: 0 0 6px; font-size: .9rem; color: var(--w-ink2); flex: 1; }
.w-item-ubi { font-size: .8rem; font-weight: 600; color: var(--w-600); }
.w-item-img--c img { object-fit: contain; padding: 6px; } .w-item:hover .w-item-img--c img { transform: scale(1.03); }

/* ---------- Mini galería dentro de una tarjeta (.w-slides: varias <img>, la activa lleva .on) ---------- */
.w-slides { position: relative; }
.w-slides img { display: none; }
.w-slides img.on { display: block; animation: wGal .6s; }
.w-slides:not(:has(img.on)) img:first-child { display: block; }
.w-sl-b { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(4,33,15,.55); backdrop-filter: blur(4px); }
.w-sl-b:hover { background: rgba(4,33,15,.8); }
.w-sl-p { left: 8px; } .w-sl-n { right: 8px; }
.w-sl-c { position: absolute; right: 10px; bottom: 10px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(4,33,15,.7); }

/* ---------- Botón de reproducir sobre una miniatura de video ---------- */
.w-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 1.2rem; color: #fff; background: rgba(4,33,15,.72); box-shadow: 0 0 0 6px rgba(255,255,255,.25); transition: transform .2s, background .2s; }
.w-yt:hover .w-play { transform: translate(-50%, -50%) scale(1.1); background: var(--w-600); }

/* ---------- Listas de nombres (comisión directiva) ---------- */
.cd-nombres { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-nombre { padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--w-ink); background: var(--w-card); border: 1px solid var(--w-line); box-shadow: var(--w-sombra); }
.cd-panel[hidden] { display: none; }

.w-select { padding: 10px 14px; font: inherit; font-size: .92rem; color: var(--w-ink); background: var(--w-bg); border: 1px solid var(--w-line); border-radius: 999px; }

/* ---------- Ajuste de espacios: subtítulos / títulos más separados de su descripción (2026-10-22) ---------- */
.w26 .w-card h3 { margin-bottom: 12px; }
.w26 .w-card h3 + p, .w26 .w-card h3 + .w-texto { margin-top: 0; }
.w26 .w-card h3[style*="margin:0"] { margin-bottom: 0; }
.w26 .w-doc h2 { margin-bottom: 16px; }
.w26 .w-sec-head h2 { margin-top: 14px; }
.w26 .w-sec-head p { margin-top: 14px; }
.w26 .w-hero h1 + .w-lead { margin-top: 16px; }
.w26 .w-lead { line-height: 1.6; }
.w26 .w-ico { margin-bottom: 14px; }
.w26 .w-item-body { gap: 9px; padding: 18px 20px 20px; }
.w26 .w-item-body h3 { margin: 2px 0 2px; }
.w26 .w-item-body p { margin: 2px 0 8px; line-height: 1.55; }
.w26 .w-tl-ano { margin-bottom: 12px; }
.w26 .w-tl-card h3 { margin-bottom: 10px; }
.w26 .w-bloque-t { margin: 26px 0 16px; }
.w26 .w-cifra span { margin-top: 6px; }
.w26 .w-fila small { margin-bottom: 2px; }
.w26 .w-card .w-texto { line-height: 1.7; }
.w26 .w-doc p + p, .w26 .w-doc ul, .w26 .w-doc ol { margin-top: 10px; }
.w26 .w-doc li { margin-bottom: 9px; line-height: 1.65; }
.w26 .w-80 h2 { margin: 12px 0 10px; }
.w26 .w-cta h2, .w26 .w-cta h3 { margin-bottom: 4px; }
.w26 .w-cta p { margin-top: 14px; }

/* ---------- Tema "Género" (genero.php): misma estructura, paleta violeta/rosa para la Secretaría de Mujer y Familia ---------- */
.w26.w-genero {
  --w-950: #2a0845; --w-900: #430a6b; --w-800: #6b21a8; --w-700: #7e22ce; --w-600: #9333ea;
  --w-500: #a855f7; --w-400: #c084fc; --w-300: #d8b4fe; --w-200: #e9d5ff; --w-100: #f3e8ff; --w-50: #faf5ff;
  --w-lima: #fbcfe8; --w-oro: #f472b6; --w-bg: #fbf7ff; --w-line: #eadcf7;
  --w-sombra: 0 1px 2px rgba(67,10,107,.06), 0 8px 24px rgba(67,10,107,.09);
  --w-sombra-alta: 0 2px 4px rgba(67,10,107,.08), 0 18px 44px rgba(67,10,107,.18);
}
html[data-theme="dark"] .w26.w-genero { --w-bg: #12081c; --w-card: #1b0f2a; --w-line: #33204a; --w-50: #1a0f29; --w-100: #261640; }
.w-genero .w-hero { background:
    radial-gradient(900px 420px at 85% -10%, rgba(244,114,182,.38), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(192,132,252,.28), transparent 60%),
    linear-gradient(135deg, var(--w-950) 0%, var(--w-900) 45%, var(--w-700) 100%); }
.w-genero .w-hero h1 em { background: linear-gradient(90deg, #fbcfe8, #f9a8d4 50%, #e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-genero .w-btn { box-shadow: 0 12px 26px -10px rgba(126,34,206,.8); }
.w-genero .w-ico { box-shadow: 0 10px 22px -8px rgba(126,34,206,.7); }
.w-genero .w-doc-nota { color: #86198f; background: #fdf4ff; border-color: #f5d0fe; }
html[data-theme="dark"] .w-genero .w-doc-nota { color: #f0abfc; background: #2a1038; border-color: #4a1d63; }
.w-linea { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.w-linea-n { flex: none; display: grid; place-items: center; min-width: 84px; height: 84px; padding: 0 12px; border-radius: 22px; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: #fff; background: linear-gradient(135deg, #db2777, #7e22ce); box-shadow: 0 14px 28px -10px rgba(219,39,119,.7); }
.w-fecha-card { text-align: center; padding: 20px 14px; }
.w-fecha-card b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #db2777, #7e22ce); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-fecha-card span { display: block; margin-top: 8px; font-size: .88rem; font-weight: 700; color: var(--w-ink); }
.w-fecha-card small { display: block; margin-top: 4px; color: var(--w-ink2); font-size: .78rem; }

/* ---------- Tema "Derechos Humanos" (derechos.php): celeste y blanco (pañuelo blanco) ---------- */
.w26.w-ddhh {
  --w-950: #0a1b34; --w-900: #0f2a52; --w-800: #1a4a8a; --w-700: #1d5fb8; --w-600: #2f7de0;
  --w-500: #5aa0f2; --w-400: #8dbff7; --w-300: #b9d8fb; --w-200: #dbeafe; --w-100: #eaf3ff; --w-50: #f5f9ff;
  --w-lima: #ffffff; --w-oro: #cfe3ff; --w-bg: #f4f8fd; --w-line: #d9e5f5;
  --w-sombra: 0 1px 2px rgba(15,42,82,.06), 0 8px 24px rgba(15,42,82,.09);
  --w-sombra-alta: 0 2px 4px rgba(15,42,82,.08), 0 18px 44px rgba(15,42,82,.18);
}
html[data-theme="dark"] .w26.w-ddhh { --w-bg: #08111f; --w-card: #0f1c31; --w-line: #1f3556; --w-50: #0d1a2e; --w-100: #14263f; }
.w-ddhh .w-hero { background:
    radial-gradient(900px 420px at 85% -10%, rgba(141,191,247,.40), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, var(--w-950) 0%, var(--w-900) 45%, var(--w-700) 100%); }
.w-ddhh .w-hero h1 em { background: linear-gradient(90deg, #ffffff, #cfe3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-ddhh .w-btn { box-shadow: 0 12px 26px -10px rgba(29,95,184,.8); }
.w-ddhh .w-ico { box-shadow: 0 10px 22px -8px rgba(29,95,184,.7); }
.w-ddhh .w-doc-nota { color: #1e3a8a; background: #eff6ff; border-color: #bfdbfe; }
html[data-theme="dark"] .w-ddhh .w-doc-nota { color: #bfdbfe; background: #10213a; border-color: #1f3556; }
.w-panuelo { position: relative; overflow: hidden; padding: clamp(22px, 3.4vw, 40px); border-radius: 26px; color: #0f2a52; background: linear-gradient(135deg, #ffffff, #eaf3ff); border: 1px solid #cfe0f5; box-shadow: var(--w-sombra-alta); }
html[data-theme="dark"] .w-panuelo { color: #eaf3ff; background: linear-gradient(135deg, #0f1c31, #10243f); border-color: #1f3556; }
.w-panuelo h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; color: inherit; }
.w-panuelo p { color: inherit; opacity: .86; }
.w-panuelo::after { content: '\f4ba'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -10px; bottom: -34px; font-size: 11rem; color: rgba(29,95,184,.07); pointer-events: none; }

/* ---------- Tema "Jubilados" (JUBILADOS.php): tonos cálidos (ocre/ámbar) para el Centro de Jubilados y la Secretaría del Trabajo Pasivo ---------- */
.w26.w-jub {
  --w-950: #3a1d05; --w-900: #5c3009; --w-800: #8a4a0b; --w-700: #b45f06; --w-600: #d97706;
  --w-500: #f59e0b; --w-400: #fbbf24; --w-300: #fcd34d; --w-200: #fde68a; --w-100: #fef3c7; --w-50: #fffbeb;
  --w-lima: #fef3c7; --w-oro: #fdba74; --w-bg: #fffaf0; --w-line: #f3e3c3;
  --w-ink: #2b1a07; --w-ink2: #6b5535;
  --w-sombra: 0 1px 2px rgba(92,48,9,.06), 0 8px 24px rgba(92,48,9,.09);
  --w-sombra-alta: 0 2px 4px rgba(92,48,9,.08), 0 18px 44px rgba(92,48,9,.18);
}
html[data-theme="dark"] .w26.w-jub { --w-bg: #1a1105; --w-card: #251808; --w-line: #4a3314; --w-50: #2a1c0a; --w-100: #3a2810; --w-ink: #fdf0d8; --w-ink2: #d9bf94; }
.w-jub .w-hero { background:
    radial-gradient(900px 420px at 85% -10%, rgba(251,191,36,.38), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(253,186,116,.25), transparent 60%),
    linear-gradient(135deg, var(--w-950) 0%, var(--w-900) 45%, var(--w-700) 100%); }
.w-jub .w-hero h1 em { background: linear-gradient(90deg, #fef3c7, #fcd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-jub .w-btn { box-shadow: 0 12px 26px -10px rgba(180,95,6,.8); }
.w-jub .w-ico { box-shadow: 0 10px 22px -8px rgba(180,95,6,.7); }
.w-jub .w-doc-nota { color: #7a4a05; background: #fffbeb; border-color: #fde68a; }
html[data-theme="dark"] .w-jub .w-doc-nota { color: #fde68a; background: #2a1c0a; border-color: #4a3314; }
.w-jub .w-tabla th { background: var(--w-800); }
.w-jub-dia { padding: 18px 20px; }
.w-jub-dia h3 { margin: 0 0 10px; font-size: 1rem; color: var(--w-700); }
html[data-theme="dark"] .w-jub-dia h3 { color: var(--w-400); }
.w-jub-act { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--w-line); font-size: .92rem; }
.w-jub-act:last-child { border-bottom: 0; }
.w-jub-act span:last-child { white-space: nowrap; font-weight: 700; color: var(--w-ink2); }
