/* ==========================================================
   Inner pages (Rooms, Facilities): built on home.css tokens
   ========================================================== */

/* ---------- Page banner ---------- */
.pg-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow: clip;
	padding: 120px 0 110px;
	color: #f7f1e3;
	background: var(--hp-dark);
}
.pg-hero-bg {
	position: absolute;
	inset: -30px;
	z-index: -2;
	background-size: cover;
	background-position: center;
	filter: blur(3px) brightness(0.55) saturate(1.1);
	animation: pg-zoom 18s ease-out forwards;
}
.pg-hero-bg.is-sharp { filter: brightness(0.62) saturate(1.05); inset: 0; }
@keyframes pg-zoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.pg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(800px 500px at 80% 30%, rgba(212, 175, 55, 0.18), transparent 60%),
		linear-gradient(90deg, rgba(13, 10, 6, 0.92) 0%, rgba(13, 10, 6, 0.6) 60%, rgba(13, 10, 6, 0.35) 100%);
}
.pg-crumbs { display: flex; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #c9bc9d; }
.pg-crumbs a { color: #c9bc9d; text-decoration: none; }
.pg-crumbs a:hover { color: var(--hp-gold); }
.pg-crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.pg-hero .hp-eyebrow { color: var(--hp-gold); }
.pg-hero .hp-title { color: #f7f1e3; font-size: clamp(42px, 6.4vw, 84px); max-width: 820px; }
.pg-hero .hp-title em { color: var(--hp-gold); }
.pg-hero .hp-text { color: #d6cab0; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.pg-chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(247, 241, 227, 0.08);
	border: 1px solid rgba(240, 212, 122, 0.25);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 14.5px;
}
.pg-chips svg { width: 17px; height: 17px; color: var(--hp-gold); }

/* ---------- Room cards ---------- */
.pg-filter {
	display: inline-flex;
	padding: 6px;
	gap: 4px;
	border-radius: 999px;
	background: var(--hp-cream);
	border: 1px solid var(--hp-line);
}
.pg-filter button {
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--hp-muted);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}
.pg-filter button:hover { color: var(--hp-ink); }
.pg-filter button.active { background: var(--hp-ink); color: #f7f1e3; }

.pg-rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pg-room {
	display: flex;
	flex-direction: column;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--hp-line);
	box-shadow: 0 20px 44px rgba(29, 23, 11, 0.08);
	transition: transform 0.6s var(--hp-ease), box-shadow 0.6s;
}
.pg-room[hidden] { display: none; }
.pg-room:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(29, 23, 11, 0.16); }
.pg-room-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hp-cream-2); }
.pg-room-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--hp-ease); }
.pg-room:hover .pg-room-img img { transform: scale(1.07); }
.pg-room-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(13, 10, 6, 0.7);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--hp-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.pg-room-body { display: flex; flex-direction: column; flex: 1; padding: 30px 30px 28px; }
.pg-room h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 28px; color: var(--hp-ink); }
.pg-room p { margin: 10px 0 0; color: var(--hp-muted); line-height: 1.6; font-size: 16px; }
.pg-specs { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hp-line); list-style: none; }
.pg-specs li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--hp-ink-2); }
.pg-specs svg { width: 20px; height: 20px; color: var(--hp-gold-d); }
.pg-room-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 24px; }
.pg-price small { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hp-muted); }
.pg-price strong { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: var(--hp-ink); }
.pg-room-actions { display: flex; gap: 10px; }
.pg-room-actions .hp-btn { padding: 12px 20px; font-size: 14px; }

/* ---------- Amenity grid ---------- */
.pg-amen-wrap { background: var(--hp-cream); }
.pg-amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pg-amen li {
	padding: 26px 22px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--hp-line);
	transition: transform 0.4s var(--hp-ease), box-shadow 0.4s, border-color 0.4s;
}
.pg-amen li:hover { transform: translateY(-4px); border-color: var(--hp-gold); box-shadow: 0 16px 34px rgba(29, 23, 11, 0.1); }
.pg-amen .hp-ico { background: var(--hp-cream); box-shadow: none; }
.pg-amen strong { display: block; margin-top: 16px; font-size: 17px; color: var(--hp-ink); }
.pg-amen span:not(.hp-ico) { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--hp-muted); }

/* ---------- Policies ---------- */
.pg-policies {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-radius: 24px;
	overflow: hidden;
	background: var(--hp-dark);
	color: #f7f1e3;
}
.pg-policies > div { padding: 30px 28px; border-right: 1px solid rgba(212, 175, 55, 0.15); border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
.pg-policies > div:nth-child(3n) { border-right: 0; }
.pg-policies > div:nth-last-child(-n + 3) { border-bottom: 0; }
.pg-policies dt { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hp-gold); }
.pg-policies dd { margin: 8px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: 22px; }
.pg-policies dd small { display: block; margin-top: 4px; font-family: 'Source Sans Pro', sans-serif; font-size: 14px; color: #b5a988; }

/* ---------- Facility feature rows ---------- */
.pg-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.pg-feature + .pg-feature { margin-top: 120px; }
.pg-feature.is-flip .pg-feature-media { order: 2; }
.pg-feature-media { position: relative; height: 600px; }
.pg-feature-media .pg-main {
	position: absolute;
	inset: 0 14% 0 0;
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(29, 23, 11, 0.2);
	background: var(--hp-cream-2);
}
.pg-feature.is-flip .pg-feature-media .pg-main { inset: 0 0 0 14%; }
.pg-feature-media .pg-sub {
	position: absolute;
	right: 0;
	bottom: -34px;
	width: 40%;
	height: 48%;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	border: 8px solid #fff;
	box-shadow: 0 24px 50px rgba(29, 23, 11, 0.25);
	background: var(--hp-cream-2);
}
.pg-feature.is-flip .pg-feature-media .pg-sub { right: auto; left: 0; }
.pg-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--hp-ease); }
.pg-feature-media figure:hover img { transform: scale(1.06); }
.pg-big-num {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 80px;
	line-height: 1;
	color: rgba(212, 175, 55, 0.35);
}
.pg-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.pg-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--hp-ink-2); line-height: 1.45; }
.pg-checks li::before {
	content: "";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--hp-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1406' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Event types */
.pg-events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(212, 175, 55, 0.18); border-radius: 24px; overflow: hidden; }
.pg-events li { list-style: none; padding: 34px 28px; background: var(--hp-dark); color: #f7f1e3; transition: background 0.4s; }
.pg-events li:hover { background: #1c160c; }
.pg-events .hp-ico { background: rgba(212, 175, 55, 0.14); color: var(--hp-gold); box-shadow: none; }
.pg-events strong { display: block; margin-top: 18px; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 22px; }
.pg-events span:not(.hp-ico) { display: block; margin-top: 6px; font-size: 14.5px; color: #b5a988; line-height: 1.5; }
.pg-events-wrap { padding: 0; margin: 0; }
.pg-dark { background: var(--hp-dark); }
.pg-dark .hp-title { color: #f7f1e3; }
.pg-dark .hp-title em { color: var(--hp-gold); }
.pg-dark .hp-text { color: #b5a988; }
.pg-dark .hp-eyebrow { color: var(--hp-gold); }

.pg-note { margin: 18px 0 0; font-size: 14px; color: var(--hp-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.pg-feature { grid-template-columns: 1fr; gap: 60px; }
	.pg-feature.is-flip .pg-feature-media { order: 0; }
	.pg-feature-media { height: 500px; max-width: 680px; width: 100%; }
	.pg-amen { grid-template-columns: repeat(2, 1fr); }
	.pg-events { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.pg-hero { padding: 80px 0 72px; }
	.pg-rooms { grid-template-columns: 1fr; }
	.pg-room-body { padding: 24px 22px; }
	.pg-room-actions { width: 100%; }
	.pg-room-actions .hp-btn { flex: 1; justify-content: center; }
	.pg-policies { grid-template-columns: 1fr; }
	.pg-policies > div { border-right: 0; border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important; }
	.pg-policies > div:last-child { border-bottom: 0 !important; }
	.pg-feature-media { height: 380px; }
	.pg-feature + .pg-feature { margin-top: 90px; }
	.pg-big-num { font-size: 60px; }
	.pg-checks { grid-template-columns: 1fr; }
	.pg-filter { flex-wrap: wrap; border-radius: 18px; }
}
@media (max-width: 520px) {
	.pg-amen, .pg-events { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.pg-hero-bg { animation: none; }
	.pg-room, .pg-room-img img, .pg-feature-media img, .pg-amen li { transition: none; }
}
