/* Recorrido virtual 360° (se carga solo al tocar el botón) */
.tour__lead { max-width: 38em; margin: .9rem auto 0; color: #3f5560; font-size: clamp(1rem, 2.2vw, 1.12rem); line-height: 1.55; }
.tour { position: relative; height: clamp(440px, 72vh, 850px); height: clamp(440px, 72svh, 850px); border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -34px rgba(12, 28, 38, .55); isolation: isolate; }
.tour__start { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.tour__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tour__start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 28, 38, .15), rgba(0, 86, 78, .55)); }
.tour__start:hover img { transform: scale(1.04); }
.tour__badge { position: absolute; z-index: 1; top: clamp(.9rem, 3vw, 1.5rem); left: clamp(.9rem, 3vw, 1.5rem); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .12); }
.tour__cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .7rem; padding: .95rem 1.7rem; border-radius: 99px; background: #fff; color: var(--green); font-family: var(--font); font-weight: 800; font-size: 1.02rem; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6); transition: transform .3s, background .3s, color .3s; }
.tour__cta svg { width: 20px; height: 20px; fill: currentColor; }
.tour__cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: tourPulse 2.4s ease-out infinite; }
.tour__start:hover .tour__cta { transform: translateY(-2px); background: var(--teal-soft); }
.tour__start:focus-visible { outline: 3px solid var(--teal); outline-offset: -6px; border-radius: var(--r); }
@keyframes tourPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .65); } 70%, 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ink); opacity: 0; transition: opacity .5s; }
.tour.is-ready iframe { opacity: 1; }
.tour__loading { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 1rem; color: #fff; font-weight: 700; background: var(--ink); transition: opacity .4s; }
.tour.is-ready .tour__loading { opacity: 0; pointer-events: none; }
.tour__spin { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #7fd1c3; animation: tourSpin .9s linear infinite; }
@keyframes tourSpin { to { transform: rotate(360deg); } }
.tour__alt { margin: 1.1rem 0 0; text-align: center; font-size: .95rem; }
.tour__alt a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.tour-link { margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .tour__cta::before, .tour__spin { animation: none; } .tour__start img { transition: none; } }
