/* ============================================================
   OBSERVATORIO DE PAZ Â· LANDING
   DirecciÃ³n: la frase es el layout.
   Azul institucional y naranja de marca; fotografÃ­a real de Cali.
============================================================ */

:root {
  --azul-900: #00364f;
  --azul-700: #004b6f;
  --azul-500: #257a9c;
  --azul-300: #39add3;
  --naranja: #f49f1e;
  --naranja-claro: #ffb43a;
  --tinta: #0b1f2a;
  --tinta-suave: #3a4a54;
  --fondo: #ffffff;
  --fondo-suave: #eef3f6;
  --linea: rgba(11, 31, 42, 0.14);
  --fuente-display: "Poppins", "Segoe UI", sans-serif;
  --fuente-texto: "Source Sans 3", "Segoe UI", sans-serif;
  --ancho: 1280px;
  --margen: 24px;
  --nav-alto: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-alto) + 24px);
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fuente-display);
  color: inherit;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--naranja);
  outline-offset: 3px;
}

::selection {
  background: var(--naranja);
  color: var(--tinta);
}

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 var(--margen);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--naranja);
  color: var(--tinta);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ------------------------------------------------------------
   NAVEGACIÃ“N
------------------------------------------------------------ */
.nav-principal {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
}

.nav-principal.scrolled {
  background: #fff;
}

.nav-interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-alto);
}

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.marca-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.marca-texto {
  display: flex;
  flex-direction: column;
  font-family: var(--fuente-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.05;
}

.marca-texto span {
  margin-top: 3px;
  font-family: var(--fuente-texto);
  font-size: 13px;
  font-weight: 400;
  color: var(--tinta-suave);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex: 1;
}

.nav-enlaces {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  text-decoration: none;
}

.nav-link.active {
  color: var(--azul-700);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--naranja);
}

.nav-acciones {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-acciones .boton {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-boton {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border: 1px solid var(--linea);
  background: transparent;
  cursor: pointer;
}

.nav-boton span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tinta);
}

/* ------------------------------------------------------------
   BOTONES Y ENLACES
------------------------------------------------------------ */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  font-family: var(--fuente-display);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.boton--acento {
  background: var(--naranja);
  color: var(--tinta);
}

.boton--acento:hover {
  background: var(--naranja-claro);
}

.boton--linea {
  border: 1px solid var(--tinta);
  background: transparent;
  color: var(--tinta);
}

.boton--linea:hover {
  background: var(--tinta);
  color: #fff;
}

.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 2px solid var(--naranja);
  background: transparent;
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.enlace-flecha:hover {
  color: var(--azul-700);
}

.boton-contraste {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-size: 14px;
  cursor: pointer;
}

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--nav-alto));
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--azul-900);
  color: #fff;
}

.hero-fondo {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
}

.hero-fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 52%;
  filter: grayscale(1) contrast(1.06) brightness(0.95);
}

.hero-fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--azul-700);
  mix-blend-mode: color;
  opacity: 0.82;
}

.hero-fondo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 54, 79, 0.12) 0%, rgba(0, 54, 79, 0.5) 48%, rgba(0, 54, 79, 0.96) 100%),
    linear-gradient(90deg, rgba(0, 54, 79, 0.72) 0%, rgba(0, 54, 79, 0.18) 58%, rgba(0, 54, 79, 0) 100%);
}

.hero-interior {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - var(--nav-alto));
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-titulo {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: var(--fuente-texto);
  font-size: clamp(35px, 9vw, 130px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-linea {
  display: block;
}

/* Palabra clave del titular: el naranja de marca dirige la mirada. */
.hero-acento {
  color: var(--naranja-claro);
}

.hero-bajada {
  max-width: 54ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

.hero-acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.hero-acciones .enlace-flecha {
  color: #fff;
}

.hero-acciones .enlace-flecha:hover {
  color: var(--naranja-claro);
}

.hero-pie {
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-scroll {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
}

.hero-scroll:hover {
  color: #fff;
}

/* ------------------------------------------------------------
   SECCIONES
------------------------------------------------------------ */
.seccion {
  padding: 120px 0;
}

.seccion--pale {
  background: var(--fondo-suave);
}

.seccion--dark {
  background: var(--azul-900);
  color: #fff;
}

.titulo-seccion {
  max-width: 18ch;
  margin: 0 0 64px;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* ------------------------------------------------------------
   SOBRE
------------------------------------------------------------ */
.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}

.entradilla {
  max-width: 54ch;
  margin: 0 0 40px;
  font-size: 22px;
  line-height: 1.45;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.mv-bloque h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.mv-bloque p {
  margin: 0;
  color: var(--tinta);
  font-size: 17px;
}

.sobre-foto {
  margin: 0;
}

.sobre-foto img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% center;
}

.sobre-foto figcaption,
.pub-foto figcaption,
.sobre-foto-secundaria figcaption {
  margin-top: 12px;
  color: var(--tinta-suave);
  font-size: 14px;
}

.sobre-foto-secundaria {
  max-width: 420px;
  margin: 40px 0 0;
}

.sobre-foto-secundaria img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ------------------------------------------------------------
   INDICADORES Â· LIBRO MAYOR
------------------------------------------------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.stats-cabecera .titulo-seccion {
  margin-bottom: 24px;
}

.stats-cabecera .titulo-seccion span {
  display: block;
  color: var(--tinta-suave);
}

.stats-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-fila {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: baseline;
}

.stat-num {
  font-family: var(--fuente-display);
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.stat-caption {
  color: var(--tinta);
  font-size: 17px;
}

.stats-balance {
  max-width: 62ch;
  margin: 80px 0 0;
  font-size: 18px;
}

.stats-balance strong {
  font-weight: 600;
}

.stats-nota {
  margin: 16px 0 0;
  color: var(--tinta-suave);
  font-size: 14px;
}

/* ------------------------------------------------------------
   PUBLICACIONES
------------------------------------------------------------ */
.pub-cabecera {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.pub-cabecera .titulo-seccion {
  margin: 0;
  max-width: 20ch;
}

.publicaciones-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.pub-foto {
  margin: 0;
}

.pub-foto img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pub-derecha {
  min-width: 0;
}

.pub-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.pub-buscar {
  flex: 1 1 240px;
}

.pub-buscar label {
  display: block;
  margin-bottom: 4px;
  color: var(--tinta-suave);
  font-size: 14px;
}

.pub-buscar input {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--linea);
  background: transparent;
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-size: 18px;
}

.pub-buscar input:focus {
  outline: none;
  border-color: var(--naranja);
}

.pub-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pub-chip {
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--tinta-suave);
  font-family: var(--fuente-texto);
  font-size: 14px;
  cursor: pointer;
}

.pub-chip span {
  margin-left: 2px;
  font-size: 13px;
  opacity: 0.7;
}

.pub-chip.activo {
  background: var(--tinta);
  color: #fff;
}

.pub-lista {
  display: flex;
  flex-direction: column;
}

.pub-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 16px 0;
}

.pub-row:nth-child(4n + 1):not(:first-child) {
  padding-top: 44px;
}

.pub-cat {
  color: var(--tinta-suave);
  font-size: 14px;
}

.pub-info h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.pub-titulo-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--tinta);
  font-family: var(--fuente-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.pub-titulo-btn:hover {
  color: var(--azul-700);
}

.pub-desc {
  margin: 6px 0 0;
  color: var(--tinta);
  font-size: 14px;
}

.pub-esqueleto {
  pointer-events: none;
}

.pub-meta {
  margin: 0;
  color: var(--tinta-suave);
  font-size: 14px;
}

.pub-acciones {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pub-ver,
.pub-descargar {
  padding: 0;
  border: 0;
  background: none;
  color: var(--azul-700);
  font-family: var(--fuente-texto);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pub-estado {
  margin-top: 24px;
  font-size: 16px;
}

.pub-skel {
  background: var(--fondo-suave);
}

.pub-skel-line {
  height: 12px;
  margin-bottom: 10px;
  background: var(--fondo-suave);
}

/* ------------------------------------------------------------
   HERRAMIENTAS
------------------------------------------------------------ */
.tools-cabecera {
  max-width: 920px;
  margin-bottom: 64px;
}

.tools-intro {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
}

.inline-foto {
  display: inline-block;
  width: 2.2em;
  height: 1.1em;
  margin: 0 0.12em;
  overflow: hidden;
  vertical-align: -0.08em;
}

.inline-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tools-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-content: start;
}

.tool-row {
  padding: 24px 0;
}

.tool-row h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.tool-row h3 a {
  text-decoration: none;
}

.tool-row h3 a:hover {
  color: var(--azul-700);
}

.tool-row > p {
  max-width: 48ch;
  margin: 0 0 12px;
  color: var(--tinta);
  font-size: 17px;
}

.tool-detail summary {
  color: var(--azul-700);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tool-detail ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--tinta-suave);
  font-size: 16px;
}

.tool-detail li {
  margin-bottom: 8px;
}

.tool-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 16px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--naranja);
  color: var(--azul-700);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ------------------------------------------------------------
   NOTICIAS
------------------------------------------------------------ */
.noticias-cabecera {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.noticias-cabecera .titulo-seccion {
  margin: 0;
}

.noticias-intro {
  max-width: 40ch;
  margin: 0;
  color: var(--tinta-suave);
}

.noticias-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}

.noticia-destacada img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.noticia-destacada h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 16px 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}

.noticia-destacada p {
  color: var(--tinta);
  font-size: 18px;
}

.noticia-destacada .noticia-archivo {
  margin: 8px 0 0;
  color: var(--tinta-suave);
  font-size: 13px;
}

.noticia-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 8px;
  background: var(--fondo-suave);
  color: var(--azul-700);
  font-size: 13px;
  font-weight: 600;
}

.noticia-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.noticia-esqueleto {
  pointer-events: none;
}

.noticia-skel-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--fondo-suave);
}

.noticia-skel-img--fila {
  width: 96px;
  height: 96px;
  aspect-ratio: auto;
}

.noticia-skel-line {
  height: 12px;
  margin: 10px 0;
  background: var(--fondo-suave);
}

.noticia-destacada time,
.noticia-fila time {
  color: var(--tinta-suave);
  font-size: 14px;
}

.noticias-lado {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.noticia-fila {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.noticia-fila img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.noticia-fila h3 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.noticia-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--azul-700);
  font-family: var(--fuente-texto);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.noticias-nota {
  margin-top: 24px;
  color: var(--tinta-suave);
  font-size: 16px;
}

.noticias-grid + .enlace-flecha,
.noticias-nota + .enlace-flecha {
  margin-top: 40px;
}

/* ------------------------------------------------------------
   CONTACTO
------------------------------------------------------------ */
.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

.seccion--dark .titulo-seccion {
  color: #fff;
}

.contacto-bajada {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.contacto-email {
  display: inline-block;
  margin: 32px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--naranja);
  color: #fff;
  font-family: var(--fuente-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  text-decoration: none;
}

.contacto-datos p {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.contacto-datos span {
  color: rgba(255, 255, 255, 0.55);
}

.contacto-datos a {
  color: #fff;
}

.campo {
  margin-bottom: 24px;
}

.campo label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--fuente-texto);
  font-size: 18px;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--naranja);
}

.campo select option {
  color: var(--tinta);
}

.campo textarea {
  resize: vertical;
}

.campo--check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.campo--check input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.campo--check label {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.campo--check a {
  color: #fff;
}

.campo .invalid-feedback {
  color: #ffb4a8;
}

.contacto-envio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.contacto-nota {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.seccion--dark .alert-success {
  margin-top: 24px;
  border: 0;
  border-radius: 0;
  background: #d9f2e3;
  color: #0b3d24;
}

/* ------------------------------------------------------------
   PIE
------------------------------------------------------------ */
.footer {
  padding-top: 96px;
  background: var(--azul-900);
  color: #fff;
  overflow: hidden;
}

.footer-interior {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.footer-invite h2 {
  max-width: 12ch;
  margin: 0 0 32px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
}

.footer-nav a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--naranja);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  color: inherit;
}

.footer-creditos {
  max-width: 80ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-creditos a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin: 48px 0 -20px;
  overflow: hidden;
}

.footer-wordmark text {
  fill: rgba(255, 255, 255, 0.12);
  font-family: var(--fuente-display);
  font-size: 250px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

/* ------------------------------------------------------------
   VOLVER ARRIBA
------------------------------------------------------------ */
.btn-arriba {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  background: var(--tinta);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.btn-arriba.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------
   MODALES (Bootstrap)
------------------------------------------------------------ */
.modal-content {
  border: 0;
  border-radius: 0;
}

.modal-header {
  background: var(--azul-900);
  color: #fff;
}

.modal-header .btn-close {
  filter: invert(1);
}

.pub-visor-frame {
  display: block;
  width: 100%;
  height: min(72vh, 700px);
  border: 0;
  background: var(--fondo-suave);
}

.pub-modal-area {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ------------------------------------------------------------
   MOVIMIENTO
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-fondo img {
    animation: heroSettle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}

@keyframes heroSettle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-fondo img {
    animation: none;
  }
}

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */
@media (min-width: 1200px) {
  .nav-menu.collapse:not(.show) {
    display: flex;
  }

  .nav-boton {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .nav-principal {
    position: relative;
  }

  html {
    scroll-padding-top: 24px;
  }

  .marca-texto span {
    display: none;
  }

  .nav-interior {
    flex-wrap: wrap;
  }

  .marca {
    order: 1;
  }

  .nav-boton {
    order: 2;
    display: flex;
  }

  .nav-menu {
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    display: block;
    padding: 16px 0 24px;
  }

  .nav-enlaces {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 18px;
  }

  .nav-acciones {
    flex-wrap: wrap;
    margin-top: 16px;
  }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .marca-texto span {
    display: none;
  }
}

@media (min-width: 768px) {
  :root {
    --margen: 40px;
  }
}

@media (min-width: 1280px) {
  :root {
    --margen: 64px;
  }
}

@media (max-width: 991.98px) {
  .sobre-grid,
  .stats-grid,
  .publicaciones-grid,
  .noticias-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-cabecera .titulo-seccion {
    margin-bottom: 32px;
  }

  .pub-foto {
    max-width: 440px;
  }

  .tools-lista {
    grid-template-columns: 1fr;
  }

  .footer-interior {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  :root {
    --margen: 20px;
  }

  .seccion {
    padding: 96px 0;
  }

  .titulo-seccion {
    margin-bottom: 40px;
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-interior {
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .hero-titulo {
    font-size: clamp(35px, 9vw, 60px);
  }

  .hero-bajada {
    margin-top: 32px;
    font-size: 17px;
  }

  .hero-acciones {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-pie {
    margin-top: 36px;
  }

  .hero-scroll {
    display: none;
  }

  .entradilla {
    font-size: 19px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-fila {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .stat-num {
    text-align: left;
    font-size: clamp(56px, 15vw, 80px);
  }

  .pub-cabecera,
  .noticias-cabecera {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .pub-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pub-acciones {
    justify-content: flex-start;
  }

  .noticia-fila {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .noticia-fila img {
    width: 72px;
    height: 72px;
  }

  .contacto-datos p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer {
    padding-top: 80px;
  }

  .footer-wordmark {
    font-size: 34vw;
  }
}

/* ------------------------------------------------------------
   ALTO CONTRASTE
------------------------------------------------------------ */
html[data-contraste="1"] .nav-principal,
html[data-contraste="1"] .nav-principal.scrolled {
  background: #000;
}

html[data-contraste="1"] .seccion--pale {
  background: #111;
}

html[data-contraste="1"] .seccion--dark,
html[data-contraste="1"] .footer {
  background: #000;
}

html[data-contraste="1"] .boton--acento {
  background: #ffd400;
  color: #000;
}

html[data-contraste="1"] .boton--linea {
  border-color: #fff;
  color: #fff;
}

html[data-contraste="1"] .boton--linea:hover {
  background: #ffd400;
  color: #000;
}

html[data-contraste="1"] .pub-chip.activo {
  background: #ffd400;
  color: #000;
}

html[data-contraste="1"] .pub-buscar input,
html[data-contraste="1"] .campo input,
html[data-contraste="1"] .campo select,
html[data-contraste="1"] .campo textarea {
  border-color: #888;
  color: #fff;
}

html[data-contraste="1"] .pub-foto figcaption,
html[data-contraste="1"] .sobre-foto figcaption,
html[data-contraste="1"] .pub-meta,
html[data-contraste="1"] .pub-cat,
html[data-contraste="1"] .stat-caption,
html[data-contraste="1"] .stats-nota,
html[data-contraste="1"] .tool-row > p,
html[data-contraste="1"] .noticias-intro,
html[data-contraste="1"] .noticia-destacada p {
  color: #d6dde2;
}

html[data-contraste="1"] .footer-wordmark {
  color: rgba(255, 255, 255, 0.22);
}

html[data-contraste="1"] body .boton-contraste,
html[data-contraste="1"] body .pub-titulo-btn,
html[data-contraste="1"] body .pub-desc,
html[data-contraste="1"] body .mv-bloque p,
html[data-contraste="1"] body .stat-caption,
html[data-contraste="1"] body .tool-row > p,
html[data-contraste="1"] body .noticia-destacada p,
html[data-contraste="1"] body .noticia-destacada h3,
html[data-contraste="1"] body .noticia-fila h3,
html[data-contraste="1"] body .noticia-link,
html[data-contraste="1"] body .pub-ver,
html[data-contraste="1"] body .pub-descargar,
html[data-contraste="1"] body .tool-link,
html[data-contraste="1"] body .enlace-flecha {
  color: #fff;
}

html[data-contraste="1"] body .tool-detail summary,
html[data-contraste="1"] body .noticia-tag {
  color: #ffd400;
}

html[data-contraste="1"] body .noticia-tag {
  background: #222;
}

html[data-contraste="1"] body .pub-chip {
  color: #fff;
}

html[data-contraste="1"] body .pub-buscar label,
html[data-contraste="1"] body .pub-buscar input,
html[data-contraste="1"] body .pub-cat,
html[data-contraste="1"] body .pub-meta,
html[data-contraste="1"] body .stats-nota,
html[data-contraste="1"] body .noticia-meta,
html[data-contraste="1"] body .noticia-destacada time,
html[data-contraste="1"] body .noticia-fila time,
html[data-contraste="1"] body .contacto-datos span,
html[data-contraste="1"] body .marca-texto span {
  color: #d6dde2;
}

html[data-contraste="1"] body .pub-buscar input {
  border-color: #888;
}

html[data-contraste="1"] body .hero-fondo {
  display: block;
}

html[data-contraste="1"] body .hero-fondo img {
  filter: grayscale(1) contrast(1.15) !important;
}

html[data-contraste="1"] body .hero-fondo::after {
  display: none;
}

html[data-contraste="1"] body .hero-fondo::before {
  background: #000 !important;
  opacity: 0.78;
}

html[data-contraste="1"] body .hero {
  background: #000;
}

html[data-contraste="1"] body .hero-bajada,
html[data-contraste="1"] body .hero-pie {
  color: #e8ebee;
}

