/* Services-only: click-to-load tour posters, FAQ accordion, FAQ border art */

/* Service media: 16:9 poster that swaps to the live tour on click (js/tour-embed.js) */
.vm-svc-media {
    aspect-ratio: 16 / 9;
}

.vm-tour {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--green-deep);
    cursor: pointer;
}

.vm-tour__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.vm-tour:hover .vm-tour__poster {
    transform: scale(1.03);
}

.vm-tour__badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 9px 16px;
    border-radius: 100px;
    background-color: rgba(31, 27, 22, .72);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
}

.vm-tour:focus-visible {
    outline: 3px solid var(--orange-text);
    outline-offset: 3px;
}

.vm-tour__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FAQ section: Bantayan border art on the right edge and bottom-left */
.vm-faq-sec {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-bottom: clamp(150px, 31vw, 445px);
}

.vm-faq-sec > .vm-container {
    position: relative;
    z-index: 1;
}

.vm-faq-sec__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.vm-faq-sec__art {
    position: absolute;
    bottom: 0;
    height: auto;
    display: block;
}

.vm-faq-sec__art--r { right: 0; width: clamp(110px, 31.5vw, 454px); }
.vm-faq-sec__art--l { left: 0; width: clamp(170px, 36vw, 516px); }

/* Closed questions in orange (AA on cream), open one in ink */
.vm-faq__q,
.vm-faq__ico {
    color: var(--orange-text);
}

.vm-faq__item.is-open .vm-faq__q {
    color: var(--ink);
}


.vm-faq__q {
    transition: color .3s;
    font-size: clamp(22px, 2.6vw, 30px);
}
.vm-faq__q:hover { color: var(--ink); }

.vm-faq__a-in {
    font-size: 18px;
    line-height: 1.7;
    opacity: .95;
    max-width: 68ch;
}

.vm-faq__ico { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }

.vm-faq__ico::before,
.vm-faq__ico::after {
    content: "";
    position: absolute;
    background-color: currentColor;
    border-radius: 2px;
}

.vm-faq__ico::before {
    top: 50%;
    left: 3px;
    right: 3px;
    height: 2px;
    transform: translateY(-50%);
}

.vm-faq__ico::after {
    left: 50%;
    top: 3px;
    bottom: 3px;
    width: 2px;
    transform: translateX(-50%);
    transition: opacity .3s;
}

.vm-faq__item.is-open .vm-faq__ico { transform: rotate(180deg); }
.vm-faq__item.is-open .vm-faq__ico::after { opacity: 0; }

.vm-faq__a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 767px) {
    /* keep the badge clear of the centred client logos */
    .vm-tour__badge {
        top: 10px;
        right: 10px;
        left: auto;
        bottom: auto;
        padding: 6px 12px;
        font-size: 13px;
    }
}
