.scfg-facilities {
    --scfg-gold: #C8A96E;
    --scfg-gold-light: #D4B97E;
    --scfg-text-dark: #222222;
    --scfg-text-body: #333333;
    --scfg-text-muted: #777777;
    --scfg-shadow-arrow: 0 4px 16px rgba(0, 0, 0, 0.14);
    --scfg-shadow-thumb-active: 0 4px 20px rgba(200, 169, 110, 0.35);
    --scfg-ease: cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
}

.scfg-facilities *,
.scfg-facilities *::before,
.scfg-facilities *::after {
    box-sizing: border-box;
}

.scfg-facilities__container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 30px;
    overflow: hidden;
}

.scfg-admin-notice {
    padding: 16px 20px;
    background: #fff8e5;
    border: 1px solid #e0c869;
    border-radius: 8px;
    color: #6b5200;
    font-size: 14px;
}

.scfg-content {
    will-change: opacity, transform;
    transition: opacity 360ms var(--scfg-ease), transform 360ms var(--scfg-ease);
}

/* ---------------------------------------------------------------------
   HERO SLIDER
--------------------------------------------------------------------- */
.scfg-hero-wrap {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.scfg-hero-swiper {
    overflow: hidden;
    max-width: 70% !important;
    margin: 0 auto !important;
}

.scfg-hero-swiper .swiper-slide {
    width: 100% !important;
    height: 800px;
    border-radius: 30px;
    overflow: hidden;
    cursor: grab;
    position: relative;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.scfg-hero-swiper .swiper-slide:active {
    cursor: grabbing;
}

.scfg-hero-swiper .swiper-slide img,
.scfg-hero-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.scfg-hero-swiper .swiper-slide img {
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    pointer-events: none;
    user-select: none;
    border: 2px solid #D19A41;
    box-shadow: 0 0 29.15px 0 #9A6E2557;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.scfg-hero-swiper .swiper-slide {
    transform: scale(1);
    transition: transform 360ms var(--scfg-ease);
}

.scfg-hero-swiper .swiper-slide-active {
    transform: scale(1);
}

/* ---------------------------------------------------------------------
   ARROWS
--------------------------------------------------------------------- */
.scfg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 220ms var(--scfg-ease), box-shadow 220ms var(--scfg-ease), background 220ms var(--scfg-ease);
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
}

.scfg-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.scfg-arrow:focus-visible {
    outline: 3px solid var(--scfg-gold);
}

.scfg-arrow--prev {
    left: 80px;
}

.scfg-arrow--next {
    right: 80px;
}

.scfg-arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   THUMBNAIL SLIDER
--------------------------------------------------------------------- */
.swiper-free-mode > .swiper-wrapper {
    padding-bottom: 20px;
}

.scfg-thumb-swiper {
    margin-bottom: 0;
    padding: 4px 2px 10px;
}

.scfg-thumb-swiper .swiper-slide {
    border-radius: 70px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transform: scale(1) translateZ(0);
    -webkit-transform: scale(1) translateZ(0);
    transition: opacity 220ms var(--scfg-ease), transform 220ms var(--scfg-ease), box-shadow 220ms var(--scfg-ease), border-color 220ms var(--scfg-ease);
    background: #FFFFFF80;
    box-shadow: 0 0 29.15px 0 #9A6E2557;
    padding: 15px 20px;
    aspect-ratio: 16 / 11;
    border: 2px solid #D19A41;
}

.scfg-thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
    border-radius: 54px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.scfg-thumb-swiper .swiper-slide-thumb-active,
.scfg-thumb-swiper .swiper-slide:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--scfg-shadow-thumb-active);
    border-color: var(--scfg-gold);
}

/* ---------------------------------------------------------------------
   FIGURE / CAPTION / DESCRIPTION
--------------------------------------------------------------------- */
.scfg-figure {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}

.scfg-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    pointer-events: none;
}

.scfg-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.85;
    color: var(--scfg-text-body);
    padding: 0 16px;
}

/* =====================================================================
   SKELETON
===================================================================== */
@keyframes ant-skeleton-loading {
    0% {
        background-position: 25% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.scfg-is-loading .scfg-skeleton-element {
    background: linear-gradient(90deg, #f5f5f5 25%, #eaeaea 37%, #f5f5f5 63%);
    background-size: 400% 100%;
    animation: ant-skeleton-loading 1.4s ease infinite;
}

.scfg-is-loading .scfg-hero-swiper {
    pointer-events: none;
}

.scfg-is-loading .scfg-hero-swiper .swiper-slide:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(90deg, #f5f5f5 25%, #eaeaea 37%, #f5f5f5 63%);
    background-size: 400% 100%;
    animation: ant-skeleton-loading 1.4s ease infinite;
}

.scfg-is-loading .scfg-hero-swiper .swiper-slide:not(:first-child) {
    display: none !important;
}

.scfg-is-loading .scfg-thumb-swiper {
    display: flex !important;
    gap: 20px;
    overflow: hidden;
    padding: 4px 2px 50px;
}

.scfg-is-loading .scfg-thumb-swiper .swiper-slide {
    display: block !important;
    flex: 0 0 calc(25% - 15px);
    aspect-ratio: 16 / 11;
    border-radius: 70px;
    padding: 15px 20px;
    border: 2px solid #D19A41;
    box-shadow: none;
    position: relative;
}

.scfg-is-loading .scfg-thumb-swiper .swiper-slide-thumb-active,
.scfg-is-loading .scfg-thumb-swiper .swiper-slide:hover {
    transform: none;
}

.scfg-is-loading .scfg-thumb-swiper .swiper-slide::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 54px;
    background: linear-gradient(90deg, #f5f5f5 25%, #eaeaea 37%, #f5f5f5 63%);
    background-size: 400% 100%;
    animation: ant-skeleton-loading 1.4s ease infinite;
}

/* ---------------------------------------------------------------------
   RESPONSIVE — TABLET
--------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .scfg-facilities__container {
        padding: 0 20px;
    }

    .scfg-hero-swiper {
        max-width: 100% !important;
    }

    .scfg-hero-swiper .swiper-slide {
        height: 450px !important;
    }

    .swiper-free-mode > .swiper-wrapper {
        padding-bottom: 10px;
    }

    .scfg-arrow {
        width: 25px;
    }

    .scfg-arrow--prev {
        left: 15px;
    }

    .scfg-arrow--next {
        right: 15px;
    }

    .scfg-is-loading .scfg-hero-swiper .swiper-slide:first-child {
        height: 450px !important;
    }

    .scfg-is-loading .scfg-thumb-swiper .swiper-slide {
        flex: 0 0 calc(40% - 12px);
    }
}

/* ---------------------------------------------------------------------
   RESPONSIVE — MOBILE
--------------------------------------------------------------------- */
@media (max-width: 768px) {
    .scfg-facilities__container {
        padding: 0 15px !important;
    }

    .scfg-hero-wrap {
        margin-bottom: 20px;
    }

    .scfg-hero-swiper {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .scfg-hero-swiper .swiper-slide {
        width: 100% !important;
        height: 250px !important;
        border-radius: 20px;
    }

    .scfg-hero-swiper .swiper-slide img {
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 20px;
    }

    .scfg-arrow {
        width: 32px !important;
        height: 32px !important;
        mix-blend-mode: normal !important;
        z-index: 10;
    }

    .scfg-arrow--prev {
        left: 10px !important;
    }

    .scfg-arrow--next {
        right: 10px !important;
    }

    .scfg-thumb-swiper {
        overflow: visible !important;
    }

    .scfg-thumb-swiper .swiper-wrapper {
        display: flex;
    }

    .scfg-thumb-swiper .swiper-slide {
        width: 140px !important;
        height: 95px !important;
        flex-shrink: 0 !important;
        padding: 6px !important;
        border-radius: 20px !important;
        aspect-ratio: unset !important;
    }

    .scfg-thumb-swiper .swiper-slide img {
        border-radius: 14px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .scfg-is-loading .scfg-hero-swiper .swiper-slide:first-child {
        height: 250px !important;
    }

    .scfg-is-loading .scfg-thumb-swiper .swiper-slide {
        border-radius: 20px !important;
        padding: 6px !important;
        flex: 0 0 140px !important;
        height: 95px !important;
    }

    .scfg-is-loading .scfg-thumb-swiper .swiper-slide::after {
        border-radius: 14px !important;
    }
}

@media (max-width: 480px) {
    .scfg-hero-swiper .swiper-slide {
        height: 220px !important;
    }

    .scfg-thumb-swiper .swiper-slide {
        width: 125px !important;
        height: 85px !important;
    }

    .scfg-is-loading .scfg-hero-swiper .swiper-slide:first-child {
        height: 220px !important;
    }

    .scfg-is-loading .scfg-thumb-swiper .swiper-slide {
        flex: 0 0 125px !important;
        height: 85px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scfg-facilities,
    .scfg-facilities * {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}