/* Galleria della scheda camera: controlli sulla testata, striscia "Guarda gli ambienti",
   visore a schermo pieno. Vedi inc/room-gallery.php e assets/js/room-gallery.js. */

.lcg-hero {
	--lcg-ink: #16324f;
	--lcg-act: #2456a6;
	--lcg-night: #0a141e;
	--lcg-mist: #e8ecef;
	position: relative;
}
.lcg-hero .swiper-slide { cursor: zoom-in; }

.lcg-hero button.lcg-all,
.lcg-strip button,
.lcg-viewer button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	border-radius: 0;
	font-family: inherit;
	text-shadow: none;
	line-height: 1;
}

.lcg-zoom {
	position: absolute; top: calc(var(--lcg-top, 0px) + 16px); left: 16px; z-index: 20;
	width: 36px; height: 36px; border-radius: 999px;
	background: rgba(10, 20, 30, .5); color: #fff;
	display: grid; place-items: center; font-size: 16px; line-height: 1;
	pointer-events: none;
}
.lcg-count {
	position: absolute; left: 16px; bottom: 18px; z-index: 20;
	background: rgba(10, 20, 30, .55); color: #fff;
	font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 1;
	padding: 9px 11px; font-variant-numeric: tabular-nums; pointer-events: none;
}
.lcg-dots {
	position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 20;
	display: flex; gap: 7px; pointer-events: none;
}
.lcg-dots i {
	width: 7px; height: 7px; border-radius: 50%;
	background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(10, 20, 30, .18);
	transition: background .2s, transform .2s;
}
.lcg-dots i.lcg-on { background: #fff; transform: scale(1.3); }

.lcg-hero button.lcg-all {
	position: absolute; right: 16px; bottom: 16px; z-index: 20;
	min-height: 46px; display: inline-flex; align-items: center; gap: 10px;
	padding: 0 18px; border: 0; background: #fff; color: var(--lcg-ink);
	font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
	box-shadow: 0 2px 16px rgba(10, 20, 30, .3); cursor: pointer;
}
.lcg-hero button.lcg-all:hover,
.lcg-hero button.lcg-all:focus-visible { background: var(--lcg-ink); color: #fff; }
.lcg-grid { width: 13px; height: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lcg-grid i { background: currentColor; }
.lcg-all .lcg-sm { display: none; }
@media (max-width: 680px) {
	.lcg-all .lcg-lg { display: none; }
	.lcg-all .lcg-sm { display: inline; }
	.lcg-hero.lcg-has-all .lcg-dots { left: 16px; transform: none; }
}
@media (hover: none), (pointer: coarse) {
	body.lcg-arrows--mouse .lcg-hero .swiper-button-next,
	body.lcg-arrows--mouse .lcg-hero .swiper-button-prev { display: none; }
}

/* ---------- striscia "Guarda gli ambienti" ---------- */
.lcg-strip {
	background: #f7f4ee;
	padding: clamp(20px, 3vw, 30px) clamp(16px, 2.5vw, 28px) clamp(22px, 3vw, 32px);
	margin: 28px 0 32px;
}
.lcg-strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; }
.lcg-strip-head .lcg-strip-title { margin: 0; }
.lcg-strip-n { font-size: 13px; color: #8a9086; font-variant-numeric: tabular-nums; }
.lcg-strip-sub { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; }
.lcg-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
@media (min-width: 520px) { .lcg-thumbs { grid-template-columns: repeat(4, 1fr); } }
.lcg-strip button.lcg-thumb {
	position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
	padding: 0; border: 0; background: #e7e2d8; cursor: zoom-in;
}
.lcg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .lcg-thumb:hover img { transform: scale(1.05); } }
.lcg-thumb span {
	position: absolute; top: 6px; left: 6px;
	background: rgba(255, 255, 255, .92); color: #16324f;
	font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
	padding: 5px 8px;
}
.lcg-strip button.lcg-strip-all {
	width: 100%; min-height: 46px; border: 1px solid #2456a6; background: transparent; color: #2456a6;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.lcg-strip button.lcg-strip-all:hover,
.lcg-strip button.lcg-strip-all:focus-visible { background: #2456a6; color: #fff; }

/* ---------- visore a schermo pieno ---------- */
html.lcg-lock, html.lcg-lock body { overflow: hidden; }
/* Sopra il banner cookie (CookieYes 9999999), sotto la sua finestra preferenze (999999999). */
.lcg-viewer {
	position: fixed; inset: 0; z-index: 100000000;
	display: flex; flex-direction: column;
	background: #0a141e; color: #fff;
	animation: lcgFade .2s ease;
}
.lcg-viewer[hidden] { display: none !important; }
@keyframes lcgFade { from { opacity: 0; } to { opacity: 1; } }
.lcg-bar {
	display: flex; align-items: center; gap: 12px;
	padding-inline: 16px; padding-block: calc(8px + env(safe-area-inset-top)) 8px;
}
.lcg-v-count { font-size: 12px; font-weight: 600; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: rgba(232, 236, 239, .8); }
.lcg-v-tema { font-size: 16px; font-style: italic; color: #e8ecef; }
.lcg-viewer button.lcg-x {
	flex: none; margin-left: auto; width: 44px; height: 44px;
	border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff;
	font-size: 20px; cursor: pointer; padding: 0;
}
.lcg-viewer button.lcg-x:hover { background: rgba(255, 255, 255, .14); }
.lcg-track {
	flex: 1; min-height: 0; display: flex;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	touch-action: pan-x; overscroll-behavior: contain;
}
.lcg-track::-webkit-scrollbar { display: none; }
.lcg-track.lcg-zoomed { overflow-x: hidden; touch-action: none; }
.lcg-slide {
	flex: 0 0 100%; height: 100%; margin: 0;
	scroll-snap-align: center; scroll-snap-stop: always;
	overflow: hidden; display: grid; place-items: center;
}
.lcg-slide img {
	width: 100%; height: 100%; max-width: none; object-fit: contain;
	transform-origin: center; will-change: transform;
	user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
}
.lcg-slide img.lcg-ease { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.lcg-foot { display: grid; gap: 10px; padding-inline: 16px; padding-block: 10px calc(14px + env(safe-area-inset-bottom)); }
.lcg-cap { margin: 0; min-height: 20px; text-align: center; font-size: 14px; line-height: 1.4; color: #e8ecef; }
.lcg-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lcg-chips::-webkit-scrollbar { display: none; }
.lcg-viewer button.lcg-chip {
	flex: none; min-height: 38px; padding: 0 15px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #e8ecef;
	font-size: 13px; cursor: pointer;
}
.lcg-chip i { font-style: normal; opacity: .55; margin-left: 6px; font-variant-numeric: tabular-nums; }
.lcg-viewer button.lcg-chip[aria-current="true"] { background: #fff; color: #16324f; border-color: #fff; }
.lcg-hint {
	position: absolute; left: 50%; top: calc(66px + env(safe-area-inset-top)); transform: translateX(-50%);
	max-width: calc(100% - 32px); margin: 0; padding: 8px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); color: #e8ecef; font-size: 12px; white-space: nowrap;
	pointer-events: none; transition: opacity .5s;
}
.lcg-hint.lcg-off { opacity: 0; }
.lcg-viewer button.lcg-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 46px; height: 46px; padding: 0;
	border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 20, 30, .4); color: #fff;
	font-size: 22px; cursor: pointer; display: none; place-items: center;
}
.lcg-viewer button.lcg-arrow:hover { background: rgba(255, 255, 255, .14); }
.lcg-prev { left: 16px; }
.lcg-next { right: 16px; }
@media (hover: hover) and (pointer: fine) { .lcg-viewer button.lcg-arrow { display: grid; } }
@media (orientation: landscape) and (max-height: 520px) {
	.lcg-hint, .lcg-chips { display: none; }
	.lcg-bar { padding-block: calc(4px + env(safe-area-inset-top)) 4px; }
	.lcg-foot { padding-block: 4px calc(6px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
	.lcg-viewer, .lcg-slide img, .lcg-thumb img { animation: none !important; transition: none !important; }
}

/* ---------- pagina alloggi: fasce fotografiche [lecasette_fascia] ---------- */
.lcg-band { --lcg-ease: cubic-bezier(.2, .8, .2, 1); color: #5f6b68; }
.lcg-band--a { background: #f7f4ee; padding: clamp(34px, 4.5vw, 56px) clamp(16px, 4vw, 60px); margin: clamp(24px, 3vw, 40px) 0; }
.lcg-band--b { background: #fff; padding: clamp(28px, 4vw, 48px) 0; }
.lcg-band-in { max-width: 1180px; margin: 0 auto; }
/* La fascia B sta fra due righe di card: stessa larghezza del contenitore, come le card. */
.lcg-band--b .lcg-band-in { max-width: none; }
.lcg-band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 22px; }
.lcg-band-intro { flex: 1 1 340px; }
.lcg-band--b .lcg-band-intro { flex: 1 1 320px; }
.lcg-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
	font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #a08b58;
}
.lcg-eyebrow i { width: 26px; height: 1px; background: #c2a15a; flex: none; }
.lcg-band .lcg-band-title { margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; color: #16324f; }
.lcg-band-text { margin: 10px 0 0; max-width: 440px; font-size: 15px; line-height: 1.7; }
.lcg-band-text--side { flex: 1 1 300px; max-width: 400px; margin: 0; }
.lcg-band-cta { display: flex; align-items: center; gap: 16px; }
.lcg-band-n { font-size: 13px; color: #8a9086; font-variant-numeric: tabular-nums; }
.lcg-band button.lcg-band-all {
	-webkit-appearance: none; appearance: none; margin: 0; border-radius: 0; font-family: inherit; line-height: 1;
	min-height: 46px; padding: 0 22px; border: 1px solid #2456a6; background: transparent; color: #2456a6;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.lcg-band button.lcg-band-all:hover,
.lcg-band button.lcg-band-all:focus-visible { background: #2456a6; color: #fff; }

.lcg-collage { display: flex; flex-direction: column; gap: 10px; }
.lcg-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lcg-band button.lcg-tile {
	-webkit-appearance: none; appearance: none; margin: 0; border: 0; border-radius: 0; padding: 0;
	position: relative; display: block; overflow: hidden; background: #e7e2d8; cursor: zoom-in; font-family: inherit;
}
.lcg-row--1 .lcg-tile { flex: 1 1 200px; height: clamp(230px, 30vw, 400px); }
.lcg-row--1 .lcg-tile--wide { flex: 2 1 320px; }
.lcg-row--2 .lcg-tile { flex: 1 1 180px; height: clamp(140px, 16vw, 210px); }
.lcg-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--lcg-ease); }
@media (hover: hover) { .lcg-tile:hover img { transform: scale(1.04); } }
.lcg-tile-cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 15px; text-align: left;
	background: linear-gradient(to top, rgba(14, 32, 48, .78), rgba(14, 32, 48, 0));
	color: #fff; font-size: 13px; line-height: 1.35;
}
.lcg-tile--more { background: #0f2030; }
.lcg-tile--more img { opacity: .42; }
.lcg-more {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.lcg-more b { font-size: 30px; font-weight: 500; letter-spacing: 0; line-height: 1; }
.lcg-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.lcg-trio .lcg-tile { aspect-ratio: 4 / 3; width: 100%; }
