/* GAD Parroquial Rural de Jadán · sistema visual propio
   Colores del emblema: verde de los campos, sol amarillo-naranja, cielo, tierra del cerro. */
:root {
  --verde-950: #062b17;
  --verde-900: #0b4a2a;
  --verde-700: #11663a;
  --verde-500: #1d8a4d;
  --verde-100: #e3f1e6;
  --sol: #f5c518;
  --sol-claro: #fff4c7;
  --naranja: #e9822a;
  --naranja-claro: #fde7d3;
  --cielo: #1b95d3;
  --cielo-claro: #dcf0fb;
  --tierra: #a88f55;
  --crema: #faf6ec;
  --papel: #ffffff;
  --tinta: #15231b;
  --tinta-2: #44524a;
  --linea: #e4e0d3;
  --sombra: 0 1px 2px rgb(6 43 23 / .06), 0 8px 28px rgb(6 43 23 / .08);
  --radio: 14px;
  --escala: 1;
  --f-tit: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-txt: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: calc(100% * var(--escala)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-txt); font-size: 1.0625rem; line-height: 1.65; color: var(--tinta); background: var(--papel); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde-700); text-underline-offset: .18em; }
a:hover { color: var(--verde-900); }
:focus-visible { outline: 3px solid var(--cielo); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-tit); font-stretch: 88%; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--verde-950); }
button { font: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.envoltura { width: min(100% - 8rem, var(--ancho)); margin-inline: auto; }
.envoltura--texto { padding: 3rem 0 5rem; }   /* mismo borde izquierdo y espacio que las páginas con lateral */
.envoltura--texto > * { max-width: 760px; }
.envoltura--texto > :first-child { margin-top: 0; }
.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sol); color: var(--verde-950); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.saltar:focus { top: 1rem; }

/* ── Botones ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn--verde { background: var(--verde-700); color: #fff; }
.btn--verde:hover { background: var(--verde-900); color: #fff; }
.btn--sol { background: var(--sol); color: var(--verde-950); }
.btn--sol:hover { background: #ffd43b; color: var(--verde-950); }
.btn--linea { border-color: var(--verde-700); color: var(--verde-700); }
.btn--linea:hover { background: var(--verde-700); color: #fff; }
.btn--claro { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn--claro:hover { background: #fff; color: var(--verde-900); }
.btn--grande { padding: .95rem 1.6rem; font-size: 1.05rem; }
.botones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.enlace-flecha { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.enlace-flecha .ic { transition: transform .15s; }
.enlace-flecha:hover .ic { transform: translateX(3px); }

/* ── Barra superior y accesibilidad ────────────────────── */
.barra-sup { background: var(--verde-950); color: #d9e8dd; font-size: .85rem; }
.barra-sup__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.barra-sup ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.25rem; }
.barra-sup a, .barra-sup li { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.barra-sup a:hover { color: var(--sol); }
.barra-sup .ic { width: 1rem; height: 1rem; }
/* Pestaña fija en el borde izquierdo, como la barra de accesibilidad del sitio anterior */
.a11y-lateral { position: fixed; z-index: 60; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: .6rem; }
.btn-a11y { width: 48px; height: 52px; display: grid; place-items: center; background: var(--verde-700); color: #fff; border: 0; border-radius: 0 14px 14px 0; box-shadow: 0 6px 20px rgb(0 0 0 / .22); cursor: pointer; transition: background .2s, width .2s; }
.btn-a11y svg { width: 26px; height: 26px; }
.btn-a11y:hover, .btn-a11y[aria-expanded="true"] { background: var(--verde-900); width: 54px; }
.btn-a11y:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; }
.panel-a11y { width: min(360px, calc(100vw - 4.5rem)); max-height: calc(100vh - 2rem); overflow: auto; background: #fff; border-radius: var(--radio); box-shadow: 0 18px 50px rgb(0 0 0 / .25); padding: 1rem; }
.panel-a11y__titulo { margin: 0 0 .75rem; font-weight: 800; font-family: var(--f-tit); font-size: 1.1rem; }
.panel-a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.panel-a11y button { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; text-align: left; padding: .6rem .7rem; border: 1px solid var(--linea); border-radius: 10px; background: var(--crema); font-weight: 800; font-size: 1rem; color: var(--verde-900); }
.panel-a11y button span { font-weight: 500; font-size: .8rem; color: var(--tinta-2); }
.panel-a11y button[aria-pressed="true"] { background: var(--verde-700); color: #fff; border-color: var(--verde-700); }
.panel-a11y button[aria-pressed="true"] span { color: #e3f1e6; }

html.a11y-contraste { --verde-950: #000; --verde-900: #000; --verde-700: #003d1f; --tinta: #000; --tinta-2: #111; --crema: #fff; --linea: #000; }
html.a11y-contraste body { background: #fff; }
html.a11y-contraste .hero__slide::after { background: rgb(0 0 0 / .78); }
html.a11y-contraste a { text-decoration: underline; }
html.a11y-grises { filter: grayscale(1); }
html.a11y-subrayar a { text-decoration: underline !important; }
html.a11y-legible body, html.a11y-legible h1, html.a11y-legible h2, html.a11y-legible h3 { font-family: Verdana, Tahoma, sans-serif !important; font-stretch: normal; letter-spacing: .01em; }
html.a11y-pausa *, html.a11y-pausa *::before, html.a11y-pausa *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ── Cabecera y navegación ─────────────────────────────── */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.cabecera__in { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--verde-950); flex: none; }
.marca img { width: 64px; height: 64px; }
.marca__txt { display: flex; flex-direction: column; line-height: 1; }
.marca__txt small { display: block; font-family: var(--f-txt); font-size: .74rem; font-weight: 600; letter-spacing: .076em; line-height: 1.12; text-transform: uppercase; color: var(--tinta-2); margin-bottom: .25rem; }
.marca__txt strong { font-family: var(--f-tit); font-weight: 800; font-stretch: 80%; font-size: 2.2rem; line-height: 1; text-transform: uppercase; color: var(--verde-700); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; align-self: stretch; }
.nav__lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; align-self: stretch; gap: .15rem; }
.nav__lista > li { display: flex; align-items: center; }
.nav__a { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .7rem; border-radius: 8px; border: 0; background: none; color: var(--tinta); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.nav__a:hover, .nav__item.abierto > .nav__a { background: var(--verde-100); color: var(--verde-900); }
.nav__a.es-activo { color: var(--verde-700); box-shadow: inset 0 -3px 0 var(--sol); border-radius: 8px 8px 0 0; }
.ic-flecha { width: 12px; height: 12px; transition: transform .2s; }
.nav__item { position: relative; }
.cabecera__in { position: relative; }
.nav__item--ancho { position: static; }
.nav__item.abierto .ic-flecha { transform: rotate(180deg); }
/* Desplegables: cuelgan del borde inferior de la cabecera, sin franja ni separación */
.mega { position: absolute; top: 100%; left: 50%; translate: -50% 0; z-index: 2; display: flex; flex-direction: column; width: 400px; background: #fff; border: 1px solid var(--linea); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: 0 28px 50px -18px rgb(6 43 23 / .28); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav__item.abierto > .mega { opacity: 1; visibility: visible; transform: none; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
.mega--ancho { left: 0; right: 0; translate: none; width: auto; flex-direction: row; gap: 1rem; padding: 1.3rem 1.3rem 1.3rem 1.6rem; }
.mega__cols { display: flex; flex-direction: column; flex: 1; }
.mega--ancho .mega__cols { flex-direction: row; gap: 1.5rem; padding-top: .2rem; }
.mega__col { flex: 1; min-width: 0; }
.mega__tit { display: flex; align-items: center; gap: .5rem; margin: 0 0 .45rem; padding-bottom: .5rem; border-bottom: 1px solid var(--linea); font-family: var(--f-tit); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--verde-700); }
.mega__tit::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--sol); }
.mega__col:nth-child(2) .mega__tit::before { background: var(--cielo); }
.mega__col:nth-child(3) .mega__tit::before { background: var(--naranja); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { position: relative; display: flex; flex-direction: column; gap: .05rem; padding: .42rem .6rem; border-radius: 9px; text-decoration: none; color: var(--tinta); font-size: .94rem; line-height: 1.3; transition: background .15s, color .15s, padding .15s; }
.mega:not(.mega--ancho) li a { padding: .65rem .8rem; }
.mega__t { font-weight: 600; }
.mega__d { font-size: .82rem; color: var(--tinta-2); }
.mega li a:hover, .mega li a:focus-visible { background: var(--verde-100); color: var(--verde-900); padding-left: .85rem; }
.mega li a[aria-current] { color: var(--verde-700); }
.mega li a[aria-current] .mega__t::after { content: " ●"; font-size: .6em; color: var(--sol); vertical-align: middle; }
.mega__destacado { position: relative; flex: 0 0 250px; min-height: 230px; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--verde-900); }
.mega__destacado img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mega__destacado::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 43 23 / .96) 0%, rgb(6 43 23 / .75) 38%, rgb(6 43 23 / 0) 75%); }
.mega__destacado:hover img { transform: scale(1.05); }
.mega__destacado-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; }
.mega__destacado-txt small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sol); }
.mega__destacado-txt strong { font-family: var(--f-tit); font-stretch: 85%; font-size: 1.25rem; line-height: 1.1; }
.mega__destacado-txt span { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: #d7eadd; }
.mega__destacado-txt .ic { width: 1em; height: 1em; }
.mega__pie { display: flex; align-items: center; gap: .75rem; margin: .4rem 0 0; padding: .8rem .9rem; border-radius: 12px; background: var(--sol-claro); color: var(--verde-950); text-decoration: none; font-size: .86rem; line-height: 1.35; }
.mega__pie:hover { background: var(--sol); }
.mega__pie > .ic:first-child { width: 1.6rem; height: 1.6rem; color: var(--verde-700); flex: none; }
.mega__pie > .ic:last-child { flex: none; }
.btn-menu { display: none; margin-left: auto; align-items: center; gap: .4rem; border: 1px solid var(--linea); background: #fff; border-radius: 10px; padding: .55rem .8rem; font-weight: 700; color: var(--verde-900); }

/* ── Portada: carrusel ─────────────────────────────────── */
.hero { position: relative; background: var(--verde-950); color: #fff; overflow: hidden; }
.hero__pistas { position: relative; height: clamp(460px, 70vh, 680px); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.es-activo { opacity: 1; visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hero__slide.es-activo .hero__img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 43 23 / .88) 0%, rgb(6 43 23 / .55) 45%, rgb(6 43 23 / .05) 80%), linear-gradient(0deg, rgb(6 43 23 / .6), transparent 45%); }
.hero__txt { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 5rem; max-width: var(--ancho); }
.hero__pre { margin: 0 0 .8rem; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sol); }
.hero__pre::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--sol) 33%, var(--cielo) 33% 66%, var(--verde-500) 66%); }
.hero__tit { color: #fff; font-weight: 900; font-stretch: 72%; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .95; text-transform: uppercase; max-width: 15ch; margin-bottom: 1rem; text-wrap: balance; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 48ch; margin: 0 0 1.8rem; color: #e8f1ea; }
.hero__ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 6.8rem; display: flex; align-items: center; gap: .5rem; }
.hero__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .45); background: rgb(6 43 23 / .35); color: #fff; display: grid; place-items: center; }
.hero__btn svg { width: 20px; height: 20px; }
.hero__btn:hover { background: var(--sol); color: var(--verde-950); border-color: var(--sol); }
.hero__btn .i-play { display: none; }
.hero__btn[aria-pressed="true"] .i-play { display: block; }
.hero__btn[aria-pressed="true"] .i-pausa { display: none; }
.hero__puntos { display: flex; gap: .4rem; margin-inline: .4rem; }
.hero__puntos button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgb(255 255 255 / .45); transition: width .3s, background .3s; }
.hero__puntos button[aria-selected="true"] { width: 34px; background: var(--sol); }

/* ── Tareas principales (íconos) ───────────────────────── */
.tareas { position: relative; z-index: 4; margin-top: -4.5rem; }
.tareas__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgb(6 43 23 / .16); overflow: hidden; }
.tarea { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.5rem .6rem 1.35rem; text-decoration: none; color: var(--tinta); border-right: 1px solid var(--linea); position: relative; transition: background .2s; }
.tareas__grid li:last-child .tarea { border-right: 0; }
.tarea::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--c); transform: scaleX(0); transition: transform .25s; }
.tarea:hover { background: var(--crema); color: var(--tinta); }
.tarea:hover::after { transform: scaleX(1); }
.tarea__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--cf); color: var(--c); margin-bottom: .35rem; transition: transform .25s, background .25s, color .25s; }
.tarea:hover .tarea__ic { transform: translateY(-3px) rotate(-4deg); background: var(--c); color: #fff; }
.tarea__ic .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.tarea__t { font-family: var(--f-tit); font-weight: 800; font-stretch: 85%; font-size: 1.02rem; line-height: 1.15; color: var(--verde-950); }
.tarea__d { font-size: .8rem; color: var(--tinta-2); line-height: 1.35; }
.tarea--verde { --c: var(--verde-700); --cf: var(--verde-100); }
.tarea--cielo { --c: #0f7db8; --cf: var(--cielo-claro); }
.tarea--sol { --c: #a77a00; --cf: var(--sol-claro); }
.tarea--naranja { --c: #c4621a; --cf: var(--naranja-claro); }

/* ── Secciones ─────────────────────────────────────────── */
.seccion { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.seccion--crema { background: var(--crema); }
.seccion__cab { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.seccion__tit { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; font-stretch: 78%; margin-bottom: .4em; text-wrap: balance; }
.seccion__tit--peq { font-size: 1.8rem; }
.seccion__tit--claro { color: #fff; }
.ante { margin: 0 0 .5rem; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--naranja); display: flex; align-items: center; gap: .6rem; }
.ante::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--sol) 33%, var(--cielo) 33% 66%, var(--verde-500) 66%); }
.ante--claro { color: var(--sol); }

.bienvenida__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.bienvenida__foto { margin: 0; position: relative; }
.bienvenida__foto img { border-radius: 22px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--sombra); }
.bienvenida__foto::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 55%; height: 60%; border-radius: 22px; background: var(--sol); z-index: -1; }
.bienvenida__foto figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgb(6 43 23 / .85); color: #fff; font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }

.cifras { background: var(--verde-900); color: #fff; padding: 2.6rem 0; background-image: radial-gradient(circle at 90% -40%, rgb(245 197 24 / .25), transparent 45%); }
.cifras__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cifra { display: flex; flex-direction: column; gap: .2rem; }
.cifra strong { font-family: var(--f-tit); font-weight: 900; font-stretch: 75%; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: #fff; }
.cifra span { color: #cfe3d5; font-size: .92rem; }

/* ── Tarjetas de noticias ──────────────────────────────── */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.tarjetas--4 { grid-template-columns: repeat(4, 1fr); }
.tarjetas--3 { grid-template-columns: repeat(3, 1fr); }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.tarjeta__img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--verde-100); }
.tarjeta__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.tarjeta:hover .tarjeta__img img { transform: scale(1.05); }
.tarjeta__sin { display: grid; place-items: center; height: 100%; color: var(--sol); background: radial-gradient(circle at 80% 110%, rgb(245 197 24 / .25), transparent 45%), linear-gradient(135deg, var(--verde-700), var(--verde-950)); }
.tarjeta__sin .ic { width: 48px; height: 48px; }
.tarjeta__cuerpo { padding: 1.1rem 1.2rem 1.3rem; }
.tarjeta__fecha { display: flex; align-items: center; gap: .4rem; margin: 0 0 .45rem; font-size: .82rem; font-weight: 600; color: var(--naranja); }
.tarjeta__fecha .ic { width: 1rem; height: 1rem; }
.tarjeta__tit { font-size: 1.2rem; font-weight: 800; font-stretch: 88%; margin: 0 0 .4rem; }
.tarjeta__tit a { color: var(--verde-950); text-decoration: none; }
.tarjeta__tit a:hover { color: var(--verde-700); }
.tarjeta__res { margin: 0; color: var(--tinta-2); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Listado de noticias: la más reciente ocupa 2×2 y las demás completan la cuadrícula */
.listado { padding: 2.75rem 0 4.5rem; }
.tarjetas--noticias { grid-template-columns: repeat(4, 1fr); }
.tarjeta--destacada { grid-column: span 2; grid-row: span 2; }
.tarjeta--destacada .tarjeta__img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.tarjeta--destacada .tarjeta__cuerpo { padding: 1.4rem 1.6rem 1.6rem; }
.tarjeta--destacada .tarjeta__tit { font-size: clamp(1.5rem, 2.2vw, 2rem); font-stretch: 80%; }
.tarjeta--destacada .tarjeta__res { font-size: 1.02rem; }

/* ── Servicios, rendición, turismo, enlaces ────────────── */
.servicios { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.servicios__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.servicios__lista a { display: flex; align-items: center; gap: .8rem; height: 100%; padding: 1rem; background: #fff; border: 1px solid var(--linea); border-radius: 12px; text-decoration: none; color: var(--tinta); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.servicios__lista a span:nth-child(2) { flex: 1; }
.servicios__lista a:hover { border-color: var(--verde-500); color: var(--verde-700); }
.rendicion { background: var(--verde-700) url("../img/textura-cerro.svg") right bottom / auto 100% no-repeat; color: #e7f3ea; }
.rendicion__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.rendicion__in > div:first-child { max-width: 640px; }
.rendicion__acc { display: flex; flex-wrap: wrap; gap: .75rem; }
.turismo { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: clamp(380px, 46vw, 540px); }
.turismo__item { position: relative; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; }
.turismo__item--grande { grid-row: span 2; }
.turismo__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.turismo__item:hover img { transform: scale(1.05); }
.turismo__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 43 23 / .8), transparent 55%); }
.turismo__item span { position: absolute; z-index: 2; left: 1.2rem; bottom: 1rem; font-family: var(--f-tit); font-weight: 800; font-stretch: 80%; font-size: 1.5rem; }
.enlaces__grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.enlaces__grid a { position: relative; display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1rem 2.4rem 1rem 1.1rem; background: #fff; border: 1px solid var(--linea); border-radius: 12px; text-decoration: none; color: var(--tinta); }
.enlaces__grid a:hover { border-color: var(--cielo); }
.enlaces__logo { display: flex; align-items: center; height: 3rem; margin-bottom: .55rem; }
.enlaces__logo img { max-height: 100%; max-width: 9rem; width: auto; object-fit: contain; }
.enlaces__grid strong { font-family: var(--f-tit); font-stretch: 88%; font-weight: 800; color: var(--verde-950); font-size: 1.02rem; }
.enlaces__grid span { font-size: .84rem; color: var(--tinta-2); line-height: 1.35; }
.enlaces__grid .ic { position: absolute; right: .9rem; top: 1rem; width: 1rem; height: 1rem; color: var(--cielo); }

/* ── Páginas interiores ────────────────────────────────── */
.portada-int { position: relative; background: var(--verde-900); color: #fff; padding: 2.6rem 0 3rem; overflow: hidden; background-image: radial-gradient(circle at 85% 120%, rgb(245 197 24 / .28), transparent 40%), url("../img/textura-cerro.svg"); background-repeat: no-repeat; background-position: center, right -40px bottom -2px; background-size: auto, auto 85%; }
.portada-int--foto { background-image: linear-gradient(90deg, rgb(6 43 23 / .92), rgb(6 43 23 / .55)), var(--fondo); background-size: cover; background-position: center; padding: 4rem 0 4.4rem; }
.portada-int__tit { color: #fff; font-weight: 900; font-stretch: 75%; font-size: clamp(2.2rem, 5vw, 3.8rem); margin: .2rem 0 .5rem; text-wrap: balance; }
.portada-int__lead { max-width: 62ch; color: #d5e7da; font-size: 1.1rem; margin: 0 0 1.2rem; }
.tricolor { display: block; width: 92px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--sol) 33.3%, var(--cielo) 33.3% 66.6%, var(--verde-500) 66.6%); }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .86rem; color: #b9d2c1; }
.migas li + li::before { content: "›"; margin-right: .3rem; color: var(--sol); }
.migas a { color: #e7f3ea; text-decoration: none; }
.migas a:hover { text-decoration: underline; }
.noticia .migas ol { color: var(--tinta-2); }
.noticia .migas a { color: var(--verde-700); }

.con-lateral { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); padding: 3rem 0 5rem; align-items: start; }
.lateral { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1rem; }
.lateral__tit { margin: 0; font-family: var(--f-tit); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja); }
.lateral ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.lateral li a { display: block; padding: .45rem .8rem; border-radius: 10px; text-decoration: none; color: var(--tinta-2); font-weight: 500; }
.lateral li a:hover { color: var(--verde-700); background: var(--verde-100); }
.lateral li a[aria-current] { color: var(--verde-900); font-weight: 700; background: var(--sol-claro); }
.lateral__ayuda { background: var(--crema); border-radius: var(--radio); padding: 1.1rem 1.2rem; font-size: .93rem; }
.lateral__ayuda p { margin: 0 0 .4rem; }

/* Mapa de la división política */
.prosa .mapa-parroquia { margin: 2rem 0 0; }
.prosa .mapa-parroquia a { display: block; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); background: #fff; }
.prosa .mapa-parroquia img { margin: 0; border-radius: 0; width: 100%; transition: transform .3s; }
.prosa .mapa-parroquia a:hover img { transform: scale(1.015); }
.prosa .mapa-parroquia figcaption { font-size: .88rem; color: var(--tinta-2); padding-top: .5rem; }

/* Mini banner «Síguenos en Facebook» con aspecto de feed (vistas/_facebook.php) */
.fb-mini { --fb: #1877f2; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; font-size: .9rem; }
.fb-mini a { text-decoration: none; color: inherit; }
.fb-mini svg { width: 1em; height: 1em; flex: none; }
.fb-mini__cab { display: grid; grid-template-columns: 56px 1fr; column-gap: .7rem; padding: 0 1rem .8rem; position: relative; }
.fb-mini__portada { grid-column: 1 / -1; height: 58px; margin: 0 -1rem; background: linear-gradient(120deg, var(--verde-700), var(--verde-500) 55%, var(--sol)); }
.fb-mini__avatar { grid-row: 2 / span 3; width: 56px; height: 56px; margin-top: -24px; border-radius: 50%; border: 3px solid #fff; background: #fff; object-fit: contain; box-shadow: 0 2px 8px rgb(0 0 0 / .15); }
.fb-mini__marca { position: absolute; top: .55rem; right: .7rem; display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--fb); font-weight: 700; font-size: .75rem; }
.fb-mini__tit { font-family: var(--f-tit); font-stretch: 88%; font-weight: 800; font-size: 1.12rem; line-height: 1.15; color: var(--verde-950); padding-top: .45rem; }
.fb-mini__nombre { font-size: .8rem; color: var(--tinta-2); }
.fb-mini__cab:hover .fb-mini__tit { color: var(--fb); }
.lateral .fb-mini__feed { list-style: none; margin: 0; padding: 0 .7rem; display: grid; gap: .5rem; }
.fb-mini .fb-post { display: grid; grid-template-columns: 1fr 64px; gap: .3rem .6rem; padding: .65rem; border-radius: 10px; background: #f0f2f5; transition: background .15s; }
.fb-mini .fb-post:hover { background: #e4e6eb; }
.fb-mini .fb-post__autor { grid-column: 1 / -1; display: flex; align-items: center; gap: .45rem; font-size: .75rem; line-height: 1.2; color: var(--tinta-2); }
.fb-post__autor img { width: 24px; height: 24px; border-radius: 50%; background: #fff; object-fit: contain; }
.fb-post__autor strong { display: block; color: var(--tinta); font-size: .8rem; }
.fb-mini .fb-post__texto { font-size: .84rem; line-height: 1.35; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fb-mini .fb-post__foto { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.fb-mini__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .8rem; padding: .62rem 1rem; border-radius: 10px; background: var(--fb); color: #fff !important; font-weight: 700; transition: background .15s; }
.fb-mini__btn:hover { background: #0f63d6; }
.fb-mini__btn svg { width: 1.15em; height: 1.15em; }
@media (max-height: 960px) and (min-width: 1025px) { .lateral:has(.fb-mini) { position: static; } }

.prosa { font-size: 1.08rem; }
.prosa > *:first-child { margin-top: 0; }
.prosa h2 { font-size: 1.9rem; font-weight: 900; font-stretch: 80%; margin-top: 1.8em; }
.prosa h3 { font-size: 1.35rem; font-weight: 800; font-stretch: 86%; margin-top: 1.5em; }
.prosa img { border-radius: 14px; margin: 1.5rem 0; }
.prosa blockquote { margin: 1.5rem 0; padding: 1.1rem 1.4rem; background: var(--crema); border-radius: 14px; font-size: 1.15rem; }
.prosa ul { padding-left: 1.2rem; }
.prosa li::marker { color: var(--verde-500); }
.prosa table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .95rem; }
.prosa th, .prosa td { border-bottom: 1px solid var(--linea); padding: .6rem .5rem; text-align: left; }
.prosa iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; }
.prosa img { max-width: 100%; height: auto; }
.prosa figure.image { display: table; margin: 1.5rem auto; }
.prosa figure.image img { margin: 0; }
.prosa figure.image figcaption { display: table-caption; caption-side: bottom; padding-top: .5rem; font-size: .9rem; color: var(--tinta-2); text-align: center; }
.prosa img[style*="float: left"], .prosa figure.align-left { float: left; margin: .3rem 1.4rem 1rem 0; max-width: 50%; }
.prosa img[style*="float: right"], .prosa figure.align-right { float: right; margin: .3rem 0 1rem 1.4rem; max-width: 50%; }
.prosa::after { content: ""; display: table; clear: both; }
.prosa pre { background: var(--crema); padding: 1rem; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.prosa .fotos-prosa { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; }
.prosa .fotos-prosa li { margin: 0; }
.prosa .fotos-prosa li::marker { content: none; }
.prosa .fotos-prosa figure { margin: 0; }
.prosa .fotos-prosa img { margin: 0; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prosa .fotos-prosa figcaption { font-size: .88rem; color: var(--tinta-2); padding-top: .4rem; }
.prosa .ficha { list-style: none; padding: 1rem 1.2rem; margin: 1.2rem 0; background: var(--crema); border-radius: 14px; display: grid; gap: .35rem; font-size: .98rem; }
.prosa .ficha li::marker { content: none; }
.prosa--intro { margin-bottom: 2rem; }
.prosa .lista-com { columns: 2; list-style: none; padding: 0; }
.prosa .lista-com li { break-inside: avoid; padding: .45rem 0 .45rem 1.6rem; position: relative; border-bottom: 1px dashed var(--linea); }
.prosa .lista-com li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 10px; height: 10px; border-radius: 50%; background: var(--verde-500); box-shadow: 0 0 0 3px var(--verde-100); }
.prosa .datos-clave { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0; padding: 0; list-style: none; }
@media (max-width: 700px) { .prosa .datos-clave { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prosa .datos-clave li { background: var(--crema); border-radius: 12px; padding: 1rem; border-top: 4px solid var(--sol); }
.prosa .datos-clave strong { display: block; font-family: var(--f-tit); font-stretch: 80%; font-size: 1.5rem; color: var(--verde-700); line-height: 1.1; }
.actualizado { margin-top: 2.5rem; font-size: .85rem; color: var(--tinta-2); }

.vacio { text-align: center; padding: 3rem 1.5rem; border: 2px dashed var(--linea); border-radius: 18px; background: var(--crema); color: var(--tinta-2); }
.vacio p { margin: .2rem 0; }
.vacio strong { color: var(--verde-900); }
.vacio__ic { width: 48px; height: 48px; color: var(--tierra); margin-bottom: .6rem; }

/* ── Documentos ────────────────────────────────────────── */
.anios { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 0 0; flex-wrap: wrap; }
.anios__et { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-2); }
.anios ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.anios a { display: block; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--linea); background: #fff; text-decoration: none; color: var(--tinta); font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }
.anios a:hover { border-color: var(--verde-500); color: var(--verde-700); }
.anios a[aria-current] { background: var(--verde-700); border-color: var(--verde-700); color: #fff; }
.anios a.anios--vacio:not([aria-current]) { color: #9aa29d; border-style: dashed; background: transparent; font-weight: 600; }
.bloque-docs { margin-bottom: 2.5rem; }
.bloque-docs__cab { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.bloque-docs__tit { font-size: 1.7rem; font-weight: 900; font-stretch: 80%; margin: 0 0 1rem; }
.bloque-docs__cab .bloque-docs__tit { margin: 0; }
.bloque-docs__n { margin: 0; color: var(--tinta-2); font-weight: 600; font-size: .92rem; }
.acordeon { border: 1px solid var(--linea); border-radius: var(--radio); background: #fff; margin-bottom: .7rem; overflow: hidden; }
.acordeon summary { list-style: none; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--verde-700); border-bottom: 2px solid var(--verde-700); transform: rotate(45deg); margin-left: .5rem; transition: transform .2s; }
.acordeon[open] summary::after { transform: rotate(-135deg); }
.acordeon[open] summary { background: var(--crema); border-bottom: 1px solid var(--linea); }
.acordeon__tit { flex: 1; font-family: var(--f-tit); font-stretch: 85%; font-size: 1.2rem; font-weight: 800; color: var(--verde-950); }
.acordeon__n { font-size: .82rem; font-weight: 600; color: var(--tinta-2); background: var(--verde-100); padding: .15rem .6rem; border-radius: 999px; }
.acordeon__cuerpo { padding: .6rem 1.2rem 1.2rem; }
.docs__sub { font-family: var(--f-txt); font-size: .98rem; font-weight: 700; color: var(--verde-900); margin: 1.2rem 0 .3rem; line-height: 1.35; }
.docs { list-style: none; margin: 0; padding: 0; }
.doc { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid #efece3; }
.doc:last-child { border-bottom: 0; }
.doc__tipo { flex: none; min-width: 3.1rem; text-align: center; padding: .2rem .35rem; border-radius: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; background: #fde4e1; color: #b42318; }
.doc__tipo--csv, .doc__tipo--xls, .doc__tipo--xlsx, .doc__tipo--ods { background: var(--verde-100); color: var(--verde-700); }
.doc__tipo--doc, .doc__tipo--docx, .doc__tipo--odt { background: var(--cielo-claro); color: #0b5f8f; }
.doc__tipo--ppt, .doc__tipo--pptx { background: var(--naranja-claro); color: #b2541a; }
.doc__tipo--enlace { background: #ece9f9; color: #4a3aa8; }
.doc__a { flex: 1; text-decoration: none; color: var(--tinta); font-weight: 500; line-height: 1.35; }
.doc__a:hover { color: var(--verde-700); text-decoration: underline; }
.doc__txt { flex: 1; display: flex; flex-direction: column; }
.doc__ruta { font-size: .82rem; color: var(--tinta-2); text-decoration: none; }
.doc__meta { font-size: .8rem; color: var(--tinta-2); white-space: nowrap; }
.doc__bajar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--verde-700); background: var(--verde-100); }
.doc__bajar:hover { background: var(--verde-700); color: #fff; }
.doc__bajar .ic { width: 18px; height: 18px; }
.doc__ver { color: #0b5f8f; background: var(--cielo-claro); }
.doc__ver:hover { background: #0b5f8f; color: #fff; }
/* Visor de PDF (sitio.js) */
.visor-pdf { width: min(1100px, 100vw - 2rem); height: calc(100vh - 2rem); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--radio); overflow: hidden; background: #fff; box-shadow: 0 24px 70px rgb(0 0 0 / .4); }
.visor-pdf[open] { display: flex; flex-direction: column; }
.visor-pdf::backdrop { background: rgb(3 20 11 / .82); }
.visor-pdf__barra { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem .6rem 1.1rem; background: var(--verde-900); color: #fff; }
.visor-pdf__tit { flex: 1; min-width: 0; margin: 0; font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visor-pdf__btn { flex: none; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .5); color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.visor-pdf__btn:hover { background: #fff; color: var(--verde-900); }
.visor-pdf__btn--sol { background: var(--sol); border-color: var(--sol); color: var(--verde-950); }
.visor-pdf__btn--sol:hover { background: #ffd43b; color: var(--verde-950); }
.visor-pdf__cerrar { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; font-size: 1.5rem; line-height: 1; }
.visor-pdf__cerrar:hover { background: var(--sol); color: var(--verde-950); }
.visor-pdf__marco { flex: 1; width: 100%; border: 0; background: #525659; }
@media (max-width: 700px) { .visor-pdf__btn:not(.visor-pdf__btn--sol) { display: none; } }

.buscador { display: flex; gap: .6rem; margin: 2.5rem 0 1rem; flex-wrap: wrap; }
.buscador input, .buscador select { font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1px solid #cfcab9; background: #fff; }
.buscador input { flex: 1 1 320px; }
.buscador__n { color: var(--tinta-2); font-weight: 600; }
.lista-simple { padding-left: 1.1rem; }
.lista-simple span { color: var(--tinta-2); font-size: .85rem; }

/* ── Autoridades ───────────────────────────────────────── */
.foto-grupo { margin: 0 0 2rem; }
.foto-grupo img { border-radius: 20px; width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--sombra); }
.foto-grupo figcaption { margin-top: .6rem; font-size: .9rem; color: var(--tinta-2); }
.autoridades { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.autoridad { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); }
.autoridad--pres { grid-column: 1 / -1; background: var(--crema); border-color: var(--sol); }
.autoridad img, .autoridad__ini { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.autoridad--pres img, .autoridad--pres .autoridad__ini { width: 88px; height: 88px; }
.autoridad__ini { display: grid; place-items: center; background: var(--verde-700); color: #fff; font-family: var(--f-tit); font-weight: 900; font-size: 1.6rem; }
.autoridad p { margin: 0; }
.autoridad__cargo { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--naranja); }
.autoridad__nombre { font-family: var(--f-tit); font-stretch: 88%; font-weight: 800; font-size: 1.15rem; color: var(--verde-950); line-height: 1.2; }
.autoridad--pres .autoridad__nombre { font-size: 1.5rem; }
.autoridad__com { font-size: .86rem; color: var(--tinta-2); }

/* ── Galería y visor ───────────────────────────────────── */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: .7rem; padding: 2rem 0 4rem; }
.galeria--noticia { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 270px); padding: .5rem 0 0; }
.galeria__item { border-radius: 12px; overflow: hidden; background: var(--verde-100); }
.galeria__item--ancho { grid-column: span 2; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galeria__item:hover img { transform: scale(1.06); }
.visor { position: fixed; inset: 0; z-index: 90; background: rgb(3 20 11 / .94); display: grid; place-items: center; padding: 3.5rem 1rem; }
.visor img { max-height: 84vh; width: auto; border-radius: 10px; }
.visor p { color: #fff; text-align: center; margin: .6rem 0 0; }
.visor button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; font-size: 1.5rem; }
.visor button:hover { background: var(--sol); color: var(--verde-950); }
.visor__cerrar { top: 1rem; right: 1rem; }
.visor__ant { left: 1rem; top: 50%; }
.visor__sig { right: 1rem; top: 50%; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.video { margin: 0; }
.video__marco { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; }
.video__marco iframe { width: 100%; height: 100%; border: 0; }
.video__play { all: unset; cursor: pointer; position: absolute; inset: 0; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video__ic { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%; background: var(--sol); color: var(--verde-950); display: grid; place-items: center; }
.video figcaption { margin-top: .6rem; font-weight: 600; }

/* ── Noticia ───────────────────────────────────────────── */
.noticia__cab { padding-top: 3rem; }
.noticia__cab .migas { margin-bottom: 1.4rem; }
.noticia__tit { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; font-stretch: 80%; margin: .3rem 0 .8rem; text-wrap: balance; }
.noticia__lead { font-size: 1.2rem; color: var(--tinta-2); margin: 0 0 1.5rem; max-width: 62ch; }
.noticia__tit { max-width: 22ch; }
.noticia__cuerpo { max-width: 820px; font-size: 1.05rem; }
.noticia__foto { margin: 0 auto 2.5rem; }
.noticia__foto img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 20px; }
/* Fotos verticales: completas, sin recortar, sobre un fondo suave */
.noticia__foto--vertical { background: var(--crema); border-radius: 20px; padding: 1rem; }
.noticia__foto--vertical img { width: auto; max-width: 100%; max-height: 760px; margin-inline: auto; display: block; object-fit: contain; border-radius: 14px; }
.compartir { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: 2.5rem 0 4rem; font-weight: 700; color: var(--verde-950); }
.compartir span { margin-right: .3rem; }
.compartir__btn { padding: .5rem 1.1rem; border-radius: 999px; background: var(--verde-100); color: var(--verde-900); text-decoration: none; font-size: .92rem; }
.compartir__btn:hover { background: var(--verde-700); color: #fff; }
.paginacion { display: flex; justify-content: center; gap: .4rem; padding: 2.5rem 0 4rem; }
.paginacion a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--linea); text-decoration: none; font-weight: 700; }
.paginacion a[aria-current] { background: var(--verde-700); color: #fff; border-color: var(--verde-700); }

/* ── Formularios y contacto ────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select { font: inherit; font-weight: 400; padding: .78rem .95rem; border: 1px solid #cfcab9; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--verde-500); outline: 3px solid rgb(29 138 77 / .2); }
.form__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__opciones { border: 1px solid var(--linea); border-radius: 12px; padding: .8rem 1rem; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.form__opciones legend { font-weight: 700; padding: 0 .3rem; }
.form .radio, .form .check { flex-direction: row; align-items: flex-start; gap: .55rem; font-weight: 500; }
.form .check input, .form .radio input { margin-top: .3rem; accent-color: var(--verde-700); width: 18px; height: 18px; }
.trampa { position: absolute !important; left: -9999px; }
.aviso { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.aviso p { margin: .2rem 0; }
.aviso ul { margin: 0; padding-left: 1.2rem; }
.aviso--ok { background: var(--verde-100); border: 1px solid #9fd0ad; }
.aviso--error { background: #fdecea; border: 1px solid #f3b4ad; color: #8a1c12; }
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.paso { background: var(--crema); border-radius: 14px; padding: 1rem 1.1rem; }
.paso span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sol); font-family: var(--f-tit); font-weight: 900; color: var(--verde-950); margin-bottom: .5rem; }
.paso p { margin: 0; font-size: .93rem; }
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); padding: 3rem 0 5rem; }
.datos { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.datos li { display: flex; gap: .9rem; align-items: flex-start; }
.datos .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--verde-100); color: var(--verde-700); }
.datos div { display: flex; flex-direction: column; }
.datos strong { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--naranja); }
.mapa iframe { width: 100%; height: 320px; border: 0; border-radius: 16px; }
.contacto__form { background: var(--crema); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.mapa-sitio { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; padding: 3rem 0 5rem; }
.mapa-sitio h2 { font-size: 1.5rem; }
.mapa-sitio h3 { font-size: 1rem; color: var(--naranja); margin-top: 1rem; }

/* ── Pie ───────────────────────────────────────────────── */
/* Borde superior con la bandera de Jadán: amarillo, celeste y verde, en franjas horizontales */
.pie { position: relative; background: var(--verde-950); color: #c7dccd; margin-top: 4rem; padding-top: calc(3rem + 15px); }
.pie::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15px; background: linear-gradient(var(--sol) 0 5px, var(--cielo) 5px 10px, var(--verde-700) 10px 15px); }
main:has(> .seccion:last-child) + .pie { margin-top: 0; }
.pie__grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr .9fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.pie__marca img { width: 88px; height: 88px; margin-bottom: 1rem; }
.pie__marca p { margin: 0; font-size: .95rem; }
.pie__marca strong { color: #fff; }
.pie__marca .pie__visitas { display: inline-flex; align-items: center; gap: .5rem; margin: 1.2rem 0 0; padding: .4rem .9rem .4rem .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .85rem; color: #b9cfbf; }
.pie__visitas .ic { width: 1.05rem; height: 1.05rem; color: var(--sol); }
.pie__visitas strong { font-family: var(--f-tit); font-stretch: 85%; font-weight: 800; font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.pie__tit { margin: 0 0 .9rem; font-family: var(--f-tit); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--sol); }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .94rem; }
.pie a { color: #e3efe6; text-decoration: none; }
.pie a:hover { color: var(--sol); text-decoration: underline; }
.pie__lista li { display: flex; gap: .6rem; align-items: flex-start; }
.pie__lista .ic { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--sol); }
.pie__base { display: flex; justify-content: space-between; align-items: center; gap: .4rem 1.5rem; flex-wrap: wrap; padding: 1.1rem 0; font-size: .85rem; }
.pie__base p { margin: 0; }
.pie__credito { color: #b9cfbf; }
.pie .pie__credito a, .pie .pie__credito a:hover { text-decoration: none; font-weight: 600; }
.cookies { position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; margin-inline: auto; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgb(0 0 0 / .22); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; font-size: .92rem; }
.cookies p { margin: 0; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1180px) {
  .btn-menu { display: inline-flex; }
  .cabecera { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: var(--nav-top, 124px) 0 0; z-index: 55; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 2rem; overflow-y: auto; display: none; margin: 0; }
  .nav.abierto { display: flex; }
  .nav__lista { flex-direction: column; align-items: stretch; align-self: auto; }
  .nav__lista > li { display: block; }
  .nav { align-self: auto; }
  .nav__a { width: 100%; justify-content: space-between; padding: .85rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--linea); border-radius: 0; }
  .nav__a.es-activo { box-shadow: inset 4px 0 0 var(--sol); }
  .nav__item--ancho { position: relative; }
  .mega, .mega--ancho { position: static; translate: none; width: auto; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: .3rem 0 1rem .4rem; flex-direction: column; gap: .8rem; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__item.abierto > .mega { display: flex; }
  .mega--ancho .mega__cols { flex-direction: column; gap: 1rem; }
  .mega__destacado { display: none; }
  .mega::before { display: none; }
  .nav__cta { align-self: flex-start; margin-top: 1rem; }
  .tareas__grid { grid-template-columns: repeat(4, 1fr); }
  .tareas__grid li:nth-child(4) .tarea { border-right: 0; }
  .tareas__grid li:nth-child(-n+4) .tarea { border-bottom: 1px solid var(--linea); }
  .tarjetas--4, .tarjetas--noticias { grid-template-columns: repeat(2, 1fr); }
  .tarjeta--destacada { grid-row: auto; }
  .tarjeta--destacada .tarjeta__img { aspect-ratio: 16/9; min-height: 0; }
  .enlaces__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .con-lateral { grid-template-columns: 1fr; }
  .lateral { position: static; }
  .bienvenida__grid, .servicios, .contacto { grid-template-columns: 1fr; }
  .cifras__grid { grid-template-columns: repeat(2, 1fr); }
  .pie__grid { grid-template-columns: 1fr 1fr; }
  .tarjetas--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .autoridades { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
  .envoltura, .envoltura--texto { width: calc(100% - 2rem); }
  .a11y-lateral { top: auto; bottom: 5.5rem; transform: none; }
  .btn-a11y { width: 42px; height: 46px; }
  .btn-a11y:hover, .btn-a11y[aria-expanded="true"] { width: 46px; }
  .panel-a11y { max-height: 70vh; }
  .barra-sup__datos li:not(:first-child), .barra-sup__acciones li:nth-child(-n+2) { display: none; }
  .solo-ancho { display: none; }
  .cabecera__in { min-height: 72px; gap: .8rem; }
  .marca img { width: 52px; height: 52px; }
  .marca__txt small { font-size: .605rem; }
  .marca__txt strong { font-size: 1.8rem; }
  .hero__pistas { height: 560px; }
  .hero__txt { justify-content: flex-end; padding-bottom: 9.5rem; }
  .hero__ctrl { bottom: 6rem; }
  .hero__slide::after { background: linear-gradient(0deg, rgb(6 43 23 / .92) 10%, rgb(6 43 23 / .3) 70%); }
  .tareas { margin-top: -3.5rem; }
  .tareas__grid { grid-template-columns: repeat(2, 1fr); }
  .tareas__grid li .tarea { border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
  .tareas__grid li:nth-child(2n) .tarea { border-right: 0; }
  .tarea { padding: 1.1rem .5rem; }
  .tarea__d { display: none; }
  .tarjetas--4, .tarjetas--3, .tarjetas--noticias { grid-template-columns: 1fr; }
  .tarjeta--destacada { grid-column: auto; }
  .servicios__lista, .enlaces__grid, .form__fila, .pasos { grid-template-columns: 1fr; }
  .turismo { grid-template-columns: 1fr; grid-template-rows: 260px 180px 180px; height: auto; }
  .turismo__item--grande { grid-row: auto; }
  .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .galeria__item--ancho { grid-column: span 2; }
  .prosa .lista-com { columns: 1; }
  .pie__grid { grid-template-columns: 1fr; }
  .pie__base { justify-content: center; text-align: center; }
  .doc__meta { display: none; }
  .cookies { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .barra-sup, .cabecera, .pie, .cookies, .lateral, .a11y-lateral { display: none !important; }
  .portada-int { background: none; color: #000; padding: 0; }
  .portada-int__tit { color: #000; }
}

/* Cabecera al desplazar y filtro de documentos */
.cabecera.es-fija { box-shadow: 0 8px 30px rgb(6 43 23 / .10); }
.filtro-docs { display: flex; align-items: center; gap: .6rem; padding: .2rem .9rem; margin-bottom: 1rem; border: 1px solid var(--linea); border-radius: 999px; background: #fff; color: var(--tinta-2); }
.filtro-docs:focus-within { border-color: var(--verde-700); box-shadow: 0 0 0 3px rgb(17 102 58 / .15); }
.filtro-docs input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; padding: .65rem 0; color: var(--tinta); }
.aviso-portada { background: var(--sol); color: var(--verde-950); }
.aviso-portada .envoltura { display: flex; align-items: center; gap: .8rem; padding-block: .85rem; font-weight: 700; }
.aviso-portada p { margin: 0; flex: 1; }
.aviso-portada a { color: var(--verde-950); white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; }
