/* LIVING/PRO Portfólio — detail projektu a stránka Portfólio
   Farby a písmo nadväzujú na úvodnú stránku nového webu. */

body.lp-view { margin: 0; background: #090909; color: #f5f5f5; }
body.lp-view #qodef-back-to-top,
body.lp-view #qodef-page-spinner,
body.lp-view .qodef-page-spinner { display: none !important; }

.lp {
	--bg: #090909;
	--bg2: #111;
	--bg3: #171717;
	--ink: #f5f5f5;
	--sub: #9a9a9a;
	--line: #343434;
	--paper: #fff;
	--paper-ink: #111;
	--gut: 5%;
	--ease: cubic-bezier(.2, .7, .2, 1);
	position: relative;
	background: var(--bg);
	color: var(--ink);
	font-family: Roboto, Arial, sans-serif;
	font-weight: 400;
	width: 100%;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp h1, .lp h2, .lp h3, .lp p, .lp dl, .lp dd, .lp figure { margin: 0; color: inherit; font-family: inherit; font-weight: 400; }
.lp img { display: block; max-width: 100%; }
.lp a:focus-visible, .lp button:focus-visible, .lp summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.lp .lp-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.lp .lp-smalllink { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid; padding-bottom: 6px; transition: opacity .2s; }
.lp .lp-smalllink:hover { opacity: .6; }

/* ---------- Hlavička ---------- */
.lp-nav { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 140px; padding: 0 90px 0 80px; border-bottom: 1px solid var(--line); }
.lp-nav.is-overlay { position: absolute; inset: 0 0 auto; border: 0; background: linear-gradient(#0009, transparent); color: #fff; }
.lp-nav.is-overlay a { text-shadow: 0 1px 8px #0007; }
.lp-brand img { width: 240px; height: auto; }
.lp-navlinks { display: flex; gap: 25px; font-size: 11px; letter-spacing: .08em; }
.lp-navlinks a { transition: opacity .2s; }
.lp-navlinks a:hover { opacity: .55; }
.lp-navlinks a[aria-current] { border-bottom: 1px solid; padding-bottom: 5px; }
.lp-navcta { border-bottom: 1px solid; padding-bottom: 5px; }
.lp-navmobile { display: none; position: relative; }
.lp-navmobile summary { list-style: none; cursor: pointer; font-size: 12px; letter-spacing: .08em; padding: 10px 0; }
.lp-navmobile summary::-webkit-details-marker { display: none; }
.lp-navmobile nav { position: absolute; right: 0; top: 44px; width: 210px; padding: 18px; background: #151515; box-shadow: 0 10px 30px #0008; }
.lp-navmobile nav a { display: block; padding: 10px; font-size: 16px; text-shadow: none; }

/* ---------- Kruhové odkazy (+) ---------- */
.lp-circle { display: grid; place-items: center; flex: 0 0 auto; width: 64px; height: 64px; border: 1px solid currentColor; border-radius: 50%; font-size: 24px; font-weight: 300; line-height: 1; transition: background .25s, color .25s, border-color .25s, transform .25s, opacity .25s; }
.lp-roundlink { display: inline-flex; align-items: center; gap: 22px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
.lp-roundlink:hover .lp-circle, .lp-roundlink:focus-visible .lp-circle { background: #fff; color: #090909; border-color: #fff; transform: rotate(45deg); }

/* ---------- Veľká fotka ---------- */
.lp-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 2400px; overflow: hidden; background: #151515; color: #fff; }
.lp-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: lp-hero-in 2.4s var(--ease) forwards; }
.lp-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 26%, rgba(0,0,0,.04) 50%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.lp-hero-text { position: absolute; z-index: 2; left: 80px; right: 80px; bottom: clamp(48px, 9vh, 120px); }
.lp-hero-text .lp-eyebrow { color: #ffffffcc; margin-bottom: 22px; }
.lp-hero h1 { font-size: clamp(44px, 6.4vw, 170px); line-height: .98; letter-spacing: -.02em; font-weight: 400; max-width: 14ch; text-shadow: 0 2px 30px #0005; }
.lp-hero-place { margin-top: 22px !important; font-size: 12px; letter-spacing: .16em; color: #ffffffcc; }
.lp-hero-text > * { opacity: 0; transform: translateY(24px); animation: lp-up 1s var(--ease) forwards; }
.lp-hero-text > :nth-child(2) { animation-delay: .12s; }
.lp-hero-text > :nth-child(3) { animation-delay: .24s; }
.lp-scroll { position: absolute; z-index: 2; right: 90px; bottom: clamp(48px, 9vh, 120px); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #ffffff99; border-radius: 50%; transition: background .25s, border-color .25s; }
.lp-scroll span { width: 1px; height: 18px; background: #fff; position: relative; animation: lp-nudge 2s ease-in-out infinite; }
.lp-scroll span::after { content: ''; position: absolute; left: -4px; bottom: 0; width: 8px; height: 8px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); }
.lp-scroll:hover { background: #fff; border-color: #fff; }
.lp-scroll:hover span, .lp-scroll:hover span::after { background: #090909; border-color: #090909; }
.lp-scroll:hover span::after { background: none; }

@keyframes lp-hero-in { to { transform: scale(1); } }
@keyframes lp-up { to { opacity: 1; transform: none; } }
@keyframes lp-nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* ---------- Technické údaje ---------- */
.lp-tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--bg); border-bottom: 1px solid var(--line); padding: 0 var(--gut); }
.lp-tech-item { padding: 58px 28px 52px; border-left: 1px solid var(--line); }
.lp-tech-item:first-child { border-left: 0; padding-left: 0; }
.lp-tech-value { display: flex; align-items: baseline; gap: 10px; font-size: clamp(46px, 5.2vw, 120px); line-height: 1; font-weight: 300 !important; letter-spacing: -.03em !important; color: #fff; }
.lp-tech-value small { font-size: .3em; letter-spacing: .02em; color: #cfcfcf; }
.lp-tech-label { margin-top: 20px !important; font-size: 11px; letter-spacing: .14em !important; color: var(--sub); }

/* ---------- O projekte + údaje ---------- */
.lp-about-project { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 160px); padding: clamp(80px, 9vw, 180px) var(--gut); background: var(--bg); }
.lp-about-text .lp-eyebrow { margin-bottom: 34px; }
.lp-lead { font-size: clamp(24px, 2.3vw, 44px); line-height: 1.35; font-weight: 300 !important; color: #fff; margin-bottom: 34px !important; }
.lp-desc p { font-size: clamp(16px, 1.05vw, 20px); line-height: 1.85; color: #c9c9c9; margin-bottom: 1.1em; font-weight: 300; }
.lp-info { align-self: start; border-top: 1px solid var(--line); }
.lp-info > div { display: grid; grid-template-columns: minmax(130px, .8fr) 1.2fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.lp-info > div:hover { padding-left: 10px; }
.lp-info dt { font-size: 11px; letter-spacing: .14em; color: var(--sub); padding-top: 4px; }
.lp-info dd { font-size: clamp(15px, 1vw, 19px); line-height: 1.5; color: #fff; }

/* ---------- Bloky s obrázkami ---------- */
.lp-block { padding: clamp(80px, 8vw, 170px) var(--gut); }
.lp-blockhead { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(40px, 4vw, 80px); }
.lp-blockhead h2 { font-size: clamp(36px, 4.6vw, 104px); line-height: 1.02; letter-spacing: -.03em; font-weight: 300 !important; text-align: right; }
.lp-shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 40px); }
.lp-shot { position: relative; margin: 0; }
.lp-shot.is-wide { grid-column: 1 / -1; }
.lp-zoom { position: relative; display: block; overflow: hidden; cursor: zoom-in; background: #151515; }
.lp-zoom img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.1s var(--ease), filter .5s; }
.lp-shot.is-wide .lp-zoom img { aspect-ratio: 16 / 8; }
.lp-zoom .lp-circle { position: absolute; right: 24px; bottom: 22px; width: 52px; height: 52px; color: #fff; border-color: #ffffffaa; opacity: 0; transform: scale(.7); }
.lp-zoom::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #0008); opacity: 0; transition: opacity .5s; }
.lp-zoom:hover img, .lp-zoom:focus-visible img { transform: scale(1.045); filter: brightness(.9); }
.lp-zoom:hover::after, .lp-zoom:focus-visible::after { opacity: 1; }
.lp-zoom:hover .lp-circle, .lp-zoom:focus-visible .lp-circle { z-index: 1; opacity: 1; background: #fff; color: #090909; border-color: #fff; transform: scale(1) rotate(45deg); }
.lp-shot figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }

.lp-viz { background: var(--bg); border-top: 1px solid var(--line); }

.lp-plans { background: var(--paper); color: var(--paper-ink); }
.lp-plans .lp-eyebrow, .lp-plans figcaption { color: #6c6c6c; }
.lp-plans .lp-zoom { background: #fff; }
.lp-plans .lp-zoom img, .lp-model .lp-zoom img { aspect-ratio: auto; height: auto; object-fit: contain; }
.lp-plans .lp-zoom:hover img { filter: none; transform: scale(1.025); }
.lp-plans .lp-zoom::after { display: none; }
.lp-plans .lp-zoom .lp-circle { color: #111; border-color: #111; background: #fff; }
.lp-plans .lp-zoom:hover .lp-circle { background: #111; color: #fff; border-color: #111; }
.lp-plans .lp-shot { padding: clamp(10px, 1.5vw, 30px); border: 1px solid #e6e6e6; transition: border-color .3s; }
.lp-plans .lp-shot:hover { border-color: #111; }
.lp-plans .lp-shot figcaption { color: #111; }
.lp-plans a:focus-visible { outline-color: #111; }

.lp-model { background: var(--bg); color: var(--ink); }
.lp-model .lp-zoom { background: #0e0e0e; }
.lp-shots.is-single { grid-template-columns: 1fr; }

/* ---------- Výzva + odkazy ---------- */
.lp-cta { background: var(--bg3); padding: clamp(80px, 8vw, 170px) var(--gut) clamp(60px, 5vw, 110px); }
.lp-cta h2 { font-size: clamp(46px, 7.4vw, 170px); line-height: 1; letter-spacing: -.03em; margin: 30px 0 50px !important; font-weight: 400; }
.lp-cta-bottom { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.lp-cta-bottom p { max-width: 520px; font-size: clamp(16px, 1.1vw, 20px); line-height: 1.7; color: #cfcfcf; font-weight: 300; }
.lp-cta-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 6vw, 120px); border-top: 1px solid var(--line); }
.lp-cta-links a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 30px 30px 32px; border-left: 1px solid var(--line); transition: background .3s; }
.lp-cta-links a:first-child { border-left: 0; padding-left: 0; }
.lp-cta-links span { font-size: clamp(24px, 2.2vw, 44px); letter-spacing: -.02em; font-weight: 300; }
.lp-cta-links small { grid-row: 2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sub); }
.lp-cta-links i { grid-row: 1 / 3; grid-column: 2; align-self: center; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffff88; border-radius: 50%; font-style: normal; font-size: 22px; font-weight: 300; transition: background .25s, color .25s, transform .25s; }
.lp-cta-links a:hover i, .lp-cta-links a:focus-visible i { background: #fff; color: #090909; transform: rotate(45deg); }

/* ---------- Mapa ---------- */
.lp-map { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: end; padding: clamp(60px, 6vw, 120px) var(--gut); background: var(--bg); border-top: 1px solid var(--line); }
.lp-map-place { font-size: clamp(22px, 1.8vw, 36px); line-height: 1.4; font-weight: 300 !important; margin: 24px 0 35px !important; }
.lp-map-frame { position: relative; overflow: hidden; }
.lp-map-frame iframe { display: block; width: 100%; height: clamp(300px, 28vw, 560px); border: 0; filter: grayscale(1) invert(.88) contrast(.9); opacity: .85; transition: opacity .4s, filter .4s; }
.lp-map-frame:hover iframe { opacity: 1; filter: grayscale(1) invert(.9) contrast(1); }

/* ---------- Pätička ---------- */
.lp-footer { background: var(--bg2); color: var(--ink); padding: 60px var(--gut) 28px; }
.lp-footgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 35px; margin-bottom: 55px; }
.lp-footer p { font-size: 13px; line-height: 1.8; }
.lp-footer .lp-brand { display: block; margin-bottom: 20px; }
.lp-footer .lp-brand img { width: 245px; }
.lp-footer a:hover { opacity: .6; }
.lp-footbottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #3c3c3c; padding-top: 22px; font-size: 10px; letter-spacing: .06em; }
.lp-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Späť hore ---------- */
.lp-back-top { position: fixed; right: 28px; bottom: 28px; z-index: 1000; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #ffffff99; border-radius: 50%; background: #090909a6; color: #fff; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s, background .25s, color .25s, border-color .25s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lp-back-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.lp-back-top:hover, .lp-back-top:focus-visible { background: #fff; color: #090909; border-color: #fff; }
.lp-back-top svg { display: block; }

/* ---------- Stránka Portfólio ---------- */
.lp-pagehead { padding: clamp(70px, 8vw, 170px) var(--gut) clamp(40px, 4vw, 80px); }
.lp-pagehead h1 { font-size: clamp(56px, 10vw, 240px); line-height: .95; letter-spacing: -.04em; margin-top: 26px !important; }
.lp-pagelead { max-width: 640px; margin-top: 34px !important; font-size: clamp(17px, 1.3vw, 24px); line-height: 1.6; color: #cfcfcf; font-weight: 300; }
.lp-pagebody { padding: 0 var(--gut) clamp(80px, 8vw, 160px); }
.lp-pagebody > p { max-width: 760px; font-size: 17px; line-height: 1.8; color: #cfcfcf; margin-bottom: 1em; }
.lp-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 3vw, 60px); padding-top: 26px; border-top: 1px solid var(--line); }
.lp-filter button { font: inherit; font-size: 11px; letter-spacing: .12em; color: var(--sub); background: none; border: 1px solid var(--line); border-radius: 40px; padding: 11px 20px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.lp-filter button:hover { color: #fff; border-color: #777; }
.lp-filter button.is-active { background: #fff; border-color: #fff; color: #090909; }
.lp-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(40px, 3vw, 64px) clamp(18px, 1.6vw, 36px); }
.lp-card { display: block; }
.lp-card[hidden] { display: none; }
.lp-card-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #151515; }
.lp-card-photo img, .lp-card-photo .lp-noimg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.lp-card-photo .lp-circle { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; color: #fff; border-color: #ffffffaa; opacity: 0; transform: scale(.7); }
.lp-card:hover .lp-card-photo img, .lp-card:focus-visible .lp-card-photo img { transform: scale(1.05); filter: brightness(.82); }
.lp-card:hover .lp-circle, .lp-card:focus-visible .lp-circle { opacity: 1; background: #fff; color: #090909; border-color: #fff; transform: scale(1) rotate(45deg); }
.lp-card-caption { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding-top: 20px; }
.lp-card-index { grid-row: 1 / 3; font-size: 11px; letter-spacing: .1em; color: var(--sub); padding-top: 6px; }
.lp-card h3 { font-size: clamp(19px, 1.35vw, 28px); line-height: 1.25; letter-spacing: -.01em; }
.lp-card p { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--sub); line-height: 1.6; }
.lp-empty { color: var(--sub); }

/* ---------- Zväčšenie obrázka ---------- */
.lp-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; background: #050505f2; color: #fff; font-family: Roboto, Arial, sans-serif; opacity: 0; transition: opacity .3s; }
.lp-lightbox.is-open { opacity: 1; }
.lp-lightbox[hidden] { display: none; }
.lp-lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; height: 100svh; padding: 60px 0; }
.lp-lightbox img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; transition: opacity .25s; }
.lp-lightbox figcaption { margin-top: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #aaa; }
.lp-lightbox button { width: 52px; height: 52px; justify-self: center; border: 1px solid #ffffff88; border-radius: 50%; background: none; color: #fff; font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.lp-lightbox button:hover { background: #fff; color: #090909; }
.lp-lb-close { position: absolute; top: 24px; right: 24px; font-size: 26px !important; font-weight: 300; }
.lp-lb-count { position: absolute; left: 30px; top: 38px; font-size: 11px; letter-spacing: .14em; color: #aaa; }

/* ---------- Postupné zobrazovanie pri skrolovaní ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Veľké monitory (2K, 4K) ---------- */
@media (min-width: 2200px) {
	.lp-nav { height: 180px; padding: 0 140px 0 130px; }
	.lp-brand img { width: 320px; }
	.lp-navlinks { gap: 40px; font-size: 14px; }
	.lp-hero-text { left: 130px; right: 130px; }
	.lp-scroll { right: 140px; width: 72px; height: 72px; }
	.lp-eyebrow, .lp .lp-smalllink, .lp-tech-label, .lp-info dt, .lp-card p, .lp-filter button { font-size: 14px !important; }
	.lp-circle { width: 84px; height: 84px; font-size: 30px; }
	.lp-back-top { width: 68px; height: 68px; right: 40px; bottom: 40px; }
	.lp-footer p { font-size: 16px; }
	.lp-footbottom { font-size: 13px; }
	.lp-footer .lp-brand img { width: 320px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1200px) {
	.lp-cards { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.lp-nav { padding: 0 40px; }
	.lp-navlinks { gap: 18px; }
	.lp-hero-text { left: 40px; right: 40px; }
	.lp-scroll { right: 40px; }
	.lp-about-project { grid-template-columns: 1fr; }
	.lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-cta-links { grid-template-columns: 1fr; }
	.lp-cta-links a, .lp-cta-links a:first-child { border-left: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
	.lp { --gut: 22px; }
	.lp-nav { height: 96px; padding: 0 22px; }
	.lp-brand img { width: 190px; }
	.lp-navlinks { display: none; }
	.lp-navmobile { display: block; }
	.lp-hero { min-height: 520px; height: 88svh; }
	.lp-hero-text { left: 22px; right: 22px; bottom: 96px; }
	.lp-hero h1 { font-size: clamp(40px, 11.5vw, 64px); }
	.lp-scroll { right: auto; left: 22px; bottom: 28px; width: 44px; height: 44px; }
	.lp-tech { grid-template-columns: 1fr 1fr; padding: 0 22px; }
	.lp-tech-item { padding: 34px 0 30px 18px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
	.lp-tech-item:nth-child(odd) { border-left: 0; padding-left: 0; }
	.lp-tech-item:nth-child(-n+2) { border-top: 0; }
	.lp-tech-value { font-size: 44px; }
	.lp-info > div { grid-template-columns: 1fr; gap: 6px; }
	.lp-blockhead { display: block; }
	.lp-blockhead h2 { text-align: left; margin-top: 20px !important; }
	.lp-shots { grid-template-columns: 1fr; }
	.lp-shot.is-wide .lp-zoom img, .lp-zoom img { aspect-ratio: 4 / 3; }
	.lp-zoom .lp-circle { opacity: 1; transform: scale(.8); right: 12px; bottom: 12px; width: 42px; height: 42px; }
	.lp-cta-bottom { display: block; }
	.lp-cta-bottom .lp-roundlink { margin-top: 30px; width: 100%; justify-content: space-between; }
	.lp-circle { width: 50px; height: 50px; }
	.lp-map { grid-template-columns: 1fr; gap: 30px; }
	.lp-footgrid { grid-template-columns: 1fr; gap: 28px; }
	.lp-footbottom { display: block; }
	.lp-legal { margin-top: 18px; }
	.lp-footer .lp-brand img { width: 200px; }
	.lp-back-top { width: 44px; height: 44px; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); }
	.lp-cards { grid-template-columns: 1fr; }
	.lp-card-photo { aspect-ratio: 4 / 3; }
	.lp-lightbox { grid-template-columns: 1fr 1fr; }
	.lp-lightbox figure { grid-column: 1 / -1; grid-row: 1; padding: 70px 10px 90px; }
	.lp-lb-prev, .lp-lb-next { grid-row: 1; align-self: end; margin-bottom: 24px; }
	.lp-lb-prev { grid-column: 1; }
	.lp-lb-next { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
	.lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
	.lp-hero > img { transform: none; }
	.lp-hero-text > * { opacity: 1; transform: none; }
	.lp-js .lp-reveal { opacity: 1; transform: none; }
}


/* Prednosť pred globálnym CSS webu (.lp p { letter-spacing } !important) */
.lp p.lp-eyebrow { letter-spacing: .14em !important; }
.lp p.lp-tech-value { letter-spacing: -.02em !important; }
.lp p.lp-tech-label { letter-spacing: .14em !important; }
.lp p.lp-hero-place { letter-spacing: .16em !important; }
.lp .lp-card p { letter-spacing: .13em !important; }
.lp p.lp-lead { letter-spacing: .005em !important; }

/* ===== Úpravy 27. 9. 2026 ===== */

/* Celá stránka zarovnaná na čiaru loga */
.lp { --gut: 80px; }
.lp-nav { padding: 0 var(--gut); }
.lp-hero-text { left: var(--gut); right: var(--gut); }
.lp-scroll { right: var(--gut); }
@media (min-width: 2200px) { .lp { --gut: 130px; } }
@media (max-width: 1024px) { .lp { --gut: 40px; } }
@media (max-width: 767px) { .lp { --gut: 22px; } .lp-scroll { left: var(--gut); right: auto; } }

/* Tenké písmo pre čísla v technických údajoch */
.lp p.lp-tech-value { font-weight: 100 !important; }
.lp-tech-value small { font-weight: 100; color: #e0e0e0; }

/* Odstavce do bloku */
.lp-desc p, .lp p.lp-lead, .lp-cta-bottom p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

/* Údaje o projekte: jemný posun bez prelamovania riadkov */
.lp-info > div:hover { padding-left: 0; }
.lp-info dt, .lp-info dd { transition: transform .35s var(--ease), color .35s; }
.lp-info > div:hover dt { color: #fff; }
.lp-info > div:hover dd { transform: translateX(8px); }

/* Vizualizácie s tenkými medzerami */
.lp-viz .lp-shots { gap: 4px; }
@media (max-width: 767px) { .lp-viz .lp-shots { gap: 3px; } }

/* Pôdorysy v malom formáte, po kliknutí sa zväčšia */
.lp-shots--plans { grid-template-columns: repeat(auto-fill, minmax(220px, 320px)); gap: 20px; }
.lp-plans .lp-shot { padding: 12px; }
.lp-plans .lp-zoom .lp-circle { width: 40px; height: 40px; right: 10px; bottom: 10px; font-size: 20px; }
@media (max-width: 767px) { .lp-shots--plans { grid-template-columns: 1fr 1fr; gap: 12px; } .lp-plans .lp-shot { padding: 6px; } }

/* 3D model na bielom pozadí, plynulo pod pôdorysmi */
.lp-model { background: var(--paper); color: var(--paper-ink); }
.lp-plans + .lp-model { padding-top: 0; }
.lp-model .lp-eyebrow, .lp-model figcaption { color: #6c6c6c; }
.lp-model .lp-zoom { background: #fff; }
.lp-model .lp-zoom::after { display: none; }
.lp-model .lp-zoom:hover img { filter: none; transform: scale(1.02); }
.lp-model .lp-zoom .lp-circle { color: #111; border-color: #111; background: #fff; }
.lp-model .lp-zoom:hover .lp-circle { background: #111; color: #fff; border-color: #111; }
.lp-model a:focus-visible { outline-color: #111; }

/* Mapa na celú šírku, čiernobiela s čiernym bodom */
.lp-map { display: block; padding: 0; border: 0; background: #e9e9e9; }
.lp-map-canvas { width: 100%; height: clamp(360px, 58vh, 820px); background: #e9e9e9; }
.lp-map-canvas .leaflet-tile-pane { filter: grayscale(1) contrast(1.08) brightness(1.02); }
.lp-map-pin span { position: absolute; inset: 0; border-radius: 50%; background: #0a0a0a; box-shadow: 0 0 0 4px #fff, 0 4px 14px #0006; }
.lp-map-pin span::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid #0a0a0a; opacity: .6; animation: lp-pin 2.4s ease-out infinite; }
@keyframes lp-pin { from { transform: scale(.4); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.lp-map .leaflet-control-zoom { border: 0 !important; box-shadow: none !important; margin: 0 var(--gut) 24px 0 !important; }
.lp-map .leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 38px !important; border: 1px solid #0a0a0a !important; border-radius: 50% !important; margin-top: 8px; background: #fff !important; color: #0a0a0a !important; font: 300 20px/38px Roboto, Arial, sans-serif !important; }
.lp-map .leaflet-control-zoom a:hover { background: #0a0a0a !important; color: #fff !important; }
.lp-map .leaflet-control-attribution { background: #ffffffb3 !important; font: 10px Roboto, Arial, sans-serif; color: #666; }
.lp-map .leaflet-control-attribution a { color: #666 !important; }

/* Úvodný odsek bez bloku (veľké písmo robí v bloku diery), údaje zarovnané na účiarie */
.lp p.lp-lead { text-align: left; }
.lp-info > div { align-items: baseline; }
.lp-info dt { padding-top: 0; }
.lp-map-canvas .leaflet-tile-pane { filter: grayscale(1) contrast(1.15) brightness(1.04); }

/* Pôdorysy a 3D model: pevne na bielej ploche, bez rámčekov a bez rozklikávania */
.lp-still { margin: 0; }
.lp-still img { display: block; width: 100%; height: auto; }
.lp-still figcaption { margin-top: 12px; }
.lp-plans .lp-shot.lp-still { padding: 0; border: 0; }
.lp-shots--plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 80px); max-width: 1400px; }
.lp-shots--plans.is-single { grid-template-columns: minmax(0, 700px); }
.lp-model .lp-blockhead { margin-bottom: clamp(24px, 2.5vw, 48px); }
@media (max-width: 767px) { .lp-shots--plans { grid-template-columns: 1fr; gap: 28px; } }

/* Pôdorysy pod sebou, väčšie */
.lp-shots--plans, .lp-shots--plans.is-single { grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 100px); max-width: 1400px; }

/* Mapa o niečo tmavšia */
.lp-map-canvas .leaflet-tile-pane { filter: grayscale(1) contrast(1.2) brightness(.84); }
.lp-map, .lp-map-canvas { background: #cfcfcf; }

/* Šípka nadol presne na mieste krúžku „späť hore“ */
.lp-scroll { right: 28px; left: auto; bottom: 28px; width: 52px; height: 52px; }
@media (min-width: 2200px) { .lp-scroll { right: 40px; bottom: 40px; width: 68px; height: 68px; } }
@media (max-width: 767px) { .lp-scroll { right: 18px; left: auto; bottom: calc(18px + env(safe-area-inset-bottom)); width: 44px; height: 44px; } }
