/* Bloque principal del tour: texto a la izquierda, visor inmersivo a la derecha */
.pwt-sec.pwt-show { padding: 48px 0; background: #262626; }
.pwt-show__wrap { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; max-width: 1480px; margin: 0 auto; padding: 0 clamp(18px, 3vw, 40px); }
.pwt-show__wrap--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.pwt-show__copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; color: #fff; }
.pwt-show__title { margin: 0 0 18px; font-family: var(--f-title); font-size: clamp(22px, 2.1vw, 30px); font-weight: 900; line-height: 1.14; letter-spacing: -.01em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.pwt-show__textwrap { margin-bottom: 22px; }
.pwt-show__text { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .78); overflow-wrap: anywhere; }
.pwt-show__text p { margin: 0 0 14px; }
.pwt-show__text p:last-child { margin-bottom: 0; }
.pwt-show__textwrap.is-clamped .pwt-show__text { max-height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.pwt-show__more { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--o-light); font-family: var(--f-title); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pwt-show__more:hover { color: #fff; }

.pwt-show__cta { width: 100%; justify-content: center; border-radius: 8px; padding-top: 16px; padding-bottom: 16px; }

/* Visor */
.pwt-stage { position: relative; min-height: clamp(520px, 78vh, 700px); border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); isolation: isolate; touch-action: pan-y; }
.pwt-stage:focus-visible { outline: 2px solid var(--o); outline-offset: 4px; }
.pwt-stage__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.pwt-stage__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.pwt-stage__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.08); transition: transform 7s cubic-bezier(.2, .6, .3, 1); }
.pwt-stage__slide.is-active img { transform: scale(1); }
.pwt-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, .82) 100%); }
.pwt-stage__place { position: absolute; top: 20px; right: 22px; z-index: 2; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 44px); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pwt-stage__place[hidden] { display: none; }
.pwt-stage__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 22px 20px; }
.pwt-stage__thumbs { display: flex; gap: 8px; margin-bottom: 18px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.pwt-stage__thumbs::-webkit-scrollbar { display: none; }
.pwt-stage__thumb { position: relative; flex: 0 0 62px; height: 40px; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #222; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.pwt-stage__thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.8); transition: filter .3s; }
.pwt-stage__thumb b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-title); font-size: 13px; font-weight: 800; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.pwt-stage__thumb:hover { transform: translateY(-3px); }
.pwt-stage__thumb:hover img, .pwt-stage__thumb.is-active img { filter: none; }
.pwt-stage__thumb.is-active { box-shadow: 0 0 0 2px var(--o); }
.pwt-stage__thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--o); }
.pwt-stage.is-playing .pwt-stage__thumb.is-active i { animation: pwt-stage-bar 6s linear forwards; }
.pwt-stage.is-paused .pwt-stage__thumb i { animation-play-state: paused; }
@keyframes pwt-stage-bar { to { width: 100%; } }
.pwt-stage__caption { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.pwt-stage__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(0, 0, 0, .28); color: #fff; opacity: 0; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s, background .25s, border-color .25s; }
.pwt-stage:hover .pwt-stage__nav, .pwt-stage:focus-within .pwt-stage__nav { opacity: 1; }
.pwt-stage__nav:hover { background: var(--o); border-color: var(--o); }
.pwt-stage__nav--prev { left: 16px; }
.pwt-stage__nav--prev svg { transform: rotate(180deg); }
.pwt-stage__nav--next { right: 16px; }
#tour-details { scroll-margin-top: 90px; }

@media (max-width: 1024px) {
	.pwt-sec.pwt-show { padding: 24px 0 40px; }
	.pwt-show__wrap { grid-template-columns: minmax(0, 1fr); }
	.pwt-stage { order: -1; min-height: 0; height: clamp(380px, 62vh, 560px); }
	.pwt-stage__nav { opacity: 1; width: 38px; height: 38px; margin-top: -40px; }
	.pwt-stage__nav--prev { left: 10px; }
	.pwt-stage__nav--next { right: 10px; }
	.pwt-stage__bottom { padding: 0 14px 14px; }
	.pwt-stage__thumbs { margin-bottom: 10px; }
	.pwt-stage__caption { font-size: 12.5px; }
	.pwt-stage__place { top: 12px; right: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.pwt-stage__slide img { transform: none; transition: none; }
}

/* Visor más contenido y tira con 5 miniaturas visibles (el resto se desliza solo) */
.pwt-show__wrap { grid-template-columns: minmax(0, 420px) minmax(0, 760px); justify-content: center; max-width: 1320px; }
.pwt-show__wrap--single { grid-template-columns: minmax(0, 820px); }
.pwt-stage { min-height: clamp(440px, 66vh, 560px); align-self: center; }
.pwt-stage__thumbs { --tw: 66px; --tg: 8px; width: calc(var(--tw) * 5 + var(--tg) * 4 + 6px); max-width: 100%; gap: var(--tg); scroll-snap-type: x mandatory; }
.pwt-stage__thumb { flex: 0 0 var(--tw); height: 44px; scroll-snap-align: start; }
@media (max-width: 1024px) {
	.pwt-show__wrap { grid-template-columns: minmax(0, 760px); }
	.pwt-stage { min-height: 0; width: 100%; height: clamp(340px, 56vh, 500px); }
}
@media (max-width: 480px) {
	.pwt-stage__thumbs { --tw: calc((100vw - 36px - 28px - 6px - 24px) / 5); --tg: 6px; }
	.pwt-stage__thumb { height: 38px; }
}

/* Ficha técnica original: icono naranja sobre cada dato, centrado en altura */
.pwt-tstat { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pwt-tstat__ico { display: block; margin-bottom: 12px; color: var(--o); }

/* ---------- Banner del tour como en la web original: foto limpia arriba y degradado oscuro de la mitad hacia abajo ---------- */
.pwt-tour-page .pwt-thero { min-height: 620px; padding-bottom: 44px; background-color: #232323; }
.pwt-tour-page .pwt-thero::before { background: linear-gradient(180deg, rgba(35, 35, 35, .30) 0%, rgba(35, 35, 35, .22) 28%, rgba(35, 35, 35, .40) 48%, rgba(35, 35, 35, .70) 66%, rgba(35, 35, 35, .90) 82%, #232323 98%, #232323 100%); bottom: -1px; }
.pwt-tour-page .pwt-thero__title { max-width: 1100px; }
.pwt-tour-page .pwt-thero__text { max-width: 1264px; line-height: 1.8; }
/* La ficha técnica continúa el mismo color, sin líneas que corten el degradado */
.pwt-tour-page .pwt-tstats, .pwt-tour-page .pwt-sec.pwt-show { background: #232323; border: 0; }
.pwt-tour-page .pwt-tstats__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 183px)); justify-content: start; }
@media (max-width: 760px) {
	.pwt-tour-page .pwt-thero { min-height: 540px; padding-bottom: 28px; }
	.pwt-tour-page .pwt-tstats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .pwt-tour-page .pwt-tstat { justify-content: flex-start; } }

/* Redes sociales con sus colores (como en la web original) + compartir */
.pwt-social2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; }
.pwt-social2__btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 5px; background: #69727d; color: #fff; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, filter .25s; }
.pwt-social2__btn:hover { color: #fff; transform: translateY(-4px); filter: brightness(1.12); box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .8); }
.pwt-social2__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pwt-social2__btn--instagram { background: #1c1c1c; }
.pwt-social2__btn--instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.pwt-social2__btn--facebook { background: #3b5998; }
.pwt-social2__btn--youtube { background: #cd201f; }
.pwt-social2__btn--tripadvisor, .pwt-social2__btn--tripadvisor:hover { background: #00c65f; color: #000; }
.pwt-social2__share { position: relative; }
.pwt-social2__menu { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20; display: grid; min-width: 170px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); transform: translateX(-70%); }
.pwt-social2__menu[hidden] { display: none; }
.pwt-social2__menu a, .pwt-social2__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: none; color: #2f2f2f; font: 600 13px/1.2 var(--f-title); text-align: left; white-space: nowrap; cursor: pointer; }
.pwt-social2__menu a:hover, .pwt-social2__menu button:hover { background: #fcefe3; color: var(--o-dark); }

/* Ficha técnica uniforme: siempre en UNA fila en computadora, sea cual sea la cantidad de datos */
@media (min-width: 901px) {
	.pwt-tour-page .pwt-tstats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 183px); justify-content: start; }
	.pwt-tour-page .pwt-tstat { min-width: 0; padding-left: 16px; padding-right: 14px; }
	.pwt-tour-page .pwt-tstat__label, .pwt-tour-page .pwt-tstat strong { overflow-wrap: break-word; }
}
@media (min-width: 901px) and (max-width: 1180px) {
	.pwt-tour-page .pwt-tstat { padding-left: 10px; padding-right: 8px; }
	.pwt-tour-page .pwt-tstat__label { font-size: 9px; letter-spacing: .08em; }
	.pwt-tour-page .pwt-tstat strong { font-size: 13px; }
}
@media (min-width: 761px) and (max-width: 900px) {
	.pwt-tour-page .pwt-tstats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Alineación recta: iconos, etiquetas y datos empiezan a la misma altura; un dato largo solo crece hacia abajo */
.pwt-tour-page .pwt-tstat { justify-content: flex-start; }
.pwt-tour-page .pwt-tstat__ico { flex: 0 0 22px; height: 22px; }
.pwt-tour-page .pwt-tstat__label { display: block; line-height: 1.6; }
@media (min-width: 761px) {
	/* se reservan dos renglones para la etiqueta (p. ej. "Distancia de senderismo"), así los datos también quedan alineados */
	.pwt-tour-page .pwt-tstat__label { min-height: 3.2em; }
}

/* Subtítulo de la cabecera: máximo 3 líneas; el resto se abre con "Read more" (el texto completo sigue en la página) */
html.js .pwt-tour-page .pwt-thero__text:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pwt-thero__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--o-light); font-family: var(--f-title); font-size: 13px; font-weight: 800; letter-spacing: .02em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pwt-thero__more:hover { color: #fff; }
.pwt-thero__more[hidden] { display: none; }
.pwt-thero__more:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
