/* =========================================================
   Via Bergamo Sette — main stylesheet
   ========================================================= */

:root {
	--bg: #faf7f1;
	--bg-card: #fdfbf7;
	--bg-band: #f3eee3;
	--ink: #2a2620;
	--ink-2: #4a4238;
	--muted: #6b6155;
	--muted-2: #8a7f6f;
	--gold: #a5854e;
	--gold-2: #c8a866;
	--gold-dark: #6b5836;
	--line: #e9e2d4;
	--line-2: #d8cfbc;
	--line-3: #e2d8c3;
	--line-4: #c9bfae;
	--dark: #2a2620;
	--dark-text: #cfc6b8;
	--dark-text-2: #b3ab9c;
	--dark-muted: #7d766a;
	--serif: 'Cormorant Garamond', Georgia, serif;
	--sans: 'Source Sans 3', Helvetica, Arial, sans-serif;
	--pad: max(56px, calc((100% - 1168px) / 2));
	--icon-size: 16px;
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--bg);
}

a { color: inherit; text-decoration: none; }
a:hover, button:hover { opacity: 0.88; }
img { max-width: 100%; height: auto; }
input, select, textarea, button { font-family: inherit; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- shared pieces ---------- */

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
}

.eyebrow--gold { color: var(--gold-2); margin-bottom: 20px; }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 16px; }

.section-title {
	font-family: var(--serif);
	font-size: 42px;
	font-weight: 500;
	margin: 0;
}

.btn {
	display: inline-block;
	padding: 13px 26px;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	text-align: center;
}

.btn--solid { background: var(--gold); color: #fff; }
.btn--outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: #efe9de; background: transparent; }

.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }

.score-badge {
	background: var(--dark);
	color: var(--bg-card);
	font-size: 14px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 4px 4px 4px 0;
}

.check { color: var(--gold); font-size: 16px; flex: none; }

.icon {
	width: var(--icon-size);
	height: var(--icon-size);
	flex: none;
	color: var(--gold-2);
	display: block;
}

/* The brand glyph is solid, so it reads heavier than the stroked ones at the same
   box size — trim it slightly to even out the row. */
.icon--whatsapp { width: calc(var(--icon-size) - 1px); height: calc(var(--icon-size) - 1px); }

/* Arch "7" logo mark */
.logo-mark {
	width: 28px;
	height: 34px;
	border: 1.5px solid var(--ink);
	border-radius: 14px 14px 0 0;
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	flex: none;
}

.logo-mark span {
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1;
	color: var(--ink);
	padding-bottom: 4px;
}

.logo-mark--dark { width: 26px; height: 32px; border-color: #efe9de; border-radius: 13px 13px 0 0; }
.logo-mark--dark span { font-size: 16px; color: #efe9de; }

.logo-mark--bar { width: 20px; height: 25px; border-width: 1.3px; border-color: var(--gold-2); border-radius: 10px 10px 0 0; }
.logo-mark--bar span { font-size: 13px; color: var(--gold-2); padding-bottom: 3px; }

.logo-mark--gold { width: 44px; height: 54px; border-color: var(--gold-2); border-radius: 22px 22px 0 0; margin-bottom: 32px; }
.logo-mark--gold span { font-size: 26px; color: var(--gold-2); padding-bottom: 7px; }

/* ---------- top bar ---------- */

.topbar {
	background: var(--dark);
	color: var(--dark-text);
	display: flex;
	justify-content: flex-end;
	gap: 28px;
	padding: 10px var(--pad);
	font-size: 13px;
	letter-spacing: 0.04em;
}

.topbar__link { display: flex; align-items: center; gap: 7px; }

/* Language switcher: the current code sits in the bar, the rest drop down. */
.langs {
	margin-right: auto;
	position: relative;
}

.langs__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid rgba(232, 226, 212, 0.22);
	color: var(--dark-text);
	font-size: 13px;
	letter-spacing: 0.1em;
	padding: 4px 9px;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.langs__toggle:hover,
.langs__toggle[aria-expanded="true"] {
	border-color: var(--gold-2);
	color: var(--gold-2);
	opacity: 1;
}

.langs__chevron {
	width: 11px;
	height: 11px;
	flex: none;
	transition: transform 0.2s ease;
}

.langs__toggle[aria-expanded="true"] .langs__chevron { transform: rotate(180deg); }

.langs__menu {
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	z-index: 130;
	min-width: 100%;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: var(--dark);
	border: 1px solid rgba(232, 226, 212, 0.22);
	/* Hidden by default; opacity and a nudge make the open feel deliberate. */
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.langs.is-open .langs__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.langs__option {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7px 9px;
	color: var(--dark-text);
	font-size: 13px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.langs__option:hover {
	background: rgba(200, 168, 102, 0.14);
	color: var(--gold-2);
	opacity: 1;
}

.langs__code { letter-spacing: 0.1em; font-weight: 600; }

/* ---------- header ---------- */

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 26px var(--pad);
	border-bottom: 1px solid var(--line);
	position: relative;
	gap: 24px;
}

.site-header__brand { display: flex; align-items: center; gap: 13px; }

.site-header__name {
	font-family: var(--serif);
	font-size: 26px;
	letter-spacing: 0.06em;
}

.site-nav {
	display: flex;
	gap: 32px;
	align-items: center;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-nav__list {
	display: flex;
	gap: 32px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__cta {
	border: 1px solid var(--gold);
	color: var(--gold);
	padding: 10px 22px;
	letter-spacing: 0.12em;
}

.site-header__toggle { display: none; }

/* Only the mobile panel shows these — on desktop the top bar already carries them. */
.site-nav__extra { display: none; }

/* ---------- gallery ---------- */

.gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 230px 230px;
	gap: 10px;
	padding: 28px var(--pad) 0;
}

.gallery__item {
	position: relative;
	overflow: hidden;
	padding: 0;
	border: none;
	background: none;
	cursor: zoom-in;
	display: block;
}

.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__item:hover .gallery__img { transform: scale(1.03); }
.gallery__img { transition: transform 0.5s ease; }
.gallery__item--main { grid-row: span 2; }

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery__more {
	position: absolute;
	inset: 0;
	background: rgba(42, 38, 32, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bg-card);
	font-family: var(--serif);
	font-size: 20px;
	letter-spacing: 0.06em;
}

/* ---------- intro + booking ---------- */

.intro {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 48px;
	padding: 36px var(--pad) 64px;
}

.intro__content .eyebrow { margin-bottom: 12px; }

.intro__title {
	font-family: var(--serif);
	font-size: 44px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 10px;
}

.intro__address {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 15px;
	color: var(--ink-2);
	margin-bottom: 8px;
}

.intro__address svg { flex: none; }
.intro__address-sep { color: #b3a58a; }

.intro__map-link { color: var(--gold); font-weight: 600; text-decoration: underline; }

.intro__rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.intro__rating-text { font-size: 14px; color: var(--muted); }
.intro__rating-dot { color: var(--line-2); }

.intro__amenities {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 28px;
}

.amenity {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--line-2);
	padding: 12px 14px;
	font-size: 14px;
	color: var(--ink);
	background: var(--bg-card);
}

.intro__text p {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-2);
	margin: 0 0 14px;
}

.intro__text p:last-child { margin-bottom: 32px; }

.intro__subtitle {
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 500;
	margin: 32px 0 18px;
	border-top: 1px solid var(--line);
	padding-top: 28px;
}

.intro__rooms {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.room-card { margin: 0; }

.room-card img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
}

.room-card figcaption { padding: 10px 2px 0; }
.room-card__title { font-family: var(--serif); font-size: 20px; }
.room-card__text { font-size: 14px; color: var(--muted); }

.intro__features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.feature-group__title {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 12px;
}

.feature-group__list { display: flex; flex-direction: column; gap: 8px; }

.feature-group__item {
	display: flex;
	gap: 8px;
	font-size: 14px;
	color: var(--ink-2);
}

/* booking sidebar */

.booking {
	background: var(--bg-card);
	border: 1px solid var(--line-2);
	padding: 28px;
	height: fit-content;
	position: sticky;
	top: 20px;
}

.booking__title { font-family: var(--serif); font-size: 26px; margin-bottom: 4px; }
.booking__subtitle { font-size: 14px; color: var(--muted-2); margin-bottom: 22px; }

.booking__form { display: flex; flex-direction: column; gap: 16px; }

.booking__input {
	border: none;
	border-bottom: 1px solid var(--line-4);
	background: transparent;
	padding: 10px 2px;
	font-size: 15px;
	border-radius: 0;
	width: 100%;
}

.booking__input:focus { outline: none; border-bottom-color: var(--gold); }

.booking__dates { display: flex; gap: 14px; }

.booking__label {
	flex: 1;
	font-size: 11px;
	color: var(--muted-2);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.booking__input--date { padding: 8px 2px; font-size: 14px; }
.booking__select { color: var(--ink-2); }

.booking__submit {
	padding: 15px;
	letter-spacing: 0.16em;
	margin-top: 6px;
}

.form-success__box {
	border: 1px solid var(--gold);
	color: var(--gold-dark);
	padding: 20px;
	font-size: 15px;
}

.form-error__box {
	border: 1px solid #b0563e;
	color: #b0563e;
	padding: 14px;
	font-size: 14px;
	margin-bottom: 16px;
}

/* ---------- reviews ---------- */

.reviews { background: var(--bg-band); padding: 72px var(--pad); }

.reviews__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.reviews__score { display: flex; align-items: center; gap: 14px; }

.reviews__score-badge {
	background: var(--dark);
	color: var(--bg-card);
	font-family: var(--serif);
	font-size: 30px;
	line-height: 1;
	/* Flex-centres the glyphs themselves; padding alone left the digits low,
	   because this serif's figures carry a deep descender under the comma. */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 62px;
	min-height: 52px;
	padding: 4px 14px 10px;
	border-radius: 6px 6px 6px 0;
}

.reviews__score-word { font-weight: 600; font-size: 16px; color: var(--ink); }
.reviews__score-count { font-size: 14px; color: var(--muted); }

.reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.review-card {
	background: var(--bg-card);
	border: 1px solid var(--line-3);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.review-card__text {
	font-family: var(--serif);
	font-size: 20px;
	font-style: italic;
	line-height: 1.5;
	margin: 0;
	color: var(--ink);
}

.review-card__author { margin-top: auto; display: flex; align-items: center; gap: 12px; }

.review-card__avatar,
.review-card__author img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}

.review-card__name { font-weight: 600; font-size: 15px; color: var(--ink); }
.review-card__meta { font-size: 13px; color: var(--muted-2); }

/* ---------- host ---------- */

.host { padding: 72px var(--pad); }

.host__grid {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 56px;
	align-items: start;
}

.host-card {
	background: var(--bg-card);
	border: 1px solid var(--line-3);
	padding: 36px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	box-shadow: 0 6px 24px rgba(42, 38, 32, 0.08);
}

.host-card__id { text-align: center; }

.host-card__photo { width: 120px; height: 120px; margin: 0 auto 14px; position: relative; }

.host-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.host-card__badge {
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	border: 2px solid var(--bg-card);
}

.host-card__name { font-family: var(--serif); font-size: 30px; color: var(--ink); }

.host-card__role {
	font-size: 13px;
	color: var(--muted-2);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 4px;
}

.host-card__stats { display: flex; flex-direction: column; gap: 16px; min-width: 110px; }

.host-card__stat { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.host-card__stat:last-child { border-bottom: none; padding-bottom: 0; }

.host-card__stat-value { font-weight: 700; font-size: 20px; color: var(--ink); }
.host-card__stat-label { font-size: 13px; color: var(--muted-2); }

.host__title {
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 500;
	margin: 0 0 16px;
}

.host__text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-2);
	margin: 0 0 24px;
	max-width: 640px;
}

.host__facts { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 28px; font-size: 15px; }

.host__fact-title { font-weight: 600; color: var(--ink); }
.host__fact-text { color: var(--muted-2); font-size: 14px; }

.host__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- roma (dark) ---------- */

.roma {
	background: var(--dark);
	color: #efe9de;
	padding: 96px var(--pad);
	position: relative;
	overflow: hidden;
}

.roma__watermark {
	position: absolute;
	top: -40px;
	right: -30px;
	font-family: var(--serif);
	font-size: 300px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(200, 168, 102, 0.16);
	pointer-events: none;
	user-select: none;
}

.roma__grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 64px;
	position: relative;
}

.roma__title {
	font-family: var(--serif);
	font-size: 64px;
	font-weight: 500;
	margin: 0 0 8px;
	line-height: 1;
}

.roma__subtitle {
	font-family: var(--serif);
	font-size: 34px;
	font-style: italic;
	color: var(--gold-2);
	margin-bottom: 26px;
	line-height: 1.2;
}

.roma__text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--dark-text);
	margin: 0 0 40px;
}

.roma__list { display: flex; flex-direction: column; }

.roma__list-item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid rgba(200, 168, 102, 0.3);
}

.roma__list-item:last-child { border-bottom: 1px solid rgba(200, 168, 102, 0.3); }

.roma__list-num { font-family: var(--serif); font-size: 28px; color: var(--gold-2); }
.roma__list-title { font-family: var(--serif); font-size: 24px; margin-bottom: 4px; }
.roma__list-text { font-size: 14px; color: var(--dark-text-2); line-height: 1.6; }

.roma__photos { min-width: 0; }

.roma__figure { margin: 0; min-width: 0; }

.roma__figure-media { height: 260px; }
.roma__figure--main .roma__figure-media { height: 400px; }

.roma__figure-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.roma__figure figcaption {
	margin-top: 12px;
	display: flex;
	gap: 12px;
	align-items: baseline;
}

.roma__time { color: var(--gold-2); font-size: 13px; letter-spacing: 0.16em; }
.roma__caption { font-family: var(--serif); font-size: 20px; }

.roma__photos-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	margin-top: 28px;
}

.roma__photos-row .roma__figure:nth-child(2) { margin-top: 44px; }

/* ---------- panorama ---------- */

.panorama { position: relative; }

.panorama img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.panorama__shade {
	position: absolute;
	inset: 0;
	/* Deep enough at the top for the caption to read over a bright sky, gone by
	   halfway so the photo itself stays bright. */
	background: linear-gradient(180deg, rgba(42, 38, 32, 0.62) 0%, rgba(42, 38, 32, 0.28) 28%, rgba(42, 38, 32, 0) 55%);
}

.panorama__caption {
	position: absolute;
	left: var(--pad);
	top: 28px;
	color: var(--bg-card);
	font-family: var(--serif);
	font-size: 22px;
	font-style: italic;
	text-shadow: 0 1px 10px rgba(42, 38, 32, 0.75);
}

/* ---------- location ---------- */

.location { padding: 80px var(--pad); }

.location__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: stretch;
}

.location__map { border: 1px solid var(--line-2); overflow: hidden; }

.location__map iframe {
	width: 100%;
	height: 100%;
	min-height: 480px;
	border: 0;
	display: block;
}

.location__list-wrap { display: flex; flex-direction: column; justify-content: center; }

.location__list-title { font-family: var(--serif); font-size: 24px; margin-bottom: 18px; }

.location__list { font-size: 15px; line-height: 2.3; color: var(--ink-2); }

.location__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--line);
}

.location__row:last-child { border-bottom: none; }
.location__time { color: var(--gold); white-space: nowrap; }

/* ---------- FAQ ---------- */

.faq { background: var(--bg-band); padding: 80px var(--pad); }

.faq__grid {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

/* Each column stacks on its own, so a question that opens pushes only the ones
   below it — never leaves a hole beside it. */
.faq__column {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq__item {
	background: var(--bg-card);
	border: 1px solid var(--line-3);
	padding: 20px 24px;
}

.faq__question {
	font-weight: 600;
	font-size: 16px;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.faq__plus { color: var(--gold); font-size: 20px; transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }

/* The wrapper is what animates: it carries no padding, so its height can go to
   zero cleanly while the paragraph inside keeps its spacing. */
.faq__panel { overflow: hidden; }

.faq__panel.is-animating {
	transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}

.faq__answer {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink-2);
	margin: 0;
	padding-top: 14px;
}

/* ---------- SEO text ---------- */

.seo { padding: 64px var(--pad); border-top: 1px solid var(--line); }

.seo__title {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	margin: 0 0 20px;
	color: var(--muted);
}

.seo__columns {
	column-count: 2;
	column-gap: 48px;
	font-size: 14px;
	line-height: 1.9;
	color: var(--muted-2);
}

.seo__columns p { margin: 0 0 14px; }

/* ---------- sticky book bar ---------- */

.book-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	transform: translateY(110%);
	transition: transform 0.3s ease;
	background: var(--dark);
	color: #efe9de;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px var(--pad);
	box-shadow: 0 -6px 24px rgba(42, 38, 32, 0.25);
}

.book-bar.is-visible { transform: translateY(0); }

.book-bar__info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.book-bar__brand { display: flex; align-items: center; gap: 10px; }

.book-bar__name {
	font-family: var(--serif);
	font-size: 20px;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.book-bar__rating { color: var(--gold-2); font-size: 14px; white-space: nowrap; }
.book-bar__note { color: var(--muted-2); font-size: 14px; }

.book-bar__actions { display: flex; align-items: center; gap: 22px; }

.book-bar__link {
	font-size: 14px;
	color: var(--dark-text);
	display: flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.book-bar__cta { padding: 12px 28px; white-space: nowrap; }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: var(--dark-text); }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
	padding: 56px var(--pad);
}

.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.site-footer__name {
	font-family: var(--serif);
	font-size: 24px;
	letter-spacing: 0.06em;
	color: #efe9de;
}

.site-footer__about p { font-size: 15px; line-height: 1.8; margin: 0; max-width: 360px; }

.site-footer__title {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-2);
	margin-bottom: 16px;
}

.site-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__wa { display: flex; align-items: center; gap: 8px; }

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 20px var(--pad);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--muted-2);
}

.site-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

.site-footer__legal-list {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- legal / legacy pages ---------- */

.legal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 56px;
	border-bottom: 1px solid var(--line);
	max-width: 1168px;
	margin: 0 auto;
}

.legal-header__brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }

.legal-header__name {
	font-family: var(--serif);
	font-size: 26px;
	letter-spacing: 0.06em;
}

.legal-header__back {
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.legal {
	max-width: 800px;
	margin: 0 auto;
	padding: 64px 32px 96px;
}

.legal .eyebrow { margin-bottom: 16px; }

.legal__title {
	font-family: var(--serif);
	font-size: 46px;
	font-weight: 500;
	margin: 0 0 8px;
}

.legal__subtitle { font-size: 14px; color: var(--muted-2); margin: 0 0 40px; }

.legal__content h2 {
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 500;
	margin: 36px 0 12px;
}

.legal__content h3 {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 500;
	margin: 28px 0 10px;
}

.legal__content p,
.legal__content li {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-2);
	margin: 0 0 10px;
}

.legal__content a { color: var(--gold); text-decoration: underline; }

.legal-footer {
	border-top: 1px solid var(--line);
	padding: 24px 56px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--muted-2);
	max-width: 1168px;
	margin: 0 auto;
}

.legal-footer__links {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- 404 ---------- */

.error404 body,
body.error404 { background: var(--dark); }

.error404-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px;
	position: relative;
	overflow: hidden;
	color: #efe9de;
}

.error404-page__watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--serif);
	font-size: 420px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(200, 168, 102, 0.12);
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}

.error404-page__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.error404-page__eyebrow {
	font-size: 13px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold-2);
	margin-bottom: 18px;
}

.error404-page__title {
	font-family: var(--serif);
	font-size: 56px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 18px;
	max-width: 640px;
}

.error404-page__text {
	font-size: 17px;
	line-height: 1.7;
	color: var(--dark-text-2);
	margin: 0 0 40px;
	max-width: 480px;
}

.error404-page__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.error404-page__actions .btn { padding: 15px 32px; }

.error404-page__address {
	position: absolute;
	bottom: 28px;
	font-size: 13px;
	color: var(--dark-muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ---------- generic fallback ---------- */

.page-main { max-width: 800px; margin: 0 auto; padding: 64px 32px 96px; }

.page-main__title {
	font-family: var(--serif);
	font-size: 46px;
	font-weight: 500;
	margin: 0 0 24px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
	.intro { grid-template-columns: 1fr; }
	.booking { position: static; }
	.host__grid { grid-template-columns: 1fr; gap: 32px; }
	.roma__grid { grid-template-columns: 1fr; gap: 48px; }
	/* Scale with the viewport so the word stays whole instead of being cut off. */
	.roma__watermark { font-size: min(200px, 26vw); top: -20px; right: -10px; }
	.location__grid { grid-template-columns: 1fr; }
	.location__map iframe { min-height: 360px; }
	.reviews__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.book-bar__note { display: none; }
}

@media (max-width: 900px) {
	:root { --pad: 24px; }

	.topbar { justify-content: center; gap: 14px; flex-wrap: wrap; }
	.langs { margin-right: 0; order: -1; }

	.site-header__toggle {
		display: flex;
		flex-direction: column;
		gap: 5px;
		background: none;
		border: none;
		padding: 8px;
		cursor: pointer;
	}

	.site-header__toggle-bar {
		width: 22px;
		height: 2px;
		background: var(--ink);
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) { opacity: 0; }
	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

	/* The header follows the reader down the page; the booking CTA in it is the
	   main action on a phone. */
	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 120;
		background: var(--bg);
		padding-top: 16px;
		padding-bottom: 16px;
	}

	/* Keep the wordmark on one line — wrapped, it made the header 116px tall. */
	.site-header__name { font-size: 19px; white-space: nowrap; }
	.site-header__brand { gap: 10px; }
	.logo-mark { width: 24px; height: 29px; border-radius: 12px 12px 0 0; }
	.logo-mark span { font-size: 15px; padding-bottom: 3px; }

	/* --vb7-header-h is measured at runtime, so wrapping or a longer brand name
	   can never leave content hiding underneath. */
	body { padding-top: var(--vb7-header-h, 72px); }

	/* The admin bar is fixed too, and would otherwise sit on top of the header
	   for anyone logged in — which is exactly how the client previews the site. */
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar { padding-top: calc(var(--vb7-header-h, 72px) + 46px); }
	body.admin-bar .site-nav { top: calc(var(--vb7-header-h, 72px) + 46px); }

	.site-nav {
		display: none;
		position: fixed;
		top: var(--vb7-header-h, 72px);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 119;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		background: var(--bg-card);
		border-top: 1px solid var(--line);
		padding: 20px var(--pad) 32px;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.site-nav.is-open { display: flex; }

	/* No scrolling the page behind an open menu. */
	body.has-menu { overflow: hidden; }

	/* A fixed header would otherwise sit on top of whatever an anchor lands on. */
	section[id],
	[id="prenota"] { scroll-margin-top: calc(var(--vb7-header-h, 72px) + 12px); }



	.site-nav__list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
	/* A full-screen menu can carry far more weight than the desktop strip, and
	   bigger rows are easier to hit with a thumb. */
	.site-nav__list a {
		display: block;
		width: 100%;
		padding: 16px 0;
		font-size: 22px;
		letter-spacing: 0.08em;
		color: var(--ink);
	}

	.site-nav__list a:active { color: var(--gold); }

	.site-nav__cta {
		margin-top: 18px;
		align-self: flex-start;
		font-size: 15px;
		letter-spacing: 0.14em;
		padding: 14px 30px;
	}

	/* The top bar is hidden on a phone: it sat under the fixed header and pushed
	   the page down. Its links move into the open menu instead. */
	.topbar { display: none; }

	.site-nav__extra {
		display: block;
		width: 100%;
		margin-top: auto;
		padding-top: 24px;
		border-top: 1px solid var(--line);
	}

	.nav-langs {
		display: flex;
		gap: 8px;
		margin-bottom: 18px;
	}

	.nav-langs__item {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 46px;
		padding: 7px 10px;
		border: 1px solid var(--line-2);
		color: var(--muted);
		font-size: 13px;
		letter-spacing: 0.12em;
	}

	.nav-langs__item.is-current {
		border-color: var(--gold);
		color: var(--gold);
		font-weight: 600;
	}

	.site-nav__contacts {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	.site-nav__contact {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 15px;
		letter-spacing: 0;
		text-transform: none;
		color: var(--ink-2);
	}

	.site-nav__contact .icon { color: var(--gold); }

	.gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 200px 130px 130px;
	}

	.gallery__item--main { grid-column: span 2; grid-row: auto; }

	.intro__amenities { grid-template-columns: 1fr 1fr; }
	.intro__features { grid-template-columns: 1fr; }
	.reviews__grid { grid-template-columns: 1fr; }
	/* One stack on a phone. The columns dissolve so the questions can be put back
	   into their original order — otherwise stacking them would read 1, 3, 5, 2, 4, 6. */
	.faq__grid { flex-direction: column; }
	.faq__column { display: contents; }
	.faq__item { order: var(--faq-order, 0); }
	.seo__columns { column-count: 1; }

	.host-card { grid-template-columns: 1fr; }
	.host-card__stats { flex-direction: row; justify-content: center; text-align: center; }
	.host-card__stat { border-bottom: none; padding-bottom: 0; }

	.book-bar__info { display: none; }
	.book-bar__actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 640px) {
	.section-title { font-size: 32px; }
	.intro__title { font-size: 34px; }
	.roma__title { font-size: 46px; }
	.roma__subtitle { font-size: 26px; }
	.roma__photos-row { grid-template-columns: 1fr; }
	.roma__photos-row .roma__figure:nth-child(2) { margin-top: 0; }
	.roma__figure--main .roma__figure-media { height: 260px; }
	.roma { padding-top: 64px; padding-bottom: 64px; }
	.reviews, .host, .location, .faq { padding-top: 56px; padding-bottom: 56px; }

	.intro__rooms { grid-template-columns: 1fr; }
	.intro__amenities { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }

	.error404-page__title { font-size: 38px; }
	.error404-page__watermark { font-size: 220px; }

	.legal-header, .legal-footer { padding-left: 24px; padding-right: 24px; }
	.legal { padding: 40px 24px 64px; }
	.legal__title { font-size: 36px; }

	.book-bar__link { display: none; }
	.book-bar__cta { width: 100%; }
}

/* ---------- Vikey booking widget ---------- */

.booking-widget { padding: 72px var(--pad); background: var(--bg-band); }

.booking-widget__inner { max-width: 760px; margin: 0 auto; }

.booking-widget__subtitle {
	text-align: center;
	font-size: 15px;
	color: var(--muted);
	margin: -24px 0 32px;
}

.booking-widget__frame {
	background: var(--bg-card);
	border: 1px solid var(--line-3);
	padding: 20px;
}

.booking__widget { min-height: 320px; }

.vikey-booking-engine-widget { width: 100%; }

.vikey-widget-missing {
	border: 1px dashed var(--gold);
	color: var(--gold-dark);
	padding: 14px;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

/* ---------- gallery lightbox ---------- */

body.has-lightbox { overflow: hidden; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	background: rgba(42, 38, 32, 0.97);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px max(20px, calc((100% - 1168px) / 2));
	flex: none;
}

.lightbox__counter {
	font-family: var(--serif);
	font-size: 18px;
	letter-spacing: 0.08em;
	color: var(--gold-2);
}

.lightbox__close,
.lightbox__nav {
	background: none;
	border: 1px solid rgba(232, 226, 212, 0.28);
	color: #efe9de;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox__close { width: 42px; height: 42px; }
.lightbox__nav { width: 52px; height: 52px; }

.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
	border-color: var(--gold-2);
	background: rgba(200, 168, 102, 0.14);
	opacity: 1;
}

.lightbox__close svg,
.lightbox__nav svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lightbox__stage {
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 0 max(20px, calc((100% - 1168px) / 2));
}

.lightbox__figure {
	margin: 0;
	min-width: 0;
	min-height: 0;
	flex: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.lightbox__img {
	max-width: 100%;
	min-height: 0;
	flex: 0 1 auto;
	object-fit: contain;
	display: block;
}

.lightbox__caption {
	font-family: var(--serif);
	font-size: 19px;
	font-style: italic;
	color: #efe9de;
	text-align: center;
	flex: none;
}

.lightbox__thumbs {
	flex: none;
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 18px max(20px, calc((100% - 1168px) / 2)) 22px;
	overflow-x: auto;
	scrollbar-width: none;
}

.lightbox__thumbs::-webkit-scrollbar { display: none; }

.lightbox__thumb {
	flex: none;
	width: 74px;
	height: 54px;
	padding: 0;
	border: 1px solid transparent;
	background: none;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox__thumb:hover { opacity: 0.85; }

.lightbox__thumb.is-current {
	opacity: 1;
	border-color: var(--gold-2);
}

.lightbox__thumb:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

@media (max-width: 900px) {
	.lightbox__stage { gap: 10px; padding: 0 12px; }
	.lightbox__nav { width: 42px; height: 42px; }
	.lightbox__thumb { width: 60px; height: 44px; }
	.lightbox__caption { font-size: 16px; }
}

@media (max-width: 640px) {
	.lightbox__bar { padding: 12px 16px; }
	.lightbox__counter { font-size: 16px; }

	/* Too narrow for side buttons — float them over the photo edges. */
	.lightbox__stage { padding: 0 8px; }
	.lightbox__nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 38px;
		height: 38px;
		background: rgba(42, 38, 32, 0.55);
		z-index: 2;
	}

	.lightbox__nav--prev { left: 8px; }
	.lightbox__nav--next { right: 8px; }

	.lightbox__stage { position: relative; }
	.lightbox__figure { width: 100%; }
	.lightbox__thumbs { justify-content: flex-start; padding: 12px 16px 16px; gap: 6px; }
	.lightbox__thumb { width: 52px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.faq__panel.is-animating { transition: none; }
	.faq__plus { transition: none; }
	.lightbox { transition: none; }
	.gallery__img { transition: none; }
	.gallery__item:hover .gallery__img { transform: none; }
}

/* The 404 and legal pages have no sticky header, so they must not inherit the
   padding the landing page needs for it. */
@media (max-width: 900px) {
	body.error404,
	body.page:not(.home) { padding-top: 0; }
}
