.rooms-header { position: absolute; }
.rooms-header .main-nav a[aria-current="page"] { color: var(--gold-light); opacity: 1; }

.rooms-hero { min-height: 720px; position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.rooms-hero-media { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1618773928121-c32242e63f39?auto=format&fit=crop&w=1900&q=88') center 58%/cover; animation: roomsHeroReveal 1.2s cubic-bezier(.2,.75,.25,1) both; }
.rooms-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(6,17,25,.88) 0%,rgba(6,17,25,.55) 48%,rgba(6,17,25,.2) 100%),linear-gradient(0deg,rgba(6,17,25,.42),transparent 55%); }
.rooms-hero-content { position: relative; z-index: 2; padding-top: 80px; }
.rooms-back { display: inline-flex; margin-bottom: 42px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rooms-back:hover { color: var(--gold-light); }
.rooms-hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(58px,7.5vw,104px); font-weight: 500; line-height: .96; letter-spacing: -.035em; }
.rooms-hero h1 em { color: var(--gold-light); font-weight: 500; }
.rooms-hero-content > p { max-width: 590px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: 16px; }
.rooms-scroll { position: absolute; z-index: 2; right: max(24px,calc((100vw - 1180px)/2)); bottom: 48px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rooms-scroll span { width: 44px; height: 1px; background: var(--gold); }

.room-browser { background: var(--cream); }
.room-browser-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin-bottom: 56px; }
.room-browser-head h2 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(42px,5vw,66px); font-weight: 500; line-height: 1.06; }
.room-filters { display: flex; padding: 5px; border: 1px solid var(--line); background: rgba(255,255,255,.62); }
.room-filters button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s ease,color .2s ease; }
.room-filters button:hover { color: var(--ink); }
.room-filters button.is-active { background: var(--navy); color: #fff; }
.room-filters button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.room-list { display: grid; gap: 34px; }
.room-detail { min-height: 560px; display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; box-shadow: 0 20px 60px rgba(20,33,42,.07); transition: opacity .3s ease,transform .3s ease; }
.room-detail[hidden] { display: none; }
.room-detail-reverse .room-detail-media { order: 2; }
.room-detail-media { min-height: 560px; position: relative; overflow: hidden; background: #ddd; }
.room-detail-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,16,24,.22),transparent 45%); pointer-events: none; }
.room-detail-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.room-detail:hover .room-detail-media img { transform: scale(1.055); }
.room-badge { position: absolute; z-index: 2; top: 24px; left: 24px; padding: 8px 12px; background: var(--gold); color: var(--navy); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.room-number { position: absolute; z-index: 2; right: 26px; bottom: 18px; color: rgba(255,255,255,.84); font-family: var(--serif); font-size: 48px; }
.room-detail-copy { padding: clamp(38px,5vw,70px); display: flex; flex-direction: column; justify-content: center; }
.room-type { color: #987944; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.room-detail-copy h2 { margin: 10px 0 22px; font-family: var(--serif); font-size: clamp(36px,4vw,52px); font-weight: 500; line-height: 1.05; }
.room-detail-copy > p { margin: 0; color: var(--muted); font-size: 14px; }
.room-features { margin: 28px 0 34px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; list-style: none; }
.room-features li { position: relative; padding-left: 16px; color: #46545e; font-size: 11px; }
.room-features li::before { content: ''; width: 5px; height: 5px; position: absolute; left: 0; top: .65em; border-radius: 50%; background: var(--gold); }
.room-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.room-price small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.room-price strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.15; }
.room-empty { padding: 50px; text-align: center; color: var(--muted); background: #fff; }

.room-included { padding: 110px 0; background: var(--navy); color: #fff; }
.room-included-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.room-included-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px,5vw,64px); font-weight: 500; }
.included-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.15); }
.included-grid > div { padding: 32px 26px 10px; border-right: 1px solid rgba(255,255,255,.15); }
.included-grid > div:first-child { padding-left: 0; }
.included-grid > div:last-child { border-right: 0; }
.included-grid span { display: block; margin-bottom: 36px; color: var(--gold); font-size: 10px; }
.included-grid strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.included-grid p { margin: 8px 0 0; color: rgba(255,255,255,.5); font-size: 12px; }

.rooms-cta { padding: 120px 0; text-align: center; background: var(--paper); }
.rooms-cta .container { display: flex; flex-direction: column; align-items: center; }
.rooms-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(52px,6vw,82px); font-weight: 500; line-height: 1; }
.rooms-cta p { max-width: 560px; margin: 26px 0 32px; color: var(--muted); }

@keyframes roomsHeroReveal { from { transform: scale(1.08); opacity: .55; } to { transform: scale(1); opacity: 1; } }

@media(max-width: 960px) {
  .room-browser-head { grid-template-columns: 1fr; align-items: start; }
  .room-detail { grid-template-columns: 1fr; }
  .room-detail-reverse .room-detail-media { order: 0; }
  .room-detail-media { min-height: 440px; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .included-grid > div { padding: 28px; border-bottom: 1px solid rgba(255,255,255,.15); }
}

@media(max-width: 560px) {
  .rooms-hero { min-height: 650px; }
  .rooms-hero h1 { font-size: 53px; }
  .rooms-back { margin-bottom: 30px; }
  .rooms-scroll { left: 15px; right: auto; bottom: 28px; }
  .room-filters { width: 100%; overflow-x: auto; }
  .room-filters button { flex: 1 0 auto; }
  .room-detail-media { min-height: 330px; }
  .room-detail-copy { padding: 34px 24px; }
  .room-detail-copy h2 { font-size: 38px; }
  .room-detail-footer { align-items: stretch; flex-direction: column; }
  .room-detail-footer .btn { width: 100%; }
  .included-grid { grid-template-columns: 1fr; }
  .included-grid > div { padding: 26px 0; border-right: 0; }
  .included-grid span { margin-bottom: 18px; }
}

@media(prefers-reduced-motion:reduce) {
  .rooms-hero-media,.room-detail-media img { animation: none; transition: none; }
  .room-detail:hover .room-detail-media img { transform: none; }
}
