
:root {
  --ink: #110d07;
  --ink2: #1e1710;
  --sepia: #b8935a;
  --sepia-lt: #d4b07a;
  --sepia-pale: #f0dfc0;
  --cream: #fdf6e8;
  --cream2: #f7edd5;
  --gold: #c9920a;
  --gold-lt: #e8b84b;
  --rust: #8c3415;
  --rust-lt: #b5501e;
  --sage: #3d5c35;
  --sage-lt: #5a7e50;
  --paper: #fbf2df;
  --shadow-warm: rgba(17,13,7,0.18);
  --shadow-deep: rgba(17,13,7,0.35);
  --user-base-text-size: 17px;
  --user-base-text-size-safe: 17px;
  --user-line-height: 1.72;
  --user-line-height-safe: 1.72;
  --user-small-text-scale: 1.12;
  --user-small-text-scale-safe: 1.12;
  --user-small-text-color: #7a5f3f;
  --user-small-text-color-light-context: #7a5f3f;
  --user-small-text-color-dark-context: #f0dfc0;
  --user-secondary-text-color-light-context: #6a5035;
  --user-secondary-text-color-dark-context: #f0dfc0;
  --user-button-secondary-text-light-context: #7a5f3f;
  --user-button-secondary-text-dark-context: #f0dfc0;
  --user-button-secondary-border-light-context: rgba(122,95,63,0.42);
  --user-button-secondary-border-dark-context: rgba(240,223,192,0.46);
  --user-button-secondary-bg-light-context: rgba(122,95,63,0.04);
  --user-button-secondary-bg-dark-context: rgba(255,248,235,0.04);
  --user-button-secondary-hover-bg-light-context: rgba(122,95,63,0.12);
  --user-button-secondary-hover-bg-dark-context: rgba(255,248,235,0.10);
  --user-button-secondary-hover-text-light-context: #4c3214;
  --user-button-secondary-hover-text-dark-context: #fff4d8;
  --context-label-color: var(--user-small-text-color-light-context);
  --context-secondary-text-color: var(--user-secondary-text-color-light-context);
  --context-button-secondary-text: var(--user-button-secondary-text-light-context);
  --context-button-secondary-border: var(--user-button-secondary-border-light-context);
  --context-button-secondary-bg: var(--user-button-secondary-bg-light-context);
  --context-button-secondary-hover-bg: var(--user-button-secondary-hover-bg-light-context);
  --context-button-secondary-hover-text: var(--user-button-secondary-hover-text-light-context);
  --user-body-font: 'Cormorant Garamond', Georgia, serif;
}


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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--user-body-font);
  font-size: var(--user-base-text-size-safe);
  line-height: var(--user-line-height-safe);
  overflow-x: hidden;
  cursor: default;
}

/* GRAIN OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(17,13,7,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,147,90,0.2);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--sepia-lt);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-mark {
  width: 28px; height: 28px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gold);
  border-radius: 1px;
  rotate: 45deg;
}

.nav-logo-mark span { rotate: -45deg; display: block; }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 0.4rem 1rem;
  color: rgba(212,176,122,0.75);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-links li a:hover { color: var(--gold-lt); border-bottom-color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.45rem 1.1rem !important;
  border: none !important;
  font-weight: 600;
  border-radius: 1px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 22px; height: 1.5px; background: var(--sepia-lt); display: block; transition: 0.3s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 2rem 4rem;
  background: var(--ink2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(184,147,90,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(61,92,53,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 10%, rgba(140,52,21,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #110d07 0%, #1a1408 40%, #0e0b06 100%);
}

/* Decorative horizontal lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lines::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,147,90,0.15), rgba(184,147,90,0.3), rgba(184,147,90,0.15), transparent);
}

/* SVG Ornamental frame */
.hero-frame {
  position: absolute;
  inset: 20px;
  pointer-events: none;
  opacity: 0.25;
}

.hero-frame::before,
.hero-frame::after {
  content: '';
  position: absolute;
  border: 1px solid var(--sepia);
}

.hero-frame::before { inset: 0; }
.hero-frame::after { inset: 8px; }

/* Corner ornaments */
.corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--sepia-lt);
  border-style: solid;
  opacity: 0.5;
}

.corner-tl { top: 24px; left: 24px; border-width: 1.5px 0 0 1.5px; }
.corner-tr { top: 24px; right: 24px; border-width: 1.5px 1.5px 0 0; }
.corner-bl { bottom: 24px; left: 24px; border-width: 0 0 1.5px 1.5px; }
.corner-br { bottom: 24px; right: 24px; border-width: 0 1.5px 1.5px 0; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-ornament {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.8rem;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.9;
  color: var(--cream);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
  display: block;
  font-size: 0.75em;
  line-height: 1.2;
}

.hero-subtitle-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-subtitle-line::before,
.hero-subtitle-line::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sepia));
}

.hero-subtitle-line::after {
  background: linear-gradient(90deg, var(--sepia), transparent);
}

.hero-city {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: var(--sepia-lt);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(240,223,192,0.7);
  font-style: italic;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  padding: 0.9rem 2.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 1px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,146,10,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--sepia-lt);
  padding: 0.9rem 2.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  border: 1px solid rgba(184,147,90,0.4);
  transition: all 0.25s;
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--context-button-secondary-border);
  color: var(--context-button-secondary-hover-text);
  background: var(--context-button-secondary-hover-bg);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(184,147,90,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s 1.6s forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--sepia), transparent);
  animation: scrollPulse 2s 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--ink);
  border-top: 1px solid rgba(184,147,90,0.15);
  border-bottom: 1px solid rgba(184,147,90,0.15);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 3rem;
  border-right: 1px solid rgba(184,147,90,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.6);
  margin-top: 0.25rem;
  display: block;
}

/* ─── SECTION BASE ─── */
.section {
  padding: 6rem 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink2);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.section-title em { font-style: italic; color: var(--rust); }

.section-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto 1.25rem;
}

.section-desc {
  max-width: 520px;
  margin: 0 auto;
  color: #5a4a30;
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
}

/* ─── SECTION HEADERS ON DARK BACKGROUNDS ─── */
.section-header.is-dark .section-tag {
  color: rgba(212,176,122,0.84);
}

.section-header.is-dark .section-title {
  color: var(--cream);
}

.section-header.is-dark .section-title em {
  color: var(--gold-lt);
}

.section-header.is-dark .section-rule {
  background: rgba(232,184,75,0.92);
}

.section-header.is-dark .section-desc {
  max-width: 640px;
  color: rgba(253,246,232,0.82);
  font-size: 1.16rem;
  line-height: 1.82;
}

/* ─── MÓDULOS GRID ─── */
.modules-bg {
  background: var(--cream2);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(184,147,90,0.15);
  border: 1px solid rgba(184,147,90,0.15);
}

.module-card {
  background: var(--paper);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.module-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.module-card:hover { background: var(--cream); }
.module-card:hover::before { transform: scaleX(1); }

.module-card.accent-rust::before { background: var(--rust); }
.module-card.accent-sage::before { background: var(--sage); }
.module-card.accent-sepia::before { background: var(--sepia); }

.module-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(184,147,90,0.12);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  user-select: none;
}

.module-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s;
}

.module-card:hover .module-icon { transform: scale(1.15); }

.module-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.module-desc {
  font-size: 0.95rem;
  color: #6a5035;
  line-height: 1.6;
}

.module-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: rgba(184,147,90,0.12);
  color: var(--sepia);
  border-radius: 1px;
}

.module-badge.new { background: rgba(140,52,21,0.1); color: var(--rust); }
.module-badge.community { background: rgba(61,92,53,0.1); color: var(--sage); }

/* ─── RELOJ CUCÚ SPOTLIGHT ─── */
.cucu-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.cucu-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(184,147,90,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(61,92,53,0.06) 0%, transparent 50%);
}

.cucu-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cucu-text .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sepia);
  display: block;
  margin-bottom: 1rem;
}

.cucu-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cucu-text h2 em { font-style: italic; color: var(--gold-lt); }

.cucu-text p {
  color: rgba(253,246,232,0.80);
  line-height: 1.82;
  font-size: 1.14rem;
  margin-bottom: 1.25rem;
}

.cucu-text .cucu-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-lt);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,146,10,0.3);
  padding-bottom: 0.25rem;
  transition: all 0.2s;
  cursor: pointer;
}

.cucu-text .cucu-cta:hover { border-bottom-color: currentColor; gap: 1.2rem; }

/* Photo mosaic */
.cucu-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 1;
  position: relative;
}

.mosaic-cell {
  background: rgba(184,147,90,0.08);
  border: 1px solid rgba(184,147,90,0.12);
  border-radius: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.4);
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.mosaic-cell:hover {
  background: rgba(184,147,90,0.15);
  border-color: rgba(184,147,90,0.3);
}

.mosaic-cell.big {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background: rgba(201,146,10,0.12);
  border-color: rgba(201,146,10,0.25);
}

.mosaic-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(212,176,122,0.6);
  display: block;
  line-height: 1;
}

.mosaic-cell.big .mosaic-year { font-size: 1.6rem; color: var(--gold-lt); }

.mosaic-label { font-size: 0.55rem; }

.mosaic-add {
  background: rgba(184,147,90,0.05);
  border: 1px dashed rgba(184,147,90,0.2);
  cursor: pointer;
  color: rgba(184,147,90,0.3);
  font-size: 1.5rem !important;
  transition: all 0.3s;
}

.mosaic-add:hover {
  background: rgba(184,147,90,0.12);
  color: rgba(184,147,90,0.6);
}

/* ─── DOCUMENTAL ─── */
.documental-bg { background: var(--cream2); }

.documental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.doc-featured {
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.doc-featured-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #2a1c0a 40%, #3a2510 70%, #1a1208 100%);
}

.doc-featured-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.doc-ep {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.doc-featured-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.doc-featured-content p {
  font-size: 0.9rem;
  color: rgba(240,223,192,0.6);
  font-style: italic;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,146,10,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.2rem;
  transition: all 0.3s;
  z-index: 2;
}

.doc-featured:hover .play-btn {
  background: var(--gold-lt);
  transform: translate(-50%, -50%) scale(1.1);
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doc-item {
  background: var(--paper);
  padding: 1rem 1.25rem;
  border-left: 3px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1px;
}

.doc-item:hover { border-left-color: var(--gold); background: var(--cream); }
.doc-item:nth-child(1) { border-left-color: var(--gold); }

.doc-item-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(184,147,90,0.35);
  min-width: 2rem;
  text-align: center;
  line-height: 1;
}

.doc-item-body { flex: 1; }

.doc-item-body strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.doc-item-body span {
  font-size: 0.8rem;
  color: #8a7050;
  font-style: italic;
}

.doc-item-icon { color: var(--sepia); font-size: 1rem; opacity: 0.5; }
.doc-item:hover .doc-item-icon { opacity: 1; }

.doc-coming {
  background: rgba(184,147,90,0.06);
  border: 1px dashed rgba(184,147,90,0.2);
  border-left: 3px dashed rgba(184,147,90,0.2);
}

.doc-coming:hover { border-color: rgba(184,147,90,0.35); border-left-color: var(--sepia); }

/* ─── VOCES ─── */
.voces-bg { background: var(--ink); }

.voces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.voz-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,147,90,0.12);
  border-radius: 2px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.voz-card:hover {
  background: rgba(184,147,90,0.06);
  border-color: rgba(184,147,90,0.25);
  transform: translateY(-3px);
}

.voz-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(184,147,90,0.15);
  border: 1.5px solid rgba(184,147,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.voz-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.voz-meta {
  font-size: 0.78rem;
  color: rgba(212,176,122,0.82);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.voz-quote {
  font-size: 0.98rem;
  color: rgba(253,246,232,0.76);
  line-height: 1.72;
  font-style: italic;
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid rgba(184,147,90,0.28);
}

.voz-play {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia);
}

.play-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--sepia);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--sepia);
  transition: all 0.2s;
}

.voz-card:hover .play-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.voz-cta-row {
  text-align: center;
  margin-top: 3rem;
}

.voz-sumar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--sepia-lt);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(184,147,90,0.25);
  padding: 0.85rem 2rem;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  border-radius: 1px;
}

.voz-sumar:hover { border-color: var(--sepia-lt); color: var(--cream); background: rgba(184,147,90,0.08); }

/* ─── ANTES & DESPUÉS PREVIEW ─── */
.antesdespues-bg { background: var(--cream2); }

.slider-demo {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 60px var(--shadow-warm);
  user-select: none;
}

.slider-label {
  text-align: center;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #6a5035;
  font-size: 1rem;
}

.sd-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #e9e0d1;
  overflow: hidden;
}

.sd-layer,
.sd-after,
.sd-before {
  position: absolute;
  inset: 0;
}

.sd-after,
.sd-before {
  background: linear-gradient(135deg, #2a1c0a, #3a2810, #2a1808);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.sd-after { z-index: 1; }

.sd-before-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.sd-before {
  width: 100%;
  min-width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.sd-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
}

.sd-after::after,
.sd-before::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,13,7,0.06), rgba(17,13,7,0.30) 42%, rgba(17,13,7,0.62) 100%);
  pointer-events: none;
}

.sd-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 3;
  pointer-events: none;
}

.sd-meta .year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.sd-meta .meta-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.sd-meta-before .year { color: rgba(223,196,145,0.95); }
.sd-meta-after .year { color: rgba(242,237,226,0.92); }

.sd-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.95);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.28);
  z-index: 4;
}

.sd-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(184,147,90,0.25);
  background: rgba(255,255,255,0.97);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
  cursor: ew-resize;
  z-index: 5;
  touch-action: none;
}

.sd-overlay-l, .sd-overlay-r {
  position: absolute;
  bottom: 1rem;
  z-index: 5;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.42rem 0.82rem;
  background: rgba(0,0,0,0.42);
  color: rgba(255,255,255,0.82);
  border-radius: 2px;
}

.sd-overlay-l { left: 1rem; }
.sd-overlay-r { right: 1rem; }

@media (max-width: 720px) {
  .slider-demo { border-radius: 0; }
  .sd-meta .year { font-size: clamp(1.35rem, 7vw, 2.2rem); }
  .sd-handle { width: 44px; height: 44px; font-size: .95rem; }
  .sd-overlay-l, .sd-overlay-r { font-size: 0.58rem; padding: 0.38rem 0.7rem; }
}

/* ─── COMMUNITY UPLOAD ─── */
.upload-section {
  background: var(--paper);
  border-top: 1px solid rgba(184,147,90,0.15);
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.upload-text .eyebrow-tag {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink2);
  display: block;
  margin-bottom: 0.75rem;
}

.upload-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.upload-text h2 em { font-style: italic; color: var(--rust); }

.upload-text p {
  color: #6a5035;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.upload-steps {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upload-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: #5a4030;
  line-height: 1.5;
}

.step-num {
  min-width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.upload-form-area {
  background: var(--cream2);
  border: 1.5px dashed rgba(184,147,90,0.35);
  border-radius: 2px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.upload-form-area:hover {
  border-color: var(--sepia);
  background: white;
}

.upload-form-area.is-mail-only {
  cursor: default;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(246,234,211,0.85));
}

.upload-form-area.is-mail-only:hover {
  border-color: rgba(184,147,90,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(246,234,211,0.9));
}

.upload-mail-btn,
.upload-copy-btn {
  margin: 0.25rem 0.35rem 0;
}

.upload-copy-btn {
  border: 1px solid rgba(184,147,90,0.28);
  background: transparent;
  color: var(--ink);
  padding: 0.9rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}

.upload-contact-line {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.35rem;
  color: #6f5338;
  font-size: 0.87rem;
}

.upload-contact-line strong {
  font-size: 1rem;
  color: var(--ink);
}

.upload-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.6; }

.upload-form-area h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.upload-form-area p {
  font-size: 0.9rem;
  color: #8a7050;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.upload-types {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.type-tag {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  background: rgba(184,147,90,0.1);
  color: var(--ink2);
  border-radius: 1px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(184,147,90,0.1);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184,147,90,0.1);
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--sepia-lt);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.4);
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.94rem;
  color: rgba(253,246,232,0.66);
  line-height: 1.78;
  font-style: italic;
  max-width: 280px;
}

.footer-institutional {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(184,147,90,0.16);
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(184,147,90,0.05));
}

.footer-mini-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.6);
}

.footer-institutional-copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--sepia-lt);
  margin: 0 0 0.5rem;
}

.footer-institutional-copy p {
  margin: 0;
  max-width: 520px;
  color: rgba(253,246,232,0.68);
  line-height: 1.7;
}

.footer-institutional-data {
  display: grid;
  gap: 0.8rem;
}

.footer-data-item {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(184,147,90,0.12);
  background: rgba(255,255,255,0.025);
}

.footer-data-item span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.52);
}

.footer-data-item a,
.footer-data-item strong {
  color: rgba(253,246,232,0.84);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-data-item a:hover {
  color: var(--sepia-lt);
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(253,246,232,0.70);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--sepia-lt); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(240,223,192,0.52);
  font-style: italic;
}

.footer-ornament {
  color: var(--sepia);
  opacity: 0.3;
  font-size: 1rem;
  letter-spacing: 0.5rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── TICKER ─── */
.ticker-wrap {
  background: rgba(184,147,90,0.08);
  border-top: 40px solid rgba(184,147,90,0.12);
  border-bottom: 1px solid rgba(184,147,90,0.12);
  padding: 0.6rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 2;
}

.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ticker-stream {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
}

.ticker-item {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1e1710;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.ticker-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .documental-grid { grid-template-columns: 1fr; }
  .cucu-inner { grid-template-columns: 1fr; gap: 3rem; }
  .voces-grid { grid-template-columns: 1fr 1fr; }
  .upload-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { border-right: none; padding: 0.75rem 2rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .modules-grid { grid-template-columns: 1fr; }
  .voces-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cucu-mosaic { max-width: 300px; margin: 0 auto; }
  .hero-actions { flex-direction: column; align-items: center; }
}


/* ===== Ajustes modulares sin alterar la estética ===== */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(17,13,7,0.97);
  padding: 1rem;
  z-index: 999;
  border-bottom: 1px solid rgba(184,147,90,0.15);
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.dynamic-link-reset {
  color: inherit;
  text-decoration: none;
}

.module-card[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.9;
}

.cucu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.35rem;
}

.landmark-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
  align-items: center;
}

.landmark-dot,
.landmark-arrow {
  border: 1px solid rgba(240,223,192,0.22);
  background: rgba(253,246,232,0.08);
  color: rgba(253,246,232,0.94);
  padding: 0.45rem 0.72rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.landmark-dot:hover,
.landmark-dot.is-active,
.landmark-arrow:hover {
  background: rgba(212,176,122,0.18);
  border-color: rgba(232,184,75,0.72);
  color: #fffdf7;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17,13,7,0.24);
}

.landmark-dot.is-active {
  box-shadow: 0 10px 30px rgba(17,13,7,0.08);
}

.landmark-rotation-note {
  color: rgba(17,13,7,0.55);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.cucu-cta[href] {
  cursor: pointer;
}

.mosaic-cell {
  background-position: center;
  background-size: cover;
}

.mosaic-cell.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,13,7,0.08), rgba(17,13,7,0.42));
  pointer-events: none;
}

.mosaic-cell,
.doc-featured,
.sd-before,
.sd-after,
.voz-avatar {
  position: relative;
}

.doc-featured-bg.has-image,
.sd-before.has-image,
.sd-after.has-image {
  background-size: cover !important;
  background-position: center !important;
}

.doc-featured-bg.has-image::after,
.sd-before.has-image::after,
.sd-after.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,13,7,0.12), rgba(17,13,7,0.65));
}

.doc-item-link {
  text-decoration: none;
  color: inherit;
}

.doc-item-link:hover .doc-item {
  transform: translateY(-2px);
}

.error-box {
  max-width: 960px;
  margin: 100px auto;
  padding: 2rem;
  border: 1px solid rgba(184,147,90,0.25);
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.2));
  box-shadow: 0 15px 35px rgba(17,13,7,0.08);
  font-family: 'Cormorant Garamond', serif;
}

.error-box h1 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .landmark-nav {
    gap: 0.4rem;
  }

  .landmark-dot,
  .landmark-arrow {
    font-size: 0.88rem;
    padding: 0.42rem 0.6rem;
  }
}



/* ─── MOSAIC SLIDER ─── */
.mosaic-slider {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(253,246,232,0.92)),
    var(--slider-bg-image, none),
    linear-gradient(180deg, #f9f1e3 0%, #f4ead7 100%);
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(184,147,90,0.12);
  border-bottom: 1px solid rgba(184,147,90,0.12);
}

.mosaic-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(201,146,10,0.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(251,242,223,0.62));
  pointer-events: none;
}

.carousel-shell {
  position: relative;
  z-index: 1;
}

.carousel-intro {
  max-width: 1100px;
  margin: 0 auto 1.4rem;
  padding: 0 2rem;
  text-align: center;
}

.slider-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--ink);
  line-height: 1.1;
}

.slider-title em { color: var(--rust); font-style: italic; }

.slider-desc {
  max-width: 660px;
  margin: 0.9rem auto 0;
  color: #6d553a;
  font-size: 1.04rem;
  line-height: 1.75;
  font-style: italic;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  width: max-content;
  will-change: transform;
  padding: 10px 12px 16px;
}

.slide-item {
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,237,213,0.92));
  border: 1px solid rgba(184,147,90,0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17,13,7,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
}

.slide-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184,147,90,0.10);
  border-radius: 18px;
  pointer-events: none;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: #fff;
}

.slide-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: flex-start;
}

.slide-caption span {
  background: rgba(17,13,7,0.78);
  color: var(--cream);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide-item.square { width: 220px; height: 220px; }
.slide-item.vertical { width: 180px; height: 270px; }
.slide-item.horizontal { width: 300px; height: 180px; }
.slide-item.panorama { width: 360px; height: 170px; }
.slide-item.tall { width: 200px; height: 320px; }

/* ─── MÓDULOS REFINADOS ─── */
.modules-bg {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247,237,213,0.96), rgba(253,246,232,0.97)),
    var(--modules-bg-image, none),
    var(--cream2);
  background-size: cover;
  background-position: center;
}

.modules-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 50% 0%, rgba(201,146,10,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(253,246,232,0.46));
  pointer-events: none;
}

.modules-inner {
  position: relative;
  z-index: 1;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  background: transparent;
  border: 0;
}

.module-card {
  padding: 0;
  background: rgba(251,242,223,0.84);
  border: 1px solid rgba(184,147,90,0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(17,13,7,0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backdrop-filter: blur(3px);
}

.module-card::before {
  top: 0;
  bottom: auto;
  height: 2px;
  transform: scaleX(1);
  opacity: 0.65;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(17,13,7,0.14);
  border-color: rgba(184,147,90,0.28);
  background: rgba(253,246,232,0.95);
}

.module-card:hover::before { transform: scaleX(1); }

.module-media {
  position: relative;
  min-height: 210px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(17,13,7,0.72), rgba(17,13,7,0.24)),
    linear-gradient(135deg, #2a1d11 0%, #120d08 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.module-media.has-image {
  background-size: cover;
  background-position: center;
}

.module-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,13,7,0.22), rgba(17,13,7,0.62));
}

.module-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(232,184,75,0.16), transparent 34%);
  opacity: 0.9;
}

.module-media-top,
.module-media-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.module-num {
  position: static;
  font-size: 2.3rem;
  color: rgba(253,246,232,0.72);
}

.module-badge {
  margin-top: 0;
  background: rgba(253,246,232,0.14);
  border: 1px solid rgba(253,246,232,0.18);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.module-badge.new { background: rgba(201,146,10,0.18); color: #ffe9bc; border-color: rgba(201,146,10,0.25); }
.module-badge.community { background: rgba(61,92,53,0.18); color: #d8e7d3; border-color: rgba(61,92,53,0.28); }

.module-kicker {
  display: inline-block;
  color: rgba(253,246,232,0.78);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.module-icon {
  font-size: 1.3rem;
  margin-bottom: 0;
  color: rgba(253,246,232,0.92);
}

.module-card:hover .module-icon { transform: translateY(-2px) scale(1.04); }

.module-card-body {
  padding: 1.05rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
}

.module-card > .module-media {
  flex: 0 0 auto;
}

.module-name {
  font-size: 1.28rem;
  margin-bottom: 0.1rem;
}

.module-desc {
  font-size: 0.95rem;
  color: #6b5136;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-points {
  list-style: none;
  margin: 0.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.module-points li {
  border: 1px solid rgba(184,147,90,0.18);
  background: rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.72rem;
  color: #6f573c;
  letter-spacing: 0.04em;
}

.module-points li:nth-child(n+3) {
  display: none;
}

.module-action {
  margin-top: auto;
  padding-top: 0.55rem;
  color: var(--rust);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.featured-card { grid-column: span 2; }

.modules-extra {
  margin-top: 2.1rem;
}

.trivia-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  background: rgba(17,13,7,0.96);
  border: 1px solid rgba(184,147,90,0.18);
  border-radius: 26px;
  padding: 1.4rem;
  box-shadow: 0 24px 48px rgba(17,13,7,0.18);
}

.trivia-copy {
  padding: 1rem 1rem 1rem 0.6rem;
}

.trivia-copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  color: var(--cream);
  line-height: 1.15;
}

.trivia-copy h3 em { color: var(--gold-lt); font-style: italic; }

.trivia-copy p {
  margin-top: 1rem;
  color: rgba(240,223,192,0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

.trivia-meta {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trivia-meta span {
  border: 1px solid rgba(184,147,90,0.22);
  color: rgba(240,223,192,0.72);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trivia-card {
  background: linear-gradient(180deg, rgba(253,246,232,0.98), rgba(247,237,213,0.98));
  border-radius: 20px;
  border: 1px solid rgba(184,147,90,0.16);
  padding: 1.25rem;
}

.trivia-progress {
  color: var(--sepia);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.trivia-question {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.trivia-options {
  display: grid;
  gap: 0.75rem;
}

.trivia-option {
  text-align: left;
  border: 1px solid rgba(184,147,90,0.20);
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.trivia-option:hover { transform: translateY(-2px); border-color: rgba(184,147,90,0.35); background: #fff; }
.trivia-option.is-correct { background: rgba(90,126,80,0.14); border-color: rgba(90,126,80,0.42); }
.trivia-option.is-wrong { background: rgba(140,52,21,0.12); border-color: rgba(140,52,21,0.34); }

.trivia-feedback {
  min-height: 66px;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(184,147,90,0.10);
  color: #5d472e;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.trivia-feedback strong {
  color: var(--rust);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trivia-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.trivia-next {
  border: 0;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.trivia-next:hover { background: #251d15; }

/* responsive updates */
@media (max-width: 1100px) {
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-card { grid-column: span 2; }
  .trivia-shell { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mosaic-slider { padding: 1rem 0 1.5rem; }
  .carousel-intro { padding: 0 1rem; }
  .carousel-track { gap: 12px; padding: 8px 8px 14px; }
  .slide-item.square { width: 150px; height: 150px; }
  .slide-item.vertical { width: 130px; height: 200px; }
  .slide-item.horizontal { width: 220px; height: 130px; }
  .slide-item.panorama { width: 260px; height: 120px; }
  .slide-item.tall { width: 145px; height: 230px; }
  .modules-grid { grid-template-columns: 1fr; }
  .featured-card { grid-column: auto; }
  .module-media { min-height: 180px; }
  .trivia-shell { padding: 1rem; }
  .trivia-copy { padding: 0.2rem; }
}


/* ─── FRANJA FOTOGRÁFICA 16:9 / 9:16 ─── */
.museum-filmstrip {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--ink) 0%, #171108 18%, #241a0f 36%, rgba(247,237,213,0.98) 100%),
    var(--filmstrip-bg-image, none);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(184,147,90,0.12);
  padding: 1rem 0 1.75rem;
}

.museum-filmstrip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 25% at 50% 0%, rgba(201,146,10,0.10), transparent 70%),
    linear-gradient(180deg, rgba(17,13,7,0.12), rgba(247,237,213,0.12));
}

.museum-filmstrip-inner {
  position: relative;
  z-index: 1;
}

.museum-filmstrip-head {
  max-width: 1100px;
  margin: 0 auto 1.1rem;
  padding: 0 2rem;
  text-align: center;
}

.filmstrip-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(212,176,122,0.72);
  margin-bottom: 0.45rem;
}

.museum-filmstrip .filmstrip-tag {
  color: rgba(240,223,192,0.84);
}

.museum-filmstrip .slider-title {
  color: rgba(253,246,232,0.97);
  font-size: clamp(2.05rem, 3.5vw, 3.1rem);
  text-shadow: 0 2px 18px rgba(0,0,0,0.18);
}

.museum-filmstrip .slider-title em {
  color: #f0d79a;
}

.museum-filmstrip .slider-desc {
  max-width: 760px;
  color: rgba(253,246,232,0.86);
  font-size: 1.16rem;
  line-height: 1.82;
  text-shadow: 0 1px 12px rgba(0,0,0,0.14);
}

.filmstrip-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.filmstrip-viewport::before,
.filmstrip-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.filmstrip-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(23,17,8,0.95), rgba(23,17,8,0));
}

.filmstrip-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(247,237,213,0.90), rgba(247,237,213,0));
}

.filmstrip-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding: 0 1.4rem;
  will-change: transform;
}

.film-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(184,147,90,0.22);
  box-shadow: 0 10px 30px rgba(17,13,7,0.20), inset 0 0 0 1px rgba(240,223,192,0.06);
  background: #1a140d;
  flex-shrink: 0;
  height: clamp(240px, 26vw, 320px);
}

.film-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(240,223,192,0.10);
  pointer-events: none;
  z-index: 2;
}

.film-card.landscape {
  aspect-ratio: 16 / 9;
  width: auto;
}

.film-card.portrait {
  aspect-ratio: 9 / 16;
  width: auto;
}

.film-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02) brightness(0.96);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.film-card:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.04) brightness(1);
}

.film-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.9rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(10,8,5,0.82), rgba(10,8,5,0.02));
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.film-card-year {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold-lt);
  line-height: 1;
}

.film-card-title {
  color: rgba(253,246,232,0.92);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── AJUSTES FINALES SALAS DEL MUSEO ─── */
.modules-inner {
  max-width: 1180px;
}

#modulesHeader .section-desc {
  max-width: 720px;
}

.modules-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.module-card {
  background: linear-gradient(180deg, rgba(251,242,223,0.90), rgba(253,246,232,0.95));
  min-height: 470px;
}

.module-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.28);
  opacity: 0.65;
}

.module-media {
  min-height: 285px;
  padding: 1.25rem;
}

.featured-card {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  align-items: stretch;
  min-height: 410px;
}

.featured-card .module-media {
  min-height: 100%;
  padding: 1.45rem;
}

.featured-card .module-card-body {
  padding: 1.4rem 1.45rem 1.45rem;
  justify-content: center;
  gap: 0.95rem;
}

.featured-card .module-name {
  font-size: clamp(1.75rem, 2vw, 2.15rem);
  line-height: 1.08;
}

.featured-card .module-desc {
  font-size: 1.03rem;
  max-width: 54ch;
  -webkit-line-clamp: 4;
}

.featured-card .module-points li {
  font-size: 0.76rem;
}

.featured-card .module-action {
  padding-top: 0.7rem;
}

@media (max-width: 1100px) {
  .featured-card {
    grid-column: span 2;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .featured-card .module-media {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .museum-filmstrip {
    padding: 0.9rem 0 1.3rem;
  }

  .museum-filmstrip-head {
    padding: 0 1rem;
    margin-bottom: 0.8rem;
  }

  .filmstrip-viewport::before,
  .filmstrip-viewport::after {
    width: 34px;
  }

  .filmstrip-track {
    gap: 10px;
    padding: 0 0.85rem;
  }

  .film-card {
    height: 220px;
  }

  .film-card.landscape,
  .film-card.portrait {
    width: auto;
  }

  .film-card-overlay {
    padding: 0.65rem 0.7rem;
  }

  .film-card-title {
    font-size: 0.7rem;
  }

  .featured-card {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .module-card {
    min-height: 420px;
  }

  .module-media {
    min-height: 250px;
  }
}


/* ===== Ajuste fino · Lugares emblemáticos ===== */
.cucu-mosaic {
  display: block;
  aspect-ratio: auto;
  max-width: none !important;
}

.landmark-copy,
.landmark-stage {
  animation: landmarkFadeUp 0.55s ease both;
}

@keyframes landmarkFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landmark-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0.85rem;
}

.landmark-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border: 1px solid rgba(184,147,90,0.22);
  background: rgba(240,223,192,0.05);
  color: rgba(240,223,192,0.72);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cucu-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}

.landmark-stage {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(184,147,90,0.18);
  box-shadow: 0 20px 45px rgba(17,13,7,0.26);
  padding: 0.9rem;
}

.landmark-stage-main {
  border: 1px solid rgba(184,147,90,0.18);
  background: rgba(255,255,255,0.02);
}

.landmark-stage-image {
  position: relative;
  min-height: 430px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201,146,10,0.08), transparent 70%),
    linear-gradient(135deg, #1b140d 0%, #2b1e13 38%, #171109 100%);
}

.landmark-stage-image.has-image {
  background-size: cover !important;
  background-position: center !important;
}

.landmark-stage-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,13,7,0.08), rgba(17,13,7,0.28) 42%, rgba(17,13,7,0.84) 100%);
}

.landmark-stage-image::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(240,223,192,0.12);
}

.landmark-stage-top,
.landmark-stage-overlay {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}

.landmark-stage-top {
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem 0;
}

.landmark-stage-kicker,
.landmark-stage-period {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(240,223,192,0.14);
  background: rgba(17,13,7,0.38);
  color: rgba(253,246,232,0.85);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landmark-stage-overlay {
  bottom: 0;
  padding: 1.35rem 1.1rem 1.1rem;
}

.landmark-stage-year {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-lt);
  margin-bottom: 0.35rem;
}

.landmark-stage-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  color: var(--cream);
}

.landmark-stage-title em {
  font-style: italic;
  color: var(--gold-lt);
}

.landmark-stage-caption {
  max-width: 42rem;
  margin: 0.6rem 0 0;
  color: rgba(240,223,192,0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.landmark-stage-facts,
.landmark-fact,
.landmark-fact-label {
  display: none !important;
}

.landmark-thumbs-wrap {
  margin-top: 0.9rem;
}

.landmark-thumbs-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  margin-bottom: 0.55rem;
  text-align: left;
}

.landmark-thumbs-rail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 0.5rem;
}

.landmark-thumbs-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(240,223,192,0.22);
  background: rgba(253,246,232,0.08);
  color: rgba(253,246,232,0.94);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.landmark-thumbs-arrow:hover,
.landmark-thumbs-arrow:focus-visible {
  background: rgba(212,176,122,0.18);
  border-color: rgba(232,184,75,0.72);
  color: #fffdf7;
  transform: translateY(-1px);
  outline: none;
}

.landmark-thumbs-helper {
  display: block;
  margin-top: 0.45rem;
  color: rgba(253,246,232,0.74);
  font-size: 0.8rem;
  line-height: 1.35;
}

.landmark-mini-tag {
  display: block;
  color: rgba(212,176,122,0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landmark-mini-note {
  display: block;
  color: rgba(253,246,232,0.82);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.35;
}

.landmark-thumbs {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}

.landmark-thumbs::-webkit-scrollbar {
  display: none;
}

.landmark-thumb {
  position: relative;
  flex: 0 0 clamp(124px, 13vw, 164px);
  min-height: 104px;
  border: 1px solid rgba(184,147,90,0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(17,13,7,0.35);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  scroll-snap-align: start;
}

.landmark-thumb.has-image {
  background-size: cover !important;
  background-position: center !important;
}

.landmark-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,13,7,0.04), rgba(17,13,7,0.75));
}

.landmark-thumb:hover,
.landmark-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(212,176,122,0.35);
  box-shadow: 0 14px 24px rgba(17,13,7,0.22);
  outline: none;
}

.landmark-thumb.is-active {
  border-color: rgba(232,184,75,0.75);
  box-shadow: 0 0 0 1px rgba(232,184,75,0.25), 0 14px 24px rgba(17,13,7,0.24);
}

.landmark-thumb-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.72rem;
}

.landmark-thumb-year {
  display: block;
  margin-bottom: 0.18rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  color: var(--gold-lt);
}

.landmark-thumb-label {
  display: block;
  color: rgba(253,246,232,0.9);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landmark-thumb.is-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(184,147,90,0.08), rgba(184,147,90,0.03));
  flex: 0 0 clamp(124px, 13vw, 164px);
}

.landmark-thumb.is-add::after {
  display: none;
}

.landmark-thumb-plus {
  position: relative;
  z-index: 2;
  font-size: 1.35rem;
  color: var(--gold-lt);
}

.landmark-thumb-add-text {
  position: relative;
  z-index: 2;
  color: rgba(240,223,192,0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 900px) {
  .landmark-stage-image {
    min-height: 360px;
  }

  .landmark-stage-facts {
    grid-template-columns: 1fr;
  }

  .landmark-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .landmark-meta-row {
    gap: 0.45rem;
  }

  .landmark-stage {
    padding: 0.52rem;
  }

  .landmark-stage-image {
    min-height: auto;
    aspect-ratio: 5 / 4;
  }

  .landmark-stage-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .landmark-stage-overlay {
    padding: 0.78rem 0.72rem 0.72rem;
  }

  .landmark-stage-title {
    font-size: 1.18rem;
  }

  .landmark-thumbs-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .landmark-thumbs {
    grid-auto-columns: minmax(86px, 28vw);
  }

  .landmark-thumb {
    min-height: 76px;
  }
}


/* ─── PATCHES 2026-04 admin + home ─── */
.upload-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.voz-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.voz-sumar-secondary {
  background: transparent;
  color: var(--sepia-lt);
}

.voz-sumar-secondary:hover {
  color: var(--cream);
}

.footer-institutional-logo{display:flex;align-items:center;justify-content:center}.footer-institutional-logo img{max-width:180px;width:100%;height:auto;display:block;filter:drop-shadow(0 8px 20px rgba(0,0,0,.12))}


.hero-desc,
.module-card p,
.timeline-item p,
.section-intro,
.footer-top p,
.upload-copy p,
.voices-feature p,
.before-after-copy p,
.documentary-copy p,
.embedded-trivia p,
body p,
body li {
  font-size: var(--user-base-text-size-safe);
  line-height: var(--user-line-height-safe);
}

body,
.section,
.modules-bg,
.documental-bg,
.upload-section,
#lugares-preview {
  --context-label-color: var(--user-small-text-color-light-context);
  --context-secondary-text-color: var(--user-secondary-text-color-light-context);
  --context-button-secondary-text: var(--user-button-secondary-text-light-context);
  --context-button-secondary-border: var(--user-button-secondary-border-light-context);
  --context-button-secondary-bg: var(--user-button-secondary-bg-light-context);
  --context-button-secondary-hover-bg: var(--user-button-secondary-hover-bg-light-context);
  --context-button-secondary-hover-text: var(--user-button-secondary-hover-text-light-context);
}

.hero,
.cucu-section,
.voces-bg,
footer,
.section-header.is-dark,
.module-media,
.landmark-stage,
.landmark-thumb.has-image,
.landmark-thumbs-head,
.doc-featured,
.doc-item {
  --context-label-color: var(--user-small-text-color-dark-context);
  --context-secondary-text-color: var(--user-secondary-text-color-dark-context);
  --context-button-secondary-text: var(--user-button-secondary-text-dark-context);
  --context-button-secondary-border: var(--user-button-secondary-border-dark-context);
  --context-button-secondary-bg: var(--user-button-secondary-bg-dark-context);
  --context-button-secondary-hover-bg: var(--user-button-secondary-hover-bg-dark-context);
  --context-button-secondary-hover-text: var(--user-button-secondary-hover-text-dark-context);
}

.hero-eyebrow,
.section-kicker,
.section-tag,
.module-kicker,
.landmark-eyebrow,
.documentary-tag,
.before-after-eyebrow,
.voices-eyebrow,
.upload-eyebrow,
.footer-mini-kicker,
.footer-col h4,
.ticker-label {
  font-size: clamp(0.72rem, calc(0.62rem + (var(--user-small-text-scale-safe) * 0.18rem)), 0.98rem);
  color: var(--context-label-color, var(--user-small-text-color-light-context));
}

.high-contrast-mode {
  --user-small-text-color: #4c3214;
  --user-small-text-color-light-context: #4c3214;
  --user-small-text-color-dark-context: #fff4d8;
}

.high-contrast-mode .hero-eyebrow,
.high-contrast-mode .section-kicker,
.high-contrast-mode .section-tag,
.high-contrast-mode .module-kicker,
.high-contrast-mode .landmark-eyebrow,
.high-contrast-mode .documentary-tag,
.high-contrast-mode .before-after-eyebrow,
.high-contrast-mode .voices-eyebrow,
.high-contrast-mode .upload-eyebrow,
.high-contrast-mode .footer-mini-kicker,
.high-contrast-mode .footer-col h4,
.high-contrast-mode .ticker-label {
  font-weight: 700;
}


.hero-desc,
.section-desc,
.module-desc,
.upload-text p,
.upload-steps li,
.upload-contact-line span,
.upload-mail-shell p,
.memory-form-head p,
.field small,
.memory-consent span,
.memory-form-status,
.cucu-text p,
.landmark-stage-caption,
.landmark-mini-note,
.landmark-rotation-note,
.doc-featured-content p,
.doc-item-body span,
.footer-single-nav a,
.footer-single-meta a,
.footer-single-meta span,
.footer-brand p,
.footer-col li a,
.section-intro {
  color: var(--context-secondary-text-color);
}

.btn-secondary,
.upload-mail-secondary,
.upload-copy-btn,
.cucu-text .cucu-cta,
.cucu-cta[href] {
  color: var(--context-button-secondary-text);
  border-color: var(--context-button-secondary-border);
  background: var(--context-button-secondary-bg);
}

.btn-secondary:hover,
.upload-mail-secondary:hover,
.upload-copy-btn:hover,
.cucu-text .cucu-cta:hover,
.cucu-cta[href]:hover {
  color: var(--context-button-secondary-hover-text);
  border-color: var(--context-button-secondary-border);
  background: var(--context-button-secondary-hover-bg);
}

.landmark-thumb-add-text,
.landmark-thumb-label,
.landmark-mini-tag,
.landmark-stage-kicker,
.landmark-stage-period {
  color: var(--context-label-color);
}


/* ─── AJUSTE FINO DE ACCESIBILIDAD ─── */
.section-tag,
.hero-eyebrow,
.module-kicker,
.landmark-eyebrow,
.documentary-tag,
.before-after-eyebrow,
.voices-eyebrow,
.upload-eyebrow,
.footer-mini-kicker,
.ticker-label {
  font-size: clamp(0.72rem, calc(0.62rem + (var(--user-small-text-scale-safe) * 0.18rem)), 0.98rem);
  color: var(--context-label-color, var(--user-small-text-color-light-context));
}

.section-desc,
.module-desc,
.upload-text p,
.voice-desc,
.footer-brand p,
.footer-col li a {
  line-height: var(--user-line-height-safe);
}


.sd-container.is-empty,
#sliderDemo.is-empty .sd-container {
  background: linear-gradient(135deg, #e9dfcf 0%, #d8cab5 100%);
}

.sd-layer.is-empty {
  background-image: none !important;
}

.sd-layer.is-empty::before {
  content: 'Sin imagen';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(60, 39, 18, 0.55);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

#sliderDemo.is-empty .sd-divider,
#sliderDemo.is-empty .sd-handle,
#sliderDemo.is-empty .sd-overlay-l,
#sliderDemo.is-empty .sd-overlay-r {
  opacity: 0.45;
}


/* === Comparador antes y después reforzado === */
.ba-compare {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #e9dfcf 0%, #d8cab5 100%);
}
.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1c0a, #3a2810, #2a1808);
}
.ba-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.ba-image-before {
  z-index: 2;
  width: 50%;
  border-right: 2px solid rgba(255,255,255,0.85);
  overflow: hidden;
}
.ba-image-before img {
  width: var(--ba-container-width, 100%);
  max-width: none;
  left: 0;
}
.ba-image-after {
  z-index: 1;
}
.ba-divider,
.ba-handle {
  position: absolute;
  z-index: 4;
}
.ba-divider {
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 1px rgba(42, 24, 8, 0.2);
}
.ba-handle {
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(33,22,10,0.82);
  color: #fff6e8;
  font-size: 1.15rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-empty-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 6;
  color: rgba(60,39,18,0.62);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ===== Ajustes finales responsive · abril 2026 ===== */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(184,147,90,0.10);
  padding: 1.35rem 1.2rem 1rem;
}

.footer-inner.footer-slim {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-slim-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(184,147,90,0.10);
}

.footer-slim-main {
  min-width: 0;
}

.footer-slim-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.18rem;
  text-decoration: none;
  margin-bottom: 0.7rem;
}

.footer-slim-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.06rem;
  line-height: 1.1;
  color: var(--sepia-lt);
}

.footer-slim-sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.56);
}

.footer-slim-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
}

.footer-slim-nav a {
  color: rgba(253,246,232,0.72);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.footer-slim-nav a:hover {
  color: var(--sepia-lt);
}

.footer-slim-muni {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: end;
}

.footer-slim-muni-logo {
  width: 92px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.footer-slim-muni-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

.footer-slim-muni-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-align: left;
}

.footer-slim-muni-copy span {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.56);
}

.footer-slim-muni-copy strong {
  color: rgba(253,246,232,0.92);
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 600;
}

.footer-slim-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  padding-top: 0.75rem;
}

.footer-slim-bottom span,
.footer-slim-bottom a {
  color: rgba(240,223,192,0.56);
  text-decoration: none;
  font-size: 0.74rem;
  line-height: 1.35;
}

.footer-slim-bottom a:hover {
  color: var(--sepia-lt);
}

.footer-institutional,
.footer-top,
.footer-bottom {
  display: none !important;
}

.filmstrip-track {
  transform: translate3d(0, 0, 0);
  touch-action: pan-y;
}

.film-card img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 900px) {
  .footer-slim-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-slim-brand {
    align-items: center;
  }

  .footer-slim-nav {
    justify-content: center;
  }

  .footer-slim-muni {
    justify-self: center;
  }

  .footer-slim-muni-copy {
    text-align: left;
  }

  .footer-slim-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .modules-grid {
    gap: 0.95rem !important;
  }

  .module-card {
    min-height: auto !important;
    border-radius: 18px;
  }

  .module-media {
    min-height: 170px !important;
    padding: 1rem !important;
  }

  .featured-card {
    grid-column: auto !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .featured-card .module-media {
    min-height: 210px !important;
    padding: 1.05rem !important;
  }

  .module-card-body {
    padding: 0.9rem 0.95rem 1rem !important;
    gap: 0.55rem !important;
  }

  .module-name {
    font-size: 1.14rem !important;
    line-height: 1.12 !important;
  }

  .module-desc {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 3;
  }

  .module-points {
    margin-top: 0 !important;
    gap: 0.32rem !important;
  }

  .module-points li {
    font-size: 0.68rem !important;
    padding: 0.28rem 0.58rem !important;
  }

  .module-action {
    margin-top: 0.15rem !important;
    padding-top: 0.2rem !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.12em !important;
  }

  .museum-filmstrip {
    padding: 0.9rem 0 1.25rem !important;
  }

  .museum-filmstrip-head {
    padding: 0 1rem !important;
    margin-bottom: 0.8rem !important;
  }

  .filmstrip-track {
    gap: 10px !important;
    padding: 0 0.85rem !important;
  }

  .film-card {
    height: 214px !important;
  }

  .film-card-overlay {
    padding: 0.65rem 0.7rem !important;
  }

  .film-card-title {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 1.2rem 1rem 0.95rem;
  }

  .footer-slim-title {
    font-size: 1rem;
  }

  .footer-slim-sub {
    font-size: 0.62rem;
  }

  .footer-slim-nav {
    gap: 0.4rem 0.75rem;
  }

  .footer-slim-nav a {
    font-size: 0.8rem;
  }

  .footer-slim-muni {
    gap: 0.7rem;
  }

  .footer-slim-muni-logo {
    width: 116px;
    height: 76px;
  }

  .footer-slim-muni-copy strong {
    font-size: 0.9rem;
  }

  .footer-slim-bottom span,
  .footer-slim-bottom a {
    font-size: 0.72rem;
  }
}


/* === AJUSTES HOME PUBLICACIÓN 2026-04-15 === */
.hero-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
}

.hero-shell.no-media {
  max-width: 820px;
  grid-template-columns: 1fr;
}

.hero-copy {
  min-width: 0;
  width: 100%;
}

.hero-shell.has-media .hero-copy {
  text-align: center;
}

.hero-shell.has-media .hero-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.hero-shell.has-media .hero-actions,
.hero-shell.has-media .hero-subtitle-line {
  justify-content: center;
}

.hero-media-slot {
  display: flex;
  justify-content: center;
  margin: 0.4rem 0 1.35rem;
  opacity: 0;
  animation: fadeUp 0.95s 0.48s forwards;
}

.hero-polaroid {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
  transform: rotate(-3deg);
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.26));
  animation: heroPolaroidFloat 6s ease-in-out infinite;
}

.hero-polaroid-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 28px;
  transform: translateX(-50%) rotate(4deg);
  background: linear-gradient(180deg, rgba(255,243,212,0.92), rgba(230,208,156,0.72));
  border: 1px solid rgba(255,255,255,0.25);
  opacity: 0.88;
  z-index: 2;
}

.hero-polaroid-frame {
  background: #f8f1e3;
  padding: 1rem 1rem 1.4rem;
  border: 1px solid rgba(90,72,45,0.18);
}

.hero-polaroid-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(28,23,18,0.96), rgba(61,49,34,0.9));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-polaroid-media img,
.hero-polaroid-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-polaroid-empty {
  color: rgba(255,248,235,0.82);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
}

.hero-polaroid-meta {
  padding-top: 0.95rem;
  color: #32281b;
}

.hero-polaroid-kicker {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a6645;
  margin-bottom: 0.35rem;
}

.hero-polaroid-caption {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  line-height: 1.3;
}

@keyframes heroPolaroidFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1.6deg) translateY(-6px); }
}

.upload-grid.single-column {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.upload-grid.single-column .upload-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contribution-mail-area {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.4rem 2rem;
}

.upload-mail-shell {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.upload-mail-shell h3 {
  margin-bottom: 0;
}

.upload-mail-shell p {
  margin-bottom: 0.4rem;
  max-width: 560px;
}

.upload-mail-shell .upload-contact-line {
  max-width: 540px;
  margin-top: 0.8rem;
}

.upload-steps-centered li {
  justify-content: center;
  text-align: left;
}

.contribution-form-area {
  cursor: default;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,252,246,0.98), rgba(247,238,221,0.98));
  border-style: solid;
  box-shadow: 0 16px 40px rgba(30, 18, 8, 0.08);
}

.contribution-form-area:hover {
  background: linear-gradient(180deg, rgba(255,252,246,1), rgba(247,238,221,1));
}

.memory-form-shell {
  max-width: 820px;
  margin: 0 auto;
}

.memory-form-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.memory-form-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 0.7rem;
}

.memory-form-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.memory-form-head p {
  color: #6a5035;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto;
}

.memory-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-span-2 {
  grid-column: span 2;
}

.field span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a5f3f;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(184,147,90,0.28);
  background: rgba(255,255,255,0.82);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  border-radius: 2px;
}

.field textarea {
  resize: vertical;
  min-height: 124px;
}

.field small {
  color: #806347;
  font-size: 0.88rem;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(201,146,10,0.82);
  box-shadow: 0 0 0 3px rgba(201,146,10,0.12);
}

.memory-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-top: 1.25rem;
  padding: 1rem 1rem 0;
  border-top: 1px solid rgba(184,147,90,0.18);
}

.memory-consent input {
  margin-top: 0.2rem;
}

.memory-consent span {
  color: #5a4030;
  line-height: 1.6;
}

.memory-form-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.memory-form-status {
  text-align: center;
  margin-top: 1rem;
  color: #7a5f3f;
  line-height: 1.6;
}

.memory-form-status.is-error {
  color: #8c3415;
}

.memory-form-status.is-success {
  color: #49613d;
}

#voces {
  display: none !important;
}

footer {
  padding: 1.75rem 1.2rem 1.35rem;
  border-top: 1px solid rgba(184,147,90,0.12);
}

.footer-single-column {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}

.footer-muni-hero {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.footer-muni-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(184,147,90,0.66);
}

.footer-muni-logo-wrap {
  width: min(100%, 240px);
}

.footer-muni-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.footer-muni-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  color: var(--cream);
}

.footer-muni-linkline {
  color: var(--gold-lt);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-single-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-single-nav a,
.footer-single-meta a,
.footer-single-meta span {
  color: rgba(240,223,192,0.72);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-single-nav a:hover,
.footer-single-meta a:hover,
.footer-muni-hero:hover .footer-muni-linkline {
  color: var(--sepia-lt);
}

.footer-single-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

@media (max-width: 960px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-shell.has-media .hero-copy,
  .hero-shell.has-media .hero-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-shell.has-media .hero-actions,
  .hero-shell.has-media .hero-subtitle-line {
    justify-content: center;
  }

  .hero-media-slot {
    margin-bottom: 1.1rem;
  }
}

@media (max-width: 720px) {
  .memory-form-grid {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: span 1;
  }

  .memory-consent {
    grid-template-columns: 1fr;
  }
}


/* ===== Optimización móvil · Lugares emblemáticos ===== */
@media (max-width: 700px) {
  .cucu-section {
    padding: 2.2rem 0;
  }

  .cucu-inner {
    gap: 1rem;
    align-items: start;
  }

  .cucu-mosaic {
    order: 1;
    width: 100%;
    max-width: none !important;
    margin: 0;
  }

  .cucu-text {
    order: 2;
  }

  .landmark-stage {
    padding: 0.55rem;
  }

  .landmark-stage-image {
    min-height: auto;
    aspect-ratio: 5 / 4;
    max-height: 52vh;
  }

  .landmark-stage-image.has-image {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: rgba(17,13,7,0.96);
  }

  .landmark-stage-image::before {
    background: linear-gradient(180deg, rgba(17,13,7,0.1), rgba(17,13,7,0.18) 48%, rgba(17,13,7,0.82) 100%);
  }

  .landmark-stage-top {
    padding: 0.65rem 0.65rem 0;
  }

  .landmark-stage-overlay {
    padding: 0.8rem 0.75rem 0.75rem;
  }

  .landmark-stage-title {
    font-size: clamp(1.16rem, 4.9vw, 1.48rem);
    line-height: 1.06;
  }

  .landmark-stage-caption {
    max-width: none;
    margin-top: 0.28rem;
    font-size: 0.88rem;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .landmark-stage-facts {
    display: none;
  }

  .landmark-thumbs-wrap {
    margin-top: 0.65rem;
  }

  .landmark-thumbs-rail {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 0.38rem;
  }

  .landmark-thumbs-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .landmark-thumbs-head {
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.42rem;
    text-align: left;
  }

  .landmark-mini-tag {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .landmark-mini-note {
    font-size: 0.8rem;
  }

  .landmark-thumbs {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
  }

  .landmark-thumb {
    min-height: 82px;
    scroll-snap-align: start;
  }

  .landmark-thumb-body {
    padding: 0.52rem;
  }

  .landmark-thumb-year {
    font-size: 0.84rem;
  }

  .landmark-thumb-label,
  .landmark-thumb-add-text {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .landmark-mini-note {
    display: none;
  }

  .landmark-thumbs {
    scrollbar-width: none;
  }

  .landmark-thumbs-helper {
    display: block;
    font-size: 0.74rem;
    margin-top: 0.35rem;
  }

  .landmark-thumbs::-webkit-scrollbar,
  .landmark-nav::-webkit-scrollbar {
    display: none;
  }

  .landmark-thumb {
    flex: 0 0 clamp(92px, 28vw, 118px);
    min-height: 82px;
    scroll-snap-align: start;
  }

  .landmark-thumb-body {
    padding: 0.5rem;
  }

  .landmark-thumb-year {
    font-size: 0.82rem;
  }

  .landmark-thumb-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .landmark-copy {
    display: grid;
    gap: 0.55rem;
  }

  .cucu-text .eyebrow {
    margin-bottom: 0.1rem;
    font-size: 0.62rem;
    letter-spacing: 0.24em;
  }

  .cucu-text h2 {
    margin-bottom: 0.2rem;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.02;
  }

  .cucu-text p {
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .landmark-meta-row,
  .landmark-rotation-note {
    display: none;
  }

  .cucu-meta {
    margin-top: 0.4rem;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .cucu-text .cucu-cta {
    margin-top: 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .landmark-nav {
    margin-top: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .landmark-dot,
  .landmark-arrow {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.38rem 0.55rem;
  }
}


/* ===== Cierre visual de publicación · abril 2026 ===== */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero,
.section,
.museum-filmstrip,
.stats-bar,
footer {
  scroll-margin-top: 84px;
}

.hero {
  min-height: min(100svh, 980px);
}

.hero-content,
.hero-copy,
.hero-shell {
  width: 100%;
}

.hero-shell {
  max-width: 960px;
}

.hero-eyebrow {
  margin-bottom: 1rem;
}

.hero-ornament {
  margin-bottom: 1rem;
}

.hero-title {
  text-wrap: balance;
  max-width: 10ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-title em {
  margin-top: 0.12em;
}

.hero-subtitle-line {
  margin: 1.2rem 0 1rem;
}

.hero-desc {
  max-width: 43ch;
  font-size: clamp(1.02rem, 1rem + 0.3vw, 1.18rem);
}

.btn-primary,
.btn-secondary {
  min-height: 48px;
  padding: 0.88rem 1.7rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(17,13,7,0.08);
}

.btn-secondary {
  backdrop-filter: blur(6px);
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 1.5rem;
}

.section-inner,
.cucu-inner,
.museum-filmstrip-head,
.footer-single-column {
  max-width: 1120px;
}

.section-header {
  margin-bottom: clamp(2.1rem, 4.4vw, 3.4rem);
}

.section-title {
  line-height: 1.04;
  text-wrap: balance;
}

.section-desc {
  max-width: 58ch;
  font-size: clamp(1rem, 0.98rem + 0.24vw, 1.12rem);
}

.stats-bar {
  gap: 0;
}

.stat-item {
  padding: 1rem 1.35rem;
}

.module-card,
.landmark-stage,
.upload-form-area,
.doc-item,
.footer-muni-hero {
  border-radius: 24px;
}

.module-card {
  box-shadow: 0 18px 36px rgba(17,13,7,0.10);
}

.module-card:hover {
  transform: translateY(-3px);
}

.module-name,
.landmark-stage-title,
.doc-featured-content h3,
.before-after-copy h3,
.memory-form-head h3 {
  text-wrap: balance;
}

.footer-muni-hero {
  padding: 0.5rem 0.8rem 0.35rem;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.footer-muni-hero:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.footer-single-nav {
  max-width: 780px;
}

.footer-single-meta {
  max-width: 820px;
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 0.96rem;
  }

  .hero {
    padding: 92px 1rem 3rem;
  }

  .hero-polaroid {
    width: min(100%, 300px);
  }

  .section {
    padding: 3.7rem 1rem;
  }

  .section-title {
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .stat-item {
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgba(184,147,90,0.14);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11.2vw, 4.2rem);
    line-height: 0.92;
  }

  .hero-city {
    font-size: 0.98rem;
  }

  .hero-actions {
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: min(100%, 320px);
    justify-content: center;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .section-header {
    margin-bottom: 1.9rem;
  }

  .section-title {
    font-size: clamp(1.78rem, 8.5vw, 2.5rem);
  }

  .section-desc,
  .hero-desc,
  .cucu-text p,
  .upload-text p,
  .doc-item-body span {
    font-size: 0.98rem;
  }

  .museum-filmstrip {
    padding-top: 0.75rem;
  }

  .filmstrip-tag {
    letter-spacing: 0.24em;
  }

  .film-card {
    height: 208px !important;
  }

  .modules-grid {
    gap: 0.85rem !important;
  }

  .module-card {
    min-height: 0 !important;
    border-radius: 20px;
  }

  .upload-grid.single-column,
  .contribution-mail-area {
    max-width: 100%;
  }

  .footer-single-column {
    gap: 0.9rem;
  }

  .footer-single-nav {
    gap: 0.45rem 0.8rem;
  }
}

@media (max-width: 520px) {
  .navbar {
    height: 60px;
  }

  .nav-links.mobile-open {
    top: 60px;
    padding: 0.85rem 0.9rem 1rem;
    gap: 0.15rem;
  }

  .nav-links.mobile-open li a {
    padding: 0.75rem 0.3rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-polaroid {
    width: min(100%, 268px);
  }

  .hero-polaroid-frame {
    padding: 0.82rem 0.82rem 1.12rem;
  }

  .hero-polaroid-caption {
    font-size: 0.94rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-bottom: 1px solid rgba(184,147,90,0.14);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .footer-muni-logo-wrap {
    width: min(100%, 200px);
  }

  .footer-single-nav a,
  .footer-single-meta a,
  .footer-single-meta span {
    font-size: 0.79rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-polaroid {
    animation: none !important;
  }
}


/* Ajustes finales Lugares emblemáticos */
.landmark-stage-main {
  background: rgba(17,13,7,0.2);
}
.landmark-stage-image {
  min-height: clamp(300px, 38vw, 460px);
}
.landmark-mini-note {
  text-align: left;
  max-width: 42rem;
}
@media (min-width: 901px) {
  .landmark-thumbs-wrap {
    padding-top: 0.1rem;
  }
  .landmark-thumbs-helper {
    display: none;
  }
}
