/* Rezidencia Sútok – ukážkový web developerského projektu (AMANI Visual). Identita: mestská, teplá béžová, tehlová, tmavomodrá, geometrický sans.
   Pôdorysy: teplý papier, tmavosivé steny, tenké čiary nábytku (px, nezávisle od mierky). */
:root {
  --bg: #F4F1EC; --bg-2: #EBE6DE; --card: #FFFFFF; --paper: #F8F5EF;
  --ink: #17202A; --ink-2: #3C4653; --ink-3: #6B7582;
  --brick: #A86A4A; --brick-d: #8E5537; --brick-soft: #EBD3C6; --navy: #1E3A5F; --navy-soft: #D7E1EE;
  --ok: #2E7D5B; --ok-soft: #DCEFE4; --ok-ink: #1F5F43; --warn: #B8862B; --warn-soft: #F4E7C9; --warn-ink: #6B4F12; --sold: #6E757D; --sold-soft: #E4E6E9; --sold-ink: #4E555C;
  --wall: #353A40; --line: rgba(23, 32, 42, .14); --line-2: rgba(23, 32, 42, .24);
  --font-display: 'Schibsted Grotesk', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.5vw, 72px);
  --bar-h: 0px; --nav-h: 70px; --header-h: var(--nav-h);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --accent: var(--brick); --scene-paper: var(--bg); --scene-ink: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lite { scroll-behavior: auto; }
body { margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.55; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, canvas, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
[id]:not(.story) { scroll-margin-top: calc(var(--header-h) + 10px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.mm { display: none; }
@media (max-width: 760px) { .dd { display: none; } .mm { display: inline; } }

.eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--brick-d); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.h-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.h-xl { font-size: clamp(40px, 5.8vw, 84px); }
.h-lg { font-size: clamp(30px, 4vw, 56px); }
.h-md { font-size: clamp(26px, 3vw, 40px); }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.3em; border-radius: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.15; text-decoration: none; border: 1.5px solid transparent; transition: transform .35s var(--ease); min-height: 46px; max-width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--brick { background: var(--brick); color: #fff; }
.btn--brick:hover { background: var(--brick-d); }
.btn--ghost { border-color: currentColor; }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--light[aria-pressed="true"] { background: var(--navy-soft); border-color: var(--navy); color: var(--navy); }
.btn--sm { min-height: 44px; padding: .55em 1em; font-size: 13.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; } }
html.lite .btn, html.lite .btn:hover { transition: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* hlavička */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; background: rgba(244, 241, 236, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-wrap { display: grid; gap: 1px; min-width: 0; }
.brand { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand i { width: 24px; height: 24px; border-radius: 7px; background: var(--navy); position: relative; flex: none; }
.brand i::after { content: ''; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 3px; background: var(--brick); }
.demo-note { font-size: 11.5px; color: var(--ink-3); text-decoration: none; padding-left: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-note:hover { color: var(--ink); text-decoration: underline; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); font-size: 13.5px; font-weight: 600; flex: none; }
.site-nav a { text-decoration: none; color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { color: #fff; background: var(--navy); border-radius: 8px; padding: 0 14px; white-space: nowrap; }
.site-nav .cmp b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; background: var(--brick); color: #fff; font-size: 11px; margin-left: 5px; }
@media (max-width: 1060px) { .site-nav a.d { display: none; } }
@media (max-width: 760px) { :root { --nav-h: 62px; } .brand { font-size: 16px; gap: 8px; } .brand i { width: 20px; height: 20px; } .brand i::after { left: 5px; top: 5px; width: 10px; height: 10px; } .demo-note { padding-left: 0; font-size: 10.5px; } .site-nav { gap: 10px; font-size: 12.5px; } .site-nav .nav-cta { padding: 0 10px; } }
@media (max-width: 350px) { .brand { font-size: 15px; } .site-nav .cmp { display: none; } }

/* filmový úvod + scéna */
.story--aerial .story__stage { background: #1b1a17; color: var(--bg); }
.story--aerial .story__media canvas, .story--aerial .story__media img { object-position: 50% 45%; }
.story--aerial .story__media::after { background: linear-gradient(90deg, rgba(23, 32, 42, .6) 0%, rgba(23, 32, 42, .25) 36%, rgba(23, 32, 42, 0) 60%), linear-gradient(rgba(23, 32, 42, .4), rgba(23, 32, 42, 0) 30%, rgba(23, 32, 42, 0) 70%, rgba(23, 32, 42, .55)); }
.story--aerial .flow .h-md, .story--aerial .flow .h-xl { color: #fff; }
.story--aerial .flow .lead { color: rgba(244, 241, 236, .9); }
.story--aerial .flow .eyebrow { color: var(--brick-soft); }
.story--aerial .flow { width: min(600px, 46%); }
@media (max-width: 900px) { .story--aerial .flow { width: auto; } .story--aerial .h-xl { font-size: clamp(36px, 10.5vw, 56px); } }
.story__top, .story__footer { color: var(--bg); }
.story--aerial .story__track i, .story--aerial .story__loading i::after { background: var(--bg); }
.story--aerial .co__label { background: rgba(23, 32, 42, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 10px; }
.story--aerial .co__label b { color: #fff; font-family: var(--font-body); font-size: 15px; }
.story--aerial .co__dot { fill: var(--bg); }
.story--aerial .co__box { background: rgba(23, 32, 42, .7); color: var(--bg); }
.story__skip { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 22px); z-index: 4; }
.story__note { position: absolute; right: var(--gutter); bottom: 68px; z-index: 3; font-size: 11.5px; color: rgba(244, 241, 236, .7); max-width: 34em; text-align: right; }
@media (max-width: 900px) { .story__skip, .story__note { display: none; } .story--aerial .story__media::after { background: linear-gradient(rgba(23, 32, 42, .55), rgba(23, 32, 42, .1) 25%, rgba(23, 32, 42, .25) 55%, rgba(23, 32, 42, .7)); } }
.story.is-static .story__stage { color: var(--ink); background: var(--bg-2); }
.story.is-static .story__top, .story.is-static .story__footer { color: var(--ink-2); }
.story.is-static .flow .h-md, .story.is-static .flow .h-xl, .story.is-static .flow .lead { color: var(--ink); text-shadow: none; }
.story.is-static .flow .eyebrow { color: var(--brick-d); }
.story.is-static .story__skip { display: none; }
.nw { white-space: nowrap; }
.story.is-static .story__note { position: static; margin: 0 var(--gutter) 20px; order: 3; text-align: left; color: var(--ink-3); }

/* sekcie */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--navy); color: var(--bg); }
.section--dark .lead { color: rgba(244, 241, 236, .85); }
.section--dark .eyebrow { color: var(--brick-soft); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem 3rem; align-items: end; margin-bottom: clamp(22px, 4vw, 40px); }
.section-head > div { display: grid; gap: 14px; }
.section-head h2:focus { outline: none; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }
.living { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.living figure { display: grid; gap: 10px; }
.living img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.living figcaption { font-size: 13.5px; color: var(--ink-3); }
.living .stack { display: grid; gap: 18px; }
.living .stack img { aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .living { grid-template-columns: 1fr; } }
.amen { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.amen img { width: 100%; height: auto; border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; }
.amen ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.amen li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: rgba(244, 241, 236, .9); border-top: 1px solid rgba(244, 241, 236, .16); padding-top: 10px; }
.amen li b { color: #fff; min-width: 8.5em; }
.map { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; }
@media (max-width: 800px) { .amen { grid-template-columns: 1fr; } .amen li { flex-direction: column; gap: 2px; } }

/* výberový modul */
.picker { background: var(--bg); overflow-anchor: none; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 18px; font-size: 13px; }
.steps a, .steps span { text-decoration: none; padding: 0 12px; min-height: 36px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.steps a:hover { border-color: var(--navy); }
.steps span[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.steps i { font-style: normal; color: var(--ink-3); }
@media (pointer: coarse), (max-width: 760px) { .steps a, .steps span { min-height: 44px; } }
.view { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(18px, 3vw, 36px); align-items: start; }
.view.is-single { grid-template-columns: minmax(0, 1fr); }
.view > * { min-width: 0; }
@media (max-width: 1000px) { .view { grid-template-columns: minmax(0, 1fr); } }
.hot { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.hot img { width: 100%; height: auto; }
.hot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hot .area { fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, .6); stroke-width: 2.5; cursor: pointer; outline: none; vector-effect: non-scaling-stroke; }
.hot .area:hover, .hot .area:focus-visible, .hot .area.is-hover { fill: rgba(168, 106, 74, .35); stroke: #fff; stroke-width: 3.5; }
.hot .area:focus-visible { stroke: #FFD9A8; stroke-width: 4; }
.hot .area.is-none { cursor: default; stroke: rgba(255, 255, 255, .25); }
.hot .area.is-none:hover { fill: rgba(23, 32, 42, .25); }
.hot .lbl { font-family: var(--font-display); font-weight: 700; fill: #fff; pointer-events: none; paint-order: stroke; stroke: rgba(23, 32, 42, .55); stroke-width: 6px; }
.hot__tip { position: absolute; z-index: 3; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 9px 12px; font-size: 13px; line-height: 1.4; pointer-events: none; opacity: 0; transition: opacity .15s; transform: translate(-50%, calc(-100% - 12px)); min-width: 160px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hot__tip.is-on { opacity: 1; }
.hot__tip b { display: block; font-family: var(--font-display); font-size: 16px; }
.side { display: grid; gap: 14px; align-content: start; }
.side h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.list { list-style: none; padding: 0; display: grid; gap: 8px; }
.list a { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; text-decoration: none; min-height: 56px; }
.list a:hover, .list .is-hover { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.list b { font-family: var(--font-display); }
.list .cnt { font-size: 12.5px; color: var(--ink-3); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; border-radius: 999px; padding: 4px 9px 4px 7px; white-space: nowrap; line-height: 1.2; }
.st i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.st--available { background: var(--ok-soft); color: var(--ok-ink); } .st--available i { background: var(--ok); border-radius: 50%; }
.st--reserved { background: var(--warn-soft); color: var(--warn-ink); } .st--reserved i { background: repeating-linear-gradient(45deg, var(--warn) 0 2px, transparent 2px 4px); outline: 1px solid var(--warn); }
.st--sold { background: var(--sold-soft); color: var(--sold-ink); } .st--sold i { background: repeating-linear-gradient(45deg, var(--sold) 0 1.5px, transparent 1.5px 3px), repeating-linear-gradient(-45deg, var(--sold) 0 1.5px, transparent 1.5px 3px); outline: 1px solid var(--sold); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; background: #fff; }
.seg a { border-radius: 9px; padding: 0 14px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.seg a:hover { background: var(--bg); }
.seg [aria-current] { background: var(--navy); color: #fff; }
.seg [aria-current]:hover { background: var(--navy); }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-3); display: grid; gap: 10px; justify-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.empty b { color: var(--ink); font-size: 17px; }

/* legenda dostupnosti (farba + šrafa + text) */
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend small { color: var(--ink-3); font-size: 12px; }
.lg-sw { width: 20px; height: 20px; flex: none; overflow: hidden; }
.lg-sw .b { stroke-width: 1.5; }
.lg-sw--available .b { fill: #EEF6F1; stroke: var(--ok); }
.lg-sw--reserved .b { fill: #FBF3E3; stroke: var(--warn); }
.lg-sw--reserved .h { stroke: var(--warn); stroke-width: 1.6; }
.lg-sw--sold .b { fill: #E8EAEC; stroke: var(--sold); }
.lg-sw--sold .h { stroke: var(--sold); stroke-width: 1.1; }

/* ---------- pôdorysy (SVG z plans.js) ---------- */
.plan { display: block; width: 100%; height: auto; font-family: var(--font-body); -webkit-user-select: none; user-select: none; }
.plan text { font-family: var(--font-body); }
.plan .poche { fill: var(--wall); }
.plan .pt-poche { fill: #383D43; } .plan .pt-pl { stroke: #474D54; stroke-width: .6px; vector-effect: non-scaling-stroke; }
.plan .rm { fill: #FEFCF8; } .plan .rm--h { fill: #FAF7F1; }
.plan .pt-wet { fill: #EEF1F1; } .plan .pt-wl { fill: none; stroke: #DAE0E1; stroke-width: .5px; vector-effect: non-scaling-stroke; }
.plan .pt-deck { fill: #EFE6D6; } .plan .pt-dl { stroke: #DDCEB5; stroke-width: .5px; vector-effect: non-scaling-stroke; }
.plan .cm { fill: #E7E3DB; } .plan .cm--t { fill: #DEDAD1; } .plan .cm--x { fill: #ECE8E1; }
.plan .op { fill: #FAF7F1; }
.plan .wo { fill: #fff; }
.plan .wl { stroke: #2C3035; stroke-width: .7px; vector-effect: non-scaling-stroke; fill: none; }
.plan .wg { fill: #fff; stroke: #2C3035; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.plan .dl { stroke: #2C3035; stroke-width: 1.3px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.plan .da { fill: none; stroke: #858B92; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.plan .fu { fill: #fff; stroke: #6F757C; stroke-width: .75px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.plan .fd { fill: none; stroke: #9AA0A6; stroke-width: .6px; vector-effect: non-scaling-stroke; }
.plan .fs { fill: #6F757C; stroke: none; }
.plan .bal { stroke: #B9AB94; stroke-width: .6px; vector-effect: non-scaling-stroke; }
.plan .rail { fill: none; stroke: #2C3035; stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.plan .rail2 { fill: none; stroke: #2C3035; stroke-width: .6px; vector-effect: non-scaling-stroke; }
.plan .tr { stroke: #6F757C; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.plan .eye { fill: var(--wall); }
.plan .walk, .plan .brk { fill: none; stroke: #2C3035; stroke-width: .8px; vector-effect: non-scaling-stroke; }
.plan .lift { fill: none; stroke: #6F757C; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.plan .cl { fill: #6F7781; text-anchor: middle; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.plan .cl--s { text-transform: none; letter-spacing: .02em; font-weight: 600; }
.plan .side { fill: #6F7781; text-anchor: middle; letter-spacing: .14em; font-weight: 700; }
.plan .rl-n { fill: #1D242C; text-anchor: middle; font-weight: 700; }
.plan .rl-a { fill: #56606A; text-anchor: middle; font-variant-numeric: tabular-nums; font-weight: 500; }
.plan .rl-c { fill: #fff; stroke: #1D242C; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan .dim line { stroke: #5D646C; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.plan .dim text { fill: #3C4653; text-anchor: middle; font-variant-numeric: tabular-nums; font-weight: 700; }
.plan .na-c { fill: #fff; stroke: #2C3035; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan .na-f { fill: #2C3035; } .plan .na-o { fill: #fff; stroke: #2C3035; stroke-width: .8px; vector-effect: non-scaling-stroke; }
.plan .na-t { text-anchor: middle; font-weight: 800; fill: #2C3035; }
.plan .sb-b { fill: #2C3035; } .plan .sb-w { fill: #fff; } .plan .sb-o { fill: none; stroke: #2C3035; stroke-width: .8px; vector-effect: non-scaling-stroke; }
.plan .sb-t { fill: #3C4653; text-anchor: middle; font-weight: 600; }
/* jednotky na podlaží: stav = farba + šrafa + text */
.plan .u { cursor: pointer; outline: none; }
.plan .u-t { fill: transparent; }
.plan .st-available .u-t { fill: rgba(46, 125, 91, .07); }
.plan .st-reserved .u-t { fill: rgba(184, 134, 43, .09); }
.plan .st-sold .u-t { fill: rgba(78, 85, 92, .20); }
.plan .pt-res, .plan .pt-sold { fill: transparent; }
.plan .pt-resl { fill: rgba(184, 134, 43, .42); }
.plan .pt-soldl { fill: rgba(78, 85, 92, .26); }
.plan .u-o { fill: none; stroke: transparent; stroke-width: 3px; vector-effect: non-scaling-stroke; }
.plan .u:hover .u-t, .plan .u.is-hot .u-t { fill: rgba(30, 58, 95, .12); }
.plan .u:hover .u-o, .plan .u.is-hot .u-o { stroke: var(--navy); }
.plan .u:focus-visible .u-o { stroke: var(--brick); stroke-width: 4px; }
.plan .u.is-dim .u-t { fill: rgba(248, 245, 239, .72); }
.plan .u.is-dim .u-p { opacity: .35; }
.plan .chip { pointer-events: none; }
.plan .chip-bg { fill: rgba(255, 255, 255, .94); stroke: rgba(23, 32, 42, .16); stroke-width: .8px; vector-effect: non-scaling-stroke; }
.plan .chip.is-hot .chip-bg { fill: var(--navy); stroke: var(--navy); }
.plan .chip.is-hot .c1, .plan .chip.is-hot .c2 { fill: #fff; }
.plan .chip.is-dim { opacity: .5; }
.plan .c1 { fill: var(--ink); font-weight: 800; text-anchor: middle; font-family: var(--font-display); }
.plan .c2 { fill: var(--ink-2); text-anchor: middle; font-weight: 600; }
.plan .c3 { text-anchor: middle; font-weight: 800; letter-spacing: .03em; }
.plan .pill--available { fill: var(--ok-soft); } .plan .c3--available { fill: var(--ok-ink); }
.plan .pill--reserved { fill: var(--warn-soft); } .plan .c3--reserved { fill: var(--warn-ink); }
.plan .pill--sold { fill: var(--sold-soft); } .plan .c3--sold { fill: var(--sold-ink); }
/* kľúčový / malý plán */
.plan--mini .st-key .u-t { fill: transparent; }
.plan--mini .u.is-hi .u-t { fill: rgba(168, 106, 74, .55); }
.plan--mini .u.is-hi .u-o { stroke: var(--brick-d); }
.plan--mini .u.is-hot .u-t { fill: rgba(30, 58, 95, .35); }

/* pôdorys podlažia */
.fp__head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.fnote { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; background: var(--navy-soft); border: 1px solid rgba(30, 58, 95, .25); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.fnote__act { display: inline-flex; gap: 14px; align-items: center; }
.fnote__act a, .fnote__act button { font-weight: 700; color: var(--navy); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.fp { position: relative; background: var(--paper); border-radius: 16px; border: 1px solid var(--line); padding: clamp(6px, 1.2vw, 14px); }
.fp__tip { position: absolute; z-index: 5; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 9px 12px; font-size: 13px; line-height: 1.4; pointer-events: none; opacity: 0; transition: opacity .12s; transform: translate(-50%, -100%); width: max-content; max-width: 280px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: grid; gap: 2px; }
.fp__tip.is-below { transform: translate(-50%, 0); }
.fp__tip.is-on { opacity: 1; }
.fp__tip b { font-family: var(--font-display); font-size: 16px; }
.fp__tipp { font-weight: 700; color: #fff; }
.fp__below { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; margin-top: 12px; }
.fp__hint { font-size: 13px; color: var(--ink-3); }
@media (hover: none) { .fp__hint .dd { display: none; } .fp__hint .mm { display: inline; } }
.fp__sel:not(:empty) { margin-top: 12px; }
.selc { background: #fff; border: 1.5px solid var(--navy); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.selc__h { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.selc__h b { font-family: var(--font-display); font-size: 20px; }
.selc p { font-size: 14px; color: var(--ink-2); }
.selc__p { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink) !important; }
.selc__p small, .ucard__p small { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.selc__a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ulist { margin-top: clamp(22px, 3vw, 34px); display: grid; gap: 12px; }
.ulist h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ulist h3 span { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.ulist ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ucard { display: grid; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; height: 100%; }
.ucard:hover, .ucard.is-hot { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.ucard.is-dim { opacity: .55; }
.ucard__n { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ucard__n b { font-family: var(--font-display); font-size: 17px; }
.ucard__m { font-size: 14.5px; font-weight: 600; }
.ucard__s { font-size: 13px; color: var(--ink-3); }
.ucard__p { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-top: 3px; }

/* detail bytu */
.unit { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: clamp(16px, 2.6vw, 32px); align-items: start; }
.unit__plan { background: var(--paper); border-radius: 16px; border: 1px solid var(--line); padding: clamp(6px, 1.2vw, 14px); display: grid; gap: 8px; }
.unit__nums { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); padding: 0 6px; }
.unit__nums span { display: inline-flex; gap: 6px; align-items: center; }
.unit__nums b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ink); font-size: 11px; }
.unit__cap { font-size: 12.5px; color: var(--ink-3); padding: 0 6px 4px; }
.unit__info { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 2vw, 24px); position: sticky; top: calc(var(--header-h) + 14px); }
.unit__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.unit__type { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.unit__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; line-height: 1.05; }
.unit__h span { display: block; color: var(--brick-d); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 1px; }
.facts dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.facts dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.01em; }
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.unit__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.unit__note { font-size: 13.5px; color: var(--ink-3); }
.unit__note--t { color: var(--ink-2); background: var(--warn-soft); border-radius: 10px; padding: 8px 12px; }
.keyplan { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.keyplan span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.keyplan [data-key] { background: var(--paper); border-radius: 10px; padding: 4px; }
.unit__more { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(16px, 2.6vw, 32px); margin-top: clamp(18px, 3vw, 32px); align-items: start; }
.unit__more h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.rooms, .gal { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(14px, 2vw, 22px); display: grid; gap: 10px; }
.rt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rt th, .rt td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-weight: 500; vertical-align: baseline; }
.rt thead th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.rt .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt .no { width: 2.2em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rt tfoot th { font-weight: 600; color: var(--ink-2); }
.rt tr.sum th, .rt tr.sum td { border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.gal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gal figure { display: grid; gap: 6px; }
.gal__btn { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gal__btn img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.gal__btn:hover img { transform: scale(1.03); }
html.lite .gal__btn img { transition: none; } html.lite .gal__btn:hover img { transform: none; }
.gal figcaption { font-size: 13px; color: var(--ink-2); font-weight: 600; }
@media (max-width: 1000px) { .unit { grid-template-columns: minmax(0, 1fr); } .unit__info { position: static; } .unit__more { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .gal__grid { grid-template-columns: 1fr 1fr; } .gal figure:first-child { grid-column: 1 / -1; } }

/* filtre + zoznam */
.lv { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.lv__plan { display: block; }
.lv__sticky { position: sticky; top: calc(var(--header-h) + 14px); display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.lv__pt { font-size: 14px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lv__pt b { font-family: var(--font-display); }
.lv__pt a { font-size: 13px; font-weight: 700; color: var(--navy); }
.lv__mini { background: var(--paper); border-radius: 10px; padding: 4px; min-height: 120px; }
.lv__sticky .legend { font-size: 12.5px; gap: 6px 14px; }
.lv__sticky .legend small { display: none; }
.lv__sticky .muted { font-size: 12.5px; }
@media (max-width: 1279px) { .lv { grid-template-columns: minmax(0, 1fr); } .lv__plan { display: none; } }
.filters { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px 16px; }
.fdet > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.fdet > summary::-webkit-details-marker { display: none; }
.fdet > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: auto; margin-right: 4px; }
.fdet[open] > summary::after { transform: rotate(-135deg); }
.fdet__n { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 18px; padding-top: 6px; }
.fgrp { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; align-content: start; }
.fgrp legend { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); padding: 0; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: var(--bg); }
.chip input:hover + span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span::before { content: '✓'; margin-right: 5px; font-size: 12px; }
.chip input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }
.rng { display: flex; align-items: center; gap: 6px; }
.rng label { flex: 1; min-width: 0; }
.rng input { font: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; min-height: 44px; width: 100%; }
.rng input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, .18); }
.rng .u { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.fbar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.fcount { font-size: 14.5px; color: var(--ink-2); margin-right: auto; }
.fcount b { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.fsort { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.fsort select { font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; min-height: 44px; }
.results { margin-top: 14px; }
.tbl-wrap { overflow-x: auto; border-radius: 14px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 10px 7px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; font-weight: 500; }
.tbl tr > :first-child { padding-left: 14px; } .tbl tr > :last-child { padding-right: 12px; }
.tbl thead th { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; background: var(--bg-2); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:hover > *, .tbl tbody tr.is-hot > * { background: #F6F2EA; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl__n { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-decoration: none; }
.tbl__n:hover { text-decoration: underline; }
.tbl__t { display: block; font-size: 12px; color: var(--ink-3); }
.tbl__f { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
.tbl td:nth-child(4) { white-space: normal; min-width: 6.5em; }
.tbl .act { display: flex; gap: 5px; justify-content: flex-end; }
.tbl .act a, .act__c { font-size: 12.5px; font-weight: 700; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 8px; min-height: 36px; display: inline-flex; align-items: center; text-decoration: none; background: #fff; }
.act__c[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 960px) {
  .tbl-wrap { overflow: visible; }
  .tbl, .tbl tbody { display: block; border: 0; background: none; overflow: visible; }
  .tbl thead { display: none; }
  .tbl tbody { display: grid; gap: 10px; }
  .tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .tbl tr > * { border: 0 !important; padding: 0 !important; white-space: normal; background: none !important; text-align: left !important; }
  .tbl tr > :nth-child(1) { grid-column: 1; }
  .tbl tr > :nth-child(6) { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
  .tbl tr > :nth-child(2) { grid-column: 1 / -1; font-weight: 600; margin-top: 4px; }
  .tbl tr > :nth-child(3), .tbl tr > :nth-child(4) { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
  .tbl tr > :nth-child(3) .tbl__f { display: inline; margin-left: 4px; font-size: 13px; }
  .tbl tr > :nth-child(3)::before { content: 'Podlahová plocha '; color: var(--ink-3); }
  .tbl tr > :nth-child(4)::before { content: 'Orientácia '; color: var(--ink-3); }
  .tbl tr > :nth-child(5) { grid-column: 1; font-size: 18px; font-family: var(--font-display); align-self: center; margin-top: 4px; }
  .tbl tr > :nth-child(7) { grid-column: 2; align-self: center; margin-top: 4px; }
  .tbl .act a, .act__c { min-height: 44px; }
  .tbl tbody tr:hover > * { background: none; }
  .fbar { flex-direction: column; align-items: stretch; }
  .fsort { justify-content: space-between; }
}

/* porovnanie */
.cmpw { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.cmpt { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; table-layout: fixed; }
.cmpt th, .cmpt td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 500; }
.cmpt tbody th { width: 150px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; background: var(--bg); }
.cmpt thead td { width: 150px; background: var(--bg); }
.cmpt thead th { vertical-align: top; }
.cmpt__h { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
.cmpt__h b { font-family: var(--font-display); font-size: 19px; }
.cmpt__rm { font-size: 13px; font-weight: 700; color: var(--brick-d); text-decoration: underline; min-height: 44px; padding: 0 4px; }
.cmpt__plan { background: var(--paper); border-radius: 10px; padding: 4px; }
.cmpt__empty { color: var(--ink-3); font-size: 14px; }
.cmpt__empty span { display: block; margin-bottom: 6px; font-weight: 700; }
.cmpt em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-ink); background: var(--ok-soft); border-radius: 999px; padding: 2px 7px; margin-left: 4px; white-space: nowrap; }
.cmpt__a td { display: table-cell; }
.cmpt__a .btn { margin: 0 6px 6px 0; }
.cmp-foot { margin-top: 12px; }
@media (max-width: 700px) {
  .cmpt { min-width: 660px; font-size: 13.5px; }
  .cmpt tbody th, .cmpt thead td { width: 92px; position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--line); }
  .cmpt tbody th { font-size: 10.5px; letter-spacing: .05em; padding: 10px 8px; }
  .cmpt th, .cmpt td { padding: 10px; }
  .cmpt__h { flex-direction: column; align-items: flex-start; gap: 0; }
  .cmpt__a .btn { width: 100%; margin: 0 0 6px; }
}
.cmp-tray { position: sticky; bottom: 12px; z-index: 20; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--ink); color: var(--bg); border-radius: 14px; padding: 10px 12px 10px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); font-size: 14px; }
.cmp-tray b { font-family: var(--font-display); }

/* skúšobná rezervácia */
.resv { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.summary__plan { background: var(--paper); border-radius: 10px; padding: 4px; }
.summary b.big { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; align-items: center; }
.summary .btn { justify-self: start; margin-top: 6px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 14px; }
.form h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; width: 100%; min-height: 46px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, .18); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FDF3F2; }
.ferr { font-size: 13px; color: #9B1C14; font-weight: 600; }
.err-sum { background: #FDF3F2; border: 1px solid #E3A7A2; color: #7A1A13; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.err-sum a { color: inherit; font-weight: 700; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.resv-note { font-size: 14px; color: var(--warn-ink); background: var(--warn-soft); border: 1px solid rgba(184, 134, 43, .45); border-radius: 10px; padding: 10px 12px; }
.resv-note b { font-weight: 700; }
.done { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 12px; color: var(--ink-2); }
.done:focus { outline: none; }
.done__tag { justify-self: start; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--warn-ink); background: var(--warn-soft); border-radius: 999px; padding: 5px 10px; }
.done > b { font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.done__cta { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.done__cta b { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
@media (max-width: 900px) { .resv { grid-template-columns: minmax(0, 1fr); } .form .row2 { grid-template-columns: 1fr; } }

/* záver */
.outro { background: var(--ink); color: var(--bg); }
.outro__in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem 3rem; align-items: end; }
.outro__txt { display: grid; gap: 16px; }
.outro .eyebrow { color: var(--brick-soft); }
.outro .lead { color: rgba(244, 241, 236, .85); }
.outro__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.outro .btn--ghost { color: var(--bg); }
@media (max-width: 900px) { .outro__in { grid-template-columns: 1fr; } .outro__cta { justify-content: flex-start; } }

/* dialóg obrázka */
dialog.big { border: 0; padding: 0; background: #111; border-radius: 12px; max-width: min(96vw, 1400px); max-height: 92svh; }
dialog.big::backdrop { background: rgba(0, 0, 0, .75); }
dialog.big img { max-height: 84svh; width: auto; max-width: 96vw; }
dialog.big button { position: absolute; right: 10px; top: 10px; background: #fff; border-radius: 999px; padding: 0 14px; min-height: 44px; font-size: 13px; font-weight: 700; }

/* pätička */
.site-footer { background: #10161D; color: rgba(244, 241, 236, .7); padding: 22px 0; font-size: 13px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.lite-toggle, .reset-demo { border: 1px solid rgba(244, 241, 236, .35); border-radius: 999px; padding: 0 14px; min-height: 44px; font-size: 12.5px; font-weight: 700; color: #fff; }
.lite-toggle[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; border-radius: 10px; padding: 12px 16px; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); opacity: 0; transition: opacity .3s; pointer-events: none; max-width: min(90vw, 460px); }
.toast.is-on { opacity: 1; }
html.lite .toast, html.lite .fp__tip, html.lite .hot__tip { transition: none; }
@media (prefers-reduced-motion: reduce) { .toast, .fp__tip, .hot__tip, .gal__btn img { transition: none; } .gal__btn:hover img { transform: none; } }
