/* Tipografia alojada en el propio sitio (Playfair Display, licencia OFL).
   Antes se cargaba desde fonts.googleapis.com. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-latin-400-normal.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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-700-normal.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;
}

/* ============================================================
   FOLKLORIUS — style.css
   Fiesta, tradición e historia
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --brand:        #b34700;
  --brand-dark:   #8a3500;
  --accent:       #d6a64f;
  --accent-light: #f5e6c8;
  --bg:           #fdf9f4;
  --bg-card:      #ffffff;
  --text:         #2c2c2c;
  --text-muted:   #5a5a5a;
  --border:       #e8ddd4;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
  --radius:       10px;
  --radius-sm:    6px;
  --max-width:    900px;   /* leer: fichas y texto largo */
  --max-wide:     1200px;  /* explorar: catálogo y filtros, solo en la home */
  --font-body:    'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ── Reset base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }

/* ── Tipografía ────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--brand);
  line-height: 1.25;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--accent-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover {
  background: var(--accent-light);
  color: var(--brand);
  text-decoration: none;
}
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  border-radius: 999px;
  padding: 7px 16px !important;
}
.nav-cta:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
}

/* ── HERO (portada) ─────────────────────────────────────────── */
.hero-cover {
  position: relative;
  width: 100%;
  min-height: 48vh;
  overflow: hidden;
  background: #111;
}
.hero-cover picture,
.hero-cover .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(3,7,18,0.35) 0%,
    rgba(3,7,18,0.55) 60%,
    rgba(3,7,18,0.70) 100%
  );
  padding: 40px 18px;
}
.hero-inner {
  text-align: center;
  color: #fff;
  max-width: 700px;
}
.hero-inner h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 10px;
}
.hero-tag {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.hero-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #1a0f00;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: background 0.18s, transform 0.18s;
}
.hero-cta:hover {
  background: #c49030;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── SECCIÓN INTRO ──────────────────────────────────────────── */
.intro {
  text-align: center;
  padding: 56px 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.intro h2 { margin-bottom: 12px; }
.intro p { font-size: 1.08rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── GRID DE FICHAS ──────────────────────────────────────────── */
.fiestas-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px 56px;
}
.fiestas-section h2 {
  text-align: center;
  margin-bottom: 28px;
}
.fiestas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}
.fiesta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.fiesta-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.fiesta-card a {
  display: block;
  color: var(--text);
  text-decoration: none;
}
.fiesta-card a:hover { text-decoration: none; }
.fiesta-card:hover .card-title { color: var(--brand); }

/* Imagen de la tarjeta */
.card-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.fiesta-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

/* Cuerpo de la tarjeta */
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  transition: color 0.18s;
}
.card-frase {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}
.card-meta {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── FICHA INDIVIDUAL ────────────────────────────────────────── */

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max-width);
  margin: 14px auto;
  padding: 0 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--brand); }

/* Hero de ficha */
.ficha-hero {
  max-width: var(--max-width);
  margin: 0 auto 0;
  padding: 0 18px;
}
.ficha-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* Contenido principal de la ficha */
.ficha-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 18px 48px;
}

/* Card blanca contenedora */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* Subtítulo bajo el h1 */
.ficha-subtitle,
.ficha-subtitulo {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 6px;
  margin-bottom: 16px;
}

/* Badges de reconocimientos */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-unesco  { background: #0f766e; color: #fff; }
.badge-oficial { background: var(--brand); color: #fff; }
.badge-interes { background: #1d4ed8; color: #fff; }

/* Aviso de sensibilidad */
.aviso-sensibilidad {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 20px 0;
  color: var(--text);
  font-size: 0.92rem;
}
.aviso-sensibilidad strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
.aviso-sensibilidad ul { margin: 0; padding-left: 1.15rem; }
.aviso-sensibilidad li { line-height: 1.65; margin-bottom: 8px; }
.aviso-sensibilidad li:last-child { margin-bottom: 0; }

/* Títulos de sección dentro de la ficha */
.section-title {
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 1.3rem;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent-light);
}

/* Bloque de música */
.music-block { margin: 4px 0 20px; }
.music-block p { line-height: 1.7; margin-bottom: 0.9rem; }
.music-block ul { margin: 0; padding-left: 1.15rem; }
.music-block li { line-height: 1.65; margin-bottom: 8px; color: var(--text-muted); }
.music-block li:last-child { margin-bottom: 0; }

/* Nota breve en línea (avisos de programa, horarios, fuentes puntuales) */
.nota-grid {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 14px 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}
.nota-grid a { font-style: normal; }

/* Glosario festero */
dl.festero { margin: 0 0 1rem; }
dl.festero dt {
  display: inline-block;
  vertical-align: top;
  width: 160px;
  font-weight: 700;
  color: #2f2f2f;
  margin-right: 10px;
}
dl.festero dd {
  display: inline-block;
  vertical-align: top;
  margin: 0 0 0.75rem;
  width: calc(100% - 175px);
  color: var(--text-muted);
}

/* FAQ */
dl.faq dt {
  font-weight: 700;
  color: var(--brand);
  margin-top: 14px;
}
dl.faq dd {
  margin: 4px 0 0 0;
  color: var(--text-muted);
}

/* Galería */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.galeria img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Nota de fuente */
.fuente {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Enlace volver */
.back-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--brand);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #faf7f5;
  border-top: 1px solid var(--border);
  padding: 20px 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer p { margin-bottom: 4px; color: var(--text-muted); }
.site-footer a { color: var(--brand); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 680px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { gap: 4px; }
  .main-nav a { padding: 6px 8px; font-size: 0.88rem; }
  .site-logo { max-width: 160px; }
  .card { padding: 18px 16px; }
  dl.festero dt, dl.festero dd { display: block; width: auto; }
  dl.festero dt { margin-bottom: 4px; }
  dl.festero dd { margin-bottom: 12px; }
}
/* ══════════════════════════════════════════════════════════════
   HOME: EXPLORADOR Y CALENDARIO
   Solo tokens de :root. No se inventa ninguna variable nueva.
   ══════════════════════════════════════════════════════════════ */

/* ── Explorador de tres entradas ─────────────────────────────── */
.explorador {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 18px 8px;
  text-align: center;
}
.explorador h2 { margin-bottom: 12px; }
.explorador-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 auto 28px;
  text-align: left;
}
.explorador-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  align-items: end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: left;
}
.explorador-campo label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
  margin-bottom: 6px;
}
.explorador-campo select {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.explorador-campo select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  background: var(--bg-card);
}
.explorador-reset {
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.explorador-reset:hover {
  background: var(--accent-light);
  border-color: var(--brand);
}

/* ── Lo próximo en el calendario ─────────────────────────────── */
.proximas {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 18px 8px;
}
.proximas-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.proximas-cabecera h2 { margin: 0; }
.proximas-todas {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.proximas-tira {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.proxima-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.proxima-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.proxima-card a {
  display: block;
  padding: 18px;
  text-decoration: none;
}
.proxima-card a:hover { text-decoration: none; }
.proxima-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.proxima-badge.en-curso {
  color: var(--bg-card);
  background: var(--brand);
}
.proxima-titulo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
}
.proxima-card:hover .proxima-titulo { color: var(--brand); }
.proxima-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Recuento y vacío ────────────────────────────────────────── */
.resultado-cuenta {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: -14px 0 24px;
  min-height: 1.2em;
}
.sin-resultados {
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  margin: 0;
}

/* ── Responsive del bloque de home ───────────────────────────── */
@media (max-width: 680px) {
  .explorador { padding-top: 32px; }
  .explorador-form { grid-template-columns: 1fr; }
  .explorador-reset { width: 100%; }
  .proximas-cabecera { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   DOS ANCHOS
   900 para leer una ficha, 1200 para explorar el catálogo.
   Solo afecta a la home (body.home); las 90 fichas no se tocan.
   ══════════════════════════════════════════════════════════════ */
.home .header-inner,
.home .explorador,
.home .proximas,
.home .fiestas-section { max-width: var(--max-wide); }

/* La portada sí se lee de un vistazo y aguanta el centrado;
   los párrafos de varias líneas, no. */
.home .proximas-tira { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* El titular y la entradilla se alinean con el borde del formulario:
   con el bloque centrado, el margen izquierdo del párrafo no coincidía
   con nada y se notaba. */
.home .explorador { text-align: left; }
.home .explorador-intro { margin: 0 0 28px; }

/* «El catálogo» iba centrado y «Lo próximo» a la izquierda: dos titulares
   de sección seguidos con alineaciones distintas. Se unifican. */
.home .fiestas-section h2 { text-align: left; }

@media (max-width: 680px) {
  .home .explorador-intro { text-align: left; }
}

/* ══════════════════════════════════════════════════════════════
   HOME 2 (portada, calendario, explorar, catálogo y páginas de
   tipología y comunidad). Todo bajo body.home2: las fichas no se tocan.
   ══════════════════════════════════════════════════════════════ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 200; }
.saltar:focus { left: 8px; top: 8px; }

.home2 .site-header--fina .header-inner { max-width: var(--max-wide); padding: 8px 18px; flex-wrap: nowrap; }
.home2 .site-logo { height: 44px; width: auto; max-width: none; }
.home2 .main-nav { flex-wrap: nowrap; }

/* ── Portada ─────────────────────────────────────────────────── */
.home2 .portada { position: relative; background: #1a120c; overflow: hidden; }
.home2 .portada picture, .home2 .portada-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.home2 .portada-velo {
  position: relative; z-index: 1;
  background: linear-gradient(90deg, rgba(20,12,6,.84) 0%, rgba(20,12,6,.55) 50%, rgba(20,12,6,.12) 100%);
  padding: 72px 18px 64px;
}
.home2 .portada-inner { max-width: var(--max-wide); margin: 0 auto; }
.home2 .portada-lema {
  color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 14px;
}
.home2 .portada h1 {
  color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; margin-bottom: 16px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.home2 .portada-sub { color: #f3ebe2; font-size: 1.12rem; max-width: 56ch; margin-bottom: 26px; }
.home2 .buscador {
  display: flex; max-width: 620px; background: #fff; border-radius: 999px;
  padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.home2 .buscador input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 18px;
  font: inherit; font-size: 1rem; color: var(--text);
}
.home2 .buscador input:focus { outline: none; }
.home2 .buscador:focus-within { box-shadow: 0 0 0 3px var(--accent), 0 10px 30px rgba(0,0,0,.25); }
.home2 .buscador button {
  border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  font: inherit; font-weight: 700; padding: 10px 24px; cursor: pointer;
}
.home2 .buscador button:hover { background: var(--brand-dark); }
.home2 .atajos { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.home2 .atajos a {
  color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  padding: 5px 14px; font-size: .9rem; font-weight: 600;
}
.home2 .atajos a:hover { background: rgba(255,255,255,.14); text-decoration: none; }

/* ── Bloques ─────────────────────────────────────────────────── */
.home2 .bloque { max-width: var(--max-wide); margin: 0 auto; padding: 48px 18px 0; }
.home2 .bloque-cab {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 20px;
}
.home2 .bloque-cab h2 { margin: 0; text-align: left; }
.home2 .bloque-mas { font-weight: 600; font-size: .92rem; }
.home2 .bloque-nota { margin: 0; color: var(--text-muted); font-size: .92rem; }
.home2 .sub-cab { font-family: var(--font-display); color: var(--text); font-size: 1.15rem; margin: 28px 0 12px; }
.home2 ul.meses, .home2 ul.tipos, .home2 ul.zonas, .home2 ul.proximas-tira2, .home2 ul.como-lista {
  list-style: none; padding: 0; margin: 0;
}
.home2 .meses li, .home2 .tipos li, .home2 .zonas li, .home2 .proximas-tira2 li { margin: 0; }

/* Próximas, con foto */
.home2 .proximas-tira2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.home2 .proxima2 a {
  display: flex; flex-direction: column; height: 100%; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: transform .18s, box-shadow .18s;
}
.home2 .proxima2 a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }
.home2 .proxima2-img { display: block; aspect-ratio: 16/10; background: var(--accent-light); overflow: hidden; }
.home2 .proxima2-img img { width: 100%; height: 100%; object-fit: cover; }
.home2 .proxima2-fecha {
  align-self: flex-start; margin: 14px 16px 6px; font-size: .76rem; font-weight: 700;
  color: var(--brand); background: var(--accent-light); padding: 3px 10px; border-radius: 999px;
}
.home2 .proxima2-fecha.en-curso { background: var(--brand); color: #fff; }
.home2 .proxima2-titulo { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; padding: 0 16px; }
.home2 .proxima2 a:hover .proxima2-titulo { color: var(--brand); }
.home2 .proxima2-meta { font-size: .84rem; color: var(--text-muted); padding: 4px 16px 16px; }

/* Calendario de meses */
.home2 .meses { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.home2 .mes {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text);
}
.home2 .mes:hover { border-color: var(--brand); text-decoration: none; }
.home2 .mes-nombre { font-weight: 700; font-size: .9rem; }
.home2 .mes-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand); line-height: 1.1; }
.home2 .mes.hoy { border-color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.home2 .mes.activo { background: var(--brand); border-color: var(--brand); }
.home2 .mes.activo .mes-nombre, .home2 .mes.activo .mes-num { color: #fff; }

/* Tipos y comunidades */
.home2 .tipos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.home2 .tipo {
  display: flex; flex-direction: column; padding: 16px 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); color: var(--text);
}
.home2 .tipo:hover { border-left-color: var(--brand); box-shadow: var(--shadow); text-decoration: none; }
.home2 .tipo-nombre { font-family: var(--font-display); font-size: 1.08rem; }
.home2 .tipo:hover .tipo-nombre { color: var(--brand); }
.home2 .tipo-num { font-size: .84rem; color: var(--text-muted); }
.home2 .zonas { display: flex; flex-wrap: wrap; gap: 8px; }
.home2 .zona {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: .92rem; font-weight: 600;
}
.home2 .zona span {
  background: var(--accent-light); color: var(--brand); border-radius: 999px; padding: 0 8px; font-size: .8rem;
}
.home2 .zona:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* Catálogo */
.home2 .fiestas-section { padding-bottom: 0; }
.home2 .resultado-cuenta { margin: 0; text-align: right; font-size: .82rem; }
.home2 .filtros {
  display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; align-items: end;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; margin-bottom: 22px; position: sticky; top: 64px; z-index: 50; box-shadow: var(--shadow);
}
.home2 .filtro label {
  display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--brand); margin-bottom: 4px;
}
.home2 .filtro input, .home2 .filtro select {
  width: 100%; padding: 9px 10px; font: inherit; font-size: .93rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.home2 .filtro input:focus-visible, .home2 .filtro select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.home2 .filtros-reset {
  padding: 9px 14px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--brand);
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
}
.home2 .filtros-reset:hover { background: var(--accent-light); border-color: var(--brand); }
.home2 .fiestas-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.home2 .card-img-wrap { height: auto; aspect-ratio: 16/10; }

/* Cómo trabajamos */
.home2 .como-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.home2 .como-lista li {
  margin: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; color: var(--text-muted); font-size: .95rem; line-height: 1.55;
}
.home2 .como-lista strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }

/* Páginas de explorar */
.home2.hub .breadcrumb { max-width: var(--max-wide); }
.home2 .hub-cab { padding-top: 12px; }
.home2 .hub-cab h1 { margin-bottom: 10px; }
.home2 .hub-intro { color: var(--text-muted); font-size: 1.05rem; max-width: 70ch; }
.home2 .hub-volver { margin-top: 24px; font-weight: 600; }

/* Pie */
.home2 .site-footer--home { margin-top: 64px; text-align: left; padding: 40px 18px 20px; background: #2a1d14; border: 0; }
.home2 .pie-inner { max-width: var(--max-wide); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.home2 .site-footer--home p { color: #d9cbbd; font-size: .9rem; }
.home2 .site-footer--home a { color: #f3d9a6; }
.home2 .pie-marca { font-family: var(--font-display); font-size: 1.4rem; color: #fff !important; margin-bottom: 2px; }
.home2 .pie-lema { color: var(--accent) !important; font-style: italic; }
.home2 .pie-titulo { font-weight: 700; color: #fff !important; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem !important; }
.home2 .pie-enlaces { line-height: 2; }
.home2 .pie-copy { max-width: var(--max-wide); margin: 28px auto 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; font-size: .82rem !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .home2 .filtros { grid-template-columns: 1fr 1fr; position: static; }
  .home2 .filtro-texto { grid-column: 1 / -1; }
  .home2 .meses { grid-template-columns: repeat(6, 1fr); }
  .home2 .pie-inner { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 680px) {
  .home2 .site-header--fina .header-inner { flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 4px 16px; }
  .home2 .site-logo { height: 34px; }
  .home2 .tipos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .home2 .tipo { padding: 12px 12px; }
  .home2 .main-nav a:not(.nav-cta) { display: none; }
  .home2 .main-nav .nav-cta { font-size: .85rem; padding: 6px 12px !important; }
  .home2 .portada-velo { padding: 40px 16px 36px; background: linear-gradient(180deg, rgba(20,12,6,.72), rgba(20,12,6,.88)); }
  .home2 .portada-sub { font-size: 1rem; }
  .home2 .buscador button { padding: 10px 16px; }
  .home2 .bloque { padding: 36px 16px 0; }
  .home2 .meses { grid-template-columns: repeat(4, 1fr); }
  .home2 .filtros { grid-template-columns: 1fr 1fr; }
  .home2 .filtros-reset { grid-column: 1 / -1; }
  .home2 .proximas-tira2 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .home2 .proxima2 { scroll-snap-align: start; }
}
.home2 .brand-link { display: flex; align-items: center; height: 56px; overflow: hidden; }
@media (max-width: 680px) { .home2 .brand-link { height: 44px; } }
.home2 .como-error { margin: 18px 0 0; padding: 14px 18px; background: var(--accent-light); border-radius: var(--radius); color: var(--text); }
