/* =============================================
   Experiences — CSS autónomo (sin cocoweb.css)
   ============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}
:focus {
  outline: none;
}
:focus-visible {
  outline: none;
}

/* ---- Body / sección raíz ---- */
.section-experiences {
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Globales heredados de cocoweb.css ----
   :where() mantiene especificidad 0-0-1 (igual que los selectores
   de elemento originales) para no pisar reglas de clase existentes. */
:where(.section-experiences) h1,
:where(.section-experiences) h2,
:where(.section-experiences) h3,
:where(.section-experiences) h4,
:where(.section-experiences) h5,
:where(.section-experiences) h6 {
  font-family: CircularStdBold;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
  margin: 0 0 32px -1px;
}
:where(.section-experiences) h1 { font-size: 36px; }
.section-experiences .page-header h1 {
  font-size: 32px;
  font-family: CircularStdBold, sans-serif;
  margin: 0;
}
@media (min-width: 768px) {
  .section-experiences .page-header h1 {
    font-size: 52px;
  }
}
:where(.section-experiences) h2 { font-size: 30px; }
:where(.section-experiences) h3 { font-size: 24px; }
:where(.section-experiences) h4 { font-size: 18px; }
:where(.section-experiences) h5 { font-size: 14px; }
:where(.section-experiences) h6 { font-size: 12px; }

:where(.section-experiences) p {
  margin: 0 0 10px;
}

:where(.section-experiences) a {
  color: #337ab7;
  text-decoration: none;
  background-color: transparent;
}
:where(.section-experiences) a:focus,
:where(.section-experiences) a:hover {
  color: #23527c;
  text-decoration: underline;
}

.experiences-content {
  background: #fff;
  padding: 0;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .experiences-content {
    margin-top: 0;
    padding-top: 40px;
  }
}

/* ---- Submenu de filtros ---- */
#submenu {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: #fff;
  border-top: none;
  border-bottom: 1px solid #eee;
}

/* Submenu que aparece al hacer scroll pasado el hero */
#submenu-scroll {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#submenu-scroll.submenu-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.padsubmenu,
.submenu .padsubmenu,
#submenu-scroll .padsubmenu {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 4.6% !important;
  flex-wrap: wrap;
}
.exp-filter-label {
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}
.exp-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.exp-filter {
  background: none;
  border: none;
  padding: 4px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
  font-family: inherit;
}
.exp-filter:hover {
  color: #000;
}
.exp-filter.active {
  color: #000;
  font-weight: bold;
}
.exp-filter-clear {
  background: none;
  border: none;
  font-size: 12px;
  color: #999;
  cursor: pointer;
  text-decoration: underline;
  display: none;
  font-family: inherit;
}
.exp-filter-clear.visible {
  display: inline;
}

/* Breadcrumb */
.exp-detail-submenu {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 4.6%;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .exp-detail-submenu {
    padding: 8px 20px;
  }
}

.exp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
}
.exp-breadcrumb a {
  color: #999;
  text-decoration: none;
}
.exp-breadcrumb a:hover {
  color: #000;
}
.exp-breadcrumb .crumb-sep {
  opacity: 0.5;
}
.exp-breadcrumb .crumb-active {
  color: #000;
}

/* ---- Toggle Proyectos / Destinos ---- */
.exp-filter-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  flex-shrink: 0;
}
.exp-toggle-btn {
  background: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
  padding: 4px 2px;
  font-size: 13px;
  cursor: pointer;
  color: #bbb;
  font-family: inherit;
  transition: color 0.15s;
  text-decoration: none;
}
.exp-toggle-btn.active {
  color: #000;
  font-weight: bold;
}
.exp-toggle-btn:hover {
  color: #555;
}
.exp-toggle-sep {
  font-size: 13px;
  color: #ccc;
}

/* ---- Botón "Ver todas" en página de tag (desktop) ---- */
.exp-filter-clear-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  transition: color 0.2s;
}
.exp-filter-clear-tag:hover {
  color: #000;
}

/* ---- Mobile dropdown (oculto en desktop) ---- */
.exp-mobile-filter {
  display: none;
}

@media (max-width: 1024px) {
  .padsubmenu,
  .submenu .padsubmenu,
  #submenu-scroll .padsubmenu {
    padding: 0 !important;
  }

  /* Ocultar barra desktop */
  .padsubmenu .exp-filter-toggle,
  .padsubmenu .exp-filters,
  .padsubmenu .exp-filter-clear-tag {
    display: none !important;
  }

  /* Mostrar dropdown */
  .exp-mobile-filter {
    display: block;
    position: relative;
    padding: 0 4.6%;
    border-bottom: 1px solid #eee;
  }

  .exp-mobile-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    font-family: inherit;
    color: #000;
    cursor: pointer;
    outline: none;
  }
  .exp-mobile-trigger .exp-mobile-arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
    color: #999;
  }
  .exp-mobile-trigger.open .exp-mobile-arrow {
    transform: rotate(180deg);
  }

  .exp-mobile-dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 200;
    padding: 8px 0 12px;
    overflow-y: auto;
  }

  .exp-mobile-group-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bbb;
    padding: 10px 4.6% 4px;
  }

  .exp-mobile-option {
    display: block;
    padding: 9px 4.6%;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
  }
  .exp-mobile-option:hover {
    color: #000;
  }
  .exp-mobile-option.active {
    color: #000;
    font-weight: bold;
  }

  .exp-mobile-clear {
    color: #999;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
    padding-bottom: 12px;
  }
  .exp-mobile-clear:hover {
    color: #000;
  }

  /* Ocultar también el borde del submenu en mobile (el dropdown tiene el suyo) */
  #submenu {
    border-bottom: none;
  }
}

/* ---- Header de página de tag ---- */
.exp-tag-header {
  padding: 48px 4.6% 24px;
}
.exp-tag-header h1 {
  margin: 0 0 8px;
  font-size: 36px;
  font-family: "CircularStdBold", sans-serif;
  font-weight: bold;
  line-height: 1.15;
  color: #000;
}
.exp-tag-header p {
  margin: 0;
  font-size: 28px;
  color: #888;
  max-width: 1100px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .exp-tag-header {
    padding: 32px 16px 16px;
  }
  .exp-tag-header h1 {
    font-size: 28px;
  }
  .exp-tag-header p {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .exp-tag-header h1 {
    font-size: 22px;
  }
  .exp-tag-header p {
    font-size: 14px;
  }
}

/* ---- Grid mosaico (desktop) ---- */
.exp-grid {
  margin: 0 10px;
  min-height: 400px;
}

/* ---- Grid mobile (lista plana 2 columnas) ---- */
.exp-grid-mobile {
  display: none;
}

/* Cada fila es un flex-row; las cards llenan el ancho según su clase */
.exp-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

/* Tamaños de card */
.exp-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  margin: 10px;
  background: #ececec;
  cursor: pointer;
}

/* lg: fila de 1 → card ocupa casi 100% */
.exp-row.experience-img-lg .exp-card {
  width: calc(100% - 20px);
}
.exp-row.experience-img-lg .exp-card .exp-card-wrap {
  aspect-ratio: 1920 / 650;
}

/* md: fila de 2 → cada card ~50% */
.exp-row.experience-img-md .exp-card {
  width: calc(50% - 20px);
}
.exp-row.experience-img-md .exp-card .exp-card-wrap {
  aspect-ratio: 16 / 9;
}

/* sm: fila de 3 → cada card ~33% */
.exp-row.experience-img-sm .exp-card {
  width: calc(33.33% - 20px);
}
.exp-row.experience-img-sm .exp-card .exp-card-wrap {
  aspect-ratio: 4 / 3;
}

/* Responsive ≤970px: 2 columnas uniformes */
@media (max-width: 970px) {
  .exp-row {
    flex-wrap: wrap;
  }
  /* md y sm → 2 columnas */
  .exp-row.experience-img-md .exp-card,
  .exp-row.experience-img-sm .exp-card {
    width: calc(50% - 20px) !important;
  }
  .exp-row.experience-img-md .exp-card .exp-card-wrap,
  .exp-row.experience-img-sm .exp-card .exp-card-wrap {
    aspect-ratio: 4 / 3 !important;
  }
  /* lg sigue siendo 1 columna completa */
  .exp-row.experience-img-lg .exp-card {
    width: calc(100% - 20px) !important;
  }
  .exp-row.experience-img-lg .exp-card .exp-card-wrap {
    aspect-ratio: 16 / 9 !important;
  }
  /* card sola en fila → ocupa todo el ancho */
  .exp-row.experience-img-md .exp-card:only-child,
  .exp-row.experience-img-sm .exp-card:only-child {
    width: calc(100% - 20px) !important;
  }
}

@media (max-width: 768px) {
  .exp-card-mobile {
    width: calc(100% - 20px) !important;
  }
}

/* Responsive ≤970px: ocultar mosaico, mostrar grid plano */
@media (max-width: 970px) {
  .exp-grid {
    display: none;
  }
  .exp-grid-mobile {
    display: flex;
    flex-wrap: wrap;
    margin: 0 10px;
  }
  .exp-card-mobile {
    display: block;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    width: calc(50% - 20px);
    margin: 10px;
    background: #ececec;
    cursor: pointer;
  }
  .exp-card-mobile .exp-card-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* Wrap interior: posición relativa para sobreponer capas */
.exp-card-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ececec;
}

/* Imagen de fondo (set por JS via data-bg) */
.exp-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    transform 0.25s ease-in,
    opacity 0.6s ease;
  opacity: 0;
}
.exp-card-img.loaded {
  opacity: 1;
}
.exp-card:hover .exp-card-img {
  transform: scale(1.05);
}

/* Degradado inferior */
.exp-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

/* Texto: título y tipo */
.exp-card-info {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  color: #fff;
}
.exp-card-info h4 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
  font-family: "CircularStdBold", sans-serif;
}
.exp-card-tag {
  font-size: 13px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}
.exp-card-tag:hover {
  border-bottom-color: #fff;
}

/* Badge "Comprar boletos" */
.exp-tickets {
  position: absolute;
  top: 14px;
  right: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 3;
  padding: 6px 18px;
  font-size: 13px;
  text-transform: uppercase;
  color: #000;
}

/* ---- Grid filtrado ---- */
/* Las filas se disuelven (display:contents) para que las cards visibles
   floten libres en el contenedor y se reacomoden en 2 columnas */
.exp-grid.filtered {
  display: flex;
  flex-wrap: wrap;
}
.exp-grid.filtered .exp-row {
  display: contents;
}
.exp-grid.filtered .exp-card[hidden] {
  display: none !important;
}
.exp-grid.filtered .exp-card {
  width: calc(50% - 20px) !important;
  flex-shrink: 0;
}
.exp-grid.filtered .exp-card .exp-card-wrap {
  aspect-ratio: 4 / 3 !important;
}
@media (max-width: 768px) {
  .exp-grid.filtered .exp-card {
    width: calc(100% - 20px) !important;
  }
}

/* ---- Botón scroll-to-top ---- */
.button-up-extern {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 1001;
  bottom: 30px;
  right: 20px;
  display: none;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.button-up-extern.visible {
  display: block;
}
.button-up-extern:hover {
  opacity: 1;
}
.button-up-extern img {
  width: 100%;
}

/* ---- Animación fade-in (cards en grid) ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Animación fade-up (bloques de texto en detalle) ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   DETALLE DE EXPERIENCIA
   ============================================ */

/* Hero — 100vh fijo, scroll encima */
.section-experience-item .hero-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

/* Spacer: mismo alto que el hero fijo, contiene el título en el flujo normal */
.section-experience-item .hero-spacer {
  height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.section-experience-item .experience-hero {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-experience-item .hero-container .exp-hero-video {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.section-experience-item .hero-container video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradiente sutil solo en la franja inferior (40%) */
.section-experience-item .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Bloque de texto: en el flujo normal (dentro del spacer), abajo-izquierda */
.section-experience-item .hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 4.6% 56px;
  pointer-events: auto;
}
.section-experience-item .exp-hero-title {
  color: #fff;
  font-family: "CircularStdBold", sans-serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: bold;
  line-height: 1.05;
  margin: 0 0 28px;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .section-experience-item .hero-spacer {
    height: 100vh;
  }
  .section-experience-item .hero-title-block {
    padding: 0 4.6% 32px;
  }
  .section-experience-item .exp-hero-title {
    font-size: clamp(1.8rem, 7vw, 3rem);
    margin-bottom: 16px;
  }
}

/* Botón "Ver Video" outline blanco */
.section-experience-item .btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  align-self: flex-start;
}
.section-experience-item .btn-watch-video:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.btn-watch-icon {
  width: 10px;
  height: 10px;
  display: inline-block;
  vertical-align: middle;
}

/* Modal de video */
.video-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: #000;
  padding: 0;
  width: 92vw;
  max-width: 1100px;
  max-height: 90vh;
  overflow: hidden;
}
.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.vm-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  padding: 4px 8px;
  line-height: 1;
}
.vm-close:hover {
  color: #fff;
}
.vm-video {
  display: block;
  width: 100%;
  max-height: 90vh;
  background: #000;
}

/* Sección de detalle */
.section-experience-item .experience-detail {
  width: 100%;
}
.section-experiences.section-experience-item,
.section-experiences.section-experience-item .experiences-content {
  background: #000;
}
.section-experience-item .experiences-content {
  margin-top: 0;
}
#experiences {
  position: relative;
  z-index: 1;
}
.section-experience-item .experience-desc {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding: 16px 4.6% 0;
}
@media (max-width: 768px) {
  .section-experience-item .experience-desc {
    margin-top: 0;
  }
}

/* Layout 2 columnas del detalle (reemplaza col-md-8 + col-md-3 offset-1) */
.exp-detail-grid {
  display: grid;
  grid-template-columns: 66.667% 25%; /* col-md-8 / col-md-3 */
  column-gap: 8.333%;                 /* col-md-offset-1 */
}
@media (max-width: 991px) {
  .exp-detail-grid {
    grid-template-columns: 1fr;
  }
}

.section-experience-item .share-links {
  display: flex;
  gap: 24px;
}

.section-experience-item .experience-table .table-header {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 20px 0;
  margin: 18px 0 17px 0;
}

.section-experience-item .margin-up {
  margin-top: 15px;
}

.section-experience-item .contentTranslate {
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .section-experience-item .contentTranslate {
    margin-bottom: 35px;
  }
}

.section-experience-item .underline {
  border-bottom: 1px solid #fff;
}

/* Título y fecha/locación */
.section-experience-item .title_experience {
  color: #fff;
  margin: 0 0 22px;
  font-size: 1.5em;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Fila de metadatos (ciudad + año) alineada a la derecha */
.exp-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 8px;
  color: #fff;
}
@media (min-width: 1440px) {
  .section-experience-item .title_experience {
    font-size: 2em;
  }
}
@media (min-width: 1920px) {
  .section-experience-item .title_experience {
    font-size: 2.5em;
  }
}

.section-experience-item .paddingdate {
  padding-top: 2px;
  color: #fff;
  font-size: 1.1em;
  position: relative;
}
.section-experience-item .location {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 12px;
}
.section-experience-item .location:hover {
  background: #fff;
  color: #000;
}
.section-experience-item .location img {
  width: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.section-experience-item .year {
  font-size: 20px;
  font-family: "CircularStdBold", sans-serif;
}

/* Subtítulo y contenido */
.section-experience-item .subtitle_experience {
  font-size: 1.6em;
  font-family: "CircularStdBold", sans-serif;
  color: #fff;
  margin-bottom: 16px;
}
@media (min-width: 1024px) {
  .section-experience-item .subtitle_experience {
    font-size: 1.4em;
  }
}
.section-experience-item .content_experience {
  color: #fff;
  font-size: 1.1em;
  line-height: 1.7;
  word-spacing: 0.05em;
  margin-top: 16px;
  margin-right: 20px;
  transition: max-height 0.4s ease;
}
@media (min-width: 1024px) {
  .section-experience-item .content_experience {
    font-size: 1.3em;
    margin-top: 1px;
  }
}
@media (min-width: 1920px) {
  .section-experience-item .content_experience {
    font-size: 1.5em;
    line-height: 31px;
    margin-top: 25px;
    margin-right: 20px;
  }
}

.section-experience-item .leerMas {
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  opacity: 0.55;
  margin-top: 8px;
  display: none;
}
.section-experience-item .leerMas img {
  width: 15px;
  transform: rotate(180deg);
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.4s;
}
.section-experience-item .leerMas.expanded img {
  transform: rotate(0deg);
}

/* Booking label */
.section-experience-item .booking-label {
  display: inline-block;
  background: #fff;
  color: #000;
  text-transform: uppercase;
  padding: 10px 20px;
  margin-top: 20px;
  font-size: 1.6em;
  font-family: "CircularStdBold", sans-serif;
}
.section-experience-item .booking-label p {
  margin: 0;
}

/* Ficha técnica */
.section-experience-item .experience-table {
  width: 100%;
  padding-top: 20px;
  font-size: 14px;
  color: #fff;
}
.section-experience-item .linedata {
  margin: 12px 0 30px;
  border: 0;
  border-top: 1px solid rgba(154, 154, 154, 1);
}
.section-experience-item .titleCliente {
  font-size: 18px;
  color: #fff;
}
.section-experience-item .textFicha {
  color: #666;
  margin: 4px 0 8px;
}
.section-experience-item .textCompartir {
  color: #fff;
  font-size: 18px;
}
.section-experience-item .itemCompartir {
  color: #999;
  font-size: 14px;
}
.section-experience-item .itemCompartir a {
  color: #999;
  text-decoration: none;
}
.section-experience-item .itemCompartir a:hover {
  color: #fff;
}
.section-experience-item .fichasecc {
  padding-bottom: 10px;
}

/* Tickets */
.section-experience-item .experience-booking-label {
  margin-top: 40px;
}
.section-experience-item .experience-booking-label h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 2.4em;
  font-family: "CircularStdBold", sans-serif;
}
.section-experience-item .tickets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.section-experience-item .tickets-grid a {
  color: #fff;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid #555;
  background: #111;
  border-radius: 5px;
  font-size: 1.6em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.section-experience-item .tickets-grid a:hover {
  opacity: 0.7;
}
.section-experience-item .ticket-icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

/* Mapa */
.section-experience-item .comp-map-tickets {
  width: 100%;
  height: 400px;
  margin-top: 30px;
}

/* ---- Galería de bloques ---- */
.section-experience-item .experience-gallery {
  margin: 60px 0 0;
  width: 100%;
}

.section-experience-item .experience-row {
  position: relative;
  width: 100%;
}
.section-experience-item .experience-row.lg-row {
  height: 800px;
}
.section-experience-item .experience-row.sm-row {
  height: 500px;
  display: flex;
}
.section-experience-item .experience-row.xxs-row {
  height: 400px;
}
@media (max-width: 1024px) {
  .section-experience-item .experience-row.lg-row {
    height: 600px;
  }
}
@media (max-width: 768px) {
  .section-experience-item .experience-row.sm-row {
    height: 335px;
  }
}
@media (max-width: 480px) {
  .section-experience-item .experience-row.lg-row {
    height: 250px;
  }
  .section-experience-item .experience-row.sm-row {
    height: 250px;
  }
  .section-experience-item .experience-row.xxs-row {
    height: 250px;
  }
}

.section-experience-item .experience-col {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.section-experience-item .experience-col.full {
  width: 100%;
}
.section-experience-item .experience-col.half {
  width: 50%;
}

.exp-img {
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.exp-img.loaded {
  opacity: 1;
}

.section-experience-item .gallery-item {
  display: block;
  width: 100%;
  height: calc(100% - 22px);
  flex: 1;
  position: relative;
  cursor: zoom-in;
}

.section-experience-item .img-name {
  font-size: 12px;
  color: #999;
  padding: 4px 0 0 20px;
}

/* Texto en galería */
.section-experience-item .experience-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 80px;
  color: #fff;
}
.section-experience-item .experience-text h2 {
  font-size: 60px;
  margin: 0;
}
.section-experience-item .experience-text p {
  font-size: 15px;
  margin: 0;
}
@media (max-width: 768px) {
  .section-experience-item .experience-text {
    padding: 20px;
  }
  .section-experience-item .experience-text h2 {
    font-size: 32px;
  }
}

/* Videos inline */
.section-experience-item .video-container {
  position: relative;
  padding: 0 20px 22px;
}
@media (max-width: 480px) {
  .section-experience-item .video-container {
    padding: 0 0 22px;
  }
}
.section-experience-item .play-content {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 50%;
  top: 48%;
  background: #404040;
  border-radius: 50%;
  margin-left: -40px;
  margin-top: -40px;
  cursor: pointer;
  pointer-events: none;
}
.section-experience-item .svgButton {
  position: relative;
  left: 28px;
  top: 24px;
}

/* ---- Créditos ---- */
.section-experience-item .credits {
  position: relative;
  z-index: 10;
  color: #fff;
  background: #000;
  padding: 0 4.6% 60px;
}
.section-experience-item .credits-content.credits-hidden {
  display: none;
}

.section-experience-item .credits-btn {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  padding: 40px 0 32px;
  cursor: pointer;
  font-size: 1.6em;
  font-family: "CircularStdBold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-experience-item .credits-arrow {
  width: 22px;
  margin-top: 10px;
  transition: transform 0.3s;
}
.section-experience-item .credits-arrow.down {
  transform: rotate(180deg);
}
.section-experience-item .credits-arrow.up {
  transform: rotate(0deg);
}

.section-experience-item .credits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 40px;
  padding-top: 16px;
}
@media (max-width: 1024px) {
  .section-experience-item .credits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .section-experience-item .credits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }
}
@media (max-width: 480px) {
  .section-experience-item .credits-grid {
    grid-template-columns: 1fr;
  }
}

.section-experience-item .credits-col {
  padding-bottom: 32px;
}

/* Títulos de categoría (h4 generado por markdown) */
.section-experience-item .credits-col h4 {
  font-size: 14px;
  font-family: "CircularStdBold", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* Nombres (p generado por markdown) */
.section-experience-item .credits-col p {
  font-size: 15px;
  font-weight: normal;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ---- Carrusel noticias relacionadas ---- */
.news-carousel-section {
  background: #080808;
  padding: 60px 0 70px;
  position: relative;
  z-index: 10;
}
.news-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.6%;
  margin-bottom: 36px;
}
.news-carousel-title {
  font-family: "CircularStdBold", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.news-carousel-controls {
  display: flex;
  gap: 10px;
}
.ncs-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    background 0.2s;
  line-height: 1;
}
.ncs-arrow:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
}
.ncs-arrow:disabled {
  opacity: 0.2;
  cursor: default;
}

.news-carousel-track-wrap {
  overflow: hidden;
  margin: 0 4.6%;
}
.news-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.news-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
  transition: opacity 0.2s;
}
@media (max-width: 1024px) {
  .news-card {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 640px) {
  .news-card {
    flex: 0 0 90%;
  }
}
.news-card:hover {
  opacity: 0.85;
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  filter: brightness(0.88);
  transition:
    filter 0.3s,
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}
.news-card:hover .news-card-img {
  filter: brightness(1);
  transform: scale(1.03);
}

.news-card-body {
  padding: 18px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.news-card-date {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}
.news-card-title {
  font-family: "CircularStdBold", sans-serif;
  font-size: 17px;
  line-height: 1.35;
  color: #fff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #777;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.4;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.news-card:hover .news-card-link {
  opacity: 1;
}

.news-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.ncs-dot {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    width 0.2s;
}
.ncs-dot.active {
  width: 40px;
  background: #fff;
}

/* ---- Proyectos relacionados ---- */
.section-experience-item .related-projects {
  position: relative;
  z-index: 10;
  background: #000;
  padding-bottom: 50px;
}
.related-projects-wrap {
  margin: 0 auto;
  padding: 0 4.6%;
}
.section-experience-item .moreProjects {
  font-size: 40px;
  font-family: "CircularStdBold", sans-serif;
  text-align: center;
  color: #fff;
  padding: 30px 0;
}
@media (max-width: 480px) {
  .section-experience-item .moreProjects {
    font-size: 28px;
  }
}

.section-experience-item .related-grid {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.section-experience-item .wrap-related {
  display: block;
  width: 33.33%;
  text-decoration: none;
  color: #fff;
  padding: 0 10px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .section-experience-item .wrap-related {
    width: 100%;
    margin-bottom: 20px;
  }
}
.section-experience-item .wrap-related .experience-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  transition: transform 0.2s ease-in;
}
.section-experience-item .wrap-related:hover .experience-img {
  transform: scale(1.05);
}
.section-experience-item .related-project-text {
  text-align: center;
  margin-top: 8px;
}
.section-experience-item .related-project-text h4 {
  margin: 0;
  font-size: 16px;
}
.section-experience-item .wrap-related:hover {
  color: #999;
}

/* ---- Botón scroll-to-top (detalle) ---- */
.section-experience-item .button-up {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 1001;
  bottom: 30px;
  right: 20px;
  display: none;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.section-experience-item .button-up.visible {
  display: block;
}
.section-experience-item .button-up:hover {
  opacity: 1;
}
.section-experience-item .button-up img {
  width: 100%;
}

/* ============================================
   LIGHTBOX NATIVO
   ============================================ */
dialog.exp-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.94);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
dialog.exp-lightbox[open] {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

/* Botón cerrar */
.lb-close {
  position: fixed;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  opacity: 0.8;
}
.lb-close:hover {
  opacity: 1;
}

/* Flechas */
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10001;
  padding: 10px;
  opacity: 0.7;
  line-height: 1;
}
.lb-arrow:hover {
  opacity: 1;
}
.lb-prev {
  left: 16px;
}
.lb-next {
  right: 16px;
}
.lb-arrow[hidden] {
  display: none;
}

/* Contador */
.lb-counter {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  font-family: "CircularStdBold", sans-serif;
  opacity: 0.8;
}

/* Caption */
.lb-caption {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ccc;
  font-size: 13px;
  text-align: center;
  max-width: 80%;
}

/* Click en fondo → cerrar */
dialog.exp-lightbox::backdrop {
  background: transparent;
}

/* ============================================
   VIEW TRANSITIONS API — animación de filtro
   ============================================ */

/* Duración y easing de la transición global */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: ease;
}

/* Las cards que salen: escalan y se desvanecen */
::view-transition-old(exp-card) {
  animation: exp-card-out 0.35s ease forwards;
}

/* Las cards que entran: escalan desde pequeño */
::view-transition-new(exp-card) {
  animation: exp-card-in 0.35s ease forwards;
}

@keyframes exp-card-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes exp-card-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Suprimir la animación del root (fondo) para que solo animen las cards */
::view-transition-old(root) {
  animation: none;
}
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* ---- Embed blocks ---- */
.exp-embed-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background: #111;
  cursor: pointer;
}
.exp-embed-play {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition:
    opacity 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}
.exp-embed-play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 28px solid #fff;
  margin-left: 6px;
}
.exp-embed-thumb:hover .exp-embed-play {
  opacity: 1;
  transform: scale(1.1);
}

.lb-embed-wrap {
  width: 90vw;
  max-width: 1200px;
}
#lb-iframe {
  width: 100%;
  height: 80vh;
  display: block;
  border: none;
}

/* =============================================
   FOOTER (independiente de cocoweb.css)
   ============================================= */
.ft-container {
  background-color: #000;
  font-family: "CircularStd";
  color: #fff;
  overflow: hidden;
  position: relative;
  height: auto;
  padding: 0 4.47% 40px;
}
.ft-container a {
  color: #fff;
}
.ft-container a:hover {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.ft-title {
  font-size: 17px;
  padding: 40px 0 0;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  width: 75px;
}
.ft-address {
  font-size: 14px;
  line-height: 28px;
}
.ft-copy {
  color: #666;
  font-size: 15px;
  margin: 0;
}
.ft-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 35px;
}
.ft-social ul li {
  font-size: 14px;
  margin-bottom: 8px;
}
/* ============================================
   MAKING OF — sección colapsable
   ============================================ */
.section-experience-item .making-of-section {
  position: relative;
  z-index: 10;
  color: #fff;
  background: #000;
  padding: 0 4.6% 60px;
}
.section-experience-item .making-of-body.hidden {
  display: none;
}
.section-experience-item .making-of-body.making-of-open {
  display: block;
}
.section-experience-item .making-of-btn {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  padding: 40px 0 32px;
  cursor: pointer;
  font-size: 1.6em;
  font-family: "CircularStdBold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-experience-item .making-of-arrow {
  width: 22px;
  margin-top: 10px;
  transition: transform 0.3s;
  transform: rotate(180deg);
}
.section-experience-item .making-of-btn.making-of-open .making-of-arrow {
  transform: rotate(0deg);
}

.ft-container .hiddi {
  display: none;
}
.ft-divider {
  display: none;
}
@media (max-width: 1280px) {
  .ft-social ul {
    margin-left: 5px;
  }
  .ft-copy {
    font-size: 14px;
  }
  .ft-address {
    font-size: 13px;
    line-height: 24px;
  }
}
@media (max-width: 768px) {
  .ft-divider {
    border-bottom: 1px solid #3e3e3e;
    padding: 10px 0;
    display: block;
    margin-bottom: 20px;
  }
  .ft-title {
    padding: 15px 0 0;
  }
}
