/* ==========================================================================
   Amenities & facilities page (also lends its section heads, hero and
   closing band to /gallery).

   Everything is centred on the page axis: on a wide screen the old
   left-aligned columns, each capped well short of the container, left the
   right half of the page empty.
   ========================================================================== */

.facilities-page {
    padding-top: calc(var(--bb-logo-h-compact) + (var(--bb-header-pad) * 2) + 1px);
    background-color: var(--bb-black);
}

/* --- Section head: eyebrow, serif title, gold rule ----------------------- */

.fx-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fx-head__eyebrow {
    color: var(--bb-gold-500);
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.9375rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.fx-head__eyebrow-lead {
    color: var(--bb-red-300);
}

/* The brand red is too dark to read over a photo; lift it on the bands. */
.fx-hero .fx-head__eyebrow-lead,
.fx-cta .fx-head__eyebrow-lead {
    color: #d4565f;
}

.fx-head__title {
    margin-top: 0.6rem;
    color: var(--bb-text);
    font-family: var(--bb-font-serif);
    font-size: clamp(1.75rem, 1.2rem + 1.9vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
}

.fx-head__rule {
    width: min(100%, 18rem);
    margin-top: clamp(1rem, 1.6vw, 1.5rem);
}

/* Both halves fade outward, so the rule reads as centred. */
.fx-head__rule::before {
    background: linear-gradient(90deg, transparent, var(--bb-gold-400));
}

.fx-head__rule::after {
    background: linear-gradient(90deg, var(--bb-gold-400), transparent);
}

.fx-section {
    padding-top: clamp(4rem, 8vw, 7.5rem);
}

.fx-section__action {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 3vw, 2.75rem);
}

/* --- Hero: a photo band with the title over it --------------------------- */

.fx-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(26rem, 58vh, 40rem);
    overflow: hidden;
    border-bottom: 2px solid var(--bb-gold-600);
    isolation: isolate;
}

.fx-hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.fx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 90% at 50% 50%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.82)),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75));
}

.fx-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: clamp(3.5rem, 8vh, 6rem);
    text-align: center;
}

.fx-hero__title {
    margin-top: 0.75rem;
    color: var(--bb-text);
    font-family: var(--bb-font-display);
    font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.fx-hero__lead {
    max-width: 44rem;
    margin-top: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--bb-text-warm);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
    line-height: 1.75;
}

/* --- Promise ------------------------------------------------------------- */

.fx-promise__body {
    max-width: 50rem;
    margin: clamp(1.5rem, 2.5vw, 2.25rem) auto 0;
    color: var(--bb-text-warm);
    font-family: var(--bb-font-serif);
    font-size: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
    font-style: italic;
    line-height: 1.65;
    text-align: center;
}

/* --- In your room: copy on one side, the checklist on the other ---------- */

.fx-room {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 72rem;
    margin: clamp(2.25rem, 4vw, 3.5rem) auto 0;
}

.fx-room__intro {
    color: var(--bb-text);
    font-family: var(--bb-font-serif);
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);
    line-height: 1.4;
}

.fx-room__outro {
    margin-top: 1.25rem;
    color: var(--bb-text-dim);
    font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
    line-height: 1.75;
}

.fx-room__copy .btn {
    margin-top: 2rem;
}

.fx-room__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
    padding: clamp(1.25rem, 2.5vw, 2.25rem) clamp(1.25rem, 2.8vw, 2.5rem);
    border: 1px solid var(--bb-hairline);
    border-radius: var(--bb-radius);
    background-color: var(--bb-surface);
}

.fx-room__item {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--bb-rule-faint);
    color: var(--bb-text-muted);
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
    line-height: 1.45;
}

.fx-room__mark {
    flex: none;
    color: var(--bb-gold-500);
    font-size: 0.6875rem;
}

/* --- Around the resort: four photo cards, then the services -------------- */

.fx-places {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 1.6vw, 1.75rem);
    margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.fx-place {
    /* Clears the fixed header when jumped to from the footer's amenity links. */
    scroll-margin-top: calc(var(--bb-logo-h-compact) + (var(--bb-header-pad) * 2) + 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bb-hairline-soft);
    border-radius: var(--bb-radius);
    background-color: var(--bb-surface-raised);
    transition: border-color var(--bb-dur) var(--bb-ease);
}

.fx-place:hover {
    border-color: var(--bb-hairline);
}

.fx-place__photo {
    aspect-ratio: 4 / 3;
    border: 0;
    border-bottom: 1px solid var(--bb-hairline);
    border-radius: 0;
}

.fx-place__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.5rem, 2vw, 2rem) clamp(1.25rem, 1.8vw, 1.75rem) clamp(1.75rem, 2.2vw, 2.25rem);
    text-align: center;
}

.fx-place__icon,
.fx-service__icon {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--bb-gold-400);
}

.fx-place__icon svg,
.fx-service__icon svg {
    width: 100%;
    height: 100%;
}

.fx-place__name {
    margin-top: 1rem;
    color: var(--bb-text-warm);
    font-family: var(--bb-font-display);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.fx-place__hours {
    margin-top: 0.5rem;
    color: var(--bb-gold-300);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.fx-place__text {
    margin-top: 1rem;
    color: var(--bb-text-dim);
    font-size: clamp(0.875rem, 0.85rem + 0.15vw, 0.9688rem);
    line-height: 1.7;
}

.fx-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 1.6vw, 1.75rem);
    max-width: 68rem;
    margin: clamp(1.5rem, 2.5vw, 2.25rem) auto 0;
}

.fx-service {
    display: flex;
    gap: clamp(1rem, 1.6vw, 1.5rem);
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border-block: 1px solid var(--bb-hairline-soft);
}

/* An odd last card sits centred under the pair above it. */
.fx-service:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - clamp(1rem, 1.6vw, 1.75rem) / 2);
}

/* Without this the icon is the flex item that gives way to long copy. */
.fx-service .fx-service__icon {
    flex: none;
}

.fx-service .fx-place__name {
    margin-top: 0;
}

.fx-service .fx-place__text {
    margin-top: 0.65rem;
}

/* --- Photo gallery tiles: centred under their head ----------------------- */

.fx-section .album-grid {
    margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

/* --- Bill of rights ------------------------------------------------------ */

.fx-pledge {
    text-align: center;
}

.fx-pledge__body {
    max-width: 44rem;
    margin: clamp(1.5rem, 2.5vw, 2rem) auto 0;
    color: var(--bb-text-dim);
    font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
    line-height: 1.75;
}

.fx-pledge__line {
    margin-top: 1.25rem;
    color: var(--bb-gold-200);
    font-family: var(--bb-font-display);
    font-size: clamp(1.125rem, 1rem + 0.6vw, 1.625rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- Quote --------------------------------------------------------------- */

.fx-quote {
    padding-block: clamp(4rem, 8vw, 7rem);
    text-align: center;
}

.fx-quote__text {
    max-width: 44rem;
    margin-inline: auto;
    color: var(--bb-gold-100);
    font-family: var(--bb-font-serif);
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem);
    font-style: italic;
    line-height: 1.35;
}

.fx-quote__source {
    margin-top: 1.25rem;
    color: var(--bb-gold-500);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

/* --- Closing band: full-bleed photo, gold-ruled like the home strip ------ */

.fx-cta {
    position: relative;
    overflow: hidden;
    border-block: 2px solid var(--bb-gold-600);
    isolation: isolate;
}

.fx-cta__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.fx-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 100% at 50% 50%, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.88));
}

.fx-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: clamp(4rem, 9vw, 7.5rem);
    text-align: center;
}

.fx-cta__title {
    margin-top: 0.75rem;
    color: var(--bb-text);
    font-family: var(--bb-font-display);
    font-size: clamp(1.625rem, 1.1rem + 2.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.fx-cta__body {
    max-width: 34rem;
    margin: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(1.75rem, 2.6vw, 2.25rem);
    color: var(--bb-text-warm);
    font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.125rem);
    line-height: 1.7;
}

/* --- Narrower screens ---------------------------------------------------- */

@media (max-width: 1279px) {
    .fx-places {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .fx-room__copy {
        text-align: center;
    }

    .fx-services {
        grid-template-columns: minmax(0, 1fr);
    }

    .fx-service:last-child:nth-child(odd) {
        width: auto;
        justify-self: stretch;
    }
}

@media (max-width: 639px) {
    .fx-places,
    .fx-room__list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   /special-activities — the amenities layout plus a lead line under each
   head, a three-across photo grid (six cards, two even rows) and a text
   link inside a card.
   ========================================================================== */

.fx-section__lead {
    max-width: 44rem;
    margin: clamp(1.25rem, 2vw, 1.75rem) auto 0;
    color: var(--bb-text-dim);
    font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
    line-height: 1.75;
    text-align: center;
}

.fx-places--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 72rem;
    margin-inline: auto;
}

.fx-place__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--bb-gold-400);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--bb-dur) var(--bb-ease);
}

.fx-place__link:hover {
    color: var(--bb-text);
}

.fx-place__link .btn__icon {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 1023px) {
    .fx-places--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .fx-places--3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* /amenities ends on its quote; this page ends on a card row, so it needs
   the breathing room before the closing band itself. */
.activities-page > .container {
    padding-bottom: clamp(4rem, 8vw, 7.5rem);
}
