/* ═══════════════════════════════════════════════
   OVERRIDES ASTRA
═══════════════════════════════════════════════ */
/* Astra base CSS agrega margin:4em 0 a #primary — lo eliminamos globalmente */
#primary {
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════
   TIPOGRAFIA — Altivo
═══════════════════════════════════════════════ */
@font-face {
  font-family: 'Altivo';
  src: url('fonts/Altivo-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Altivo';
  src: url('fonts/Altivo-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Altivo';
  src: url('fonts/Altivo-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Altivo';
  src: url('fonts/Altivo-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 110%; }
body {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  color: #2D3748;
  line-height: 1.6;
  background: #F4F6F9 url('img/fondo.svg') center top / cover no-repeat fixed;
}

/* Quitar subrayados que Astra agrega a links dentro del contenido */
.entry-content a,
.ast-single-post .entry-content a {
  text-decoration: none !important;
}

/* Wrappers de Astra transparentes para que el fondo del body se vea */
#page,
.site-content,
.ast-container,
#primary,
#main,
.site-main,
article,
.ast-article-single,
.entry-content {
  background: transparent !important;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════
   SHARED
═══════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 36px; padding-bottom: 8px; }

.section-title {
  font-family: 'Altivo', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title--white { color: #fff; }

.title-highlight {
  position: relative;
  display: inline-block;
}
.section-underline {
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}
.section-underline--amber { filter: hue-rotate(30deg) saturate(1.5); }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
/* Pre-header — se va con el scroll */
.pre-header {
  background: #192854;
  padding: 7px 0;
  overflow: hidden;
}
.pre-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 200;
}
/* Admin bar visible (logged in): empuja el header hacia abajo */
.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}

/* Top row */
.header__top {
  background: #fff;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo-link { display: flex; align-items: center; flex-shrink: 0; }
.header__logo-img  { height: 70px; width: auto; }

/* (partners movidos al pre-header) */
.partner-btn {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  padding: 4px 10px;
  border: none;
  background: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.partner-btn:hover {
  color: #fff;
}

/* wp_nav_menu pre-header (menu_class="pre-header__nav") */
.pre-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.pre-header__nav > li > a {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  padding: 4px 10px;
  white-space: nowrap;
  transition: color 0.2s;
  text-decoration: none;
}
.pre-header__nav > li > a:hover { color: #fff; }

/* Derecha: redes + buscador en fila */
.header__top-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__social-label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #192854;
  margin-right: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #192854;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.social-icon:hover { color: #223E71; }

.header__search {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
}
.header__search-input {
  border: 1.5px solid #CBD5E0;
  border-radius: 10px;
  outline: none;
  padding: 0 40px 0 14px;
  font-size: 0.82rem;
  font-family: inherit;
  width: 190px;
  color: #192854;
  background: #fff;
  height: 100%;
  transition: border-color 0.2s;
}
.header__search-input:focus { border-color: #223E71; }
.header__search-input::placeholder { color: #A0AEC0; }
.header__search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #192854;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.header__search-btn:hover { color: #223E71; background: transparent; }
.header__search-btn svg {
  display: block !important;
  visibility: visible !important;
  width: 16px !important;
  height: 16px !important;
  stroke: #192854 !important;
  fill: none !important;
  flex-shrink: 0;
}

/* Nav row */
.header__nav-bar {
  background: #fff;
  border-radius: 0 0 20px 20px;
  position: relative;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}
.header__nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 50px;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #192854;
  border-radius: 2px;
}

.header__nav { flex: 1; }
.nav-list { display: flex; gap: 0; align-items: center; justify-content: space-between; margin-bottom: 0px !important; }
.nav-list > li { flex: 1; text-align: center; }
.nav-list > li > a {
  display: block;
  padding: 6px 13px;
  font-family: 'Altivo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #192854;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
  color: #192854;
}
.nav-list > li > a.active,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
  position: relative;
}
.nav-list > li > a.active::after,
.nav-list > li.current-menu-item > a::after,
.nav-list > li.current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: #192854;
  border-radius: 2px;
}

.btn-denuncia {
  background: #192854;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0 24px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}
.btn-denuncia:hover { background: #223E71; color: #fff; transform: translateY(-1px); }

.btn-quejas {
  background: #F2A119;
  color: #192854;
  font-family: 'Altivo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 24px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}
.btn-quejas:hover { background: #d98c0e; transform: translateY(-1px); }

/* En desktop el nav-bar no necesita btn-denuncia (está en top-right) */

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #000;
  margin-top: -20px;
}

/* Slide estático (HTML puro) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('img/banner1.svg') center center / cover no-repeat;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

/* Slides dinámicos (WordPress CPT) */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  z-index: 0;
}
.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero__slide .hero__bg {
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* la URL viene del inline style del PHP */
  background-image: none;
}

/* Decorative large O */
.hero__deco-o {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Altivo', sans-serif;
  font-weight: 900;
  font-size: 28vw;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  max-width: 640px;
  margin-left: 60px;
  text-align: center;
}
.hero__pre {
  font-family: 'Altivo', sans-serif;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 0px !important;
}

.hero__title {
  font-family: 'Altivo', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 700;
  color: #CCF0FF;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.hero__sub {
  font-family: 'Altivo', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 0px !important;
}
.hero__sub--bold {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin: 0;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  min-width: unset;
  min-height: unset;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.hero__arrow:hover { background: rgba(0,168,232,0.5); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

.hero__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero__dot {
  width: 10px; height: 10px;
  padding: 0;
  min-width: unset;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.hero__dot.active { background: #fff; transform: scale(1.3); }

/* ═══════════════════════════════════════════════
   PROGRAMAS SOCIALES
═══════════════════════════════════════════════ */
.programas {
  padding: 56px 0 48px;
  background: transparent;
  position: relative;
}
.programas > .container { position: relative; }
.programas .section-header { margin-bottom: 56px; }

/* Grid */
.programas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
  padding-top: 16px;
}

.card-programa {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 48px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  margin-top: 40px;
  width: 100%;
  box-sizing: border-box;
  justify-self: stretch;
  align-self: stretch;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card-programa:hover {
  border-color: #223E71;
  box-shadow: 0 6px 24px rgba(0,168,232,0.13);
  transform: translateY(-3px);
}
.card-programa--solo { grid-column: 2; }
/* Último card solo en su fila → ocupa la fila completa centrado */
.programas__grid .card-programa:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
  max-width: calc((100% - 36px) / 3);
  margin-left: auto;
  margin-right: auto;
}

.programas__last-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.programas__last-row .card-programa {
  flex: 0 0 calc((100% - 36px) / 3);
}

.card-programa__icon {
  width: 68px;
  height: 68px;
  background: #192854;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(10,54,99,0.25);
}
.card-programa__icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }

.card-programa__label {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  color: #718096;
}

.card-programa .card-programa__name {
  font-family: 'Altivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #2D3748;
  line-height: 1.3;
  margin: 0;
}
.card-programa .card-programa__name strong { font-weight: 900; color: #192854; }

/* Banner GRATUITOS */
.gratuitos-section {
  background: transparent;
  padding: 48px 0;
}

.gratuitos-banner p,
.gratuitos-banner h1,
.gratuitos-banner h2,
.gratuitos-banner h3 {
  margin: 0;
  padding: 0;
}

.gratuitos-banner__top,
.gratuitos-banner__programs,
.gratuitos-banner__free {
  text-align: center !important;
  width: 100%;
}

.gratuitos-banner__note {
  display: inline-block;
  align-self: center;
}

.gratuitos-banner {
  display: flex;
  align-items: stretch;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  min-height: 200px;
}

.gratuitos-banner__left {
  flex: 1;
  background: none;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gratuitos-banner__deco-o {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Altivo', sans-serif;
  font-weight: 900;
  font-size: 18rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.gratuitos-banner__text {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  line-height: 0.8;
  width: 100%;
}

.gratuitos-banner__top {
  font-family: 'Altivo', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #192854;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gratuitos-banner__programs {
  font-family: 'Altivo', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #192854;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gratuitos-banner__son-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.gratuitos-banner__son-wrap::before,
.gratuitos-banner__son-wrap::after {
  content: '';
  flex: 0 0 15%;
  height: 2px;
  background: #F2A119;
  border-radius: 2px;
}
.gratuitos-banner__son {
  display: inline-block;
  background: #F2A119;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 20px;
}

.gratuitos-banner__free {
  font-family: 'Altivo', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  color: #192854;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.gratuitos-banner__free-o { color: #F2A119; }

.gratuitos-banner__note {
  font-family: 'Altivo', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #192854;
  line-height: 1.2;
  background: #F2A119;
  padding: 6px 18px !important;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gratuitos-banner__note strong { color: #fff; font-weight: 900; font-size: 1.55rem; }
.gratuitos-banner__linea { width: 130px; margin: 1px auto 0; }
.gratuitos-banner__btn {
  margin-top: 16px;
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #192854;
  text-decoration: none !important;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(10,54,99,0.18);
  transition: background 0.2s;
}
.gratuitos-banner__btn:hover { background: #F2A119; color: #fff; }
.gratuitos-banner__btn strong {
  font-family: 'Altivo', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.gratuitos-banner__btn span {
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.85;
}

.gratuitos-banner__pillars {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}
.gratuitos-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 100px;
}
.gratuitos-pillar__icon {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #192854;
  flex-shrink: 0;
}
.gratuitos-pillar__label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.79rem;
  font-weight: 400;
  color: #192854;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.gratuitos-banner__right {
  width: 55%;
  position: relative;
  flex-shrink: 0;
}

.gratuitos-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.gratuitos-banner__badge {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 25px;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.gratuitos-banner__badge strong {
  font-family: 'Altivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.gratuitos-banner__badge span { font-size: 0.8rem; font-weight: 700; opacity: 0.85; }

/* ═══════════════════════════════════════════════
   NOTICIAS
═══════════════════════════════════════════════ */
.noticias {
  background: #192854;
  padding: 56px 0 48px;
  color: #fff;
}
.noticias .section-header { margin-bottom: 40px; }
.noticias__subtitle {
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-top: 16px;
}

.noticias__carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.noticias__track {
  flex: 1;
  display: grid;
}

.noticia-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.noticia-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.noticia-card__body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}
.noticia-card__top {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.noticia-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.noticia-card__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-card__img-wrap {
  position: relative;
  min-height: 320px;
  height: 100%;
}
.noticia-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.noticia-card__img--placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  width: 100%;
  height: 100%;
}
.noticia-card__date {
  position: absolute;
  bottom: 25px;
  left: 14px;
  background: #F2A119;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.noticias__arrow {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
  box-sizing: border-box;
}
.noticias__arrow:hover { background: rgba(255,255,255,0.2); }

.noticias__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.noticias__dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.noticias__dot.active { background: #fff; transform: scale(1.3); }

.noticias__link {
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #192854;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  margin-top: 8px;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.noticias__link:hover { background: #F2A119; color: #fff; }
.noticias__link-arrow {
  height: 13px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.noticias__link:hover .noticias__link-arrow { filter: brightness(0) invert(1); }

.noticias__footer {
  text-align: center;
  margin-top: 40px;
}
.btn-ver-todas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ver-todas:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.noticias__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.noticias__dot {
  width: 10px; height: 10px; min-width: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.noticias__dot.active { background: #fff; transform: scale(1.3); }

/* ═══════════════════════════════════════════════
   NOSOTROS
═══════════════════════════════════════════════ */
.nosotros { padding: 60px 0; background: transparent; }

.nosotros__intro {
  font-size: 0.95rem;
  color: #718096;
  max-width: 740px;
  margin: 20px auto 0;
  line-height: 1.75;
  text-align: center;
}

.nosotros__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.nosotros__cards--4col {
  grid-template-columns: repeat(4, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Flip card container */
.card-nosotros {
  perspective: 1000px;
  cursor: pointer;
  height: 240px;
}

.card-nosotros__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0.2,0.2,1);
}
.card-nosotros.flipped .card-nosotros__inner {
  transform: rotateY(180deg);
}

.card-nosotros__front,
.card-nosotros__back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1.5px solid #CBD5E0;
  border-radius: 14px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
}
.card-nosotros__front {
  justify-content: center;
}
.card-nosotros__back {
  transform: rotateY(180deg);
  background: #192854;
  border-color: #192854;
  justify-content: flex-start;
  gap: 10px;
}
.card-nosotros .card-nosotros__back h3 { color: #fff !important; }
.card-nosotros__back p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-nosotros__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F2A119;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}
.card-nosotros__link:hover { opacity: 0.8; }

.card-nosotros__icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-nosotros__icon img { width: 100%; height: 100%; object-fit: contain; }

.card-nosotros h3 {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #192854;
  text-decoration: none;
}
.card-nosotros__line {
  width: 50%;
  height: auto;
  display: block;
  margin: -14px auto 0;
}


.nosotros__cta { text-align: center; margin-top: 36px; }

.btn-ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #192854;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-ver-mas:hover { background: #223E71; color: #fff; transform: translateY(-1px); }
.btn-ver-mas__arrow { height: 16px; width: auto; filter: brightness(0) invert(1); }

/* ═══════════════════════════════════════════════
   MESAS TÉCNICAS
═══════════════════════════════════════════════ */
.mesas-tecnicas {
  padding: 60px 0;
  background: #192854;
}
.mesas-tecnicas .section-title { color: #fff; }
.mesas-tecnicas .title-highlight { color: #F2A119; }

.mesas-tecnicas__intro {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 760px;
  margin: 20px auto 0;
  line-height: 1.75;
  text-align: center;
}

.mesas-tecnicas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.mesa-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.mesa-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: #F2A119;
  transform: translateY(-3px);
}

.mesa-card__num {
  font-family: 'Altivo', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #F2A119;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

.mesa-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mesa-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.mesa-card__rectora {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mesa-card__rectora strong {
  color: #F2A119;
  font-weight: 700;
}

.mesa-card__desc {
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .mesas-tecnicas__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mesas-tecnicas { padding: 44px 0; }
  .mesas-tecnicas__grid { grid-template-columns: 1fr; }
  .mesa-card__num { font-size: 1.5rem; }
}

/* Botones de acceso a galerías */
.mesas-tecnicas__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.mesas-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px 24px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-width: 280px;
}
.mesas-btn:hover {
  background: rgba(242,161,25,0.15);
  border-color: #F2A119;
  transform: translateY(-2px);
}
.mesas-btn--alt { border-color: rgba(255,255,255,0.15); }
.mesas-btn--alt:hover { border-color: #F2A119; }

.mesas-btn__icon {
  width: 44px;
  height: 44px;
  background: #F2A119;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.mesas-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mesas-btn__text strong {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.mesas-btn__text span {
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}
.mesas-btn__arrow { color: rgba(255,255,255,0.5); flex-shrink: 0; }
.mesas-btn:hover .mesas-btn__arrow { color: #F2A119; }

@media (max-width: 640px) {
  .mesas-tecnicas__actions { flex-direction: column; align-items: center; }
  .mesas-btn { min-width: 0; width: 100%; max-width: 360px; }
}

/* ═══════════════════════════════════════════════
   PÁGINAS DE REUNIONES (GEDS)
═══════════════════════════════════════════════ */
.reunion-hero-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.reunion-tag {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
}
.reunion-tag--ordinaria  { background: #F2A119; color: #fff; }
.reunion-tag--extra      { background: #48BB78; color: #fff; }
.reunion-tag--geds       { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.25); }

.reuniones-section { padding: 60px 0 80px; }

.reuniones-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.reuniones-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, gap 0.2s;
}
.reuniones-back:hover { color: #F2A119; gap: 12px; }
.reuniones-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #192854;
  background: #EBF8FF;
  border: 1.5px solid #192854;
  border-radius: 20px;
  padding: 6px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.reuniones-switch:hover { background: #192854; color: #fff; }

/* Tarjeta de reunión */
.reunion-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(10,54,99,0.07);
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.reunion-card:hover {
  border-color: #192854;
  box-shadow: 0 6px 28px rgba(10,54,99,0.12);
}

.reunion-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.reunion-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.reunion-badge {
  font-family: 'Altivo', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}
.reunion-badge--ord   { background: #FEF3C7; color: #92400E; }
.reunion-badge--extra { background: #D1FAE5; color: #065F46; }

.reunion-card__num {
  font-family: 'Altivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #192854;
}
.reunion-card__date-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718096;
}
.reunion-card__date {
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #4A5568;
}
.reunion-card__count {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: auto;
}

/* Tira de fotos */
.reunion-card__photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.reunion-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #E2E8F0;
}
.reunion-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.reunion-photo:hover img { transform: scale(1.06); }

.reunion-photo__zoom {
  position: absolute;
  inset: 0;
  background: rgba(25,40,84,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}
.reunion-photo:hover .reunion-photo__zoom { opacity: 1; }

/* Lightbox */
.reunion-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}
.reunion-lightbox.lightbox--open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 860px;
  width: 100%;
}
.lightbox__img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.lightbox__caption {
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  text-align: center;
  line-height: 1.5;
}
.lightbox__counter {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

.lightbox__arrow {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__arrow:hover { background: #F2A119; border-color: #F2A119; }

@media (max-width: 700px) {
  .reunion-card { padding: 20px 16px; }
  .reunion-card__photos { grid-template-columns: repeat(3, 1fr); }
  .reunion-card__count { display: none; }
  .lightbox__arrow { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .reunion-card__photos { grid-template-columns: repeat(2, 1fr); }
  .reunion-card__header { gap: 10px; }
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { background: #192854; color: rgba(255,255,255,0.8); }

/* Banner */
.footer__banner {
  background: #192854;
  padding: 22px 0;
}
.footer__banner-title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  margin-top: 25px;
  text-transform: uppercase;
}

/* Main */
.footer__main { padding: 52px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  gap: 52px;
  align-items: start;
}

.footer__col--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__quejas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F2A119;
  color: #192854;
  font-family: 'Altivo', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.footer__quejas-btn:hover { background: #d98c0e; transform: translateY(-2px); }
.footer__quejas-btn svg { display: block; flex-shrink: 0; }

.footer__logo {
  height: 120px;
  width: auto;
}

.footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__contact li {
  font-size: 0.83rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.footer__contact li strong {
  color: #fff;
  font-weight: 700;
  display: block;
}

.footer__col-title {
  font-family: 'Altivo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, padding-left 0.2s;
}
.footer__links a:hover { color: #fff; padding-left: 4px; }

.footer__news-text {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}
.footer__ver-mas {
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  transition: color 0.2s;
}
.footer__ver-mas:hover { color: #223E71; }

/* Bottom bar */
.footer__bottom {
  padding: 18px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.footer__midesgt {
  font-family: 'Altivo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.footer__socials { display: flex; gap: 12px; align-items: center; }
.footer__social {
  color: #fff;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer__social:hover { color: #fff; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {

  .container { padding: 0 20px; }

  /* Header */
  .pre-header { display: none; }
  .header__socials { display: none; }
  .header__search { display: none; }

  /* Nav-bar: oculto por defecto, aparece como dropdown al abrir */
  .header__nav-bar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 300;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .header__nav-bar.nav-bar--open { display: block; }
  .header__nav-inner { padding: 0; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { text-align: left; border-bottom: 1px solid #E2E8F0; flex: none; width: 100%; }
  .nav-list > li:last-child { border-bottom: none; }
  .nav-list > li > a { padding: 14px 24px; font-size: 0.9rem; display: block; width: 100%; box-sizing: border-box; }

  /* Active state: left accent bar instead of bottom underline */
  .nav-list > li > a.active::after,
  .nav-list > li.current-menu-item > a::after,
  .nav-list > li.current-menu-ancestor > a::after { display: none; }
  .nav-list > li.current-menu-item > a,
  .nav-list > li.current-menu-ancestor > a,
  .nav-list > li > a.active {
    border-left: 4px solid #192854;
    background: #F0F4FF;
    padding-left: 20px;
    color: #192854;
    font-weight: 700;
  }

  /* Una sola línea: [logo] [denuncia] [hamburger] */
  .header__top-inner { justify-content: space-between; align-items: center; }
  .header__logo-link  { order: 1; }
  .header__top-right  { order: 2; flex: 1; justify-content: center; gap: 0; }
  .hamburger          { order: 3; display: flex; }

  /* Hamburger X animation */
  .hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger--open span:nth-child(2) { opacity: 0; }
  .hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger span { transition: transform 0.2s, opacity 0.2s; }

  /* Hero */
  .hero { height: 520px; }
  .hero__content { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
  .hero__pre  { font-size: 2rem; }
  .hero__title { font-size: 2.6rem; }
  .hero__sub  { font-size: 1.4rem; }

  /* Programas */
  .programas__grid { grid-template-columns: repeat(2, 1fr); }
  .card-programa--solo { grid-column: 1 / -1; max-width: calc(50% - 9px); margin-left: auto; margin-right: auto; }
  .programas__grid .card-programa:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 9px); margin-left: auto; margin-right: auto; }

  /* Gratuitos banner */
  .gratuitos-banner { flex-direction: column; }
  .gratuitos-banner__left { align-items: center; justify-content: center; padding: 40px 20px; }
  .gratuitos-banner__text { align-items: center; text-align: center; width: 100%; }
  .gratuitos-banner__right { width: 100%; height: 260px; -webkit-mask-image: none; mask-image: none; }
  .gratuitos-banner__badge { right: 24px; }

  /* Noticias */
  .noticias__slide { grid-template-columns: 1fr; gap: 28px; }
  .noticias__img-wrap { order: -1; }

  /* Nosotros cards */
  .nosotros__cards { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--logo { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 560px) ── */
@media (max-width: 560px) {

  .container { padding: 0 16px; }

  /* Header */
  .header__logo-img { height: 52px; }
  .header__search { display: none; }
  .btn-denuncia { font-size: 0.8rem; padding: 4px 14px; }
  .btn-quejas   { font-size: 0.8rem; padding: 4px 12px; }

  /* Hero */
  .hero { height: 420px; }
  .hero__content { margin-left: 0; margin-right: 0; max-width: 100%; text-align: center; align-items: center; padding: 0 20px; }
  .hero__pre  { font-size: 1.4rem; }
  .hero__title { font-size: 1.8rem; }
  .hero__sub  { font-size: 1rem; }

  /* Section titles */
  .section-title { font-size: 1.3rem; letter-spacing: 0.5px; }

  /* Programas */
  .programas { padding: 40px 0 32px; }
  .programas__grid { grid-template-columns: 1fr; }
  .card-programa--solo { grid-column: 1; max-width: 100%; }
  .programas__grid .card-programa:last-child:nth-child(odd) { max-width: 100%; }
  .programas__grid .card-programa:last-child:nth-child(3n+1) { max-width: 100%; }
  .programas__last-row { flex-wrap: wrap; }
  .programas__last-row .card-programa { flex: 0 0 100%; }

  /* Gratuitos banner */
  .gratuitos-banner__left { padding: 28px 20px; }
  .gratuitos-banner__free { font-size: 2.6rem; }
  .gratuitos-banner__top { font-size: 1.7rem; }
  .gratuitos-banner__programs { font-size: 1.5rem; }
  .gratuitos-banner__note { font-size: 1.1rem; }
  .gratuitos-banner__note strong { font-size: 1.25rem; }
  .gratuitos-banner__right { height: 200px; }

  /* Noticias */
  .noticias { padding: 40px 0 32px; }
  .noticias__arrow { display: none; }
  .noticias__track { width: 100%; }
  .noticia-card { grid-template-columns: 1fr; }
  .noticia-card__img-wrap { height: 220px; order: -1; }
  .noticia-card__body { padding: 20px; }
  .noticia-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Nosotros */
  .nosotros { padding: 44px 0; }
  .nosotros__cards { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__banner-title { font-size: 1.1rem; }
  .footer__bottom-inner { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════
   MODAL PROGRAMAS
═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,38,68,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.modal--open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  padding: 32px 32px 28px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34,1.2,0.64,1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.modal-overlay.modal--open .modal { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #718096;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: #F4F6F9; color: #192854; }

.modal__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid #F4F6F9;
}
.modal__icon {
  width: 72px;
  height: 72px;
  background: #192854;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  flex-shrink: 0;
}
.modal__icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.modal__label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #223E71;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.modal__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
}

.modal__desc {
  font-size: 0.88rem;
  color: #4A5568;
  line-height: 1.65;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #F4F6F9;
  border-radius: 10px;
  border-left: 4px solid #223E71;
}

/* Chips de modalidades */
.modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.modal__chip {
  font-family: 'Altivo', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  color: #192854;
  background: #EBF8FF;
  border: 1.5px solid #223E71;
  border-radius: 20px;
  padding: 4px 12px;
}

/* Grid de secciones */
.modal__sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal__section {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 12px 14px;
}
.modal__section-title {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.modal__section ul { display: flex; flex-direction: column; gap: 5px; }
.modal__section li {
  font-size: 0.8rem;
  color: #4A5568;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.modal__section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #223E71;
}

@media (max-width: 480px) {
  .modal__sections { grid-template-columns: 1fr; }
}

/* Bottom sheet en móvil */
@media (max-width: 700px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px 32px;
    transform: translateY(100%);
  }
  .modal-overlay.modal--open .modal { transform: translateY(0); }

  /* Handle bar decorativo arriba */
  .modal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #CBD5E0;
    border-radius: 2px;
    margin: 0 auto 20px;
  }

  .modal__title { font-size: 1.2rem; }
  .modal__icon { width: 54px; height: 54px; padding: 12px; }
  .modal__close { top: 12px; right: 16px; }
}

/* ═══════════════════════════════════════════════
   PÁGINA DE CONTACTO
═══════════════════════════════════════════════ */

/* Hero */
.contacto-hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  margin-top: -20px;
    background-color: #192854;
background-image: url("https://www.transparenttextures.com/patterns/dark-tire.png");
}
.contacto-hero--trans {
}
.contacto-hero__overlay { display: none; }
.contacto-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contacto-hero__eyebrow {
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #223E71;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contacto-hero__title {
  font-family: 'Altivo', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 18px;
}
.contacto-hero__line {
  width: 260px;
  margin: 4px auto 20px;
}
.contacto-hero__sub {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
}

/* Tarjetas de info */
.contacto-info {
  background: transparent;
  padding: 60px 0;
}
.contacto-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 44px;
}
.contacto-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 52px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  box-shadow: 0 4px 24px rgba(10,54,99,0.08);
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contacto-card:hover {
  border-color: #223E71;
  box-shadow: 0 6px 24px rgba(0,168,232,0.13);
  transform: translateY(-5px);
}

.contacto-card__icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: #192854;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(10,54,99,0.25);
}
.contacto-card__icon svg { width: 32px; height: 32px; }
.contacto-card__icon img { width: 34px; height: 34px; object-fit: contain; filter: brightness(0) invert(1); }

.contacto-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #F2A119;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin: 0 0 6px;
}
.contacto-card__text {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #192854;
  line-height: 1.6;
  margin: 0;
}
.contacto-card__text--light {
  font-weight: 300;
  font-size: 0.85rem;
  color: #718096;
}
.contacto-card__text--phone {
  font-size: 1rem;
  font-weight: 700;
  color: #192854;
  transition: color 0.2s;
}
.contacto-card__text--phone:hover { color: #223E71; }

/* Mapa + Formulario */
.contacto-main {
  padding: 72px 0 80px;
  background: transparent;
}
.contacto-main__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contacto-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10,54,99,0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contacto-map__header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #192854;
  color: #fff;
  padding: 14px 20px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contacto-map__header svg { color: #fff; flex-shrink: 0; }
.contacto-map__frame {
  width: 100%;
  flex: 1;
  min-height: 300px;
}
.contacto-map__frame iframe { display: block; }
.contacto-map__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F4F7FB;
  padding: 12px 20px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: #4A5568;
}

/* Formulario */
.contacto-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(10,54,99,0.10);
}

.contacto-form__header { display: flex; flex-direction: column; gap: 12px; }
.contacto-form__header .section-underline { bottom: 0 !important; }
.contacto-form__title {
  font-family: 'Altivo', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  line-height: 1.15;
}
.contacto-form__title span { color: #192854; }
.contacto-form__desc {
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #718096;
  line-height: 1.6;
  margin-top: 4px;
}

.contacto-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4A5568;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.req { color: #E53E3E; }

.form-input,
.form-textarea {
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #2D3748;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #223E71;
  box-shadow: 0 0 0 3px rgba(0,168,232,0.12);
  background: #fff;
}
.form-input::placeholder,
.form-textarea::placeholder { color: #A0AEC0; }
.form-textarea { resize: vertical; min-height: 130px; }

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #192854;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.form-submit:hover {
  background: #223E71;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,168,232,0.3);
}

/* WPForms dentro de contacto */
.contacto-form-wrap .wpforms-container {
  width: 100% !important;
  margin: 0 !important;
}
.contacto-form-wrap .wpforms-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contacto-form-wrap .wpforms-field-container {
  display: contents;
}
.contacto-form-wrap .wpforms-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 !important;
}
.contacto-form-wrap .wpforms-field.wpforms-field-textarea,
.contacto-form-wrap .wpforms-field.wpforms-field-select,
.contacto-form-wrap .wpforms-submit-container {
  grid-column: 1 / -1;
}
.contacto-form-wrap .wpforms-field-label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4A5568;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.contacto-form-wrap .wpforms-field-label .wpforms-required-label {
  color: #E53E3E;
}
.contacto-form-wrap .wpforms-field input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.contacto-form-wrap .wpforms-field select,
.contacto-form-wrap .wpforms-field textarea {
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #2D3748;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-shadow: none !important;
}
.contacto-form-wrap .wpforms-field input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.contacto-form-wrap .wpforms-field select:focus,
.contacto-form-wrap .wpforms-field textarea:focus {
  border-color: #223E71 !important;
  box-shadow: 0 0 0 3px rgba(0,168,232,0.12) !important;
  background: #fff;
}
.contacto-form-wrap .wpforms-field textarea {
  resize: vertical;
  min-height: 130px;
}
.contacto-form-wrap .wpforms-submit-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacto-form-wrap .wpforms-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #192854 !important;
  color: #fff !important;
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  width: auto !important;
}
.contacto-form-wrap .wpforms-submit:hover {
  background: #223E71 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,168,232,0.3) !important;
}
.contacto-form-wrap .wpforms-error-container,
.contacto-form-wrap .wpforms-field .wpforms-error {
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  color: #E53E3E;
  margin-top: 4px;
}

/* Responsive contacto */
@media (max-width: 900px) {
  .contacto-info__grid { grid-template-columns: 1fr; }
  .contacto-main__grid { grid-template-columns: 1fr; }
  .contacto-map__frame { height: 300px; }
}
@media (max-width: 600px) {
  .contacto-hero { padding: 60px 0 52px; }
  .contacto-hero__title { font-size: clamp(1.6rem, 8vw, 2.4rem); letter-spacing: 1.5px; }
  .contacto-hero__sub { font-size: 0.88rem; letter-spacing: 0.2px; }
  .contacto-hero__line { width: 160px; }
  .contacto-form { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .form-submit { grid-column: 1; }
  .contacto-form-wrap .wpforms-form { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   PÁGINA DE TRANSPARENCIA
═══════════════════════════════════════════════ */

/* Breadcrumb */
.trans-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.trans-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.trans-breadcrumb a:hover { color: #F2A119; }
.trans-breadcrumb span { color: rgba(255,255,255,0.9); }

/* Secciones */
.trans-section {
  padding: 72px 0;
}
.trans-section--alt {
  background: #192854;
}
.trans-section--alt .section-title { color: #fff; }

/* Card destacada — Ley de Acceso */
.trans-featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(10,54,99,0.10);
  align-items: start;
}
.trans-featured__icon {
  width: 80px;
  height: 80px;
  background: #192854;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.trans-featured__icon svg { width: 38px; height: 38px; }
.trans-featured__tag {
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F2A119;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}
.trans-featured__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}
.trans-featured__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #4A5568;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Botones */
.trans-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}
.trans-btn--primary {
  background: #192854;
  color: #fff;
}
.trans-btn--primary:hover {
  background: #223E71;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,232,0.3);
}
.trans-btn--outline {
  background: transparent;
  color: #192854;
  border: 2px solid #192854;
}
.trans-btn--outline:hover {
  background: #192854;
  color: #fff;
}
.trans-btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.trans-btn--ghost:hover {
  background: #F2A119;
  border-color: #F2A119;
  color: #fff;
}

/* Intro Gobierno Abierto */
.trans-gov-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.12);
}
.trans-gov-intro__icon {
  width: 60px;
  height: 60px;
  background: #F2A119;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.trans-gov-intro__icon svg { width: 30px; height: 30px; }
.trans-gov-intro__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.trans-gov-intro__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 4px;
}
.trans-gov-intro__text strong { font-weight: 700; color: #F2A119; }

/* Cards de planes */
.trans-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trans-plan-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  transition: background 0.2s, border-color 0.2s;
}
.trans-plan-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: #F2A119;
}
.trans-plan-card--accent { border-color: rgba(0,168,232,0.4); }
.trans-plan-card--accent:hover { border-color: #F2A119; }

.trans-plan-card__num {
  font-family: 'Altivo', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #F2A119;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}
.trans-plan-card__period {
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #223E71;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}
.trans-plan-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.trans-plan-card__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 16px;
}
.trans-plan-card__text strong { font-weight: 700; color: #fff; }

/* Artículos */
.trans-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trans-article-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(10,54,99,0.08);
  border-top: 4px solid #192854;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.trans-article-card:hover {
  border-top-color: #F2A119;
  box-shadow: 0 8px 32px rgba(10,54,99,0.14);
  transform: translateY(-3px);
}
.trans-article-card__header { display: flex; flex-direction: column; gap: 6px; }
.trans-article-card__tag {
  font-family: 'Altivo', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #223E71;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.trans-article-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  line-height: 1.3;
}
.trans-article-card__line {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 8px;
}
.trans-article-card__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #4A5568;
  line-height: 1.7;
  flex: 1;
}
.trans-article-card .trans-btn { margin-top: auto; align-self: flex-start; }

/* FODES */
.trans-fodes {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.trans-fodes__decreto {
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F2A119;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}
.trans-fodes__title {
  font-family: 'Altivo', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}
.trans-fodes__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 20px;
}
.trans-fodes__quote {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.08);
  border-left: 4px solid #F2A119;
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}
.trans-fodes__quote svg { flex-shrink: 0; margin-top: 2px; }

.trans-fodes__img-wrap {
  width: 460px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  border: 3px solid rgba(242,161,25,0.4);
}
.trans-fodes__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
/* ═══════════════════════════════════════════════
   PÁGINA DE NOTICIAS
═══════════════════════════════════════════════ */
.news-section {
  padding: 60px 0 80px;
}

.news-search-wrap {
  margin-bottom: 20px;
}
.news-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #C8D4E6;
  border-radius: 50px;
  padding: 0 20px;
  max-width: 480px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-search:focus-within {
  border-color: #A0B4CC;
  box-shadow: 0 0 0 3px rgba(10,54,99,0.06);
}
.news-search > svg { color: #A0AEC0; flex-shrink: 0; transition: color 0.2s; }
.news-search:focus-within > svg { color: #192854; }
.news-search__input {
  border: none !important;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  font-family: 'Altivo', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #192854;
  width: 100%;
  background: transparent;
  padding: 10px 0;
}
.news-search__input::placeholder { color: #A0AEC0; }
.news-search__clear {
  display: none;
  align-items: center;
  justify-content: center;
  background: #E2E8F0;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
  color: #4A5568;
  transition: background 0.2s;
}
.news-search__clear:hover { background: #CBD5E0; }

.news-empty {
  display: none;
  text-align: center;
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #718096;
  padding: 48px 0;
}

.news-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-filter {
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 22px;
  border-radius: 20px;
  border: 2px solid #CBD5E0;
  background: transparent;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s;
}
.news-filter:hover { border-color: #192854; color: #192854; }
.news-filter.active { background: #192854; border-color: #192854; color: #fff; }

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

.news-card {
  background: #fff !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,54,99,0.07);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  border-color: #223E71;
  box-shadow: 0 8px 32px rgba(0,168,232,0.13);
  transform: translateY(-4px);
}

.news-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.news-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-card__img--placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #192854 0%, #223E71 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card__img--placeholder svg { opacity: 0.18; }

.news-card__date {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(10,54,99,0.82);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 5px 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
}

.news-card__body {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.news-tag {
  font-family: 'Altivo', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #223E71;
  background: #EBF8FF;
  border-radius: 20px;
  padding: 3px 10px;
}
.news-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #192854;
  line-height: 1.5;
  flex: 1;
}
.news-card__meta {
  font-family: 'Altivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #718096;
}
.news-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
  transition: color 0.2s, gap 0.2s;
}
.news-card__btn:hover { color: #223E71; gap: 10px; }

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
}
.news-page {
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 2px solid #E2E8F0;
  background: transparent;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.news-page:hover { border-color: #192854; color: #192854; }
.news-page.active { background: #192854; border-color: #192854; color: #fff; }
.news-page--next {
  width: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .trans-featured { grid-template-columns: 1fr; }
  .trans-featured__icon { width: 60px; height: 60px; }
  .trans-plans { grid-template-columns: 1fr; }
  .trans-articles { grid-template-columns: 1fr; }
  .trans-gov-intro { grid-template-columns: 1fr; }
  .trans-fodes { grid-template-columns: 1fr; }
  .trans-fodes__badge { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: unset; }
}
@media (max-width: 600px) {
  .trans-featured { padding: 28px 20px; }
  .trans-plan-card { grid-template-columns: 1fr; }
  .trans-plan-card__num { font-size: 2rem; width: auto; }
}

/* ═══════════════════════════════════════════════
   ARTÍCULO / NOTICIA INDIVIDUAL
═══════════════════════════════════════════════ */
.article-hero {
  background-color: #192854;
  background-image: url("https://www.transparenttextures.com/patterns/dark-tire.png");
  margin-top: -20px;
  overflow: hidden;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/fondo.svg') center top / cover no-repeat fixed;
  opacity: 0.08;
  pointer-events: none;
}
.article-hero__content { position: relative; }
.article-hero__content {
  padding: 60px 0 48px;
  width: 100%;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.article-breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.article-breadcrumb a:hover { color: #223E71; }
.article-breadcrumb__sep { color: rgba(255,255,255,0.35); }
.article-breadcrumb__current { color: rgba(255,255,255,0.95); }
.article-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.article-hero__tag {
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #223E71;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
}
.article-hero__title {
  font-family: 'Altivo', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 20px;
}
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}
.article-hero__meta-item svg { opacity: 0.7; flex-shrink: 0; }

/* Layout dos columnas */
.article-section {
  padding: 56px 0 80px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Columna principal */
.article-main {
  min-width: 0;
  background: #fff !important;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(10,54,99,0.07);
}
.article-featured {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(10,54,99,0.12);
}
.article-featured img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.article-featured__caption {
  background: #F7FAFC;
  padding: 10px 16px;
  font-size: 0.78rem;
  color: #718096;
  font-style: italic;
}
.article-body {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  color: #2D3748;
  line-height: 1.85;
}
.article-body p {
  margin-bottom: 1.4rem;
}
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: #192854; font-weight: 700; }

/* Tabla de municipios */
.article-table-wrap {
  margin: 40px 0 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(10,54,99,0.08);
  background: #ffffff;
}
.article-table-title {
  background: #192854;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 16px 24px;
  text-transform: uppercase;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Altivo', sans-serif;
  font-size: 0.88rem;
}
.article-table thead th {
  background: #EBF4FF;
  color: #192854;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #BEE3F8;
}
.article-table tbody tr { background: #ffffff; }
.article-table tbody tr:nth-child(even) { background: #F7FAFC; }
.article-table tbody tr:hover { background: #EBF4FF; }
.article-table tbody td {
  padding: 10px 16px;
  color: #2D3748;
  border-bottom: 1px solid #E2E8F0;
}
.article-table tbody td:first-child {
  color: #192854;
  font-weight: 700;
  text-align: center;
  width: 48px;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(10,54,99,0.08);
  border: 1px solid #E2E8F0;
}
.sidebar-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #223E71;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.sidebar-meta__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid #F0F4F8;
}
.sidebar-meta__item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-meta__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar-meta__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2D3748;
}
.share-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.share-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.18s, opacity 0.18s;
  flex-shrink: 0;
}
.share-icon-btn:hover { transform: translateY(-3px); opacity: 0.88; }
.share-icon-btn--fb { background: #1877F2; }
.share-icon-btn--x  { background: #000; }
.share-icon-btn--wa { background: #25D366; }
.share-icon-btn--ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-icon-btn--tt { background: #010101; }

.share-copy-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.share-copy-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 10px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  color: #718096;
  background: #F7FAFC;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
}
.share-copy-btn {
  background: #192854;
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.share-copy-btn:hover { background: #223E71; }
.share-copy-btn--copied { background: #38A169; }

.sidebar-related__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-related__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sidebar-related__img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.sidebar-related__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2D3748;
  line-height: 1.35;
  transition: color 0.2s;
}
.sidebar-related__item:hover .sidebar-related__text { color: #192854; }
.sidebar-related__date {
  font-size: 0.7rem;
  font-weight: 400;
  color: #A0AEC0;
  margin-top: 3px;
}

/* Volver */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
  transition: gap 0.2s, color 0.2s;
}
.article-back:hover { color: #223E71; gap: 12px; }
.article-back svg { transform: rotate(180deg); }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-featured img { height: 260px; }
}
@media (max-width: 600px) {
  .article-hero { min-height: 320px; }
  .article-hero__title { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════
   INFORMACIÓN PÚBLICA
═══════════════════════════════════════════════ */

.infopub-section {
  padding: 64px 0 80px;
  background: transparent;
}

/* Tab nav */
.infopub-tabs {
  display: flex;
  gap: 4px;
  background: #E8EFF7;
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.infopub-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #718096;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 13px 12px;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
  letter-spacing: 0.3px;
  white-space: nowrap;
  min-width: 0;
}
.infopub-tab:hover {
  color: #192854;
  background: rgba(255,255,255,0.55);
}
.infopub-tab.active {
  color: #192854;
  background: #fff;
  box-shadow: 0 2px 10px rgba(10,54,99,0.13);
}
.infopub-tab svg { flex-shrink: 0; }

/* Panel intro */
.infopub-panel__intro {
  background: #F4F7FB;
  border-left: 4px solid #192854;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.7;
}
.infopub-panel__intro strong { color: #192854; }

/* Grids */
.infopub-grid { display: grid !important; gap: 24px; }
.infopub-grid--3 { grid-template-columns: repeat(3, 1fr); }
.infopub-grid--2 { grid-template-columns: repeat(2, 1fr); }
.infopub-grid--solicitud { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
/* Neutraliza margin-block, max-width y margin-inline que Gutenberg is-layout-flow agrega a hijos */
.infopub-grid > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Grupo interior (columna con múltiples cards apiladas) */
.infopub-grid > .wp-block-group {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
}
.infopub-grid > .wp-block-group > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Espaciado vertical entre bloques dentro de un panel */
.infopub-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.infopub-panel[hidden] { display: none !important; }

/* Cards */
.infopub-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(10,54,99,0.07);
  border: 1.5px solid #E2E8F0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  height: 100%;
  box-sizing: border-box;
}
.infopub-card:hover {
  border-color: #192854;
  box-shadow: 0 8px 32px rgba(10,54,99,0.13);
  transform: translateY(-3px);
}

.infopub-card--featured {
  border-color: #192854;
  background: #192854;
}
.infopub-card--featured .infopub-card__tag { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.2); }
.infopub-card--featured .infopub-card__title { color: #fff; }
.infopub-card--featured .infopub-card__desc { color: rgba(255,255,255,0.75); }
.infopub-card--featured:hover { border-color: #F2A119; transform: translateY(-3px); }

.infopub-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.infopub-card__header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.infopub-card__divider {
  width: 100%;
  border: none;
  border-top: 1.5px solid #E2E8F0;
  margin: 2px 0;
}
.infopub-card--featured .infopub-card__divider {
  border-color: rgba(255,255,255,0.15);
}

.infopub-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #CCF0FF;
  color: #192854;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.infopub-card__icon svg { width: 26px; height: 26px; }
.infopub-card__icon--amber { background: #192854; color: #fff; }
.infopub-card__icon--teal { background: #CCF0FF; color: #223E71; }
.infopub-card__icon--lg { width: 68px; height: 68px; background: rgba(255,255,255,0.12); color: #fff; }
.infopub-card__icon--lg svg { width: 32px; height: 32px; }

.infopub-card__tag {
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #192854;
  background: #EBF3FB;
  border: 1.5px solid #BFDBF7;
  border-radius: 20px;
  padding: 3px 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  align-self: flex-start;
  width: fit-content;
}

.infopub-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #192854;
  line-height: 1.4;
}

.infopub-card__desc {
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.65;
  flex: 1;
}

.infopub-card__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.infopub-card__alert {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 8px 12px;
  line-height: 1.4;
}

/* Buttons */
.infopub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 18px;
  margin-top: auto;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.infopub-btn--primary {
  background: #F4F7FB;
  color: #192854;
  border: 1.5px solid #BFDBF7;
}
.infopub-btn--primary:hover {
  background: #192854;
  color: #fff;
  border-color: #192854;
  transform: translateY(-1px);
}
.infopub-btn--featured {
  background: #F2A119;
  color: #fff;
  border: none;
  padding: 13px 22px;
  font-size: 0.9rem;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.infopub-btn--featured:hover {
  background: #d48a0f;
  color: #fff;
  transform: translateY(-1px);
}

/* Contact cards (tab Solicitud) */
.infopub-contact-stack { display: flex; flex-direction: column; gap: 16px; }
.infopub-contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 3px 16px rgba(10,54,99,0.07);
  border: 1.5px solid #E2E8F0;
  transition: border-color 0.2s, transform 0.2s;
}
.infopub-contact-card:hover { border-color: #192854; transform: translateY(-2px); }
.infopub-contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EBF3FB;
  color: #192854;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.infopub-contact-card__icon--amber { background: #FEF3DC; color: #B45309; }
.infopub-contact-card__body { display: flex; flex-direction: column; gap: 3px; }
.infopub-contact-card__label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F2A119;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.infopub-contact-card__value {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #192854;
  transition: color 0.2s;
}
.infopub-contact-card__value:hover { color: #223E71; }
.infopub-contact-card__note {
  font-size: 0.75rem;
  color: #A0AEC0;
}

/* Panel idiomas mayas */
.infopub-grid--top { margin-bottom: 24px; }

.infopub-maya {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  padding: 28px 32px 32px;
  box-shadow: 0 4px 24px rgba(10,54,99,0.07);
}

.infopub-maya__header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #F0F4F8;
}

.infopub-maya__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #192854;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.infopub-maya__icon svg { width: 24px; height: 24px; }

.infopub-maya__tag {
  display: inline-block;
  font-family: 'Altivo', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #B45309;
  background: #FEF3DC;
  border: 1.5px solid #FCD34D;
  border-radius: 20px;
  padding: 2px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.infopub-maya__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #192854;
  margin-bottom: 4px;
}

.infopub-maya__desc {
  font-size: 0.83rem;
  color: #718096;
  line-height: 1.5;
}

.infopub-maya__grid {
  display: grid;
  grid-template-columns: repeat(var(--maya-cols, 5), 1fr);
  gap: 10px;
}
.infopub-maya__grid--2col { grid-template-columns: repeat(2, 1fr); }

.infopub-maya__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #192854;
  background: #F4F7FB;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.infopub-maya__item svg { color: #F2A119; flex-shrink: 0; }
.infopub-maya__item:hover {
  background: #192854;
  border-color: #192854;
  color: #fff;
  transform: translateY(-2px);
}
.infopub-maya__item:hover svg { color: #F2A119; }

/* Responsive */
@media (max-width: 900px) {
  .infopub-grid--3 { grid-template-columns: 1fr 1fr; }
  .infopub-grid--solicitud { grid-template-columns: 1fr; }
  .infopub-maya__grid { grid-template-columns: repeat(3, 1fr); }
  .infopub-maya__grid--2col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .infopub-section { padding: 36px 0 48px; }
  .infopub-tabs {
    gap: 6px;
    flex-wrap: wrap;
    border-radius: 10px;
    margin-bottom: 28px;
  }
  .infopub-tab {
    flex: 1 1 calc(50% - 6px);
    padding: 10px 10px;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
  }
  .infopub-grid--3,
  .infopub-grid--2 { grid-template-columns: 1fr; }
  .infopub-maya { padding: 20px 16px 24px; }
  .infopub-maya__grid { grid-template-columns: repeat(2, 1fr); }
  .infopub-card { padding: 28px 20px 22px; }
  .infopub-panel { gap: 20px; }
}
@media (max-width: 480px) {
  .infopub-section { padding: 24px 0 40px; }
  .infopub-tabs { flex-direction: column; gap: 4px; }
  .infopub-tab {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  .infopub-maya__grid { grid-template-columns: 1fr; }
  .infopub-maya__header { flex-direction: column; gap: 12px; }
  .infopub-card { padding: 24px 16px 20px; }
  .infopub-panel { gap: 16px; }
  .infopub-tabs { margin-bottom: 20px; }
}

/* ═══════════════════════════════════════════════
   SINGLE DOCUMENTO
═══════════════════════════════════════════════ */
.sdoc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #192854;
  text-decoration: none;
  margin-bottom: 32px;
  transition: gap 0.2s, color 0.2s;
}
.sdoc-back:hover { color: #00A8E8; gap: 12px; }
.sdoc-back svg { transform: rotate(180deg); flex-shrink: 0; }

.sdoc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(10,54,99,0.10);
  border: 1.5px solid #E2E8F0;
  overflow: hidden;
}

.sdoc-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 36px;
  gap: 16px;
}
.sdoc-card__header-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.sdoc-card__header-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sdoc-badge {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 5px 14px;
}
.sdoc-badge--light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.sdoc-card__body {
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sdoc-cat {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F2A119;
}

.sdoc-title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #192854;
  line-height: 1.35;
  margin: 0;
}

.sdoc-desc {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

.sdoc-content {
  font-family: 'Altivo', sans-serif;
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.75;
  border-top: 1.5px solid #E2E8F0;
  padding-top: 20px;
}

.sdoc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: #192854;
  border-radius: 50px;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}
.sdoc-btn:hover {
  background: #223E71;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,54,99,0.22);
}
.sdoc-btn--disabled {
  background: #CBD5E0;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 640px) {
  .sdoc-card__header { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .sdoc-card__header-meta { justify-content: flex-start; }
  .sdoc-card__body { padding: 24px 20px 28px; }
  .sdoc-title { font-size: 1.2rem; }
}

/* ===== COMENTARIOS ===== */
.article-comments {
  background: #f4f6fb;
  padding: 60px 0 70px;
}
.article-comments > .container {
  max-width: 900px;
}
.comments__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #192854;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 3px solid #192854;
}
.comments__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.comment {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(25,40,84,.07);
}
.comment--new {
  border-left: 4px solid #192854;
}
.comment__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #192854;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}
.comment__body { flex: 1; }
.comment__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.comment__author {
  font-weight: 700;
  color: #192854;
  font-size: 0.95rem;
}
.comment__date {
  font-size: 0.78rem;
  color: #7a8aaa;
}
.comment__text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.65;
  margin: 0;
}
.comments__form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  box-shadow: 0 2px 8px rgba(25,40,84,.07);
  margin-top: 48px;
}
/* Reset Astra's ast-separate-container styles on the respond wrapper */
.article-comments .comment-respond,
.article-comments #respond {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}
.comments__form-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #192854;
  margin-bottom: 24px;
}
.comments__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.comments__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.comments__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.comments__input,
.comments__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #dde3ef;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #222;
  background: #f9fafc;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
  resize: vertical;
}
.comments__input:focus,
.comments__textarea:focus {
  border-color: #192854;
  background: #fff;
}
.comments__submit {
  margin-top: 4px;
  background: #192854;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 30px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background .2s, transform .15s;
}
.comments__submit:hover { background: #253f82; transform: translateY(-1px); }
.comments__submit:active { transform: translateY(0); }

@media (max-width: 640px) {
  .comments__form-row { grid-template-columns: 1fr; }
  .comments__form-wrap { padding: 24px 18px; }
}

/* ===== TRÁMITES ===== */
.tramites-section {
  background: transparent;
  padding: 56px 0 80px;
  position: relative;
}
.tramites-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/fondo.svg') center top / cover no-repeat fixed;
  pointer-events: none;
}
.tramites-section > .container { position: relative; }

.tramites-intro__text {
  font-family: 'Altivo', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #718096;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
  text-align: center;
}

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

.tramite-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tramite-card:hover {
  border-color: #192854;
  box-shadow: 0 6px 28px rgba(10,54,99,0.10);
  transform: translateY(-3px);
}
.tramite-card--full {
  grid-column: 1 / -1;
}

.tramite-card__icon {
  width: 60px;
  height: 60px;
  background: #192854;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.tramite-card__icon--amber {
  background: #F2A119;
}

.tramite-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tramite-card__cat {
  font-family: 'Altivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #192854;
  line-height: 1.2;
}

.tramite-card__desc {
  font-family: 'Altivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #718096;
  line-height: 1.65;
  margin: 0;
}

.tramite-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.tramite-card__actions--row {
  flex-direction: row;
  flex-wrap: wrap;
}

.tramite-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #F4F6FB;
  border-radius: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #192854;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  align-self: flex-start;
}
.tramite-card__action:hover {
  background: #192854;
  color: #fff;
}

.tramites-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #EBF3FB;
  border-left: 4px solid #192854;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-top: 36px;
  color: #4A5568;
  font-size: 0.88rem;
  line-height: 1.65;
}
.tramites-note svg { flex-shrink: 0; color: #192854; margin-top: 2px; }
.tramites-note p { margin: 0; }
.tramites-note strong { color: #192854; font-weight: 700; }

@media (max-width: 900px) {
  .tramites-grid { grid-template-columns: 1fr; }
  .tramite-card--full { grid-column: 1; }
  .tramite-card__actions--row { flex-direction: column; }
}
@media (max-width: 560px) {
  .tramites-section { padding: 40px 0 60px; }
  .tramite-card { padding: 20px; gap: 16px; }
  .tramite-card__icon { width: 50px; height: 50px; border-radius: 10px; }
}

/* ── Tags dentro de noticia-card (fondo oscuro) ── */
.noticia-card .news-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.25);
}
.noticia-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Variante galería del botón de noticia ── */
.noticias__link--gallery {
  background: #F2A119;
  color: #fff;
}
.noticias__link--gallery:hover {
  background: #d48c10;
  color: #fff;
}
.noticias__link--gallery .noticias__link-arrow { filter: brightness(0) invert(1); }

/* ══════════════════════════════════════════════════
   GALERÍA — página galeria-01.html
══════════════════════════════════════════════════ */
.gallery-section {
  padding: 56px 0 80px;
  background: #f5f7fb;
  min-height: 60vh;
}
.gallery-header {
  margin-bottom: 32px;
}
.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #192854;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.gallery-back svg { transform: rotate(180deg); }
.gallery-back:hover { color: #F2A119; }
.gallery-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.gallery-title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #192854;
  line-height: 1.3;
  margin-bottom: 12px;
}
.gallery-desc {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 28px;
}
.gallery-download-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: #192854;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 36px;
}
.gallery-download-all:hover { background: #F2A119; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #dde3ef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.gallery-item__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover .gallery-item__img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25,40,84,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  text-align: center;
  padding: 0 12px;
  font-family: 'Altivo', sans-serif;
}
.gallery-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Altivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #192854;
  background: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  border: none;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}
.gallery-download-btn:hover { background: #F2A119; color: #fff; }
.gallery-item__num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(25,40,84,0.75);
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}

/* ─── Lightbox galería ───────────────────────────────── */
.mides-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.mides-lightbox.is-open { display: flex; }

.mides-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
}
.mides-lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-family: 'Altivo', sans-serif;
  text-align: center;
  max-width: 600px;
  pointer-events: none;
}
.mides-lightbox__counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-family: 'Altivo', sans-serif;
}
.mides-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mides-lightbox__close:hover { opacity: 1; }
.mides-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mides-lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.mides-lightbox__nav--prev { left: 20px; }
.mides-lightbox__nav--next { right: 20px; }

/* ─── Modal: botón Más información ───────────────────── */
.modal__footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #F0F4F8;
  padding-top: 16px;
}
.modal__mas-info {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #192854;
  color: #fff;
  font-family: 'Altivo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.modal__mas-info:hover { background: #F2A119; }
.modal__mas-info svg { flex-shrink: 0; }

/* ─── Página de detalle de programa ──────────────────── */
.programa-detail { padding: 60px 0 80px; }

.programa-detail__hero {
  background: #192854;
  padding: 70px 0 60px;
  margin-top: -20px;
  position: relative;
  overflow: hidden;
}
.programa-detail__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/dark-tire.png");
  opacity: 0.4;
}
.programa-detail__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}
.programa-detail__hero-icon {
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.programa-detail__hero-icon img { width: 100%; height: 100%; object-fit: contain; }
.programa-detail__eyebrow {
  font-family: 'Altivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F2A119;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.programa-detail__title {
  font-family: 'Altivo', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
}

.programa-detail__body {
  padding: 56px 0 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.programa-detail__main { display: flex; flex-direction: column; gap: 32px; }
.programa-detail__sidebar { display: flex; flex-direction: column; gap: 24px; }

.programa-detail__img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 260px;
  display: block;
  box-shadow: 0 8px 32px rgba(25,40,84,0.15);
}

.pd-block { display: flex; flex-direction: column; gap: 12px; }
.pd-block__title {
  font-family: 'Altivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 3px solid #F2A119;
  display: inline-block;
}
.pd-block__text {
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.75;
}
.pd-block__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}
.pd-block__list li {
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.pd-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F2A119;
}

.pd-modalidad {
  background: #F8FAFC;
  border-left: 4px solid #192854;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-modalidad__name {
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pd-modalidad__desc {
  font-size: 0.88rem;
  color: #4A5568;
  line-height: 1.65;
}

.pd-sidebar-card {
  background: #192854;
  border-radius: 14px;
  padding: 22px 20px;
  color: #fff;
}
.pd-sidebar-card__title {
  font-family: 'Altivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  color: #F2A119;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
}
.pd-sidebar-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-sidebar-card__list li {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.pd-sidebar-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F2A119;
}

/* Bloques de estadísticas (ej. Jóvenes Protagonistas) */
.pd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.pd-stat {
  background: #192854;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-stat__num {
  font-family: 'Altivo', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #F2A119;
  line-height: 1;
}
.pd-stat__label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.pd-monto {
  background: #F2A119;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
}
.pd-monto__label {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #192854;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 8px 0;
}
.pd-monto__amount {
  font-family: 'Altivo', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #192854;
  line-height: 1;
  margin: 0;
}
.pd-monto__sub {
  font-size: 0.8rem;
  color: rgba(25,40,84,0.7);
  margin: 6px 0 0 0;
  font-weight: 600;
}
.pd-monto--free {
  background: #192854;
}
.pd-monto--free .pd-monto__label {
  color: rgba(255,255,255,0.7);
}
.pd-monto--free .pd-monto__amount {
  color: #F2A119;
  font-size: 2rem;
}
.pd-monto--free .pd-monto__sub {
  color: rgba(255,255,255,0.6);
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-chip {
  font-family: 'Altivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #192854;
  background: #EBF8FF;
  border: 1.5px solid #223E71;
  border-radius: 20px;
  padding: 4px 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: 'Altivo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}
.pd-back-btn:hover { color: #fff; }

@media (max-width: 900px) {
  .programa-detail__body { grid-template-columns: 1fr; }
  .programa-detail__sidebar { order: -1; flex-direction: row; flex-wrap: wrap; }
  .pd-monto, .pd-sidebar-card { flex: 1 1 280px; }
}

/* ═══════════════════════════════════════════════
   PÁGINA NOSOTROS — secciones de texto
═══════════════════════════════════════════════ */
.about-block {
  padding: 56px 0;
  background: #fff;
}
.about-block--alt {
  background: #f4f7fb;
}
.about-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-block__grid--reverse .about-block__img-col {
  order: -1;
}
.about-block__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-block__heading-col {
}
.about-block__title {
  font-family: 'Altivo', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #192854;
  line-height: 1.18;
  margin-bottom: 14px;
}
.about-block__line {
  width: 140px;
  display: block;
}
.about-block__body p {
  color: #555;
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 1.25em;
}
.about-block__body p:last-child {
  margin-bottom: 0;
}
.about-block__img-col img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 32px rgba(25,40,84,0.12);
}

/* ═══════════════════════════════════════════════
   PÁGINA NOSOTROS — equipo directivo
═══════════════════════════════════════════════ */
.equipo {
  padding: 56px 0;
  background: #fff;
}
.equipo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.equipo-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 18px rgba(25, 40, 84, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.equipo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(25, 40, 84, 0.16);
}
.equipo-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #d4e3f0;
  overflow: hidden;
}
.equipo-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.equipo-card__info {
  padding: 20px 18px 24px;
}
.equipo-card__cargo {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00a8e8;
  margin-bottom: 8px;
}
.equipo-card__nombre {
  font-family: 'Altivo', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #192854;
  line-height: 1.25;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.equipo-card__puesto {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.45;
  margin: 0 0 14px;
}
.equipo-card__cv {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: #192854;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.equipo-card__cv:hover {
  background: #00a8e8;
  color: #fff;
}

@media (max-width: 1100px) {
  .about-block__grid { gap: 36px; }
  .equipo__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .about-block { padding: 44px 0; }
  .about-block__grid { grid-template-columns: 1fr; gap: 28px; }
  .about-block__grid--reverse .about-block__img-col { order: 0; }
  .about-block__img-col img { height: 260px; }
  .equipo { padding: 44px 0; }
  .equipo__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .equipo__grid { grid-template-columns: 1fr; }
}

/* ── DOCUMENTOS ─────────────────────────────────── */
.docs-section { padding: 56px 0 72px; background: #F4F6F9; }
.docs-subtitle { color: #64748B; font-size: 1rem; margin: 8px 0 0; }

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

.doc-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.doc-card:hover {
  box-shadow: 0 8px 28px rgba(34,62,113,0.12);
  transform: translateY(-3px);
}

.doc-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}
.doc-card__header--blue  { background: #223E71; }
.doc-card__header--teal  { background: #0891B2; }
.doc-card__header--amber { background: #D97706; }
.doc-card__header--gray  { background: #475569; }

.doc-card__icon {
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.9);
}

.doc-card__type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 2px 8px;
}

.doc-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 8px;
}

.doc-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.doc-card__desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 18px;
}

.doc-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
  margin-top: auto;
}

.doc-card__year {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
}

.doc-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #223E71;
  text-decoration: none;
  transition: gap 0.2s;
}
.doc-card__btn:hover { gap: 10px; color: #223E71; }

.doc-card__btn--download:hover { gap: 10px; }

.docs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 64px 0;
  color: #94A3B8;
  text-align: center;
}
.docs-empty p { font-size: 1rem; }

@media (max-width: 900px) {
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .docs-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SCROLL TO TOP (Astra override)
═══════════════════════════════════════════════ */
#ast-scroll-top {
  background-color: #192854 !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(10,54,99,0.30) !important;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
#ast-scroll-top:hover {
  background-color: #F2A119 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(242,161,25,0.35) !important;
}
#ast-scroll-top .ast-arrow-svg path {
  fill: #fff !important;
  stroke: #fff !important;
}
