:root {
  --header-bg: #191641;
  --header-text: #D1C845;
  --header-active: #46A6C6;
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: #0b0b1a;
  color: #f4f4f4;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 20, 0.45);
  z-index: 25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background-color: var(--header-bg);
}

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

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text p {
  color: var(--header-text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--header-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--header-active);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--header-text);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--header-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.js-animate .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-animate .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-animate .reveal,
  .js-animate .reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section {
  min-height: 60vh;
  padding: 120px 40px 80px;
}

.section h1,
.section h2 {
  color: var(--header-text);
  margin-bottom: 12px;
}

.tickets {
  background-image: url("Photos/lightining_2.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px;
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.tickets h2 {
  color: var(--header-text);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-size: 40px;
}

.tickets p {
  color: #f5f5f5;
  font-weight: 700;
  margin-bottom: 34px;
  font-size: 24px;
}

.tickets-btn {
  background: #1d1b44;
  color: var(--header-text);
  border: 2px solid #f5f5f5;
  padding: 22px 70px;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 22px;
  cursor: pointer;
}

.tickets-btn:hover {
  color: var(--header-active);
}

.merch-section {
  padding-top: 20px;
}

.merch-content {
  position: relative;
  overflow: hidden;
  background-image: url("Photos/fondomerch.jpeg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px;
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.merch-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.merch-content h2,
.merch-content p,
.merch-content .section-underline,
.merch-content .merch-btn {
  position: relative;
  z-index: 1;
}

.merch-content h2 {
  color: var(--header-text);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-size: 40px;
}

.merch-content p {
  color: #f5f5f5;
  font-weight: 700;
  margin-bottom: 34px;
  font-size: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 110px;
  align-items: center;
  background-color: #1b1a46;
  background-image: url("Photos/lightining.png");
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  padding-left: 90px;
  padding-right: 120px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 10px solid #F5F5F5;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  margin-left: 100px;
}

.hero-text {
  color: var(--header-text);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 980px;
  margin-left: 200px;
  padding: 24px 26px;
  border-radius: 14px;
  background: rgba(25, 22, 65, 0.7);
  border: 1px solid rgba(70, 166, 198, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(1.5px);
}

.hero-text.right-align {
  text-align: right;
  margin-right: 100px;
}

.hero-text .eyebrow {
  color: #D1C845;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-size: 40px;
}

.hero-text h1 {
  color: var(--header-active);
  font-size: 40px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 800;
}

.credits p {
  color: #F5F5F5;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 20px;
}

.divider {
  width: 260px;
  height: 2px;
  background: var(--header-text);
  margin: 18px 0 20px;
  opacity: 0.6;
}

.hero-text.right-align .divider {
  margin-left: auto;
}

.synopsis {
  color: var(--header-text);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 700px;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  margin-left: auto;
}

.when {
  position: relative;
  background-image:
    linear-gradient(rgba(209, 200, 69, 0.2), rgba(209, 200, 69, 0.2)),
    url("Photos/dibujo4_rotated_bright.jpeg");
  background-size: cover;
  background-position: center;
  color: #1b1a1a;
  padding: 60px 40px 90px;
  overflow: visible;
  text-align: center;
}

.when h2 {
  color: var(--header-text);
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 28px;
  font-size: 34px;
  text-align: center;
  margin-left: 0;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 3px 12px rgba(0, 0, 0, 0.5);
}

.when-content {
  max-width: 1300px;
  margin: 0 auto;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

.when-cards {
  display: grid;
  grid-template-columns: repeat(4, 284px);
  gap: 36px;
  justify-content: flex-start;
  margin-left: 40px;
  align-items: stretch;
}

.when-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 24px 18px;
  width: 284px;
  min-height: 284px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.when-card p {
  color: #111111;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 10px;
  font-size: 18px;
}

.when-card .time {
  font-size: 36px;
  letter-spacing: 1px;
}

.when-card .icon {
  width: 44px;
  height: 44px;
  color: #111111;
}

.when-card svg {
  width: 100%;
  height: 100%;
}

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

.when-link:hover {
  text-decoration: underline;
}

.when-photo {
  position: static;
  width: 284px;
  min-height: 284px;
  margin-left: 62px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
}

.when-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: none;
}

.section-underline {
  width: 260px;
  height: 4px;
  background: #D1C845;
  margin: 12px auto 24px;
}

.when .section-underline {
  margin-left: auto;
  margin-right: auto;
}

.contact-section {
  background-image: url("Photos/backgroundWhen.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: 60px;
}

.contact-section .footer-contact {
  margin-left: 0;
  align-items: center;
}

.contact-section .footer-title {
  color: #111111;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 34px;
  text-transform: uppercase;
  text-shadow: none;
}

.contact-section .footer-icons {
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-section .footer-social {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 34px 24px;
  width: 340px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  gap: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .when-card:hover,
  .contact-section .footer-social:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  }
}

.contact-section .footer-icon {
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 0;
  color: #111111;
  background: transparent;
}

.contact-section .footer-icon svg {
  width: 100%;
  height: 100%;
}

.contact-section .footer-handle {
  color: #111111;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 6px;
  font-size: 22px;
}

.contact-section .footer-social.email-card .footer-handle {
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px;
  background: #191641;
  color: #D1C845;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 0;
}

.footer-title {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 18px;
}

.footer-icons {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: nowrap;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}

.footer-icon {
  width: 60px;
  height: 60px;
  border: 2px solid #D1C845;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #D1C845;
  text-decoration: none;
}

.footer-icon svg {
  width: 34px;
  height: 34px;
}

.footer-handle {
  font-size: 11px;
  text-align: center;
}

.footer-text {
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
  margin-left: 110px;
}

.footer-text a {
  color: #D1C845;
  text-decoration: underline;
}

.footer-heading {
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-logo-text {
  text-align: center;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 12px;
}

.footer-copy {
  background: #191641;
  color: #D1C845;
  text-align: left;
  padding: 10px 40px 30px 160px;
  font-size: 14px;
  margin-left: 0;
}

.footer-copy a {
  color: #D1C845;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 16px;
    position: sticky;
    overflow: visible;
    z-index: 45;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    right: 0;
    width: min(74vw, 340px);
    height: calc(100vh - 86px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    display: flex;
    padding: 26px 20px;
    border-left: 1px solid rgba(70, 166, 198, 0.35);
    border-top-left-radius: 14px;
    background: linear-gradient(180deg, #191641 0%, #1f1d5a 100%);
    box-shadow: -14px 0 30px rgba(0, 0, 0, 0.38);
    transform: translateX(106%);
    pointer-events: none;
    transition: transform 0.24s ease;
    z-index: 50;
  }

  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-nav .nav-link {
    width: 100%;
    padding: 10px 6px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 0;
    border: 1px solid transparent;
    background: transparent;
    color: var(--header-text);
    font-size: clamp(20px, 5.4vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.4px;
    text-transform: none;
  }

  .main-nav .nav-link.active {
    border-color: transparent;
    background: transparent;
    color: var(--header-active);
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    width: 44px;
    height: 44px;
  }

  .nav-toggle[aria-expanded="true"] {
    background: rgba(209, 200, 69, 0.12);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-toggle span {
    width: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 30px;
    justify-items: center;
    text-align: center;
  }

  .hero-image img {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-text.right-align {
    margin-right: 0;
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .divider {
    width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .when {
    padding: 50px 16px 90px;
  }

  .when-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 12px;
    margin-left: 0;
  }

  .when-photo {
    min-height: 200px;
    width: 100%;
    margin-left: 0;
  }

  .when-photo img {
    max-height: 170px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-separator {
    display: none;
  }

  .footer-text {
    text-align: center;
    margin-left: 0;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
    padding: 10px 20px 26px;
  }

}

@media (min-width: 901px) and (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(230px, 360px) 1fr;
    gap: 44px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-image img {
    margin-left: 0;
    max-width: 360px;
  }

  .hero-text {
    max-width: 720px;
    margin-left: 0;
    padding: 20px 20px;
  }

  .hero-text.right-align {
    margin-right: 0;
  }

  .hero-text .eyebrow,
  .hero-text h1 {
    font-size: 32px;
  }

  .credits p {
    font-size: 17px;
  }

  .when {
    padding: 56px 24px 84px;
  }

  .when-content {
    padding-right: 0;
  }

  .when h2 {
    font-size: 30px;
    margin-left: 0;
    text-align: center;
  }

  .when-cards {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 20px;
    margin-left: 0;
    justify-items: center;
  }

  .when-card,
  .when-photo {
    width: 100%;
    max-width: 300px;
    min-height: 250px;
  }

  .when-photo {
    margin-left: 0;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(230px, 320px) 1fr;
    gap: 24px;
    justify-items: stretch;
    text-align: initial;
  }

  .hero-image img {
    max-width: 320px;
  }

  .hero-text,
  .hero-text.right-align {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    padding: 16px 16px;
    align-items: flex-end;
    text-align: right;
  }

  .hero-text .eyebrow,
  .hero-text h1 {
    font-size: 28px;
  }

  .credits p {
    font-size: 16px;
  }

  .synopsis {
    font-size: 14px;
    max-width: 100%;
  }

  .when {
    padding: 52px 18px 84px;
  }

  .when-content {
    padding-right: 0;
  }

  .when h2 {
    font-size: 28px;
    margin-left: 0;
    text-align: center;
  }

  .when-cards {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 16px;
    margin-left: 0;
    justify-items: center;
  }

  .when-card,
  .when-photo {
    width: 100%;
    max-width: 260px;
    min-height: 220px;
  }

  .when-photo {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 90px 20px 70px;
  }

  .hero-text,
  .hero-text.right-align {
    width: 100%;
    max-width: 640px;
    margin-right: 0;
    margin-left: 0;
    padding: 16px 14px;
    align-items: center;
    text-align: center;
  }

  .hero-text .eyebrow,
  .hero-text h1 {
    font-size: 24px;
  }

  .hero-image img {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .credits p {
    font-size: 14px;
  }

  .synopsis {
    font-size: 12px;
    max-width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  .when-content {
    padding-left: 0;
    text-align: center;
  }

  .when h2 {
    font-size: 24px;
    margin-left: 0;
  }

  .section-underline {
    margin-left: auto;
    margin-right: auto;
  }

  .when-card {
    width: 100%;
    max-width: 220px;
    padding: 24px 18px;
    min-height: 200px;
  }

  .when-card p {
    font-size: 16px;
  }

  .when-card .time {
    font-size: 22px;
  }

  .when-card .icon {
    width: 46px;
    height: 46px;
  }

  .when-cards {
    justify-content: center;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tickets {
    padding: 80px 16px;
  }

  #tickets {
    padding-bottom: 24px;
    min-height: auto;
  }

  #merch {
    padding-top: 12px;
    padding-bottom: 30px;
    min-height: auto;
  }

  #contacto {
    padding-top: 40px;
    min-height: auto;
  }

  .contact-section {
    padding-top: 20px;
  }

  .merch-content {
    padding: 80px 16px;
    background-position: right center;
  }

  .tickets h2 {
    font-size: 24px;
  }

  .merch-content h2 {
    font-size: 24px;
  }

  .tickets p {
    font-size: 14px;
  }

  .merch-content p {
    font-size: 14px;
  }

  .tickets-btn {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 16px 28px;
  }

  .footer-contact {
    margin-left: 0;
    align-items: center;
  }

  .contact-section .footer-title {
    font-size: 24px;
  }

  .contact-section .footer-social {
    width: 100%;
    max-width: none;
    padding: 24px 18px;
    min-height: 200px;
  }

  .contact-section .footer-icon {
    width: 46px;
    height: 46px;
  }

  .contact-section .footer-icon svg {
    width: 100%;
    height: 100%;
  }

  .contact-section .footer-handle {
    font-size: 16px;
  }

  .contact-section .footer-social:not(.email-card) .footer-handle {
    font-size: 13px;
    line-height: 1.25;
    max-width: 100%;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 0 2px;
  }

  .contact-section .footer-social.email-card .footer-handle {
    font-size: 14px;
  }

  .contact-section .footer-icons {
    display: grid;
    grid-template-columns: repeat(2, minmax(165px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .contact-section .footer-icons .footer-social:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(220px, 100%);
  }

  .footer-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-copy {
    padding-left: 20px;
  }

}
.footer-separator {
  width: 2px;
  height: 200px;
  background: #D1C845;
  opacity: 0.8;
  justify-self: center;
}
