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

:root {
  --rojo:    #E8421E;
  --negro:   #0a0a0a;
  --gris1:   #111111;
  --gris2:   #1c1c1c;
  --gris3:   #2a2a2a;
  --texto:   #ffffff;
  --muted:   #a6a6a6;
  --borde:   #2a2a2a;
  --fuente-serif: 'Georgia', serif;
  --fuente-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--negro);
  color: var(--texto);
  font-family: var(--fuente-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Skip Link (a11y) ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--rojo);
  color: #fff;
  padding: .6rem 1rem;
  font-family: var(--fuente-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* Accesibilidad / SEO: visible para lectores y Google, oculto a la vista */
.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;
}

/* ─── Barrita Carrusel ─── */
.barrita-carrusel {
  margin-top: 64px;
  background: #000;
  overflow: hidden;
  position: sticky;
  top: 64px;
  z-index: 50;
  border-bottom: 1px solid #1c1c1c;
}

.barrita-viewport {
  overflow: hidden;
  width: 100%;
}

.barrita-track {
  display: flex;
}

.barrita-slide {
  flex: 0 0 50%;          /* Desktop: 2 visibles */
  height: clamp(64px, 10vh, 92px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  text-decoration: none;
  border-right: 1px solid #1c1c1c;
  position: relative;
}

.barrita-titulo {
  line-height: 1;
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 30px);
}

.barrita-frase {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #cfcfcf;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(9px, 1vw, 11px);
  margin-top: 5px;
}

.barrita-cta {
  font-size: 0.65rem;
  opacity: 0.8;
  color: #cfcfcf;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Dots de navegación — ocultos, solo autorrotación */
.barrita-dots { display: none; }
.barrita-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.barrita-dot.activo { background: #fff; width: 20px; border-radius: 4px; }

@media (max-width: 768px) {
  /* Móvil: 1 obra a la vez, apiladas, con FUNDIDO (sin deslizar) */
  .barrita-track {
    display: block;
    position: relative;
    height: clamp(88px, 24vw, 100px);   /* Banner más delgado: ~100px */
  }
  .barrita-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-right: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease-in-out;
  }
  .barrita-slide.activo {
    opacity: 1;
    pointer-events: auto;
  }
  .barrita-titulo { font-size: clamp(24px, 7vw, 34px); }
  .barrita-frase { font-size: clamp(10px, 2.6vw, 13px); margin-top: 8px; }
}

/* ─── Cartelera tipo Netflix (grid de pósters) ─── */
.cartelera-topbar {
  background: var(--negro);
  padding: 2rem;
}

.topbar-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 1.25rem;
}

.cartelera-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* Móvil: 2 columnas */
  gap: 16px;
}

.tarjeta-obra-top {
  background: transparent;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}
.tarjeta-obra-top:hover { transform: translateY(-4px); }

.tarjeta-img,
.tarjeta-img-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;          /* Póster vertical uniforme */
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid var(--borde);
  transition: border-color 0.25s;
}
.tarjeta-img-placeholder { background: var(--gris2); }
.tarjeta-obra-top:hover .tarjeta-img,
.tarjeta-obra-top:hover .tarjeta-img-placeholder { border-color: var(--rojo); }

.tarjeta-info {
  padding: 0.6rem 0.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.tarjeta-foro {
  font-size: 0.6rem;
  color: var(--rojo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tarjeta-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tarjeta-horario {
  font-size: 0.72rem;
  color: #888;
  margin-top: 0.2rem;
}
.tarjeta-ver { display: none; }

@media (min-width: 600px) {
  .cartelera-track { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .cartelera-track { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1200px) {
  .cartelera-track { grid-template-columns: repeat(6, 1fr); }
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--negro);
  border-bottom: 1px solid var(--borde);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .wordmark {
  font-family: var(--fuente-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.nav-logo .sub {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--rojo);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  color: #ccc;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--rojo);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ─── Hero ─── */
.hero {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--rojo);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--fuente-sans);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1rem;
  color: #aaa;
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--rojo);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.8rem;
  border: 1px solid #444;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: #fff; }

.hero-image {
  background: var(--gris2);
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(20%);
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── Secciones generales ─── */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--borde);
  padding-bottom: 1.5rem;
}

.section-title {
  font-family: var(--fuente-sans);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-link {
  font-size: 0.8rem;
  color: var(--rojo);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.7; }

/* ─── Cartelera ─── */
#cartelera { background: var(--negro); padding: 1.5rem 1rem 4rem; }

.cartelera-buscar { max-width: 680px; margin: 0 auto 1.75rem; }
#buscar-obra {
  width: 100%;
  height: 48px;
  background: var(--gris1);
  border: 1px solid var(--borde);
  border-radius: 12px;
  color: #fff;
  font-family: var(--fuente-sans);
  font-size: 0.95rem;
  padding: 0 1rem;
}
#buscar-obra::placeholder { color: #777; }
#buscar-obra:focus {
  outline: 2px solid var(--rojo);
  outline-offset: 2px;
  border-color: var(--rojo);
}

.obras-vacio { color: var(--muted); font-size: 0.9rem; text-align: center; padding: 2.5rem 0; }

.obras-grid {
  display: grid;
  grid-template-columns: 1fr;              /* Móvil: 1 columna */
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
  background: transparent;
}
@media (min-width: 768px) {
  .obras-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
}
@media (min-width: 1024px) {
  .obras-grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
}

.obra-card {
  position: relative;
  background: var(--gris1);
  border: 1px solid var(--borde);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease, transform 0.08s ease, border-color 0.15s ease;
}
.obra-card--rd { border-color: var(--rojo); }          /* Reserva Directa */

/* Affordance: la card se hunde al tocar y el título avisa que es link */
.obra-card--link { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.obra-card--link:active { transform: scale(0.99); background: var(--gris2); }

.obra-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.obra-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.obra-media--vacia { background: var(--gris2); }
@media (min-width: 768px) {
  .obra-media { aspect-ratio: 2 / 3; }
}

/* Botón compartir sobre la imagen (arriba a la derecha) */
.obra-share {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.15s ease, transform 0.08s ease;
}
.obra-share:hover { background: rgba(10, 10, 10, 0.85); }
.obra-share:active { transform: scale(0.92); }
.obra-share.copiado { background: var(--rojo); border-color: var(--rojo); }

/* Badge de tiempo sobre la imagen (arriba a la izquierda) */
.obra-etiqueta {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 5px 9px;
  border-radius: 7px;
}

.obra-body {
  padding: 1rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.obra-foro {
  font-size: 0.65rem;
  color: var(--rojo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.obra-titulo {
  font-family: var(--fuente-sans);
  font-size: clamp(1.05rem, 4.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.obra-titulo a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.obra-card--link:hover .obra-titulo a,
.obra-card--link:active .obra-titulo a { color: var(--rojo); }

/* Stretched link: el área completa de la card lleva a la ficha */
.obra-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }

.obra-fecha { font-size: 0.85rem; color: #aaa; }
.obra-tipo  { font-size: 0.78rem; color: #777; }

/* Link de Reserva Directa — por encima del stretched link */
.obra-wa {
  position: relative;
  z-index: 2;
  margin-top: 0.6rem;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gris2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.obra-wa svg { flex: 0 0 auto; }

/* ─── Sección "¿Qué es Cartelera México?" ─── */
#que-es { background: var(--gris1); padding: 4rem 1.5rem 5rem; }
.que-es-intro {
  font-size: 1.05rem;
  color: #bbb;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 2.5rem;
}
.que-es-intro strong { color: #fff; }
.que-es-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .que-es-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.que-es-item { border-top: 2px solid var(--rojo); padding-top: 1rem; }
.que-es-item h3 {
  font-family: var(--fuente-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.que-es-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.que-es-item strong { color: #fff; }

/* ─── Mapa ─── */
#mapa { background: var(--negro); padding-bottom: 0; }

.mapa-desc {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.mapa-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--borde);
  height: 560px;
}

.mapa-sidebar {
  background: var(--gris1);
  border-right: 1px solid var(--borde);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mapa-filtros {
  padding: 1rem;
  border-bottom: 1px solid var(--borde);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filtro-btn {
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--borde);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filtro-btn:hover,
.filtro-btn.activo { background: var(--rojo); border-color: var(--rojo); color: #fff; }

.mapa-lista { flex: 1; overflow-y: auto; }

.mapa-item {
  padding: 1rem;
  border-bottom: 1px solid var(--borde);
  cursor: pointer;
  transition: background 0.15s;
}
.mapa-item:hover,
.mapa-item.seleccionado { background: var(--gris2); }

.mapa-item-nombre {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.mapa-item-colonia {
  font-size: 0.75rem;
  color: var(--muted);
}
.mapa-item-estado {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.estado-activo { background: #1a3a1a; color: #5cba5c; }
.estado-por-confirmar { background: #3a2e0a; color: #c9a22a; }
.estado-en-pausa { background: #2a1a1a; color: #c05050; }
.estado-historico { background: #1a1a2a; color: #7070bb; }

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ─── Leaflet popup custom ─── */
.leaflet-popup-content-wrapper {
  background: var(--gris1) !important;
  border: 1px solid var(--borde) !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6) !important;
  color: #fff !important;
}
.leaflet-popup-tip { background: var(--gris1) !important; }
.popup-nombre { font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.popup-colonia { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.popup-tipo { font-size: 0.75rem; color: var(--rojo); text-transform: uppercase; letter-spacing: 0.07em; }

/* ─── Foros directorio ─── */
#foros { background: var(--negro); }

.foros-desc {
  max-width: 680px;
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.foros-grid {
  display: grid;
  grid-template-columns: 1fr;          /* Móvil: 1 columna */
  gap: 1rem;
}
@media (min-width: 600px) {
  .foros-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

.foro-card {
  background: var(--gris1);
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.15s ease;
}
.foro-card:hover { border-color: #3a3a3a; }

.foro-nombre {
  font-family: var(--fuente-sans);
  font-size: 1.15rem;
  font-weight: 700;
}
.foro-colonia { font-size: 0.82rem; color: var(--muted); }
.foro-tipo {
  font-size: 0.68rem;
  color: var(--rojo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.foro-card .mapa-item-estado { align-self: flex-start; margin-top: 0.4rem; }
.foro-desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.55;
  margin-top: 0.5rem;
}

/* ─── Registro ─── */
#registro { background: var(--negro); }

.registro-inner {
  max-width: 680px;
}

.registro-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.registro-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Página de registro */
.registro-opciones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0 1.5rem;
}
@media (min-width: 700px) {
  .registro-opciones { grid-template-columns: 1fr 1fr; }
}
.registro-card {
  background: var(--gris1);
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.registro-card-titulo {
  font-family: var(--fuente-sans);
  font-size: 1.25rem;
  font-weight: 700;
}
.registro-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.registro-card .btn-primary,
.registro-card .btn-secondary {
  margin-top: 0.8rem;
  text-align: center;
}
.registro-correo {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}
.registro-correo a { color: var(--rojo); }

/* Chips de categoría en landings (/mx/<ciudad>/) */
.cat-chip {
  display: inline-block;
  font-size: 0.78rem;
  color: #888;
  border: 1px solid #333;
  padding: 0.35rem 0.85rem;
  margin: 0 0.4rem 0.5rem 0;
  transition: border-color 0.2s, color 0.2s;
}
.cat-chip:hover { border-color: var(--rojo); color: var(--rojo); }

/* Calificación en ficha de obra (estrellas, "tu calificación") */
.ficha-rating { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.rating-stars { display: flex; gap: 0.25rem; }
.rating-star {
  background: none;
  border: none;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #444;
  transition: color 0.12s ease, transform 0.08s ease;
}
.rating-star:hover { transform: scale(1.1); }
.rating-star.on { color: #e8c24e; }
.rating-msg { font-size: 0.72rem; color: #777; min-height: 1em; }

/* Rating en el HERO (lectura visual a golpe de vista, debajo del subtítulo) */
/* Margen superior negativo = sube las estrellas cerca del subtítulo (comprime el espacio);
   margen inferior corto = sube la descripción. Una sola regla ajusta TODAS las fichas. */
.ficha-rating--hero { margin: -0.85rem 0 1.35rem; }
.ficha-rating--hero .ficha-label { color: #888; }
.ficha-rating--hero .rating-star { font-size: 1.75rem; }
@media (max-width: 600px) {
  .ficha-rating--hero { margin: -0.4rem 0 1.15rem; }
  .ficha-rating--hero .rating-star { font-size: 1.6rem; }
}

/* ─── Footer ─── */
footer {
  background: var(--gris1);
  border-top: 1px solid var(--borde);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-nota {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.8;
  border-left: 2px solid var(--borde);
  padding-left: 1.2rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: #333;
  margin-top: 2rem;
  text-align: right;
}

/* ─── prefers-reduced-motion (a11y) ─── */
@media (prefers-reduced-motion: reduce) {
  .obra-card--link:active { transform: none; }
  .barrita-slide { transition: none; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { display: none; }
  .hero-text { padding: 4rem 1.5rem; }
  .mapa-layout { grid-template-columns: 1fr; height: auto; }
  .mapa-sidebar { height: 240px; }
  #map { height: 340px; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy { text-align: left; margin-top: 1rem; }
}
