/* ==========================================================================
   Lenka Čajanová, realitní makléřka. Styl webu.
   Koncept: „Bílá jako papír, zlatá jako arnika."
   Bílý papír, inkoustová modř Oxford Blue, zlatá Ovečka.
   Ornamenty: šumavské vrstevnice a arnika horská.
   Web je záměrně jen ve světlé verzi (Lenčina bílá je součást značky).
   ========================================================================== */

:root {
  /* Barvy */
  --papir: #ffffff;
  --mlha: #fbf8f1;
  --inkoust: #011936;
  --inkoust-2: #4a5a6e;
  --inkoust-3: #7a8797;
  --zlato: #ffbb24;
  --zlato-hover: #f5ad0c;
  --jasmin: #ffdd92;
  --jasmin-svetla: #fff3d1;
  --zlato-tmave: #805e12;
  --linka: #e8dfc9;
  --linka-2: #efe9db;
  --prodano: #011936;
  --stin: 0 1px 2px rgba(1, 25, 54, .04), 0 12px 32px -12px rgba(1, 25, 54, .14);

  /* Písmo */
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-podpis: "Pinyon Script", "Snell Roundhand", "Segoe Script", cursive;

  --t-xs: .8125rem;
  --t-s: .875rem;
  --t-base: 1.0625rem;
  --t-m: 1.1875rem;
  --t-l: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --t-xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --t-2xl: clamp(2.375rem, 1.6rem + 3vw, 3.75rem);
  --t-podpis: clamp(3.75rem, 2rem + 7vw, 8rem);

  /* Rozvržení */
  --sirka: 1240px;
  --uzka: 760px;
  --mezera-sekce: clamp(5rem, 3.5rem + 6vw, 9.5rem);
  --okraj: max(20px, env(safe-area-inset-left, 0px));
  --okraj-p: max(20px, env(safe-area-inset-right, 0px));
  --hlavicka: 76px;
  --r-s: 4px;
  --r-m: 10px;

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hlavicka) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--papir);
  color: var(--inkoust);
  font-family: var(--f-text);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--papir);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--jasmin); color: var(--inkoust); }

:focus-visible {
  outline: 2px solid var(--zlato-tmave);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--inkoust); color: var(--papir); padding: 10px 16px; border-radius: var(--r-s);
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.obal {
  width: 100%;
  max-width: calc(var(--sirka) + 2 * 20px);
  margin-inline: auto;
  padding-left: var(--okraj);
  padding-right: var(--okraj-p);
}
.sekce { position: relative; padding-block: var(--mezera-sekce); }
.sekce--mlha { background: var(--mlha); }

/* Typografie */
.nadpis {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 400;
}
.nadpis--m { font-size: var(--t-xl); line-height: 1.15; }
.kurziva { font-style: italic; }
.perex {
  font-size: var(--t-m);
  line-height: 1.65;
  color: var(--inkoust-2);
  max-width: 36em;
}
.text { max-width: 38em; color: var(--inkoust-2); }
.text p + p { margin-top: 1.1em; }
.text strong { color: var(--inkoust); font-weight: 500; }
.podpis-text {
  font-family: var(--f-podpis);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--inkoust);
}

/* Tlačítka */
.btn {
  --bg: var(--zlato);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px;
  padding: .85em 1.75em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--inkoust);
  font-family: var(--f-text);
  font-size: var(--t-s);
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { --bg: var(--zlato-hover); }
.btn:active { transform: translateY(1px); }
.btn--obrys { --bg: transparent; border-color: var(--inkoust); }
.btn--obrys:hover { --bg: var(--inkoust); color: var(--papir); }
.btn--inkoust { --bg: var(--inkoust); color: var(--papir); }
.btn--inkoust:hover { --bg: #0b2b52; }
.btn--plna { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.odkaz {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500;
  font-size: var(--t-s);
  letter-spacing: .02em;
  text-decoration: none;
  background-image: linear-gradient(var(--zlato), var(--zlato));
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s ease;
}
.odkaz:hover { background-size: 40% 2px; }

/* --------------------------------------------------------------------------
   Ornamenty
   -------------------------------------------------------------------------- */
.vrstevnice {
  position: absolute;
  inset: -12% -4%;
  background: url("../img/ornament/vrstevnice-a.svg") center / cover no-repeat;
  opacity: .5;
  pointer-events: none;
  will-change: transform;
}
.vrstevnice--b { background-image: url("../img/ornament/vrstevnice-b.svg"); opacity: .38; }
.ornament-orez {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%);
}
.arnika {
  position: absolute;
  width: clamp(120px, 14vw, 210px);
  pointer-events: none;
  will-change: transform;
}
.kvitek { width: 28px; height: 28px; flex: none; }

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */
.hlavicka {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255, 255, 255, .0);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.hlavicka.je-posunuta {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--linka-2);
}
.hlavicka__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--hlavicka);
}
.logo {
  display: flex; flex-direction: column; text-decoration: none; line-height: 1;
}
.logo .podpis-text { font-size: 2.15rem; margin-top: 4px; }
.logo small {
  font-size: .625rem; letter-spacing: .26em; color: var(--inkoust-2);
  margin-top: 2px; padding-left: 3px; text-transform: uppercase; font-weight: 500;
}
.menu { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.menu__odkazy { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; }
.menu__odkazy a {
  font-size: var(--t-s); font-weight: 500; text-decoration: none; letter-spacing: .01em;
  padding-block: 6px;
  background-image: linear-gradient(var(--zlato), var(--zlato));
  background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s ease;
}
.menu__odkazy a:hover, .menu__odkazy a[aria-current="page"] { background-size: 100% 2px; }
.menu .btn { min-height: 44px; padding: .7em 1.4em; }
.burger {
  display: none;
  width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 22px; height: 1.5px; background: var(--inkoust); position: relative;
  transition: transform .3s ease, background-color .3s ease;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--hlavicka));
  padding-top: calc(var(--hlavicka) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__mrizka {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero__text { position: relative; z-index: 2; padding-block: clamp(1rem, 3vw, 3rem); }
.hero__jmeno { position: relative; display: inline-block; }
.hero__jmeno .podpis-text {
  display: block;
  font-size: var(--t-podpis);
  padding: .1em .12em .28em 0;
  margin-left: -.04em;
  animation: psani 2.4s cubic-bezier(.55, .08, .2, 1) .25s both;
}
.hero__tah {
  display: block;
  width: 62%;
  height: 14px;
  margin-top: -.9rem;
  margin-left: 18%;
  color: var(--zlato);
  overflow: visible;
}
.hero__tah path {
  stroke-dasharray: 600;
  stroke-dashoffset: 0;
  animation: tah 1.4s cubic-bezier(.6, .1, .2, 1) 2.1s both;
}
@keyframes psani {
  from { clip-path: inset(-30% 100% -40% 0); }
  to { clip-path: inset(-30% -6% -40% 0); }
}
@keyframes tah {
  from { stroke-dashoffset: 600; }
  to { stroke-dashoffset: 0; }
}
.hero__claim {
  margin-top: clamp(1.25rem, 2.6vw, 2.25rem);
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-xl);
  line-height: 1.18;
  max-width: 15em;
}
.hero__uvod { margin-top: 1.4rem; max-width: 31em; color: var(--inkoust-2); }
.hero__akce { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 2.25rem; }
.hero__kontakt {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--linka); max-width: 34rem;
  font-size: var(--t-s);
}
.hero__kontakt a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.hero__kontakt a:hover { color: var(--zlato-tmave); }
.hero__kontakt svg { width: 16px; height: 16px; color: var(--zlato-tmave); }

.hero__foto {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  display: grid;
  justify-items: center;
}
.hero__foto-obal { position: relative; will-change: transform; display: grid; justify-items: center; width: 100%; }
.hero__foto-obal img {
  position: relative;
  width: auto;
  height: min(76vh, 700px);
  min-height: 460px;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
}
.hero__kruh {
  position: absolute;
  left: 50%; top: 4%;
  width: min(100%, 470px);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--jasmin-svetla) 0%, rgba(255, 243, 209, .8) 45%, rgba(255, 243, 209, 0) 70.5%);
}
.jen-siroke { display: none; }
@media (min-width: 1100px) { .jen-siroke { display: inline; } .hero__claim { max-width: none; } }
.hero .arnika--hero { left: -2%; bottom: 2%; width: clamp(130px, 12vw, 190px); }
.hero .arnika--hero2 { right: 2%; top: 8%; width: clamp(64px, 5.5vw, 88px); }

/* --------------------------------------------------------------------------
   O mně
   -------------------------------------------------------------------------- */
.omne { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.omne__foto { position: relative; padding: 0 20px 20px 0; }
.omne__foto::after {
  content: ""; position: absolute; inset: 20px 0 0 20px;
  border: 1px solid var(--zlato); border-radius: 2px; z-index: 0;
}
.omne__foto img:not(.arnika) { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.omne__foto .arnika { right: -34px; bottom: -40px; width: 120px; z-index: 2; }
.omne__text { padding-top: clamp(0px, 2vw, 24px); }
.omne__text .text { margin-top: 1.75rem; }
.omne__text .text p:first-child { font-size: var(--t-m); color: var(--inkoust); line-height: 1.6; }
.omne__podpis { display: flex; align-items: center; gap: 14px; margin-top: 2rem; }
.omne__podpis .podpis-text { font-size: 3rem; color: var(--inkoust); }

.tym { margin-top: clamp(4rem, 7vw, 6.5rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: clamp(24px, 5vw, 80px); padding-top: 3rem; border-top: 1px solid var(--linka); }
.tym h3 { font-family: var(--f-display); font-size: var(--t-l); line-height: 1.25; }
.tym__seznam { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; list-style: none; }
.tym__seznam li { display: grid; gap: 10px; align-content: start; font-size: var(--t-s); color: var(--inkoust-2); line-height: 1.55; }
.tym__seznam strong { display: block; color: var(--inkoust); font-weight: 600; font-size: var(--t-base); }
.tym__ikona { width: 36px; height: 36px; color: var(--zlato-tmave); }

/* --------------------------------------------------------------------------
   Fotopás (parallax)
   -------------------------------------------------------------------------- */
.pas {
  position: relative;
  min-height: clamp(380px, 62vh, 620px);
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--papir);
  text-align: center;
}
.pas__foto {
  position: absolute; inset: -26% 0; z-index: -2;
  will-change: transform;
}
.pas__foto img { width: 100%; height: 100%; object-fit: cover; }
.pas::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1, 25, 54, .18) 0%, rgba(1, 25, 54, .42) 100%);
}
.pas blockquote { margin: 0 auto; padding-block: 4rem; max-width: 52rem; }
.pas blockquote p {
  font-family: var(--f-display); font-style: italic;
  font-size: var(--t-2xl); line-height: 1.12;
  text-shadow: 0 2px 30px rgba(1, 25, 54, .35);
}
.pas footer { margin-top: 1.4rem; font-family: var(--f-podpis); font-size: 2.6rem; line-height: 1; }

/* --------------------------------------------------------------------------
   Záhlaví sekcí
   -------------------------------------------------------------------------- */
.zahlavi { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.zahlavi > div { max-width: 40rem; }
.zahlavi .perex { margin-top: 1rem; }

/* Stavy */
.stavy { display: flex; flex-wrap: wrap; gap: 10px; }
.stav-odkaz {
  display: inline-flex; align-items: center; gap: 10px;
  padding: .55em 1.1em; border: 1px solid var(--linka); border-radius: 999px;
  background: var(--papir); text-decoration: none; font-size: var(--t-s); font-weight: 500;
  transition: border-color .25s ease, background-color .25s ease;
}
.stav-odkaz:hover { border-color: var(--zlato); }
.stav-odkaz b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1; }

.stitek {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 10px;
  border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
  background: var(--papir); color: var(--inkoust);
  box-shadow: 0 1px 2px rgba(1, 25, 54, .12);
}
.stitek::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--zlato); }
.stitek--rezervovano { background: var(--jasmin); color: var(--zlato-tmave); }
.stitek--rezervovano::before { background: var(--zlato-tmave); }
.stitek--prodano { background: var(--inkoust); color: var(--papir); }
.stitek--prodano::before { background: var(--jasmin); }

/* --------------------------------------------------------------------------
   Karty nemovitostí
   -------------------------------------------------------------------------- */
.mrizka-karet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.karta { position: relative; display: flex; flex-direction: column; min-width: 0; }
.karta__foto {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-s);
  aspect-ratio: 4 / 3; background: var(--linka-2);
}
.karta__foto img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.karta:hover .karta__foto img { transform: scale(1.045); }
.karta__foto .stitek { position: absolute; left: 14px; top: 14px; }
.karta--prodano .karta__foto img { filter: saturate(.55) brightness(1.04); }
.karta__telo { display: grid; gap: 6px; padding-top: 18px; }
.karta__misto { font-size: var(--t-xs); color: var(--inkoust-3); letter-spacing: .02em; font-weight: 500; }
.karta__nazev { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.22; }
.karta__nazev a { text-decoration: none; }
.karta__nazev a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.karta__nazev a:focus-visible { outline: none; }
.karta:has(a:focus-visible) .karta__foto { outline: 2px solid var(--zlato-tmave); outline-offset: 3px; }
.karta__radek { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--linka-2); }
.parametry { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-s); color: var(--inkoust-2); }
.parametry span { display: inline-flex; align-items: center; gap: 6px; }
.parametry span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--jasmin); margin-right: 8px; }
.cena { font-weight: 600; font-size: var(--t-base); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cena--prodano { color: var(--inkoust-3); font-weight: 500; }

.nabidka-patka { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: clamp(3rem, 5vw, 4.5rem); }

/* --------------------------------------------------------------------------
   Projekt Nové Hutě
   -------------------------------------------------------------------------- */
.projekt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.projekt__fotky { position: relative; padding-bottom: 12%; }
.projekt__hlavni { position: relative; overflow: hidden; border-radius: var(--r-s); aspect-ratio: 3 / 2; }
.projekt__hlavni img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.projekt__mala {
  position: absolute; right: -6%; bottom: 0; width: 44%;
  border: 8px solid var(--papir); border-radius: var(--r-s); box-shadow: var(--stin);
  background: var(--papir);
}
.projekt__mala img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.projekt__mala figcaption { font-size: var(--t-xs); color: var(--inkoust-3); padding: 8px 4px 2px; }
.projekt__text .perex { margin-top: 1.25rem; }
.fakta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2.25rem 0 0; border-top: 1px solid var(--linka); }
.fakta div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--linka); }
.fakta div:nth-child(odd) { border-right: 1px solid var(--linka); }
.fakta div:nth-child(even) { padding-left: 20px; }
.fakta dt { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.05; }
.fakta dd { margin: 6px 0 0; font-size: var(--t-s); color: var(--inkoust-2); line-height: 1.45; }
.projekt__akce { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 2.25rem; }

/* --------------------------------------------------------------------------
   Jak pracuji
   -------------------------------------------------------------------------- */
.proces { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.proces__lev { position: sticky; top: calc(var(--hlavicka) + 40px); }
.proces__lev .perex { margin-top: 1.25rem; }
.kolaz { position: relative; margin-top: 3rem; height: clamp(300px, 34vw, 440px); }
.kolaz figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-s); box-shadow: var(--stin); will-change: transform; }
.kolaz img { width: 100%; height: 100%; object-fit: cover; }
.kolaz .k1 { left: 0; top: 0; width: 52%; aspect-ratio: 4 / 5; }
.kolaz .k2 { right: 4%; top: 12%; width: 40%; aspect-ratio: 3 / 4; }
.kolaz .k3 { left: 30%; bottom: -6%; width: 38%; aspect-ratio: 1; border: 6px solid var(--papir); }

.kroky { position: relative; }
.kroky__seznam { list-style: none; padding: 0; margin: 0; }
.kroky::before, .kroky__cara {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: var(--linka);
}
.kroky__cara { background: var(--zlato); width: 2px; left: 26.5px; transform-origin: top; transform: scaleY(var(--p, 1)); }
.krok { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding-bottom: 2.4rem; }
.krok:last-child { padding-bottom: 0; }
.krok__c {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--papir); border: 1px solid var(--linka);
  font-family: var(--f-display); font-size: 1.25rem; font-variant-numeric: lining-nums;
  transition: background-color .4s ease, border-color .4s ease;
}
.krok.je-videt .krok__c { border-color: var(--zlato); background: var(--jasmin-svetla); }
.krok h3 { font-family: var(--f-display); font-size: var(--t-l); line-height: 1.2; padding-top: 12px; }
.krok p { margin-top: .5rem; color: var(--inkoust-2); max-width: 34em; }
.krok--garance .krok__c { background: var(--zlato); border-color: var(--zlato); }
.krok--garance .krok__box { background: var(--jasmin-svetla); border-radius: var(--r-m); padding: 4px 22px 20px; margin-left: -10px; }

/* --------------------------------------------------------------------------
   Reference
   -------------------------------------------------------------------------- */
.reference { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.citat { position: relative; margin: 0; max-width: 50rem; }
.citat__znak { width: 54px; height: auto; margin: 0 auto 1.75rem; color: var(--zlato); }
.citat p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); line-height: 1.38; }
.citat footer { margin-top: 1.75rem; display: grid; gap: 6px; justify-items: center; font-size: var(--t-s); color: var(--inkoust-2); }
.hvezdy { display: flex; gap: 4px; color: var(--zlato); }
.hvezdy svg { width: 16px; height: 16px; }
.citat footer a { color: var(--inkoust-2); }
.prodane { width: 100%; margin-top: clamp(4rem, 7vw, 6rem); padding-top: 3rem; border-top: 1px solid var(--linka); text-align: left; }
.prodane__hlava { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; margin-bottom: 2rem; }
.prodane__hlava h3 { font-family: var(--f-display); font-size: var(--t-l); }
.prodane__rada { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.mini { position: relative; display: grid; gap: 10px; text-decoration: none; }
.mini__foto { position: relative; overflow: hidden; border-radius: var(--r-s); aspect-ratio: 4 / 3; }
.mini__foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); transition: filter .5s ease, transform 1s ease; }
.mini:hover .mini__foto img { filter: saturate(1); transform: scale(1.04); }
.mini__foto .stitek { position: absolute; left: 10px; top: 10px; font-size: .6875rem; padding: 4px 9px 4px 8px; }
.mini span { font-size: var(--t-s); line-height: 1.4; font-weight: 500; }
.mini small { display: block; font-size: var(--t-xs); color: var(--inkoust-3); font-weight: 400; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Kontakt a formuláře
   -------------------------------------------------------------------------- */
.kontakt { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kontakt__uvod .text { margin-top: 1.25rem; }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 2.5rem; }
.pole { display: grid; gap: 7px; min-width: 0; }
.pole--cela { grid-column: 1 / -1; }
.pole label, .pole legend { font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em; color: var(--inkoust); padding: 0; }
.pole input, .pole textarea, .pole select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font: inherit; font-size: var(--t-base); color: var(--inkoust);
  background: var(--papir);
  border: 1px solid var(--linka);
  border-radius: var(--r-s);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pole textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.pole input:hover, .pole textarea:hover, .pole select:hover { border-color: #d9cba8; }
.pole input:focus, .pole textarea:focus, .pole select:focus { outline: none; border-color: var(--zlato-tmave); box-shadow: 0 0 0 3px rgba(255, 187, 36, .28); }
.pole input:user-invalid, .pole textarea:user-invalid { border-color: #b4532a; }
.volby { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.volby legend { margin-bottom: 9px; }
.volba { position: relative; }
.volba input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.volba span {
  display: inline-block; padding: .55em 1.05em; border: 1px solid var(--linka); border-radius: 999px;
  font-size: var(--t-s); background: var(--papir); transition: all .2s ease;
}
.volba input:checked + span { background: var(--inkoust); color: var(--papir); border-color: var(--inkoust); }
.volba input:focus-visible + span { outline: 2px solid var(--zlato-tmave); outline-offset: 2px; }
.souhlas { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-xs); color: var(--inkoust-2); line-height: 1.5; }
.souhlas input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--inkoust); flex: none; }
.formular__akce { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.formular__pozn { font-size: var(--t-xs); color: var(--inkoust-3); }

.odeslano {
  grid-column: 1 / -1;
  padding: 24px; border-radius: var(--r-m);
  background: var(--jasmin-svetla);
  display: grid; gap: 12px;
}
.odeslano h3 { font-family: var(--f-display); font-size: var(--t-l); }
.odeslano p { color: var(--inkoust-2); font-size: var(--t-s); }
.odeslano pre {
  margin: 0; padding: 14px 16px; background: var(--papir); border-radius: var(--r-s);
  font: inherit; font-size: var(--t-s); white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: auto;
  border: 1px solid var(--linka);
}
.odeslano .akce { display: flex; flex-wrap: wrap; gap: 10px; }
.odeslano .btn { min-height: 44px; padding: .65em 1.3em; }

.vizitka {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  background: var(--papir);
  border: 1px solid var(--linka);
  border-radius: var(--r-m);
  box-shadow: var(--stin);
}
.vizitka__hlava { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--linka-2); }
.vizitka__hlava img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--jasmin); }
.vizitka__hlava .podpis-text { font-size: 2.25rem; }
.vizitka__hlava small { display: block; font-size: var(--t-xs); color: var(--inkoust-2); margin-top: 4px; }
.vizitka dl { margin: 0; display: grid; gap: 18px; padding-top: 22px; }
.vizitka dt { font-size: var(--t-xs); color: var(--inkoust-3); font-weight: 500; }
.vizitka dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.vizitka dd a { text-decoration: none; }
.vizitka dd a:hover { color: var(--zlato-tmave); text-decoration: underline; }
.vizitka__radek { display: flex; align-items: center; gap: 8px; }
.kopirovat {
  border: 1px solid var(--linka); background: var(--papir); border-radius: 999px;
  font-size: .6875rem; font-weight: 600; padding: 3px 10px; color: var(--inkoust-2);
}
.kopirovat:hover { border-color: var(--zlato); color: var(--inkoust); }
.site { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.site a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linka); transition: background-color .25s ease, border-color .25s ease;
}
.site a:hover { background: var(--jasmin-svetla); border-color: var(--zlato); }
.site svg { width: 18px; height: 18px; }
.vizitka .btn { margin-top: 24px; }
.kontakt .arnika--kontakt { right: -3%; bottom: -14%; width: clamp(110px, 10vw, 160px); opacity: .9; }

/* --------------------------------------------------------------------------
   Patička
   -------------------------------------------------------------------------- */
.paticka { position: relative; background: var(--papir); border-top: 1px solid var(--linka-2); padding-block: clamp(4rem, 7vw, 6rem) 2rem; overflow: hidden; }
.paticka__hlava { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; padding-bottom: 3rem; border-bottom: 1px solid var(--linka); }
.paticka__hlava .podpis-text { font-size: clamp(3.25rem, 2rem + 4vw, 5.5rem); }
.paticka__hlava p { font-family: var(--f-display); font-style: italic; font-size: var(--t-l); max-width: 19em; line-height: 1.3; }
.paticka__sloupce { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 3rem; font-size: var(--t-s); }
.paticka__sloupce h3 { font-size: var(--t-xs); font-weight: 600; color: var(--inkoust-3); margin-bottom: 14px; letter-spacing: .02em; }
.paticka__sloupce ul { list-style: none; display: grid; gap: 9px; }
.paticka__sloupce a { text-decoration: none; }
.paticka__sloupce a:hover { text-decoration: underline; text-decoration-color: var(--zlato); text-decoration-thickness: 2px; }
.paticka__sloupce address { font-style: normal; line-height: 1.7; color: var(--inkoust-2); }
.paticka__logo img { width: 190px; margin-bottom: 12px; }
.paticka__spodek { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 1.75rem; border-top: 1px solid var(--linka); font-size: var(--t-xs); color: var(--inkoust-3); }
.paticka__spodek a { color: inherit; }

/* --------------------------------------------------------------------------
   Stránka: nabídka
   -------------------------------------------------------------------------- */
.uvod-stranky { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.uvod-stranky .perex { margin-top: 1.1rem; }
.drobky { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--t-xs); color: var(--inkoust-3); margin-bottom: 1.5rem; }
.drobky li + li::before { content: "/"; margin-right: 8px; color: var(--linka); }
.drobky a { text-decoration: none; }
.drobky a:hover { color: var(--inkoust); }

.filtry {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hlavicka)); z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linka-2);
}
.filtry__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.zalozky { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 4px; }
.zalozky::-webkit-scrollbar { display: none; }
.zalozka {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid transparent; background: transparent; border-radius: 999px;
  padding: .55em 1.1em; font-size: var(--t-s); font-weight: 500; color: var(--inkoust-2);
  transition: all .2s ease;
}
.zalozka:hover { color: var(--inkoust); background: var(--mlha); }
.zalozka[aria-selected="true"] { background: var(--inkoust); color: var(--papir); }
.zalozka .pocet { font-size: .75rem; font-weight: 600; min-width: 1.6em; padding: 1px 6px; border-radius: 999px; background: var(--linka-2); color: var(--inkoust); text-align: center; }
.zalozka[aria-selected="true"] .pocet { background: var(--zlato); color: var(--inkoust); }
.vyber { display: flex; flex-wrap: wrap; gap: 10px; }
.vyber label { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--inkoust-3); font-weight: 500; }
.vyber select {
  min-height: 42px; padding: 8px 34px 8px 14px; border: 1px solid var(--linka); border-radius: 999px;
  font: inherit; font-size: var(--t-s); color: var(--inkoust); background: var(--papir);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23011936' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.vysledky { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: var(--mezera-sekce); }
.vysledky__info { font-size: var(--t-s); color: var(--inkoust-3); margin-bottom: 1.5rem; min-height: 1.7em; }
.prazdno { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; display: grid; gap: 14px; justify-items: center; color: var(--inkoust-2); }
.prazdno .kvitek { width: 56px; height: 56px; }

/* --------------------------------------------------------------------------
   Stránka: detail nemovitosti
   -------------------------------------------------------------------------- */
.detail-hlava { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.mozaika {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px; height: clamp(320px, 52vw, 580px); margin-top: 1rem;
}
.mozaika button { position: relative; border: 0; padding: 0; overflow: hidden; border-radius: var(--r-s); background: var(--linka-2); min-height: 0; }
.mozaika button:first-child { grid-row: 1 / 3; }
.mozaika img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.mozaika button:hover img { transform: scale(1.03); }
.mozaika__vse {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: var(--papir); color: var(--inkoust);
  font-size: var(--t-xs); font-weight: 600; box-shadow: 0 2px 10px rgba(1, 25, 54, .15);
}
.mozaika__vse svg { width: 16px; height: 16px; }
.mozaika .stitek { position: absolute; left: 16px; top: 16px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: var(--mezera-sekce); }
.detail__nazev { font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1.08; }
.detail__misto { display: flex; align-items: center; gap: 8px; margin-top: 1rem; color: var(--inkoust-2); }
.detail__misto svg { width: 18px; height: 18px; color: var(--zlato-tmave); }
.galerie-volby { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.galerie-volby button {
  border: 1px solid var(--linka); background: var(--papir); border-radius: 999px;
  padding: .5em 1.05em; font-size: var(--t-s); font-weight: 500;
}
.galerie-volby button:hover { border-color: var(--zlato); background: var(--jasmin-svetla); }
.galerie-volby small { color: var(--inkoust-3); font-weight: 500; margin-left: 4px; }
.popis { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--linka); color: var(--inkoust-2); max-width: 40em; }
.popis > p:first-child { font-family: var(--f-display); font-style: italic; font-size: var(--t-l); line-height: 1.4; color: var(--inkoust); margin-bottom: 1.5rem; }
.popis p + p { margin-top: 1em; }
.popis h3 { font-family: var(--f-display); font-size: var(--t-l); color: var(--inkoust); margin: 2rem 0 .75rem; }
.popis ul { margin: 1rem 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.popis li { position: relative; padding-left: 22px; }
.popis li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--zlato); }
.popis strong { color: var(--inkoust); font-weight: 600; }
.poznamka { margin-top: 1.5rem; font-size: var(--t-xs); color: var(--inkoust-3); }

.blok-detail { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--linka); }
.blok-detail h2 { font-family: var(--f-display); font-size: var(--t-l); margin-bottom: 1.25rem; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-s);
  border: 0; padding: 0; background: var(--inkoust); color: var(--papir); text-decoration: none;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s ease, transform 1s ease; }
.video:hover img { opacity: .7; transform: scale(1.02); }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 14px; border-radius: 999px; background: var(--papir); color: var(--inkoust);
  font-weight: 600; font-size: var(--t-s);
}
.video__play i { width: 38px; height: 38px; border-radius: 50%; background: var(--zlato); display: grid; place-items: center; }
.video__play svg { width: 14px; height: 14px; margin-left: 2px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-odkaz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--r-m); background: var(--mlha); position: relative; overflow: hidden; }
.mapa-odkaz .vrstevnice { inset: -40%; opacity: .55; }
.mapa-odkaz > :not(.vrstevnice) { position: relative; }
.mapa-odkaz strong { display: block; font-weight: 600; }
.mapa-odkaz span { font-size: var(--t-s); color: var(--inkoust-2); }

.panel {
  position: sticky; top: calc(var(--hlavicka) + 24px);
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--linka); border-radius: var(--r-m);
  background: var(--papir); box-shadow: var(--stin);
}
.panel__cena { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.1; margin-top: 14px; font-variant-numeric: lining-nums; }
.panel__cena small { display: block; font-family: var(--f-text); font-size: var(--t-xs); color: var(--inkoust-3); margin-top: 6px; }
.panel__param { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; border-top: 1px solid var(--linka-2); }
.panel__param div { padding: 12px 0; border-bottom: 1px solid var(--linka-2); }
.panel__param dt { font-size: var(--t-xs); color: var(--inkoust-3); }
.panel__param dd { margin: 2px 0 0; font-weight: 500; font-size: var(--t-s); }
.panel .btn { margin-top: 22px; }
.panel__makler { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--linka-2); }
.panel__makler img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--jasmin); }
.panel__makler strong { display: block; font-weight: 600; font-size: var(--t-s); }
.panel__makler a { display: block; font-size: var(--t-s); text-decoration: none; color: var(--inkoust-2); }
.panel__makler a:hover { color: var(--zlato-tmave); }
.panel__externi { display: block; margin-top: 16px; font-size: var(--t-xs); color: var(--inkoust-3); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, .985);
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}
.lightbox[hidden] { display: none !important; }
.lightbox__hlava { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(16px, 2vw); }
.lightbox__hlava p { font-size: var(--t-s); color: var(--inkoust-2); }
.lightbox__hlava b { color: var(--inkoust); font-weight: 600; }
.lightbox__scena { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(16px, 6vw); }
.lightbox__scena img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; user-select: none; -webkit-user-drag: none; }
.kulate {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linka); background: var(--papir);
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease;
}
.kulate:hover { background: var(--jasmin-svetla); border-color: var(--zlato); }
.kulate svg { width: 20px; height: 20px; }
.lightbox__sipka { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__sipka--l { left: max(10px, 1.5vw); }
.lightbox__sipka--p { right: max(10px, 1.5vw); }
.lightbox__pas { display: flex; gap: 8px; overflow-x: auto; padding: 14px max(16px, 2vw) 18px; scrollbar-width: thin; }
.lightbox__pas button { flex: none; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: var(--linka-2); opacity: .6; }
.lightbox__pas button[aria-current="true"] { border-color: var(--zlato); opacity: 1; }
.lightbox__pas img { width: 100%; height: 100%; object-fit: cover; }

/* Další nemovitosti */
.dalsi { padding-block: var(--mezera-sekce); background: var(--mlha); }

/* Chyba / nenalezeno */
.nenalezeno { padding-block: 6rem; text-align: center; display: grid; gap: 18px; justify-items: center; }

/* --------------------------------------------------------------------------
   Responzivita
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .menu__odkazy { gap: 18px; }
  .tym__seznam { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prodane__rada { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prodane__rada > :nth-child(n + 4) { display: none; }
}

@media (max-width: 960px) {
  :root { --hlavicka: 68px; }
  .burger { display: inline-flex; }
  .menu {
    position: fixed; inset: calc(env(safe-area-inset-top, 0px) + var(--hlavicka)) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 32px var(--okraj-p) calc(32px + env(safe-area-inset-bottom, 0px)) var(--okraj);
    background: var(--papir);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    overflow-y: auto;
  }
  .menu.je-otevrene { transform: none; opacity: 1; visibility: visible; transition: opacity .3s ease, transform .3s ease; }
  .menu__odkazy { flex-direction: column; gap: 4px; }
  .menu__odkazy a { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 400; padding-block: 8px; background: none; }
  .menu .btn { min-height: 52px; }
  .hlavicka.menu-otevrene { background: var(--papir); box-shadow: 0 1px 0 var(--linka-2); }

  .hero__mrizka { grid-template-columns: minmax(0, 1fr); }
  .hero__foto { max-width: 420px; order: 2; }
  .hero .arnika--hero { left: -6%; }
  .omne, .projekt, .proces, .kontakt, .detail { grid-template-columns: minmax(0, 1fr); }
  .omne__foto { max-width: 520px; }
  .tym { grid-template-columns: minmax(0, 1fr); }
  .mrizka-karet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proces__lev { position: relative; top: 0; }
  .kolaz { max-width: 560px; }
  .projekt__mala { right: 0; }
  .panel { position: relative; top: 0; }
  .paticka__sloupce { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --t-base: 1rem; }
  .mrizka-karet { grid-template-columns: minmax(0, 1fr); }
  .tym__seznam { grid-template-columns: minmax(0, 1fr); }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .prodane__rada { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prodane__rada > :nth-child(n + 4) { display: none; }
  .fakta div, .fakta div:nth-child(even) { padding-left: 0; padding-right: 10px; }
  .fakta div:nth-child(even) { padding-left: 14px; }
  .mozaika { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(300px, 96vw, 460px); }
  .mozaika button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mozaika button:nth-child(n + 4) { display: none; }
  .paticka__sloupce { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__akce .btn { flex: 1 1 auto; }
  .lightbox__sipka { top: auto; bottom: 8px; translate: none; }
  .lightbox__scena { padding-bottom: 64px; }
  .filtry__in { flex-direction: column; align-items: stretch; }
  .vyber { justify-content: space-between; }
  .kolaz { height: 340px; }
  .kroky::before, .kroky__cara { left: 21px; }
  .kroky__cara { left: 20.5px; }
  .krok { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .krok__c { width: 44px; height: 44px; font-size: 1.05rem; }
  .krok h3 { padding-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  [data-parallax] { transform: none !important; }
}

/* Optická velikost Bodoni: silnější vlasové tahy u menších velikostí */
.nadpis, .hero__claim, .pas blockquote p, .detail__nazev, .paticka__hlava p { font-optical-sizing: none; font-variation-settings: "opsz" 40; }
.karta__nazev, .krok h3, .tym h3, .citat p, .popis h3, .popis > p:first-child, .blok-detail h2, .prodane__hlava h3, .odeslano h3, .menu__odkazy a, .prazdno h2 { font-optical-sizing: none; font-variation-settings: "opsz" 16; }
.krok__c, .fakta dt, .stav-odkaz b, .panel__cena { font-optical-sizing: none; font-variation-settings: "opsz" 24; }
.dispo { font-family: var(--f-text); font-size: .74em; font-weight: 500; letter-spacing: 0; vertical-align: .06em; }

/* Ornamenty nikdy nerozšíří stránku do strany */
main > section, main > div, .paticka { overflow-x: clip; }
.filtry__in > * { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .vyber label { flex: 1 1 140px; }
  .vyber select { width: 100%; }
  .omne__foto .arnika { right: -6px; bottom: -34px; width: 92px; }
  .kontakt .arnika--kontakt { display: none; }
  .hero__foto-obal img { height: auto; width: min(76vw, 300px); min-height: 0; }
}
.vizitka__radek { flex-wrap: wrap; }
.kopirovat { flex: none; }
.video__play { white-space: nowrap; }
.detail__mobil { display: none; }
@media (max-width: 960px) {
  .kolaz { margin-bottom: 4.5rem; }
  .detail__mobil {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
    margin-top: 1.5rem; padding: 18px 20px; border: 1px solid var(--linka); border-radius: var(--r-m); background: var(--papir);
  }
  .detail__mobil .panel__cena { margin: 6px 0 0; font-size: var(--t-l); }
  .detail__mobil .btn { min-height: 46px; padding: .7em 1.4em; }
}
.lightbox__scena img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; padding: 0 max(16px, 6vw); }
.lightbox__sipka { z-index: 1; }
@media (max-width: 640px) { .lightbox__scena img { padding: 0 0 64px; } .lightbox__sipka--l { left: calc(50% - 58px); } .lightbox__sipka--p { right: calc(50% - 58px); } }
@media (max-width: 960px) {
  .hero__foto { order: -1; max-width: 340px; }
  .hero__foto-obal img { height: auto; width: min(58vw, 250px); min-height: 0; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); }
  .hero__kruh { top: 2%; width: min(86vw, 330px); }
  .hero__text { margin-top: -110px; padding-top: 0; }
  .hero .arnika--hero { left: 0; bottom: 18%; width: 96px; }
  .hero .arnika--hero2 { right: 4%; top: 6%; width: 56px; }
}
@media (max-width: 960px) {
  .hero__foto-obal img { width: min(64vw, 270px); height: min(46vh, 350px); object-fit: cover; object-position: 50% 0; }
  .hero__text { margin-top: -70px; }
  .hero .arnika--hero { bottom: 16%; left: 2%; width: 84px; }
}

/* Jméno podle Lenčiny vizitky (Coldiac → nejbližší webové písmo Cormorant Garamond, verzálky) */
:root { --f-jmeno: "Cormorant Garamond", "Coldiac", Georgia, serif; }
.podpis-text { font-family: var(--f-jmeno); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; line-height: 1.05; }
.logo .podpis-text { font-size: 1.45rem; margin-top: 0; letter-spacing: .07em; }
.logo small { padding-left: 1px; letter-spacing: .3em; }
.hero__jmeno .podpis-text { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.4rem); padding: 0 0 .25em; margin-left: 0; letter-spacing: .05em; }
.hero__tah { margin-top: -.2rem; margin-left: 0; width: 46%; }
.omne__podpis .podpis-text { font-size: 1.6rem; }
.pas footer { font-family: var(--f-jmeno); font-size: 1.3rem; letter-spacing: .25em; text-transform: uppercase; }
.vizitka__hlava .podpis-text { font-size: 1.4rem; }
.paticka__hlava .podpis-text { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
@media (max-width: 960px) { .hero__jmeno .podpis-text { font-size: clamp(2.3rem, 9.5vw, 3.6rem); } .logo .podpis-text { font-size: 1.2rem; } }

/* ===== Úpravy podle Lenky (10/2026) =====
   Písmo Forum (jako na vizitce), černý text, bílé pozadí,
   světle šedé plochy, detaily v jemné nažloutlé. Bez kytiček. */
:root {
  --inkoust: #141414;
  --inkoust-2: #4d4d4d;
  --inkoust-3: #7d7d7d;
  --mlha: #f6f6f5;
  --linka: #e4e1d8;
  --linka-2: #eeece7;
  --detail: #e6d8a8;
  --jasmin-svetla: #fbf6e6;
  --f-display: "Forum", "Cormorant Garamond", Georgia, serif;
}
.nadpis, .hero__claim, .pas blockquote p, .detail__nazev, .paticka__hlava p,
.karta__nazev, .krok h3, .tym h3, .citat p, .popis h3, .popis > p:first-child,
.blok-detail h2, .prodane__hlava h3, .odeslano h3, .krok__c, .fakta dt, .stav-odkaz b, .panel__cena {
  font-family: var(--f-display); font-style: normal; font-variation-settings: normal; letter-spacing: .01em;
}
.nadpis { font-weight: 400; line-height: 1.1; }
.hero__claim { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.25; }
.pas blockquote p { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.dispo { font-family: var(--f-display); font-size: 1em; font-weight: 400; vertical-align: 0; }
.hero__tah { color: var(--detail); }
.hero__kruh { background: radial-gradient(circle at 50% 50%, #f1f1f0 0%, rgba(241,241,240,.75) 45%, rgba(241,241,240,0) 70.5%); }
.krok.je-videt .krok__c { border-color: var(--detail); background: var(--jasmin-svetla); }
.kroky__cara { background: var(--detail); }
.omne__foto::after { border-color: var(--detail); }
.vrstevnice { opacity: .9; }

/* Technický rámeček kolem portrétu (jako výkres) */
.ramecek { position: absolute; left: 4%; right: 4%; top: 10%; bottom: 3%; border: 1px solid var(--detail); pointer-events: none; }
.ramecek i { position: absolute; width: 22px; height: 22px; border-color: #c9b36e; border-style: solid; border-width: 0; }
.ramecek i:nth-child(1) { left: -8px; top: -8px; border-left-width: 1px; border-top-width: 1px; }
.ramecek i:nth-child(2) { right: -8px; top: -8px; border-right-width: 1px; border-top-width: 1px; }
.ramecek i:nth-child(3) { left: -8px; bottom: -8px; border-left-width: 1px; border-bottom-width: 1px; }
.ramecek i:nth-child(4) { right: -8px; bottom: -8px; border-right-width: 1px; border-bottom-width: 1px; }
.omne__foto::before { content: ""; position: absolute; left: -10px; top: 10px; width: 22px; height: 22px; border-left: 1px solid #c9b36e; border-top: 1px solid #c9b36e; z-index: 2; }

/* Recenze */
.reference { justify-items: stretch; text-align: left; }
.recenze-hlava { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.recenze-mrizka { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.recenze { margin: 0; padding: 26px 24px; border: 1px solid var(--linka); display: flex; flex-direction: column; gap: 14px; background: var(--papir); position: relative; }
.recenze::before { content: ""; position: absolute; left: -1px; top: -1px; width: 18px; height: 18px; border-left: 1px solid #c9b36e; border-top: 1px solid #c9b36e; }
.recenze blockquote { margin: 0; flex: 1; }
.recenze p { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.45; color: var(--inkoust); }
.recenze figcaption { display: grid; gap: 2px; font-size: var(--t-s); padding-top: 14px; border-top: 1px solid var(--linka-2); }
.recenze figcaption strong { font-weight: 600; }
.recenze figcaption span { color: var(--inkoust-3); font-size: var(--t-xs); }
.recenze .hvezdy { color: #e0b43a; }
.recenze-odkaz { margin-top: 2rem; }
@media (max-width: 1100px) { .recenze-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .recenze-mrizka { grid-template-columns: minmax(0, 1fr); } }

/* Světle žlutá místo oranžovo-zlaté (podle Lenky, jako pozadí jejího profilového kolečka) */
:root { --zlato: #f5e39a; --zlato-hover: #efd77a; }
.hero__tah { color: var(--zlato); }
.recenze .hvezdy, .hvezdy { color: #e9cf6a; }
.krok--garance .krok__c { background: var(--zlato); border-color: var(--zlato); }
