/* compromisovecinal.com — public site theme, TRANSCRIBED from the design
 * model ~/design/compromisovecinal.com/design_handoff_aavv_la_oliva/
 * (README + the 21 .dc.html prototypes). The model is the spec: values
 * mirror its tokens 1:1 (the CSP forbids inline styles, so the model's
 * inline blocks become classes). Do NOT re-interpret: change values only
 * when the model (or Dani) changes.
 * Palette (brand manual + prototype derivatives): turquesa #078EB0 ·
 * turquesa oscuro #056F8C (links) · petróleo #045D73 (top bar, footer) ·
 * tinta #0F3542 · line #DBE6EA · muted #5C7681 · celeste #99E1E9 ·
 * amarillo #FFAB2D · coral #FF3818 (+ chip tints, see --cv-chip-*).
 * Fonts: Baloo 2 (display, 500-700) + Montserrat (body, 400-700), both
 * self-hosted variable woff2 (CSP: no Google Fonts).
 * Layout: content max 1360px, side padding 24px; radii 8 (inputs/menu
 * items) / 12 (cards) / 999 (pills); elevation 0 16px 40px
 * rgba(15,53,66,.14); focus 3px #056F8C (amarillo on dark).
 * Breakpoints: 1100px (desktop nav ⇄ burger), 760px (content), model
 * verified at 1440 and 390. */

/* ── Fonts ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Baloo 2';
  src: url('../fonts/baloo2-var.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-italic-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --cv-brand:      #078EB0;   /* turquesa (manual RGB 7·142·176) */
  --cv-link:       #056F8C;   /* turquesa oscuro — links, accents */
  --cv-petrol:     #045D73;   /* top bar, footer, dark bands */
  --cv-ink:        #0F3542;   /* main text */
  --cv-muted:      #5C7681;
  --cv-line:       #DBE6EA;
  --cv-celeste:    #99E1E9;
  --cv-amarillo:   #FFAB2D;
  --cv-coral:      #FF3818;
  --cv-white:      #ffffff;
  --cv-tint:       #E6F6F8;   /* light turquoise tint (hovers, soft bands) */
  --cv-tint-soft:  #F7FBFC;   /* subtle hover surface */
  /* chip tints (model: aviso / noticia / comunicado) */
  --cv-chip-aviso-bg: #FFEDE9;  --cv-chip-aviso-fg: #B3250C;
  --cv-chip-not-bg:   #E6F6F8;  --cv-chip-not-fg:   #056F8C;
  --cv-chip-com-bg:   #FFF4E0;  --cv-chip-com-fg:   #7A4E00;
  --cv-shadow:     0 16px 40px rgba(15, 53, 66, 0.14);
  --cv-lift:       0 14px 30px rgba(15, 53, 66, 0.12);
  --cv-font:       'Montserrat', system-ui, sans-serif;
  --cv-display:    'Baloo 2', 'Montserrat', system-ui, sans-serif;
  --cv-maxw:       1360px;
  --cv-pad:        24px;

  /* Core module library mapping (--mod-*): library modules render in-brand */
  --site-accent:   var(--cv-brand);
  --mod-bg:        var(--cv-white);
  --mod-fg:        var(--cv-ink);
  --mod-muted:     var(--cv-muted);
  --mod-accent:    var(--cv-brand);
  --mod-accent-fg: var(--cv-white);
  --mod-surface:   var(--cv-white);
  --mod-line:      var(--cv-line);
  --mod-radius:    12px;
  --mod-maxw:      1360px;
  --mod-space:     24px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }

body.site {
  font-family: var(--cv-font);
  background: var(--cv-white);
  color: var(--cv-ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
.site-main { flex: 1; }

a { color: var(--cv-link); text-decoration: none; }
a:hover { color: var(--cv-ink); }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; }
::selection { background: rgba(7, 142, 176, 0.25); }

a, button {
  transition: background-color .22s ease, color .22s ease,
              border-color .22s ease, box-shadow .25s ease,
              transform .25s ease, opacity .2s ease;
}
a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cv-link);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reveal on scroll (model .rv → .in). The hidden state is gated on the
 * .cv-js class site.js sets as its FIRST statement: no JS (blocked script,
 * early failure) → content simply renders visible (review R3). */
.cv-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, .61, .36, 1);
}
.cv-js [data-reveal].in { opacity: 1; transform: none; }
/* Hover lift (model .lift) */
.cv-lift { transition: transform .25s ease, box-shadow .25s ease; }
.cv-lift:hover { transform: translateY(-4px); box-shadow: var(--cv-lift); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cv-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cv-lift, .cv-lift:hover { transition: none; transform: none; box-shadow: none; }
  .cv-hero-zoom, .cv-sello-spin { animation: none !important; }
}

/* Layout primitives */
.cv-inner { max-width: var(--cv-maxw); margin: 0 auto; padding-inline: var(--cv-pad); }

/* Skip link (model: hidden above, drops in on focus) */
.cv-skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 300;
  background: var(--cv-ink);
  color: var(--cv-white);
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 600;
}
.cv-skip:focus { top: 0; color: var(--cv-white); }

/* ══ CHROME · top bar (petróleo) ═══════════════════════════════════ */
.cv-topbar { background: var(--cv-petrol); }
.cv-topbar-inner {
  max-width: var(--cv-maxw);
  margin: 0 auto;
  padding: 5px var(--cv-pad);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.cv-topbar a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 10px;
  border-radius: 8px;
}
.cv-topbar a:hover { color: var(--cv-white); background: rgba(255, 255, 255, 0.12); }
.cv-topbar a:focus-visible { outline-color: var(--cv-amarillo); }

/* Language dropdown (dormant until >1 active language; fleet pattern) */
.cv-lang { position: relative; }
.cv-lang summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cv-white);
}
.cv-lang summary::-webkit-details-marker { display: none; }
.cv-lang-panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  box-shadow: var(--cv-shadow);
  padding: 8px;
  display: grid;                      /* twelve endonyms in two columns (one column read as a 430px list) */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  min-width: 290px;
  z-index: 250;
}
.cv-lang-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cv-ink);
}
.cv-lang-panel a:hover, .cv-lang-panel a.on { background: var(--cv-tint); color: var(--cv-link); }

/* ══ CHROME · main header ══════════════════════════════════════════ */
.site-header {
  background: var(--cv-white);
  border-bottom: 1px solid var(--cv-line);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 53, 66, 0.10); }
.cv-header-inner {
  max-width: var(--cv-maxw);
  margin: 0 auto;
  padding: 0 var(--cv-pad);
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.cv-brand { display: block; flex-shrink: 0; }
.cv-brand img { width: 142px; height: auto; display: block; }

/* Desktop nav (click dropdowns, driven by site.js aria-expanded) */
.cv-nav { display: flex; gap: 4px; align-items: center; margin: 0 auto; }
.cv-nav > a, .cv-nav-item > button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cv-ink);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-family: var(--cv-font);
  border-radius: 8px;
}
.cv-nav > a:hover, .cv-nav-item > button:hover,
.cv-nav > a[aria-current="page"] { color: var(--cv-link); background: var(--cv-tint-soft); }
.cv-nav-item { position: relative; display: block; }
.cv-nav-item > button .chev { transition: transform .2s ease; }
.cv-nav-item > button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.cv-nav-drop {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  box-shadow: var(--cv-shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  z-index: 250;
}
.cv-nav-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cv-ink);
}
.cv-nav-drop a:hover, .cv-nav-drop a[aria-current="page"] { background: var(--cv-tint); color: var(--cv-link); }
/* Localidades: 2-col grid + "Ver mapa" row (model) */
.cv-nav-drop--cols { min-width: 340px; display: grid; grid-template-columns: 1fr 1fr; }
.cv-nav-drop--cols .cv-drop-all { grid-column: 1 / -1; border-top: 1px solid var(--cv-line); margin-top: 6px; padding-top: 12px; color: var(--cv-link); }

/* Header CTAs (model: outline "Colabora" + solid #056F8C "Hazte socio/a") */
.cv-header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cv-btn-ghost {
  border: 1.5px solid var(--cv-link);
  color: var(--cv-link);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cv-white);
  display: inline-block;
  white-space: nowrap;
}
.cv-btn-ghost:hover { background: rgba(153, 225, 233, 0.22); color: var(--cv-link); }
.cv-btn-solid {
  background: var(--cv-link);
  color: var(--cv-white);
  font-size: 14px;
  font-weight: 600;
  padding: 11.5px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}
.cv-btn-solid:hover { background: var(--cv-ink); color: var(--cv-white); }

/* Burger (mobile) */
.cv-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-inline-start: auto;
  color: var(--cv-ink);
  border-radius: 8px;
}

/* Mobile menu (model: full-screen sheet, accordions per group) */
.cv-mobile {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--cv-white);
  overflow-y: auto;
  padding: 0 0 40px;
}
.cv-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--cv-pad);
  border-bottom: 1px solid var(--cv-line);
}
.cv-mobile-head img { width: 128px; height: auto; display: block; }
.cv-mobile-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--cv-ink);
  border-radius: 8px;
}
.cv-mobile-nav { display: flex; flex-direction: column; padding: 10px var(--cv-pad); }
.cv-mobile-nav > a, .cv-mobile-group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: start;
  font-size: 17px;
  font-weight: 600;
  color: var(--cv-ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cv-line);
  cursor: pointer;
  padding: 16px 2px;
  font-family: var(--cv-font);
}
.cv-mobile-group > button .chev { transition: transform .2s ease; }
.cv-mobile-group > button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.cv-mobile-sub { display: flex; flex-direction: column; padding: 4px 0 10px; border-bottom: 1px solid var(--cv-line); }
.cv-mobile-sub a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cv-muted);
  padding: 11px 14px;
  border-radius: 8px;
}
.cv-mobile-sub a:hover { background: var(--cv-tint); color: var(--cv-link); }
.cv-mobile-extra { display: flex; flex-direction: column; gap: 12px; padding: 20px var(--cv-pad) 0; }
.cv-mobile-extra .cv-btn-ghost, .cv-mobile-extra .cv-btn-solid { text-align: center; }
.cv-mobile-links { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 16px var(--cv-pad) 0; }
.cv-mobile-links a { font-size: 14px; font-weight: 600; color: var(--cv-muted); padding: 6px 0; }

@media (max-width: 1100px) {
  .cv-nav, .cv-header-cta { display: none; }
  .cv-burger { display: block; }
  .cv-topbar-inner { justify-content: space-between; }
}
/* The narrowest phones: the two pills and the language switcher must fit the longest catalog words
   («Rechercher» + «Membres» overflowed 8 px at 320) — slack in the chrome, never a shorter word in a
   catalog that renames the search page too (review 2026-11-03). */
@media (max-width: 360px) {
  .cv-topbar-inner { gap: 2px; }
  .cv-topbar a { padding: 6px 8px; }
}

/* ══ CHROME · footer (petróleo) ════════════════════════════════════ */
.cv-footer { background: var(--cv-petrol); color: var(--cv-white); }
.cv-footer a:focus-visible { outline-color: var(--cv-amarillo); }
.cv-footer-grid {
  max-width: var(--cv-maxw);
  margin: 0 auto;
  padding: 52px var(--cv-pad) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
}
.cv-footer-col { display: flex; flex-direction: column; gap: 14px; }
.cv-footer-col > img { width: 190px; height: auto; }
.cv-footer-col p { margin: 0; font-size: 13.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.8); }
.cv-footer-col p a { color: var(--cv-celeste); }
.cv-footer-col p a:hover { color: var(--cv-white); }
.cv-footer-col h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--cv-font);
}
.cv-footer-links { display: flex; flex-direction: column; gap: 9px; }
.cv-footer-links--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.cv-footer-links a, .cv-footer-links--cols a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.cv-footer-links a:hover, .cv-footer-links--cols a:hover { color: var(--cv-white); text-decoration: underline; }
.cv-footer-reg { font-size: 12.5px !important; color: rgba(255, 255, 255, 0.6) !important; }
.cv-footer-social { display: flex; gap: 10px; }
.cv-footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cv-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-footer-social a:hover { background: var(--cv-celeste); color: var(--cv-ink); }
.cv-footer-bottom {
  max-width: var(--cv-maxw);
  margin: 36px auto 0;
  padding: 18px var(--cv-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cv-footer-bottom span { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.cv-footer-bottom img { width: 40px; height: auto; opacity: 0.9; }

/* ══ SHARED · heros ════════════════════════════════════════════════ */
/* Home hero: ink bg + photo (slow zoom) + 52% ink veil, centered copy */
.cv-hero {
  background: var(--cv-ink);
  position: relative;
  overflow: hidden;
}
.cv-hero-zoom {
  position: absolute;
  inset: 0;
  animation: cv-hero-zoom 22s ease-in-out infinite alternate;
  transform-origin: center;
  background-position: center;
  background-size: cover;
}
.cv-hero-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes cv-hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.cv-hero-veil { position: absolute; inset: 0; background: rgba(15, 53, 66, 0.52); pointer-events: none; }
.cv-hero-inner {
  max-width: var(--cv-maxw);
  margin: 0 auto;
  padding: 140px var(--cv-pad) 154px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
  position: relative;
}
.cv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--cv-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 8px 16px;
  border-radius: 999px;
}
.cv-hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cv-amarillo);
  display: inline-block;
}
.cv-hero-inner h1 {
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.08;
  margin: 0;
  max-width: 26ch;
  color: var(--cv-white);
}
.cv-hero-inner h1 em { color: var(--cv-celeste); font-style: normal; }
.cv-hero-lead {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  max-width: 50ch;
}
.cv-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 6px; }
/* Hero buttons (on dark) */
.cv-btn-hero-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--cv-white);
  font-size: 15.5px;
  font-weight: 600;
  padding: 13.5px 24px;
  border-radius: 999px;
  display: inline-block;
}
.cv-btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.16); color: var(--cv-white); }
.cv-btn-hero-ghost:focus-visible { outline-color: var(--cv-amarillo); outline-offset: 3px; }
.cv-btn-sun {
  background: var(--cv-amarillo);
  color: var(--cv-ink);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 999px;
  display: inline-block;
}
.cv-btn-sun:hover { background: var(--cv-white); color: var(--cv-ink); }
.cv-btn-sun:focus-visible { outline-color: var(--cv-white); outline-offset: 3px; }

/* Inner-page hero: turquesa + rotating seal watermark + breadcrumbs */
.cv-phero { background: var(--cv-brand); position: relative; overflow: hidden; }
.cv-sello-spin {
  position: absolute;
  inset-inline-end: -120px;
  top: 50%;
  transform: translateY(-46%);
  width: 520px;
  height: auto;
  opacity: 0.13;
  pointer-events: none;
  animation: cv-sello-spin 140s linear infinite;
}
@keyframes cv-sello-spin {
  from { transform: translateY(-46%) rotate(0deg); }
  to   { transform: translateY(-46%) rotate(-360deg); }
}
.cv-phero-inner {
  max-width: var(--cv-maxw);
  margin: 0 auto;
  padding: 76px var(--cv-pad) 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}
.cv-crumbs { font-size: 13.5px; font-weight: 600; }
.cv-crumbs a { color: rgba(255, 255, 255, 0.85); display: inline-block; padding: 10px 0; margin: -10px 0; }
.cv-crumbs a:hover { color: var(--cv-white); text-decoration: underline; }
.cv-crumbs i { color: rgba(255, 255, 255, 0.6); padding: 0 8px; font-style: normal; }
.cv-crumbs b { color: var(--cv-white); font-weight: 600; }
.cv-phero-inner h1 {
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: var(--cv-white);
  margin: 0;
}
.cv-phero-lead {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  max-width: 56ch;
}

/* ══ SHARED · sections ═════════════════════════════════════════════ */
.cv-sect { padding: 52px 0 56px; }
.cv-sect--tint { background: var(--cv-tint-soft); }
.cv-sect--band { background: var(--cv-tint); }
.cv-sect-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cv-sect-head h2, .cv-h2 {
  font-family: var(--cv-display);
  font-weight: 600;
  font-size: 27px;
  margin: 0;
}
.cv-sect-head a { font-size: 15px; font-weight: 600; }
.cv-sect-head a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ══ SHARED · cards, chips, tracks ═════════════════════════════════ */
.cv-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  display: inline-block;
}
.cv-chip--aviso      { background: var(--cv-chip-aviso-bg); color: var(--cv-chip-aviso-fg); }
.cv-chip--noticia    { background: var(--cv-chip-not-bg);   color: var(--cv-chip-not-fg); }
.cv-chip--comunicado { background: var(--cv-chip-com-bg);   color: var(--cv-chip-com-fg); }
/* Agenda aliases (model estilos map: asamblea→tint, actividad→amber, taller→coral) */
.cv-chip--asamblea   { background: var(--cv-chip-not-bg);   color: var(--cv-chip-not-fg); }
.cv-chip--actividad  { background: var(--cv-chip-com-bg);   color: var(--cv-chip-com-fg); }
.cv-chip--taller     { background: var(--cv-chip-aviso-bg); color: var(--cv-chip-aviso-fg); }
.cv-chip--junta      { background: #E9F3E6;                color: #2F6B2C; }   /* the board's meeting (1003) — a FOURTH tint, green: tint/link was the noticia pair (colab review #17) */
.cv-loc-chip {
  border: 1px solid var(--cv-celeste);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  color: var(--cv-ink);
}

/* Card (base: bordered, 12px radius; hover brand border + soft bg) */
.cv-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 18px;
  color: var(--cv-ink);
  background: var(--cv-white);
}
.cv-card { position: relative; }
.cv-card:hover { border-color: var(--cv-brand); background: var(--cv-tint-soft); color: var(--cv-ink); }
/* the title is the card's link, stretched over the box (::after); the chip row sits above it, so the «+N»
   toggle is a real control outside the link (the day's review, 2026-11-03) */
.cv-card-link { color: inherit; text-decoration: none; }
.cv-card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.cv-card .cv-card-tags { position: relative; z-index: 1; }
.cv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cv-card-date { font-size: 12.5px; color: var(--cv-muted); font-weight: 500; }
.cv-card strong { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.cv-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
/* Locality chips in a track card (Dani 2026-11-03: a notice with seven localidades made every card
   grow): closed = ONE row — two chips + the «+N» chip, long names ellipsized; open = the row wraps.
   The avisos module renders the two chips, the toggle and the rest [hidden]; site.js flips them. */
.cv-card-tags[data-cv-chips] { flex-wrap: nowrap; overflow: hidden; }
.cv-card-tags[data-cv-chips] > .cv-loc-chip { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-card-tags[data-cv-chips] > .cv-loc-more { flex: 0 0 auto; cursor: pointer; color: var(--cv-link); border-color: var(--cv-link); }
.cv-card-tags[data-cv-chips] > .cv-loc-more:hover, .cv-card-tags[data-cv-chips] > .cv-loc-more:focus-visible { background: var(--cv-tint-soft); }
.cv-card-tags[data-cv-chips].is-open { flex-wrap: wrap; }
.cv-card-tags[data-cv-chips].is-open > .cv-loc-chip { white-space: normal; }

/* Drag carousel track (scroll-snap + JS drag; dots below) */
.cv-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}
.cv-track::-webkit-scrollbar { display: none; }
/* mouse drag (site.js): the hand says «drag me», no text selection or link ghost while dragging */
.cv-track { cursor: grab; }
.cv-track.is-dragging { cursor: grabbing; user-select: none; }
.cv-track.is-dragging > * { pointer-events: none; }
.cv-track > * { flex: 0 0 300px; min-width: 0; scroll-snap-align: start; }   /* min-width:0: a long chip row never widens the card (the ellipsis works) */
/* equal cards by measurement (site.js sets --cv-card-h): the opened chip row grows its own card only */
.cv-track[style*="--cv-card-h"] { align-items: flex-start; }
.cv-track[style*="--cv-card-h"] > .cv-card { height: var(--cv-card-h); }
.cv-track[style*="--cv-card-h"] > .cv-card:has([data-cv-chips].is-open) { height: auto; }
/* 24 px tap targets (axe target-size, surfaced once the dots left aria-hidden 2026-11-04): the 8 px dot
   is drawn inside a 24 px button; gap 0 keeps the dot pitch at 24 px, padding 10 keeps the dot centre
   where the 18 px padding + 8 px dot had it. */
.cv-dots { display: flex; gap: 0; justify-content: center; padding-top: 10px; }
.cv-dots button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
.cv-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cv-line); }
.cv-dots button.on::before { background: var(--cv-brand); }

/* Date block (agenda/avisos lists: day over month) */
.cv-date {
  flex-shrink: 0;
  width: 52px;
  border-radius: 10px;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  line-height: 1.1;
}
.cv-date b { font-size: 20px; font-weight: 700; font-family: var(--cv-display); }
.cv-date span { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.cv-date--sun { background: #FFF4E0; color: #7A4E00; }

/* Funding progress (iniciativas) */
.cv-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--cv-line);
  overflow: hidden;
}
.cv-progress i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--cv-amarillo);
}
.cv-progress--done i { background: var(--cv-brand); }
.cv-progress-meta { font-size: 13px; color: var(--cv-muted); }
.cv-progress-meta b { color: var(--cv-ink); }

/* Photo placeholder (design placeholders ship AS placeholders — fleet rule) */
.cv-ph {
  background: #F0F3F5;
  border: 1px dashed #C6D2D8;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8CA0AA;
  font-size: 13px;
  font-weight: 500;
  min-height: 180px;
  text-align: center;
  padding: 16px;
}

/* Stats row (model: number + label with left rule) */
.cv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
/* After the association block (quienes-somos): the model renders the stats as
   the block's full-width child — a hairline 40px under the photo, 26px above
   the numbers. Scoped to that adjacency; the other stats rows sit under a title. */
.cv-asoc + .cv-stats { margin-top: 40px; border-top: 1px solid #E4EDF0; padding-top: 26px; }
.cv-stat { border-inline-start: 3px solid var(--cv-celeste); padding-inline-start: 14px; }
.cv-stat b {
  display: block;
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
}
.cv-stat span { font-size: 13.5px; color: var(--cv-muted); }

/* Newsletter band (pre-footer: title + inline email form) */
.cv-nlband { background: linear-gradient(135deg, var(--cv-tint) 0%, #CDEDF3 100%); }
.cv-nlband--dark { background: var(--cv-petrol); }
.cv-nlband-inner {
  max-width: var(--cv-maxw);
  margin: 0 auto;
  padding: 44px var(--cv-pad);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 480px);
  gap: 20px 40px;
  align-items: center;
}
.cv-nlband-inner h2 { font-family: var(--cv-display); font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.cv-nlband-inner p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--cv-muted); }
@media (max-width: 760px) {
  .cv-nlband-inner { grid-template-columns: 1fr; }
  .cv-hero-inner { padding: 96px var(--cv-pad) 110px; }
  .cv-phero-inner { padding: 60px var(--cv-pad) 70px; }
  .cv-sect { padding: 40px 0 44px; }
}

/* ══ Buttons (light surfaces — model action color #056F8C) ═════════ */
.cv-btn {
  background: var(--cv-link);
  color: var(--cv-white);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--cv-font);
  display: inline-block;
}
.cv-btn:hover { background: var(--cv-ink); color: var(--cv-white); }
.cv-btn--sun { background: var(--cv-amarillo); color: var(--cv-ink); }
.cv-btn--sun:hover { background: var(--cv-ink); color: var(--cv-white); }
.cv-btn--line {
  background: transparent;
  border: 1.5px solid var(--cv-brand);
  color: var(--cv-link);
}
.cv-btn--line:hover { background: var(--cv-tint); color: var(--cv-link); }
.cv-arrow { font-size: 15px; font-weight: 600; }
.cv-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ══ Forms (site-wide pattern: wide fields, clear labels) ══════════ */
.cv-field { display: flex; flex-direction: column; gap: 7px; }
.cv-field label { font-size: 13.5px; font-weight: 700; }
.cv-field label small { font-weight: 500; color: var(--cv-muted); }
.cv-input, .cv-field input[type="text"], .cv-field input[type="email"],
.cv-field input[type="tel"], .cv-field input[type="date"],
.cv-field select, .cv-field textarea {
  border: 1px solid #C6D2D8;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--cv-font);
  color: var(--cv-ink);
  background: var(--cv-white);
  width: 100%;
}
.cv-field textarea { min-height: 140px; resize: vertical; }
.cv-field input:focus-visible, .cv-field select:focus-visible, .cv-field textarea:focus-visible {
  outline: 3px solid var(--cv-link);
  outline-offset: 0;
  border-color: var(--cv-link);
}
.cv-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.55; }
.cv-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cv-brand); }
.cv-form-note { font-size: 13px; color: var(--cv-muted); }

/* ══ PUBLIC FORMS (live module override — contacto + participación) ═ */
.m-form { display: flex; flex-direction: column; gap: 16px; }
.m-form__sec {
  font-family: var(--cv-display);
  font-weight: 600;
  font-size: 21px;
  margin: 10px 0 0;
}
.m-form__sec:first-child { margin-top: 0; }
/* a legend over an inline radio row (socio periodicidad): the field-label look, pulled onto its row */
.m-form__legend { font-size: 13.5px; font-weight: 700; color: #33535F; margin-bottom: -8px; }
.m-form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .m-form__row2 { grid-template-columns: 1fr; } }
.m-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #33535F;
  min-width: 0;
}
.m-form__field input, .m-form__field select, .m-form__field textarea {
  border: 1.5px solid #B9CDD4;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15.5px;
  font-weight: 400;
  font-family: var(--cv-font);
  color: var(--cv-ink);
  background: var(--cv-white);
  width: 100%;
}
.m-form__field textarea { resize: vertical; min-height: 130px; }
.m-form__field select { cursor: pointer; font-weight: 600; }
/* the incident photos (core v0.162 file field): the model's «Foto (opcional, ayuda mucho)» + the limits hint */
.m-form__field input[type=file] { cursor: pointer; font-weight: 500; }
.m-form__opt { font-weight: 500; color: var(--cv-muted); }
.m-form__hint { font-size: 13px; font-weight: 500; color: var(--cv-muted); }
.m-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #33535F;
  cursor: pointer;
}
.m-form__check input { accent-color: var(--cv-link); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.m-form__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.m-form__pill {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1.5px solid var(--cv-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex: 1 1 46%;
  min-width: 200px;
}
.m-form__pill:hover { border-color: var(--cv-brand); }
.m-form__pill:has(input:checked) { border-color: var(--cv-link); background: var(--cv-tint-soft); }
.m-form__pill input { accent-color: var(--cv-link); width: 18px; height: 18px; flex-shrink: 0; }
/* Radio groups the model draws as cards / amount chips / inline radios
 * (select fields rendered by the override — socio, donación, voluntario) */
.m-form__radiocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.m-form__radiocard {
  border: 1.5px solid var(--cv-line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: relative;
}
.m-form__radiocard:hover { border-color: var(--cv-brand); }
.m-form__radiocard:has(input:checked) { border-color: var(--cv-link); background: var(--cv-tint-soft); }
.m-form__radiocard input { position: absolute; inset-inline-start: 14px; top: 18px; accent-color: var(--cv-link); width: 16px; height: 16px; }
.m-form__radiocard .t { font-size: 15px; font-weight: 700; padding-inline-start: 26px; }
.m-form__radiocard .s { font-size: 12.5px; color: var(--cv-muted); line-height: 1.5; font-weight: 500; }
.m-form__radiocard .p { font-size: 14.5px; font-weight: 700; color: var(--cv-link); margin-top: 2px; }
.m-form__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.m-form__chips label {
  border: 1.5px solid #B9CDD4;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  flex: 1 1 90px;
  text-align: center;
}
.m-form__chips label:hover { border-color: var(--cv-brand); }
.m-form__chips label:has(input:checked) { border-color: var(--cv-link); background: var(--cv-tint); color: var(--cv-link); }
.m-form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.m-form__radios { display: flex; gap: 18px; flex-wrap: wrap; }
.m-form__radios label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.m-form__radios input { accent-color: var(--cv-link); width: 17px; height: 17px; }

.m-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.m-form__submit {
  background: var(--cv-link);
  color: var(--cv-white);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--cv-font);
  border: none;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
}
.m-form__submit:hover { background: var(--cv-ink); }
.m-form__note { font-size: 12.5px; color: var(--cv-muted); }
.m-form__fallback { font-size: 15px; }
/* Donation form (Colabora, Dani 2026-11-03): air between the blocks (legend + row = one
 * block), the «Otra cantidad» figure revealed under the chips — CSS :has does the showing,
 * site.js the requirement and the focus; browsers without :has see the field always. */
.m-form--donacion { gap: 22px; }
.m-form--donacion .m-form__legend { margin-bottom: -12px; }
.m-form--donacion .m-form__help { margin-top: -12px; }
.m-form__field--amount { display: none; max-width: 240px; margin-top: -8px; }
.m-form__chips:has(input[value="Otra cantidad"]:checked) + .m-form__field--amount { display: flex; }
@supports not selector(:has(a)) { .m-form__field--amount { display: flex; } }
/* the donor's ID (+ its note) only from the identification threshold up — site.js sets .is-ident */
.m-form--donacion:not(.is-ident) .m-form__field--ident,
.m-form--donacion:not(.is-ident) .m-form__field--ident + .m-form__help { display: none; }
.m-form__field--ident { max-width: 240px; }
/* the LIVE circuit (the donations engine on): one hint per payment method, shown with its radio */
.m-form__help--card, .m-form__help--transfer { display: none; }
.m-form__radios[data-field="forma_pago"]:has(input[value="Tarjeta"]:checked) ~ .m-form__help--card,
.m-form__radios[data-field="forma_pago"]:has(input[value="Transferencia"]:checked) ~ .m-form__help--transfer { display: block; }
/* /donar/<token> + /transfer: the donation's own pages (views/site/donar*.php) */
.cv-phero--short .cv-phero-inner { padding-top: 36px; padding-bottom: 36px; }
.cv-donar { max-width: 680px; }
.cv-donar .cv-formcard { flex: none; }
.cv-donar-title { font-family: var(--cv-display); font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.cv-donar-sum { margin: 0 0 18px; font-size: 15.5px; color: #33535F; }
.cv-donar-lead { margin: 0 0 18px; font-size: 15px; color: #33535F; line-height: 1.7; }
.cv-donar-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 14px; }
.cv-donar-actions form { margin: 0; }
.cv-donar-btn { display: inline-block; text-decoration: none; }
.cv-donar-btn--alt { background: var(--cv-white); color: var(--cv-link); border: 1.5px solid var(--cv-link); }
.cv-donar-btn--alt:hover { background: var(--cv-tint); color: var(--cv-link); }
.cv-transfer { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; padding: 18px 20px; border: 1.5px solid var(--cv-line); border-radius: 12px; background: var(--cv-tint-soft); }
.cv-transfer > div { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.cv-transfer dt { flex: 0 0 170px; font-size: 13.5px; font-weight: 700; color: #33535F; }
.cv-transfer dd { margin: 0; font-size: 16px; font-weight: 600; }
.cv-transfer-amount { font-size: 22px; font-weight: 700; color: var(--cv-link); }
.cv-transfer-iban, .cv-transfer-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; }
.m-alert {
  background: var(--cv-chip-aviso-bg);
  color: var(--cv-chip-aviso-fg);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}
/* Sent state (model confirmation: color seal + copy + back link) */
.m-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px 8px;
}
.m-sent img { width: 64px; height: auto; }
.m-sent h2 { font-family: var(--cv-display); font-weight: 600; font-size: 24px; margin: 0; }
.m-sent p { margin: 0; font-size: 15px; color: #33535F; line-height: 1.7; max-width: 52ch; }
.m-sent a { font-size: 14.5px; font-weight: 600; }

/* Contacto layout: tinted section, office card (map + details) + form card */
.cv-contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cv-contact-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cv-office-card {
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cv-office-card .cv-map-embed iframe { height: 250px; border: none; border-radius: 0; }
.cv-office-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.cv-office-body h2 { font-family: var(--cv-display); font-weight: 600; font-size: 19px; margin: 0; }
.cv-office-rows { display: flex; flex-direction: column; gap: 8px; }
.cv-office-rows a, .cv-office-rows > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #33535F;
}
.cv-office-rows a:hover { color: var(--cv-link); }
.cv-office-hours { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #E4EDF0; padding-top: 12px; }
.cv-office-hours strong:first-child {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cv-muted);
}
.cv-office-hours div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #33535F;
  border-bottom: 1px solid #E4EDF0;
  padding-bottom: 6px;
}
.cv-office-hours div:last-child { border-bottom: none; padding-bottom: 0; }
.cv-office-hours div b { color: var(--cv-ink); font-weight: 700; }
.cv-office-body > p { margin: 0; font-size: 12.5px; color: var(--cv-muted); line-height: 1.6; }
.cv-formcard {
  flex: 1.4 1 480px;
  min-width: 0;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 16px;
  padding: 30px;
}
.cv-formcard > h2 {
  font-family: var(--cv-display);
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 16px;
}

/* Participation sidebars: numbered steps + note boxes */
.cv-steps { display: flex; flex-direction: column; gap: 12px; }
.cv-step { display: flex; gap: 12px; align-items: flex-start; }
.cv-step i {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 15px;
  font-style: normal;
}
.cv-step span { font-size: 14px; color: #33535F; line-height: 1.6; padding-top: 4px; }
.cv-side-card.cv-side-card--amber {
  background: var(--cv-chip-com-bg);
  border-color: #F3D9A4;
}
.cv-side-card.cv-side-card--amber > p { color: #33535F; }
.cv-side-card.cv-side-card--amber strong { font-family: var(--cv-display); font-weight: 600; font-size: 17px; }

/* Voluntario: photo band + stat chips */
.cv-photo-band { padding: 0; }
.cv-photo-band .cv-ph { min-height: 460px; border-radius: 0 0 16px 16px; border-top: none; }
/* the real photo (hazte-voluntario, 2026-11-03): the model's figure — a 21/8 card lifted
   44px over the hero's edge, all four corners rounded, the hero's shadow (the old
   placeholder hung flush from the hero; Dani: «separa la imagen de la parte de arriba») */
.cv-photo-band .cv-inner > img { display: block; width: 100%; aspect-ratio: 21 / 8; min-height: 210px; object-fit: cover;
  position: relative; margin-top: -44px; border-radius: 16px; box-shadow: 0 18px 44px rgba(15, 53, 66, 0.2); }
.cv-statchips { display: flex; gap: 10px; flex-wrap: wrap; }
.cv-statchip {
  border: 1px solid var(--cv-celeste);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cv-link);
  background: var(--cv-white);
}
.cv-intro-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.cv-intro-head h2 { font-family: var(--cv-display); font-weight: 600; font-size: 26px; margin: 0; }
.cv-intro-head p { margin: 0; font-size: 15.5px; color: var(--cv-muted); line-height: 1.65; max-width: 64ch; }

/* ══ ASSOCIATION BLOCK (Boletín · Quiénes somos · Transparencia ·
   Gestiones · Zona de prensa · Colaboradores) ══════════════════════ */

/* Boletín: tinted signup card + monthly checklist + past issues */
.cv-bol { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cv-bol-card {
  flex: 1 1 380px;
  background-color: var(--cv-tint);
  background-image: radial-gradient(circle 300px at 90% -10%, rgba(153, 225, 233, 0.6) 0%, transparent 100%);
  border: 1px solid var(--cv-celeste);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cv-bol-card .cv-h2 { margin: 0; }
.cv-bol-card .m-form__field input, .cv-bol-card .m-form__field select { background: var(--cv-white); }
.cv-bol-aside { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.cv-bol-aside h2 { font-family: var(--cv-display); font-weight: 600; font-size: 21px; margin: 0 0 4px; }
.cv-checks { display: flex; flex-direction: column; gap: 14px; }
.cv-checkrow { display: flex; gap: 12px; align-items: flex-start; }
.cv-checkrow i {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.cv-checkrow div b { display: block; font-size: 15px; font-weight: 700; }
.cv-checkrow div span { font-size: 13.5px; color: var(--cv-muted); line-height: 1.6; }
.cv-issues { display: flex; flex-direction: column; gap: 12px; }
.cv-issue {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 16px 20px;
}
.cv-issue > i {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cv-display);
  font-weight: 700;
  font-style: normal;
}
.cv-issue-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cv-issue-tx strong { font-size: 15.5px; font-weight: 600; }
.cv-issue-tx span { font-size: 13px; color: var(--cv-muted); }
.cv-issue > span { font-size: 14px; font-weight: 600; color: var(--cv-muted); }

/* Quiénes somos: reversed asoc split + dark explore card + junta + manifesto */
.cv-asoc--rev .cv-asoc-media { order: 2; }
.cv-asoc--rev .cv-asoc-copy { order: 1; }
.cv-tcard--dark { background: var(--cv-petrol); border-color: var(--cv-petrol); color: var(--cv-white); }
.cv-tcard--dark:hover { border-color: var(--cv-petrol); color: var(--cv-white); }
.cv-tcard--dark .cv-tcard-ic { background: rgba(255, 255, 255, 0.14); color: var(--cv-white); }
.cv-tcard--dark span { color: rgba(255, 255, 255, 0.85); }
.cv-tcard--dark i { color: var(--cv-amarillo); font-size: 14px; font-weight: 700; font-style: normal; }
.cv-tcard > i { font-size: 14px; font-weight: 700; color: var(--cv-link); font-style: normal; margin-top: auto; }
.cv-junta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cv-junta-card {
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: var(--cv-white);
}
.cv-junta-card .cv-ph {
  width: 96px;
  height: 96px;
  min-height: 96px;
  border-radius: 50%;
  padding: 8px;
  font-size: 11px;
}
.cv-junta-card .cv-ph { display: none; }   /* the members' photos stay hidden until the real ones exist (Dani 2026-11-04) */
.cv-junta-card b { font-size: 16px; font-weight: 700; }
.cv-junta-card span { font-size: 13.5px; font-weight: 600; color: var(--cv-link); margin-top: -8px; }
.cv-junta-note { margin: 16px 0 0; font-size: 13.5px; color: var(--cv-muted); line-height: 1.6; }
.cv-manif { background: var(--cv-petrol); color: var(--cv-white); position: relative; overflow: hidden; }
.cv-manif .cv-sello-spin { opacity: 0.08; }
.cv-manif-inner { position: relative; }
.cv-manif h2 { font-family: var(--cv-display); font-weight: 600; font-size: 27px; margin: 0 0 4px; color: var(--cv-white); }
.cv-manif-sub { margin: 0 0 28px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.cv-manif-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cv-manif-col { border-inline-start: 2px solid rgba(255, 255, 255, 0.25); padding-inline-start: 20px; }
.cv-manif-col i {
  display: block;
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--cv-amarillo);
  font-style: normal;
}
.cv-manif-col b { display: block; font-family: var(--cv-display); font-weight: 600; font-size: 19px; margin: 6px 0 8px; }
.cv-manif-col p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.cv-meet { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.cv-meet-copy h2 { font-family: var(--cv-display); font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.cv-meet-copy p { margin: 0; font-size: 15px; color: var(--cv-muted); line-height: 1.65; max-width: 56ch; }
.cv-meet-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Transparencia: money cards + doc lists + registry rows */
.cv-updated { font-size: 13.5px; color: var(--cv-muted); }
.cv-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 22px; }
.cv-money-card {
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cv-money-card h3 { font-family: var(--cv-display); font-weight: 600; font-size: 18px; margin: 0; }
.cv-mrow { display: flex; flex-direction: column; gap: 6px; }
.cv-mrow-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cv-mrow-top b { font-weight: 700; }
.cv-mrow-top span span { color: var(--cv-muted); font-weight: 500; }
.cv-mbar { height: 7px; border-radius: 999px; background: #E4EDF0; overflow: hidden; }
.cv-mbar i { display: block; height: 100%; border-radius: 999px; background: var(--cv-brand); }
.cv-money-card--out .cv-mbar i { background: var(--cv-amarillo); }
.cv-mbar .w62 { width: 62%; } .cv-mbar .w23 { width: 23%; } .cv-mbar .w15 { width: 15%; }
.cv-mbar .w48 { width: 48%; } .cv-mbar .w30 { width: 30%; } .cv-mbar .w7 { width: 7%; }
.cv-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 40px; }
.cv-docs h2 { font-family: var(--cv-display); font-weight: 600; font-size: 21px; margin: 0 0 6px; }
.cv-docs > div > p { margin: 0 0 14px; font-size: 14px; color: var(--cv-muted); line-height: 1.6; }
.cv-doc-rows { display: flex; flex-direction: column; gap: 10px; }
.cv-doc-row {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--cv-ink);
}
a.cv-doc-row:hover { border-color: var(--cv-brand); color: var(--cv-ink); }
.cv-doc-ic {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-doc-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cv-doc-tx strong { font-size: 14.5px; font-weight: 600; }
.cv-doc-tx span { font-size: 12.5px; color: var(--cv-muted); }
.cv-pdf {
  border: 1.5px solid var(--cv-link);
  color: var(--cv-link);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}
a.cv-doc-row:hover .cv-pdf, a.cv-pdf:hover { background: var(--cv-tint); }
span.cv-pdf { border-color: #B9CDD4; color: var(--cv-muted); }
.cv-reg-rows { display: flex; flex-direction: column; gap: 10px; }
.cv-reg-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 15px 18px;
}
.cv-reg-tx { display: flex; flex-direction: column; gap: 3px; min-width: 240px; flex: 1; }
.cv-reg-tx strong { font-size: 15px; font-weight: 600; }
.cv-reg-tx span { font-size: 12.5px; color: var(--cv-muted); }
.cv-reg-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cv-pill { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.cv-pill--tramite { background: var(--cv-chip-com-bg); color: var(--cv-chip-com-fg); }
.cv-pill--respondida { background: var(--cv-chip-not-bg); color: var(--cv-chip-not-fg); }
.cv-pill--sin { background: var(--cv-chip-aviso-bg); color: var(--cv-chip-aviso-fg); }
.cv-btn--dashed {
  display: block;
  width: 100%;
  text-align: center;
  border: 1.5px dashed var(--cv-celeste);
  border-radius: 12px;
  background: transparent;
  color: var(--cv-link);
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--cv-font);
  padding: 14px;
  cursor: pointer;
  margin-top: 4px;
}
.cv-btn--dashed:hover { background: var(--cv-tint-soft); }
.cv-fine { margin: 10px 0 0; font-size: 13px; color: var(--cv-muted); }

/* Gestiones: how-it-works trio */
.cv-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cv-how .cv-step span { padding-top: 5px; }
.cv-how .cv-step b { display: block; font-size: 15px; color: var(--cv-ink); margin-bottom: 2px; }

/* Zona de prensa: brand hero, logo cards, swatches, type cards */
.cv-brand-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 16px;
  padding: 28px;
}
.cv-manual-tile {
  flex: 0 1 300px;
  aspect-ratio: 3 / 4;
  min-width: 240px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--cv-brand) 0%, var(--cv-petrol) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.cv-manual-tile img { width: 60%; height: auto; }
.cv-manual-tile b { color: var(--cv-white); font-family: var(--cv-display); font-weight: 600; font-size: 16px; }
.cv-manual-tile span { color: rgba(255, 255, 255, 0.75); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.cv-brand-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cv-brand-copy h2 { font-family: var(--cv-display); font-weight: 600; font-size: 21px; margin: 0; }
.cv-brand-copy p { margin: 0; font-size: 14.5px; color: #33535F; line-height: 1.7; max-width: 60ch; }
.cv-brand-copy small { font-size: 12.5px; color: var(--cv-muted); }
.cv-logo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cv-logo-card {
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cv-logo-prev {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid var(--cv-line);
}
.cv-logo-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cv-logo-prev--dark { background: var(--cv-brand); border-bottom: none; }
.cv-logo-body { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; }
.cv-logo-body div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cv-logo-body b { font-size: 13.5px; font-weight: 700; }
.cv-logo-body span { font-size: 12px; color: var(--cv-muted); }
.cv-vector-note { margin: 14px 0 0; font-size: 13px; color: var(--cv-muted); }
.cv-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.cv-swatch { background: var(--cv-white); border: 1px solid var(--cv-line); border-radius: 12px; overflow: hidden; }
.cv-swatch i { display: block; height: 74px; }
.cv-swatch--turquesa i { background: var(--cv-brand); }
.cv-swatch--coral i { background: var(--cv-coral); }
.cv-swatch--amarillo i { background: var(--cv-amarillo); }
.cv-swatch--celeste i { background: var(--cv-celeste); }
.cv-swatch--blanco i { background: var(--cv-white); border-bottom: 1px solid var(--cv-line); }
.cv-swatch div { padding: 10px 14px; display: flex; flex-direction: column; gap: 1px; }
.cv-swatch b { font-size: 13.5px; font-weight: 700; }
.cv-swatch span { font-size: 12px; color: var(--cv-muted); }
.cv-type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cv-type-card {
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cv-type-card b { font-size: 34px; line-height: 1.2; color: var(--cv-link); font-weight: 600; }
.cv-type-card--baloo b { font-family: var(--cv-display); }
.cv-type-card--mont b { font-family: var(--cv-font); font-weight: 500; }
.cv-type-card span { font-size: 13.5px; color: var(--cv-muted); line-height: 1.6; }
.cv-press-band { background: var(--cv-petrol); color: var(--cv-white); }
.cv-press-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}
.cv-press-inner h2 { font-family: var(--cv-display); font-weight: 600; font-size: 24px; margin: 0 0 6px; color: var(--cv-white); }
.cv-press-inner p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); line-height: 1.65; max-width: 54ch; }
.cv-press-cta { display: flex; flex-direction: column; gap: 10px; }
.cv-press-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cv-white);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
}
.cv-press-cta a:hover { background: var(--cv-celeste); color: var(--cv-ink); }
.cv-3cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }

/* Colaboradores: directory cards + join band */
.cv-colab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 4px; }
.cv-colab-card {
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cv-colab-logo {
  border: 1.5px dashed #C6D2D8;
  border-radius: 10px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 38px;   /* air above and at the sides: the real logos are tight crops, the demo's had it baked in (Dani 2026-11-03, «más pequeños» twice) */
}
.cv-colab-logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }   /* small: at most 40 px tall inside the 92 px box */
.cv-colab-logo .cv-ph { height: 100%; min-height: 100%; padding: 4px; font-size: 11px; border-radius: 6px; }   /* a logo-less card: the placeholder fits the box (colab review #9) */
.cv-colab-card > b { font-size: 15.5px; font-weight: 700; }
.cv-colab-meta { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #33535F; }
.cv-colab-meta span, .cv-colab-meta a { display: flex; align-items: center; gap: 7px; color: #33535F; }
.cv-colab-meta a:hover { color: var(--cv-link); }
.cv-colab-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.cv-colab-foot > a { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cv-colab-soc { display: flex; gap: 8px; margin-inline-start: auto; }
.cv-colab-soc span, .cv-colab-soc a {   /* the live cards link the icons (colab review #10) */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cv-tint-soft);
  border: 1px solid var(--cv-line);
  color: var(--cv-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-join-band { background: var(--cv-petrol); color: var(--cv-white); position: relative; overflow: hidden; }
.cv-join-band .cv-sello-spin { opacity: 0.08; }
.cv-join-inner { display: flex; flex-wrap: wrap; gap: 28px 60px; align-items: center; position: relative; }
.cv-join-left { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cv-join-left h2 { font-family: var(--cv-display); font-weight: 600; font-size: 26px; margin: 0; color: var(--cv-white); }
.cv-join-left p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); line-height: 1.65; max-width: 48ch; }
.cv-join-checks { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.cv-join-checks span { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.cv-join-checks i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--cv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

/* ══ COLABORA + HAZTE SOCIO ════════════════════════════════════════ */
/* Tax-relief cards (Ley 49/2002 copy from the model) */
.cv-tax-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cv-tax-card { border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cv-tax-card--irpf { background: var(--cv-tint); border: 1px solid var(--cv-celeste); }
.cv-tax-card--is { background: var(--cv-chip-com-bg); border: 1px solid #F3D9A4; }
.cv-tax-card--cert { background: var(--cv-petrol); color: var(--cv-white); }
.cv-tax-head { display: flex; align-items: center; gap: 10px; }
.cv-tax-head i {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--cv-link);
  color: var(--cv-white);
}
.cv-tax-card--is .cv-tax-head i { background: var(--cv-chip-com-fg); }
.cv-tax-card--cert .cv-tax-head i { background: var(--cv-amarillo); color: var(--cv-ink); }
.cv-tax-head b { font-size: 15.5px; font-weight: 700; }
.cv-tax-row { display: flex; gap: 14px; align-items: baseline; }
.cv-tax-row b { font-family: var(--cv-display); font-weight: 700; font-size: 26px; line-height: 1.1; min-width: 74px; }
.cv-tax-row span { font-size: 13.5px; line-height: 1.55; color: #33535F; }
.cv-tax-card--cert .cv-tax-row span, .cv-tax-card--cert > p { color: rgba(255, 255, 255, 0.88); }
.cv-tax-card--cert > p { margin: 0; font-size: 13.5px; line-height: 1.65; }
.cv-tax-note { font-size: 13px; color: var(--cv-muted); }
.cv-tax-fine { margin: 14px 0 0; font-size: 12px; color: var(--cv-muted); line-height: 1.6; }

/* "+N more" dashed card at the end of a card row */
.cv-more-card {
  border: 1.5px dashed var(--cv-celeste);
  border-radius: 12px;
  background: var(--cv-tint-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  color: var(--cv-link);
}
.cv-more-card b { font-family: var(--cv-display); font-weight: 700; font-size: 26px; }
.cv-more-card span { font-size: 14px; font-weight: 600; }

/* Socio sidebar: fee rows + the dark doubts card */
.cv-fees { display: flex; flex-direction: column; gap: 0; align-self: stretch; }
.cv-fees div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #33535F;
  padding: 9px 0;
  border-bottom: 1px solid #E4EDF0;
}
.cv-fees div:last-of-type { border-bottom: none; }
.cv-fees b { color: var(--cv-ink); font-weight: 700; white-space: nowrap; }
.cv-side-card.cv-dark-card { background: var(--cv-petrol); border-color: var(--cv-petrol); color: var(--cv-white); }
.cv-side-card.cv-dark-card h2 { color: var(--cv-white); }
.cv-side-card.cv-dark-card > p { color: rgba(255, 255, 255, 0.85); }
.cv-side-card.cv-dark-card a { color: var(--cv-celeste); font-weight: 700; font-size: 14px; }
.cv-side-card.cv-dark-card a:hover { color: var(--cv-white); }

/* ══ INICIATIVAS + LOCALIDADES (final block) ═══════════════════════ */
/* Iniciativa detail: photo, budget card, timeline, donation box */
.cv-phero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.cv-phero-chips .cv-loc-chip { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); color: var(--cv-white); }
.cv-phero-chips .cv-chip { background: var(--cv-amarillo); color: var(--cv-ink); }
.cv-inidet { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.cv-inidet-main { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cv-inidet-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; }
.cv-inidet-photo img, .cv-inidet-photo .cv-ph { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.cv-inidet-main h2 { font-family: var(--cv-display); font-weight: 600; font-size: 23px; margin: 0; }
.cv-inidet-main > p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #33535F; }
.cv-budget {
  background: var(--cv-tint-soft);
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cv-budget h3 { font-family: var(--cv-display); font-weight: 600; font-size: 17px; margin: 0 0 4px; }
.cv-budget div { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; color: #33535F; }
.cv-budget div i { font-style: normal; color: var(--cv-link); margin-inline-end: 6px; }
.cv-budget div b { color: var(--cv-ink); white-space: nowrap; }
.cv-budget .total { border-top: 1px solid var(--cv-line); padding-top: 10px; font-weight: 700; color: var(--cv-ink); }
.cv-timeline { display: flex; flex-direction: column; gap: 0; }
.cv-timeline h3 { font-family: var(--cv-display); font-weight: 600; font-size: 17px; margin: 0 0 10px; }
.cv-tl-row { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.cv-tl-row::before {
  content: '';
  position: absolute;
  inset-inline-start: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--cv-line);
}
.cv-tl-row:last-child::before { display: none; }
.cv-tl-row i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cv-link);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.cv-tl-row.now i { background: var(--cv-amarillo); }
.cv-tl-row div { display: flex; flex-direction: column; gap: 1px; }
.cv-tl-row b { font-size: 14.5px; font-weight: 700; }
.cv-tl-row span { font-size: 13px; color: var(--cv-muted); }
.cv-don-box {
  flex: 1 1 320px;
  max-width: 420px;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--cv-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cv-don-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cv-don-top b { font-family: var(--cv-display); font-weight: 700; font-size: 30px; }
.cv-don-top span { font-size: 14px; color: var(--cv-muted); }
.cv-don-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.cv-don-meta span { color: var(--cv-muted); }
.cv-don-meta b { color: var(--cv-coral); font-weight: 700; }
@media (max-width: 760px) { .cv-don-box { max-width: none; } }

/* Localidad pages: cita cards, propose card, referente band */
.cv-cita-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.cv-cita-grid .cv-item { background: var(--cv-white); }
.cv-propose-card {
  border: 1.5px dashed var(--cv-celeste);
  border-radius: 12px;
  background: var(--cv-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  text-align: center;
}
.cv-propose-card img { width: 44px; height: auto; }
.cv-propose-card b { font-family: var(--cv-display); font-weight: 600; font-size: 16px; color: var(--cv-link); max-width: 26ch; }
.cv-propose-card a { font-size: 14px; font-weight: 700; }
.cv-ref-band {
  background-color: var(--cv-tint);
  background-image: radial-gradient(circle 420px at 8% 110%, rgba(153, 225, 233, 0.55) 0%, transparent 100%),
                    radial-gradient(circle 380px at 96% -10%, rgba(153, 225, 233, 0.5) 0%, transparent 100%);
}
.cv-ref-inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.cv-ref-who { display: flex; gap: 18px; align-items: center; flex: 1 1 380px; }
.cv-ref-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--cv-white);
  box-shadow: 0 8px 20px rgba(15, 53, 66, 0.15);
}
.cv-ref-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-ref-avatar .cv-ph { width: 100%; height: 100%; min-height: 100%; border-radius: 0; border: none; padding: 4px; font-size: 10px; }
.cv-ref-avatar.pending {
  border-style: dashed;
  border-color: #C6D2D8;
  background: var(--cv-tint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 24px;
  color: #8CA0AA;
}
.cv-ref-tx { display: flex; flex-direction: column; gap: 3px; }
.cv-ref-tx .kick { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cv-link); }
.cv-ref-tx b { font-family: var(--cv-display); font-weight: 600; font-size: 21px; }
.cv-ref-tx span { font-size: 14px; color: #33535F; line-height: 1.6; max-width: 46ch; }
.cv-ref-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Localidades page: dark referentes band */
.cv-refs-band { background: var(--cv-petrol); color: var(--cv-white); position: relative; overflow: hidden; }
.cv-refs-band .cv-sello-spin { opacity: 0.08; }
.cv-refs-inner { display: flex; flex-wrap: wrap; gap: 32px 60px; align-items: center; position: relative; }
.cv-refs-left { flex: 1.2 1 380px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cv-refs-left h2 { font-family: var(--cv-display); font-weight: 600; font-size: 26px; margin: 0; color: var(--cv-white); }
.cv-refs-left p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); line-height: 1.65; max-width: 52ch; }
.cv-refs-list { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.cv-refs-row { display: flex; gap: 14px; align-items: center; }
.cv-refs-row .cv-ref-avatar { width: 62px; height: 62px; border-width: 2px; box-shadow: none; border-color: rgba(255, 255, 255, 0.4); }
.cv-refs-row .cv-ref-avatar.pending {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
}
.cv-refs-row div { display: flex; flex-direction: column; gap: 1px; }
.cv-refs-row b { font-size: 15.5px; font-weight: 700; }
.cv-refs-row span { font-size: 13px; color: var(--cv-celeste); }

/* ══ Search overlay + cookie banner (core hooks, site-styled) ══════ */
.site-search-dialog { border: none; border-radius: 14px; box-shadow: var(--cv-shadow); }
.cookie-consent {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 500;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  box-shadow: var(--cv-shadow);
  padding: 18px 20px;
  max-width: 480px;
  margin-inline-start: auto;
  font-size: 14px;
  line-height: 1.6;
}

/* Draft badge (core public preview) */
.draft-badge { font-family: var(--cv-font); }

/* ══ HOME (Inicio.dc.html — section-by-section transcription) ══════ */
/* Textured section bands (model backgrounds) */
.cv-band-dots {
  background-color: #F2F7F8;
  background-image: radial-gradient(rgba(7, 142, 176, 0.10) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.cv-band-graph {
  background-color: #F2F7F8;
  background-image: linear-gradient(rgba(7, 142, 176, 0.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(7, 142, 176, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cv-band-diag {
  background-color: #F2F7F8;
  background-image: repeating-linear-gradient(45deg, rgba(153, 225, 233, 0.18) 0 2px, transparent 2px 16px);
}
.cv-band-flat { background: #F2F7F8; }
.cv-band-glow {
  background-color: var(--cv-tint);
  background-image: radial-gradient(circle 420px at 8% 110%, rgba(153, 225, 233, 0.55) 0%, transparent 100%),
                    radial-gradient(circle 380px at 96% -10%, rgba(153, 225, 233, 0.5) 0%, transparent 100%);
}

/* Section head with a subtitle under the h2 (Tu localidad) */
.cv-sect-sub { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.cv-sect-sub--below { margin-top: 36px; }
.cv-sect-sub h2 { font-family: var(--cv-display); font-weight: 600; font-size: 27px; margin: 0; }
.cv-sect-sub p { margin: 0; font-size: 15.5px; color: var(--cv-muted); max-width: 64ch; }

/* Map embeds (Google Maps — Dani 2026-08-25; live module `map`) */
.cv-map-embed iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  display: block;
  background: var(--cv-tint);
}
.cv-map-embed--card iframe { height: 300px; }
/* JS-API map (markers mode): same frame as the embeds */
.cv-gmap {
  width: 100%;
  height: 420px;
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--cv-tint);
}

/* Map pending frame (the module's authored fallback when unconfigured) */
.cv-map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  background: var(--cv-tint);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  color: #4E7C8A;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}
.cv-map-frame small { font-size: 12.5px; font-weight: 500; }

/* Localidad buttons grid */
.cv-loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(48%, 185px), 1fr));
  gap: 12px;
}
/* The grid under the map: the model's section column gaps — 18px under the
   home's map (#mapa), 22px under the hub's one-line note. Adjacency-scoped. */
.cv-map-embed + .cv-loc-grid { margin-top: 18px; }
.cv-fine + .cv-loc-grid { margin-top: 22px; }
.cv-loc-btn {
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  padding: 15px 16px;
  color: var(--cv-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
}
.cv-loc-btn i { color: var(--cv-link); font-style: normal; }
.cv-loc-btn:hover { border-color: var(--cv-brand); color: var(--cv-link); }

/* Agenda list (bordered card of rows; date block inside) */
.cv-agenda-list {
  display: flex;
  flex-direction: column;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  overflow: hidden;
}
.cv-agenda-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  color: var(--cv-ink);
  border-bottom: 1px solid var(--cv-line);
}
.cv-agenda-row:last-child { border-bottom: none; }
.cv-agenda-row:hover { background: var(--cv-tint-soft); color: var(--cv-ink); }
.cv-agenda-when {
  width: 58px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cv-agenda-when b {
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 27px;
  color: var(--cv-link);
  line-height: 1;
}
.cv-agenda-when span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cv-muted);
}
.cv-agenda-what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cv-agenda-what strong { font-size: 16.5px; font-weight: 600; }
.cv-agenda-what span { font-size: 13.5px; color: var(--cv-muted); }
.cv-agenda-row > i { margin-inline-start: auto; color: var(--cv-link); font-size: 18px; font-weight: 600; font-style: normal; }

/* Launch empty-state (dashed, seal + copy — the model's enLanzamiento) */
.cv-empty {
  border: 1.5px dashed var(--cv-celeste);
  border-radius: 14px;
  background: var(--cv-white);
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.cv-empty img { width: 48px; height: auto; }
.cv-empty strong { font-family: var(--cv-display); font-weight: 600; font-size: 18px; }
.cv-empty p { margin: 0; font-size: 14.5px; color: var(--cv-muted); line-height: 1.6; max-width: 52ch; }

/* Callout band (incidencias) */
.cv-callout {
  background: var(--cv-tint);
  border: 1px solid var(--cv-celeste);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  margin-top: 18px;
}
.cv-callout-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.cv-callout-copy h2 { font-family: var(--cv-display); font-weight: 600; font-size: 25px; margin: 0; }
.cv-callout-copy p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #33535F; max-width: 56ch; }
.cv-callout-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Iniciativa card (photo top, chips, Baloo title, progress, link) */
.cv-ini-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--cv-ink);
  background: var(--cv-white);
}
.cv-ini-card:hover { border-color: var(--cv-brand); background: var(--cv-tint-soft); color: var(--cv-ink); }
.cv-ini-media { aspect-ratio: 16 / 9; display: block; position: relative; overflow: hidden; }
.cv-ini-media .cv-ph { min-height: 100%; height: 100%; border-radius: 0; border-inline: none; border-top: none; }
.cv-ini-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-ini-body { display: flex; flex-direction: column; gap: 13px; padding: 18px; flex: 1; }
.cv-ini-body .cv-card-tags { margin-top: 0; }
.cv-ini-body > strong {
  font-family: var(--cv-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
}
.cv-ini-funding { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.cv-ini-bar { height: 10px; background: #E4EDF0; border-radius: 999px; overflow: hidden; display: block; }
.cv-ini-bar i { display: block; height: 100%; background: var(--cv-amarillo); border-radius: 999px; }
.cv-ini-bar--done i { background: var(--cv-link); }
/* Funding widths (zero-inline CSP: percent utilities, per body builder) */
.cv-ini-bar .w22 { width: 22%; }  .cv-ini-bar .w36 { width: 36%; }
.cv-ini-bar .w41 { width: 41%; }  .cv-ini-bar .w78 { width: 78%; }
.cv-ini-bar .w100 { width: 100%; }
.cv-ini-meta { font-size: 13.5px; color: var(--cv-muted); }
.cv-ini-meta b { color: var(--cv-ink); font-weight: 700; }
.cv-ini-body > i { font-size: 14.5px; font-weight: 600; color: var(--cv-link); font-style: normal; }
.cv-chip--cat { background: var(--cv-chip-com-bg); color: var(--cv-chip-com-fg); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 4px 10px; }
.cv-chip--done { background: var(--cv-tint); color: var(--cv-link); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 4px 10px; }

/* Asociación split (photo + floating seal / copy + link rows) */
.cv-asoc { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.cv-asoc-media {
  flex: 1 1 360px;
  min-width: 0;
  position: relative;
  padding: 18px 18px 0 0;
  align-self: flex-start;
}
.cv-asoc-photo { aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; position: relative; }
.cv-asoc-photo .cv-ph { height: 100%; min-height: 100%; }
/* The association photo is CROPPED to the frame (Dani: «recortada, no
 * entera») — cover crop, biased a touch low toward the people. */
.cv-asoc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}
.cv-asoc-seal {
  position: absolute;
  inset-inline-end: -8px;
  top: -10px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--cv-white);
  box-shadow: 0 8px 24px rgba(15, 53, 66, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: cv-float 5.5s ease-in-out infinite alternate;
}
.cv-asoc-seal img { width: 72px; height: auto; }
@keyframes cv-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cv-asoc-seal { animation: none; } }
.cv-asoc-copy { flex: 1.2 1 420px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cv-asoc-copy h2 { font-family: var(--cv-display); font-weight: 600; font-size: 27px; margin: 0; }
.cv-asoc-copy > p { margin: 0; font-size: 16px; line-height: 1.7; color: #33535F; max-width: 58ch; }
.cv-rows { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.cv-row {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--cv-ink);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 13px 16px;
}
.cv-row:hover { border-color: var(--cv-brand); background: var(--cv-tint-soft); color: var(--cv-ink); }
.cv-row-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-row-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cv-row-tx strong { font-size: 15.5px; font-weight: 600; }
.cv-row-tx span { font-size: 13.5px; color: var(--cv-muted); line-height: 1.5; }
.cv-row > i { margin-inline-start: auto; color: var(--cv-link); font-size: 17px; font-weight: 600; font-style: normal; }

/* Transparencia cards (icon tile + Baloo title + copy) */
.cv-tcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.cv-tcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 20px;
  color: var(--cv-ink);
}
.cv-tcard:hover { border-color: var(--cv-brand); color: var(--cv-ink); }
.cv-tcard-ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cv-tint);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-tcard strong { font-family: var(--cv-display); font-weight: 600; font-size: 18px; }
.cv-tcard span { font-size: 14px; color: var(--cv-muted); line-height: 1.6; }

/* Blog band (featured cards + compact side rows) */
.cv-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cv-blog-col { display: flex; flex-direction: column; gap: 20px; }
.cv-post-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--cv-ink);
  background: var(--cv-white);
}
.cv-post-card:hover { border-color: var(--cv-brand); background: var(--cv-tint-soft); color: var(--cv-ink); }
.cv-post-media { aspect-ratio: 16 / 9; display: block; position: relative; overflow: hidden; flex-shrink: 0; }
.cv-post-media .cv-ph { height: 100%; min-height: 100%; border-radius: 0; border: none; }
.cv-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-post-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.cv-post-body > span:first-child { font-size: 12.5px; color: var(--cv-muted); font-weight: 500; }
.cv-post-body strong { font-family: var(--cv-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.cv-post-body > span:nth-child(3) { font-size: 14.5px; color: var(--cv-muted); line-height: 1.65; }
.cv-post-body i { font-size: 14px; font-weight: 600; color: var(--cv-link); margin-top: auto; font-style: normal; }
.cv-post-rows { display: flex; flex-direction: column; }
.cv-post-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(7, 142, 176, 0.28);
  color: var(--cv-ink);
}
.cv-post-row:first-child { border-top: none; padding-top: 0; }
.cv-post-row:hover { color: var(--cv-link); }
.cv-post-row-tx { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.cv-post-row-tx .kick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cv-link);
}
.cv-post-row-tx strong { font-family: var(--cv-display); font-weight: 600; font-size: 17.5px; line-height: 1.25; }
.cv-post-row-tx .when { font-size: 12.5px; color: var(--cv-muted); font-weight: 500; }
.cv-post-thumb {
  width: 96px;
  aspect-ratio: 3 / 2;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  flex-shrink: 0;
}
.cv-post-thumb .cv-ph { height: 100%; min-height: 100%; padding: 4px; font-size: 10px; border-radius: 4px; }
.cv-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Únete split + boletín card */
.cv-join { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.cv-join-copy { flex: 1.2 1 400px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cv-join-copy h2 { font-family: var(--cv-display); font-weight: 600; font-size: 30px; margin: 0; }
.cv-join-copy p { margin: 0; font-size: 16px; line-height: 1.65; color: #33535F; max-width: 52ch; }
.cv-join-copy .cv-btn { margin-top: 4px; font-size: 16px; padding: 14px 26px; }
.cv-boletin-card {
  flex: 1 1 340px;
  background: var(--cv-white);
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cv-boletin-card h3 { font-family: var(--cv-display); font-weight: 600; font-size: 20px; margin: 0; }
.cv-boletin-card > p { margin: 0; font-size: 14px; color: var(--cv-muted); line-height: 1.6; }
/* The card hosts the live `form` module — style its generic markup here */
.cv-boletin-card .m-form { display: flex; flex-direction: column; gap: 12px; }
.cv-boletin-card .m-form__field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.cv-boletin-card .m-form__field input,
.cv-boletin-card .m-form__field select {
  border: 1.5px solid #B9CDD4;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--cv-font);
  color: var(--cv-ink);
  background: var(--cv-white);
  width: 100%;
}
.cv-boletin-card .m-form__submit {
  background: var(--cv-link);
  color: var(--cv-white);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--cv-font);
  border: none;
  padding: 13px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.cv-boletin-card .m-form__submit:hover { background: var(--cv-ink); }
.cv-boletin-note { margin: 0; font-size: 12px; color: var(--cv-muted); line-height: 1.5; }
.cv-boletin-card .m-sent { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cv-boletin-card .m-sent h2 { font-family: var(--cv-display); font-size: 20px; margin: 0; }
.cv-boletin-card .m-sent p { margin: 0; font-size: 14px; color: var(--cv-muted); }
.cv-boletin-card .m-sent__badge { color: var(--cv-link); }
.cv-boletin-card .m-sent__badge svg { width: 28px; height: 28px; }
.cv-boletin-card .m-alert {
  background: var(--cv-chip-aviso-bg);
  color: var(--cv-chip-aviso-fg);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ══ LISTING PAGES (Avisos / Agenda / Gestiones… — model layout) ═══ */
.cv-sect--listing { padding: 40px 0 56px; }
.cv-listing { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.cv-list-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cv-side { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 760px) { .cv-side { max-width: none; } }

/* Filters row: type chips + locality select */
.cv-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
/* The list under a filter bar: the model's section column gap plus the list's own
   top margin — iniciativas 20+14, colaboradores 20+4, gestiones 18. Adjacency-scoped;
   avisos/agenda already carry it (.cv-list-main gap 20 + .cv-list margin 4). */
.cv-filters + .cv-tcards { margin-top: 34px; }
.cv-filters + .cv-colab-grid { margin-top: 24px; }
.cv-filters + .cv-reg-rows { margin-top: 18px; }
.cv-fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-fchip {
  border: 1.5px solid #B9CDD4;
  background: var(--cv-white);
  color: var(--cv-ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--cv-font);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.cv-fchip:hover { border-color: var(--cv-link); color: var(--cv-link); }
.cv-fchip:active { transform: scale(0.93); }
.cv-fchip[aria-pressed="true"] { background: var(--cv-ink); border-color: var(--cv-ink); color: var(--cv-white); }
.cv-fsel { display: flex; align-items: center; gap: 8px; }
.cv-fsel label { font-size: 13.5px; font-weight: 600; color: #33535F; }
.cv-fsel select {
  border: 1.5px solid #B9CDD4;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--cv-font);
  color: var(--cv-ink);
  background: var(--cv-white);
  cursor: pointer;
}

/* List rows (avisos/agenda: date tile + chips + copy) */
.cv-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.cv-item {
  display: flex;
  gap: 18px;
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--cv-white);
  align-items: flex-start;
}
.cv-item-date {
  width: 64px;
  flex-shrink: 0;
  background: var(--cv-tint);
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.cv-item-date b {
  font-family: var(--cv-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--cv-link);
}
.cv-item-date span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #33535F;
}
.cv-item-date--amber { background: var(--cv-chip-com-bg); }
.cv-item-date--amber b, .cv-item-date--amber span { color: var(--cv-chip-com-fg); }
.cv-item-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.cv-item-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cv-item-main strong { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.cv-item-text { font-size: 14.5px; color: var(--cv-muted); line-height: 1.65; }
.cv-item-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #33535F; font-weight: 600; }
.cv-item-meta span { display: flex; align-items: center; gap: 6px; }
.cv-item-cta { font-size: 14px; font-weight: 700; display: inline-block; padding: 6px 0; }
.cv-item-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.cv-more-wrap { display: flex; justify-content: center; margin-top: 8px; }
.cv-empty--soft { background: var(--cv-tint-soft); }

/* Sidebar cards */
.cv-side-card {
  border: 1px solid var(--cv-line);
  border-radius: 14px;
  padding: 20px 22px;
  background: var(--cv-white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.cv-side-card h2 { font-family: var(--cv-display); font-weight: 600; font-size: 18px; margin: 0; }
.cv-side-card > p { margin: 0; font-size: 13.5px; color: var(--cv-muted); line-height: 1.6; }
.cv-side-card .fine { font-size: 12.5px; }
.cv-side-link { font-size: 14px; font-weight: 700; display: inline-block; padding: 6px 0; }
.cv-side-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cv-side-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #33535F; line-height: 1.55; }
.cv-side-meta span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cv-side-card.cv-side-card--tint {
  background-color: var(--cv-tint);
  background-image: radial-gradient(circle 260px at 90% -20%, rgba(153, 225, 233, 0.6) 0%, transparent 100%);
  border-color: var(--cv-celeste);
}
.cv-side-card.cv-side-card--tint > p { color: #33535F; }
/* A list row embedded in a sidebar card loses its own box (model) */
.cv-side-card .cv-item { border: none; padding: 0; align-self: stretch; }

/* Newsletter band hosting the live form (email pill + submit inline;
 * the locality select stays on the home card + Boletín page — hidden here) */
.cv-nlband .m-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.cv-nlband .m-form__field:has(select) { display: none; }
/* label text visually hidden (model: sr-only + placeholder feel) */
.cv-nlband .m-form__field:has(input[type="email"]) { flex: 1 1 220px; min-width: 0; font-size: 0; }
.cv-nlband .m-form__field input[type="email"] {
  border: 1.5px solid #B9CDD4;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14.5px;
  font-family: var(--cv-font);
  color: var(--cv-ink);
  background: var(--cv-white);
  width: 100%;
}
.cv-nlband .m-form__submit {
  background: var(--cv-link);
  color: var(--cv-white);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--cv-font);
  border: none;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
}
.cv-nlband .m-form__submit:hover { background: var(--cv-ink); }
.cv-nlband-note { margin: 6px 0 0; font-size: 12px; color: var(--cv-muted); line-height: 1.5; flex-basis: 100%; }
.cv-nlband-inner h2 { font-size: 22px; margin: 0 0 6px; }
.cv-nlband .m-sent { display: flex; gap: 12px; align-items: center; }
.cv-nlband .m-sent h2 { font-family: var(--cv-display); font-size: 19px; margin: 0; }
.cv-nlband .m-sent p { margin: 0; font-size: 13.5px; color: var(--cv-muted); }
.cv-nlband .m-sent__badge { color: var(--cv-link); }

/* Help note under a form field (model microcopy, e.g. the IBAN line) */
.m-form__help { font-size: 12.5px; color: var(--cv-muted); margin-top: -8px; }

/* The core wrapper's nested-page breadcrumbs (.site-crumbs) are redundant
 * here — every authored page carries the model's own crumbs in its hero. */
.site-crumbs { display: none; }

/* ══ BLOG (Noticias y blog + Entrada — model templates) ═══════════ */
.cv-blog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.cv-search-fake {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid #B9CDD4;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--cv-muted);
  width: 100%;
}
.cv-search-fake:hover { border-color: var(--cv-link); color: var(--cv-link); }
.cv-toplist { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.cv-toplist a { display: flex; gap: 12px; align-items: flex-start; color: var(--cv-ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.cv-toplist a:hover { color: var(--cv-link); }
.cv-toplist i { font-style: normal; font-family: var(--cv-display); font-weight: 700; font-size: 17px; color: var(--cv-celeste); }
.cv-post-kick { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.cv-post-meta { font-size: 14.5px !important; }
.cv-article { display: flex; flex-direction: column; gap: 22px; }
.cv-article-cover { margin: 0; border-radius: 16px; overflow: hidden; }
.cv-article-cover img { width: 100%; display: block; }
.cv-prose { font-size: 16px; line-height: 1.75; color: #33535F; }
.cv-prose p { margin: 0 0 1.1em; }
.cv-prose h2 { font-family: var(--cv-display); font-weight: 600; font-size: 23px; color: var(--cv-ink); margin: 1.4em 0 0.5em; }
.cv-prose h3 { font-family: var(--cv-display); font-weight: 600; font-size: 19px; color: var(--cv-ink); margin: 1.3em 0 0.4em; }
.cv-prose ul, .cv-prose ol { margin: 0 0 1.1em; padding-inline-start: 1.3em; }
.cv-prose li { margin-bottom: 0.45em; }
.cv-prose a { font-weight: 600; }
.cv-prose blockquote {
  margin: 1.4em 0;
  padding: 18px 22px;
  background: var(--cv-tint);
  border-inline-start: 3px solid var(--cv-brand);
  border-radius: 0 12px 12px 0;
  font-size: 16.5px;
  color: var(--cv-ink);
}
.cv-prose blockquote p { margin: 0 0 0.5em; }
.cv-prose blockquote p:last-child { margin: 0; }
.cv-prose img { border-radius: 12px; }
/* Wide Markdown content must scroll in ITS box, never fight body.site's
 * overflow-x: clip (review R8 — a cuotas/transparencia table on a phone
 * lost its amounts column with no scrollbar anywhere). */
.cv-prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 1.1em;
  font-size: 14.5px;
}
.cv-prose th, .cv-prose td {
  border: 1px solid var(--cv-line);
  padding: 8px 12px;
  text-align: start;
}
.cv-prose th { background: var(--cv-tint-soft); font-weight: 700; color: var(--cv-ink); }
.cv-prose pre {
  overflow-x: auto;
  background: var(--cv-tint-soft);
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
}
.cv-article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--cv-line);
  padding-top: 18px;
}
.cv-share { display: flex; align-items: center; gap: 8px; }
.cv-share > span { font-size: 13px; font-weight: 700; color: var(--cv-muted); margin-inline-end: 4px; }
.cv-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--cv-line);
  color: var(--cv-link);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-share a:hover { background: var(--cv-tint); border-color: var(--cv-brand); }
.cv-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-prevnext a {
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--cv-ink);
}
.cv-prevnext a:hover { border-color: var(--cv-brand); color: var(--cv-ink); }
.cv-prevnext a span { font-size: 12.5px; font-weight: 700; color: var(--cv-link); }
.cv-prevnext a b { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.cv-prevnext .next { text-align: end; align-items: flex-end; }
@media (max-width: 640px) { .cv-prevnext { grid-template-columns: 1fr; } }

/* Legal pages: sidebar navigation card (the design the model forgot) */
.cv-legal-nav { display: flex; flex-direction: column; gap: 2px; align-self: stretch; }
.cv-legal-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cv-ink);
}
.cv-legal-nav a:hover { background: var(--cv-tint); color: var(--cv-link); }
.cv-legal-nav a[aria-current="page"] { background: var(--cv-tint); color: var(--cv-link); }

/* ── Japanese line breaking (the ja act, 2026-11-03) — kinsoku: a line must not start with a small kana, the
   prolonged sound mark «ー» or closing punctuation; the browsers' default («auto») lets headings break before
   ー/ョ at 320–390 px (the preview's BADSTART check). «strict» forbids those starts for every :lang(ja) element. */
:lang(ja) { line-break: strict; }
