/* Room detail — stacked, centered layout */

.room-section-head {
	text-align: center;
	margin-bottom: 48px;
}

.room-section-head .tit2 {
	margin: 0 0 12px;
	color: #382F2D;
}

.room-section-head .room-type-label {
	max-width: 520px;
	margin: 0 auto;
}

/* Room intro */
.room-intro-block {
	padding-top: 80px;
	padding-bottom: 60px;
}

.room-intro-block .room-specs-grid {
	max-width: 1080px;
	margin: 0 auto 40px;
}

.room-intro-cta {
	text-align: center;
	margin-top: 0;
}

.room-intro-cta ul {
	justify-content: center;
}

.room-specs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.room-spec-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 28px 20px;
	background: #F6F3F1;
	border: 1px solid rgba(94, 85, 84, 0.1);
}

.room-spec-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	color: #5E5554;
	box-shadow: 0 2px 8px rgba(56, 47, 45, 0.06);
}

.room-spec-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.room-spec-label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #887B78;
}

.room-spec-value {
	font-family: "lora", Georgia, serif;
	font-size: 1.4rem;
	line-height: 1.2;
	color: #382F2D;
}

/* Amenities */
.room-amenities-block.instalaciones-servicios {
	padding: 90px 0 100px;
}

.room-amenities-block .room-section-head {
	margin-bottom: 56px;
}

.room-amenities-block .room-section-head .tit2 {
	margin-bottom: 0;
	color: #5E5554;
}

.room-amenities-wrap {
	display: block !important;
	width: 100%;
	max-width: 1380px;
	margin: 0 auto;
}

.room-amenities-block .amenities-icon-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	list-style: none;
	columns: auto !important;
	column-gap: normal !important;
}

.amenity-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;
	padding: 36px 20px 32px;
	background: #fff;
	border: none;
	min-height: 168px;
	box-shadow: 0 1px 0 rgba(94, 85, 84, 0.08);
	transition: transform 0.25s, box-shadow 0.25s;
}

.amenity-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(56, 47, 45, 0.08);
}

.amenity-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #F6F3F1;
	color: #5E5554;
}

.amenity-icon .room-icon {
	width: 32px;
	height: 32px;
}

.amenity-label {
	font-family: "lora", Georgia, serif;
	font-size: 1rem;
	line-height: 1.45;
	color: #5E5554;
	padding-top: 0;
	max-width: none;
}

.instalaciones-servicios .col-cont ul.amenities-icon-grid li,
.room-amenities-block .amenities-icon-grid li {
	font-family: inherit;
	font-size: inherit;
	margin-bottom: 0;
	list-style: none;
}

/* Last row: 13 items in 5 cols → center remaining 3 */
.amenity-item:nth-child(11) {
	grid-column: 2;
}

.amenity-item:nth-child(12) {
	grid-column: 3;
}

.amenity-item:nth-child(13) {
	grid-column: 4;
}

@media (max-width: 1200px) {
	.room-amenities-block .amenities-icon-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.amenity-item:nth-child(11),
	.amenity-item:nth-child(12),
	.amenity-item:nth-child(13) {
		grid-column: auto;
	}

	.amenity-item:last-child:nth-child(4n + 1) {
		grid-column: 2 / span 2;
		justify-self: center;
	}
}

@media (max-width: 960px) {
	.room-specs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.room-amenities-block .amenities-icon-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.amenity-item:last-child:nth-child(4n + 1) {
		grid-column: auto;
		justify-self: stretch;
	}

	.amenity-item:last-child:nth-child(3n + 1) {
		grid-column: 2;
		justify-self: center;
	}
}

@media (max-width: 820px) {
	.room-intro-block {
		padding-top: 60px;
		padding-bottom: 48px;
	}

	.room-section-head {
		margin-bottom: 36px;
	}

	.room-amenities-block.instalaciones-servicios {
		padding: 70px 0 80px;
	}

	.room-amenities-block .room-section-head {
		margin-bottom: 40px;
	}

	.room-specs-grid {
		gap: 12px;
	}

	.room-spec-card {
		padding: 22px 16px;
	}

	.room-amenities-block .amenities-icon-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.amenity-item:nth-child(11),
	.amenity-item:nth-child(12),
	.amenity-item:nth-child(13),
	.amenity-item:last-child:nth-child(3n + 1),
	.amenity-item:last-child:nth-child(4n + 1) {
		grid-column: auto;
		justify-self: stretch;
	}

	.amenity-item:last-child:nth-child(2n + 1) {
		grid-column: 1 / -1;
		max-width: 280px;
		justify-self: center;
	}

	.amenity-item {
		padding: 28px 16px 24px;
		min-height: 140px;
	}

	.amenity-icon {
		width: 56px;
		height: 56px;
	}

	.amenity-label {
		font-size: 0.92rem;
	}
}

@media (max-width: 480px) {
	.room-amenities-block .amenities-icon-grid {
		grid-template-columns: 1fr 1fr;
	}
}
