/* ==========================================================================
   Working Together: fees, locations, room gallery + lightbox, soft quote
   ========================================================================== */

.wt-subhead {
    margin: var(--space-lg) 0 var(--space-xs);
    font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
    color: var(--color-primary);
}

.wt-btn {
    margin-top: var(--space-xs);
}

/* Price card */
.wt-price {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background:
        radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--color-secondary) 18%, transparent), transparent 70%),
        var(--color-surface);
    border: 1px solid color-mix(in srgb, var(--color-secondary) 55%, transparent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.wt-price__label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary-text);
}

.wt-price__value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.6rem + 1.8vw, 2.9rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-primary);
}

/* Concessionary groups */
.wt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 var(--space-md);
    padding: 0;
    list-style: none;
}

.wt-chips li {
    padding: 0.4rem 1rem;
    background: var(--color-bg-alt);
    border: 1px solid color-mix(in srgb, var(--color-secondary) 40%, transparent);
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    color: var(--color-primary);
}

/* Location cards */
.wt-locations {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin: 0 0 var(--space-lg);
    padding: 0;
    list-style: none;
}

@media (min-width: 700px) {
    .wt-locations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.wt-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface);
    border: 1px solid color-mix(in srgb, var(--color-secondary) 40%, transparent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.wt-location__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.wt-location__icon .icon {
    width: 22px;
    height: 22px;
}

.wt-location__name {
    margin: 0;
    font-size: 1.35rem;
    color: var(--color-primary);
}

.wt-location__address {
    flex: 1;
    margin: 0 0 var(--space-xs);
    font-style: normal;
    color: var(--color-text);
}

/* Room gallery */
.wt-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0 0 var(--space-md);
    padding: 0;
    list-style: none;
}

@media (min-width: 560px) {
    .wt-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.wt-gallery__item {
    display: block;
    width: 100%;
    padding: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-bg-alt);
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
}

.wt-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.wt-gallery__item:hover img {
    transform: scale(1.04);
}

/* Lightbox: native <dialog>, so focus is trapped and Esc closes it */
.lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(15 30 22 / 0.92);
    color: var(--color-bg);
}

.lightbox:not([open]) {
    display: none;
}

.lightbox::backdrop {
    background: rgb(15 30 22 / 0.92);
}

.lightbox__inner {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    height: 100%;
    padding: 56px 0.5rem 1rem;
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 0;
    max-height: 100%;
    margin: 0;
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100dvh - 140px);
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.lightbox__caption {
    max-width: 40rem;
    text-align: center;
    font-size: 0.9375rem;
    color: color-mix(in srgb, var(--color-bg) 88%, transparent);
}

.lightbox__btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: color-mix(in srgb, var(--color-bg) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-bg) 40%, transparent);
    border-radius: 50%;
    color: var(--color-bg);
    cursor: pointer;
}

.lightbox__btn:hover {
    background: color-mix(in srgb, var(--color-bg) 26%, transparent);
}

.lightbox__btn:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.lightbox__btn--close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

@media (max-width: 479.98px) {
    .lightbox__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .lightbox__btn--prev,
    .lightbox__btn--next {
        position: absolute;
        bottom: 0.75rem;
        z-index: 1;
    }

    .lightbox__btn--prev { left: 0.75rem; }
    .lightbox__btn--next { right: 0.75rem; }
    .lightbox__img { max-height: calc(100dvh - 190px); }
}

/* Soft closing quote band */
.wt-softquote {
    margin: var(--space-lg) 0 0;
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border-left: 3px solid var(--color-secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.wt-softquote p {
    margin: 0;
    max-width: none;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
    line-height: 1.4;
    color: var(--color-primary);
}

.wt-chips + p {
    margin-top: var(--space-md);
}
