:root {
  --blue: #1a789e;
  --orange: #e2831e;
  --purple: #761354;
  --red: #a21e00;
  --teal: #139da3;
  --cream: #f7f3ec;
  --light: #f5f5f5;
  --text: #17333d;
  --radius: 16px;
  --font-title: 'Cabinet Grotesk', 'Anton SC', 'Arial Black', system-ui, sans-serif;
  --font-body: 'General Sans', 'Inter', system-ui, sans-serif;
}

/* ==========================================================================
   Agenda Page Stylesheet (Wide Card Diagram Layout)
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1a789e;
  font-family: 'General Sans', 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

/* Hero Section */
.hero {
  min-height: 400px;
  background: #1a789e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.18), transparent 26%),
              radial-gradient(circle at 80% 70%, rgba(226,131,30,.28), transparent 30%);
  opacity: .8;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin: 0 0 18px;
  font-size: 14px;
}

.hero h1 {
  font-family: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  font-size: clamp(58px, 10vw, 120px);
  line-height: .85;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  margin: 26px auto 0;
  opacity: 0.95;
}

/* Theaters Bar */
/* Program Section */
.program-section {
  padding: 60px 20px 90px;
  background: #eff6f7;
}

.section-head {
  text-align: center;
  margin: 0 auto 52px;
  max-width: 820px;
}

.section-head h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  text-transform: uppercase;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  margin: 0 0 16px;
  color: #1a789e;
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
  color: #336b7d;
}

/* Grid layout with wide vertical cards list */
.program-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

.program-card {
  --c: #761354;
  background: #fff;
  border: 1px solid var(--c);
  border-radius: 8px;
  overflow: hidden;
  color: var(--c);
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.program-card.purple { --c: #761354; }
.program-card.red { --c: #a21e00; }
.program-card.orange { --c: #e2831e; }
.program-card.teal { --c: #139da3; }

/* Left Column Details */
.card-left {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.country {
  background: var(--c);
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.special-tag {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,0.4);
  background: var(--c);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px 32px;
  gap: 24px;
  flex: 1;
}

.copy h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  color: var(--c);
  font-weight: 700;
}

.desc {
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 0 0 24px;
  color: var(--c);
  font-weight: 400;
}

.credits {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--c);
  font-weight: 400;
}

.credits p {
  margin: 0 0 8px;
}

.credits b {
  color: var(--c);
}

.note {
  font-size: 13px;
  line-height: 1.4;
  margin: 20px 0 0;
  background: rgba(226, 131, 30, 0.05);
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  border-radius: 4px;
  color: #4a5a60;
}

/* Button & logos aligned on a single row */
.card-aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 20px;
}

.ticket {
  display: inline-block;
  background: var(--c);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 20px;
  transition: opacity 0.2s;
}

.ticket:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.logos {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logos img {
  height: 36px;
  max-width: 90px;
  object-fit: contain;
}

/* Right Column Visuals */
.card-right {
  display: flex;
  flex-direction: column;
  background: var(--c);
}

.poster {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.dates {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1px;
  background: var(--c);
  border-top: 1px solid var(--c);
}

.date {
  background: var(--c);
  color: #fff;
  display: flex;
  min-height: 110px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  position: relative;
}

.date span {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.9;
}

.date strong {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(38px, 4vw, 46px);
  line-height: .92;
}

.date small {
  font-size: 13px;
  font-weight: 700;
}

.date em {
  font-style: normal;
  font-size: 11px;
  line-height: 1.05;
  margin-top: 4px;
  max-width: 95px;
  background: rgba(255,255,255,0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Newsletter Section */
.newsletter {
  background: #1a789e;
  color: #fff;
  text-align: center;
  padding: 90px 24px;
}

.newsletter h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.newsletter p {
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.newsletter form {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.newsletter input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 16px;
  padding: 14px 18px;
  color: #1a789e;
}

.newsletter button {
  border: 0;
  background: #e2831e;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
}

/* Responsive Overrides */
@media (max-width: 1000px) {

  .program-card {
    grid-template-columns: 1fr;
  }
  .poster {
    min-height: 300px;
  }
}

@media (max-width: 600px) {

  .card-body {
    padding: 24px 20px;
  }
  .card-aside {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .logos {
    justify-content: center;
  }
  .newsletter form {
    border-radius: 24px;
    flex-direction: column;
  }
  .newsletter button {
    width: 100%;
  }
}

/* ==========================================================================
   Shared Header & Footer (Integrated from Home Page)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 96%;
  max-width: 1800px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s ease;
}
.brand {
  display: flex;
  align-items: center;
  width: 180px;
  height: 48px;
  overflow: hidden;
}
.brand img {
  width: 160px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
}
.main-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.main-nav a:hover {
  background: rgba(26, 120, 158, 0.1);
}
.nav-ticket {
  background: var(--orange);
  color: #fff !important;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue);
  color: #fff;
  padding: 34px 32px;
  margin-top: auto;
}
.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.site-footer strong {
  font-family: var(--font-title, 'Cabinet Grotesk', sans-serif);
  font-size: 24px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
  font-weight: 700;
}
.site-footer nav a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .main-nav a:not(.nav-ticket) {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    top: 12px;
  }
  .brand {
    width: 120px;
  }
  .brand img {
    width: 120px;
  }
  .main-nav {
    font-size: 14px;
  }
  .nav-ticket {
    padding: 10px 12px !important;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
  .site-footer div {
    text-align: center;
  }
  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --- NEW FOOTER STYLES --- */
.footer-wrapper {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.footer-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/textura%20fondo.png');
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.newsletter {
  position: relative;
  padding: 80px 24px 40px;
  text-align: center;
  z-index: 1;
  background: transparent !important;
}

.newsletter .section-inner {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter h2 {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--blue);
  text-transform: none
}

.newsletter p {
  max-width: 760px;
  margin: 14px auto 38px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600
}

.signup {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff
}

.signup input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--blue)
}

.signup button {
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 30px;
  cursor: pointer
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent !important;
  color: #fff;
  padding: 20px 64px 60px;
  z-index: 1;
}

.site-footer .footer-logo {
  max-width: 250px;
  width: 250px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-weight: normal
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

/* Header scroll states */
.site-header {
  color: #fff;
}
.site-header .main-nav a {
  font-weight: normal;
  color: #fff;
  transition: color 0.3s ease;
}
.site-header.scrolled {
  color: var(--blue);
}
.site-header.scrolled .main-nav a {
  color: var(--blue);
}

/* Logo toggle */
.site-header .brand .logo-color { display: none; }
.site-header.scrolled .brand .logo-white { display: none; }
.site-header.scrolled .brand .logo-color { display: block; }

.site-header.scrolled {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/textura%20fondo.png') center/cover;
  opacity: 0.05;
  pointer-events: none;
}

.hero h1 {
  position: relative;
  z-index: 1;
}

.theaters-bar-section {
  padding: 40px 20px 0;
  background: #eff6f7;
}

.theaters-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

.theater-badge {
  background: #fff;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  height: 160px;
  border: 2px solid var(--accent);
  border-bottom: 24px solid var(--accent);
  box-sizing: border-box;
}

.theater-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.theater-badge.purple { --accent: #761354; }
.theater-badge.red { --accent: #c4291c; }
.theater-badge.orange { --accent: #df8826; }
.theater-badge.pink { --accent: #cf66a2; }

@media (max-width: 900px) {
  .theaters-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .theaters-bar {
    grid-template-columns: 1fr;
  }
}

.card-right {
  display: flex;
  flex-direction: column;
}
.card-right .poster {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}
.dates {
  display: flex;
  background: var(--c);
  width: 100%;
}
.date {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border-left: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  text-align: center;
}
.date:first-child { border-left: none; }
.date span { font-size: 0.85rem; font-weight: 400; text-transform: uppercase; margin-bottom: 2px; }
.date strong { font-size: 2.2rem; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.date small { font-size: 0.85rem; font-weight: 400; }
.date .note { font-size: 0.7rem; font-weight: 400; margin-top: 4px; line-height: 1.1; background: transparent; border: none; padding: 0; color: #fff; text-align: center; }

.logos-container { display: flex; align-items: center; gap: 16px; }
.main-venue-logo { height: 35px; object-fit: contain; }
.mdca-disclaimer { display: flex; align-items: center; gap: 12px; margin-top: 16px; width: 100%; }
.mdca-disclaimer img { width: 35px; height: 35px; object-fit: contain; }
.mdca-disclaimer p { font-size: 0.7rem; line-height: 1.2; color: var(--c); margin: 0; flex: 1; text-align: center;}

.ticket:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0.9; }


/* Image Carousel Styles */
.image-carousel {
  width: 100%;
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
