/* ================================================================
   ODL Theme · odl-main.css · Observatorio de la Democracia Local
   Paleta: #0B2545 · #4B88A2 · #BFD7EA · #F5E6CC · #FFFFFF
   Stack : Bootstrap 5 · Flexbox · FontAwesome 6 · Inter
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   01. TOKENS
──────────────────────────────────────────────────────────────── */
:root {
  /* Paleta base */
  --navy:        #0B2545;
  --navy-mid:    #122F55;
  --navy-light:  #1A3D6B;
  --steel:       #4B88A2;
  --steel-dk:    #3A6D84;
  --sky:         #BFD7EA;
  --sky-bg:      #EDF5FA;
  --cream:       #F5E6CC;
  --cream-dk:    #E8D4AF;
  --white:       #FFFFFF;

  /* Texto */
  --text:        #1E2D3D;
  --text-sm:     #5A7182;

  /* UI */
  --border:      #D6E6F0;
  --shadow:      0 2px 12px rgba(11,37,69,.08);
  --shadow-lg:   0 8px 40px rgba(11,37,69,.14);

  /* Tipografía */
  --font:        'Inter', system-ui, sans-serif;

  /* Radios */
  --r-btn:       5px;
  --r-card:      12px;
  --r-sm:        6px;

  /* Spacing */
  --sec-py:      96px;
  --ease:        .24s ease;
}

/* ────────────────────────────────────────────────────────────────
   02. RESET & BASE
──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

#odl-site {
  overflow-x: hidden;
  width: 100%;
}

/* ────────────────────────────────────────────────────────────────
   03. TIPOGRAFÍA
──────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
h4 { font-size: 18px; }
p  { color: var(--text-sm); line-height: 1.75; }

/* Label de sección */
.sec-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

/* Título de sección — span con gradiente */
.sec-title { margin-bottom: 16px; }
.sec-title span {
  background: linear-gradient(90deg, var(--navy) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sec-desc {
  font-size: 17px;
  color: var(--text-sm);
  max-width: 580px;
  line-height: 1.75;
}

/* ────────────────────────────────────────────────────────────────
   04. BOTONES
──────────────────────────────────────────────────────────────── */
.btn-odl,
.btn-default {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  line-height: 1;
}
.btn-default:hover,
.btn-odl:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
}

/* Variante outlined */
.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Variante steel */
.btn-default.btn-highlighted,
.btn-steel {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}
.btn-default.btn-highlighted:hover,
.btn-steel:hover {
  background: var(--steel-dk);
  border-color: var(--steel-dk);
  transform: translateY(-2px);
}

/* Botón sobre fondo oscuro */
.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────────────
   05. UTILIDADES
──────────────────────────────────────────────────────────────── */
.sec { padding: var(--sec-py) 0; }
.sec--cream  { background: var(--cream); }
.sec--sky    { background: var(--sky-bg); }
.sec--navy   { background: var(--navy); }
.sec--navy-mid { background: var(--navy-mid); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 32px; }

.sec-header { margin-bottom: 56px; }
.sec-header--center { text-align: center; }
.sec-header--center .sec-desc { margin: 0 auto; }

.counter { font-variant-numeric: tabular-nums; }
.image-anime img { border-radius: var(--r-card); }

/* ────────────────────────────────────────────────────────────────
   06. PRELOADER
──────────────────────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}
.loading-container { position: relative; width: 60px; height: 60px; }
.loading {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(191,215,234,.2);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
#loading-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loading-icon img { width: 32px; height: 32px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ────────────────────────────────────────────────────────────────
   07. HEADER & NAV
──────────────────────────────────────────────────────────────── */
.main-header { position: relative; z-index: 100; }

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 52px;
  width: auto;
}

.main-menu { flex: 1; }

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav list */
#menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.current-menu-item .nav-link {
  background: var(--sky-bg);
  color: var(--navy);
}

/* Dropdown */
.nav-item.submenu > ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
}
.nav-item.submenu:hover > ul { display: block; }
.nav-item.submenu > ul .nav-item .nav-link {
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--text);
}
.nav-item.submenu > ul .nav-item .nav-link:hover {
  background: var(--sky-bg);
  color: var(--navy);
}

/* CTA en header */
.header-btn { margin-left: 20px; }
.header-btn .btn-default { padding: 10px 22px; font-size: 12px; }

/* Mobile toggle */
.navbar-toggle { display: none; cursor: pointer; }
.responsive-menu { display: none; }

/* ────────────────────────────────────────────────────────────────
   08. HERO
──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

/* Fondo parallaxie */
.hero.bg-section.parallaxie {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.hero.bg-section.parallaxie::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,37,69,.94) 0%, rgba(75,136,162,.75) 100%);
  z-index: 1;
}
.hero-section {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 32px 80px;
}

/* Decoración geométrica */
.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border: 60px solid rgba(191,215,234,.06);
  border-radius: 50%;
  z-index: 0;
}

.hero-content { text-align: center; max-width: 780px; margin: 0 auto; }

.hero-content .sec-label { color: var(--sky); opacity: .85; }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero-content h1 span {
  background: linear-gradient(90deg, var(--sky) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-btn {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Pills de dimensiones */
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid rgba(191,215,234,.15);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(191,215,234,.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}
.hero-pill i { color: var(--sky); font-size: 15px; }

/* ────────────────────────────────────────────────────────────────
   09. IMPACT NUMBERS
──────────────────────────────────────────────────────────────── */
.odl-impact { background: var(--navy-mid); }

.impact-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.impact-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(191,215,234,.1);
  transition: background var(--ease);
}
.impact-item:last-child { border-right: none; }
.impact-item:hover { background: rgba(191,215,234,.05); }

.impact-number {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.impact-number .counter { color: var(--sky); }

.impact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ────────────────────────────────────────────────────────────────
   10. QUIÉNES SOMOS
──────────────────────────────────────────────────────────────── */
.odl-about { background: var(--white); }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--sky-bg);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--steel);
}
.about-feature i { color: var(--steel); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.about-feature span { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5; }

/* Panel de tarjetas stats */
.about-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.asp-card {
  padding: 22px 20px;
  border-radius: var(--r-card);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.asp-card i { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.asp-card--1 { background: var(--navy);    color: var(--white); }
.asp-card--2 { background: var(--steel);   color: var(--white); }
.asp-card--3 { background: var(--sky-bg);  border: 1px solid var(--border); }
.asp-card--4 { background: var(--cream);   border: 1px solid var(--cream-dk); }
.asp-card--1 i, .asp-card--2 i { color: var(--sky); }
.asp-card--3 i, .asp-card--4 i { color: var(--navy); }
.asp-card strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.asp-card span   { font-size: 12px; line-height: 1.5; }
.asp-card--1 strong, .asp-card--1 span { color: var(--white); }
.asp-card--2 strong { color: var(--white); }
.asp-card--2 span   { color: rgba(255,255,255,.8); }
.asp-card--3 strong, .asp-card--4 strong { color: var(--navy); }
.asp-card--3 span,   .asp-card--4 span   { color: var(--text-sm); }

/* ────────────────────────────────────────────────────────────────
   11. 3 DIMENSIONES
──────────────────────────────────────────────────────────────── */
.odl-dimensiones { background: var(--cream); }

.dim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dim-card {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.dim-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.dim-card-head {
  padding: 28px 28px 0;
}
.dim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.dim-card--amb  .dim-badge { background: #E8F5E9; color: #2E7D32; }
.dim-card--urb  .dim-badge { background: var(--sky-bg); color: var(--steel-dk); }
.dim-card--fis  .dim-badge { background: #EEF0F6; color: var(--navy); }

.dim-card-head h3 { font-size: 20px; margin-bottom: 10px; }
.dim-card-head p  { font-size: 14px; color: var(--text-sm); margin-bottom: 0; }

.dim-icon-big {
  font-size: 48px;
  padding: 0 28px 16px;
  opacity: .08;
  text-align: right;
}
.dim-card--amb .dim-icon-big { color: #2E7D32; }
.dim-card--urb .dim-icon-big { color: var(--steel); }
.dim-card--fis .dim-icon-big { color: var(--navy); }

.dim-card-body { padding: 0 28px; flex: 1; }

.dim-indicators {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 4px;
}
.dim-indicators li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.dim-indicators li:last-child { border-bottom: none; }
.dim-indicators li i { font-size: 12px; color: var(--steel); width: 16px; flex-shrink: 0; }

.dim-card-foot {
  padding: 20px 28px 28px;
}

/* ────────────────────────────────────────────────────────────────
   12. 5 SUBCOMPONENTES
──────────────────────────────────────────────────────────────── */
.odl-componentes { background: var(--white); }

.comp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.comp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--sky-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.comp-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.comp-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: transform var(--ease);
}
.comp-card:hover .comp-icon-wrap { transform: scale(1.08); }
.comp-icon--part { background: rgba(75,136,162,.15); color: var(--steel); }
.comp-icon--tran { background: rgba(11,37,69,.10);   color: var(--navy); }
.comp-icon--gen  { background: rgba(191,215,234,.45); color: var(--steel-dk); }
.comp-icon--soc  { background: rgba(245,230,204,.9);  color: #7A5820; }
.comp-icon--obr  { background: rgba(46,125,50,.10);   color: #2E7D32; }

.comp-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.comp-card p {
  font-size: 13px;
  color: var(--text-sm);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.comp-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--ease), gap var(--ease);
}
.comp-link:hover { color: var(--navy); gap: 8px; }

/* ────────────────────────────────────────────────────────────────
   13. CÓMO FUNCIONA
──────────────────────────────────────────────────────────────── */
.odl-proceso { background: var(--sky-bg); }

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Línea conectora */
.proceso-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--steel) 0%, var(--sky) 100%);
  z-index: 0;
}

.paso-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform var(--ease), box-shadow var(--ease);
}
.paso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.paso-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.paso-icon {
  font-size: 28px;
  color: var(--sky);
  margin-bottom: 12px;
}

.paso-card h4 { font-size: 16px; margin-bottom: 8px; }
.paso-card p  { font-size: 13px; color: var(--text-sm); margin: 0; line-height: 1.6; }

/* ────────────────────────────────────────────────────────────────
   14. SCROLLING TICKER
──────────────────────────────────────────────────────────────── */
.scrolling-ticker { overflow: hidden; background: var(--navy); padding: 0; }
.scrolling-ticker-box {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.scrolling-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.scrolling-content span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border-right: 1px solid rgba(191,215,234,.12);
}
.scrolling-content span:last-child { border-right: none; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ────────────────────────────────────────────────────────────────
   15. COBERTURA TERRITORIAL
──────────────────────────────────────────────────────────────── */
.odl-cobertura { background: var(--white); }

.municipios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.municipio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--sky-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.municipio-item:hover { background: var(--navy); color: var(--white); }
.municipio-item:hover i { color: var(--sky); }
.municipio-item i { color: var(--steel); font-size: 13px; flex-shrink: 0; }
.municipio-item--ext {
  border-style: dashed;
  color: var(--text-sm);
}

.cobertura-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cov-stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--sky-bg);
  border: 1px solid var(--border);
}
.cov-stat i { font-size: 22px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.cov-stat strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.cov-stat span   { font-size: 13px; color: var(--text-sm); line-height: 1.5; }

.cov-quote {
  padding: 24px 26px;
  background: var(--navy);
  border-radius: var(--r-card);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}
.cov-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ────────────────────────────────────────────────────────────────
   16. PUBLICACIONES — Swiper carrusel
──────────────────────────────────────────────────────────────── */
.odl-publicaciones { background: var(--cream); }

.pub-swiper { overflow: hidden; }

.pub-slide {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.pub-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pub-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.pub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pub-slide:hover .pub-img img { transform: scale(1.05); }

.pub-no-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--sky-bg) 0%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(75,136,162,.3);
}

.pub-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.pub-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pub-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pub-cat {
  display: inline-block;
  padding: 2px 8px;
  background: var(--sky-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
}
.pub-body h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--navy);
}
.pub-body h3 a { color: inherit; transition: color var(--ease); }
.pub-body h3 a:hover { color: var(--steel); }
.pub-body p { font-size: 14px; color: var(--text-sm); flex: 1; line-height: 1.65; }

.pub-foot { padding: 16px 24px 24px; }
.pub-foot .btn-default { font-size: 12px; padding: 10px 20px; }

/* Swiper navegación */
.pub-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}
.pub-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.pub-nav-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pub-nav-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

.pub-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--ease), width var(--ease);
}
.pub-pagination .swiper-pagination-bullet-active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* Estado vacío */
.pub-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--sky-bg);
  border-radius: var(--r-card);
  border: 2px dashed var(--border);
}
.pub-empty i { font-size: 48px; color: var(--border); display: block; margin-bottom: 16px; }
.pub-empty p { font-size: 16px; color: var(--text-sm); margin-bottom: 24px; }

/* ────────────────────────────────────────────────────────────────
   17. DOCUMENTOS / BIBLIOTECA
──────────────────────────────────────────────────────────────── */
.odl-documentos { background: var(--sky-bg); }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc-icon-wrap { font-size: 28px; color: var(--steel); }
.doc-body { flex: 1; }
.doc-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.doc-body p  { font-size: 13px; color: var(--text-sm); line-height: 1.6; margin: 0; }
.doc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.doc-type { font-size: 11px; font-weight: 800; color: #C0392B; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 4px; }
.doc-link { font-size: 13px; font-weight: 700; color: var(--steel); display: inline-flex; align-items: center; gap: 5px; transition: color var(--ease), gap var(--ease); }
.doc-link:hover { color: var(--navy); gap: 8px; }

/* ────────────────────────────────────────────────────────────────
   18. CTA STRIP
──────────────────────────────────────────────────────────────── */
.odl-cta { background: var(--navy); padding: var(--sec-py) 0; }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 60px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--steel) 100%);
  border-radius: var(--r-card);
  flex-wrap: wrap;
}
.cta-box h2 { color: var(--white); font-size: clamp(22px, 2.8vw, 34px); margin-bottom: 8px; }
.cta-box p  { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; max-width: 520px; }
.cta-btns   { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ────────────────────────────────────────────────────────────────
   19. ALIANZAS
──────────────────────────────────────────────────────────────── */
.odl-alianzas { background: var(--cream); }

.alianzas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.alianza-item {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--ease);
}
.alianza-item:last-child { border-right: none; }
.alianza-item:hover { background: var(--sky-bg); }
.alianza-item i { font-size: 36px; color: var(--navy); opacity: .5; display: block; margin-bottom: 14px; }
.alianza-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.alianza-desc { font-size: 12px; color: var(--text-sm); line-height: 1.5; }

/* ────────────────────────────────────────────────────────────────
   20. FOOTER
──────────────────────────────────────────────────────────────── */
.main-footer {
  background: var(--navy);
  padding: 72px 0 0;
}

.about-footer .sec-title h2 span {
  background: linear-gradient(90deg, var(--sky) 0%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-footer p { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 16px; line-height: 1.7; }

.footer-contact-info { margin-bottom: 24px; }
.footer-contact-info h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}
.footer-contact-info p { color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 4px; }
.footer-contact-info p a { color: rgba(255,255,255,.55); transition: color var(--ease); }
.footer-contact-info p a:hover { color: var(--sky); }

.footer-social-links ul { display: flex; gap: 8px; }
.footer-social-links ul li a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(191,215,234,.2);
  background: rgba(191,215,234,.06);
  color: var(--sky);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.footer-social-links ul li a:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.footer-copyright {
  border-top: 1px solid rgba(191,215,234,.1);
  margin-top: 48px;
  padding: 20px 0;
}
.footer-menu ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-menu ul li a { font-size: 13px; color: rgba(255,255,255,.4); font-weight: 500; transition: color var(--ease); }
.footer-menu ul li a:hover { color: var(--sky); }
.footer-copyright-text p { font-size: 13px; color: rgba(255,255,255,.3); text-align: right; margin: 0; }

/* ────────────────────────────────────────────────────────────────
   21. PAGE HEADER (inner pages)
──────────────────────────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,37,69,.96) 0%, rgba(75,136,162,.7) 100%);
}
.page-header.bg-section.parallaxie { background-attachment: fixed; background-size: cover; background-position: center; }
.page-header.bg-section.parallaxie::before { position: absolute; inset: 0; z-index: 1; }

.page-header-box {
  position: relative;
  z-index: 2;
}
.page-header-content h1 { color: var(--white); margin-bottom: 12px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb-item { font-size: 14px; color: rgba(255,255,255,.5); display: flex; align-items: center; }
.breadcrumb-item a { color: rgba(255,255,255,.65); transition: color var(--ease); }
.breadcrumb-item a:hover { color: var(--sky); }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,.25); }
.breadcrumb-item.active { color: var(--sky); font-weight: 600; }

/* ────────────────────────────────────────────────────────────────
   22. SINGLE POST
──────────────────────────────────────────────────────────────── */
.page-single-post { background: var(--white); padding: var(--sec-py) 0; }

.post-thumbnail-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 520px;
}
.post-thumbnail-wrap img { width: 100%; height: 100%; object-fit: cover; }

.post-entry h2 { font-size: 26px; margin: 36px 0 14px; }
.post-entry h3 { font-size: 20px; margin: 28px 0 12px; }
.post-entry p  { font-size: 16px; line-height: 1.8; margin-bottom: 1.4em; }
.post-entry ul, .post-entry ol { padding-left: 24px; margin-bottom: 1.4em; }
.post-entry li { font-size: 15px; line-height: 1.7; margin-bottom: 6px; list-style: initial; }
.post-entry a  { color: var(--steel); font-weight: 500; }
.post-entry a:hover { color: var(--navy); }

.post-tag-links { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-tags .tag-links a {
  display: inline-block;
  background: var(--sky-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin: 2px 4px;
  transition: background var(--ease), color var(--ease);
}
.post-tags .tag-links a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.post-social-sharing ul { display: flex; justify-content: flex-end; gap: 8px; }
.post-social-sharing ul li a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sky-bg);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), color var(--ease);
}
.post-social-sharing ul li a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.post-navigation { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.post-navigation a { font-size: 15px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; transition: color var(--ease); }
.post-navigation a:hover { color: var(--steel); }

/* ────────────────────────────────────────────────────────────────
   23. BLOG ARCHIVE / SEARCH
──────────────────────────────────────────────────────────────── */
.page-blog, .blog-archive, .search-results-page { background: var(--white); padding: var(--sec-py) 0; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
@media (min-width: 992px) { .archive-grid { grid-template-columns: repeat(3, 1fr); } }

.archive-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.archive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.archive-card-img { aspect-ratio: 3/2; overflow: hidden; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.archive-card:hover .archive-card-img img { transform: scale(1.05); }
.archive-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.archive-card-body h2 { font-size: 17px; margin-bottom: 10px; }
.archive-card-body h2 a { color: var(--navy); transition: color var(--ease); }
.archive-card-body h2 a:hover { color: var(--steel); }
.archive-card-body p { font-size: 14px; flex: 1; margin-bottom: 16px; }
.archive-description { padding: 20px 24px; background: var(--sky-bg); border-left: 4px solid var(--steel); border-radius: var(--r-sm); margin-bottom: 40px; }

.pagination-wrap { margin-top: 48px; text-align: center; }
.pagination-wrap .nav-links { display: inline-flex; gap: 6px; align-items: center; }
.pagination-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 14px; font-weight: 700;
  color: var(--navy);
  border: 2px solid var(--border);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  text-decoration: none;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ────────────────────────────────────────────────────────────────
   24. 404
──────────────────────────────────────────────────────────────── */
.error-page { background: var(--white); padding: 100px 0; text-align: center; }
.error-page h2 { font-size: clamp(40px, 8vw, 96px); color: var(--sky); margin-bottom: 0; }
.error-page h3 { margin-bottom: 16px; }
.error-page p { max-width: 480px; margin: 0 auto 32px; }

/* ────────────────────────────────────────────────────────────────
   25. SLICKNAV — menú móvil
──────────────────────────────────────────────────────────────── */
.slicknav_menu {
  display: none;
  background: var(--navy);
  padding: 8px 16px;
}
.slicknav_btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  float: right;
  background: none;
  border: none;
}
.slicknav_icon span,
.slicknav_icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}
.slicknav_nav {
  background: var(--navy-mid);
  padding: 8px 0;
  clear: both;
}
.slicknav_nav a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: background var(--ease), color var(--ease);
}
.slicknav_nav a:hover { background: rgba(191,215,234,.1); color: var(--sky); }
.slicknav_nav .slicknav_item a { padding-left: 32px; font-size: 13px; }
.slicknav_arrow { color: rgba(255,255,255,.4); margin-left: 8px; }
.slicknav_open > .slicknav_arrow { transform: rotate(180deg); }

/* ────────────────────────────────────────────────────────────────
   26. WORDPRESS EXTRAS
──────────────────────────────────────────────────────────────── */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.widget ul li a { color: var(--text); transition: color var(--ease); }
.widget ul li a:hover { color: var(--steel); }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-sm); text-align: center; margin-top: 8px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-item img { border-radius: var(--r-sm); }

/* ────────────────────────────────────────────────────────────────
   27. RESPONSIVE
──────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sec-py: 80px; }
  .comp-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-row { grid-template-columns: repeat(3, 1fr); }
  .impact-item:nth-child(3) { border-right: none; }
  .impact-item:nth-child(4),
  .impact-item:nth-child(5) { border-top: 1px solid rgba(191,215,234,.1); }
}

@media (max-width: 992px) {
  :root { --sec-py: 64px; }
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-grid::before { display: none; }
  .dim-grid    { grid-template-columns: 1fr; }
  .docs-grid   { grid-template-columns: repeat(2, 1fr); }
  .comp-grid   { grid-template-columns: repeat(2, 1fr); }
  .alianzas-grid { grid-template-columns: repeat(2, 1fr); }
  .alianza-item:nth-child(2) { border-right: none; }
  .alianza-item:nth-child(3),
  .alianza-item:nth-child(4) { border-top: 1px solid var(--border); }
  .about-stats-panel { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 36px 28px; }
  .cta-box p { max-width: none; }
  .cta-btns { justify-content: center; }
  .municipios-grid { grid-template-columns: 1fr; }
  .main-menu { display: none !important; }
  .navbar-toggle { display: block; }
  .slicknav_menu { display: block; }
}

@media (max-width: 768px) {
  :root { --sec-py: 56px; }
  .container { padding: 0 20px; }
  .navbar { padding: 0 20px; }
  .hero-section { padding: 100px 20px 60px; }
  .impact-row { grid-template-columns: 1fr 1fr; }
  .impact-item:nth-child(2) { border-right: none; }
  .impact-item:nth-child(3),
  .impact-item:nth-child(4),
  .impact-item:nth-child(5) { border-top: 1px solid rgba(191,215,234,.1); }
  .comp-grid { grid-template-columns: 1fr; }
  .proceso-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .alianzas-grid { grid-template-columns: 1fr; }
  .alianza-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .hero-pills { flex-direction: column; align-items: center; }
  .archive-grid { grid-template-columns: 1fr; }
  .post-social-sharing ul { justify-content: flex-start; margin-top: 12px; }
  .footer-copyright-text p { text-align: left; margin-top: 8px; }
}

@media (max-width: 480px) {
  :root { --sec-py: 48px; }
  .container { padding: 0 16px; }
  .hero-section { padding: 80px 16px 48px; }
  .impact-row { grid-template-columns: 1fr; }
  .impact-item { border-right: none; border-top: 1px solid rgba(191,215,234,.1); }
  .impact-item:first-child { border-top: none; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .cta-box { padding: 28px 20px; }
  .btn-default { padding: 11px 20px; font-size: 12px; }
}
