/* ============================================================
   UNDERTONE — styles.css
   ============================================================ */

@font-face {
  font-family: "Circular Std";
  src: url("../fonts/CircularStd-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Circular Std";
  src: url("../fonts/CircularStd-Medium.woff2") format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Circular Std";
  src: url("../fonts/CircularStd-Black.woff2") format("woff2");
  font-weight: 700;
}

/* --- Variables --- */
:root {
  --white: #ffffff; 
  --black: #0d0d0d;
  --ink: #111111;
  --gray-line: #ddddd8;
  --gray-light: #f2f2ee;
  --gray-mid: #888888;
  --teal: #d82727;
  --green: #8ffdeb;
  --font-ui: "Circular Std", Helvetica, sans-serif;
  --font-body: "Circular Std", Helvetica, sans-serif;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  margin-left: 3%;
  margin-right: 3%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  width: 100%;
  padding: 18px 14px 14px;
  display: flex;
  justify-content: center;
  background: var(--white);
  animation: fadeDown 0.6s ease both;
}

.header-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

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

.logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.logo-brand {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

.logo-sub {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  width: 100%;
  padding: 0px 4px 2px;
  margin-left: 5%;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.65s 0.1s ease both;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 720px;
}

.title-block {
width: 80% – 90%;
  display: flex;
  justify-content: center;
}

.title-img-wrap {
  display: inline-flex;
  align-items: flex-end;
}

.film-title-img {
  width: clamp(340px, 88vw, 800px);
  height: auto;
}

.release-date {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

.release-sep {
  color: var(--gray-mid);
  font-weight: 300;
}

/* ============================================================
   NAV INTERNA
   ============================================================ */
.inner-nav {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 60px;
  height: 38px;
  background: var(--black);
  animation: fadeUp 0.65s 0.2s ease both;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link--left {
  text-align: left;
}

.nav-link--right {
  text-align: right;
}

.nav-scroll {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  padding: 0 12px;
  white-space: nowrap;
}

/* ============================================================
   TRAILER
   ============================================================ */
.trailer-section {
  width: 100%;
  background: #000;
  animation: fadeUp 0.7s 0.3s ease both;
}

.trailer-thumb {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.trailer-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.trailer-thumb:hover .trailer-img {
  transform: scale(1.02);
}

.trailer-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition);
  pointer-events: none;
}

.trailer-thumb:hover::after {
  background: rgba(0, 0, 0, 0.12);
}

.play-btn {
  position: absolute;
  top: 34px;
  right: 74px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 10;
}

.play-btn i {
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--teal);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
  transition: color var(--transition), transform var(--transition), -webkit-text-stroke var(--transition);
}

.play-btn:hover i {
  -webkit-text-stroke: 2px var(--white);
  transform: scale(1.12);
}

.play-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 50%;
}

/* ============================================================
   PROGRAMACIÓN
   ============================================================ */
.prog-section {
  width: 100%;
  background: var(--black);
  padding: 60px 24px 70px;
  overflow: hidden;
}

.prog-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.prog-title-col {
  position: sticky;
  top: 80px;
}

.prog-title {
  font-family: var(--font-ui);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  text-align: left;
}

.prog-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.prog-search,
.prog-select {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.prog-search::placeholder {
  color: #555;
}

.prog-search:focus,
.prog-select:focus {
  outline: none;
  border-color: var(--teal);
}

.prog-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.prog-select option {
  background: #1a1a1a;
  color: var(--white);
}

.prog-cercano {
  margin-bottom: 16px;
}

.cercano-card {
  background: rgba(216, 39, 39, 0.07);
  border: 1px solid rgba(216, 39, 39, 0.3);
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.cercano-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.cercano-nombre {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.cercano-lugar {
  font-size: 0.78rem;
  color: #888;
  margin-top: 2px;
}

.cercano-distancia {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--teal);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.prog-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prog-cine {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: #111;
  border-left: 3px solid #333;
  border-radius: 2px;
  transition: background var(--transition), border-color var(--transition);
}

.prog-cine:hover {
  background: #181818;
}

.prog-cine--cinemex {
  border-left-color: #4da6ff;
}

.prog-cine--cinepolis {
  border-left-color: #ff5566;
}

.prog-cine--independiente {
  border-left-color: var(--teal);
}

.prog-cine--cercano {
  border-left-color: var(--teal);
  background: rgba(216, 39, 39, 0.06);
}

.prog-cine-nombre {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
}

.prog-cine-lugar {
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.04em;
}

.prog-horarios {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.prog-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 2px 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: #ccc;
  letter-spacing: 0.06em;
}

.prog-empty {
  font-size: 0.8rem;
  color: #444;
  text-align: center;
  padding: 32px 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SINOPSIS
   ============================================================ */
.sinopsis-section {
  width: 100%;
  background: var(--white);
  padding: 60px 24px;
  border-bottom: 1px solid var(--gray-line);
  animation: fadeUp 0.7s 0.5s ease both;
  overflow: hidden;
}

.sinopsis-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
}

.sinopsis-col {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;        /* ocupa toda la altura de la fila */
}

.sinopsis-title h2 {
  font-family: var(--font-ui);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
  display: flex;
  align-items: center;        /* centra el h2 verticalmente */
  height: 100%;
}

.sinopsis-text { justify-content: flex-start; }

.sinopsis-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 80%;
}

.parallax-text {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 3.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  will-change: transform;
}

.sinopsis-img {
  width: 60%;
  height: auto;

  margin-left: auto;
  
}
/* ============================================================
   DESCRIPCIÓN
   ============================================================ */
.descripcion-section {
  width: 80%;
  background: var(--white);
  padding: 80px 24px;
  border-bottom: 1px solid var(--gray-line);
  overflow: hidden;
}

.descripcion-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 100%;
  margin: 0 auto;
  gap: 56px;
}

.descripcion-quote {
  width: 80%;
  margin: 0;
  padding: 0;
  border: none;
}

.descripcion-text {
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  max-width: 80%;
  text-align: right;
  margin-left: auto;
}

.descripcion-text strong {
  font-weight: 500;
  font-style: normal;
  font-size: 120%;
}

.descripcion-source {
  display: block;
  font-size: 60%;
  letter-spacing: 0.2em;
  margin-top: 12px;
  
  font-weight: 700;
}

.descripcion-img-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.descripcion-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   ELENCO / FICHA TÉCNICA
   ============================================================ */
.elenco-section {
  width: 100%;
  background: var(--white);
  padding: 60px 24px;
  border-bottom: 1px solid var(--gray-line);
  animation: fadeUp 0.7s 0.6s ease both;
  overflow: hidden;
}

.elenco-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.elenco-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elenco-title h2 {
  font-family: var(--font-ui);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.0;
  text-align: center;
}

.elenco-quote {
  justify-content: flex-start;
}

.elenco-blockquote {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.elenco-text {
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 7.2vw, 2.8rem);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-align: right;
}

.elenco-text strong {
  font-size: clamp(2.5rem, 8.6vw, 3.3rem);
  font-weight: 700;
}

.elenco-source {
  font-family: var(--font-ui);
  font-size: clamp(0.65rem, 1.4vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-align: right;
  display: block;
}

.ft-text {
  font-family: var(--font-body);
  font-size: clamp(0.94rem, 1.98vw, 1.87rem);
  text-transform: none;
  font-weight: 500;
  line-height: 1.20;
  color: var(--ink);
  text-align: left;
}

.ft-text strong {
font-size: clamp(1.2rem, 2.02vw, 2.2rem);
  font-weight: 600;
}

/* ============================================================
   GALERÍA
   ============================================================ */

/* ============================================================
   GALERÍA
   ============================================================ */
.galeria-section {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  padding: 60px 24px 80px;
  border-top: 1px solid var(--gray-line);
  background: var(--white);
  overflow: hidden;
}

.galeria-left {
  display: flex;
  justify-content: center;
}

.galeria-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.galeria-title {
  font-family: var(--font-ui);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
  position: sticky;
  top: 80px;
}

.galeria-slider {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  border-radius: 2px;
  outline: none;
}

.slider-container:active {
  cursor: grabbing;
}

.slider-container img {
  display: none;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.slider-container img.active {
  display: block;
}

.slider-container:not(.is-dragging) img.active:hover {
  transform: scale(1.04);
}

.slider-counter {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gray-mid);
  text-align: left;
  padding-bottom: 4px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 2px;
}

.slider-prev,
.slider-next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  color: var(--ink);
  font-size: 0.75rem;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.slider-prev:hover {
  opacity: 1;
  transform: translateX(-2px);
}

.slider-next:hover {
  opacity: 1;
  transform: translateX(2px);
}
/* ============================================================
   BANNERS
   ============================================================ */
.banners-section {
  width: 100%;
  background: var(--white);
  padding: 0 24px 80px;
  overflow: hidden;
}

.banners-grid {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
}

.banner-item--a {
  margin-top: 60px;
  width: 42%;
  will-change: transform;
}

.banner-item--h {
  margin-top: 0;
  width: 42%;
  will-change: transform;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   POSTER
   ============================================================ */
.poster-section {
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.poster-line {
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
}

.poster-line .poster-title {
  font-weight: bold;
  font-size: clamp(4rem, 12vw, 8rem);
  color: #000;
  margin: 0;
  line-height: 1.2;
  display: inline-block;
}

.poster-line a {
  color: #000;
  font-weight: bold;
  transition: color 0.4s;
}

.poster-line a:hover {
  color: #acacac;
}

.poster-image-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.poster-image-wrapper img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-open .modal-inner {
  transform: translateY(0) scale(1);
}

.modal-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.6rem;
  line-height: 1;
  padding: 6px;
  transition: color var(--transition), transform var(--transition);
  z-index: 10;
}

.modal-close:hover {
  color: var(--white);
  transform: rotate(90deg);
}

.modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 80px 20px 40px;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 80%;
  max-width: 900px;
  height: auto;
}

.footer-social-block {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.social-icons {
  list-style: none;
  display: inline-flex;
  gap: 30px;
  padding: 20px 40px;
  margin: 0;
  border-radius: 4px;
}

.social-icons li a {
  color: #8e8d8d;
  font-size: 1.2rem;

  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons i:hover {
  transform: scale(1.2); /* crece 20% */
}

.social-icons li a:hover {
  color: #000;
  transform: scale(2.2);
}

.footer-copy {
  font-size: 0.85rem;
  color: #8e8d8d;
  letter-spacing: 1px;
}

/* ============================================================
   TO TOP
   ============================================================ */
#toTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  color: #000;
  background-color: #fff;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  border-radius: 30%;
  border: 3px solid #444;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

#toTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#toTopBtn:hover {
  transform: translateY(-4px);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE — Tablet ≤768px
   ============================================================ */
@media (max-width: 768px) {
  .hero-section {
    padding: 32px 20px 24px;
    margin-left: 0;
  }

  .release-date {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .inner-nav {
    padding: 0 16px;
  }

  .nav-link {
    font-size: 0.72rem;
  }

  .nav-scroll {
    font-size: 0.65rem;
    padding: 0 8px;
  }

  .prog-section {
    padding: 48px 20px 56px;
  }

  .prog-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prog-title-col {
    position: static;
  }

  .prog-title {
    font-size: 2.2rem;
  }

  .sinopsis-section {
    padding: 48px 20px;
  }

  .sinopsis-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sinopsis-title h2 {
    font-size: 2.4rem;
    text-align: left;
    font-weight: bolder;
  }

  .sinopsis-text {
    justify-content: flex-start;
  }

  .sinopsis-content {
    flex-direction: column;
  }

  .sinopsis-img {
    width: 100%;
    margin-left: 0;
  }

  .descripcion-section {
    padding: 60px 20px;
  }

  .descripcion-inner {
    gap: 40px;
  }

  .descripcion-text {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .elenco-section {
    padding: 48px 20px;
  }

  .elenco-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .elenco-title h2 {
    font-size: 2.4rem;
    text-align: left;
    font-weight: bolder;
  }

  .elenco-quote {
    justify-content: flex-start;
  }

  .elenco-text {
    font-size: 1.15rem;
  }

  .galeria-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 20px 60px;
  }

  .galeria-title {
    font-size: 2.2rem;
    text-align: left;
    position: static;
  }

  .banners-grid {
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }

  .banner-item--a,
  .banner-item--h {
    width: 80%;
    margin-top: 0;
  }

  #toTopBtn.visible {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — Mobile ≤480px
   ============================================================ */
@media (max-width: 480px) {
  .site-header {
    padding: 14px 16px 12px;
  }

  .logo-img {
    height: 40px;
  }

  .hero-section {
    padding: 24px 16px 20px;
    margin-left: 0;
  }

  .release-date {
    flex-direction: column;
    gap: 4px;
  }

  .release-sep {
    display: none;
  }

  .inner-nav {
    height: 34px;
    padding: 0 10px;
  }

  .nav-link {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .nav-scroll {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .play-btn {
    top: 12px;
    right: 12px;
  }

  .prog-section {
    padding: 32px 16px 48px;
  }

  .prog-title {
    font-size: 1.9rem;
  }

  .prog-controls {
    flex-direction: column;
    gap: 8px;
  }

  .prog-search,
  .prog-select {
    min-width: 100%;
  }

  .sinopsis-section {
    padding: 32px 16px;
  }

  .sinopsis-title h2 {
    font-size: 2.1rem;
    font-weight: bolder;
  }

  .parallax-text {
    font-size: 0.95rem;
  }

  .descripcion-section {
    padding: 40px 16px;
  }

  .descripcion-text {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .elenco-section {
    padding: 32px 16px;
  }

  .elenco-title h2 {
    font-size: 2.1rem;
    font-weight: bolder;
  }

  .elenco-text {
    font-size: 1rem;
  }

  .galeria-section {
    padding: 32px 16px 48px;
  }

  .galeria-title {
    font-size: 1.9rem;
  }

  .banners-section {
    padding: 0 16px 48px;
  }

  .banner-item--a,
  .banner-item--h {
    width: 100%;
  }

  .modal-close {
    top: -40px;
    font-size: 1.3rem;
  }
}
/* ============================================================
   AUDIO PLAYER — FINAL
   ============================================================ */

.audio-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 32px 0 24px;
}

/* contenedor general */
.audio-player {
  width: 220px;                 /* mismo orden visual que “scroll para ver más” */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

/* botón play */
.audio-play {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;

  color: #d82727;
  font-size: 0.95rem;

  transition: opacity 0.25s ease, transform 0.2s ease;
}

.audio-play:hover {
  transform: scale(1.1);
}

/* estado apagado opcional */
.audio-play.is-off {
  color: #999;
  opacity: 0.5;
  pointer-events: auto;
}

/* canvas waveform */
#waveform {
  width: 100%;
  height: 16px;

  display: block;

  /* mejora nitidez */
  image-rendering: optimizeSpeed;
}

/* glow general (cuando canvas pinta rojo se percibe mejor) */
.audio-player::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(216, 39, 39, 0.15) 0%,
    rgba(216, 39, 39, 0.05) 40%,
    transparent 70%
  );

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* activa glow cuando está en play */
.audio-player.is-playing::after {
  opacity: 1;
}