/* ==========================================================================
   360° virtual tour page (v2): tour player, still gallery, compare slider
   ========================================================================== */
.vt { background: #05030f; color: #f4f2ff; font-family: 'Inter', 'Poppins', system-ui, sans-serif; overflow-x: clip; }
.vt *, .vt *::before, .vt *::after { box-sizing: border-box; }
.vt a { text-decoration: none; }
.vt .vt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.vt .vt-narrow { max-width: 860px; }

/* ---------- hero + player ---------- */
.vt .vt-hero { padding: 138px 0 70px; text-align: center; background: radial-gradient(60% 55% at 50% 0%, rgba(124, 92, 255, .32), transparent 70%), radial-gradient(40% 40% at 85% 30%, rgba(232, 108, 240, .14), transparent 70%); }
.vt .vt-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #e0d4ff; background: rgba(155, 92, 246, .15); border: 1px solid rgba(190, 160, 255, .3); }
.vt .vt-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #e86cf0; box-shadow: 0 0 10px #e86cf0; }
.vt .vt-hero h1 { max-width: 860px; margin: 20px auto 18px; font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4.8vw, 3.4rem); font-weight: 700; line-height: 1.14; letter-spacing: -.018em; color: #fff; text-align: center; }
.vt .vt-lead { max-width: 660px; margin: 0 auto 30px; font-size: 1.08rem; line-height: 1.75; color: #b5b1d3; text-align: center; }
.vt .vt-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.vt .vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent; font-size: .96rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #7c5cff, #e86cf0); box-shadow: 0 14px 34px -12px rgba(155, 92, 246, .95); transition: transform .2s ease; }
.vt .vt-btn:hover { transform: translateY(-2px); color: #fff; }
.vt .vt-btn--ghost { background: rgba(255, 255, 255, .05); border-color: rgba(190, 160, 255, .35); box-shadow: none; }

.vt .vt-player { max-width: 1040px; margin: 0 auto; padding: 10px; border-radius: 26px; border: 1px solid transparent; background: linear-gradient(#0b0820, #0b0820) padding-box, linear-gradient(140deg, rgba(190, 160, 255, .7), rgba(255, 255, 255, .07) 40%, rgba(232, 108, 240, .55)) border-box; box-shadow: 0 50px 110px -40px rgba(124, 92, 255, .65); }
.vt .vt-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #0b0820; }
.vt .vt-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; cursor: pointer; }
.vt .vt-screen video.on { opacity: 1; z-index: 1; }
.vt .vt-badge { position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: #fff; background: rgba(8, 6, 24, .72); border: 1px solid rgba(255, 255, 255, .18); }
.vt .vt-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 6px 6px; }
.vt .vt-seg, .vt .vt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vt .vt-chips[hidden] { display: none; }
.vt .vt-controls button { position: relative; overflow: hidden; min-height: 40px; padding: 9px 18px; border-radius: 999px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: #cfcaee; background: rgba(255, 255, 255, .05); border: 1px solid rgba(190, 160, 255, .22); transition: background .25s ease, color .25s ease; }
.vt .vt-seg button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #7c5cff, #c95ee8); }
.vt .vt-chips button.on { color: #fff; border-color: rgba(190, 160, 255, .65); }
.vt .vt-chips button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #8f6bff, #f08bff); }

/* ---------- sections ---------- */
.vt .vt-section { padding: 88px 0; }
.vt .vt-section--alt { background: radial-gradient(60% 60% at 50% 0%, rgba(124, 92, 255, .13), transparent 70%), #090620; }
.vt .vt-last { padding-top: 24px; padding-bottom: 100px; }
.vt .vt-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.vt .vt-head h2 { margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.22; color: #fff; text-align: center; }
.vt .vt-head p { margin: 0; font-size: 1.02rem; line-height: 1.75; color: #a9a6c4; text-align: center; }

/* ---------- gallery ---------- */
.vt .vt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vt .vt-shot { position: relative; margin: 0; overflow: hidden; border-radius: 20px; border: 1px solid rgba(190, 160, 255, .18); min-height: 220px; background: #0b0820; }
.vt .vt-shot--wide { grid-column: span 2; }
.vt .vt-shot img { display: block; width: 100%; height: 100%; min-height: 220px; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.vt .vt-shot--wide img { aspect-ratio: auto; position: absolute; inset: 0; }
.vt .vt-shot:hover img { transform: scale(1.05); }
.vt .vt-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 40px 18px 14px; background: linear-gradient(to top, rgba(5, 3, 15, .9), transparent); }
.vt .vt-shot b { font-size: .98rem; font-weight: 600; color: #fff; }
.vt .vt-shot span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cbbcff; text-align: right; }

/* ---------- compare ---------- */
.vt .vt-compare { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 1400 / 776; overflow: hidden; border-radius: 22px; border: 1px solid rgba(190, 160, 255, .3); box-shadow: 0 40px 90px -40px rgba(124, 92, 255, .7); user-select: none; }
.vt .vt-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vt .vt-compare .vt-compare-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vt .vt-tag { position: absolute; top: 14px; padding: 6px 13px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(8, 6, 24, .72); border: 1px solid rgba(255, 255, 255, .2); }
.vt .vt-tag--l { left: 14px; } .vt .vt-tag--r { right: 14px; }
.vt .vt-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px rgba(155, 92, 246, .9); pointer-events: none; }
.vt .vt-handle i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #1b1244; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.vt .vt-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.vt .vt-compare:focus-within { outline: 2px solid #c9a8ff; outline-offset: 4px; }

/* ---------- features, uses, faq, cta ---------- */
.vt .vt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vt .vt-feature { padding: 28px 24px; border-radius: 22px; border: 1px solid rgba(190, 160, 255, .16); background: linear-gradient(165deg, rgba(28, 20, 64, .85), rgba(10, 8, 28, .92)); transition: transform .3s ease, border-color .3s ease; }
.vt .vt-feature:hover { transform: translateY(-6px); border-color: rgba(190, 160, 255, .48); }
.vt .vt-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; font-size: 1.05rem; color: #fff; background: linear-gradient(135deg, #7c5cff, #e86cf0); box-shadow: 0 10px 24px -8px rgba(155, 92, 246, .9); }
.vt .vt-feature h3, .vt .vt-uses h3 { margin: 18px 0 8px; font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; text-align: left; }
.vt .vt-feature p, .vt .vt-uses p { margin: 0; font-size: .95rem; line-height: 1.7; color: #a9a6c4; text-align: left; }
.vt .vt-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vt .vt-uses article { padding: 26px 22px; border-radius: 20px; border-top: 2px solid rgba(160, 120, 255, .7); background: rgba(255, 255, 255, .035); }
.vt .vt-uses b { font-family: 'Poppins', sans-serif; font-size: 1.7rem; background: linear-gradient(135deg, #a98aff, #f08bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vt .vt-faq details { margin-bottom: 12px; border-radius: 16px; border: 1px solid rgba(190, 160, 255, .18); background: rgba(124, 92, 255, .06); }
.vt .vt-faq summary { position: relative; padding: 18px 52px 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1rem; color: #fff; }
.vt .vt-faq summary::-webkit-details-marker { display: none; }
.vt .vt-faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: #c9a8ff; }
.vt .vt-faq details[open] summary::after { content: '−'; }
.vt .vt-faq p { margin: 0; padding: 0 20px 20px; line-height: 1.75; color: #bcb8da; text-align: left; }
.vt .vt-more { margin: 24px 0 0; text-align: center; font-size: .95rem; color: #a9a6c4; }
.vt .vt-more a { color: #c9a8ff; text-decoration: underline; text-underline-offset: 3px; }
.vt .vt-cta { padding: 56px 28px; text-align: center; border-radius: 28px; border: 1px solid transparent; background: radial-gradient(60% 100% at 50% 0%, rgba(124, 92, 255, .35), transparent 70%) padding-box, linear-gradient(150deg, #1b1244, #0d0a24) padding-box, linear-gradient(135deg, rgba(155, 92, 246, .85), rgba(232, 108, 240, .6)) border-box; }
.vt .vt-cta h2 { margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; text-align: center; }
.vt .vt-cta p { max-width: 560px; margin: 0 auto 26px; line-height: 1.75; color: #bcb8da; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .vt .vt-features, .vt .vt-uses { grid-template-columns: repeat(2, 1fr); }
    .vt .vt-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .vt .vt-wrap { padding: 0 18px; }
    .vt .vt-hero { padding: 112px 0 48px; }
    .vt .vt-actions { margin-bottom: 32px; }
    .vt .vt-actions .vt-btn { width: 100%; }
    .vt .vt-section { padding: 60px 0; }
    .vt .vt-head { margin-bottom: 30px; }
    .vt .vt-player { padding: 6px; border-radius: 18px; }
    .vt .vt-screen { border-radius: 13px; }
    .vt .vt-badge { left: 8px; bottom: 8px; font-size: .66rem; padding: 5px 10px; }
    .vt .vt-controls { justify-content: center; }
    .vt .vt-seg, .vt .vt-chips { justify-content: center; width: 100%; }
    .vt .vt-gallery, .vt .vt-features, .vt .vt-uses { grid-template-columns: 1fr; }
    .vt .vt-shot--wide { grid-column: span 1; min-height: 0; }
    .vt .vt-shot--wide img { position: static; aspect-ratio: 16 / 9; }
    .vt .vt-shot, .vt .vt-shot img { min-height: 0; }
    .vt .vt-compare { aspect-ratio: 4 / 3; border-radius: 16px; }
    .vt .vt-tag { font-size: .6rem; top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .vt .vt-btn, .vt .vt-shot img, .vt .vt-feature, .vt .vt-screen video { transition: none; }
}

/* closing full-width still */
.vt .vt-shot--full { grid-column: 1 / -1; }
.vt .vt-shot--full img { aspect-ratio: 21 / 8; height: auto; }
@media (max-width: 640px) { .vt .vt-shot--full img { aspect-ratio: 16 / 9; } }
