/* ==========================================================================
   sanantoniodeprado.org
   Palette derived from the parish church itself:
     piedra  — the grey-cream ashlar of the facade
     oxido   — the oxblood banding on the tower and rooflines
     oro     — the gilt arcading inside the nave
     verde   — the green stone of the main porch arch, echoed in the
               teal roof trim of the mural walls on the calle
     sol     — sunflower ochre from the campo mural (neighbourhood only)
   ========================================================================== */

:root {
  --piedra:      #e8e4dc;
  --piedra-alta: #f3f1ec;
  --piedra-baja: #d6d1c6;
  --oxido:       #8e2b24;
  --oxido-osc:   #6b1f19;
  --oro:         #b08a3e;
  --oro-claro:   #d4b271;
  --verde:       #2e6b62;
  --verde-osc:   #1e4a44;
  --sol:         #d9a02b;
  --tinta:       #23201c;
  --tinta-suave: #55504a;
  --tinta-tenue: #67625a;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ancho: 1180px;
  --ancho-texto: 68ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --paso: clamp(3.5rem, 8vw, 6.5rem);
  --radio: 3px;

  --sombra: 0 1px 2px rgba(35, 32, 28, .06), 0 8px 24px -12px rgba(35, 32, 28, .18);
  --sombra-alta: 0 2px 4px rgba(35, 32, 28, .08), 0 24px 48px -20px rgba(35, 32, 28, .32);

  --tono: var(--oxido); /* section accent — swapped to --verde on barrio pages */
}

/* Neighbourhood pages run warmer and greener than parish pages. */
body[data-tono="barrio"] { --tono: var(--verde); }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--piedra);
  color: var(--tinta);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--oro-claro); color: var(--tinta); }

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

.saltar {
  position: absolute; left: -9999px;
  background: var(--tinta); color: var(--piedra-alta);
  padding: .75rem 1.25rem; z-index: 200; text-decoration: none;
}
.saltar:focus { left: 1rem; top: 1rem; }

/* ---------- type scale ------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.plomo { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--tinta-suave); }

/* The eyebrow is set in the display italic — it reads as an aside in the
   voice of the page rather than a system label. */
.rotulo {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--tono);
  margin: 0 0 .6rem;
  display: block;
}

.dato {
  font-family: var(--body);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinta-tenue);
}

/* ---------- crenellation ------------------------------------------------
   The tower's merlons, reduced to a rule. Used as the section divider so
   every page carries a trace of the building the town is known for.       */

.almena {
  height: 15px;
  border: 0;
  margin: 0;
  color: var(--piedra-baja);
  background:
    repeating-linear-gradient(to right,
      currentColor 0 22px, transparent 22px 40px) top left / 100% 10px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 100% 3px no-repeat;
}
.almena--tono { color: var(--tono); opacity: .55; }

/* ---------- layout ----------------------------------------------------- */

.envoltura { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.estrecha { max-width: 780px; }
.seccion { padding-block: var(--paso); }
.seccion--osc { background: var(--tinta); color: var(--piedra-alta); }
.seccion--osc .plomo,
.seccion--osc .dato { color: rgba(243, 241, 236, .68); }
.seccion--osc .rotulo { color: var(--oro-claro); }
.seccion--piedra { background: var(--piedra-alta); }

.cabecera-seccion { max-width: 60ch; margin-bottom: 2.75rem; }

/* ---------- nav -------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(232, 228, 220, .93);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--piedra-baja);
}
.nav__interior {
  display: flex; align-items: center; gap: 1rem;
  min-height: 66px;
  max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter);
}
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.marca svg { width: 26px; height: 34px; flex: none; }
.marca__texto { display: flex; flex-direction: column; line-height: 1.05; }
.marca__nombre { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.marca__sub { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: var(--tinta-tenue); font-weight: 600; }

.nav__enlaces { display: flex; align-items: center; gap: .25rem; }
.nav__enlaces a {
  text-decoration: none;
  font-size: .875rem; font-weight: 500;
  padding: .5rem .7rem; border-radius: var(--radio);
  color: var(--tinta-suave);
  transition: color .18s, background-color .18s;
  white-space: nowrap;
}
.nav__enlaces a:hover { color: var(--tinta); background: rgba(142, 43, 36, .07); }
.nav__enlaces a[aria-current="page"] { color: var(--oxido); font-weight: 700; }

.idioma {
  font-family: var(--body); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: var(--tinta-suave);
  border: 1px solid var(--piedra-baja); border-radius: 100px;
  padding: .4rem .8rem; cursor: pointer; margin-left: .4rem;
  transition: border-color .18s, color .18s;
}
.idioma:hover { border-color: var(--oxido); color: var(--oxido); }

.hamburguesa {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .5rem; color: var(--tinta); margin-left: .25rem;
}
.hamburguesa svg { width: 24px; height: 24px; }

@media (max-width: 940px) {
  .hamburguesa { display: block; }
  .nav__enlaces {
    position: fixed; inset: 66px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--piedra-alta);
    border-bottom: 1px solid var(--piedra-baja);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: var(--sombra-alta);
    display: none;
  }
  .nav__enlaces.abierto { display: flex; }
  .nav__enlaces a { padding: .85rem .25rem; border-bottom: 1px solid var(--piedra-baja); font-size: 1rem; }
  .idioma { margin: 1rem 0 0; align-self: flex-start; }
}

/* ---------- hero ------------------------------------------------------- */

.hero { position: relative; background: var(--tinta); overflow: hidden; }
.hero__medio { position: absolute; inset: 0; }
.hero__medio img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,32,28,.42) 0%, rgba(35,32,28,.18) 38%, rgba(35,32,28,.82) 78%, rgba(35,32,28,.93) 100%);
}
.hero__interior {
  position: relative; z-index: 2;
  max-width: var(--ancho); margin-inline: auto; padding: clamp(5rem, 15vh, 9rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  color: var(--piedra-alta);
  min-height: min(78vh, 680px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: .35em; }
.hero .rotulo { color: var(--oro-claro); }
.hero__plomo { max-width: 54ch; font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: rgba(243,241,236,.9); line-height: 1.55; }
.hero__pie {
  margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(243,241,236,.22);
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline;
}
.hero__pie .dato { color: rgba(243,241,236,.6); }
.hero__pie strong { font-family: var(--display); font-size: 1.35rem; font-weight: 500; display: block; color: #fff; }

.hero--interior .hero__interior { min-height: min(46vh, 400px); }
.hero--interior h1 { max-width: 20ch; }

/* ---------- the two doors --------------------------------------------- */

.puertas { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 780px) { .puertas { grid-template-columns: 1fr; } }

.puerta {
  position: relative; display: block; text-decoration: none; color: var(--piedra-alta);
  min-height: clamp(360px, 52vh, 520px);
  overflow: hidden; isolation: isolate;
}
.puerta img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.puerta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(35,32,28,.15) 0%, rgba(35,32,28,.82) 100%);
  transition: background .4s;
}
.puerta:nth-child(1)::before { background: linear-gradient(180deg, rgba(107,31,25,.28) 0%, rgba(35,32,28,.86) 100%); }
.puerta:nth-child(2)::before { background: linear-gradient(180deg, rgba(30,74,68,.28) 0%, rgba(35,32,28,.86) 100%); }
.puerta:hover img, .puerta:focus-visible img { transform: scale(1.045); }
.puerta__cuerpo { position: relative; padding: clamp(1.75rem, 4vw, 2.75rem); margin-top: auto; }
.puerta { display: flex; flex-direction: column; justify-content: flex-end; }
.puerta h3 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: #fff; margin-bottom: .35em; }
.puerta p { color: rgba(243,241,236,.82); max-width: 34ch; font-size: .98rem; }
.puerta__flecha {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--oro-claro);
}
.puerta__flecha span { transition: transform .3s; }
.puerta:hover .puerta__flecha span { transform: translateX(5px); }

/* ---------- altitude spine (signature) ---------------------------------
   San Antonio de Prado is a vertical place: 1.700 m at the Itagüí line,
   3.100 m at the altos. Places are positioned on this rule by their real
   elevation, so the reading order *is* the climb.                        */

.cota { position: relative; margin-top: 3rem; }
.cota__regla {
  position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--oxido) 0%, var(--sol) 52%, var(--verde) 100%);
}
.cota__lista { list-style: none; margin: 0; padding: 0 0 0 clamp(3.5rem, 8vw, 6rem); }
.cota__item { position: relative; padding-block: 1.6rem 1.9rem; border-bottom: 1px solid var(--piedra-baja); }
/* Spacing grows with the climb: the gaps between the anchors are not equal
   on the ground, and they should not look equal here either. */
.cota__item:nth-child(2) { padding-bottom: 2.6rem; }
.cota__item:nth-child(3) { padding-bottom: 3.6rem; }
.cota__item:nth-child(4) { padding-bottom: 1rem; }
.cota__item:last-child { border-bottom: 0; }
.cota__item::before {
  content: ""; position: absolute;
  left: calc(clamp(3.5rem, 8vw, 6rem) * -1); top: 3.1rem;
  width: clamp(1.6rem, 4vw, 2.6rem); height: 2px; background: var(--piedra-baja);
}
.cota__item::after {
  content: ""; position: absolute;
  left: calc(clamp(3.5rem, 8vw, 6rem) * -1 - 5px); top: 2.65rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--tono); box-shadow: 0 0 0 4px var(--piedra);
}
.cota__altura {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500; line-height: 1;
  letter-spacing: -.01em;
  color: var(--tono); display: block; margin-bottom: .45rem;
}
.cota__item h3 { margin-bottom: .3rem; }
.cota__item p { color: var(--tinta-suave); font-size: .97rem; max-width: 62ch; }

@media (max-width: 620px) {
  .cota__lista { padding-left: 2.25rem; }
  .cota__item::before { left: -2.25rem; width: 1.1rem; }
  .cota__item::after { left: -2.75rem; }
}

/* ---------- cards ------------------------------------------------------ */

.rejilla { display: grid; gap: 1.5rem; }
.rejilla--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rejilla--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

.ficha {
  background: var(--piedra-alta);
  border: 1px solid var(--piedra-baja);
  border-radius: var(--radio);
  padding: 1.6rem 1.5rem;
  border-top: 3px solid var(--tono);
}
.ficha h3 { font-size: 1.28rem; }
.ficha p { color: var(--tinta-suave); font-size: .97rem; }
.ficha p:last-child { margin-bottom: 0; }

.ficha-foto {
  background: var(--piedra-alta);
  border: 1px solid var(--piedra-baja);
  border-radius: var(--radio);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ficha-foto img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ficha-foto__cuerpo { padding: 1.35rem 1.4rem 1.5rem; }
.ficha-foto h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.ficha-foto p { font-size: .94rem; color: var(--tinta-suave); margin: 0; }

/* ---------- mass times ------------------------------------------------- */

.horario {
  background: var(--piedra-alta);
  border: 1px solid var(--piedra-baja);
  border-radius: var(--radio);
  overflow: hidden;
}
.horario__fila {
  display: grid; grid-template-columns: 8.5rem 1fr;
  gap: 1rem; align-items: baseline;
  padding: .95rem 1.35rem;
  border-bottom: 1px solid var(--piedra-baja);
}
.horario__fila:last-child { border-bottom: 0; }
.horario__fila--hoy { background: rgba(176, 138, 62, .13); box-shadow: inset 3px 0 0 var(--oro); }
.horario__dia { font-weight: 700; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--tinta-suave); }
.horario__fila--hoy .horario__dia { color: var(--oxido); }
.horario__horas { font-family: var(--display); font-size: 1.16rem; letter-spacing: .01em; }
.horario__marca {
  display: inline-block; margin-left: .55rem; vertical-align: middle;
  font-family: var(--body); font-size: .6rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--oro); color: #fff; padding: .2rem .45rem; border-radius: 2px;
}
@media (max-width: 560px) {
  .horario__fila { grid-template-columns: 1fr; gap: .15rem; padding: .85rem 1.1rem; }
}

/* ---------- data strip ------------------------------------------------- */

.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--piedra-baja); border: 1px solid var(--piedra-baja); border-radius: var(--radio); overflow: hidden; }
.cifra { background: var(--piedra-alta); padding: 1.4rem 1.35rem; }
.cifra strong { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 500; line-height: 1; color: var(--tono); margin-bottom: .4rem; }
.cifra span { font-size: .82rem; color: var(--tinta-suave); line-height: 1.35; display: block; }
.seccion--osc .cifras { background: rgba(243,241,236,.18); border-color: rgba(243,241,236,.18); }
.seccion--osc .cifra { background: #2c2823; }
.seccion--osc .cifra strong { color: var(--oro-claro); }
.seccion--osc .cifra span { color: rgba(243,241,236,.66); }

/* ---------- timeline --------------------------------------------------- */

.hitos { list-style: none; margin: 0; padding: 0; }
.hito { display: grid; grid-template-columns: 6.5rem 1fr; gap: clamp(1rem, 3vw, 2.25rem); padding-block: 1.5rem; border-top: 1px solid var(--piedra-baja); }
.hito:last-child { border-bottom: 1px solid var(--piedra-baja); }
.hito__anio { font-family: var(--display); font-size: 1.7rem; font-weight: 500; color: var(--tono); line-height: 1; padding-top: .1rem; }
.hito h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.hito p { font-size: .97rem; color: var(--tinta-suave); margin: 0; }
@media (max-width: 560px) { .hito { grid-template-columns: 1fr; gap: .35rem; } }

/* ---------- gallery ---------------------------------------------------- */

/* True masonry via CSS columns — the photographs are a mix of portrait and
   landscape, and forcing them all to one ratio crops the towers off. */
.galeria { column-count: 3; column-gap: 1.25rem; }
.galeria figure {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 1.25rem;
  display: inline-block; width: 100%;
  background: var(--piedra-alta);
  border: 1px solid var(--piedra-baja);
  border-radius: var(--radio);
  overflow: hidden;
}
.galeria img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.galeria figure:hover img { transform: scale(1.03); }
.galeria figcaption { padding: .95rem 1.15rem 1.15rem; font-size: .9rem; color: var(--tinta-suave); }
.galeria figcaption b {
  display: block; font-family: var(--display); font-size: 1.05rem;
  font-weight: 600; color: var(--tinta); margin-bottom: .18rem;
}
@media (max-width: 900px) { .galeria { column-count: 2; } }
@media (max-width: 560px) { .galeria { column-count: 1; } }

/* ---------- buttons ---------------------------------------------------- */

.boton {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--oxido); color: var(--piedra-alta);
  font-family: var(--body); font-size: .9rem; font-weight: 600;
  padding: .85rem 1.5rem; border: 1px solid var(--oxido);
  border-radius: var(--radio); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.boton:hover { background: var(--oxido-osc); border-color: var(--oxido-osc); transform: translateY(-1px); }
.boton--fantasma { background: transparent; color: var(--tinta); border-color: var(--tinta-tenue); }
.boton--fantasma:hover { background: var(--tinta); color: var(--piedra-alta); border-color: var(--tinta); }
.seccion--osc .boton--fantasma { color: var(--piedra-alta); border-color: rgba(243,241,236,.4); }
.seccion--osc .boton--fantasma:hover { background: var(--piedra-alta); color: var(--tinta); }
.botones { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* ---------- forms ------------------------------------------------------ */

.campo { margin-bottom: 1.15rem; }
.campo label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--tinta-suave); margin-bottom: .45rem; }
.campo input, .campo textarea, .campo select {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--tinta);
  background: var(--piedra-alta); border: 1px solid var(--piedra-baja);
  border-radius: var(--radio); padding: .8rem .95rem;
  transition: border-color .18s, box-shadow .18s;
}
.campo input:focus, .campo textarea:focus, .campo select:focus {
  outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(46,107,98,.16);
}
.campo textarea { min-height: 150px; resize: vertical; }
.miel { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- long-form prose -------------------------------------------- */

.prosa { max-width: var(--ancho-texto); }
.prosa h2 { margin-top: 2.5rem; }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { margin-top: 2rem; font-size: 1.25rem; }
.prosa ul, .prosa ol { padding-left: 1.3rem; margin: 0 0 1.15em; }
.prosa li { margin-bottom: .5em; }
.prosa a { color: var(--oxido); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prosa a:hover { color: var(--oxido-osc); }

.aviso {
  border-left: 3px solid var(--oro);
  background: rgba(176,138,62,.1);
  padding: 1.1rem 1.35rem;
  border-radius: 0 var(--radio) var(--radio) 0;
  font-size: .95rem;
  margin: 1.75rem 0;
}
.aviso p:last-child { margin-bottom: 0; }

/* ---------- contact list ----------------------------------------------- */

.contactos { list-style: none; margin: 0; padding: 0; }
.contactos li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--piedra-baja); font-size: .98rem; }
.contactos li:first-child { border-top: 1px solid var(--piedra-baja); }
.contactos a { color: var(--oxido); text-underline-offset: 3px; }
@media (max-width: 520px) { .contactos li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- footer ----------------------------------------------------- */

.pie { background: var(--tinta); color: rgba(243,241,236,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .93rem; }
.pie__rejilla { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 780px) { .pie__rejilla { grid-template-columns: 1fr 1fr; } .pie__marca { grid-column: 1 / -1; } }
@media (max-width: 460px) { .pie__rejilla { grid-template-columns: 1fr; } }
.pie h4 { color: var(--oro-claro); font-family: var(--body); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: .55rem; }
.pie a { color: rgba(243,241,236,.72); text-decoration: none; transition: color .18s; }
.pie a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pie__marca .marca__nombre { color: var(--piedra-alta); font-size: 1.2rem; }
.pie__marca .marca__sub { color: rgba(243,241,236,.5); }
.pie__marca p { margin-top: 1rem; max-width: 40ch; font-size: .9rem; line-height: 1.6; }
.pie__base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(243,241,236,.15); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .82rem; color: rgba(243,241,236,.5); }
.pie__base nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- 404 / thanks ----------------------------------------------- */

.centrada { min-height: 68vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: var(--paso); }
.centrada .plomo { max-width: 46ch; }
.centrada .reloj { width: 74px; height: 96px; margin-bottom: 2rem; }

/* ---------- reveal ----------------------------------------------------- */

/* Content is visible by default. Only once JS has confirmed it can run *and*
   the browser supports IntersectionObserver does it add .js-revelar to <html>,
   which arms the hidden state. If any of that fails the page still reads. */
.js-revelar .revelar {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.js-revelar .revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-revelar .revelar { opacity: 1; transform: none; }
}

@media print {
  .nav, .pie__base nav, .hamburguesa, .idioma { display: none; }
  body { background: #fff; }
  .hero::after, .hero__medio { display: none; }
  .hero__interior { color: #000; min-height: auto; }
  .hero h1 { color: #000; }
}
