/* =====================================================
   OUR FACILITIES — PHOTO GALLERY
   ====================================================== */

.facilities {
    padding: var(--section-pad) 24px;
    background: #ffffff;
}

.fac-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---- Header ---- */
.fac-header {
    text-align: center;
    margin-bottom: var(--header-gap);
}

.fac-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(254, 111, 1, .09);
    border: 1px solid rgba(254, 111, 1, .2);
    color: var(--orange-dark, #cb5901);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fac-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.3px;
    color: var(--black, #171714);
}

.fac-subtitle {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--gray, #706b61);
    font-size: 16px;
    line-height: 1.65;
}

/* ---- Gallery ---- */
.fac-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fac-shot {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #ece6da;
    transition: transform 400ms cubic-bezier(.2, .8, .2, 1),
                box-shadow 400ms cubic-bezier(.2, .8, .2, 1),
                border-color 400ms ease;
}

.fac-shot:hover {
    transform: translateY(-6px);
    border-color: rgba(254, 111, 1, .42);
    box-shadow: 0 28px 56px rgba(23, 23, 20, .14);
}

.fac-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.fac-shot:hover img {
    transform: scale(1.07);
}

.fac-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 15, .82) 4%, rgba(18, 18, 15, .3) 42%, rgba(18, 18, 15, 0) 72%);
}

.fac-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
}

.fac-caption strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.4px;
    color: #ffffff;
}

.fac-caption span {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.45;
}

.fac-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 13px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--black, #171714);
    transition: background 320ms ease, color 320ms ease;
}

.fac-shot:hover .fac-tag {
    background: var(--orange, #fe6f01);
    color: #ffffff;
}

/* ---- Note ---- */
.fac-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
    color: var(--gray, #706b61);
    font-size: 14px;
}

.fac-note a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--orange-dark, #cb5901);
    transition: gap 260ms ease;
}

.fac-note a svg,
.fac-note a i {
    width: 15px;
    height: 15px;
}

.fac-note a:hover {
    gap: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
    .fac-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .facilities {
        padding: var(--section-pad) 20px;
    }
    .fac-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fac-shot {
        aspect-ratio: 16 / 11;
    }
}
