/* ==========================================
                 INICIO
   ========================================== */

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
  box-sizing: border-box;
  background-image: linear-gradient(to bottom, #CAD1E4, #E1CDC2);
   font-family: 'Noto Sans', sans-serif;
   color: #ffffff;
   min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}
.site-header {
  background-color: #b0bfdb;
  padding: 18px 20px;
  display: flex;
  justify-content: center; 
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 76px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  font-weight: 500;
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #5B6476;
}

#mobile-menu.is-active .bar:nth-child(2) {
  opacity: 0; 
}

#mobile-menu.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg); 
}

#mobile-menu.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg); 
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  left: 30px;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

.nav-links li { position: relative; }

.submenu {
  overflow: hidden;
  max-height: 0; 
  transition: max-height 0.4s ease-in-out; 
  background-color: #b0bfdb;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 769px) {
  .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    z-index: 1000;
  }
}

.has-submenu.active .submenu {
  max-height: 500px; 
  padding: 10px 0;
}

.submenu li a {
  font-size: 18px !important;
  display: block;
  padding: 10px 65px;
  text-align: center;
}

.submenu li a:hover {
  background-color: #ffffff; 
}

.inicio-section {
  display: flex;
  justify-content: center; 
  align-items: center;
  padding: 60px 20px;
  min-height: 80vh;
}

.inicio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  width: 90%;
}

.inicio-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 1;
}

.inicio-title-1 {
font-family: 'Yrsa' , serif;
  font-weight: bold;
   font-size: 45px;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}
.inicio-title-2 {
  font-family: 'Yrsa', serif;
  font-weight: lighter;
  font-size: 45px;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.inicio-poster img {
  width: 100%;
  max-width: 500px;
  height: auto;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
}

.cta-button {
  background-color: #8391AB;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  transition: 0.3s;
}

.cta-button:hover {
  background-color: #ffffff;
  color: #8391AB;
}
.site-footer {
  text-align: center;
  width: 100%;
  margin-top: auto;
}

.copyright-text {
  padding: 20px;
  font-size: 14px;
  color: #5b6476;
}

.social-bar {
  background-color: #b0bfdb;
  padding: 20px 0;
  width: 100%;
  align-items: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.social-icons a {
  display: inline-block;
  width: 43px;
  height: 43px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.icon-instagram { background-image: url('imagenes/icon\ insta\ blanco.png'); }
.icon-instagram:hover { background-image: url('imagenes/icon\ insta\ azul.png'); }

.icon-gmail { background-image: url('imagenes/icon\ gmail\ blanco.png'); }
.icon-gmail:hover { background-image: url('imagenes/icon\ gmail\ azul.png'); }

.icon-telefono { background-image: url('imagenes/icon\ tel\ blanco.png'); }
.icon-telefono:hover { background-image: url('imagenes/icon\ tel\ azul.png'); }


  /* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
  
  .menu-toggle { 
  display: flex;
  position: absolute;
  left: 30px;
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 1100;  
  }

  .site-header {
    padding: 25px 20px;
    height: 70px; 
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%; 
    width: 60%; 
    height: 100vh;
    background-color: #C1D0E4;
    flex-direction: column;
    padding: 80px 30px;
    gap: 30px;
    transition: 0.4s ease;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .nav-links.active {
    left: 0; 
  }

  .inicio-container {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .inicio-text-wrapper { 
    display: contents; }

  .inicio-content {
    order: 1;
    text-align: center;
    padding: 30px 10px;
  }

  .inicio-title-1 {
  font-family: 'Yrsa' , serif;
  font-weight: bold;
  font-size: 28px;
  color: #000000;
  }
  
.inicio-title-2 {
  font-family: 'Yrsa', serif ;
  font-weight: lighter;
  font-size: 28px;
  color: #000000;
  margin: 0;
}

  .inicio-poster {
    order: 2;
    width: 100%;
  }

  .inicio-poster img {
    max-width: 100%;
    box-shadow: none;
  }

  .cta-button {
    order: 3;
    margin: -30px auto 40px auto;
    width: 80%;
    text-align: center;
    z-index: 10;
    position: relative;
  }

  .social-icons { 
    gap: 50px; }
  .social-icons a {
     width: 30px; height: 30px; }
}

.submenu {
    position: absolute;
    top: 40px; 
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    z-index: 1000;
    background-color: #B0BFDB; 
    border-radius: 4px; 
  }

  .submenu li a {
    text-align: left;
    padding-left: 40px; 
  }

/* ==========================================
          TRASHUMANCIA / CONOCE
   ========================================== */

.trashumancia-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    width: 100%;
}

.brown-section {
    background-color: #9A887A;
    max-width: 1000px;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: 'Yrsa', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 45px;
    color: #B0BFDB;
    margin-top: 10px;
    margin-bottom: 0px !important; 
}

.section-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
      margin-top: 10px;
    margin-bottom: 10px;
}

.section-image {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
}

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

.flex-content {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.text-block { 
  flex: 2;
 }


.flex-footer-content {
    display: flex;
    gap: 50px;
    align-items: baseline; 
}

.flex-footer-content .section-text {
    flex: 2; 
    margin-bottom: 0; 
}

.blue-box-quote {
    background-color: #B0BFDB;
    padding: 20px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    flex: 1; 
}

.blue-box-quote.small {
    min-height: 180px; 
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .trashumancia-container {
        padding: 30px 15px;
        gap: 32px;
    }

    .brown-section {
        padding: 25px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-text {
        font-size: 16px;
    }


    .blue-box-quote {
        font-size: 18px;
        padding: 20px;
    }

    .flex-content, 
    .flex-footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .blue-box-quote.small {
        width: 100%;
    }
}

/* ==========================================
        FAMILIA MANSILLA / CONOCE
   ========================================== */
.slider-title-container .title-yrsa {
    font-family: 'Yrsa', serif;
    font-weight: 700;      
    font-style: italic;    
    color: #5B6476;       
    line-height: 1.1;
    margin: 0;           
    max-width: 400px; 
    display: block;
    
    font-size: 45px;
    margin-right: 105px; 
}  
.slider-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    gap: 50px;
}

.slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-card {
    background-color: #ffffff;
    width: 547px;   
    height: 587px;  
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.image-container {
    width: 100%;
    height: 100%;
    padding-top: 20px;  
    padding-bottom: 96px; 
    padding-left: 20px;  
    padding-right: 20px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.slider-info-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 25px;
}

.name-tag {
    text-align: center;
    flex: 1;
}

.name-tag h3 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000;
    margin: 0;
}

.name-tag p {
    font-family: 'Noto Sans', sans-serif;
    font-style: italic;
    font-size: 18px;
    color: #555;
    margin: 0;
}
.arrow-btn {
    background-color: #958275; 
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: 0.3s;
}

.arrow-btn:hover {
    background-color: #5B6476;
    color: white;
}
/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .slider-title-container .title-yrsa {
        font-size: 28px;
        margin-left: 0;      
        margin-bottom: 24px; 
        text-align: center;  
    }
    
    .slider-hero {
        flex-direction: column;
        gap: 0; 
    }

    .slider-card {
        width: 379px; 
        height: 393px; 
    }

    .image-container {
        padding-top: 20px;   
        padding-bottom: 70px; 
    }

    .name-tag h3 { font-size: 18px; }
    .name-tag p { font-size: 16px; }

    .arrow-btn {
        width: 40px;
        height: 40px;
    }
} 
.block-wrapper {
    width: 100%;
    display: flex;
    margin-top: 50px; 
    margin-bottom: 50px;
}

.block-wrapper.align-left {
    justify-content: flex-start;
}

.block-wrapper.align-right {
  display: flex;
    justify-content: flex-end;
}

.block-wrapper {
    margin-bottom: 60px; 
}

.zigzag-container {
    background-color: #9A887A;
    width: 85%; 
    display: flex; 
    align-items: stretch; 
}

.zigzag-image {
    flex: 1;
}

.zigzag-image img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
}

.zigzag-text-container {
    flex: 1;
    padding: 60px; 
    display: flex;
    align-items: center;
}

.zigzag-text-container .section-text {
    text-align: left;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    line-height: normal;
    margin-left: 20px;
    margin-right: 20px;
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .slider-hero {
        flex-direction: column;
        gap: 0; 
    }

    .slider-title-container .title-yrsa {
        font-size: 28px;
        margin-left: 0;
        margin-bottom: 24px; 
        text-align: center;
        max-width: 300px;
        margin-right: auto;
        margin-left: auto;
    }

    .slider-card {
        width: 379px;  
        height: 393px; 
    }

    .image-container {
        padding-bottom: 70px; 
    }

    .block-wrapper {
        justify-content: center !important;
    }

    .zigzag-container {
        width: 100%; 
        flex-direction: column; 
    }

    .zigzag-image {
        width: 100%;
        padding-top: 20px; 
        display: block;
        background-color: #9A887A;
    }
    
    .zigzag-image img {
        width: 100%; 
        height: 250px;
        object-fit: cover; 
        margin: 0;
    }

    .zigzag-text-container {
        padding: 30px 20px;
    }
  }

  /* ==========================================
             PUESTOS / CONOCE
   ========================================== */

.puestos-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 80px 20px;
    width: 100%;
}

.puesto-box {
    background-color: #9A887A;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 30px;
}

.puesto-box-1 {
    width: 986px;
    height: 918px;
}

.puesto-box-2 {
    width: 986px;
    height: 523px;
    justify-content: center;
    align-items: center;
}

.puesto-box-3 {
    width: 986px;
    height: 385px;
    justify-content: center;
}

.puesto-title {
    font-family: 'Yrsa', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 45px;
    color: #B0BFDB;
    text-align: left;
    margin-bottom: 10px;
    margin-top: 0;
}

.puesto-img-1 {
    width: 926px;
    height: 500px;
    object-fit: cover;
    align-items: center;
    margin-bottom: 25px;
}

.puesto-img-2 {
    width: 986px;
    height: 460px;
    object-fit: cover;
}

.puesto-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.4;
    text-align: left;
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .puestos-section {
        gap: 40px;
        padding: 40px 10px;
    }

    .puesto-box {
        width: 480px;
        max-width: 95vw;
        padding: 40px;
    }

    .puesto-box-1 { 
        height: 748px;
        min-width: 390px;
        align-items: flex-start; 
     }

    .puesto-box-2 { 
        height: 466px;
        min-width: 390px;
        justify-content: center; 
    }

    .puesto-box-3 { 
        height: 580px; 
        min-width: 390px;
    }

    .puesto-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .puesto-img-1 {
        width: 125%;
        height: 265px;
        align-self: center; 
    }

    .puesto-img-2 {
        width: 125%;
        height: 422px;
    }

    .puesto-box-1 .puesto-text {
        font-size: 16px;
    }

    .puesto-box-3 .puesto-text {
        font-size: 18px; 
    }
}

/* ==========================================
                 ARREO / CONOCE
   ========================================== */

.arreo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px; 
    padding: 80px 20px;
    width: 100%;
}

.arreo-box {
    background-color: #9A887A;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 20px; 
}

.arreo-box-large {
    width: 986px;
    height: 995px;
    justify-content: flex-start;
}

.arreo-box-small {
    width: 986px;
    height: 523px;
    justify-content: center;
}

.arreo-title {
    font-family: 'Yrsa', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 45px;
    color: #B0BFDB;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
    padding-left: 20px;
}

.arreo-img-main, .arreo-img-full {
    width: 946px;
    height: 523px;
    object-fit: cover;
    display: block;
}

.arreo-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    margin-top: 30px;
    padding: 0 20px;
    text-align: left;
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .arreo-section {
        gap: 40px;
        padding: 40px 10px;
    }

    .arreo-box {
        width: 480px; 
        max-width: 95vw; 
        padding: 15px 0; 
    }

    .arreo-box-large {
        height: 835px;
        min-width: 390px;
    }

    .arreo-box-small {
        height: 313px;
        min-width: 390px;
    }

    .arreo-title {
        font-size: 28px;
        padding-left: 20px;
        margin-bottom: 15px;
    }

    .arreo-img-main, .arreo-img-full {
        width: 480px;
        max-width: 100%;
        height: 265px;
    }

    .arreo-text {
        font-size: 16px;
        margin-top: 20px;
        padding: 0 20px;
    }
}

/* ==========================================
                SINOPSIS / DOCUMENTAL
   ========================================== */

.sinopsis-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: url('imagenes/sinopsis.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; 
    padding: 100px 20px;
}

.sinopsis-box {
    background-color: rgba(154, 136, 122, 0.9); 
    width: 754px;
    height: 379px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
}

.sinopsis-title {
    font-family: 'Yrsa', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 45px;
    color: #B0BFDB;
    margin-bottom: 0px;
    margin-top: 0;
}

.sinopsis-text-content {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1.4;
}

.sinopsis-mobile-img {
    display: none;
}

.sinopsis-section ~ .site-footer .social-bar,
.sinopsis-section ~ .site-footer {
    background-color: transparent !important;
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .sinopsis-section {
        background: linear-gradient(to bottom, #CAD1E4, #E1CDC2); 
        padding: 40px 0;
        min-height: auto;
    }

    .sinopsis-box {
        width: 340px;
        height: auto;
        min-height: 630px;
        background-color: #9A887A;
        padding: 40px 0;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }

    .sinopsis-title {
        font-size: 28px;
        text-align: center;
        width: 100%;
    }

    .sinopsis-mobile-img {
        display: block;
        width: 480px; 
        max-width: 100vw;
        height: 229px;
        object-fit: cover;
        margin-bottom: 10px;
    }

    .sinopsis-text-content {
        font-size: 16px;
        text-align: left;
        padding: 0 40px;
        width: 100%;
        box-sizing: border-box;
    }

    .sinopsis-section ~ .site-footer .social-bar {
        background-color: transparent !important;
    }
}
/* ==========================================
             TRAILER / DOCUMENTAL
   ========================================== */

.trailer-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    background: url('imagenes/trailer.jpg') no-repeat center center;
    background-size: cover;
    padding-top: 740px; 
    padding-bottom: 100px;
}

.trailer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trailer-mobile-img {
    display: none; 
}

.trailer-btn {
    width: 214px;
    height: 65px;
    background-color: #8391AB;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid #8391AB; 
}

.trailer-btn:hover {
    background-color: #ffffff;
    color: #8391AB;
}

.trailer-section ~ .site-footer .social-bar,
.trailer-section ~ .site-footer {
    background-color: transparent !important;
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .trailer-section {
        background: linear-gradient(to bottom, #CAD1E4, #E1CDC2);
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .trailer-container {
        width: 100%;
        gap: 30px;
    }

    .trailer-mobile-img {
        display: block;
        width: 480px;
        max-width: 100vw;
        height: 329px;
        object-fit: cover;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .trailer-btn {
        margin: 0 auto;
    }
}

/* ==========================================
              BACKSTAGE / DOCUMENTAL
   ========================================== */
.backstage-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.backstage-title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.backstage-title-container .title-yrsa {
    font-family: 'Yrsa', serif;
    font-weight: 700;
    font-style: italic;
    color: #8391AB;
    font-size: 45px;
    text-align: center;
    margin: 0;
}
.backstage-slider-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px; 
    width: 100%;
    max-width: 1200px;
}

.backstage-photo-frame {
    width: 860px;
    height: 484px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    order: 2; 
}

.backstage-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.back-arrow {
    background-color: #958275;
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.back-arrow.prev { order: 1; } 
.back-arrow.next { order: 3; } 

.back-arrow:hover {
    background-color: #5B6476;
}

/* --- RESPONSIVE CELULAR  --- */
@media (max-width: 768px) {
    .backstage-section {
        padding: 40px 0; 
        min-height: 100vh; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .backstage-title-container {
        margin-bottom: 40px;
    }

    .backstage-title-container .title-yrsa {
        font-size: 38px; 
        padding: 0 20px; 
    }

    .backstage-slider-container {
        flex-direction: row;
        flex-wrap: wrap;   
        justify-content: center;
        gap: 25px; 
    }

    .backstage-photo-frame {
        width: 100vw; 
        height: auto;
        aspect-ratio: 16 / 9;
        order: 1; 
        margin-bottom: 0;
        box-shadow: none; 
    }

    .back-arrow {
        width: 75px;
        height: 55px;
        font-size: 32px;
  align-items: center;
 margin-block-end: 130px;
    }

    .back-arrow.prev { 
        order: 2; 
    } 

    .back-arrow.next { 
        order: 3; 
    }
}

/* ==========================================
                SOUNDTRACK / DOCUMENTAL
   ========================================== */

.soundtrack-section {
    padding: 85px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.soundtrack-box {
    background-color: #9A887A;
    width: 946px;
    height: 440px;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
}

.soundtrack-image img {
    width: 406px;
    height: 406px;
    object-fit: cover;
    display: block;
    margin: 17px 56px 17px 20px; 
}

.soundtrack-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 105px;
}

.soundtrack-title {
 font-family: 'Yrsa', serif;
    font-weight: 700;
    font-size: 45px; 
    color: #B0BFDB;
    margin-bottom: -10px;
    text-align: left;
}

.soundtrack-description {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 25px;
}

.soundtrack-description strong {
    font-weight: 700; 
}

.spotify-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spotify-cta {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700; 
    font-size: 24px;
    color: #B0BFDB;
    margin: 0;
}

.spotify-button {
    width: 150px;
    height: 90px;
    background-image: url('imagenes/icon\ Spotify\ verde.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;
}

.spotify-button:hover {
    background-image: url('imagenes/icon\ Spotify\ blanco.png');
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .soundtrack-box {
        width: 416px;
        height: 605px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .soundtrack-image img {
        width: 360px;
        height: 360px;
        margin: 25px 20px 0px 20px; 
    }

    .soundtrack-info {
        padding: 0 50px;
        text-align: left;
        justify-content: flex-start;
    }

    .soundtrack-title {
        font-size: 28px;
        margin-bottom: -6px;
    }

    .soundtrack-description {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .spotify-cta {
        font-size: 18px;
    }

    .spotify-button {
        width: 200px;
        height: 65px;
    }

    .spotify-wrapper {
        gap: 10px;
            align-items: stretch;
    }
}

/* ==========================================
          FESTIVALES / DOCUMENTAL
   ========================================== */

.festivales-section {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;

}
.festivales-title-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
    position: sticky;
    top: 100px; 
}

.title-festivales {
    font-family: 'Yrsa', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 45px;
    color: #5B6476;
    margin: 0;
}


.festivales-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.festival-item {
    display: block;
    width: 580px;
    height: 670px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.festival-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.festival-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}


.img-category {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

@media (min-width: 769px) {
    .festival-item:hover .img-poster { opacity: 0; }
    .festival-item:hover .img-category { opacity: 1; }
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .festivales-section {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }

    .festivales-title-container {
        position: relative;
        height: auto;
        top: 0;
        margin-bottom: 30px;
    }

    .title-festivales {
        font-size: 28px;
    }

    .festival-images img {
    width: 100%;
    height: 85%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

    .festival-item {
        width: 416px;
        max-width: 90vw; 
        height: 483px;
    }

    /* Clase para el toque en celular */
    .festival-item.active .img-poster { opacity: 0; }
    .festival-item.active .img-category { opacity: 1; }
}

/* ==========================================
                CRÉDITOS / NOSOTROS
   ========================================== */

.creditos-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.creditos-main-title {
   font-family: 'Yrsa', serif;
    font-weight: 700;
    font-size: 45px;
    margin-bottom: 20px;
    color: #8391AB; 
}

.creditos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
}

.credit-card {
    width: 641px;
    height: 215px;
    background-color: #8391AB;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    display: block;
    transition: background-color 0.3s ease;
}

.card-front {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 25px;
    transition: opacity 0.3s ease;
}

.credit-photo {
    width: 170px;
    height: 170px;
    object-fit: cover;
    margin-right: 30px;
}

.credit-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.credit-role {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.credit-name {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0; 
    transition: opacity 0.3s ease;
    background-color: #ffffff;
}

.contact-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    color: #5B6476;
}

.credit-insta-icon {
    width: 40px;
    height: 40px;
    background-image: url('imagenes/icon\ insta\ azul.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.credit-card.has-hover:hover {
    background-color: #ffffff;
}

.credit-card.has-hover:hover .card-front {
    opacity: 0;
}

.credit-card.has-hover:hover .card-back {
    opacity: 1;
}

/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .creditos-main-title {
        font-size: 28px;
         font-family: 'Yrsa', serif;
    font-weight: 400;
    }

    .credit-card {
        width: 340px;
        height: 175px;
        display: flex; 
        align-items: center;
    }

    .credit-info {
        flex-grow: 1; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden; 
    }

    .credit-photo {
        width: 134px;
        height: 134px;
        margin-right: 15px;
        flex-shrink: 0;
        margin-right: 0;
    }

    .credit-role{
font-size: 18px; 
        line-height: 1.2; 
        word-wrap: break-word; 
        white-space: normal; 
        margin-bottom: 4px;
    }
     .credit-name {
       font-size: 18px;
        line-height: 1.2;
        white-space: normal;
    }

    .card-front {
        padding: 0 15px;
        display: flex;
        align-items: center;
        width: 100%;
        gap: 15px; 
    }
  }
  
  /* ==========================================
                CONTACTO / NOSOTROS
   ========================================== */

.contacto-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; 
}

.contacto-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contacto-header-box {
    background-color: #8391AB;
    width: 654px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contacto-header-box h2 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    color: #ffffff;
    margin: -20px;
}

.contacto-links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.contacto-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 24px; 
    color: #5B6476; 
    transition: 0.3s;
    gap: 15px;
}

.contacto-item .icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
}

.contacto-item .icon-instagram { background-image: url('imagenes/icon\ insta\ azul.png'); }
.contacto-item .icon-gmail     { background-image: url('imagenes/icon\ gmail\ azul.png'); }
.contacto-item .icon-telefono  { background-image: url('imagenes/icon\ tel\ azul.png'); }
.contacto-item .icon-youtube   { background-image: url('imagenes/icon\ youtube\ azul.png'); }
.contacto-item .icon-web       { background-image: url('imagenes/icon\ web\ azul.png'); }

.contacto-item:hover {
    color: #000000;
   
}

.contacto-item:hover .icon-instagram { background-image: url('imagenes/icon\ insta\ negro.png'); }
.contacto-item:hover .icon-gmail     { background-image: url('imagenes/icon\ gmail\ negro.png'); }
.contacto-item:hover .icon-telefono  { background-image: url('imagenes/icon\ tel\ negro.png'); }
.contacto-item:hover .icon-youtube   { background-image: url('imagenes/icon\ youtube\ negro.png'); }
.contacto-item:hover .icon-web       { background-image: url('imagenes/icon\ web\ negro.png'); }


/* --- RESPONSIVE CELULAR --- */
@media (max-width: 768px) {
    .contacto-section {
        gap: 30px;
    }

    .contacto-header-box {
        height: 67px;
    }

    .contacto-item {
        font-size: 18px; 
    }

    .icon {
        width: 30px; 
        height: 30px;
    }
}