
:root {
  --bg: #efe9de;
  --card: rgba(255, 255, 255, 0.82);
  --text: #1b1b1b;
  --muted: #5d564f;
  --line: rgba(57, 43, 34, 0.12);
  --accent: #6f1020;
  --accent-2: #17374c;
  --shadow: 0 22px 60px rgba(19, 12, 8, 0.09);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(111, 16, 32, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(23, 55, 76, 0.10), transparent 22%),
    linear-gradient(180deg, #f3eee5 0%, #eee7db 100%);
}

a { color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-shell { padding-bottom: 40px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.brand__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__kicker,
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__kicker { color: rgba(255,255,255,0.72); }
.eyebrow { color: var(--accent); font-weight: 700; }

.pages-badge {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  overflow: hidden;
}

.hero__copy {
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(135deg, #101010 0%, #28161b 55%, #532129 100%);
  color: white;
}

.hero h1 {
  margin: 14px 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 60ch;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.button--primary { background: white; color: #0f0f0f; }
.button--ghost { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.18); }

.hero__aside {
  display: grid;
  gap: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(250,246,239,0.92));
}

.hero__panel {
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.hero__panel:last-child { border-bottom: 0; }
.hero__panel h2 {
  margin: 4px 0 18px;
  font-size: 25px;
  font-family: "Cormorant Garamond", Georgia, serif;
}
.hero__panel ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.hero__panel--quote blockquote {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-family: "Cormorant Garamond", Georgia, serif;
}
.hero__panel--quote cite {
  display: inline-block;
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
}

.overview-grid,
.day-layout,
.utility-grid {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}
.overview-grid { grid-template-columns: repeat(3, 1fr); }
.day-layout { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); align-items: start; }
.utility-grid { grid-template-columns: repeat(3, 1fr); }
.overview-card, .section-card { padding: 28px; }
.overview-card h2, .section-card h2, .day-summary h2, .day-sidecard h2 {
  margin: 8px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1;
}
.overview-card p, .section-head p, .day-sidecard p, .notice, .procession-card p, .route-card p, .utility-grid p {
  color: var(--muted);
  line-height: 1.75;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.section-head > p { max-width: 54ch; margin: 0; }

.day-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.day-tab {
  border: 1px solid var(--line);
  background: #f6f1e8;
  color: #2f2924;
  border-radius: 18px;
  padding: 14px 16px;
  min-width: max-content;
  cursor: pointer;
  text-align: left;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.day-tab:hover { transform: translateY(-1px); }
.day-tab.is-active { background: #181313; color: white; }
.day-tab strong { display: block; font-size: 15px; }
.day-tab span { display: block; font-size: 12px; margin-top: 4px; opacity: .78; }

.day-summary, .day-sidecard { padding: 28px; }
.day-header {
  padding: 24px;
  border-radius: 24px;
  color: white;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #1a1a1a, #591c29);
}
.day-header.theme-azul { background: linear-gradient(135deg, #153a61, #1f5f8a); }
.day-header.theme-verde { background: linear-gradient(135deg, #163f35, #286757); }
.day-header.theme-negro { background: linear-gradient(135deg, #0f0f10, #2f2f31); }
.day-header.theme-granate { background: linear-gradient(135deg, #2c1116, #6f1020); }
.day-header.theme-violeta { background: linear-gradient(135deg, #281536, #5a257d); }
.day-header.theme-gris { background: linear-gradient(135deg, #49423d, #7d756d); }
.day-header.theme-oro { background: linear-gradient(135deg, #73530b, #b7861c); }
.day-header.theme-morado { background: linear-gradient(135deg, #3a1854, #663080); }
.day-header h2 { margin: 6px 0 10px; }
.day-header p { margin: 0; color: rgba(255,255,255,0.85); }

.analysis-list, .credits-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.notice {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: #f4eee3;
  border: 1px dashed rgba(57, 43, 34, 0.16);
}

.processions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.procession-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,243,236,0.92));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.procession-card h3 {
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 0.95;
}
.procession-meta {
  color: var(--muted);
  font-size: 14px;
}
.procession-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.procession-stat {
  padding: 12px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
}
.procession-stat span {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #766e66;
  margin-bottom: 6px;
}
.procession-stat strong { font-size: 14px; }
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}
.chip {
  background: #f1e8db;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
}
.procession-copy {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.inline-label {
  font-weight: 700;
  color: var(--text);
}

.routes-list {
  display: grid;
  gap: 14px;
}
.route-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(248, 243, 236, 0.9);
  padding: 18px;
}
.route-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
}
.route-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7b7168;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8f3eb 0%, white 100%);
}
.news-card__media {
  min-height: 136px;
  background: linear-gradient(135deg, #171717 0%, #40322a 42%, #6f1020 100%);
}
.news-card__body { padding: 20px; display: grid; gap: 10px; }
.news-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  font-family: "Cormorant Garamond", Georgia, serif;
}
.news-card p { margin: 0; }
.news-card a {
  margin-top: auto;
  text-decoration: none;
  font-weight: 700;
  color: var(--accent);
}
.news-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #766e66;
}

@media (max-width: 1100px) {
  .hero, .day-layout, .overview-grid, .utility-grid, .news-grid, .processions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container { width: min(100% - 18px, 1180px); }
  .topbar__inner { min-height: 72px; }
  .brand__meta { display: none; }
  .pages-badge { display: none; }
  .hero__copy, .hero__panel, .overview-card, .section-card, .day-summary, .day-sidecard { padding: 20px; }
  .section-head { flex-direction: column; align-items: start; }
  .procession-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .button { width: 100%; }
}
