/* ==========================================================================
   Zdravotní centrum Náchod
   Layout: plovoucí pill header → hero (text + vizualizace) → bento USP →
   stackující se karty prostorů → galerie → interaktivní půdorys → cena →
   lokalita → FAQ → kontakt + mapa. Barvy vychází ze dvou chodeb v návrhu:
   šalvějová a pudrová, doplněné dřevem z obkladů.
   ========================================================================== */
:root {
	--bg: #E7E6E1;
	--surface: #FFFFFF;
	--surface-2: #F2F1ED;
	--ink: #161814;
	--ink-2: #2B2E28;
	--muted: #62665E;
	--line: #D9D8D1;
	--sage: #B3C0A8;
	--sage-soft: rgba(179, 192, 168, .38);
	--sage-deep: #4C5946;
	--powder: #E9C7C0;
	--powder-soft: rgba(233, 199, 192, .5);
	--powder-deep: #A2645A;
	--wood: #B88553;
	--on-ink: #F2F1EC;
	--on-ink-muted: #A9ACA4;
	--ink-field: #22251F;
	--ink-line: #3A3E36;

	--f: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r-xl: 32px;
	--r-lg: 26px;
	--r: 20px;
	--r-sm: 14px;
	--gutter: clamp(16px, 3vw, 32px);
	--max: 1320px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
	color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: clamp(72px, 10vw, 136px); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--split { grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px 64px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons & chips ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 24px; border-radius: 999px;
	font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--ghost { background: transparent; border-color: rgba(22, 24, 20, .22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 14px; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .85; }
.chip--glass { color: #fff; background: rgba(28, 26, 22, .30); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .55); }
.tags--line li { background: transparent; border: 1px solid var(--line); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: var(--surface-2); }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 50; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 15px); padding-inline: var(--gutter); pointer-events: none; }
.nav-pill {
	pointer-events: auto; position: relative;
	display: flex; align-items: center; gap: 8px;
	max-width: 920px; margin-inline: auto; padding: 8px 8px 8px 20px;
	background: rgba(250, 249, 247, .82); border-radius: 999px;
	backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px -14px rgba(22, 24, 20, .25);
	transition: box-shadow .3s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__img { max-height: 36px; width: auto; }
.brand__mark { display: inline-flex; gap: 3px; }
.brand__mark i { width: 10px; height: 24px; border-radius: 6px; background: var(--sage); }
.brand__mark i + i { background: var(--powder); transform: translateY(5px); }
.brand__word { display: flex; flex-direction: column; font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: -.02em; }
.brand__word small { font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.brand__word--lg { font-size: 30px; }
.brand__word--lg small { font-size: 11px; }

.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: 999px; transition: background-color .2s; }
.nav a:hover, .nav a.is-current { background: rgba(22, 24, 20, .06); }
.nav__extra { display: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle i:first-of-type { top: 17px; }
.nav-toggle i:last-of-type { top: 24px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	padding-top: calc(env(safe-area-inset-top, 0px) + clamp(128px, 11vw, 168px));
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px;
	grid-template-areas: "body media" "stats stats";
}
.hero__body { grid-area: body; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 12px 24px 12px 0; }
.hero__title { font-size: clamp(42px, 4.3vw, 62px); font-weight: 400; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.hero__media { grid-area: media; align-self: center; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: var(--line); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroIn 1.6s var(--ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .28)); pointer-events: none; }
@keyframes heroIn { from { transform: scale(1.06); } to { transform: none; } }
.hero__chip { position: absolute; z-index: 1; }
.hero__chip--1 { left: 7%; top: 11%; }
.hero__chip--2 { right: 6%; top: 46%; }
.hero__chip--3 { left: 22%; bottom: 9%; }

.stats { grid-area: stats; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border-radius: var(--r); padding: 20px 24px 22px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stat dt { font-size: 14px; color: var(--muted); }
.stat dd { font-size: clamp(36px, 3.6vw, 52px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .38em; font-weight: 500; letter-spacing: 0; margin-left: 4px; color: var(--muted); }

/* Optické zarovnání velkých čísel doleva (kompenzace mezery před glyfem; „1“ má větší) */
.stat dd, .tile__num, .price__big { margin-left: -.045em; }
.stat dd.n1, .tile__num.n1 { margin-left: -.085em; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 12px; }
.tile { position: relative; border-radius: var(--r-lg); padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; min-width: 0; text-decoration: none; }
.tile--white { background: var(--surface); }
.tile--sage { background: var(--sage); }
.tile--powder { background: var(--powder); }
.tile--ink { background: var(--ink); color: var(--on-ink); }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.tile__t { font-size: 15px; color: inherit; max-width: 46ch; }
.tile--white .tile__t { color: var(--muted); }
.tile__t strong { color: var(--ink); font-weight: 600; }
.tile__t--lg { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.02em; }
.tile__num { font-size: clamp(56px, 5.6vw, 80px); font-weight: 300; line-height: .9; letter-spacing: -.05em; }
.tile__num small { font-size: 18px; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.tile .ic { width: 30px; height: 30px; }
/* ikony mají ve viewBoxu ~5/24 volného místa vlevo → posun, aby lícovaly s textem */
.tile--icon > .ic { --is: clamp(56px, 5.6vw, 80px); width: var(--is); height: var(--is); stroke-width: 1.1; margin-left: calc(var(--is) * -0.2); }
.tile--photo { padding: 0; min-height: 420px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r); color: #fff; background: rgba(30, 24, 22, .32); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tile--photo .tile__t { font-size: 16px; }
.tile--link .tile__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tile--link:hover .ic { transform: translateX(4px); }
.tile--link .ic { transition: transform .25s var(--ease); }

/* ---------- Stacking cards ---------- */
.stack { display: grid; gap: 24px; }
.stack__card {
	position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 16px);
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px;
	min-height: 520px; padding: 30px; border-radius: var(--r-xl);
	box-shadow: 0 -24px 48px -36px rgba(22, 24, 20, .45);
}
.stack__card--white { background: var(--surface); }
.stack__card--powder { background: var(--powder); }
.stack__card--sage { background: var(--sage); }
.stack__card--ink { background: var(--ink); color: var(--on-ink); }
.stack__card--ink .eyebrow, .stack__card--ink p { color: var(--on-ink-muted); }
.stack__card--ink .h3 { color: var(--on-ink); }
.stack__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 24px 16px 24px 40px; }
.stack__text > p:not(.eyebrow) { max-width: 42ch; font-size: 17px; }
.stack__card--powder .eyebrow, .stack__card--sage .eyebrow { color: rgba(22, 24, 20, .62); }
.stack__text .btn { margin-top: 8px; }
.stack__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; background: rgba(0, 0, 0, .08); }
.stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__chip { position: absolute; }
.stack__chip--1 { left: 8%; top: 12%; }
.stack__chip--2 { right: 7%; top: 46%; }
.stack__chip--3 { left: 28%; bottom: 10%; }


/* ---------- Technologie ---------- */
.tech-intro { display: grid; gap: 16px; }
.tech-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.tech-legend li { display: inline-flex; align-items: center; gap: 8px; }
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tech__card { background: var(--surface); border-radius: var(--r-lg); padding: 26px 28px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tech__title { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.tech__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--ink); }
.tech__card:nth-child(even) .tech__icon { background: var(--powder); }
.tech__list { display: grid; }
.tech__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--muted); }
.tech__list li:first-child { border-top: 0; }
.tech-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; margin-top: 0; }
.tech-mark .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.tech-mark--ok { background: var(--sage-deep); color: var(--on-ink); }
.tech-mark--plan { border: 1.5px dashed var(--muted); }
@media (max-width: 960px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tech { grid-template-columns: 1fr; } .tech__card { padding: 20px; border-radius: var(--r); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery__item { position: relative; display: block; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; cursor: zoom-in; background: var(--line); max-width: 100%; }
.gallery__item--hero { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item--more .gallery__cap { display: none; }
/* Desktop: 5 dlaždic, zbytek jen v lightboxu. Mobil: všechny fotky v posuvném pásu. */
.gallery__item--extra, .gallery__item--more .gallery__zoom { display: none; }
.gallery__item:not(.gallery__item--hero) .gallery__cap span { display: none; }
.gallery__item:not(.gallery__item--hero) .gallery__cap strong { font-size: 14px; }
.gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 18px; background: rgba(16, 18, 14, .52); transition: background-color .3s; }
.gallery__more b { font-size: clamp(30px, 3vw, 44px); font-weight: 300; letter-spacing: -.03em; }
.gallery__item--more:hover .gallery__more { background: rgba(16, 18, 14, .4); }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__cap { position: absolute; left: 12px; bottom: 12px; right: 64px; display: flex; flex-direction: column; text-align: left; gap: 0; padding: 10px 14px; border-radius: var(--r-sm); color: #fff; font-size: 13px; line-height: 1.35; background: rgba(20, 20, 18, .34); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: max-content; }
.gallery__cap strong { font-size: 15px; font-weight: 600; }
.gallery__cap span { opacity: .85; }
.gallery__item--hero .gallery__cap { left: 18px; bottom: 18px; padding: 14px 18px; }
.gallery__item--hero .gallery__cap strong { font-size: 20px; }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(20, 20, 18, .34); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .3s var(--ease); }
.gallery__item:hover .gallery__zoom, .loc__zoom:hover .gallery__zoom { transform: scale(1.1); }

/* ---------- Floor plan ---------- */
.plan-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(14px, 2vw, 24px); }
.plan-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 4px 4px 16px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg__btn { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--muted); transition: background-color .2s, color .2s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-active { background: var(--ink); color: var(--on-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.sw--room { background: var(--sage); }
.sw--stage2 { background: var(--powder); }
.sw--space { background: rgba(98, 102, 94, .16); }

.plan-scroll { overflow-x: auto; border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.plan { position: relative; }
.plan svg { display: block; width: 100%; height: auto; color: rgba(22, 24, 20, .14); font-family: var(--f); }
.plan image { opacity: 1; }


.space rect { fill: transparent; stroke: transparent; stroke-width: 1.2; transition: fill .2s; }
.space { cursor: pointer; outline: none; }
.space:hover rect, .space:focus-visible rect, .space.is-active rect { fill: rgba(22, 24, 20, .08); }

.room { cursor: pointer; outline: none; transition: opacity .3s; }
.room__fill { fill: transparent; stroke: transparent; stroke-width: 2; transition: fill .2s; }
.room__hatch { pointer-events: none; }
.room:hover .room__fill, .room:focus-visible .room__fill { fill: rgba(76, 89, 70, .28); }
.room--pudr:hover .room__fill, .room--pudr:focus-visible .room__fill { fill: rgba(162, 100, 90, .26); }
.room.is-active .room__fill { fill: var(--sage-deep); }
.room--pudr.is-active .room__fill { fill: var(--powder-deep); }
.room:focus-visible .room__fill { stroke: var(--ink); }
.room__badge circle { fill: var(--ink); transition: fill .2s; }
.room__badge text { fill: var(--on-ink); font-size: 18.5px; font-weight: 600; letter-spacing: -.02em; }
.room__badge { transition: opacity .2s; }
/* Při najetí myší číslo schováme — je v tooltipu. (CSS transform na <g> by přepsal SVG atribut translate.) */
@media (hover: hover) and (pointer: fine) { .room:hover .room__badge { opacity: 0; } }
.room.is-active .room__badge circle { fill: var(--surface); }
.room.is-active .room__badge text { fill: var(--ink); }
.room.is-dim { pointer-events: none; }
.room.is-dim .room__fill { fill: rgba(255, 255, 255, .72); }
.room.is-dim .room__badge { opacity: .25; }

.plan-tip {
	position: absolute; z-index: 5; pointer-events: none;
	transform: translate(-50%, calc(-100% - 16px));
	background: var(--ink); color: var(--on-ink); border-radius: var(--r-sm);
	padding: 10px 14px; font-size: 13px; line-height: 1.4; white-space: nowrap;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.plan-tip strong { display: block; font-size: 15px; }
.plan-tip span { color: var(--on-ink-muted); }
.plan-hint { display: none; font-size: 13px; color: var(--muted); padding: 12px 4px 0; }

.room-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.room-row {
	display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
	padding: 14px 16px 14px 14px; border: 0; border-radius: var(--r); background: var(--surface);
	cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s;
}
.room-row:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(22, 24, 20, .35); }
.room-row.is-dim { opacity: .35; }
.room-row__id { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 16px; background: var(--sage); }
.room-row__id--pudr { background: var(--powder); }
.room-row__main { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 13px; color: var(--muted); line-height: 1.4; }
.room-row__main strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.room-row__price { display: flex; flex-direction: column; align-items: flex-end; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.room-row__price small { font-weight: 400; font-size: 12px; color: var(--muted); }
.room-row > .ic { flex: none; color: var(--muted); }

/* Obsazené ordinace */
.room.is-taken .room__fill { fill: rgba(255, 255, 255, .62); }
.room.is-taken .room__badge circle { fill: #9A9D96; }
.room-row.is-taken { opacity: .6; }
.room-row__price--status { color: var(--muted); }

/* ---------- Drawer (detail ordinace) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(16, 18, 14, .42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s both; }
.drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%);
	background: var(--surface); border-radius: var(--r-xl) 0 0 var(--r-xl);
	overflow-y: auto; overscroll-behavior: contain; outline: none;
	padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
	animation: slideIn .45s var(--ease) both;
}
.drawer__close { position: sticky; top: 12px; margin: 12px 12px 0 auto; z-index: 2; display: grid; }
.drawer__body { display: grid; gap: 14px; margin-top: -56px; }
.d-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--line); max-width: 100%; }
.d-media img { width: 100%; height: 100%; object-fit: cover; }
.d-media > .chip { position: absolute; left: 14px; bottom: 14px; }
.d-chips { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.d-head { display: grid; gap: 8px; padding-inline: 6px; }
.d-title { font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.d-text { color: var(--muted); padding-inline: 6px; font-size: 15px; line-height: 1.5; }
.d-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.d-meta div { background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 14px; }
.d-meta dt { font-size: 12px; color: var(--muted); }
.d-meta dd { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.d-price { border-radius: var(--r); padding: 16px 18px; background: var(--ink); color: var(--on-ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-price__k { display: flex; flex-direction: column; font-size: 15px; }
.d-price__k small { font-size: 12px; color: var(--on-ink-muted); margin-top: 2px; }
.d-price > b { font-size: 30px; font-weight: 400; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.d-price div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.d-price .d-total { border-top: 1px solid var(--ink-line); padding-top: 12px; margin-top: 4px; color: var(--on-ink); font-size: 15px; align-items: baseline; }
.d-total b { font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.d-suits { display: grid; gap: 10px; padding-inline: 6px; }
.d-suits .tags li { background: var(--surface-2); }
.d-actions { display: grid; gap: 10px; }
.d-pager { display: flex; justify-content: space-between; gap: 10px; }
.d-pager .btn { flex: 1; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.price__intro { display: flex; flex-direction: column; gap: 18px; padding: 12px 24px 12px 0; }
.price__rates { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: auto; padding-top: 24px; }
.price__rates > div { display: flex; align-items: flex-end; gap: 12px; }
.price__big { font-size: clamp(76px, 10vw, 148px); font-weight: 300; line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.price__rates > div + div .price__big { color: var(--sage-deep); }
.price__unit { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); line-height: 1.35; padding-bottom: 6px; }
.price__unit b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.calc { background: var(--surface); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.calc__label { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.calc__custom { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.calc__rows { display: grid; gap: 10px; padding: 8px 0; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc__rows dd { color: var(--ink); font-weight: 500; }
.calc__total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; align-items: baseline; }
.calc__total dt { color: var(--ink); font-weight: 500; }
.calc__total dd { font-size: 34px; font-weight: 400; letter-spacing: -.03em; }
.calc__note { font-size: 13px; color: var(--muted); }

.field {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
	padding: 13px 16px; transition: border-color .2s, background-color .2s;
}
.field:focus { outline: none; border-color: var(--ink); background: var(--surface); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 44px; background-size: 12px 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23161814' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }

/* ---------- Location ---------- */
.address { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.address__pin { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); }
.address__pin .ic { width: 22px; height: 22px; }
.loc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.loc__map.map { margin-top: 0; height: clamp(360px, 38vw, 520px); }
.loc__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 2px 4px 0; }
.loc-legend { gap: 8px 16px; justify-content: flex-end; }
.lg { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; }
.lg--box { border-radius: 4px; background: var(--c); }
.lg--rail { width: 22px; height: 4px; background: repeating-linear-gradient(90deg, #161814 0 5px, #fff 5px 7px); border: 1px solid #161814; border-radius: 1px; }
.lg--road { width: 22px; height: 3px; border-radius: 2px; background: #A000D8; }
.lg--dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.lg--dot svg { width: 12px; height: 12px; }
@media (max-width: 960px) { .loc-legend { justify-content: flex-start; } }
.loc__panel { display: grid; gap: 12px; }
.loc__panel figcaption { font-size: 13px; color: var(--muted); padding-inline: 4px; }
.loc__zoom { position: relative; display: block; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--surface-2); width: 100%; }
.loc__zoom img { width: 100%; height: auto; }
.loc__side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.loc__side .tile { min-height: 0; justify-content: flex-start; }
.walk { display: grid; gap: 12px; }
.walk li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; font-size: 15px; color: var(--muted); }
.walk b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Mapa okolí (obrázek místo Google mapy) */
.loc__map.map { height: auto; aspect-ratio: 2000 / 990; }
.map__img { position: absolute; inset: 0; border-radius: 0; }
.map__img img { width: 100%; height: 100%; object-fit: cover; }
.map__img .gallery__zoom { top: 16px; bottom: auto; right: 16px; }
.loc .loc-legend { justify-content: flex-start; padding: 2px 4px 4px; }
.lg--txt { color: #fff; font-size: 10px; font-weight: 700; font-style: normal; line-height: 1; }
.lg--rail { background: repeating-linear-gradient(90deg, #1B3A9A 0 5px, #fff 5px 7px); border-color: #1B3A9A; }
.lg--walk { width: 22px; height: 0; border-top: 3px dotted #C0392B; }
@media (max-width: 560px) {
	.loc__map.map { aspect-ratio: auto; }
	.map__img { position: relative; inset: auto; }
	.map__img img { height: auto; }
	.map__img picture { display: block; }
	.loc .loc-legend { display: none; }
	.map__img .gallery__zoom { top: 10px; right: 10px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: start; }
.faq__head { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { display: grid; gap: 10px; padding: 10px; border-radius: calc(var(--r) + 10px); background: #DCDBD5; }
.faq__item { background: var(--surface); border-radius: var(--r); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 24px 28px; cursor: pointer; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -.015em; line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { flex: none; position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(22, 24, 20, .3); transition: border-color .2s, background-color .2s; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__ic { border-color: var(--ink); }
.faq__item[open] .faq__ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item summary:hover .faq__ic { background: var(--surface-2); }
.faq__a { padding: 0 28px 26px; color: var(--muted); max-width: 70ch; }
.faq__item[open] .faq__a { animation: fade .35s both; }

/* ---------- Contact ---------- */
.contact {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px;
	background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl);
	padding: clamp(28px, 5vw, 64px);
}
.contact .eyebrow, .contact .lead { color: var(--on-ink-muted); }
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.person { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.person__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--powder); color: var(--ink); font-weight: 600; font-size: 20px; }
.person strong { display: block; font-weight: 600; }
.person small { color: var(--on-ink-muted); font-size: 14px; }
.contact__lines { display: grid; gap: 12px; }
.contact__lines li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.contact__lines .ic { color: var(--sage); flex: none; }
.contact__lines a { text-decoration: none; border-bottom: 1px solid var(--ink-line); }
.contact__lines a:hover { border-color: var(--on-ink); }

.form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; color: var(--on-ink-muted); min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.contact .field { background: var(--ink-field); border-color: var(--ink-line); color: var(--on-ink); }
.contact .field::placeholder { color: #7D8178; }
.contact .field:focus { border-color: var(--sage); background: var(--ink-field); }
.contact select.field { background-color: var(--ink-field); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23F2F1EC' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.contact select.field option { color: var(--ink); background: var(--surface); }
.field.is-invalid, .contact .field.is-invalid { border-color: var(--powder); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--on-ink-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sage); flex: none; }
.form__note { font-size: 13px; color: var(--on-ink-muted); }
.form__msg { padding: 14px 18px; border-radius: var(--r-sm); font-size: 15px; }
.form__msg--ok { background: var(--sage); color: var(--ink); }
.form__msg--err { background: var(--powder); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { position: relative; margin-top: 12px; border-radius: var(--r-xl); overflow: hidden; height: clamp(340px, 42vw, 500px); background: var(--surface); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.02); }
/* Google embed má vlevo nahoře vlastní kartu („Otevřít v Mapách“). Iframe posuneme nahoru a ořízneme ji;
   výšku ořezu lze doladit proměnnou --map-crop. Atribuce Googlu dole zůstává viditelná. */
.map__frame { position: absolute; inset: 0; overflow: hidden; --map-crop: 150px; }
.map__frame iframe { position: absolute; left: 0; right: 0; top: calc(var(--map-crop) * -1); width: 100%; height: calc(100% + var(--map-crop)); }
.map__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map__preview { position: relative; height: 100%; }
.map__preview img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.map__preview p { position: absolute; right: 16px; top: 16px; left: auto; max-width: calc(100% - 32px); font-size: 13px; background: var(--surface); padding: 8px 14px; border-radius: 14px; }
.map__card { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 4px; justify-items: start; background: var(--surface); border-radius: var(--r); padding: 20px 22px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); max-width: calc(100% - 32px); }
.map__card span { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.map__preview--empty { display: grid; place-content: center; justify-items: center; gap: 14px; background-color: var(--surface-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.map__preview--empty p { position: static; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(64px, 8vw, 104px) calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 48px; border-top: 1px solid var(--line); padding-top: 36px; }
.footer__brand { display: grid; gap: 14px; align-content: start; color: var(--muted); }
.footer__brand .brand__word { color: var(--ink); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; align-content: start; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.footer__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.footer__sep { opacity: .5; }
@media (max-width: 760px) { .footer__meta { flex-direction: column; } .footer__sep { display: none; } }

.footer__link { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer__meta a, .footer__link { text-decoration: underline; text-underline-offset: 3px; }
.footer__meta a:hover, .footer__link:hover { color: var(--ink); }
.form__note a { color: inherit; }

/* ---------- Podstránka (zásady) ---------- */
.page { padding-top: calc(env(safe-area-inset-top, 0px) + 140px); }
.page__article { max-width: 760px; }
.page__article .eyebrow a { text-decoration: none; }
.page__title { margin: 14px 0 32px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-top: 1.8em; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: var(--r-sm); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--surface-2); }
.prose figure { margin: 1.4em 0 0; overflow-x: auto; }

/* ---------- Cookie lišta (vanilla-cookieconsent) ---------- */
#cc-main {
	--cc-font-family: var(--f);
	--cc-modal-border-radius: var(--r);
	--cc-btn-border-radius: 999px;
	--cc-bg: var(--surface);
	--cc-primary-color: var(--ink);
	--cc-secondary-color: var(--muted);
	--cc-btn-primary-bg: var(--ink);
	--cc-btn-primary-color: var(--on-ink);
	--cc-btn-primary-border-color: var(--ink);
	--cc-btn-primary-hover-bg: #000;
	--cc-btn-primary-hover-border-color: #000;
	--cc-btn-secondary-bg: var(--surface-2);
	--cc-btn-secondary-color: var(--ink);
	--cc-btn-secondary-border-color: var(--surface-2);
	--cc-btn-secondary-hover-bg: var(--line);
	--cc-btn-secondary-hover-border-color: var(--line);
	--cc-toggle-on-bg: var(--sage-deep);
	--cc-toggle-off-bg: #9A9D96;
	--cc-toggle-readonly-bg: var(--line);
	--cc-cookie-category-block-bg: var(--surface-2);
	--cc-cookie-category-block-border: var(--surface-2);
	--cc-cookie-category-block-hover-bg: var(--line);
	--cc-cookie-category-block-hover-border: var(--line);
	--cc-separator-border-color: var(--line);
	--cc-link-color: var(--ink);
	--cc-overlay-bg: rgba(16, 18, 14, .42);
	--cc-z-index: 300;
}
#cc-main .cm { box-shadow: 0 20px 50px -20px rgba(22, 24, 20, .45); }
#cc-main .pm__section, #cc-main .pm__section-toggle { border-radius: var(--r-sm); }
#cc-main .cm__btn, #cc-main .pm__btn { font-weight: 500; }
#cc-main .cm__title, #cc-main .pm__title { font-weight: 600; }
/* Lišta: „Přijmout vše“ přes celou šířku, pod ním „Odmítnout“ a „Nastavení“ napůl */
#cc-main .cm .cm__btns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
#cc-main .cm .cm__btns .cm__btn-group { display: contents !important; }
#cc-main .cm .cm__btns .cm__btn { margin: 0 !important; width: auto; min-width: 0; }
#cc-main .cm .cm__btns .cm__btn[data-role="all"] { grid-column: 1 / -1; }
#cc-main .cm .cm__btn[data-role="necessary"] { background: var(--cc-btn-secondary-bg); border-color: var(--cc-btn-secondary-border-color); color: var(--cc-btn-secondary-color); }
#cc-main .cm .cm__btn[data-role="necessary"]:hover { background: var(--cc-btn-secondary-hover-bg); border-color: var(--cc-btn-secondary-hover-border-color); }

/* ---------- Mobile bottom bar ---------- */
.mbar { display: none; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(12, 13, 11, .94); display: grid; place-items: center; padding: 64px 72px calc(32px + env(safe-area-inset-bottom, 0px)); animation: fade .25s both; }
.lb__fig { display: grid; gap: 14px; justify-items: center; max-width: 100%; touch-action: pan-y; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: var(--r-sm); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; color: #F2F1EC; font-size: 14px; text-align: center; }
.lb figcaption span { color: #A9ACA4; }
.lb__count { font-variant-numeric: tabular-nums; }
.lb .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.lb .icon-btn:hover { background: rgba(255, 255, 255, .2); }
.lb__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); right: 16px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
body.is-locked { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.room-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stack__text { padding: 16px 8px 16px 16px; }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.nav-pill { padding: 6px 6px 6px 16px; border-radius: 28px; flex-wrap: wrap; }
	.nav-toggle { display: block; }
	.nav {
		order: 10; flex-basis: 100%; display: none; flex-direction: column; gap: 2px;
		padding: 8px 4px 6px; border-top: 1px solid var(--line); margin-top: 6px;
	}
	.nav.is-open { display: flex; animation: fade .25s both; }
	.nav a { font-size: 20px; padding: 12px 14px; letter-spacing: -.01em; }
	.nav__extra { display: block; }

	.hero { grid-template-columns: 1fr; grid-template-areas: "body" "media" "stats"; padding-top: calc(env(safe-area-inset-top, 0px) + 100px); }
	.hero__body { padding: 8px 0 12px; }
	.hero__media { aspect-ratio: 16 / 9; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.section__head--split { grid-template-columns: 1fr; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); }

	.stack__card { grid-template-columns: 1fr; min-height: 0; padding: 14px; gap: 8px; top: calc(var(--header-h) + 16px + var(--i) * 10px); }
	.stack__text { order: 2; padding: 14px 10px 12px; gap: 12px; }
	.stack__text > p:not(.eyebrow) { font-size: 15px; }
	.stack__media { min-height: 0; aspect-ratio: 16 / 10; }
	.stack__chip--3 { display: none; }

	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery__item--hero { grid-row: auto; aspect-ratio: 16 / 10; }

	.price, .loc, .faq, .contact { grid-template-columns: 1fr; }
	.price__intro { padding: 0; }
	.faq__head { position: static; }
	.loc__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.loc__side .tile:first-child { grid-column: 1 / -1; }
	.footer { grid-template-columns: 1fr; }
	.footer__nav { justify-content: flex-start; }

	.mbar {
		display: flex; gap: 8px; position: fixed; z-index: 40; left: 12px; right: 12px;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); padding: 6px;
		border-radius: 999px; background: rgba(250, 249, 247, .9);
		backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
		box-shadow: 0 10px 30px -10px rgba(22, 24, 20, .35);
		transform: translateY(calc(100% + 40px)); transition: transform .4s var(--ease);
	}
	.mbar.is-visible { transform: none; }
	.mbar .btn { flex: 1; }
	.site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 760px) {
	.plan { width: 760px; }
	.plan-hint { display: block; }
	.room-list { grid-template-columns: 1fr; }
	.room-row__main span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	.drawer__panel {
		top: auto; left: 0; width: 100%; max-height: 90vh; max-height: 90dvh;
		border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 14px 14px calc(20px + env(safe-area-inset-bottom, 0px));
		animation-name: slideUp;
	}
	.drawer__panel::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 10px; }
	.d-title { font-size: 32px; }
	.d-media { aspect-ratio: 16 / 8; }
	.drawer__body { gap: 12px; }

	.lb { padding: 64px 0 calc(90px + env(safe-area-inset-bottom, 0px)); }
	.lb__fig img { border-radius: 0; max-height: calc(100vh - 220px); }
	.lb__nav { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: none; }
	.lb__nav--prev { left: calc(50% - 56px); }
	.lb__nav--next { right: calc(50% - 56px); }
}

@media (max-width: 560px) {
	.btn--sm.btn--dark { padding: 0 14px; }
	.hero__title { font-size: clamp(42px, 12.5vw, 56px); }
	.hero__cta .btn { flex: 1; }
	.hero__chip--2 { display: none; }
	.stat { padding: 16px 18px; }
	.stat dd { font-size: clamp(30px, 8.6vw, 40px); }
	.stat dd small { margin-left: 3px; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
	.tile { padding: 20px; border-radius: var(--r); }
	.tile--big, .tile--wide { grid-column: span 2; grid-row: auto; }
	.bento > .tile { grid-column: span 2; }
	.tile__num { font-size: 48px; }
	.tile__num small { font-size: 14px; }
	.tile--photo { min-height: 380px; }
	.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.gallery::-webkit-scrollbar { display: none; }
	.gallery__item, .gallery__item--hero { flex: 0 0 86%; scroll-snap-align: center; aspect-ratio: 4 / 3.6; }
	.gallery__item--extra { display: block; }
	.gallery__more { display: none; }
	.gallery__item--more .gallery__cap { display: flex; }
	.gallery__item--more .gallery__zoom { display: grid; }
	.form__grid { grid-template-columns: 1fr; }
	.loc__side { grid-template-columns: 1fr; }
	.faq__item summary { padding: 20px 18px 20px 20px; }
	.faq__a { padding: 0 20px 22px; }
	.faq__list { padding: 6px; gap: 6px; border-radius: calc(var(--r) + 6px); }
	.map { height: auto; display: flex; flex-direction: column; }
	.map iframe, .map__preview { height: 380px; }
	.map__frame { position: relative; inset: auto; height: 380px; }
	.map__frame iframe { height: calc(380px + var(--map-crop)); }
	.map__card { position: static; max-width: none; border-radius: 0; box-shadow: none; padding: 20px; }
	.map__preview p { top: 12px; right: 12px; }
	.d-meta dd { font-size: 15px; }
}

@media (max-height: 620px) and (max-width: 960px) {
	.stack__card { position: relative; top: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
