:root {
  --greenP: #007f74;
  --greydarkP: #777777;
  --greylightP: #bdbdbd;
  --redP: #af2d37;

  --dark: #222;
  --muted: #9aa0a6;
  --accent: #c62828;
  --max-width: 1980px;
  --gap: 18px;
  --radius: 10px;
  --red: #c62828;
  --dark-bg: #1a1a1a;
  --light-text: #ffffff;
  --overlay: rgba(0, 0, 0, 0.6);
}

.greenP {
  background: var(--greenP) !important;
}

.greydarkP {
  background: var(--greydarkP) !important;
}

.greylightP {
  background: var(--greylightP) !important;
}

.redP {
  background: var(--redP) !important;
}
.Pdark {
  color: var(--dark) !important;
}

* {
  box-sizing: border-box;
}
body {
  font-family: Inter, system-ui, Arial, sans-serif;
  margin: 0;
  color: #222;
  line-height: 1.4;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  z-index: 2;
}

.hero-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10%;
  padding-top: 10%;
  padding-bottom: 8%;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 60px 40px 80px 40px;
  border-radius: 4px;
  width: 600px;
  max-width: 80%;
  text-align: left;
  margin: 0;
  position: relative;
}

.hero .logo {
  max-width: 500px;
  margin-bottom: 15px;
  margin-bottom: 40px;
}
/* Logo styles */
.teaser-logo {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 2rem 0;
}

.series-intro {
  color: white;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.series-intro span {
  font-weight: 600;
  letter-spacing: 0.5px;
}

h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 27px;
  margin-bottom: 10px;
  margin-top: 4px;
}
.negrita {
  font-weight: 800;
}
.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: white;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.hero h1 span {
  display: block;
  font-weight: 300;
  letter-spacing: 4px;
}

.hero .tagline {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin: 10px 0 40px 0;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
  color: white;
  text-transform: none;
}

.tp-logo {
  height: 40px;
  margin-left: 8px;
  position: relative;
  top: 1px;
}

.scroll-down {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
  margin: 30px 0 0 0;
  padding: 12px 25px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
  gap: 10px;
  left: 0;
}

.clapboard-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.scroll-down svg {
  margin-left: 4px;
  width: 42px;
  height: 57px;
  transition: transform 0.3s ease;
}

.scroll-down:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.scroll-down:hover svg {
  transform: translateY(2px);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* ===== EPISODES GRID ===== */

/* Episodes Grid Layout */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin: 40px auto;
  padding: 0 40px;
  max-width: 1440px;
  box-sizing: border-box;

  grid-template-rows: var(--row1-h) var(--row2-h);
  align-content: start;
}

/* First row - 3 equal columns */
.episode-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 315px !important;
}

.episode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.episode-card.large {
  grid-column: span 4;
  height: 100%;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  position: relative;
  overflow: hidden;
  padding-left: 70px;
}

/* Top-right plus button used in some episode cards */
.episode-plus {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff; /* used as reference color */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}

.episode-plus svg {
  width: 44px;
  height: 44px;
  display: block;
  fill: #ffffff;
}

.episode-plus:hover,
.episode-plus:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .episode-plus {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
  }
  .episode-plus svg {
    width: 38px;
    height: 38px;
  }
}

/* Shared structure for redesigned episode cards (rows + CTA) */
.episode-card .row-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.episode-card .row-top__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.episode-card .row-top__label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Inline descriptive text shown to the right of the episode label */
.episode-card .row-top__desc {
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  margin-left: 28px;
  margin-top: 28px;
}

/* Sub-line below the main description */
.episode-card .row-top__desc-sub {
  display: block;
  font-size: 0.95em;
  font-weight: 600;
  margin-top: 2px;
}

.episode-card .episode-title {
  color: #fff;
  margin: 10px 0 10px 0;
  font-weight: 800;
  text-transform: uppercase;
}

.episode-card.large .episode-title {
  font-size: 2rem;
}
.episode-card.small .episode-title {
  font-size: 2rem;
}

.episode-card .episode-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.episode-card .episode-cta__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.episode-card .episode-cta:hover {
  opacity: 0.9;
}

/* First episode custom design */
.episode-card--design {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px;
}

.episode-card--design .row-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.episode-card--design .row-top__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.episode-card--design .row-top__label {
  font-size: 1.25rem;
  font-weight: 600;
}

.episode-card--design .episode-title {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 12px 0 12px 0;
  font-weight: 800;
  text-transform: uppercase;
}

.episode-card--design .episode-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
}

.episode-card--design .episode-cta__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.episode-card--design .episode-cta:hover {
  opacity: 0.9;
}

/* First row - medium cards */
/* Removed unused .episode-card.medium variations */

/* Second row - first card takes half width, others take quarter */
.episode-card.small.red {
  grid-column: span 6;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--red);
  padding: 30px;
  box-sizing: border-box;
  height: 300px;
  position: relative;
}

.episode-card.small.green {
  grid-column: 7 / span 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--green);
  padding: 30px;
  box-sizing: border-box;
  height: 300px;
  position: relative;
}

.episode-card.small {
  padding-left: 70px !important;
}

.episode-card.logo {
  grid-column: 10 / span 3;
  height: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  gap: 20px;
}

/* New info logo card styles */
.logo-info-card {
  grid-column: 10 / span 3;
  height: 100%;
  background: #cfcfcf;
  color: #111;
  border-radius: 18px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: visible; /* allow top icon to protrude */
}

.logo-info-icon {
  position: absolute;
  top: -13px; /* lift the circle further above the panel */
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #7a7a7a;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
}

.logo-info-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-info-title {
  margin-top: 48px; /* more space for the raised icon */
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--greenP);
}

.logo-info-text {
  margin: 6px 0 14px;
  font-size: 1rem;
  line-height: 1.4;
}

.logo-info-invite {
  margin: 10px 0 0;
  font-size: 1.05rem;
}

.episode-card.red {
  background: var(--red);
}

.episode-card.green {
  background: var(--green);
}

/* Removed legacy .episode-content and .episode-number rules (superseded by .row-top/.episode-title) */

/* Removed legacy .play-button styles (replaced by .episode-cta) */

/* Removed legacy lock/info icon styles */

/* Ensure proper spacing for logo card */
.episode-card.logo .series-logo {
  max-width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

.episode-card.logo .refresh-button {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.episode-card.logo .refresh-button:hover {
  background: white;
  color: var(--dark);
  transform: rotate(180deg);
}

/* Add subtle pattern overlay to cards */

.series-logo {
  max-width: 150px;
  height: auto;
}

.refresh-button {
  background: none;
  border: 2px solid var(--light-text);
  color: var(--light-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.refresh-button:hover {
  background: var(--light-text);
  color: var(--dark);
  transform: rotate(180deg);
}

/* Removed old .sponsor-logo styles */

/* Responsive */
@media (max-width: 1200px) {
  .episodes-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  /* Stack the promo grid on medium screens */
  .promo--grid {
    grid-template-columns: 1fr;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .promo--grid .promo-left {
    grid-column: auto;
  }
  .promo--grid .promo-spacer {
    display: none;
  }
  .promo--grid .promo-right {
    grid-column: auto;
  }

  /* Full-screen responsive video modal */
  .modal.video {
    background: rgba(0, 0, 0, 0.9);
  }
  /* (removed duplicate global override; fullscreen behavior is handled in the 1200px media query above) */
  .modal.video .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 22px;
    display: grid;
    place-items: center;
  }
  .modal.video .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .video-wrapper {
    width: 100%;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
  }
  .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
  }

  .episode-card {
    min-height: 200px;
    grid-column: 1 / -1 !important;
    margin-bottom: 15px !important;
  }

  .episode-card.medium,
  .episode-card.small.green,
  .episode-card.logo {
    grid-column: span 1 !important;
    min-height: 200px;
  }

  .episode-card.large {
    min-height: 300px;
  }

  .episode-card.medium:nth-of-type(1),
  .episode-card.medium:nth-of-type(2) {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .episode-card .row-top__desc {
    display: none;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .episode-card {
    min-height: 180px;
    grid-column: 1 / -1 !important;
  }

  .episode-card.large {
    min-height: 250px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .episode-card.large {
    min-height: 250px;
  }
  .episode-card .row-top__icon {
    width: 44px;
    height: 44px;
  }
  .episode-card.large .episode-title {
    font-size: 1.7rem;
  }
  .episode-card.small .episode-title {
    font-size: 1.4rem;
  }
  .episode-card .episode-cta__icon {
    width: 40px;
    height: 40px;
  }

  /* Tighter layout on small screens */
  .episode-card .row-top__desc {
    font-size: 0.95rem;
    margin-left: 6px;
  }
  .episode-card .row-top__desc-sub {
    font-size: 0.95em;
  }

  .episode-card--design .row-top__icon {
    width: 56px;
    height: 56px;
  }
  .episode-card--design .episode-title {
    font-size: 2rem;
  }
  .episode-card--design .episode-cta__icon {
    width: 52px;
    height: 52px;
  }
  .episode-card--design {
    padding: 22px;
  }
  .episode-card--design .episode-title {
    font-size: 1.7rem;
  }
}

.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0px 0;
  align-items: center;
}
.promo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-right h2 {
  margin: 0;
  color: var(--muted);
  letter-spacing: 1px;
}
.promo-right h3 {
  margin: 8px 0 16px;
  font-size: 28px;
}

/* Redesigned promo as 12-column layout */
.promo--grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0; /* no gap; spacer column handles separation */
  align-items: stretch;
  margin: 0px 0 !important;
  /* Full-bleed across viewport (avoid 100vw to prevent horizontal scrollbars) */
  width: 100%;
  position: relative;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #2f2f2f;
}
.promo--grid .promo-left {
  grid-column: span 5;
}
.promo--grid .promo-spacer {
  grid-column: span 1;
}
.promo--grid .promo-right {
  grid-column: span 6;
}

.promo--grid .promo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  display: block;
}

/* Right block styling */
.promo--grid .promo-right {
  background: #2f2f2f;
  color: #fff;
  border-radius: 12px;
  /*padding: 28px 28px 10px;*/
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 100px;
  margin-top: 40px;
  font-size: 20px;
}

.promo-row {
  display: grid;
  grid-template-columns: 3fr 9fr; /* narrow label, wide content */
  gap: 18px;
  padding: 16px 0 18px;
}
.promo-row--top {
  border-top: 1px solid rgba(255, 255, 255, 1);
}
.promo-row--bottom {
  border-top: 1px solid rgba(255, 255, 255, 1);
}

.promo-col-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #dddddd;
}
.promo-col-content .promo-title {
  margin: 0 0 8px 0;
  font-size: 26px;
}
.promo-col-content p {
  margin: 6px 0 10px;
}
.promo-col-content ul {
  margin: 8px 0 0 18px;
  padding: 0;
}
.promo-col-content li {
  margin: 6px 0;
}

/* Teasers */

.teasers {
  padding-top: 40px;
  background-color: #2f2f2f;
  display: grid;

  gap: 0;
  align-items: stretch;
  margin: 0px 0 !important;
  width: 100%;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.play-icon {
  width: 100px !important;
  height: 100px !important;
}
.section-title {
  font-size: 130px;
  text-align: center;
  margin: 6px 0 18px;
  color: #fff;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0px 100px;
}
.teaser-grid figure {
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}
.teaser-grid img {
  width: 100%;
  height: auto;
  display: block;
}
.teaser-grid figcaption {
  padding: 12px;
}
.teaser-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 18px;
}
.teaser-cta .descifra {
  background-color: #007f74;
  padding: 10px 40px;
  text-align: center;
}
.descifra h3,
.descifra p {
  text-align: center;
  color: #fff;
  margin: 0px;
}
.descifra img {
  width: 80px;
  display: block;
}

figcaption p {
  font-size: 17px;
}

/* Teaser video thumbnail with play overlay */
.teaser-media {
  position: relative;
  display: block;
  margin: 10px 0 10px;
  border-radius: 6px;
  overflow: hidden;
}
.teaser-thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.teaser-media:hover .teaser-thumb {
  filter: brightness(1);
}
.teaser-media:hover .play-overlay::before {
  background: #fff;
}

/* Protagonists */
.protagonistas {
  background: #6b6b6b;
  /* full-bleed */
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 0 50px;
  margin: 0px 0 !important;
}
.protagonistas-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
}
.protagonistas-title {
  margin: 0 0 60px 0;
  color: #fff;
  font-size: 72px;
  line-height: 1.1;
}
.pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns x 2 rows */
  column-gap: 90px;
  row-gap: 50px;
}
.pro-item {
  display: flex; /* image left, text right */
  gap: 24px;
  align-items: flex-start;
}
.pro-item__image {
  flex: 0 0 320px; /* fixed visual width on desktop */
  aspect-ratio: 4 / 3; /* keep landscape ratio as in design */
  border-radius: 6px;
  overflow: hidden;
  background: #8a8a8a;
}
.pro-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pro-item__text h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
}
.pro-item__text p {
  margin: 0;
  color: #e6e6e6;
  line-height: 1.6;
  font-size: 17spx;
  font-weight: 300;
}

/* CTA strip */
.cta-strip {
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 0;
  background: #edf1f5;
  margin: 0px 0 !important;
}
.cta-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  display: grid;
  grid-template-columns: 5fr 7fr; /* proporción más cercana a la maqueta */
  gap: 24px;
  align-items: stretch;
}
.cta-col-left {
  display: flex;
}
.cta-panel {
  position: relative;
  /*  background: var(--greenP) url(media/dedo_largo.png) no-repeat 57% 81%;*/
  background: url(media/dedo_largo.png) no-repeat 57% 68%;
  background-size: 72%;
  color: #fff;
  border-radius: 10px;
  padding: 48px 36px 110px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}
.cta-title {
  margin: 0 0 12px 0;
  font-size: 60px;
  line-height: 1.05;
  font-weight: 800;
  color: #000;
  text-align: left;
}
.cta-desc {
  margin: 0 0 18px 0;
  font-size: 18px;
  color: #000;
  text-align: left;
}
.cta-button {
  margin: 0 0 0 0;
  padding: 12px 18px;
  border-radius: 8px;
  border: 0;
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  left: 52px;
  position: relative;
  top: 27px;
  font-size: 23px;
  line-height: 24px;
}
#contactForm .send-button {
  background-color: #00665d;
  display: block;
  margin: 0 auto;
  max-width: 200px;
  text-align: center;
  padding: 17px 24px;
  border-radius: 24px;
  color: #fff;
  font-size: 23px;
  border: none;
}

.form-logo {
  display: block;
  margin: 0 auto;
  height: 40px;
  width: auto;
}

.cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.cta-logo {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  height: 54px;
  width: auto;
}
.cta-right-content {
  align-self: start;
  max-width: 640px;
}
.cta-right-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #000;
}
.cta-right-content p {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: #222;
}
.cta-right-content hr {
  border: none;
  border-top: 2px solid #bdbdbd;
  margin: 20px 0;
}
.em-green {
  color: var(--greenP);
  font-weight: 800;
}

/* Social bar */
.social-bar {
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: transparent;
  margin: 10px 0 !important;
}
.social-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}
.social-list {
  list-style: none;
  margin: 0;
  padding: 14px 22px;

  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.social-list li {
  display: inline-flex;
}
.social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6e6e6;
  color: #444;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-list a:hover {
  transform: translateY(-2px);
  background: #d9d9d9;
  color: #111;
}
.social-list i {
  font-size: 18px;
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--greenP);
  color: #fff;
  padding: 36px 0 14px;
  width: 100%;
  /*margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);*/
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.footer-hours p {
  margin: 0 0 10px;
  color: #e7fffb;
  font-size: 14px;
  line-height: 1.5;
}
.footer-col h6 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}
.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}
.footer-contact .contact-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-contact .contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.footer-contact .contact-list i {
  width: 20px;
  text-align: center;
}
.footer-contact .contact-list a {
  color: #fff;
  text-decoration: none;
}
.footer-contact .contact-list a:hover {
  text-decoration: underline;
}
.footer-social {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}
/* Optional vertical separator before last column */
.footer-inner::after {
  content: "";
}

.footer-col:nth-child(1),
.footer-col:nth-child(3) {
  position: relative;
}
.footer-col:nth-child(1)::after,
.footer-col:nth-child(3)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}
.footer-bottom {
  max-width: 1440px;
  margin: 16px auto 0;
  padding: 12px 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  opacity: 0.95;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 200;
  padding: 20px;
}
.modal[aria-hidden="false"] {
  display: flex;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
/* Contact Form Styles */
.contact-form {
  width: 100%;
}
.contact-form h3 {
  color: var(--greenP);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: var(--greenP);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 127, 116, 0.2);
}
.form-control::placeholder {
  color: #999;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.cta-button:hover {
  background-color: #00665d;
}
.cta-button:disabled {
  background-color: #bdbdbd;
  cursor: not-allowed;
}
.form-message {
  margin-top: 20px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.form-message.success {
  display: block;
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.form-message.error {
  display: block;
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}
/* Prevent background scroll when modal is open */
html.no-scroll,
body.no-scroll {
  overflow: hidden;
}
/* Fullscreen video modal */
.modal.video .modal-content {
  padding: 0;
  border-radius: 0;
  max-width: none;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* avoid internal scrollbars */
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}
/* Make modalBody fill the video modal so children can scale to 100% */
.modal.video #modalBody {
  width: 80%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close {
  background: transparent;
  border: 0;
  font-size: 18px;
  float: right;
  cursor: pointer;
}

.modal.video .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.modal.video .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-wrapper {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

/* Responsive */
@media (max-width: 900px) {
  .promo {
    grid-template-columns: 1fr;
  }
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .protagonistas-inner {
    padding: 0 24px;
  }
  .protagonistas-title {
    font-size: 42px;
  }
  .pro-grid {
    grid-template-columns: 1fr;
    row-gap: 38px;
  }
  .pro-item {
    flex-direction: column;
  }
  .pro-item__image {
    flex-basis: auto;
    width: 100%;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .cta-panel {
    min-height: 320px;
    background-position: 95% 90%;
    background-size: 60%;
    padding: 40px 24px 108px;
  }
  .cta-right-content {
    max-width: none;
    padding: 12px 0 0;
    text-align: center;
  }
  .brand h1 {
    font-size: 36px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
    gap: 24px;
  }
  .footer-col:nth-child(3)::after {
    display: none;
  }
  .footer-bottom {
    padding: 12px 24px 0;
  }
}
@media (max-width: 600px) {
  .episodes {
    grid-template-columns: 1fr;
  }
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .pro-grid {
    grid-template-columns: 1fr;
  }
  .cta-title {
    font-size: 38px;
    line-height: 1.1;
    text-align: center;
    width: 100%;
  }
  .cta-panel {
    align-items: center;
    text-align: center;
  }
  .cta-button {
    left: 0;
    margin: 0 auto;
    display: block;
    position: relative;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    padding: 12px 16px 0;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero .logo {
    max-width: 250px;
  }
  .episode-card {
    height: 266px !important;
  }
  .logo-info-invite {
    margin: -4px 0 0;
    font-size: 1.05rem;
  }
  .promo--grid .promo-right {
    padding: 0 20px !important;
  }
  .promo-row {
    grid-template-columns: 12fr;
  }
  .teaser-grid {
    padding: 0 10px;
  }
  .teaser-grid h4 {
    display: none;
  }
  .cta-panel {
    background: url(media/dedo_largo.png) no-repeat 88% 74%;
    background-size: contain;
  }
  .cta-button {
    margin: 0 0 0 0;
    padding: 12px 18px;
    border-radius: 8px;
    border: 0;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    left: -24px;
    position: relative;
    top: -17px;
    font-size: 27px;
    line-height: 24px;
  }

  .cta-desc {
    padding-bottom: 50px;
  }
  .cta-logo {
    width: 92%;
    height: auto;
  }
  .site-footer {
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto;
    margin-bottom: 16px;
  }
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-contact .contact-list,
  .footer-contact .footer-social {
    justify-content: center;
  }

  .cta-col-left{
    display: block;
  }

}
