/* =========================================================
   Sindicato Nacional de Trabajadores FCAB
   Hoja de estilos principal

   Identidad visual: el norte grande.
   Arena y pampa de fondo, cobre y tierra como acentos,
   el azul del altiplano como color secundario y la vía
   férrea como elemento grafico que cruza el sitio.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* arena / pampa */
  --arena-50:  #fdfaf4;
  --arena-100: #f8f1e4;
  --arena-200: #efe3cf;
  --arena-300: #ddc9a6;
  --arena-400: #c6a978;

  /* tierra / noche en el desierto */
  --tierra-500: #9a6b3f;
  --tierra-700: #6b4423;
  --tierra-900: #342114;
  --noche:      #2a1a11;
  --noche-900:  #1d120b;

  /* cobre: color principal */
  --cobre:      #c0562a;
  --cobre-600:  #a4441f;
  --cobre-300:  #e08a55;
  --cobre-100:  #fbeade;

  /* sol y altiplano */
  --sol:        #e9a13c;
  --sol-100:    #fdf0d9;
  --cielo:      #1f7d94;
  --cielo-700:  #15606f;
  --cielo-100:  #e3f1f4;

  --paper:   #fffdf9;
  --ink:     #2b1d13;
  --muted:   #7b6653;
  --line:    #ece0cd;
  --line-2:  #f5ece0;

  /* medidas */
  --wrap:     1200px;
  --wrap-narrow: 820px;
  --r-sm:     10px;
  --r:        14px;
  --r-lg:     22px;
  --r-pill:   999px;

  --shadow-sm: 0 1px 2px rgba(74, 45, 23, .06), 0 2px 8px rgba(74, 45, 23, .05);
  --shadow:    0 4px 14px rgba(74, 45, 23, .09), 0 16px 36px -20px rgba(52, 30, 12, .38);
  --shadow-lg: 0 10px 26px rgba(74, 45, 23, .12), 0 36px 64px -32px rgba(52, 30, 12, .48);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* El atributo hidden tiene que ganarle a cualquier display de esta hoja.
   Sin esto, un elemento con display:flex o grid sigue viendose aunque
   el JavaScript lo marque como oculto. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--arena-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cobre-600); text-decoration: none; }
a:hover { color: var(--tierra-700); }
ul, ol { padding-left: 1.15rem; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: 'Archivo', 'Inter', sans-serif;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--noche);
  font-weight: 800;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--cobre);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--sol); color: var(--noche); }

/* ---------- 3. Utilidades ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.section--cream { background: var(--arena-100); }
.section--noche {
  background:
    radial-gradient(80% 120% at 15% 0%, #4a2c18 0%, transparent 55%),
    linear-gradient(170deg, var(--noche) 0%, var(--noche-900) 100%);
  color: #e3d3bf;
}
.section--noche h2, .section--noche h3 { color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cobre); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Encabezado de seccion */
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--split {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cobre-600); margin-bottom: 12px;
}
/* pequeño tramo de riel antes del rotulo */
.eyebrow::before {
  content: ''; width: 30px; height: 8px; flex: none;
  background:
    linear-gradient(var(--cobre), var(--cobre)) 0 1px / 30px 2px no-repeat,
    linear-gradient(var(--cobre), var(--cobre)) 0 5px / 30px 2px no-repeat,
    repeating-linear-gradient(90deg, var(--cobre) 0 3px, transparent 3px 8px) 0 0 / 30px 8px;
  opacity: .85;
}
.section--noche .eyebrow { color: var(--sol); }
.section--noche .eyebrow::before {
  background:
    linear-gradient(var(--sol), var(--sol)) 0 1px / 30px 2px no-repeat,
    linear-gradient(var(--sol), var(--sol)) 0 5px / 30px 2px no-repeat,
    repeating-linear-gradient(90deg, var(--sol) 0 3px, transparent 3px 8px) 0 0 / 30px 8px;
}
/* sobre fondos oscuros el riel del rotulo va en tono sol */
.section--noche .eyebrow, .franja .eyebrow, .cta-band .eyebrow { color: var(--sol); }
.franja .eyebrow::before, .cta-band .eyebrow::before {
  background:
    linear-gradient(var(--sol), var(--sol)) 0 1px / 30px 2px no-repeat,
    linear-gradient(var(--sol), var(--sol)) 0 5px / 30px 2px no-repeat,
    repeating-linear-gradient(90deg, var(--sol) 0 3px, transparent 3px 8px) 0 0 / 30px 8px;
}
.section-head h2 { font-size: clamp(27px, 3.6vw, 42px); }
.section-head p { margin-top: 12px; color: var(--muted); max-width: 62ch; font-size: 17px; }
.section--noche .section-head p { color: #c3ac93; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--cobre); color: #fff; box-shadow: 0 10px 22px -12px rgba(164,68,31,.95); }
.btn--gold:hover { background: var(--cobre-600); color: #fff; box-shadow: 0 16px 30px -14px rgba(164,68,31,1); }
.btn--tierra { background: var(--tierra-700); color: #fff; box-shadow: 0 10px 22px -12px rgba(107,68,35,.9); }
.btn--tierra:hover { background: var(--noche); color: #fff; }
.btn--ghost { border: 1.5px solid var(--arena-300); color: var(--tierra-700); background: var(--paper); }
.btn--ghost:hover { border-color: var(--cobre); background: var(--cobre); color: #fff; }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,246,235,.4); }
.btn--light:hover { background: #fff; color: var(--noche); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
/* peso del archivo dentro de un boton de descarga */
.btn__peso {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.22); color: inherit; white-space: nowrap;
}

/* Vía férrea como separador */
.riel {
  height: 12px; width: 100%;
  background:
    linear-gradient(var(--arena-400), var(--arena-400)) 0 2px / 100% 2px repeat-x,
    linear-gradient(var(--arena-400), var(--arena-400)) 0 8px / 100% 2px repeat-x,
    repeating-linear-gradient(90deg, var(--arena-300) 0 6px, transparent 6px 20px);
  opacity: .75;
}

/* ---------- 4. Barra superior ---------- */
.topbar { background: var(--noche-900); color: #b49b81; font-size: 13px; }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 42px; flex-wrap: wrap;
}
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar__pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sol);
  box-shadow: 0 0 0 0 rgba(233,161,60,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(233,161,60,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(233,161,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,161,60,0); }
}
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #b49b81; }
.topbar a:hover { color: var(--sol); }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a {
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 8px; background: rgba(255,255,255,.07);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.topbar__social a:hover { background: var(--sol); color: var(--noche); transform: translateY(-2px); }

/* ---------- 5. Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,249,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(52,30,12,.5); }
/* franja de vía bajo la cabecera */
.header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--cobre) 0 18px, transparent 18px 34px);
  opacity: .35;
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand:hover { color: inherit; }
.brand img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--cobre); background: #fff; flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px;
  color: var(--noche); letter-spacing: -.02em;
}
.brand__sub {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cobre);
}

/* Navegacion */
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 600; color: var(--tierra-700);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2.5px;
  border-radius: 2px; background: var(--cobre); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--cobre-600); background: var(--line-2); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--cobre-600); }
.nav .nav__cta { margin-left: 8px; }
.nav .nav__cta::after { display: none; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--arena-300); background: var(--paper);
  place-items: center; flex: none;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--noche); position: relative;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  border-radius: 2px; background: var(--noche);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Menu movil */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(42,26,17,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 86vw);
  background: var(--arena-50); padding: 24px 22px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  transform: translateX(100%); transition: transform .38s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(42,26,17,.55);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--arena-300);
  display: grid; place-items: center; font-size: 22px; color: var(--noche); line-height: 1;
}
.drawer a {
  padding: 13px 14px; border-radius: 12px; font-weight: 600; color: var(--tierra-700);
  transition: background-color .2s var(--ease);
}
.drawer a:hover, .drawer a[aria-current="page"] { background: var(--cobre-100); color: var(--cobre-600); }
.drawer .btn { margin-top: 12px; }

/* ---------- 6. Portada: atardecer en la pampa ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--noche); }

.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* la foto del desierto virada a tonos calidos */
  filter: sepia(.45) saturate(1.25) contrast(1.05) brightness(.82);
}
/* cielo del atardecer sobre la foto */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(38,22,13,.10) 0%, rgba(38,22,13,.55) 62%, rgba(29,18,11,.94) 100%),
    linear-gradient(96deg, rgba(42,26,17,.92) 8%, rgba(120,58,26,.55) 46%, rgba(233,161,60,.30) 100%);
}
/* sol bajo, a la derecha */
.hero::after {
  content: ''; position: absolute; z-index: -1;
  width: min(46vw, 520px); aspect-ratio: 1; right: -6%; top: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,140,.55) 0%, rgba(233,161,60,.28) 38%, transparent 66%);
  animation: sol 12s ease-in-out infinite;
}
@keyframes sol {
  0%, 100% { transform: scale(1);    opacity: .85; }
  50%      { transform: scale(1.07); opacity: 1; }
}

.hero .wrap {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(96px, 12vw, 150px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px; border-radius: var(--r-pill);
  background: rgba(233,161,60,.16); border: 1px solid rgba(233,161,60,.42);
  color: #ffd79a; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px;
}
.hero__badge span:first-child {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sol); animation: pulse 2.4s infinite;
}
.hero h1 {
  color: #fff; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -.035em;
  text-shadow: 0 2px 24px rgba(29,18,11,.45);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffd08a, #f0813f);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p {
  margin-top: 20px; color: #e6d3bd; font-size: clamp(16px, 1.5vw, 18.5px);
  max-width: 56ch; line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px);
  margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,214,160,.25);
}
.hero__stat strong {
  display: block; font-family: 'Archivo', sans-serif; font-size: clamp(24px, 3vw, 32px);
  font-weight: 800; color: #fff; letter-spacing: -.03em;
}
.hero__stat span { font-size: 13px; color: #c3ac93; }

/* ---------- Horizonte: dunas, vía y tren cruzando la pampa ----------
   Se usa al pie de la portada y de las cabeceras internas.            */
.horizonte {
  --h-dunas: clamp(72px, 9vw, 120px);   /* alto de la duna delantera */
  --y-via:   calc(var(--h-dunas) * .60);  /* la vía descansa sobre la arena */
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: calc(var(--h-dunas) + 60px);
  pointer-events: none; overflow: hidden;
}
/* dunas: se pintan del color de la seccion siguiente para fundirse con ella */
.horizonte__dunas {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: var(--h-dunas);
}
.horizonte__dunas .duna-lejana { fill: rgba(255, 226, 190, .14); }
.horizonte__dunas .duna-cerca  { fill: var(--arena-50); }
/* la vía sobre la que corre el tren */
.horizonte__via {
  position: absolute; left: 0; right: 0;
  bottom: var(--y-via); height: 5px;
  background:
    linear-gradient(rgba(255,214,160,.45), rgba(255,214,160,.45)) 0 0 / 100% 1.5px repeat-x,
    repeating-linear-gradient(90deg, rgba(255,214,160,.24) 0 5px, transparent 5px 16px);
}
.tren {
  position: absolute; bottom: calc(var(--y-via) + 2px);
  width: clamp(230px, 30vw, 430px); height: auto;
  color: var(--noche-900); opacity: .95;
  transform: translateX(14%);
}
.tren--anda { animation: cruzar 54s linear infinite; }
@keyframes cruzar {
  from { transform: translateX(-40%); }
  to   { transform: translateX(140%); }
}

/* Carrusel de anuncios */
.slider {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(165deg, rgba(58,34,20,.92), rgba(24,15,9,.96));
  border: 1px solid rgba(233,161,60,.28);
  box-shadow: var(--shadow-lg);
}
.slider__track { position: relative; min-height: 340px; }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  gap: 16px; padding: clamp(28px, 4vw, 44px);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide__tag {
  align-self: flex-start; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--cobre); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.slide h2 { color: #fff; font-size: clamp(20px, 2.5vw, 27px); line-height: 1.22; }
.slide p { color: #d8c3ab; font-size: 15.5px; }
.slide a.slide__link {
  align-self: flex-start; margin-top: 6px; color: var(--sol);
  font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
}
.slide a.slide__link:hover { color: #fff; }
.slide a.slide__link svg { transition: transform .3s var(--ease); }
.slide a.slide__link:hover svg { transform: translateX(4px); }

.slider__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(28px, 4vw, 44px); border-top: 1px solid rgba(233,161,60,.20);
  background: rgba(20,12,7,.45);
}
.slider__dots { display: flex; gap: 8px; }
.slider__dots button {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,235,210,.30);
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.slider__dots button[aria-selected="true"] { background: var(--sol); width: 26px; border-radius: 5px; }
.slider__arrows { display: flex; gap: 8px; }
.slider__arrows button {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,235,210,.25); color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.slider__arrows button:hover { background: var(--sol); border-color: var(--sol); color: var(--noche); }

/* ---------- 7. Accesos directos ---------- */
.accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.acceso {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.acceso::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--cobre), var(--sol));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.acceso:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--arena-300); }
.acceso:hover::before { transform: scaleX(1); }
.acceso__img { aspect-ratio: 2 / 1; background: var(--arena-100); overflow: hidden; }
.acceso__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.acceso:hover .acceso__img img { transform: scale(1.05); }
.acceso__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acceso__body h3 { font-size: 17px; }
.acceso__body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.acceso__go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-weight: 700; font-size: 14px; color: var(--cobre-600);
}
.acceso__go svg { transition: transform .3s var(--ease); }
.acceso:hover .acceso__go svg { transform: translateX(4px); }

/* ---------- 8. Noticias ---------- */
.noticias { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.noticia {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.noticia:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.noticia__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--arena-100); }
.noticia__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.noticia:hover .noticia__media img { transform: scale(1.06); }
.noticia__media--sin-foto {
  display: grid; place-items: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(233,161,60,.22), transparent 60%),
    linear-gradient(160deg, var(--tierra-700), var(--noche));
  color: rgba(255,226,190,.38);
}
.noticia__date {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; padding: 8px 10px; border-radius: 12px;
  background: rgba(29,18,11,.88); color: #fff;
  font-family: 'Archivo', sans-serif; line-height: 1.05;
}
.noticia__date strong { font-size: 20px; font-weight: 800; }
.noticia__date span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sol); }
.noticia__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.chip {
  align-self: flex-start; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--cobre-100); color: var(--cobre-600);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.chip--cielo { background: var(--cielo-100); color: var(--cielo-700); }
.noticia__body h3 { font-size: 18.5px; line-height: 1.28; }
.noticia__body h3 a { color: inherit; }
.noticia__body h3 a:hover { color: var(--cobre-600); }
.noticia__body p { color: var(--muted); font-size: 15px; flex: 1; }
.noticia__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-weight: 700; font-size: 14.5px; color: var(--cobre-600);
}
.noticia__more svg { transition: transform .3s var(--ease); }
.noticia:hover .noticia__more svg { transform: translateX(4px); }

.noticia--destacada { grid-column: 1 / -1; flex-direction: row; }
.noticia--destacada .noticia__media { flex: 1 1 52%; aspect-ratio: auto; min-height: 320px; }
.noticia--destacada .noticia__body { flex: 1 1 48%; justify-content: center; padding: clamp(24px, 3vw, 40px); }
.noticia--destacada .noticia__body h3 { font-size: clamp(21px, 2.4vw, 29px); }

/* Paginacion */
.paginacion { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.paginacion a, .paginacion span {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700; font-size: 14.5px;
  border: 1px solid var(--line); color: var(--tierra-700); background: var(--paper);
  transition: all .25s var(--ease);
}
.paginacion a:hover { border-color: var(--cobre); background: var(--cobre); color: #fff; }
.paginacion .is-current { background: var(--cobre); border-color: var(--cobre); color: #fff; }
.paginacion .dots { border: 0; background: none; }

/* ---------- 9. Cabecera de paginas internas ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(90% 140% at 88% -10%, rgba(233,161,60,.30) 0%, transparent 58%),
    linear-gradient(168deg, #4a2c18 0%, var(--noche) 58%, var(--noche-900) 100%);
  color: #fff;
}
/* estratos del cerro al fondo */
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .28;
  background:
    linear-gradient(transparent 62%, rgba(255,214,150,.14) 62.4%, transparent 63%),
    linear-gradient(transparent 74%, rgba(255,214,150,.10) 74.4%, transparent 75%),
    linear-gradient(transparent 86%, rgba(255,214,150,.08) 86.4%, transparent 87%);
}
.page-hero .wrap { padding-block: clamp(40px, 6vw, 76px) clamp(104px, 13vw, 168px); }
.page-hero h1 { color: #fff; font-size: clamp(29px, 4.4vw, 48px); }
.page-hero p { margin-top: 14px; color: #e0cdb6; max-width: 66ch; font-size: 17px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 18px; }
.breadcrumb a { color: #bfa88e; }
.breadcrumb a:hover { color: var(--sol); }
.breadcrumb span { color: #8d7660; }
.breadcrumb .is-current { color: var(--sol); font-weight: 600; }

/* ---------- 9b. Noticia completa ---------- */
.page-hero .chip { background: rgba(233,161,60,.18); color: var(--sol); margin-bottom: 14px; }
.not-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,214,160,.20);
}
.not-fecha {
  display: inline-flex; align-items: center; gap: 8px;
  color: #d3bda3; font-size: 14.5px; font-weight: 600;
}
.not-fecha svg { color: var(--sol); }
.not-compartir {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,235,210,.28); color: #fff;
  font-size: 14px; font-weight: 600;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.not-compartir:hover { background: var(--sol); border-color: var(--sol); color: var(--noche); }

.not-portada {
  margin: 0 0 clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.not-portada img { width: 100%; height: auto; display: block; }

.not-galeria { margin-top: clamp(40px, 6vw, 64px); }
.not-galeria h2 {
  font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--arena-200);
}
.not-galeria__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px;
}
.not-foto {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--arena-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.not-foto:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.not-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.not-foto:hover img { transform: scale(1.06); }


.not-vecinas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--line);
}
.not-vecina {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.not-vecina:hover { border-color: var(--cobre-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.not-vecina span {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cobre-600);
}
.not-vecina strong {
  font-family: 'Archivo', sans-serif; font-size: 15.5px; line-height: 1.35; color: var(--noche);
}
.not-vecina--der { text-align: right; grid-column: 2; }
.not-volver { margin-top: 36px; display: flex; justify-content: center; }

.not-estado { min-height: 46svh; display: grid; place-items: center; }
.not-cargando {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 15.5px; font-weight: 600;
}
.not-rueda {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2.5px solid var(--arena-300); border-top-color: var(--cobre);
  animation: girar .8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .not-vecinas { grid-template-columns: 1fr; }
  .not-vecina--der { text-align: left; grid-column: 1; }
  .not-galeria__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ---------- 10. Contenido de texto ---------- */
.prose { font-size: 16.5px; line-height: 1.8; color: #40301f; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(21px, 2.6vw, 28px); margin-top: 2em; }
.prose h3 { font-size: clamp(18px, 2vw, 21px); margin-top: 1.7em; color: var(--cobre-600); }
.prose strong { color: var(--noche); }
.prose ol, .prose ul { padding-left: 1.4rem; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--cobre); font-weight: 700; }
.prose__boton { margin-top: 1.8em; }
.prose blockquote {
  border-left: 4px solid var(--cobre); padding: 6px 0 6px 22px;
  color: var(--tierra-700); font-size: 17.5px; font-style: italic;
}
.prose .articulo { font-family: 'Archivo', sans-serif; font-weight: 800; color: var(--cobre-600); }

/* Layout con indice lateral */
.layout-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--arena-100); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
}
.toc h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--cobre-600); margin-bottom: 14px; }
.toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: block; padding: 8px 12px; border-radius: 9px; font-size: 14.5px;
  font-weight: 600; color: var(--tierra-700); border-left: 3px solid transparent;
  transition: all .25s var(--ease);
}
.toc a:hover, .toc a.is-active { background: var(--paper); border-left-color: var(--cobre); color: var(--cobre-600); }

/* Tarjeta de aviso */
.aviso {
  display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r);
  background: var(--sol-100); border: 1px solid rgba(233,161,60,.38);
}
.aviso__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sol); color: var(--noche);
}
.aviso h3 { font-size: 16.5px; margin-bottom: 4px; }
.aviso p { font-size: 15px; color: #6a563e; }
.aviso--cielo { background: var(--cielo-100); border-color: #b9dde4; }
.aviso--cielo .aviso__icon { background: var(--cielo); color: #fff; }
.aviso--cielo p { color: #40555a; }

/* ---------- 11. Grillas de tarjetas ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }

/* Beneficios */
.beneficio {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.beneficio:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--arena-300); }
.beneficio img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--arena-100); }
.beneficio__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.beneficio__body h3 { font-size: 16.5px; }
.beneficio__body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.beneficio__ir {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-weight: 700; font-size: 13.5px; color: var(--cobre-600);
}
.beneficio__ir svg { transition: transform .3s var(--ease); }
.beneficio:hover .beneficio__ir svg { transform: translateX(3px); }

/* Presentación del beneficio, antes de las láminas */
.beneficio-intro {
  max-width: 74ch; margin-bottom: clamp(32px, 5vw, 52px);
  font-size: 17px; line-height: 1.75; color: #40301f;
}
.beneficio-intro p + p { margin-top: 1em; }
.beneficio-intro strong { color: var(--noche); }
.beneficio-intro .btn { margin-top: 24px; }
.beneficio-intro small {
  display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted);
}

/* Documentos */
.doc {
  display: flex; gap: 18px; align-items: center; padding: 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cobre-300); }
.doc img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; background: var(--arena-100); }
.doc__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.doc__body h3 { font-size: 16.5px; }
.doc__body p { font-size: 14px; color: var(--muted); }
.doc__ir {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-weight: 700; font-size: 13.5px; color: var(--cobre-600);
}
.doc__ir svg { transition: transform .3s var(--ease); }
.doc:hover .doc__ir svg { transform: translateX(3px); }

/* Hojas de documentos escaneados */
.hojas { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.hoja {
  margin: 0; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.hoja:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--cobre-300); }
.hoja > a {
  display: block; position: relative; background: var(--arena-100);
  border-bottom: 1px solid var(--line);
}
/* la hoja se recorta arriba: se muestra el encabezado, que es lo que identifica al documento */
.hoja > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(transparent, rgba(255,253,249,.9));
  pointer-events: none;
}
.hoja img {
  width: 100%; height: 330px; object-fit: cover; object-position: top center;
  display: block; transition: transform .6s var(--ease);
}
.hoja:hover img { transform: scale(1.03); }
.hoja figcaption { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hoja figcaption h3 { font-size: 17px; line-height: 1.3; }
.hoja figcaption p { font-size: 14.5px; color: var(--muted); }
/* ficha que solo tiene pie de foto: el texto es el protagonista */
.hoja figcaption p:only-child { font-size: 15.5px; font-weight: 600; color: var(--noche); }
/* aviso de que la imagen se abre en grande */
.hoja figcaption::after {
  content: 'Toca para leerlo completo';
  margin-top: auto; padding-top: 10px;
  font-size: 12.5px; font-weight: 700; color: var(--cobre-600);
}

@media (max-width: 620px) {
  .hoja img { height: 260px; }
}

/* Galerias: postales del desierto */
.galeria {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 195px; padding: 20px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(158deg, var(--tierra-700) 0%, var(--noche) 78%);
  color: #fff; border: 1px solid rgba(233,161,60,.18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.galeria:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
/* sol y duna dentro de cada tarjeta */
.galeria::before {
  content: ''; position: absolute; right: -18px; top: -18px;
  width: 118px; height: 118px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,206,138,.42), transparent 68%);
  transition: transform .5s var(--ease);
}
.galeria::after {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: -34px; height: 82px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: rgba(255,214,160,.10);
}
.galeria:hover::before { transform: scale(1.18); }
.galeria__icon {
  position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,235,210,.12); border: 1px solid rgba(255,235,210,.22); margin-bottom: auto;
}
.galeria h3 { position: relative; color: #fff; font-size: 17px; margin-top: 16px; }
.galeria span { position: relative; font-size: 13px; color: #d3bda3; }

/* Directiva: la foto completa del directorio, a lo ancho */
.directiva-foto {
  margin: 0 auto;
  max-width: 1000px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.directiva-foto img { width: 100%; height: auto; display: block; }

/* Tarjeta individual de un directivo (sin uso hoy: la directiva se
   muestra en una sola foto, pero queda por si se quieren tarjetas) */
.directivo {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.directivo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.directivo__photo {
  aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(158deg, var(--tierra-700), var(--noche));
}
.directivo__photo img { width: 100%; height: 100%; object-fit: cover; }
.directivo__photo svg { color: rgba(255,226,190,.35); }
.directivo__body { padding: 18px 18px 22px; }
.directivo__cargo {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 10px;
  background: var(--cobre); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.directivo__body h3 { font-size: 17px; }
.directivo__body p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Multimedia */
.video {
  border-radius: var(--r); overflow: hidden; border: 1px solid rgba(233,161,60,.20);
  background: var(--noche-900); box-shadow: var(--shadow);
}
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video__caption { padding: 14px 18px; font-size: 14.5px; font-weight: 600; color: #e3d3bf; }

/* ---------- 12. Franja de la pampa ---------- */
.franja {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(60px, 9vw, 120px);
  background-image:
    linear-gradient(100deg, rgba(29,18,11,.90) 6%, rgba(120,58,26,.62) 52%, rgba(233,161,60,.34) 100%),
    url('../img/desierto.jpg');
  background-size: cover;
  background-position: center 62%;
  background-attachment: fixed;
  color: #fff; text-align: center;
}
.franja h2 { color: #fff; font-size: clamp(26px, 4vw, 44px); max-width: 20ch; margin-inline: auto; }
.franja p { color: #e6d3bd; margin-top: 18px; font-size: 17.5px; max-width: 60ch; margin-inline: auto; }
.franja__cifras {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px; margin-top: 48px;
}
.franja__cifra strong {
  display: block; font-family: 'Archivo', sans-serif; font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(100deg, #ffd08a, #f0813f);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.franja__cifra span { font-size: 14px; color: #d8c3ab; }

/* ---------- 13. Formulario ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--noche); }
.field input, .field textarea, .field select {
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--arena-300);
  background: var(--paper); font-size: 15.5px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cobre); box-shadow: 0 0 0 4px rgba(192,86,42,.12);
}
.field small { font-size: 12.5px; color: var(--muted); }
.form__nota { font-size: 13.5px; color: var(--muted); }

/* campo trampa: invisible para las personas, visible para los robots */
.ad-trampa {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* resultado del envio del formulario */
.form__aviso {
  padding: 13px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent;
}
.form__aviso--ok     { background: #e7f5ef; border-color: #b6ddcc; color: #14614a; }
.form__aviso--error  { background: #fdeceb; border-color: #f3c2bd; color: #8f2018; }
.form__aviso--espera { background: var(--arena-100); border-color: var(--arena-300); color: var(--muted); }

.contacto-info { display: flex; flex-direction: column; gap: 14px; }
.contacto-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.contacto-item__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cobre-100); color: var(--cobre-600);
}
.contacto-item h3 { font-size: 15px; margin-bottom: 3px; }
.contacto-item p, .contacto-item a { font-size: 14.5px; color: var(--muted); }
.contacto-item a:hover { color: var(--cobre-600); }

/* ---------- 14. Franja CTA ---------- */
.cta-band {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(112deg, var(--tierra-700) 0%, var(--noche) 62%);
  padding: clamp(32px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 130% at 92% 0%, rgba(233,161,60,.30), transparent 62%);
}
/* riel de fondo en la franja */
.cta-band::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: -1;
  background:
    linear-gradient(rgba(233,161,60,.35), rgba(233,161,60,.35)) 0 1px / 100% 2px repeat-x,
    linear-gradient(rgba(233,161,60,.35), rgba(233,161,60,.35)) 0 7px / 100% 2px repeat-x,
    repeating-linear-gradient(90deg, rgba(233,161,60,.28) 0 6px, transparent 6px 22px);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); }
.cta-band p { color: #e0cdb6; margin-top: 10px; max-width: 52ch; }

/* ---------- 15. Pie ---------- */
.footer {
  position: relative;
  background:
    radial-gradient(70% 100% at 12% 0%, rgba(103,60,30,.45) 0%, transparent 60%),
    linear-gradient(180deg, var(--noche) 0%, var(--noche-900) 100%);
  color: #b49b81; padding-top: clamp(52px, 6vw, 76px);
}
.footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background:
    linear-gradient(rgba(233,161,60,.5), rgba(233,161,60,.5)) 0 1px / 100% 2px repeat-x,
    linear-gradient(rgba(233,161,60,.5), rgba(233,161,60,.5)) 0 7px / 100% 2px repeat-x,
    repeating-linear-gradient(90deg, rgba(233,161,60,.4) 0 6px, transparent 6px 22px);
  opacity: .5;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px);
  padding-bottom: 44px;
}
.footer h3 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #b49b81; font-size: 14.5px; }
.footer a:hover { color: var(--sol); }
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--sol); background: #fff; }
.footer__brand strong { color: #fff; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.25; display: block; }
.footer__brand span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sol); }
.footer__desc { font-size: 14.5px; line-height: 1.7; max-width: 42ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,235,210,.07); border: 1px solid rgba(255,235,210,.12);
  transition: all .25s var(--ease);
}
.footer__social a:hover { background: var(--sol); color: var(--noche); border-color: var(--sol); transform: translateY(-3px); }
.footer__legal {
  border-top: 1px solid rgba(255,235,210,.12); padding-block: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 13.5px;
}
.footer__legal p { max-width: 70ch; }

/* Volver arriba */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cobre); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--noche); color: var(--sol); }

/* ---------- 16. Animacion de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero .wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .layout-doc { grid-template-columns: 1fr !important; }
  .toc { position: static; }
  .noticia--destacada { flex-direction: column; }
  .noticia--destacada .noticia__media { min-height: 240px; }
  .topbar__links { display: none; }
  /* el fondo fijo se ve mal en iOS */
  .franja { background-attachment: scroll; }
}
@media (max-width: 620px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 13.5px; max-width: 190px; }
  .slider__track { min-height: 300px; }
  .doc { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ---------- 18. Accesibilidad e impresion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .horizonte .tren { transform: translateX(28%); }
}

@media print {
  .topbar, .header, .drawer, .to-top, .slider__nav, .cta-band, .footer__social, .horizonte { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
