/* U Černé věže 20 – světlá landing page (layout dle šablony Houses&Flats, barvy a písma DMK) */

@font-face { font-family: 'Clash Display'; src: url('fonts/ClashDisplay-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('fonts/ClashDisplay-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('fonts/ClashDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-ext-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-ext-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-ext-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  /* DMK paleta */
  --ink: #14110e;          /* text = DMK cream-ink */
  --ink-2: #4a433b;
  --muted: #8a8278;
  --dark: #0e0c0a;         /* DMK pozadí, tady pro tmavý pás */
  --dark-lift: #1a1511;
  --gold: #c9a962;
  --gold-deep: #96773a;    /* zlatá pro malý text na bílé (kontrast) */
  --gold-tint: rgba(201, 169, 98, 0.12);
  --gold-border: rgba(201, 169, 98, 0.35);
  --cream: #f2ede4;
  --bg: #ffffff;
  --surface: #faf8f4;
  --line: #ece7de;
  --danger: #b5503d;

  --font-display: 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 8px;
  --shadow: 0 .48px .48px -1.25px rgba(0,0,0,.18), 0 1.83px 1.83px -2.5px rgba(0,0,0,.16), 0 8px 8px -3.75px rgba(0,0,0,.06);
  --shadow-btn: 0 .7px .7px -.625px rgba(0,0,0,.15), 0 1.8px 1.8px -1.25px rgba(0,0,0,.14), 0 3.6px 3.6px -1.875px rgba(0,0,0,.14), 0 6.9px 6.9px -2.5px rgba(0,0,0,.13), 0 13.6px 13.6px -3.125px rgba(0,0,0,.1), 0 30px 30px -3.75px rgba(0,0,0,.05);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1140px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h5, p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

.page { width: 100%; max-width: calc(var(--max) + 64px); margin: 0 auto; padding: 0 32px; }
.accent { color: var(--gold); }
.h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 20px; text-wrap: balance; }
.h2--white { color: #fff; }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 12px; }
.text { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; max-width: 560px; }
.label { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }


.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border: 0; border-radius: var(--radius); font: 600 15px var(--font-sans); cursor: pointer; box-shadow: var(--shadow-btn); transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d4b674; }
.btn--white { background: #fff; color: var(--ink); }
.btn--sm { min-height: 38px; padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; min-height: 52px; }
.btn:disabled { opacity: .55; cursor: wait; }

/* Hlavička */
.header-wrap { position: sticky; top: 0; z-index: 50; padding: 24px 32px 0; max-width: calc(var(--max) + 64px); margin: 0 auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px 14px 24px; border-radius: var(--radius); background: rgba(255,255,255,.6); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(236,231,222,.8); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: var(--shadow); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.header__nav { display: flex; gap: 28px; font-size: 14px; }
.header__nav a { transition: color .2s; }
.header__nav a:hover { color: var(--gold-deep); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 120px 0 80px; }
.hero__sub { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 28px 0 32px; max-width: 470px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__price span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero__price strong { font-family: var(--font-display); font-weight: 600; font-size: 30px; }
.hero__price em { font-style: normal; font-size: 13px; color: var(--muted); }

.collage { position: relative; min-height: 500px; perspective: 1200px; }
.collage__stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.collage__item { position: absolute; }
.collage__item > div { width: 100%; height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__main { width: 76%; aspect-ratio: 1.33; left: 52%; top: 47%; translate: -50% -50%; }
.collage__a { width: 36%; aspect-ratio: 1.33; left: 0; top: 0; }
.collage__b { width: 27%; aspect-ratio: .75; left: 0; bottom: 0; }
.collage__c { width: 27%; aspect-ratio: .75; right: 0; bottom: 38px; }

/* Plovoucí efekt: každá fotka se pohupuje vlastním tempem */
.collage__item.is-floating > div { animation: float var(--fd, 6s) ease-in-out infinite alternate; animation-delay: var(--fdl, 0s); }
.collage__main { --fd: 7s; --fy: -10px; --fr: .4deg; }
.collage__a { --fd: 5.5s; --fy: -16px; --fr: -1.2deg; --fdl: -2s; }
.collage__b { --fd: 6.5s; --fy: -12px; --fr: 1deg; --fdl: -1s; }
.collage__c { --fd: 5s; --fy: -18px; --fr: 1.4deg; --fdl: -3s; }
@keyframes float {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(var(--fy)) rotate(var(--fr)); }
}

/* Rychlá fakta */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 120px; }
.fact { padding: 28px 28px 26px; }
.fact strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; }
.fact strong small { font-size: .45em; color: var(--gold-deep); margin-left: 4px; font-weight: 500; }
.fact span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* Bloky */
.block { padding-bottom: 140px; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.about__text p { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; }
.checklist { list-style: none; margin: 0; padding: 8px 32px; }
.checklist li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); font-size: 15px; }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.location .checklist { padding: 0; margin: 8px 0 24px; }

/* Karty podlaží */
.floors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.floor { display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.floor:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(20,17,14,.25); }
.floor__img { position: relative; height: 380px; overflow: hidden; }
.floor__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.floor:hover .floor__img img { transform: scale(1.04); }
.floor__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); }
.floor__over { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 28px; color: #fff; }
.floor__over span { font-size: 15px; font-weight: 600; }
.floor__over h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
.floor__body { padding: 28px 32px 32px; display: grid; gap: 14px; }
.floor__meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.floor__meta span { display: inline-flex; align-items: center; gap: 8px; }
.floor__meta svg { width: 20px; height: 20px; color: var(--gold); }
.floor__body p { color: var(--ink-2); font-size: 15px; }

/* Body s ikonami */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { display: grid; gap: 16px; align-content: start; }
.feature__icon { width: 56px; height: 56px; border-radius: 32px; display: grid; place-items: center; background: var(--gold-tint); border: 1px solid var(--gold-border); color: var(--gold-deep); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.feature p { color: var(--ink-2); font-size: 14px; }

/* Tmavý pás */
.band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; background: var(--dark); background-image: radial-gradient(120% 90% at 20% 30%, var(--dark-lift) 0%, var(--dark) 65%); color: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 140px; }
.band__text { padding: 80px 0 80px 80px; display: grid; gap: 14px; justify-items: start; }
.band__eyebrow { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.band__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--gold); }
.band__title { font-size: 18px; margin-bottom: 18px; color: rgba(242,237,228,.85); }
.band__img { align-self: stretch; min-height: 420px; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }

/* Investiční karty */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards .card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card__label { font-size: 14px; color: var(--ink-2); }
.card__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin-top: auto; }
.card__note { font-size: 13px; color: var(--gold-deep); font-weight: 500; }
.comps { margin-top: 20px; padding: 32px; }
.comps__row { display: grid; grid-template-columns: 2.2fr 1fr 1.3fr 1.3fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.comps__row--head { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-top: 0; }
.comps__row--self { font-weight: 600; background: var(--gold-tint); margin: 0 -16px; padding-inline: 16px; border-radius: 6px; border-top-color: transparent; }
.comps__row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* Velká fotka s videem */
.bigpic { position: relative; height: 640px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 140px; background: var(--dark); }
.bigpic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bigpic__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,10,.6) 0%, rgba(14,12,10,0) 60%); }
.bigpic__text { position: absolute; top: 64px; left: 64px; width: 60%; color: #fff; }
.bigpic__text p { font-size: 18px; font-weight: 600; }
.bigpic iframe, .bigpic video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--dark); object-fit: contain; z-index: 2; }
.bigpic.is-playing .play, .bigpic.is-playing .bigpic__note { display: none; }
.play { position: absolute; left: 76%; top: 52%; translate: -50% -50%; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); font-size: 26px; cursor: pointer; box-shadow: var(--shadow-btn); transition: transform .3s var(--ease); }
.play span { margin-left: 5px; }
.play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(201,169,98,.7); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play:hover { transform: scale(1.06); }
.bigpic__note { position: absolute; left: 50%; bottom: 32px; translate: -50% 0; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; white-space: nowrap; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--surface); grid-column: span 2; grid-row: span 2; border: 0; padding: 0; box-shadow: var(--shadow); }
.gallery__item:nth-child(10n+1) { grid-column: span 4; grid-row: span 3; }
.gallery__item:nth-child(10n+2) { grid-column: span 2; grid-row: span 3; }
.gallery__item:nth-child(10n+6), .gallery__item:nth-child(10n+7) { grid-column: span 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item.is-hidden { display: none; }
.gallery__more { display: flex; justify-content: center; margin-top: 28px; }

/* Lokalita */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.location__addr { font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.location__map { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.15); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.person { display: flex; align-items: center; gap: 14px; margin: 28px 0 20px; }
.person__avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--gold-tint); border: 1px solid var(--gold-border); color: var(--gold-deep); font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.person span { font-size: 14px; color: var(--muted); }

.form { padding: 32px; display: grid; gap: 16px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 16px var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,98,.2); }
.field.is-error input { border-color: var(--danger); }
.form__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: 9px 15px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; transition: .2s; }
.pick input:checked + span { background: var(--gold-tint); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { accent-color: var(--gold); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.consent.is-error { color: var(--danger); }
.form__msg { min-height: 1.5em; font-size: 15px; }
.form__msg.is-ok { color: #2f7a4a; }
.form__msg.is-err { color: var(--danger); }

/* Patička */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__top, .footer__bottom { max-width: calc(var(--max) + 160px); margin: 0 auto; padding: 80px 80px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer__nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; }
.footer__nav a:hover { color: var(--gold-deep); }
.badge { width: 100px; height: 100px; overflow: visible; animation: spin 18s linear infinite; }
.badge text { font-family: var(--font-display); font-weight: 600; font-size: 10px; fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.footer__bottom { padding: 40px 80px 60px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.footer__bottom p { max-width: 720px; }

.mbar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 60px 16px; background: rgba(14,12,10,.94); opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 80vh; max-width: min(1400px, 100%); width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { text-align: center; color: rgba(242,237,228,.7); font-size: 14px; margin-top: 12px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(201,169,98,.4); background: rgba(255,255,255,.06); color: var(--cream); font-size: 18px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: calc(50% - 25px); }
.lb-next { right: 16px; top: calc(50% - 25px); }


/* Mobilní menu, „Číst více“, tečky (na desktopu skryté) */
.menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: var(--radius); background: var(--ink); cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-open .menu-btn span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 20px; transform: rotate(-45deg); }
.mnav { display: none; }
.more-btn, .dots { display: none; }
.location__nav { margin-top: 24px; }

/* Kontakt: telefon a e-mail jako velké klikací řádky */
.contact__links { display: grid; gap: 10px; max-width: 420px; }
.contact__link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s; }
.contact__link:hover { transform: translateY(-2px); border-color: var(--gold-border); }
.contact__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gold-tint); color: var(--gold-deep); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__link small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact__link strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; }


/* Logo: silueta Černé věže */
.logo__tower { width: 13px; height: 35px; color: var(--ink); flex: none; margin-top: -6px; transition: transform .5s var(--ease); }
.logo:hover .logo__tower { transform: translateY(-2px); }
.logo__tower use { color: var(--ink); }

/* Tlačítko vzhledu odkazu */
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); cursor: pointer; }
.link-btn:hover { color: var(--gold-deep); }

/* Mapa až po souhlasu */
.map-gate { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; background: radial-gradient(80% 80% at 50% 30%, #fff 0%, var(--surface) 70%); }
.map-gate__tower { width: 30px; height: 80px; color: var(--gold); opacity: .9; }
.map-gate p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Cookie lišta */
.cookie { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(580px, calc(100% - 48px)); display: grid; grid-template-columns: 112px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 40px 80px -24px rgba(20,17,14,.35), 0 2px 6px rgba(20,17,14,.06); opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.cookie[hidden] { display: none; }
.cookie-open .cookie { opacity: 1; transform: none; }
.cookie__art { position: relative; display: flex; align-items: flex-end; justify-content: center; padding-top: 18px; overflow: hidden; background: linear-gradient(180deg, #fbf6ea 0%, #f1e5c7 100%); border-right: 1px solid var(--gold-border); }
.cookie__art::before { content: ""; position: absolute; left: 50%; bottom: 17px; width: 90px; height: 90px; margin-left: -45px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,98,.45) 0%, rgba(201,169,98,0) 70%); }
.cookie__art svg { position: relative; width: 78px; height: 208px; margin-bottom: -46px; transform: translateY(40%); transition: transform 1.1s var(--ease) .15s; }
.cookie-open .cookie__art svg { transform: none; }
.cookie__tower { color: var(--ink); }
.cookie__clock { fill: var(--gold); }
.cookie__hand { stroke: var(--ink); stroke-width: .9; stroke-linecap: round; transform-origin: 30px 77.2px; }
.cookie__hand--m { animation: tick 6s linear infinite; }
.cookie__hand--h { animation: tick 72s linear infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.cookie__year { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .2em; color: var(--gold-deep); }
.cookie__body { padding: 22px 24px 22px; }
.cookie__eyebrow { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.cookie__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -.005em; text-wrap: balance; }
.cookie__text { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cookie__actions .btn { min-height: 42px; padding: 10px 16px; font-size: 14px; box-shadow: none; }
.cookie__actions .btn--white { border: 1px solid var(--line); }
.cookie__actions .link-btn { font-size: 14px; margin-left: 4px; }
.cookie__prefs { display: grid; gap: 8px; margin: 0 0 16px; }
.pref { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.pref strong { display: block; font-size: 14px; }
.pref small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pref input { position: absolute; opacity: 0; pointer-events: none; }
.pref i { position: relative; width: 40px; height: 24px; border-radius: 24px; background: #d9d3c8; transition: background .25s; }
.pref i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.pref input:checked + i { background: var(--gold); }
.pref input:checked + i::after { transform: translateX(16px); }
.pref input:disabled + i { opacity: .6; }
.pref input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.footer__meta { white-space: nowrap; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll animace (motion.js) */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* Animace: vyjetí zespodu jako ve Frameru */
.js .appear { opacity: 0; transform: translateY(80px); animation: up 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .collage .appear { animation-name: up-keep; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes up-keep { to { opacity: 1; transform: translateY(0); } }
.js .reveal { opacity: 0; transform: translateY(80px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .menu-btn { display: block; }
  .header { gap: 10px; }
  .header__cta { margin-left: auto; }
  .mnav { display: grid; position: fixed; z-index: 49; top: 84px; left: 16px; right: 16px; padding: 10px 20px 20px; border-radius: var(--radius); background: rgba(255,255,255,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px rgba(20,17,14,.35); border: 1px solid var(--line); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .mnav a:not(.btn) { padding: 15px 2px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 20px; }
  .mnav .btn { margin-top: 16px; }
  .menu-open .mnav { opacity: 1; transform: none; pointer-events: auto; }

  .hero { grid-template-columns: 1fr; padding-top: 80px; gap: 64px; }
  .collage { min-height: 0; aspect-ratio: 1.3; max-width: 640px; width: 100%; margin: 0 auto; }
  .facts, .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .about, .location, .contact { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; gap: 0; }
  .band__text { padding: 56px 40px; }
  .band__img { min-height: 360px; }
  .footer__top, .footer__bottom { padding-inline: 40px; }
}
/* Mobil */
@media (max-width: 700px) {
  /* Cookie lišta jako panel zespodu */
  .cookie { left: 0; right: 0; bottom: 0; width: 100%; grid-template-columns: 76px 1fr; border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); max-height: 88vh; overflow-y: auto; }
  .cookie__art svg { width: 54px; height: 144px; margin-bottom: -30px; }
  .cookie__art::before { width: 64px; height: 64px; margin-left: -32px; bottom: 13px; }
  .cookie__year { font-size: 10px; letter-spacing: .15em; }
  .cookie__body { padding: 18px 16px 16px; }
  .cookie__title { font-size: 17px; }
  .cookie__text { font-size: 13.5px; margin-bottom: 14px; }
  .cookie__actions .btn { flex: 1 1 calc(50% - 5px); min-height: 46px; }
  .cookie__actions .link-btn { flex: 1 1 100%; text-align: center; padding: 6px 0 2px; margin: 0; }
  .cookie-open .mbar { transform: translateY(110%) !important; }
  .logo__tower { width: 11px; height: 30px; }
  /* Úvod: fotky hned nahoře, pak nadpis a akce */
  .hero { padding: 20px 0 48px; gap: 26px; }
  .collage { order: -1; aspect-ratio: 1.22; }
  .h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .hero__sub { font-size: 16.5px; margin: 18px 0 24px; }
  .hero__price { margin-top: 28px; padding-top: 20px; }
  .hero__price strong { font-size: 26px; }
  .mnav { top: 68px; }

  /* Rytmus sekcí */
  .block { padding-bottom: 64px; }
  .band, .bigpic { margin-bottom: 64px; }
  .facts { margin-bottom: 56px; }
  .label { margin-bottom: 20px; font-size: 16px; }
  .h2 { margin-bottom: 16px; }

  /* O domě: první odstavec + Číst více */
  .about { gap: 28px; }
  .about__text p { font-size: 16px; }
  .is-collapsible p:not(:first-child) { display: none; }
  .is-collapsible.is-open p { display: block; }
  .more-btn { display: inline-flex; gap: 6px; align-items: center; padding: 10px 0; border: 0; background: none; font: 600 15px var(--font-sans); color: var(--gold-deep); cursor: pointer; }

  /* Dispozice: vodorovné posuvné karty s náhledem další */
  .floors { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .floors::-webkit-scrollbar { display: none; }
  .floor { flex: 0 0 84%; scroll-snap-align: start; }
  .floor:hover { transform: none; }
  .floor__img { height: 230px; }
  .floor__body { padding: 18px 20px 22px; gap: 10px; }
  .floor__over h3 { font-size: 30px; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line); transition: width .3s var(--ease), background .3s; }
  .dots i.on { width: 20px; background: var(--gold); }

  /* Potenciál: kompaktní řádky s ikonou */
  .features { gap: 22px; }
  .feature { grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; }
  .feature__icon { width: 48px; height: 48px; grid-row: span 2; }
  .feature h3 { font-size: 17px; align-self: end; }

  /* Čísla: mřížka 2×2 */
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cards .card { padding: 16px; gap: 6px; }
  .card__label { font-size: 12.5px; line-height: 1.35; }
  .card__value { font-size: 19px; }
  .card__note { font-size: 12px; }

  /* Lokalita */
  .location { gap: 28px; }
  .location__map { aspect-ratio: 4 / 3; }
  .location__nav { width: 100%; }
  .location__addr { font-size: 18px; }

  /* Kontakt */
  .contact { gap: 28px; }
  .contact__links { max-width: none; }
  .contact__link strong { font-size: 18px; }

  /* Spodní lišta: hovor + prohlídka */
  .mbar { display: flex; gap: 10px; }
  .mbar__call { flex: none; width: 54px; min-height: 54px; padding: 0; }
  .mbar__call svg { width: 22px; height: 22px; }
  .mbar__main { flex: 1; min-height: 54px; }
  .page { padding: 0 16px; }
  .header-wrap { padding: 12px 16px 0; }
  .header { padding: 10px 10px 10px 16px; }
  .logo { font-size: 18px; }
  .hero { padding: 48px 0 56px; gap: 48px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts { gap: 12px; margin-bottom: 80px; }
  .fact { padding: 20px; }
  .block, .band, .bigpic { margin-bottom: 0; }
  .block { padding-bottom: 80px; }
  .band, .bigpic { margin-bottom: 80px; }
  .features { grid-template-columns: 1fr; }
  .floor__over { left: 20px; right: 20px; bottom: 18px; }
  .comps .h3 { font-size: 19px; }
  .checklist { padding: 4px 20px; }
  .band__text { padding: 40px 28px; }
  .band__img { min-height: 260px; }
  .comps { padding: 20px; }
  .comps__row { grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .comps__row--head { display: none; }
  .comps__row span:first-child { grid-column: 1 / -1; font-weight: 600; }
  .comps__row span:nth-child(2) { color: var(--muted); }
  .comps__row span:nth-child(3) { display: none; }
  .comps__row--self { margin: 0 -10px; padding-inline: 10px; }
  .bigpic { height: 480px; }
  .bigpic.is-playing { height: auto; aspect-ratio: 16 / 9; }
  .bigpic__text { top: auto; bottom: 90px; left: 24px; width: auto; right: 24px; }
  .bigpic__shade { background: linear-gradient(0deg, rgba(14,12,10,.7) 0%, rgba(14,12,10,0) 70%); }
  .play { top: 24%; left: auto; right: 28px; translate: 0 -50%; width: 72px; height: 72px; }
  .bigpic > img { object-position: 58% center; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .gallery__item, .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
  .form { padding: 22px; }
  .form__2 { grid-template-columns: 1fr; }
  .header .btn--sm { display: none; }
  .footer__top { flex-direction: column-reverse; align-items: flex-start; padding: 40px 32px 0; }
  .footer__bottom { flex-direction: column; padding: 24px 32px 40px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 40%); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar.is-on { transform: none; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .appear, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .badge, .play::before, .collage__item.is-floating > div, .cookie__hand { animation: none; }
  .cookie, .cookie__art svg { transition: none; }
}
