.rooms {
	background: #fff; padding-block: clamp(40px, 5vw, 72px);
	position: relative;
}

.clinics .rooms .container {position: relative; border-radius: 28px; overflow: hidden;}
.clinics .rooms .container > img {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
	background: #1a5f5f; z-index: 0; pointer-events: none;
}

.clinics .rooms .container .rooms-bg-gradient {
	position: absolute; inset: 0; z-index: 0;
	 background: linear-gradient(to right, rgba(90,193,185,0), rgba(12,150,124,0.6) 55%);
	/*background:
		radial-gradient(120% 90% at 88% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%),
		linear-gradient(108deg, #dcf1ec 0%, #abdecd 38%, #74b9a4 76%, #5fae99 100%);*/
}

.rooms-panel {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	padding: clamp(28px, 3vw, 48px) clamp(26px, 3vw, 52px) clamp(34px, 4vw, 56px);
	/*background:
		radial-gradient(120% 90% at 88% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%),
		linear-gradient(108deg, #dcf1ec 0%, #abdecd 38%, #74b9a4 76%, #5fae99 100%);*/
}

.rooms-stage {
	display: grid;
	grid-template-columns: minmax(320px, .82fr) 1.12fr;
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}

/* ----- info (right) ----- */
.rooms-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 11px 40px;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-weight: 500;
	font-size: 18px;
	box-shadow: var(--shadow-soft);
}

.rooms-title {
	margin-top: 16px;
	font-weight: 700;
	font-size: clamp(2rem, 3vw, 2.9rem);
	color: #fff;
}

.rooms-specs {
	list-style: none;
	margin-top: 22px;
	padding: clamp(20px, 2vw, 30px) clamp(22px, 2.2vw, 34px);
	border-radius: 20px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .38);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	display: grid;
	gap: 14px;
}
.rooms-specs li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
}
.spec-check {
	flex: none;
	font-weight: 700;
	color: #eafff9;
}

/* ----- viewer (left) ----- */
.rooms-viewer { display: flex; flex-direction: column; align-items: center; }
.rooms-photo {
	width: 100%;
	aspect-ratio: 16 / 9.6;
	border-radius: 16px;
	background-image: var(--car-main);
	background-size: cover;
	background-position: center;
	box-shadow: 0 22px 44px -24px rgba(20, 50, 44, .55);
	outline: 6px solid rgba(255, 255, 255, .35);
	outline-offset: 0;
}
.rooms-dots {
	display: flex;
	gap: 9px;
	margin-top: 20px;
}
.dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .65);
}
.dot.is-active {
	width: 13px; height: 13px;
	background: #2f8a76;
}

/* ----- thumbnails strip ----- */
.rooms-strip {
	direction: ltr;            /* keep arrows: ‹ left, › right */
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.4vw, 18px);
	margin-top: clamp(26px, 3vw, 42px);
}
.rooms-nav {
	flex: none;
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	color: var(--teal);
	cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}
.rooms-nav:hover { background: #fff; transform: scale(1.05); }
.rooms-nav svg { width: 20px; height: 20px; }

.rooms-thumbs {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(10px, 1.4vw, 20px);
}
.thumb {
	direction: rtl;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: start;
	gap: 2rem;
	padding: 10px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 12px 26px -18px rgba(20, 50, 44, .5);
	cursor: pointer;
	transition: transform .18s ease, background .18s ease;
}
.thumb:hover { transform: translateY(-2px); background: #fff; }
.thumb-label { font-weight: 500; color: #000; font-size: 24px; }
.thumb-img {
	flex: none;
	width: 94px; height: 94px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
}

@media screen and (max-width: 40em) {
	.clinics .rooms .container {border-radius: 0;}
	.rooms-stage {display: flex; flex-direction: column;}
	.rooms-info {width: 100%;}
	.rooms-specs {margin: 0;}
	.rooms-viewer {width: 100%;}
	.rooms-thumbs {display: flex;}
	.rooms-thumbs .thumb {width: 100%;}
	.rooms-thumbs .thumb + .thumb {display: none;}
}
