[hidden] { display: none !important; }
/* TRIBASE – styly webu */
/* Písmo Inter (SIL OFL 1.1) – hostované přímo na webu, viz assets/fonts/OFL.txt */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-display-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-display-700.woff") format("woff"); }

:root {
  --ink: #0F1B2D;
  --ink-deep: #0A1320;
  --ground: #F4F5F2;
  --white: #FFFFFF;
  --muted: #4A5565;
  --line: #E1E4DE;
  --accent: #1B7A30;        /* firemní zelená */
  --accent-hover: #146024;
  --lime: #FFF200;          /* žlutá z loga */
  --brand-green: #00A651;   /* zelená z loga (jen logo a plochy, na text je světlá) */
  --on-dark: #C9D1DB;
  --radius: 14px;
  --font-head: "Inter Display", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--ground); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 6px; }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 12px 20px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: background .15s; }
.btn-lg { min-height: 48px; padding: 14px 26px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { color: var(--white); border: 1px solid #44546B; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* Hlavička */
.site-header { background: var(--white); color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--accent); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.lang a { min-width: 40px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--muted) !important; }
.lang a:hover { color: var(--ink) !important; background: #EEF1EC; }
.lang a[aria-current="page"] { background: var(--ink); color: var(--white) !important; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid #C5CBC2; border-radius: 8px; color: var(--ink); cursor: pointer; }

@media (max-width: 1240px) {
  .brand img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,27,45,.08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav .lang { margin-top: 16px; align-self: center; }
  .nav .lang a { min-height: 44px; min-width: 56px; padding: 0; border-bottom: 0; }
}

/* Úvod */
.hero { background-color: var(--ink); color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 72px 96px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -0.012em; }
.lead { font-size: 19px; color: var(--on-dark); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { flex: 1 1 360px; min-width: 0; }
.hero-media .placeholder, .hero-media img { aspect-ratio: 4 / 5; max-height: 520px; width: 100%; height: auto; border-radius: 16px; object-fit: cover; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow-light { color: #AEB8C6; }

.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #5B6575; font-size: 15px;
  background-image: repeating-linear-gradient(135deg, #E3E6E1 0 12px, #ECEEEA 12px 24px); }
.placeholder.dark { background: #1A2940; border: 1px solid #2E3E56; color: #8E9BAE; }

/* Fakta */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-block: 32px; }
.facts strong { display: block; font-family: var(--font-head); font-size: 30px; }
.facts span { font-size: 15px; color: var(--muted); }

/* Sekce */
.section { padding-block: 96px; display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.muted { color: var(--muted); font-size: 17px; max-width: 440px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; color: var(--ink); display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: border-color .15s; }
.card:hover { border-color: var(--accent); }
.card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.card-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.card-links a:hover { text-decoration: underline; }
.vendor { font-size: 15px; font-weight: 500; color: var(--muted); }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); }
.icon { width: 52px; height: 52px; border-radius: 12px; background: #EEF1EC; display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more { font-size: 15px; font-weight: 600; color: var(--accent); }

.band { background: var(--white); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }
.num { font-family: var(--font-head); font-weight: 700; color: var(--accent); }

.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ref { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ref .placeholder, .ref img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; }
.ref-visual { aspect-ratio: 16 / 10; background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 24px; align-content: center; }
.rv-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid #2E3E56; border-radius: 10px; padding: 12px 14px; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: .04em; }
.rv-item svg { width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ref-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.ref-body p { color: var(--muted); font-size: 15px; }
.ref-facts { margin: 6px 0 0; display: flex; gap: 28px; padding-top: 14px; border-top: 1px solid var(--line); }
.ref-facts dt { font-size: 13px; color: var(--muted); }
.ref-facts dd { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.plots { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.plots-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.plots-text p { color: #3B4656; font-size: 17px; line-height: 1.7; }
.plots-lead { font-family: var(--font-head); font-size: 22px !important; font-weight: 600; color: var(--accent) !important; }
.plots-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plots-list li { padding-left: 28px; position: relative; font-size: 16px; }
.plots-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plots-map { flex: 1.3 1 460px; min-width: 0; margin: 0; }
.plan { display: flex; flex-direction: column; gap: 12px; }
.plan-canvas { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.plan-svg { display: block; width: 100%; height: auto; }
.plan-ground { fill: #E7E3D8; }
.plan-streets polyline { fill: none; stroke: #FBFAF6; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.plan-street-names text { font: 600 5px var(--font-body); fill: #6B6455; text-anchor: middle; letter-spacing: .04em; paint-order: stroke; stroke: #FBFAF6; stroke-width: 1.6px; stroke-linejoin: round; pointer-events: none; }
.plan-houses polygon { fill: #8A5A44; stroke: #FFFFFF; stroke-width: .6; pointer-events: none; }
.plan-plot { cursor: pointer; outline: none; }
.plan-plot polygon { stroke: var(--white); stroke-width: .9; transition: filter .15s; }
.plan-plot.is-volna polygon { fill: #8FD07A; }
.plan-plot.is-rezervovana polygon { fill: #F4C95D; }
.plan-plot.is-prodana polygon { fill: #C9CEC5; }
.plan-plot:hover polygon, .plan-plot:focus-visible polygon { filter: brightness(.9); stroke: var(--ink); stroke-width: 1; }
.plan-plot.is-selected polygon { stroke: var(--ink); stroke-width: 2; }
.plan-num { font: 700 6px var(--font-body); fill: #1F2A1B; text-anchor: middle; pointer-events: none; }
.plan-area { font: 500 4.6px var(--font-body); fill: #1F2A1B; text-anchor: middle; pointer-events: none; }
.plan-labels text { paint-order: stroke; stroke: rgba(255,255,255,.75); stroke-width: 1.4px; stroke-linejoin: round; }
.plan-area.is-prodana, .plan-num.is-prodana { fill: #4A5565; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; }
.plan-key { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.sw.is-volna { background: #8FD07A; } .sw.is-rezervovana { background: #F4C95D; } .sw.is-prodana { background: #C9CEC5; } .sw.is-dum { background: #8A5A44; }
.plan-source { margin: 0; font-size: 12px; color: var(--muted); }
.plan-date { color: var(--muted); margin-left: auto; font-size: 13px; }
.plan-info { min-height: 56px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 15px; color: var(--muted); }
.plan-info p { margin: 0; flex: 1 1 100%; }
.plan-info-title { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); }
.plan-badge { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.plan-badge.is-volna { background: #DDF2D4; color: #1F5A12; } .plan-badge.is-rezervovana { background: #FCEFC7; color: #7A5300; } .plan-badge.is-prodana { background: #E6E9E4; color: #4A5565; }
.about { background: #E9ECE6; }
.about-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px; }
.about-media { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 16px; }
.about-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text p { font-size: 17px; color: #3B4656; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.about-text p.cert { font-size: 15px; color: var(--muted); line-height: 1.6; }
.chips a { background: var(--white); border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.chips a:hover { background: var(--accent); color: var(--white); }
.chips span { background: var(--white); border: 1px solid #D3D8CF; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }

/* Kontakt */
.contact { background: var(--ink); color: var(--white); }
.contact-row { display: flex; flex-wrap: wrap; gap: 56px; padding-block: 96px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact address { font-style: normal; font-size: 16px; color: #E3E8EE; line-height: 1.9; }
.contact address a { color: var(--white); font-weight: 600; }
.hours { color: #AEB8C6; font-size: 15px; }
.form { flex: 999 1 520px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 16px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input[type=text], .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid #C5CBC2; border-radius: 8px; min-height: 48px; background: var(--white); color: var(--ink); }
.form textarea { resize: vertical; }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note a { color: var(--accent); }
.full-start { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; font-weight: 600; }

.site-footer { background: var(--ink-deep); color: #AEB8C6; font-size: 14px; }
.footer-cos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding-block: 40px 28px; border-bottom: 1px solid #1E2B3E; }
.co { display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.co strong { color: #E3E8EE; font-weight: 600; font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; }
.site-footer a { color: #D5DBE3; }

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