/* Artesanos de Palencia — Mercado de Navidad 2026–27
   Tokens pensados para pasar a theme.json (WordPress FSE). */

@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gloock-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gloock-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* color */
  --granate: #5c1414;
  --granate-deep: #430d0d;
  --almagre: #f0745a;
  --cal: #c5d6ee;
  --cal-soft: #dbe6f5;
  --nieve: #eef2f7;
  --tinta: #1f0a0a;
  --tinta-2: #6b3a3a;
  --linea: rgb(92 20 20 / 0.28);
  --linea-claro: rgb(219 230 245 / 0.3);

  /* type */
  --f-display: "Gloock", "Georgia", serif;
  --f-text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 0.4vw + 1rem, 1.3125rem);
  --t-h3: clamp(1.25rem, 0.6vw + 1.05rem, 1.5rem);
  --t-h2: clamp(2.25rem, 3.6vw + 1rem, 4.5rem);
  --t-statement: clamp(1.875rem, 2.6vw + 1rem, 3.5rem);

  /* space */
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: clamp(3.5rem, 6vw, 6rem);
  --s-6: clamp(5rem, 10vw, 9rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  scrollbar-color: var(--granate) var(--cal-soft);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cal);
  color: var(--tinta);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--granate); color: var(--cal); }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font-family: var(--f-display); font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; color: var(--granate); }
h3 { font-family: var(--f-text); font-size: var(--t-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

:focus-visible {
  outline: 3px solid var(--almagre);
  outline-offset: 3px;
}

.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  background: var(--granate); color: var(--cal); padding: 0.75rem 1rem;
}
.skip:focus { top: 1rem; }

/* Temporada: navidad / anual */
[data-season="navidad"] [data-show="anual"],
[data-season="anual"] [data-show="navidad"] { display: none !important; }

/* Iconos */
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; flex: none; }

/* Botones y enlaces */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 3rem; padding: 0.75rem 1.375rem;
  font: 600 1rem/1 var(--f-text); letter-spacing: 0.01em;
  text-decoration: none;
  background: var(--granate); color: var(--cal);
  border: 1px solid var(--granate);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn:hover { background: var(--granate-deep); }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-light { background: var(--cal); color: var(--granate); border-color: var(--cal); }
.btn-light:hover { background: var(--nieve); }

.link, .link-light {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; text-decoration: underline; text-decoration-color: currentColor;
  text-underline-offset: 0.25em; min-height: 2.75rem;
}
.link { color: var(--granate); }
.link-light { color: var(--cal); }
.link:hover, .link-light:hover { text-decoration-thickness: 2px; }

/* Marca AAMP */
.mark { width: 2.75rem; height: 2.75rem; flex: none; --m-ink: var(--granate); --m-paper: var(--cal); }
.m-ink { fill: var(--m-ink); }
.m-line { fill: none; stroke: var(--m-ink); stroke-width: 1.5; }
.m-geo { fill: none; stroke: var(--m-paper); stroke-width: 0.6; opacity: 0.5; }
.m-letter { font-family: var(--f-display); font-size: 40px; text-anchor: middle; }
.m-ink-fill { fill: var(--m-ink); }
.m-paper-fill { fill: var(--m-paper); }

/* Cabecera */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: var(--s-2) var(--gutter);
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--granate); }
.brand-name { font-family: var(--f-display); font-size: 1.125rem; line-height: 1.05; }

.site-nav { display: flex; align-items: center; gap: var(--s-3); }
.site-nav ul { display: flex; gap: var(--s-3); }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--granate); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.6rem) / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.site-nav ul a:hover { background-size: 100% 1px; }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0 0.25rem;
  background: none; border: 0; color: var(--granate);
  font: 600 1rem var(--f-text); cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 1.25rem; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: var(--s-3);
    padding: var(--s-2) var(--gutter) var(--s-4);
    background: var(--cal); border-bottom: 1px solid var(--linea);
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { font-family: var(--f-display); font-size: 1.75rem; min-height: 3.25rem; }
  .site-nav .btn { align-self: flex-start; }
  html:not(.js) .site-nav { display: none; }
}

/* Portada */
.hero { padding: 0 var(--gutter) var(--s-5); }
.wordmark {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 10.9vw, 13rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: var(--granate);
  margin: clamp(0.5rem, 2vw, 1.5rem) 0 0 -0.04em;
  white-space: nowrap;
}
.wordmark-long { font-size: clamp(3rem, 10.1vw, 12rem); }
.hero-sub {
  display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap;
  margin: clamp(1rem, 2vw, 1.75rem) 0 var(--s-2);
  padding-top: 0.75rem; border-top: 1px solid var(--linea);
  font-weight: 600; color: var(--granate); font-size: var(--t-lead);
}

.plate { position: relative; overflow: hidden; background: var(--granate-deep); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 0.4rem 0.75rem;
  background: var(--granate); color: var(--cal);
  font-size: 0.8125rem; font-weight: 500;
}

.hero-plate { height: clamp(16rem, calc(100svh - 27rem), 40rem); }
.hero-plate img { object-position: 50% 62%; }
.hero-plate figcaption { left: auto; right: 0; bottom: auto; top: 0; }

.hero-bar {
  display: grid; grid-template-columns: 1.1fr 1.3fr auto; align-items: center; gap: var(--s-3) var(--s-4);
  padding: var(--s-3) clamp(1.25rem, 2.5vw, 2rem);
  background: var(--granate); color: var(--cal);
}
.status { display: flex; align-items: center; gap: 0.75rem; font-family: var(--f-display); font-size: clamp(1.375rem, 1.2vw + 1rem, 2rem); line-height: 1.1; color: var(--nieve); }
.status-dot { width: 0.7rem; height: 0.7rem; flex: none; border: 1.5px solid var(--almagre); border-radius: 50%; }
.status.is-open .status-dot { background: var(--almagre); box-shadow: 0 0 0 0 rgb(240 116 90 / 0.6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 0.6rem rgb(240 116 90 / 0); } 100% { box-shadow: 0 0 0 0 rgb(240 116 90 / 0); } }

.hero-facts { display: flex; gap: var(--s-4); margin: 0; }
.hero-facts dt { font-size: var(--t-small); color: var(--almagre); font-weight: 600; }
.hero-facts dd { margin: 0.15rem 0 0; font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.hero-lead { font-size: var(--t-lead); max-width: 46ch; color: var(--nieve); grid-column: span 2; }

@media (prefers-reduced-motion: no-preference) {
  .hero-plate img { animation: plate-in 1.4s var(--ease-out) both; }
  @keyframes plate-in { from { clip-path: inset(0 0 100% 0); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: none; } }
  .status.is-open .status-dot { animation: pulse 2.4s var(--ease-out) infinite; }
}
@media (prefers-reduced-motion: reduce) { .status.is-open .status-dot { animation: none; } }

@media (max-width: 1080px) {
  .hero-bar { grid-template-columns: 1fr auto; }
  .hero-facts { grid-column: 1 / -1; grid-row: 2; }
  .hero-lead { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .wordmark { font-size: clamp(3rem, 17.5vw, 7rem); white-space: normal; line-height: 0.9; }
  .wordmark .nowrap { display: block; }
  .wordmark-long { font-size: clamp(2.75rem, 14.5vw, 6rem); }
  .hero-plate { height: clamp(11rem, calc(100svh - 34rem), 24rem); }
  .hero-bar { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-2) var(--s-2) var(--s-3); }
  .hero-facts { grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); font-size: 0.9375rem; }
  .hero-sub { margin-top: 0.75rem; padding-top: 0.5rem; }
  .hero-sub { font-size: 1rem; }
}

/* Manifiesto */
.manifesto {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr); gap: var(--s-4) var(--s-5); align-items: end;
  padding: var(--s-6) var(--gutter);
  background: var(--granate); color: var(--almagre);
}
.manifesto-text { font-family: var(--f-display); font-size: var(--t-statement); line-height: 1.08; letter-spacing: -0.015em; max-width: 24ch; }
.manifesto-text em { font-style: normal; color: var(--cal); }
.manifesto-note { color: var(--cal-soft); max-width: 36ch; padding-top: var(--s-2); border-top: 1px solid var(--linea-claro); }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

/* Secciones */
.section { padding: var(--s-6) var(--gutter); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-5); align-items: end; margin-bottom: var(--s-5); }
.section-head .lead { max-width: 44ch; justify-self: end; }
.section-head-row { align-items: end; }
.section-head-row .link { justify-self: end; }
.lead { font-size: var(--t-lead); color: var(--tinta-2); }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead, .section-head-row .link { justify-self: start; }
}

/* Programa */
.programa-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.agenda { border-top: 1px solid var(--granate); }
.agenda-row {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: var(--s-3); align-items: center;
  padding: var(--s-3) 0; border-bottom: 1px solid var(--linea);
  position: relative;
  transition: opacity 0.3s;
}
.agenda-date { display: flex; flex-direction: column; color: var(--granate); }
.agenda-date .d { font-family: var(--f-display); font-size: 3rem; line-height: 0.9; font-variant-numeric: tabular-nums; }
.agenda-date .m { font-size: var(--t-small); font-weight: 600; margin-top: 0.3rem; }
.agenda-what p { color: var(--tinta-2); margin-top: 0.25rem; }
.agenda-time { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; color: var(--granate); }
.agenda-row.is-past { opacity: 0.62; }
.agenda-row.is-past .agenda-what h3::after { content: " · ya fue"; font-weight: 500; font-size: var(--t-small); color: var(--tinta-2); }
.agenda-row.is-next {
  background: var(--granate); color: var(--cal);
  padding-inline: var(--s-2);
  border-bottom-color: var(--granate);
}
.agenda-row.is-next .agenda-date, .agenda-row.is-next .agenda-time { color: var(--almagre); }
.agenda-row.is-next .agenda-what p { color: var(--cal-soft); }
.agenda-flag {
  display: inline-block; margin-left: 0.6rem; padding: 0.15rem 0.5rem; vertical-align: 0.15em;
  border: 1px solid var(--almagre); color: var(--almagre);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
@media (max-width: 560px) {
  .agenda-row { grid-template-columns: 4.5rem minmax(0, 1fr); row-gap: 0.25rem; }
  .agenda-date .d { font-size: 2.5rem; }
  .agenda-time { grid-column: 2; text-align: left; }
}

.diario h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--granate); margin-bottom: var(--s-3); }
.diario { display: grid; gap: var(--s-4); position: sticky; top: var(--s-3); }
.diario h3 { margin-bottom: 0; }

.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tile figcaption { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.75rem; }
.tile strong { font-size: var(--t-h3); font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0.2rem 0.6rem;
  border: 1px solid var(--granate); color: var(--granate);
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
}
.tag-socio { background: var(--granate); color: var(--cal); }

.band { margin-top: var(--s-5); aspect-ratio: 16 / 6; }
@media (max-width: 900px) {
  .programa-grid { grid-template-columns: 1fr; }
  .diario { position: static; grid-template-columns: 1fr 1fr; }
  .diario h3 { grid-column: 1 / -1; }
  .band { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) { .diario { grid-template-columns: 1fr; } }

/* Sorteo */
.sorteo {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-5); align-items: center;
  padding: var(--s-6) var(--gutter);
  background: var(--granate); color: var(--cal-soft);
}
.sorteo h2 { color: var(--almagre); margin-bottom: var(--s-3); }
.sorteo-copy > p { font-size: var(--t-lead); max-width: 40ch; }
.premios { margin-top: var(--s-4); border-top: 1px solid var(--linea-claro); counter-reset: p; }
.premios li { counter-increment: p; display: flex; align-items: baseline; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: 1px solid var(--linea-claro); }
.premios li::before { content: counter(p); font-family: var(--f-display); font-size: 1.5rem; color: var(--almagre); min-width: 1.5rem; }
.premio { font-family: var(--f-display); font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem); line-height: 1.1; color: var(--nieve); }
.sorteo-plate { aspect-ratio: 4 / 5; max-height: 36rem; }
@media (max-width: 860px) {
  .sorteo { grid-template-columns: 1fr; }
  .sorteo-plate { aspect-ratio: 4 / 3; }
}

/* Casetas */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 2.75rem; padding: 0.5rem 1.1rem;
  background: transparent; color: var(--granate);
  border: 1px solid var(--granate);
  font: 600 0.9375rem var(--f-text); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: var(--cal-soft); }
.chip[aria-pressed="true"] { background: var(--granate); color: var(--cal); }
.filter-count { margin: var(--s-2) 0 var(--s-3); font-size: var(--t-small); font-weight: 600; color: var(--tinta-2); }

.stalls { border-top: 1px solid var(--granate); columns: 2; column-gap: var(--s-5); }
.stall {
  display: grid; grid-template-columns: 5.75rem minmax(0, 1fr) auto; grid-template-areas: "n body tag" "n from tag";
  gap: 0.15rem var(--s-2); align-items: start;
  padding: var(--s-2) 0; border-bottom: 1px solid var(--linea);
  break-inside: avoid;
}
.stall[hidden] { display: none; }
.stall-n { white-space: nowrap; grid-area: n; font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--granate); font-variant-numeric: tabular-nums; }
.stall-body { grid-area: body; }
.stall-body h3 { font-size: 1.125rem; }
.stall-body p { color: var(--tinta); }
.stall-from { grid-area: from; font-size: var(--t-small); color: var(--tinta-2); }
.stall .tag { grid-area: tag; align-self: start; }
@media (max-width: 900px) { .stalls { columns: 1; } }
@media (max-width: 600px) {
  .stall { grid-template-columns: 3.75rem minmax(0, 1fr); grid-template-areas: "n body" "n from" "n tag"; }
  .stall .tag { justify-self: start; margin-top: 0.25rem; }
  .stall-n { font-size: 1.625rem; }
}

/* Asociación */
.s-asoc { background: var(--nieve); }
.asociacion { padding-bottom: var(--s-5); }
.asoc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.asoc-copy h2 { font-size: clamp(2.25rem, 3vw + 1rem, 4rem); margin-bottom: var(--s-4); max-width: 16ch; }
.asoc-copy > p { font-size: var(--t-lead); max-width: 52ch; }
.valores { margin: var(--s-4) 0 0; display: grid; gap: 0; border-top: 1px solid var(--granate); }
.valores div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s-2); padding: var(--s-2) 0; border-bottom: 1px solid var(--linea); }
.valores dt { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; color: var(--granate); }
.valores dd { margin: 0; max-width: 46ch; }
.asoc-plate { aspect-ratio: 4 / 5; position: sticky; top: var(--s-3); }
.asoc-plate img { object-position: 50% 70%; }
@media (max-width: 900px) {
  .asoc-grid { grid-template-columns: 1fr; }
  .asoc-plate { position: relative; top: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 480px) { .valores div { grid-template-columns: 1fr; gap: 0.25rem; } }

/* Socios */
.socios { padding-top: var(--s-5); }
.socios-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.socio { display: flex; flex-direction: column; gap: 0.5rem; }
.socio img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; margin-bottom: 0.5rem; background: var(--cal-soft); }
.socio:nth-child(3n + 2) { margin-top: var(--s-5); }
.socio h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--granate); }
.socio p { color: var(--tinta-2); }
.socio .tags { margin-top: 0.25rem; }
@media (max-width: 900px) {
  .socios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .socio:nth-child(3n + 2) { margin-top: 0; }
  .socio:nth-child(2n) { margin-top: var(--s-4); }
}
@media (max-width: 520px) {
  .socios-grid { grid-template-columns: 1fr; }
  .socio:nth-child(2n) { margin-top: 0; }
}

/* Galería */
.galeria { padding-right: 0; }
.galeria .section-head { padding-right: var(--gutter); }
.strip {
  display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) var(--s-3) 0;
  scrollbar-width: thin;
}
.strip li { flex: 0 0 auto; width: clamp(16rem, 34vw, 30rem); scroll-snap-align: start; }
.strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.strip figcaption { padding-top: 0.6rem; font-weight: 500; }
.strip:focus-visible { outline-offset: -3px; }

/* Contacto */
.contacto {
  padding: var(--s-6) var(--gutter);
  background: var(--granate); color: var(--cal-soft);
}
.contacto h2 { color: var(--almagre); font-size: clamp(2.75rem, 6vw + 1rem, 7rem); line-height: 0.95; max-width: 14ch; }
.contacto p { font-size: var(--t-lead); max-width: 44ch; margin-top: var(--s-4); }
.contacto-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }

/* Pie */
.site-footer {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3) var(--s-5); align-items: center;
  padding: var(--s-4) var(--gutter);
  background: var(--granate-deep); color: var(--cal-soft);
  font-size: var(--t-small);
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand .mark { --m-ink: var(--cal); --m-paper: var(--granate-deep); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); justify-self: center; }
.footer-links a { display: inline-flex; min-height: 2.75rem; align-items: center; }
@media (max-width: 760px) {
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}

/* Orden en temporada anual: la asociación primero */
[data-season="anual"] main { display: flex; flex-direction: column; }
[data-season="anual"] .hero { order: 0; }
[data-season="anual"] .s-asoc { order: 1; }
[data-season="anual"] .s-feria { order: 2; }
[data-season="anual"] .manifesto,
[data-season="anual"] .sorteo,
[data-season="anual"] #casetas { display: none; }
[data-season="anual"] .galeria { order: 3; }
[data-season="anual"] .contacto { order: 4; }
