.facility-mosaic { width: 87.5%; max-width: 1440px; margin: 0 auto 68px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(5,140px); gap: 22px; }
.facility-card { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 24px; background: #263b35; padding: 0; text-align: left; color: white; box-shadow: 0 5px 16px #0000000b; }
.facility-card:nth-child(1) { grid-area: 1 / 1 / span 3; }
.facility-card:nth-child(2) { grid-area: 1 / 2 / span 2; }
.facility-card:nth-child(3) { grid-area: 1 / 3 / span 3; }
.facility-card:nth-child(4) { grid-area: 4 / 1 / span 2; }
.facility-card:nth-child(5) { grid-area: 3 / 2 / span 3; }
.facility-card:nth-child(6) { grid-area: 4 / 3 / span 2; }
.facility-card>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .55s ease; }
.facility-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#0b201cb0 0%,#0b201c45 32%,transparent 62%,#0b201c50 100%); }
.facility-card:hover>img, .facility-card:focus-visible>img { transform: scale(1.045); }
.facility-card-copy { position: absolute; top: 28px; left: 26px; right: 45px; }
.facility-card-copy>span { display: block; font: 500 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.facility-card-copy>strong { display: block; font: 650 clamp(21px,2.2vw,32px)/1.15 var(--heading); letter-spacing: -.035em; }
.facility-card-arrow { position: absolute; right: 22px; top: 65px; font: 400 29px/1 var(--body); }
.facility-photo-label { position: absolute; left: 25px; bottom: 22px; border: 1px solid #ffffff70; background: #20312840; backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 30px; font-size: 12px; }
.resort-experience-heading { width: 87.5%; max-width: 1440px; margin: 0 auto 28px; font: 500 26px/1.3 var(--body); letter-spacing: -.02em; }
#facility-gallery { width: min(1080px,calc(100vw - 64px)); height: min(840px,calc(100dvh - 72px)); padding: 0; border: 0; border-radius: 22px; max-width: none; max-height: none; margin: auto; overflow: hidden; background: #f6f3ed; color: #22281f; }
#facility-gallery[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
#facility-gallery::backdrop { background: #122019b3; backdrop-filter: blur(5px); }
.facility-gallery-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; }
.facility-gallery-header p { font: 400 11px/1.4 var(--body); letter-spacing: .15em; text-transform: uppercase; color: #727765; margin-bottom: 7px; }
#facility-gallery-title { font: 600 22px/1.25 var(--heading); letter-spacing: -.03em; }
#facility-gallery-close { width: 40px; height: 40px; background: #fff; border: 1px solid #d9dacf; border-radius: 50%; font-size: 25px; line-height: 1; flex-shrink: 0; }
.facility-gallery-stage { min-height: 0; position: relative; background: #1b211c; overflow: hidden; }
#facility-gallery-photo { width: 100%; height: 100%; object-fit: contain; }
.facility-gallery-stage>button { position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid #ffffff6b; border-radius: 50%; width: 42px; height: 42px; background: #17201980; color: #fff; font: 300 32px/1 var(--body); }
#facility-gallery-prev { left: 14px; }
#facility-gallery-next { right: 14px; }
#facility-gallery-count { position: absolute; bottom: 14px; right: 20px; color: #fff; font-size: 13px; background: #0006; padding: 5px 10px; border-radius: 20px; }
.facility-gallery-footer { padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
#facility-thumbnails { display: flex; gap: 9px; }
#facility-thumbnails button { border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; width: 66px; height: 49px; background: transparent; opacity: .65; }
#facility-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
#facility-thumbnails button[aria-pressed=true] { opacity: 1; border-color: #68764e; }
.facility-gallery-footer p { font: 400 12px/1.5 var(--body); color: #6e7366; }
@media (max-width: 1050px) {
  .facility-mosaic { gap: 16px; grid-template-rows: repeat(5,120px); }
  .facility-card-copy { left: 20px; top: 22px; }
  .facility-card-copy>strong { font-size: 23px; }
  .facility-card-copy>span { font-size: 11px; }
}
@media (max-width: 760px) {
  .facility-mosaic { width: 92%; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(6,100px); gap: 12px; margin-bottom: 38px; }
  .facility-card { border-radius: 18px; }
  .facility-card:nth-child(1) { grid-area: 1 / 1 / span 3; }
  .facility-card:nth-child(2) { grid-area: 1 / 2 / span 2; }
  .facility-card:nth-child(3) { grid-area: 4 / 1 / span 3; }
  .facility-card:nth-child(4) { grid-area: 3 / 2 / span 2; }
  .facility-card:nth-child(5) { grid-area: 5 / 2 / span 2; }
  .facility-card:nth-child(6) { grid-area: 7 / 1 / span 2 / span 2; min-height: 220px; }
  .facility-card-copy { left: 15px; right: 15px; top: 18px; }
  .facility-card-copy>span { font-size: 9px; letter-spacing: .08em; margin-bottom: 9px; }
  .facility-card-copy>strong { font-size: clamp(18px,4.5vw,28px); line-height: 1.18; }
  .facility-card-arrow { top: auto; bottom: 19px; right: 13px; font-size: 22px; }
  .facility-photo-label { left: 13px; bottom: 16px; padding: 5px 8px; font-size: 10px; }
  .resort-experience-heading { width: 92%; font-size: 24px; margin-bottom: 23px; }
  #facility-gallery { width: calc(100vw - 24px); height: calc(100dvh - 56px); border-radius: 18px; }
  .facility-gallery-header { padding: 15px; gap: 12px; }
  #facility-gallery-title { font-size: 18px; }
  .facility-gallery-header p { font-size: 10px; }
  .facility-gallery-footer { flex-direction: column; gap: 10px; padding: 12px; }
  .facility-gallery-footer p { font-size: 11px; text-align: center; }
  .facility-gallery-stage>button { width: 34px; height: 34px; }
  #facility-gallery-prev { left: 8px; }
  #facility-gallery-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .facility-card>img { transition: none; } }
