:root {
    --field: #1c2b24;
    --field-2: #294036;
    --barley: #e3d39a;
    --stone: #fff;
    --paper: #fff;
    --ink: #17211c;
    --line: #c5cbc4;
    --alert: #8c2f28;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #fff; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
    font-family: Literata, "Iowan Old Style", Palatino, Georgia, serif;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

p { margin: 0 0 0.9rem; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--barley);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--barley);
    color: var(--ink);
    padding: 0.4rem 0.7rem;
}

.skip:focus { top: 0.5rem; }

.site-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    min-height: 96px;
    padding: 0.4rem 3.2rem;
    background: #8f9b74;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    font-family: Mulish, Outfit, "Segoe UI", sans-serif;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img { height: 74px; width: auto; }

.menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.menu-button {
    display: none;
    margin-left: auto;
    color: #fff;
    border: 1px solid #fff;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
}

.nav { flex: 1; }

.menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.4rem;
    align-items: center;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0 0.5rem 0 1rem;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

.menu > li > a {
    padding: 1.15rem 0 0.85rem;
    display: inline-block;
}

.menu > li > a.is-current { box-shadow: inset 0 -2px 0 #fff; }

.menu a:hover { opacity: 0.82; }

.has-sub { position: relative; }

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -2.4rem;
    z-index: 30;
    min-width: 17.5rem;
    margin: 0;
    padding: 2.2rem 0 2.4rem;
    list-style: none;
    background: #8f9b74;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { display: block; }

.sub-menu a {
    display: block;
    padding: 0.62rem 2.4rem;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}



input[type="checkbox"] { width: auto; }

.hero {
    background: #fff;
    color: #f4f1ec;
}

.hero-stage { position: relative; }

.hero-photo {
    display: block;
    width: 100%;
    height: auto;
}

.floor-map {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.floor-map polygon {
    fill: rgba(143, 155, 116, 0);
    stroke: transparent;
    cursor: pointer;
}

.floor-map a:hover polygon,
.floor-map a:focus polygon { fill: rgba(143, 155, 116, 0.55); }

.floor-hint {
    position: absolute;
    left: 1.4rem;
    bottom: 1.3rem;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(32, 32, 36, 0.78);
    color: #fff;
    font-family: Mulish, Outfit, sans-serif;
    font-size: 0.92rem;
}

.floor-tip {
    position: absolute;
    z-index: 5;
    width: 13rem;
    padding: 0.9rem 1rem;
    background: #fff;
    color: #4a4847;
    border: 1px solid #e6dbd4;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -120%);
    font-family: Mulish, Outfit, sans-serif;
    font-size: 0.9rem;
}

.floor-tip p { margin: 0 0 0.25rem; }

.floor-tip strong {
    color: #ac835d;
    font-family: Marcellus, Literata, serif;
    font-size: 2rem;
    font-weight: 400;
}

.hero-stage:has(a[data-floor="1"]:hover) .floor-tip[data-floor="1"],
.hero-stage:has(a[data-floor="1"]:focus) .floor-tip[data-floor="1"],
.hero-stage:has(a[data-floor="2"]:hover) .floor-tip[data-floor="2"],
.hero-stage:has(a[data-floor="2"]:focus) .floor-tip[data-floor="2"],
.hero-stage:has(a[data-floor="3"]:hover) .floor-tip[data-floor="3"],
.hero-stage:has(a[data-floor="3"]:focus) .floor-tip[data-floor="3"],
.hero-stage:has(a[data-floor="4"]:hover) .floor-tip[data-floor="4"],
.hero-stage:has(a[data-floor="4"]:focus) .floor-tip[data-floor="4"] { opacity: 1; }

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(90deg, transparent 32%, rgba(18, 22, 26, 0.28) 50%, rgba(18, 22, 26, 0.72) 100%);
    pointer-events: none;
}

.hero-copy {
    position: absolute;
    z-index: 4;
    top: 11%;
    right: 4.5%;
    width: min(36rem, 40%);
    color: #fff;
    pointer-events: none;
}

.hero-copy a { pointer-events: auto; }

.hero h1 {
    margin: 0.35rem 0 0.8rem;
    color: #fff;
    font-family: Marcellus, Literata, Palatino, serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 4.2vw, 4.4rem);
    letter-spacing: 0.04em;
    line-height: 1.02;
    text-transform: uppercase;
}

.place {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    color: #e4d3b4;
    font-family: Mulish, Outfit, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.place::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: currentColor;
}

.hero .lead {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem;
    line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.3rem; }

.button {
    display: inline-block;
    min-width: 11.5rem;
    padding: 1rem 1.4rem;
    background: #8f9b74;
    color: #fff;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
}

.button-line {
    background: transparent;
    border: 1px solid #b08968;
    color: #4a4847;
}

.hero .button-line {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.hero-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    margin-top: 1.3rem;
    padding: 1.1rem 1.2rem 1.15rem;
    border: 1px solid rgba(214, 196, 164, 0.75);
    background: rgba(16, 18, 22, 0.45);
}

.note-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.note-value {
    margin: 0.15rem 0 0;
    color: #d5d8c4;
    font-family: Marcellus, Literata, serif;
    font-size: 3.4rem;
    line-height: 0.95;
}

.hero-note > p { margin: 0; font-size: 0.95rem; line-height: 1.45; }

.band {
    background: var(--field);
    color: var(--paper);
    padding: 3.2rem 6vw 3.6rem;
}

.group-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.group-row a {
    display: block;
    text-decoration: none;
    border-top: 2px solid var(--barley);
    padding-top: 0.75rem;
}

.group-row strong {
    display: block;
    font-family: Literata, Palatino, Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 650;
    line-height: 1;
}

.section {
    width: min(76rem, calc(100% - 8vw));
    margin: 0 auto;
    padding: 3.2rem 0;
}

.section h2 { margin-bottom: 1rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 0.35rem;
}

.gallery-grid a:first-child { grid-row: span 2; }

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 2;
}

.gallery-grid a:first-child img { aspect-ratio: auto; min-height: 100%; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline li {
    padding: 0.75rem 0 0.75rem 1rem;
    border-left: 2px solid var(--field);
}

.timeline b { display: block; font-family: Literata, Palatino, Georgia, serif; }

.page-hero {
    width: min(76rem, calc(100% - 8vw));
    margin: 0 auto;
    padding: 2.6rem 0 0.4rem;
}

.page-hero h1 { font-family: Marcellus, Literata, Palatino, serif; font-weight: 400; letter-spacing: 0; }

.page {
    width: min(76rem, calc(100% - 8vw));
    margin: 1.2rem auto 4rem;
}

.chip-row, .feature-list { padding-left: 1.1rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; list-style: none; padding: 0; }

.chip-row a {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    text-decoration: none;
}

.apt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.apt-card {
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
}

.apt-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--paper);
    display: block;
}

.apt-card dl { margin: 0.4rem 0; }

.apt-card dl div, .apt-detail dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.28rem 0;
    border-bottom: 1px solid var(--line);
}

.apt-card dt, .apt-detail dt { color: #66696c; }

.apt-card dd, .apt-detail dd { margin: 0; text-align: right; }

.apt-detail {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.apt-top,
.apt-sheet,
.mortgage {
    width: min(76rem, calc(100% - 8vw));
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem 3rem;
    align-items: start;
}

.apt-top h1 {
    font-family: Marcellus, Literata, serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.apt-facts {
    background: #fff;
    border: 1px solid #e6dbd4;
    padding: 1.1rem 1.2rem;
}

.apt-facts dl { margin: 0.8rem 0 0; }

.apt-facts dl div,
.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #eee4da;
}

.apt-facts dt,
.info-list dt { color: #8a8178; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }

.apt-facts dd,
.info-list dd { margin: 0; font-variant-numeric: tabular-nums; }

.reel {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.reel.is-dragging { cursor: grabbing; }

.reel-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    padding: 0 max(1.2rem, calc((100% - 76rem) / 2)) 0.2rem;
    will-change: transform;
}

.reel-track figure {
    margin: 0;
    flex: 0 0 min(78vw, 36rem);
}

.reel-track img {
    width: 100%;
    height: min(58vh, 32rem);
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-dialog {
    width: min(96vw, 80rem);
    max-width: none;
    height: min(92vh, 56rem);
    padding: 0;
    border: 0;
    background: #111;
    color: #fff;
}

.gallery-dialog img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    pointer-events: none;
}

.gallery-dialog::backdrop { background: rgba(10, 12, 14, 0.86); }

.gallery-close,
.gallery-nav {
    position: absolute;
    z-index: 2;
    margin: 0;
    background: rgba(30, 30, 37, 0.55);
    color: #fff;
    pointer-events: auto;
}

.gallery-close { top: 0.6rem; right: 0.6rem; }

.gallery-nav {
    top: 0;
    bottom: 0;
    width: 4.5rem;
    font-size: 3rem;
    line-height: 1;
}

.gallery-nav[data-dir="-1"] { left: 0; }

.gallery-nav[data-dir="1"] { right: 0; }

.apt-sheet,
.mortgage { background: #fff; padding: 2rem; }

.mortgage-form label { margin-top: 0.8rem; }

.mortgage-form input[type="range"] { width: min(100%, 28rem); padding: 0; border: 0; background: transparent; }

.mortgage-pay { font-size: 1.3rem; }

.mortgage-pay strong { color: #b08968; }

.prose { max-width: 68ch; }

.prose h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }

.steps { padding-left: 1.2rem; }

.steps li { margin: 0.35rem 0; }

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
}

th, td {
    text-align: left;
    padding: 0.7rem 0.55rem;
    border-bottom: 1px solid var(--line);
    vertical-align: baseline;
}

th { font-weight: 560; }

.plan {
    display: block;
    width: 100%;
    margin: 0;
    background: var(--paper);
}

.floor-banner {
    position: relative;
    min-height: 280px;
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    background: #181d24;
}

.floor-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floor-banner__text {
    position: relative;
    z-index: 1;
    width: min(76rem, calc(100% - 8vw));
    margin: 0 auto;
    padding: 7rem 0 2.4rem;
}

.floor-banner::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 22, 26, 0.25), rgba(18, 22, 26, 0.55));
}

.floor-banner h1 {
    position: relative;
    color: #fff;
    font-family: Marcellus, Literata, serif;
    font-weight: 400;
    font-size: clamp(3.2rem, 6vw, 5rem);
    letter-spacing: 0.04em;
}

.floor-banner .place { position: relative; }

.page.floor-page {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0.4rem;
}

.plan-stage {
    position: relative;
    width: min(92rem, calc(100% - 8rem));
    margin: 0.4rem auto 0.4rem;
}

.floor-page .plan-hint,
.floor-page .floor-table {
    width: min(90rem, calc(100% - 3rem));
    margin-left: auto;
    margin-right: auto;
}

.plan-hint {
    margin: 0.2rem 0 1.6rem;
    text-align: center;
    color: #8a8178;
    font-size: 0.92rem;
}

.floor-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.floor-table th {
    padding: 0.7rem 0.4rem 0.8rem;
    border-bottom: 1px solid #e6dbd4;
    color: #4a4847;
    font-family: Mulish, Outfit, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.floor-table td {
    padding: 1rem 0.4rem;
    border-bottom: 1px solid #eee4da;
    vertical-align: middle;
    background: transparent;
}

.floor-code {
    color: #b08968;
    font-family: Marcellus, Literata, serif;
    font-size: 1.45rem;
    text-decoration: none;
}

.floor-detail {
    color: #b08968;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.state-pill {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.state-pill--volny {
    background: #5d6b48;
    color: #fff;
}

.state-pill--rezervovany {
    background: #ac835d;
    color: #fff;
}

.state-pill--predany {
    background: #4a4847;
    color: #fff;
}

.plan-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.plan-map polygon {
    fill: rgba(143, 155, 116, 0);
    stroke: transparent;
    cursor: pointer;
}

.plan-map a[data-state="rezervovany"] polygon { fill: rgba(176, 137, 104, 0.34); }

.plan-map a:hover polygon,
.plan-map a:focus polygon { fill: rgba(143, 155, 116, 0.48); }

.plan-badge {
    position: absolute;
    z-index: 3;
    display: grid;
    justify-items: center;
    transform: translate(-50%, -50%);
    padding: 0.18rem 0.42rem 0.22rem;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.94);
    color: #5d6b48;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.plan-badge strong {
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
}

.plan-badge--rezervovany {
    color: #8a5a32;
    border: 1px solid #c4a484;
}

.plan-badge--predany {
    background: #4a4847;
    color: #fff;
}

.plan-tip {
    position: absolute;
    z-index: 4;
    width: 14rem;
    padding: 0.85rem 0.95rem;
    background: #fff;
    color: #4a4847;
    border: 1px solid #e6dbd4;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -115%);
    font-size: 0.88rem;
}

.plan-tip p { margin: 0 0 0.2rem; }

.plan-tip__title {
    font-family: Marcellus, Literata, serif;
    font-size: 1.35rem;
}

.plan-tip__price { font-weight: 700; }

.plan-tip__status { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; }

.plan-tip--volny .plan-tip__status { color: #5d6b48; }

.plan-tip--rezervovany .plan-tip__status { color: #ac835d; }

.plan-tip--predany .plan-tip__status { color: #4a4847; }

.floor-hint { pointer-events: none; }

.sheet { margin: 1.5rem 0 2rem; }

.sheet h2 { font-size: 1.7rem; }

label { display: block; margin: 1rem 0 0.3rem; }

input, textarea {
    width: min(100%, 32rem);
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 0.55rem 0.65rem;
}

textarea { min-height: 9rem; resize: vertical; }

button {
    font: inherit;
    font-weight: 560;
    background: var(--field);
    color: var(--barley);
    border: 0;
    padding: 0.65rem 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.price-form {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin: 0;
}

.price-form input { width: 8.5rem; margin: 0; }

.price-form button { margin: 0; padding: 0.45rem 0.7rem; }

.error { color: var(--alert); margin: 0.3rem 0; }

.ok {
    background: var(--barley);
    color: var(--ink);
    padding: 0.8rem 1rem;
    margin: 0 0 1rem;
}

.stats {
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 2.4rem 0 0.6rem;
}

.stats-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.stats-set {
    display: flex;
    flex: 0 0 auto;
    gap: 4.5rem;
    padding-right: 4.5rem;
}

.stats a {
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
    white-space: nowrap;
}

.stats strong {
    display: block;
    font-family: Marcellus, Literata, serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 400;
    min-width: 3ch;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.choice-grid,
.steps-row,
.type-grid {
    display: grid;
    gap: 1.2rem;
}

.choice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.choice-grid article,
.steps-row article {
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}

.type-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.type-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    margin-bottom: 0.7rem;
}

.type-kicker,
.step-price {
    color: #ac835d;
    font-family: Mulish, Outfit, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.type-link { color: #8f9b74; }

.home-reel {
    overflow: hidden;
    width: 100%;
    margin: 0.6rem 0 1.4rem;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.home-reel.is-dragging { cursor: grabbing; }

.home-reel a,
.home-reel img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

.home-reel img { pointer-events: none; }

.home-reel-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.home-reel-set {
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
    padding-right: 1rem;
}

.home-reel-set a {
    display: block;
    flex: 0 0 auto;
}

.home-reel-set img {
    display: block;
    width: 28rem;
    height: 18rem;
    object-fit: cover;
}

.portraits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    width: min(76rem, calc(100% - 8vw));
    margin: 0 auto;
}

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

.place-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 22rem;
    overflow: auto;
    border-top: 1px solid var(--line);
}

.place-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

.place-list small { color: #66696c; }

.wide-photo { width: min(76rem, calc(100% - 8vw)); margin: 0 auto 1rem; }

.wide-photo img { width: 100%; display: block; object-fit: cover; max-height: 28rem; }

.badge {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.45rem;
    background: #8f9b74;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline strong { display: block; margin-top: 0.25rem; }

.build-lead { max-width: 46rem; color: #a0a0a0; }

.build-line {
    --marker: 18px;
    position: relative;
    margin: 2.2rem 0 1.6rem;
}

.build-line__track {
    position: absolute;
    top: calc(var(--marker) / 2);
    left: 0;
    right: 0;
    height: 1px;
    background: #e6dbd4;
}

.build-line__fill {
    display: block;
    width: var(--progress);
    height: 100%;
    background: #ac835d;
}

.build-line ol {
    display: grid;
    grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.build-line li { position: relative; margin: 0; }

.build-line__marker {
    position: relative;
    display: block;
    width: var(--marker);
    height: var(--marker);
    border: 1px solid #ac835d;
    border-radius: 50%;
    background: #fff;
}

.build-line .is-current .build-line__marker { background: #ac835d; }

.build-line .is-current .build-line__marker::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid #ac835d;
    border-radius: 50%;
    animation: build-pulse 2.4s ease-out infinite;
}

.build-line__date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 2.2rem 0 0;
    color: #ac835d;
    font-family: Marcellus, Literata, serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.build-line li:not(.is-current) .build-line__date { opacity: 0.75; }

.build-line h3 {
    margin: 1rem 0 0;
    font-family: Mulish, Outfit, sans-serif;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: 0;
}

.build-line li > p:last-child { margin: 0.6rem 0 0; color: #66696c; line-height: 1.65; }

@keyframes build-pulse {
    0% { opacity: 0.9; transform: scale(0.7); }
    100% { opacity: 0; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
    .build-line .is-current .build-line__marker::after { animation: none; }
}

.cta {
    width: min(76rem, calc(100% - 8vw));
    margin: 0 auto 3rem;
    padding: 2.2rem;
    background: #181d24;
    color: #fff;
}

.cta .button { margin-top: 0.4rem; }

.site-footer {
    background: #8f9b74;
    color: #fff;
    font-size: 1rem;
    padding: 3rem 6vw 1.6rem;
    border-top: 1px solid rgba(30, 30, 37, 0.15);
}

.footer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2.2rem;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.site-footer .footer-cta h2 {
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.footer-cta__actions { display: flex; gap: 1rem; margin: 0; }

.site-footer .button-dark {
    background: #1e1e25;
    color: #fff;
    min-width: 0;
    padding: 0.9rem 2rem;
}

.site-footer .button-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    min-width: 0;
    padding: 0.9rem 2rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 1.6rem 2rem;
}

.footer-logo { width: 120px; height: auto; margin-bottom: 0.8rem; }

.footer-de img { width: 140px; height: auto; margin-top: 0.6rem; }

.site-footer h2 {
    font-family: Mulish, Outfit, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.35rem 0; }

.site-footer a { color: #fff; }

.site-footer input {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.site-footer input::placeholder { color: rgba(255, 255, 255, 0.75); }

.site-footer button {
    background: #1e1e25;
    color: #fcfbf8;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2.2rem 0 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 860px) {
    .group-row,
    .split,
    .gallery-grid,
    .footer-cols,
    .choice-grid,
    .steps-row,
    .type-grid,
    .portraits,
    .apt-grid,
    .apt-detail,
    .apt-top,
    .apt-sheet,
    .mortgage {
        grid-template-columns: 1fr;
    }

    .page-byt .apt-top,
    .page-byt .apt-sheet {
        width: calc(100% - 1.6rem);
        margin: 1rem auto;
        gap: 1.2rem;
    }

    .page-byt .apt-sheet { padding: 1.2rem; }

    .page-byt .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }

    .page-byt .hero-actions .button { text-align: center; }

    .page-byt .reel-track img { height: 14rem; }

    .page-byt #zaujem .split {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .build-line__track {
        top: 0;
        bottom: 0;
        left: calc(var(--marker) / 2);
        right: auto;
        width: 1px;
        height: auto;
    }

    .build-line__fill { width: 100%; height: var(--progress); }

    .build-line ol { grid-template-columns: 1fr; gap: 2.4rem; }

    .build-line li { padding-left: calc(var(--marker) + 1.6rem); }

    .build-line__marker { position: absolute; top: 0.4rem; left: 0; }

    .build-line__date { margin-top: 0; }

    .home-reel-set img { width: 78vw; height: 14rem; }

    .reel-track figure { flex-basis: 84vw; }

    .reel-track img { height: 16rem; }

    .portraits img { height: 16rem; }

    .gallery-grid a:first-child { grid-row: auto; }

    .menu-button { display: inline-block; }

    .nav { display: none; width: 100%; }

    .menu-toggle:checked ~ .nav { display: block; }

    .site-header { flex-wrap: wrap; min-height: 0; padding: 0.6rem 1rem; }

    .menu { flex-direction: column; align-items: flex-start; flex-wrap: wrap; }

    .hero-shade { display: none; }

    .hero-copy {
        position: static;
        width: min(42rem, calc(100% - 2rem));
        margin: 0 auto;
        padding: 1.6rem 0 2rem;
        color: var(--ink);
    }

    .hero h1,
    .hero .lead,
    .place,
    .button-line,
    .hero-note,
    .hero-note > p { color: var(--ink); }

    .button-line { border-color: #8f9b74; }

    .sub-menu { position: static; display: block; min-width: 0; padding-left: 0.6rem; }

    table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* --- Detail bytu podla povodneho webu: Marcellus + Mulish, bronz a krem --- */
.page-byt {
    background: #fcfbf8;
    color: #1e1e25;
    font-family: Mulish, Muli, Roboto, "Segoe UI", sans-serif;
}

.page-byt h1,
.page-byt h2,
.page-byt h3 {
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #1e1e25;
}

.page-byt h2 {
    text-transform: uppercase;
    color: #ac835d;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    letter-spacing: 0.08em;
}

.page-byt .place {
    color: #ac835d;
    letter-spacing: 0.3em;
}

.page-byt .lead { color: #4b4b52; }

.page-byt .button {
    background: #ac835d;
    color: #fff;
}

.page-byt .button-line {
    background: transparent;
    border: 1px solid #ac835d;
    color: #ac835d;
}

.page-byt .apt-top,
.page-byt .reel,
.page-byt .plan-hint { background: #fcfbf8; }

.page-byt .apt-sheet,
.page-byt .page { background: #f9f1ec; }

.page-byt .apt-facts {
    background: #fff;
    border: 1px solid #e7ded4;
}

.page-byt .apt-facts dt,
.page-byt .info-list dt {
    color: #8d8d93;
    font-family: Mulish, Muli, Roboto, sans-serif;
    letter-spacing: 0.14em;
}

.page-byt .apt-facts dd,
.page-byt .info-list dd {
    font-family: Marcellus, Georgia, serif;
    font-size: 1.15rem;
    color: #1e1e25;
}

.page-byt .apt-facts dl div,
.page-byt .info-list div { border-bottom: 1px solid #e7ded4; }

.page-byt .info-list dd strong,
.page-byt .apt-facts dd strong {
    color: #ac835d;
    font-weight: 400;
}

.page-byt .state-pill {
    background: transparent;
    border: 1px solid #ac835d;
    color: #ac835d;
    font-family: Mulish, Muli, Roboto, sans-serif;
}

.page-byt .state-pill--predany {
    border-color: #4a4847;
    color: #4a4847;
}

.page-byt .plan-hint,
.page-byt .lead,
.page-byt label { color: #6d6d74; }

.page-byt .calc label { font-family: Mulish, Muli, Roboto, sans-serif; }

.page-byt input,
.page-byt select,
.page-byt textarea {
    border: 1px solid #e0d6cb;
    background: #fff;
}

.page-byt main form button[type="submit"] {
    background: #ac835d;
    color: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* --- Formulare: select, blokove prvky, checkbox a mriezka kalkulacky --- */
select {
    width: min(100%, 32rem);
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 0.55rem 0.65rem;
}

input, textarea, select { display: block; }

label.check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1.2rem 0 0.2rem;
}

.calc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 2.4rem;
    max-width: 46rem;
    margin: 1.5rem 0 1.8rem;
}

.calc label { margin: 0; }

.calc input { width: 100%; margin-top: 0.45rem; }

@media (max-width: 640px) {
    .calc { grid-template-columns: 1fr; }
}

/* --- Odsadenie blokov na detaile bytu --- */
.page-byt .page {
    padding: 2.4rem clamp(1.2rem, 3.5vw, 3rem) 2.8rem;
}

.page-byt .page > h2:first-child { margin-bottom: 1.1rem; }

.page-byt #zaujem .split { align-items: start; }

.page-byt #zaujem .contact-form { width: 100%; max-width: none; }

.page-byt #zaujem .contact-form input,
.page-byt #zaujem .contact-form select,
.page-byt #zaujem .contact-form textarea { width: 100%; }

.page-byt main form button[type="submit"] {
    display: block;
    margin-top: 1.6rem;
    padding: 0.9rem 2.2rem;
}

/* --- Stranka Standard: hero s fotkou, fajkovy zoznam, delene sekcie --- */
.std-hero {
    position: relative;
    background: #2b2b30 url('/media/2026/10/1np_c1-v3.png') center 60% / cover no-repeat;
    color: #fff;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.std-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(20, 20, 24, 0.86) 20%, rgba(20, 20, 24, 0.55) 55%, rgba(20, 20, 24, 0.25));
}

.std-hero__inner {
    position: relative;
    width: min(76rem, calc(100% - 8vw));
    margin: 0 auto;
    max-width: 76rem;
}

.std-hero h1 {
    text-transform: uppercase;
    color: #fff;
    max-width: 24ch;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.std-hero .place { color: #d9b48f; }

.std-hero .lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 44rem;
}

.check-list {
    list-style: none;
    margin: 1.6rem 0 0.5rem;
    padding: 0;
    columns: 2;
    column-gap: 3rem;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: 0.9rem;
    break-inside: avoid;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #ac835d;
    font-weight: 700;
}

.page--plain { background: #fff !important; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem 4rem;
    align-items: center;
}

.split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.split__media { margin: 0; }

.split__media img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .check-list { columns: 1; }
    .split, .split--rev { grid-template-columns: 1fr; }
    .split--rev .split__media { order: 2; }
}

/* --- O projekte: hero pozadie, pocitadla izbovosti, logo --- */
.std-hero--projekt {
    background-image: url('/media/2026/11/nove-tomcany-viz5.jpg');
    background-position: center 35%;
}

.counter-row {
    list-style: none;
    margin: 3rem 0 0.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    text-align: center;
}

.counter-row li {
    padding: 0.4rem 0.6rem;
    border-left: 1px solid #d9c9bb;
}

.counter-row li:first-child { border-left: 0; }

.counter-row strong {
    display: block;
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    color: #ac835d;
    line-height: 1.1;
}

.counter-row span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6d6d74;
}

.split__media--logo {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.split__media--logo img {
    max-width: 20rem;
    width: 100%;
}

@media (max-width: 760px) {
    .counter-row { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
    .counter-row li:nth-child(odd) { border-left: 0; }
}

/* --- Hero pozadia podstranok a kontaktne karty --- */
.std-hero--lokalita { background-image: url('/media/2026/11/nove-tomcany-viz2.jpg'); background-position: center 40%; }
.std-hero--galeria { background-image: url('/media/2026/11/nove-tomcany-viz3.jpg'); background-position: center 45%; }
.std-hero--kontakt { background-image: url('/media/2026/11/nove-tomcany-viz4.jpg'); background-position: center 45%; }
.std-hero--fin { background-image: url('/media/2026/11/nove-tomcany-viz6.jpg'); background-position: center 40%; }
.std-hero--park { background-image: url('/media/2026/11/nove-tomcany-viz5.jpg'); background-position: center 55%; }

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin: 1.6rem 0 0.5rem;
}

.contact-card {
    background: #fff;
    border: 1px solid #e7ded4;
    padding: 1.8rem 2rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin: 0.3rem 0 0.2rem;
    text-transform: uppercase;
}

.contact-card .role { color: #6d6d74; margin-bottom: 1rem; }

.contact-card dl { margin: 0; }

.contact-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #e7ded4;
}

.contact-card dt { color: #8d8d93; }

.contact-card dd { margin: 0; }

.contact-card dd a { color: #ac835d; text-decoration: none; }

@media (max-width: 760px) {
    .contact-cards { grid-template-columns: 1fr; }
}

/* --- Milniky casovej osi verzalkami a vacsie medzery sekcii --- */
.build-line h3 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.page-byt .page > h2:not(:first-child) { margin-top: 3.2rem; }

.build-line { margin-top: 1.6rem; }

.build-line .badge { background: #ac835d; color: #fff; }

/* --- Mapa okolia na lokalite --- */
.mapa {
    position: relative;
    z-index: 0;
    isolation: isolate;
    height: 540px;
    border: 1px solid #e7ded4;
    background: #f1ece5;
}

.mapa-hint { color: #8d8d93; font-size: 0.85rem; margin-top: 0.5rem; }

.mapa-tip {
    font-family: Mulish, Outfit, sans-serif;
    font-size: calc(0.72rem * var(--bublina, 1));
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #3f3f45;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d9c9bb;
    border-radius: 999px;
    box-shadow: none;
    padding: calc(0.15rem * var(--bublina, 1)) calc(0.5rem * var(--bublina, 1));
    transition: font-size 0.2s ease, padding 0.2s ease;
}

.mapa-tip--stavba {
    background: #ac835d;
    border-color: #8a5a32;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Postup kupy bytu: pat cislovanych krokov --- */
.buy-steps {
    list-style: none;
    margin: 1.8rem 0 0.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.6rem 2rem;
}

.buy-steps li { position: relative; }

.buy-steps__num {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid #ac835d;
    color: #ac835d;
    font-family: Marcellus, Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
}

.buy-steps h3 {
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
}

.buy-steps p { color: #4b4b52; font-size: 0.92rem; line-height: 1.6; margin: 0; }

@media (max-width: 980px) {
    .buy-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .buy-steps { grid-template-columns: 1fr; }
}


/* --- Kontaktny formular v dvoch stlpcoch --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
}

.form-grid > div > input,
.form-grid > div > select { width: 100%; }

.form-note { color: #8d8d93; font-size: 0.85rem; margin-top: 0.9rem; }

.de-link { display: inline-block; }

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
}


/* --- Paticka: rovnake farby na vsetkych strankach ako na originale --- */
.page-byt .site-footer h2 {
    font-family: Mulish, Outfit, sans-serif;
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
}

.site-footer a { text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.page-byt .site-footer { color: #fff; }

.page-byt .site-footer a { color: #fff; }

/* --- Finalne pravidla paticky (musia byt za temami stranok) --- */
.site-footer .footer-cta h2 {
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.site-footer .button-dark {
    background: #1e1e25;
    color: #fff;
}

.site-footer .button-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}


/* --- Ponuka bytov: hero a farby podla originalu --- */
.std-hero--ponuka { background-image: url('/media/2026/11/nove-tomcany-viz1.jpg'); background-position: center 40%; }

.page-ponuka .page h2 { color: #1e1e25; }

.group-lead { color: #ac835d; max-width: 60ch; }

/* --- Domov: cisla statistik bronzovym Marcellusom ako original --- */
.stats a strong {
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    color: #ac835d;
}

/* --- Newsletter pole: tmavy text na bielom podklade na vsetkych strankach --- */
.site-footer input,
.page-byt .site-footer input {
    background: #fff;
    color: #1e1e25;
    border: 1px solid rgba(30, 30, 37, 0.2);
}

.site-footer input::placeholder { color: #8d8d93; }

.site-footer label { color: rgba(255, 255, 255, 0.9); }

/* --- Intranetove tabulky evidencie --- */
.visits-table { font-size: 0.85rem; }

.visits-table td, .visits-table th { padding: 0.35rem 0.6rem; vertical-align: top; }

.visits-agent { max-width: 20rem; overflow-wrap: anywhere; color: #66696c; }

.visits-message { max-width: 22rem; white-space: pre-line; }

/* --- Kalkulacka s posuvnikmi --- */
.calc--sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; }

.calc--sliders label { display: block; }

.calc__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.calc__row output { font-family: Marcellus, Georgia, serif; font-size: 1.15rem; color: #ac835d; white-space: nowrap; }

.calc--sliders input[type="range"] {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    accent-color: #ac835d;
    cursor: pointer;
}

@media (max-width: 860px) {
    .calc--sliders { grid-template-columns: 1fr; }
}

/* --- Intranetova lista pre prihlasenych --- */
.intranet-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem 1.4rem;
    background: #1e1e25;
    color: #fff;
    padding: 0.55rem 6vw;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.intranet-bar__label { color: #ac835d; font-weight: 700; margin-right: 0.6rem; }

.intranet-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.15rem 0;
    border-bottom: 2px solid transparent;
}

.intranet-bar a:hover { color: #fff; }

.intranet-bar a.is-current { color: #fff; border-bottom-color: #ac835d; }

.intranet-bar form { margin-left: auto; }

.intranet-bar button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    padding: 0.25rem 0.9rem;
    cursor: pointer;
}

.intranet-bar button:hover { border-color: #fff; }


/* --- Ponuka bytov: stav bytu vyrazne na karte --- */
.apt-card--volny { border-top: 3px solid #5d6b48; }

.apt-card--rezervovany,
.apt-card--predany { border-top: 3px solid #c4a484; background: #f8f4ee; }

.apt-card__media { position: relative; display: block; }

.apt-card__media .state-pill {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    box-shadow: 0 1px 6px rgba(30, 30, 37, 0.18);
}

.apt-card--rezervovany .apt-card__media img,
.apt-card--predany .apt-card__media img { opacity: 0.45; filter: grayscale(0.4); }

/* --- Stav bytu: zelena = volny, bronz = rezervovany (aj na temovanych strankach) --- */
.page-byt .state-pill--volny { border-color: #5d6b48; color: #5d6b48; }

.page-byt .apt-card__media .state-pill { border: 0; color: #fff; }

.page-byt .apt-card__media .state-pill--volny { background: #5d6b48; }

.page-byt .apt-card__media .state-pill--rezervovany { background: #ac835d; }

.page-byt .apt-card__media .state-pill--predany { background: #4a4847; }

/* --- Schemy parkovania --- */
.plan-figure { margin: 1.2rem 0 0; }

.plan-figure img {
    width: 100%;
    height: auto;
    border: 1px solid #e7ded4;
    background: #fff;
}

.plan-figure figcaption { color: #8d8d93; font-size: 0.85rem; margin-top: 0.5rem; }

/* --- Lightbox galerie --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 24, 0.94);
}

.lightbox[hidden] { display: none; }

.lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__close,
.lightbox__nav {
    position: fixed;
    background: none;
    border: 0;
    color: #fff;
    font-family: Marcellus, Georgia, serif;
    cursor: pointer;
    line-height: 1;
    padding: 0.4rem 1rem;
    opacity: 0.85;
}

.lightbox__close:hover,
.lightbox__nav:hover { opacity: 1; }

.lightbox__close { top: 1rem; right: 1.2rem; font-size: 2.6rem; }

.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 4rem; }

.lightbox__nav--prev { left: 0.8rem; }

.lightbox__nav--next { right: 0.8rem; }

.lightbox__count {
    position: fixed;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin: 0;
}

@media (max-width: 860px) {
    .lightbox__nav { font-size: 2.8rem; }
    .lightbox__img { max-width: 96vw; }
}

/* --- Siroke centrovane kontajnery intranetovej evidencie --- */
.page--wide { max-width: none; }

.page--wide .visits-table { display: block; overflow-x: auto; }

/* --- Intranet ceny: stav a zobrazenie ceny --- */
.cell-center { text-align: center; }

.price-form { display: flex; gap: 0.4rem; align-items: center; }

/* --- Jedno ulozenie celeho cennika --- */
.save-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    padding: 0.8rem 0;
    background: linear-gradient(to top, #fcfbf8 70%, transparent);
}

.save-bar button {
    background: #1e1e25;
    color: #fff;
    border: 0;
    font: inherit;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 2.4rem;
    cursor: pointer;
}

.save-bar button:hover { background: #3a3a44; }

/* --- Farebne stavy v select boxoch cennika --- */
.stav-select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-weight: 700;
    padding: 0.35rem 1.7rem 0.35rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231e1e25'/%3E%3C/svg%3E");
}

.stav-select--volny { color: #38451f; background-color: #eef3e0; border: 1px solid #5d6b48; }

.stav-select--rezervovany { color: #4a2f09; background-color: #e7bc7f; border: 1px solid #8a5a32; }

.stav-select--predany {
    color: #fff;
    background-color: #4a4847;
    border: 1px solid #4a4847;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.stav-select option { font-weight: 700; }

.stav-select option[value="volny"] { color: #38451f; background: #eef3e0; }

.stav-select option[value="rezervovany"] { color: #4a2f09; background: #e7bc7f; }

.stav-select option[value="predany"] { color: #fff; background: #4a4847; }

/* --- Schema stati: legenda a odznaky garazi --- */
.plan-legend { display: flex; gap: 1rem; justify-content: center; margin-top: 0.8rem; flex-wrap: wrap; }

.plan-legend__item { font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.8rem; border-radius: 999px; }

.plan-legend__item--volny { color: #38451f; background: #eef3e0; border: 1px solid #5d6b48; }

.plan-legend__item--rezervovany { color: #4a2f09; background: #e7bc7f; border: 1px solid #8a5a32; }

.plan-legend__item--predany { color: #fff; background: #4a4847; border: 1px solid #4a4847; }

.scheme-wrap { position: relative; display: block; }

.scheme-badge {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 1px 5px rgba(30, 30, 37, 0.25);
    pointer-events: none;
}

.scheme-badge--volny { color: #38451f; background: #eef3e0; border: 1px solid #5d6b48; }

.scheme-badge--rezervovany { color: #4a2f09; background: #e7bc7f; border: 1px solid #8a5a32; }

.scheme-badge--predany { color: #fff; background: #4a4847; border: 1px solid #4a4847; }

/* --- Klikatelne garaze na podoryse --- */
.scheme-area {
    position: absolute;
    display: block;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.scheme-area:hover,
.scheme-area:focus-visible {
    border-color: #ac835d;
    background: rgba(172, 131, 93, 0.14);
}

.scheme-area .scheme-badge {
    left: 16%;
    top: 50%;
    transform: translateY(-50%);
}

.plan-legend__item--nabijacka { color: #fff; background: #1e6f50; border: 1px solid #1e6f50; }

.plan-legend__item--invalidne { color: #fff; background: #1d6fb8; border: 1px solid #1d6fb8; }

/* --- Interaktivna schema stati --- */
.statie-stage { position: relative; max-width: 720px; margin: 0 auto; }

.statie-stage a[data-miesto] { cursor: pointer; }

.statie-stage a[data-miesto]:hover .statie-plocha,
.statie-stage a[data-miesto]:focus .statie-plocha { stroke: #ac835d; stroke-width: 3.5; }

/* --- Klikatelne riadky zoznamov bytov --- */
tr[data-href] { cursor: pointer; }

tr[data-href]:hover td,
tr[data-href]:focus-visible td { background: #f6efe7; }

/* --- FAQ boxy s rozbalovanim --- */
.faq-list { display: grid; gap: 0.9rem; margin: 1.4rem 0 2.4rem; }

.faq-box {
    background: #fff;
    border: 1px solid #e7ded4;
    border-left: 3px solid #ac835d;
    padding: 0;
}

.faq-box summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    font-weight: 700;
    color: #1e1e25;
}

.faq-box summary::-webkit-details-marker { display: none; }

.faq-box summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: Marcellus, Georgia, serif;
    font-size: 1.5rem;
    line-height: 1;
    color: #ac835d;
    transition: transform 0.2s ease;
}

.faq-box[open] summary::after { transform: rotate(45deg); }

.faq-box[open] summary { border-bottom: 1px solid #f0e8dd; }

.faq-box > p { margin: 0; padding: 1rem 1.3rem 1.2rem; color: #4a4847; }

.faq-box:hover { border-color: #d9c9bb; border-left-color: #8a5a32; }

/* --- Kontaktny formular: plna sirka poli zarovnana s mriezkou --- */
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; }
