/* =============================================================
   Milan Břečka – osobní web realitního makléře
   Navazuje na landing page odhadu (tyrkys z loga, Montserrat, sklo),
   ale osobněji: věty místo verzálek, víc fotek, méně textu.
   Pravidlo: záře, stín a rámeček se mění vždy plynule (transition 220–350 ms).
   ============================================================= */

:root {
  --bg: #ffffff;
  --ink: #0c111d;
  --ink-soft: #2a3346;
  --dim: #5b6579;              /* 6,2:1 na bílé */
  --line: rgba(120,137,164,.24);
  --teal: #378A93;             /* barva loga – jen velké prvky, 4,0:1 */
  --teal-dark: #1B6567;
  --teal-btn: #2c747c;         /* tlačítka a malý barevný text, 5,4:1 */
  --tint: #eef5f6;
  --tint-2: #e2eff0;
  --paper: #f5f9f9;
  --deep: #0f3b3e;             /* hluboký pás: Jak prodávám, kontakt */
  --deep-2: #145055;
  --on-deep: #ffffff;
  --on-deep-soft: #c4dfe1;     /* 9,8:1 na --deep */
  --on-deep-line: rgba(255,255,255,.14);
  --star: #FBBC04;             /* žlutá hvězd jako u hodnocení Google */

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(.23,1,.32,1);
  --ease-glow: cubic-bezier(.2,.7,.2,1);
  --ease-sweep: cubic-bezier(.65,0,.35,1);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --section: clamp(4.5rem, 10vw, 8rem);
  --head-h: 104px;             /* výška lepkavé hlavičky na mobilu (lišta + záložky) */
  --glass-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -1px 0 rgba(120,137,164,.16),
    0 18px 48px rgba(40,70,90,.10);
}
@media (min-width: 1180px) { :root { --head-h: 76px; } }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: rgba(114,124,146,.45) transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--teal-btn);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: rgba(55,138,147,.2); color: var(--ink); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(114,124,146,.38); border-radius: 999px; border: 3px solid #fff; }

/* Fokus se rozsvítí plynule: obrys je nakreslený vždy, mění se jen jeho barva. */
:where(a, button, [tabindex]) {
  outline: 2px solid transparent; outline-offset: 3px;
  transition: outline-color .25s var(--ease-glow);
}
:focus-visible { outline-color: var(--teal); }
.method :focus-visible, .contact :focus-visible { outline-color: #9fd6db; }

section[id] { scroll-margin-top: calc(var(--head-h) - 1px); }
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .wrap { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding-inline: 2rem; } }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 1000; padding: .6rem 1rem; background: #fff; border-radius: 999px; box-shadow: var(--glass-shadow); font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- Typografie ---------- */
h1 {
  font-size: clamp(3.25rem, 6.6vw + 1rem, 6rem);
  font-weight: 700; line-height: .98; letter-spacing: -.04em; color: var(--ink);
}
h1 em { display: block; font-style: italic; color: var(--teal); }
h2 {
  font-size: clamp(2rem, 2.6vw + 1.1rem, 3.375rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--ink);
}
h2 em { font-style: italic; color: var(--teal); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
.sec_head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec_head p, .method_head p, .sold_head p, .blog_head p { margin-top: .9rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); max-width: 34rem; }

/* Štítek „Připravujeme“ – jediná jiná nota, aby bylo vidět, co ještě chybí. */
.tag {
  display: inline-flex; align-items: center; gap: .35rem; vertical-align: middle;
  padding: .18rem .55rem; border-radius: 999px;
  background: var(--tint); border: 1px dashed rgba(44,116,124,.45);
  color: var(--teal-btn); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.tag.is-dark { background: rgba(44,116,124,.08); }

/* ---------- Tlačítka ----------
   Při hoveru se zleva přelije tmavší tyrkys, tlačítko se zvedne o 2 px
   a rozsvítí se prstenec. Klidový stín má stejný počet vrstev s nulou,
   aby se stín interpoloval, ne přeskočil. */
.btn {
  --btn-fill: var(--teal-dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .85rem 1.4rem; border-radius: 999px;
  background-color: var(--teal-btn); color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 10px 22px -12px rgba(27,101,103,0);
  transition: color .28s ease, border-color .28s ease, outline-color .25s ease,
    transform .3s var(--ease-glow), box-shadow .3s var(--ease-glow);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill); transform: scaleX(0); transform-origin: left;
  transition: transform .42s var(--ease-sweep);
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:focus-visible::after { transform: scaleX(1); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(55,138,147,.16), 0 16px 30px -12px rgba(27,101,103,.6); }
  .btn:hover::after { transform: scaleX(1); }
  .btn:active { transform: translateY(0) scale(.97); }
}
.btn.is-big { min-height: 3.375rem; padding: 1rem 1.6rem; font-size: 1rem; }
.btn.is-ghost { background-color: #fff; color: var(--ink); border-color: rgba(43,63,88,.18); --btn-fill: var(--ink); }
.btn.is-light { background-color: #fff; color: var(--teal-dark); border-color: #fff; --btn-fill: var(--tint-2);
  box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 14px 30px -10px rgba(0,0,0,.3); }
.btn.is-muted { background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); --btn-fill: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn.is-ghost:hover { color: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(16,24,40,.08), 0 16px 30px -12px rgba(16,24,40,.45); }
  .btn.is-light:hover { box-shadow: 0 0 0 5px rgba(255,255,255,.2), 0 20px 36px -10px rgba(0,0,0,.4); }
  .btn.is-muted:hover { color: var(--deep); border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.14), 0 20px 36px -10px rgba(0,0,0,.4); }
}
.btn.is-ghost:focus-visible { color: #fff; }
.btn.is-muted:focus-visible { color: var(--deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem;
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none;
  transition: color .25s ease, outline-color .25s ease;
}
.link-arrow svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--teal-btn); }
  .link-arrow:hover svg { transform: translateX(4px); }
}

/* ---------- Hlavička se záložkami ---------- */
.top {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  box-shadow: 0 10px 30px -24px rgba(12,17,29,0);
  transition: border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow);
}
.top.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(12,17,29,.35); }
.top_bar {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand act" "tabs tabs";
  align-items: center; column-gap: 1rem;
  max-width: 76rem; margin-inline: auto; padding: .45rem 1rem 0;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { height: 2.1rem; width: auto; }
.top_call {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 2.75rem; padding: 0 .9rem; border-radius: 999px;
  color: var(--teal-dark); background: var(--tint); font-weight: 600; font-size: .875rem; text-decoration: none;
  border: 1px solid rgba(44,116,124,.14);
  box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.top_call svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.top_call span { display: none; }
@media (min-width: 600px) and (max-width: 1179px) { .top_call span { display: inline; } }
@media (hover: hover) and (pointer: fine) {
  .top_call:hover { background: var(--tint-2); border-color: rgba(44,116,124,.3); box-shadow: 0 0 0 4px rgba(55,138,147,.12); }
}

.tabs { grid-area: tabs; margin-inline: -1rem; min-width: 0; }
.tabs_scroll {
  position: relative; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: .35rem 1rem .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1.5rem), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1.5rem), transparent);
}
.tabs_scroll::-webkit-scrollbar { display: none; }
.tabs_list { display: flex; gap: .125rem; width: max-content; }
.tabs_list a, .tabs_list span {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none;
}
.tabs_list a { color: var(--ink-soft); transition: color .25s ease, background-color .25s ease, outline-color .25s ease; outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .tabs_list a:hover { color: var(--teal-btn); background-color: rgba(55,138,147,.08); } }
/* Aktivní vrstva leží přesně nad seznamem; clip-path ji ořízne na aktivní záložku
   a při změně sekce se výřez plynule přesune (přechod clip-path, ne width). */
.tabs_active {
  position: absolute; top: .35rem; left: 1rem; pointer-events: none;
  background: var(--teal-btn); border-radius: 999px;
  clip-path: inset(0 100% 0 0 round 999px); opacity: 0;
  transition: clip-path .34s var(--ease-out), opacity .25s ease;
}
.tabs_active span { color: #fff; }
.tabs_active.is-on { opacity: 1; }

/* Lišta v jednom řádku až od 1180 px; užší šířky mají záložky pod logem, jinak by se Otázky a Kontakt nevešly. */
@media (min-width: 1180px) {
  .top_bar { grid-template-columns: auto 1fr auto; grid-template-areas: "brand tabs act"; padding: .6rem 2rem; column-gap: 1.5rem; }
  .brand img { height: 2.35rem; }
  .tabs { margin: 0; justify-self: center; }
  .tabs_scroll {
    padding: .25rem; border-radius: 999px; -webkit-mask-image: none; mask-image: none;
    background: rgba(238,245,246,.7); border: 1px solid rgba(44,116,124,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  }
  .tabs_active { top: .25rem; left: .25rem; }
  .tabs_list a, .tabs_list span { padding: .55rem .95rem; }
}
@media (min-width: 1180px) and (max-width: 1439px) {
  .top_bar { padding-inline: 1.25rem; column-gap: 1rem; }
  .tabs_list { gap: 0; }
  .tabs_list a, .tabs_list span { padding: .55rem .62rem; font-size: .84rem; }
}
/* Od 1440 px má lišta stejnou šířku (max 76rem), proto stejné zhuštění záložek,
   jinak se Otázky a Kontakt schovají za okraj. */
@media (min-width: 1440px) {
  .top_bar { column-gap: 1rem; }
  .tabs_list { gap: 0; }
  .tabs_list a, .tabs_list span { padding: .55rem .62rem; font-size: .84rem; }
}

/* ---------- Úvod ---------- */
.hero { position: relative; padding-block: clamp(1.75rem, 5vw, 4.5rem) clamp(3.5rem, 8vw, 6.5rem); overflow: clip; }
.hero_wash {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* Záře dobíhají do nuly uvnitř sekce, takže na okrajích nevzniká šev. */
  background:
    radial-gradient(38% 42% at 76% 42%, rgba(55,138,147,.14), rgba(55,138,147,0) 100%),
    radial-gradient(30% 30% at 10% 82%, rgba(27,101,103,.05), rgba(27,101,103,0) 100%);
}
.hero { padding-top: clamp(2.25rem, 7vw, 5.5rem); }
/* Jedna osa: nadpis a podnadpis na střed, pod nimi video přes celou šířku, pod videem čísla a výzva. */
.hero_head { max-width: 54rem; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(2.75rem, 7vw + .5rem, 6rem); line-height: 1; }
.hero h1 em { display: inline; }
.hero_role { display: block; margin-top: .7rem; font-size: clamp(1.125rem, 1.5vw + .75rem, 1.875rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--ink-soft); }
.hero_lead { margin: 1.1rem auto 0; max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: var(--dim); }
.hero_lead p + p { margin-top: .7rem; }
.hero_moto { margin: 1.1rem auto 0; max-width: 36rem; font-size: 1.0625rem; font-weight: 600; font-style: italic; letter-spacing: -.01em; color: var(--teal-btn); text-wrap: balance; }
.stars.is-five svg { width: .95rem; height: .95rem; }

.proof {
  display: grid; grid-template-columns: auto auto auto; justify-content: center;
}
.proof li { display: grid; gap: .1rem; align-content: start; padding-right: .85rem; margin-right: .85rem; border-right: 1px solid var(--line); }
.proof li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.proof b { font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof span { font-size: .75rem; line-height: 1.35; color: var(--dim); max-width: 7.5rem; }
.proof_g { display: grid; grid-template-columns: auto 1fr; column-gap: .3rem; justify-items: start; align-items: center; text-decoration: none; border-radius: 8px; }
.proof_g span:last-child { grid-column: 1 / -1; transition: color .25s ease; }
@media (hover: hover) and (pointer: fine) { .proof_g:hover span:last-child { color: var(--teal-btn); text-decoration: underline; } }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 1.15rem; height: 1.15rem; fill: var(--star); }
.stars.is-row svg { width: 1rem; height: 1rem; }
.hero_actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; }
.hero_bar { display: grid; gap: 1.5rem; justify-items: center; margin-top: 1.75rem; }
@media (min-width: 900px) {
  .hero_bar { grid-template-columns: 1fr auto; justify-items: stretch; align-items: center; gap: 2rem; margin-top: 2rem; padding-inline: .25rem; }
  .hero_bar .proof { justify-content: start; }
  .hero_bar .hero_actions { justify-content: end; }
}

@media (min-width: 900px) {
  .hero_lead { font-size: 1.1875rem; max-width: 40rem; }
  .proof li { padding-right: 1.5rem; margin-right: 1.5rem; }
  .proof b { font-size: 1.625rem; }
  .proof span { font-size: .8125rem; max-width: none; }
}

/* Video na šířku 16:9. Za ním dýchá tyrkysová záře (jen opacity); na hover se rámeček zvedne,
   fotka se pomalu přiblíží, za kurzorem jde jemné světlo a tlačítko se rozsvítí do bílé. */
.stage { position: relative; isolation: isolate; margin-top: clamp(1.75rem, 4.5vw, 3.5rem); }
.stage::before {
  content: ""; position: absolute; inset: 10% 4% -6%; z-index: -1; pointer-events: none; border-radius: 40%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(55,138,147,.5), rgba(55,138,147,.16) 65%, rgba(55,138,147,0) 100%);
  filter: blur(42px); animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.stage_frame {
  --mx: 50%; --my: 45%;
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; text-align: left; color: #fff;
  border-radius: clamp(18px, 2.2vw, 32px); background: var(--deep);
  box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 34px 70px -38px rgba(15,59,62,.6), 0 0 0 0 rgba(55,138,147,0);
  transition: transform .5s var(--ease-out), box-shadow .35s var(--ease-glow), outline-color .25s ease;
  cursor: pointer; outline-offset: 5px;
}
.stage_frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.001); transition: transform 1.4s var(--ease-out); }
.stage_light {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255,255,255,.2), rgba(255,255,255,0) 60%);
  transition: opacity .45s ease;
}
.stage_shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,30,.9) 0%, rgba(8,28,30,.62) 24%, rgba(8,28,30,.18) 46%, rgba(8,28,30,0) 62%), linear-gradient(90deg, rgba(8,28,30,.45), rgba(8,28,30,0) 55%); }
.stage_cap { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.stage_play {
  position: absolute; left: 1rem; bottom: .9rem; width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background-color: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 34px rgba(0,0,0,.28), 0 0 0 0 rgba(255,255,255,0);
  transition: transform .35s var(--ease-out), background-color .3s ease, color .3s ease, box-shadow .35s var(--ease-glow), opacity .25s ease;
}
.stage_play::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255,255,255,.55); opacity: 0; transform: scale(.88);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.stage_play svg { width: 1.25rem; height: 1.25rem; fill: currentColor; margin-left: 3px; }
.stage_cap { position: absolute; left: 5.1rem; right: 1rem; bottom: .9rem; min-height: 3.25rem; display: grid; align-content: center; gap: .1rem; transition: opacity .25s ease; }
.stage_title { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.stage_sub { font-size: .75rem; color: rgba(255,255,255,.82); }
.stage_frame:focus-visible .stage_play, .stage_frame.is-hover .stage_play { background-color: #fff; color: var(--teal-dark); transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 18px 40px rgba(0,0,0,.32), 0 0 0 10px rgba(255,255,255,.14); }
.stage_frame:focus-visible .stage_play::before, .stage_frame.is-hover .stage_play::before { opacity: 1; transform: scale(1.12); }
@media (hover: hover) and (pointer: fine) {
  .stage_frame:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255,255,255,.75), 0 46px 90px -40px rgba(15,59,62,.68), 0 0 0 10px rgba(55,138,147,.10); }
  .stage_frame:hover img { transform: scale(1.035); }
  .stage_frame:hover .stage_light { opacity: 1; }
  .stage_frame:hover .stage_play { background-color: #fff; color: var(--teal-dark); transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 18px 40px rgba(0,0,0,.32), 0 0 0 10px rgba(255,255,255,.14); }
  .stage_frame:hover .stage_play::before { opacity: 1; transform: scale(1.12); }
}
.stage_frame:active .stage_play { transform: scale(.95); transition-duration: .12s; }
.stage:has(.reel_soon.is-open) .stage_cap, .stage:has(.reel_soon.is-open) .stage_play { opacity: 0; }
@media (min-width: 900px) {
  .stage_play { left: 2rem; bottom: 1.9rem; width: 5rem; height: 5rem; }
  .stage_play svg { width: 1.75rem; height: 1.75rem; margin-left: 4px; }
  .stage_cap { left: 8.25rem; bottom: 1.9rem; min-height: 5rem; }
  .stage_title { font-size: clamp(1.25rem, 1.4vw, 1.625rem); }
  .stage_sub { font-size: .875rem; }
}

/* Panel „video brzy“: na mobilu pod videem, na počítači skleněný list v levém dolním rohu. */
.reel_soon {
  position: relative; z-index: 3; margin-top: .75rem;
  display: grid; gap: .9rem; padding: 1.1rem 1.1rem 1rem; border-radius: var(--r-lg);
  color: #fff; background: rgba(10,40,43,.92);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 40px -20px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px) scale(.985); transform-origin: 50% 0;
  transition: opacity .25s ease, transform .3s var(--ease-out);
}
.reel_soon.is-open { opacity: 1; transform: none; }
.reel_soon p { font-size: .9375rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.reel_soon p b { color: #fff; font-weight: 700; }
.reel_soon_act { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.reel_soon .btn { min-height: 2.75rem; padding: .7rem 1.1rem; font-size: .875rem; }
.reel_soon_x {
  flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  color: #fff; background-color: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
  transition: background-color .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.reel_soon_x svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .reel_soon_x:hover { background-color: rgba(255,255,255,.16); box-shadow: 0 0 0 4px rgba(255,255,255,.1); } }
@media (min-width: 900px) {
  .reel_soon {
    position: absolute; left: 1.5rem; bottom: 1.5rem; margin: 0; max-width: 27rem;
    background: rgba(10,40,43,.6); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    transform-origin: 0 100%;
  }
}

/* ---------- O mně ---------- */
.about { padding-block: var(--section); background: linear-gradient(180deg, #fff 0, var(--paper) 22%, var(--paper) 100%); }
.about_grid { display: grid; gap: 2.5rem; align-items: start; }
.about_photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(15,59,62,.45); }
.about_photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 30%; }
.about_lead { margin-top: 1rem; font-size: 1.0625rem; color: var(--ink-soft); max-width: 34rem; }

/* Cesta: svislá linka, tečky; poslední zastávka „Dnes“ je plná. */
.path { position: relative; margin-top: 2rem; display: grid; gap: 1.15rem; padding-left: 1.75rem; }
.path::before { content: ""; position: absolute; left: .4rem; top: .5rem; bottom: .6rem; width: 2px; background: linear-gradient(180deg, rgba(55,138,147,.15), rgba(55,138,147,.55)); border-radius: 2px; }
.path li { position: relative; }
.path li::before {
  content: ""; position: absolute; left: -1.75rem; top: .3rem; width: .95rem; height: .95rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--teal);
}
.path li.is-now::before { background: var(--teal); box-shadow: 0 0 0 5px rgba(55,138,147,.18); }
.path p { font-size: .9375rem; color: var(--dim); line-height: 1.55; margin-top: .15rem; max-width: 30rem; }

.about_pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.note {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -40px rgba(15,59,62,.4);
}
.note p { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); font-weight: 500; font-style: italic; line-height: 1.4; letter-spacing: -.015em; color: var(--ink); }
.note footer { margin-top: 1.25rem; }
.note footer img { height: 2.4rem; width: auto; }
.partner {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.15rem; align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--tint);
}
.partner img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; box-shadow: 0 10px 24px -14px rgba(15,59,62,.5); }
.partner h3 { display: grid; gap: .1rem; }
.partner h3 span { font-size: .8125rem; font-weight: 600; color: var(--teal-btn); }
.partner p { margin-top: .5rem; font-size: .9375rem; color: var(--ink-soft); }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.values li { padding-top: .85rem; border-top: 1px solid rgba(44,116,124,.25); font-size: .875rem; color: var(--dim); line-height: 1.45; }
.values b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: .2rem; }

@media (min-width: 900px) {
  .about_grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .about_photo img { aspect-ratio: 4 / 5; }
  .about_pair { max-width: 48rem; margin-inline: auto; gap: 1.25rem; }
  .partner { grid-template-columns: 6.5rem 1fr; align-items: center; gap: 1.5rem; }
  .partner img { width: 6.5rem; height: 6.5rem; }
  .values { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Jak prodávám (hluboký pás) ---------- */
.method { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section); background: var(--deep); color: var(--on-deep); }
.method_glow {
  position: absolute; inset: -10% -20% auto; height: 70%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 85% 20%, rgba(55,138,147,.45), rgba(55,138,147,0) 70%),
    radial-gradient(35% 40% at 5% 60%, rgba(55,138,147,.22), rgba(55,138,147,0) 70%);
}
.method h2 { color: var(--on-deep); }
.method h2 em { color: #8fd0d6; }
.method_head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.method_head p { color: var(--on-deep-soft); }

.steps { display: grid; gap: .5rem; }
.step {
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0);
  border: 1px solid var(--on-deep-line);
  box-shadow: 0 0 0 0 rgba(143,208,214,0), 0 30px 60px -40px rgba(0,0,0,0);
  transition: background-color .32s var(--ease-glow), border-color .32s var(--ease-glow), box-shadow .32s var(--ease-glow);
}
.step.is-open {
  background: rgba(255,255,255,.06); border-color: rgba(143,208,214,.35);
  box-shadow: 0 0 0 4px rgba(143,208,214,.06), 0 30px 60px -40px rgba(0,0,0,.6);
}
.step_h { font-size: inherit; }
.step_h button {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  width: 100%; min-height: 4.25rem; padding: 1rem 1.15rem; text-align: left; border-radius: var(--r-lg);
  outline-offset: -3px;
}
.step_n {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: #8fd0d6; border: 1px solid rgba(143,208,214,.45);
  background-color: rgba(143,208,214,0);
  transition: background-color .3s var(--ease-glow), color .3s ease, border-color .3s var(--ease-glow);
}
.step.is-open .step_n { background-color: #8fd0d6; color: var(--deep); border-color: #8fd0d6; }
.step_t { font-size: clamp(1.125rem, 1.2vw + .8rem, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.step_i { position: relative; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--on-deep-line); transition: transform .3s var(--ease-out), border-color .3s ease; }
.step_i::before, .step_i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 2px; margin: -1px 0 0 -.35rem; background: currentColor; border-radius: 2px; }
.step_i::after { transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.step.is-open .step_i::after { transform: rotate(0deg); }
.step.is-open .step_i { border-color: rgba(143,208,214,.45); }
@media (hover: hover) and (pointer: fine) {
  .step:not(.is-open):hover { background: rgba(255,255,255,.035); border-color: rgba(143,208,214,.25); }
}
/* Rozbalení: grid-template-rows 0fr → 1fr, obsah se zároveň dofade-uje. */
/* Zavřený panel je i neviditelný pro klávesnici a čtečky (visibility se přepne až po sbalení). */
.step_body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s linear .3s; }
.step.is-open .step_body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease-out), visibility 0s; }
.step_in { overflow: hidden; min-height: 0; }
.step_grid {
  display: grid; gap: 1.5rem; padding: 0 1.15rem 1.35rem;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .22s ease, transform .3s var(--ease-out);
}
.step.is-open .step_grid { opacity: 1; transform: none; transition-delay: .06s; }
.step_text p { color: var(--on-deep-soft); font-size: 1rem; line-height: 1.65; max-width: 34rem; }
.ticks { display: grid; gap: .55rem; margin-top: 1.1rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .9375rem; font-weight: 500; color: #fff; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(143,208,214,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd0d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .65rem no-repeat;
}
.ticks a { color: #fff; }

/* Karta s důkazem: světlý list na tmavém pásu. */
.proof-card {
  display: grid; gap: .9rem; align-content: start;
  padding: 1.15rem; border-radius: var(--r-md);
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(0,0,0,.6);
}
.proof-card_k { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 700; color: var(--teal-btn); letter-spacing: .01em; }
.proof-card blockquote p { font-size: 1.0625rem; line-height: 1.55; font-weight: 500; letter-spacing: -.005em; }
.proof-card figcaption { font-size: .8125rem; color: var(--dim); }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--tint);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare_before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.25); pointer-events: none; }
.compare_lbl {
  position: absolute; top: .65rem; padding: .25rem .6rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #fff; background: rgba(12,17,29,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.compare_lbl.is-l { left: .65rem; }
.compare_lbl.is-r { right: .65rem; }
.compare_handle {
  position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 2.9rem; height: 2.9rem; margin: -1.45rem 0 0 -1.45rem;
  display: grid; place-items: center; border-radius: 50%; color: var(--teal-dark);
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,0);
  transition: box-shadow .25s var(--ease-glow), outline-color .25s ease;
  outline-offset: 3px;
}
.compare_handle svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare.is-drag .compare_handle, .compare_handle:focus-visible { box-shadow: 0 8px 22px rgba(0,0,0,.25), 0 0 0 6px rgba(255,255,255,.35); }
.compare.is-hint .compare_before, .compare.is-hint::after, .compare.is-hint .compare_handle { transition: clip-path .7s var(--ease-out), left .7s var(--ease-out); }

.yt { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; outline-offset: 3px; }
.yt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; transition: transform .5s var(--ease-out); }
.yt_play {
  position: absolute; left: 50%; top: 50%; width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem;
  display: grid; place-items: center; border-radius: 50%; background: rgba(12,17,29,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 10px 26px rgba(0,0,0,.3), 0 0 0 0 rgba(255,255,255,0);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-glow);
}
.yt_play svg { width: 1.5rem; height: 1.5rem; fill: #fff; margin-left: 3px; }
@media (hover: hover) and (pointer: fine) {
  .yt:hover img { transform: scale(1.02); }
  .yt:hover .yt_play { transform: scale(1.06); box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,.18); }
}
.camp { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.camp div { padding: .8rem .9rem; border-radius: var(--r-sm); background: var(--paper); border: 1px dashed rgba(44,116,124,.3); }
.camp dt { font-size: .75rem; color: var(--dim); line-height: 1.35; }
.camp dd { margin-top: .3rem; font-size: 1.5rem; font-weight: 700; color: rgba(44,116,124,.5); line-height: 1; }

.ledger { display: grid; }
.ledger li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline; padding: .8rem 0; border-top: 1px solid var(--line); }
.ledger li:first-child { border-top: 0; padding-top: .2rem; }
.ledger span { font-size: .875rem; color: var(--ink-soft); }
.ledger b { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; }
.ledger small { grid-column: 2; text-align: right; font-size: .75rem; color: var(--dim); }
.ledger .is-win b { color: var(--teal-btn); font-size: 1.75rem; }

@media (min-width: 900px) {
  .step_h button { padding: 1.25rem 1.75rem; gap: 1.25rem; min-height: 5rem; }
  .step_grid { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; padding: 0 1.75rem 1.75rem 5.4rem; align-items: start; }
  .proof-card { padding: 1.4rem; }
}

/* ---------- Prodáno ---------- */
.sold { padding-block: var(--section); }
.sold_head { display: grid; gap: 1.5rem; margin-bottom: 1.75rem; }
.tally { display: flex; gap: 1.75rem; }
.tally div { display: grid; gap: .2rem; max-width: 11rem; }
.tally dt { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--teal-btn); font-variant-numeric: tabular-nums; }
.tally dd { font-size: .8125rem; color: var(--dim); line-height: 1.4; }
@media (min-width: 900px) { .sold_head { grid-template-columns: 1fr auto; align-items: end; } }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.chips button {
  min-height: 2.5rem; padding: .5rem 1rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .25s ease, color .25s ease, border-color .25s var(--ease-glow), box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .chips button[aria-pressed="false"]:hover { border-color: rgba(44,116,124,.45); box-shadow: 0 0 0 3px rgba(55,138,147,.1); color: var(--teal-btn); }
}

/* Na mobilu řádky jako výpis (fotka vlevo), na počítači karty. */
.homes { display: grid; gap: .75rem; }
.home {
  display: grid; grid-template-columns: 7.25rem 1fr; gap: .9rem; align-items: start;
  padding: .5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(12,17,29,0), 0 20px 40px -30px rgba(15,59,62,0);
  transition: box-shadow .3s var(--ease-glow), border-color .3s var(--ease-glow), transform .3s var(--ease-out), opacity .25s ease;
}
.home img { width: 100%; height: 6rem; object-fit: cover; border-radius: var(--r-sm); }
.home_txt { display: grid; gap: .15rem; min-width: 0; padding-top: .35rem; }
.home h3, .offer h4 { font-size: .9375rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.home_loc { font-size: .8125rem; color: var(--dim); }
.home_price { margin-top: .2rem; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.home_price.is-empty { font-size: .8125rem; font-weight: 600; color: var(--dim); font-style: italic; }
.home_st {
  justify-self: start; margin-bottom: .2rem; padding: .12rem .5rem; border-radius: 999px;
  font-size: .6875rem; font-weight: 700; color: var(--teal-btn); background: var(--tint);
}
.home_st.is-live { color: #fff; background: var(--teal-btn); }
.home[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .home:hover { border-color: rgba(44,116,124,.3); box-shadow: 0 1px 0 rgba(12,17,29,.02), 0 20px 40px -30px rgba(15,59,62,.55); transform: translateY(-2px); }
}
.home_vid {
  justify-self: start; display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem;
  min-height: 2rem; padding: .25rem .7rem .25rem .55rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: var(--teal-btn); text-decoration: none;
  background-color: var(--tint); border: 1px solid rgba(44,116,124,.14);
  box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.home_vid svg { width: .85rem; height: .85rem; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .home_vid:hover { background-color: var(--tint-2); border-color: rgba(44,116,124,.3); box-shadow: 0 0 0 3px rgba(55,138,147,.12); } }
.proof-card figcaption a { color: var(--teal-btn); font-weight: 600; }
.sold_note { margin-top: 1rem; font-size: .8125rem; color: var(--dim); }

@media (min-width: 720px) {
  .homes { grid-template-columns: repeat(2, 1fr); }
}
/* Na počítači rejstřík: dva sloupce řádků, fotka vlevo, údaje vpravo, cena v tabulkových číslicích. */
@media (min-width: 1024px) {
  .homes { gap: .9rem 1.25rem; }
  .home { grid-template-columns: 11.5rem 1fr; gap: 1.25rem; padding: .6rem; }
  .home img { height: 8rem; }
  .home_txt { padding-top: .6rem; gap: .25rem; }
  .home h3 { font-size: 1.0625rem; }
  .home_price { font-size: 1.125rem; margin-top: .35rem; }
}

.offer { margin-top: clamp(3rem, 6vw, 4.5rem); }
.offer_h { font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 1rem; }
.offer_list { display: grid; gap: .75rem; }
.offer_list li { display: grid; grid-template-columns: 7.25rem 1fr; gap: .9rem; align-items: start; padding: .5rem; border-radius: var(--r-md); background: var(--paper); }
.offer_list img { width: 100%; height: 6rem; object-fit: cover; border-radius: var(--r-sm); }
.offer_list div { display: grid; gap: .15rem; padding-top: .35rem; }
@media (min-width: 900px) {
  .offer_list { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .offer_list li { grid-template-columns: 8.5rem 1fr; }
  .offer_list img { height: 7rem; }
}

/* ---------- Příběhy prodejů ---------- */
.cases { padding-block: var(--section); background: var(--paper); }
.cases_grid { display: grid; gap: 1rem; }
@media (max-width: 899px) {
  .cases_grid, .posts {
    grid-auto-flow: column; grid-auto-columns: min(86%, 24rem); align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -1rem; padding: .25rem 1rem 1.25rem; scroll-padding-inline: 1rem; scrollbar-width: thin;
  }
  .cases_grid > *, .posts > * { scroll-snap-align: start; }
}
.case {
  display: grid; align-content: start; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -48px rgba(15,59,62,.5);
}
.case_img { position: relative; }
.case_img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case_kind {
  position: absolute; left: .9rem; top: .9rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: var(--ink);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7);
}
.case_kind.is-inline { position: static; justify-self: start; background: var(--tint); border-color: transparent; color: var(--teal-btn); }
.case_body { display: grid; gap: .9rem; align-content: start; padding: 1.35rem 1.25rem 1.5rem; }
.case_body h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.case_dl { display: grid; gap: .75rem; }
.case_dl div { display: grid; gap: .1rem; }
.case_dl dt { font-size: .75rem; font-weight: 700; color: var(--teal-btn); }
.case_dl dd { font-size: .9375rem; color: var(--ink-soft); line-height: 1.55; }
.case_dl b { color: var(--ink); }
.case_src { font-size: .75rem; color: var(--dim); }
.case.is-type { background: var(--deep); border-color: var(--deep); color: #fff; }
.case.is-type .case_body { padding-top: 1.75rem; }
.case.is-type .case_body h3 { color: #fff; }
.case.is-type .case_dl dt { color: #8fd0d6; }
.case.is-type .case_dl dd { color: var(--on-deep-soft); }
.case.is-type .case_dl b { color: #fff; }
.case.is-type .case_src { color: var(--on-deep-soft); }
.case.is-type .case_kind.is-inline { background: rgba(143,208,214,.14); color: #8fd0d6; }
.case.is-type .link-arrow { color: #fff; }
.case_big {
  padding: 1.5rem 1.25rem 0; font-size: 1.25rem; font-weight: 600; color: var(--on-deep-soft); letter-spacing: -.01em;
}
.case_big b { display: block; font-size: clamp(4.5rem, 10vw, 6rem); line-height: .9; font-weight: 700; letter-spacing: -.04em; color: #8fd0d6; }
.case .tag { margin-left: .35rem; }

@media (min-width: 900px) {
  .cases_grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .case.is-wide { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; }
  .case.is-wide .case_img img { height: 100%; aspect-ratio: auto; min-height: 26rem; }
  .case.is-wide .case_body { padding: 2.25rem 2.25rem 2.5rem; align-content: center; }
  .case.is-wide .case_body h3 { font-size: 1.625rem; }
  .case_body { padding: 1.6rem 1.75rem 1.9rem; }
  .case_big { padding: 1.9rem 1.75rem 0; }
}

/* ---------- Reference ---------- */
.refs { padding-block: var(--section); }
.refs_head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.score {
  display: inline-grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; justify-self: start;
  padding: .9rem 1.25rem .9rem 1rem; border-radius: var(--r-md); text-decoration: none;
  background: linear-gradient(145deg, rgba(238,245,246,.9), rgba(226,239,240,.75));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--glass-shadow), 0 0 0 0 rgba(55,138,147,0);
  transition: box-shadow .3s var(--ease-glow), transform .3s var(--ease-out), outline-color .25s ease;
}
.score_n { font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.score_txt { display: grid; gap: .15rem; font-size: .875rem; color: var(--ink-soft); }
.score_go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--teal-btn); }
.score_go svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .score:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow), 0 0 0 4px rgba(55,138,147,.12); }
  .score:hover .score_go svg { transform: translateX(3px); }
}
@media (min-width: 900px) { .refs_head { grid-template-columns: 1fr auto; align-items: end; } .score { justify-self: end; } }

/* Coverflow recenzí: prostřední karta vpředu, sousedi natočení za ní (chování jako galerie na landing page). */
.rcf { position: relative; outline: none; margin-inline: -1rem; padding-inline: 1rem; overflow: clip; border-radius: 4px; }
.rcf_stage {
  position: relative; height: var(--rcf-h, 24rem); perspective: 1400px; touch-action: pan-y; cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.rcf_card {
  position: absolute; top: 0; left: 50%; width: min(84%, 36rem); height: 100%; margin: 0;
  display: grid; align-content: start; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(15,59,62,.5), 0 0 0 0 rgba(55,138,147,0);
  transform-style: preserve-3d; backface-visibility: hidden; will-change: transform, opacity;
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out), box-shadow .3s var(--ease-glow);
  user-select: none; -webkit-user-select: none;
}
.rcf_card blockquote p { font-size: clamp(1rem, .6vw + .85rem, 1.25rem); line-height: 1.55; font-weight: 500; letter-spacing: -.005em; color: var(--ink); }
.rcf_card figcaption { display: grid; gap: .1rem; margin-top: auto; }
.rcf_card figcaption b { font-size: .9375rem; }
.rcf_card figcaption span { font-size: .8125rem; color: var(--dim); }
.rcf_card[data-pos="0"]  { transform: translateX(-50%) scale(1) rotateY(0); z-index: 3; opacity: 1; }
.rcf_card[data-pos="-1"] { transform: translateX(-112%) scale(.84) rotateY(16deg); z-index: 2; opacity: .5; cursor: pointer; }
.rcf_card[data-pos="1"]  { transform: translateX(12%) scale(.84) rotateY(-16deg); z-index: 2; opacity: .5; cursor: pointer; }
.rcf_card[data-pos="2"]  { transform: translateX(-50%) scale(.7) translateZ(-200px); z-index: 1; opacity: 0; pointer-events: none; }
.rcf:not(.is-ready) .rcf_card { transition: none; }
.rcf:focus-visible .rcf_card[data-pos="0"] { box-shadow: 0 30px 60px -40px rgba(15,59,62,.5), 0 0 0 3px var(--teal); }
@media (max-width: 639px) {
  .rcf_card[data-pos="-1"] { transform: translateX(-136%) scale(.86) rotateY(16deg); }
  .rcf_card[data-pos="1"]  { transform: translateX(36%) scale(.86) rotateY(-16deg); }
}
/* Video reference jako karty coverflow: náhled nahoře (od 640 px vlevo), citát a jméno jako u recenzí.
   Výška karty je daná nejdelší recenzí, náhled vyplní zbylé místo (object-fit). */
.rcf_card.is-video { padding: .75rem; gap: 0; grid-template-rows: minmax(8.5rem, 1fr) auto auto auto; align-content: stretch; }
.rcf_card.is-video > :not(.rcf_vm) { margin-inline: clamp(.5rem, 1.5vw, 1rem); }
.rcf_vk { margin-top: 1.1rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); }
.rcf_card.is-video blockquote { margin-top: .5rem; }
.rcf_card.is-video figcaption { margin-top: 1rem; margin-bottom: .5rem; }
.rcf_vm {
  position: relative; display: block; width: 100%; min-height: 8.5rem; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  background: var(--deep-2, #12494c); outline-offset: 3px;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 18px 36px -30px rgba(15,59,62,.55);
  transition: box-shadow .3s var(--ease-glow), outline-color .25s var(--ease-glow);
}
.rcf_vm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; transition: transform .6s var(--ease-out); }
.rcf_vm.is-toupalova img { object-position: 0% 40%; }
.rcf_card[data-pos="1"] .rcf_vm, .rcf_card[data-pos="-1"] .rcf_vm { cursor: pointer; }
@media (min-width: 640px) {
  .rcf_card.is-video { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: .5rem; }
  .rcf_vm { grid-row: 1 / -1; min-height: 0; }
  .rcf_card.is-video > :not(.rcf_vm) { margin-inline: clamp(.75rem, 1.6vw, 1.5rem); }
  .rcf_vk { margin-top: clamp(.75rem, 1.6vw, 1.5rem); }
  .rcf_card.is-video figcaption { align-self: end; margin-bottom: clamp(.75rem, 1.6vw, 1.5rem); }
}
@media (hover: hover) and (pointer: fine) {
  .rcf_card[data-pos="0"] .rcf_vm:hover { box-shadow: 0 0 0 4px rgba(55,138,147,.16), 0 18px 36px -26px rgba(15,59,62,.6); }
  .rcf_card[data-pos="0"] .rcf_vm:hover img { transform: scale(1.03); }
  .rcf_card[data-pos="0"] .rcf_vm:hover .tile2_play { transform: scale(1.06); background-color: #fff; color: var(--deep); box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 0 7px rgba(255,255,255,.18); }
}
@media (prefers-reduced-motion: reduce) { .rcf_vm img, .rcf_vm .tile2_play { transition: none; } .rcf_card[data-pos="0"] .rcf_vm:hover img, .rcf_card[data-pos="0"] .rcf_vm:hover .tile2_play { transform: none; } }
.cf_nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.cf_count { min-width: 3.5rem; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.cf_btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(120,137,164,.32); background-color: rgba(255,255,255,.9); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 6px 16px -10px rgba(12,17,29,0);
  transition: background-color .28s var(--ease-glow), border-color .28s var(--ease-glow), box-shadow .28s var(--ease-glow), transform .28s var(--ease-glow), outline-color .25s ease;
}
.cf_btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .cf_btn:hover { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(55,138,147,.12), 0 6px 16px -10px rgba(12,17,29,.35); } }
.cf_btn:active { transform: scale(.94); }
.refs_note { margin-top: 1.25rem; font-size: .75rem; color: var(--dim); max-width: 46rem; line-height: 1.5; margin-inline: auto; text-align: center; }
@media (prefers-reduced-motion: reduce) { .rcf_card { transition: opacity .3s ease; } .cf_btn { transition: none; } }

/* ---------- Blog ---------- */
.blog { padding-block: 0 var(--section); }
.blog_head { display: grid; gap: 1.25rem; margin-bottom: 2rem; align-items: end; }
.blog_head .btn { justify-self: start; }
@media (min-width: 900px) { .blog_head { grid-template-columns: 1fr auto; } }
.posts { display: grid; gap: 1.75rem; }
.post { display: grid; gap: .55rem; align-content: start; text-decoration: none; border-radius: var(--r-md); outline-offset: 6px; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); margin-bottom: .5rem; transition: transform .5s var(--ease-out), box-shadow .3s var(--ease-glow); box-shadow: 0 20px 40px -30px rgba(15,59,62,0); }
.post_meta { font-size: .75rem; font-weight: 600; color: var(--teal-btn); }
.post h3 { font-size: 1.1875rem; letter-spacing: -.02em; transition: color .25s ease; }
.post p { font-size: .9375rem; color: var(--dim); }
@media (hover: hover) and (pointer: fine) {
  .post:hover img { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(15,59,62,.55); }
  .post:hover h3 { color: var(--teal-btn); }
}
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ---------- Kontakt ---------- */
.contact { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section); background: var(--deep); color: #fff; }
.contact_glow { position: absolute; inset: auto -20% -40% 20%; height: 90%; z-index: -1; pointer-events: none; background: radial-gradient(45% 45% at 50% 50%, rgba(55,138,147,.5), rgba(55,138,147,0) 70%); }
.contact h2 { color: #fff; }
.contact h2 em { color: #8fd0d6; }
.contact_grid { display: grid; gap: 2.5rem; }
.contact_copy > p { margin-top: 1rem; color: var(--on-deep-soft); max-width: 30rem; font-size: 1.0625rem; }
.contact_tel { display: inline-block; margin-top: 1.75rem; font-size: clamp(2rem, 3.4vw + 1rem, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; border-radius: 8px; transition: color .25s ease, outline-color .25s ease; }
.contact_mail { display: block; width: fit-content; margin-top: .4rem; font-size: 1.125rem; font-weight: 500; color: var(--on-deep-soft); border-radius: 6px; transition: color .25s ease, outline-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .contact_tel:hover, .contact_mail:hover { color: #8fd0d6; } }
.contact_actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }

/* Milan hlavní kontakt (větší), Sabina vedle ve stejném stylu. */
.people { display: grid; gap: .9rem; align-content: start; }
.person {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.06); border: 1px solid var(--on-deep-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.person img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.person.is-main { grid-template-columns: 6rem 1fr; padding: 1.4rem; background: rgba(255,255,255,.09); border-color: rgba(143,208,214,.3); }
.person.is-main img { width: 6rem; height: 6rem; object-position: 32% 30%; }
/* Milan a Sabina mají stejně velké fotky (připomínka klienta 9. 10. 2026). */
.person { grid-template-columns: 6rem 1fr; }
.person img { width: 6rem; height: 6rem; }
.person_txt { display: grid; gap: .1rem; min-width: 0; }
.person h3 { font-size: 1.0625rem; color: #fff; }
.person.is-main h3 { font-size: 1.25rem; }
.person_role { font-size: .8125rem; color: var(--on-deep-soft); margin-bottom: .35rem; }
.person_tel { width: fit-content; font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; border-radius: 6px; transition: color .25s ease, outline-color .25s ease; }
.person.is-main .person_tel { font-size: clamp(1.375rem, 1.6vw + .8rem, 1.875rem); letter-spacing: -.025em; }
.person_mail { width: fit-content; font-size: .9375rem; color: var(--on-deep-soft); border-radius: 6px; transition: color .25s ease, outline-color .25s ease; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .person_tel:hover, .person_mail:hover { color: #8fd0d6; } }
@media (min-width: 900px) {
  .contact_grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
}

/* ---------- Patička ---------- */
.foot { padding: clamp(3rem, 7vw, 5rem) 0 calc(2rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); text-align: center; }
.foot_brand { display: block; width: fit-content; margin-inline: auto; border-radius: 12px; outline-offset: 8px; }
.foot_brand img { width: min(78vw, 22.5rem); height: auto; }
.foot_claim { margin-top: .9rem; font-size: .9375rem; color: var(--dim); }
.foot_cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; margin-top: clamp(2.25rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); text-align: left; }
.foot_col h3 { font-size: .8125rem; font-weight: 700; color: var(--teal-btn); margin-bottom: .75rem; }
.foot_col ul { display: grid; gap: .5rem; }
.foot_col li, .foot_col address { font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); overflow-wrap: anywhere; }
.foot_col a { color: var(--ink-soft); text-decoration: none; border-radius: 4px; transition: color .25s ease, outline-color .25s ease; }
.foot_who { display: block; font-size: .8125rem; color: var(--dim); line-height: 1.3; }
.foot_web { display: inline-block; margin-top: .6rem; font-weight: 600; }
.foot_social a { display: inline-flex; align-items: center; gap: .55rem; }
.foot_social svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .foot_col a:hover, .foot_bottom a:hover { color: var(--teal-btn); } }
.foot_bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--dim); }
.foot_bottom a { color: var(--ink-soft); border-radius: 4px; transition: color .25s ease, outline-color .25s ease; }
.foot_up { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-weight: 600; }
.foot_up svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .foot_cols { grid-template-columns: 1fr 1.1fr 1.2fr .9fr; gap: 2rem; max-width: 64rem; margin-inline: auto; } }
@media (max-width: 1023px) { .foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* ---------- Plovoucí tlačítko na mobilu ---------- */
.dock {
  position: fixed; left: 50%; bottom: calc(.85rem + env(safe-area-inset-bottom)); z-index: 800;
  padding: .35rem; border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--glass-shadow);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .25s ease;
}
.dock.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.dock .btn { min-height: 3rem; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- Odhalení při scrollu ----------
   Výchozí stav je viditelný (bez JS se nic neschová). Po doběhnutí odhalení
   JS třídy rise/seen odebere, aby jejich transition nepřebila přechody prvku. */
.js .rise { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .rise.seen { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.hero_head > .rise:nth-child(2) { transition-delay: .08s; }
.hero .stage.rise { transition-delay: .16s; }
.hero_bar > .rise:nth-child(1) { transition-delay: .24s; }
.hero_bar > .rise:nth-child(2) { transition-delay: .3s; }
.steps > .rise:nth-child(2) { transition-delay: .05s; }
.steps > .rise:nth-child(3) { transition-delay: .1s; }
.steps > .rise:nth-child(4) { transition-delay: .15s; }
.steps > .rise:nth-child(5) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .js .rise { transform: none; filter: none; }
  .js .rise.seen { transition: opacity .3s ease; }
  .stage::before { animation: none; }
  .btn::after, .step_body, .step_grid, .tabs_active, .dock { transition-duration: .01ms; }
  .reel_soon { transform: none; transition: opacity .2s ease; }
  .btn:hover, .btn:active, .home:hover, .score:hover, .post:hover img, .stage_frame:hover, .stage_frame:hover img, .offer_card:hover { transform: none; }
}

/* ---------- Zásady ochrany osobních údajů ---------- */
.legal_bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 76rem; margin-inline: auto; padding: .55rem 1rem; }
@media (min-width: 1024px) { .legal_bar { padding: .7rem 2rem; } }
@media (hover: hover) and (pointer: fine) { .link-arrow.is-back:hover svg { transform: translateX(-4px); } }
.legal { padding: clamp(2.5rem, 7vw, 5rem) 1rem var(--section); background: linear-gradient(180deg, #fff 0, var(--paper) 30%, var(--paper) 100%); }
.legal_in { max-width: 44rem; margin-inline: auto; }
.legal h1 { font-size: clamp(2.125rem, 3vw + 1.2rem, 3.25rem); line-height: 1.05; letter-spacing: -.035em; }
.legal_lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); padding: 1.25rem 1.4rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.legal h2 { margin-top: 2.75rem; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.25; }
.legal h3 { margin-top: 1.5rem; font-size: 1.0625rem; }
.legal p, .legal_list li { margin-top: .75rem; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.legal a { color: var(--teal-btn); font-weight: 500; transition: color .25s ease, outline-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .legal a:hover { color: var(--teal-dark); } }
.legal_list { margin-top: .25rem; padding-left: 1.25rem; list-style: disc; }
.legal_list li { margin-top: .35rem; }
.legal_list li::marker { color: var(--teal); }
.legal_date { margin-top: 2.5rem !important; font-size: .875rem !important; color: var(--dim) !important; }
.legal-page .foot { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }


/* ---------- Právě nabízím: karta otevře detail ---------- */
.offer_list li { display: block; padding: 0; background: none; }
.offer_card {
  display: grid; grid-template-columns: 7.25rem 1fr; gap: .9rem; align-items: start; width: 100%;
  padding: .5rem; border-radius: var(--r-md); text-align: left; background-color: var(--paper);
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 20px 40px -30px rgba(15,59,62,0);
  transition: background-color .25s ease, border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow), transform .3s var(--ease-out), outline-color .25s ease;
}
.offer_card img { width: 100%; height: 6rem; object-fit: cover; border-radius: var(--r-sm); }
.offer_txt { display: grid; gap: .15rem; padding-top: .35rem; min-width: 0; }
.offer_t { font-size: .9375rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.offer_more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; font-size: .8125rem; font-weight: 600; color: var(--teal-btn); }
.offer_more svg { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .offer_card:hover { background-color: #fff; border-color: rgba(44,116,124,.25); box-shadow: 0 0 0 3px rgba(55,138,147,.08), 0 20px 40px -30px rgba(15,59,62,.55); transform: translateY(-2px); }
  .offer_card:hover .offer_more svg { transform: translateX(3px); }
}
.offer_card:active { transform: scale(.985); transition-duration: .12s; }
@media (min-width: 900px) { .offer_card { grid-template-columns: 8.5rem 1fr; } .offer_card img { height: 7rem; } }

.ticks.is-light li { color: var(--ink-soft); }
.ticks.is-light li::before { background-color: var(--tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c747c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Detail nemovitosti: nativní <dialog> (Esc, zachycení fokusu), na mobilu přes celou obrazovku. */
.detail {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: #fff; color: var(--ink); overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity .28s ease, transform .34s var(--ease-out);
}
.detail.is-open { opacity: 1; transform: none; }
.detail::backdrop { background: rgba(8,28,30,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background-color .3s ease, backdrop-filter .3s ease; }
.detail.is-open::backdrop { background: rgba(8,28,30,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.detail_bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .75rem .6rem 1rem; background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.detail_back { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 .5rem; border-radius: 999px; font-weight: 600; font-size: .9375rem; transition: color .25s ease, outline-color .25s ease; }
.detail_back svg, .detail_x svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.detail_x {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background-color: var(--tint); border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .detail_back:hover { color: var(--teal-btn); }
  .detail_x:hover { background-color: var(--tint-2); border-color: rgba(44,116,124,.25); box-shadow: 0 0 0 4px rgba(55,138,147,.1); }
}
.detail_body { height: calc(100% - 3.95rem); overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1rem calc(2rem + env(safe-area-inset-bottom)); }
.dt_head { max-width: 72rem; margin-inline: auto; }
.dt_title { font-size: clamp(1.625rem, 2vw + 1rem, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; outline: none; }
.dt_loc { margin-top: .4rem; font-size: .9375rem; color: var(--dim); }
.dt_loc b { color: var(--teal-btn); font-weight: 700; }
.dt_grid { display: grid; gap: 1.75rem; max-width: 72rem; margin: 1.25rem auto 0; }
.dt_desc { margin-top: 1.75rem; max-width: 42rem; }
.dt_desc h3 { font-size: 1.125rem; margin: 1.5rem 0 .5rem; }
.dt_desc h3:first-child { margin-top: 0; }
.dt_desc p { margin-top: .6rem; color: var(--ink-soft); line-height: 1.7; }
.dt_side { display: grid; gap: 1.25rem; align-content: start; }
.dt_price { padding: 1.25rem 1.35rem; border-radius: var(--r-md); background: var(--tint); }
.dt_price_n { font-size: clamp(1.625rem, 1.4vw + 1.1rem, 2.125rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dt_price_note { margin-top: .3rem; font-size: .875rem; color: var(--ink-soft); }
.dt_params { display: grid; border-top: 1px solid var(--line); }
.dt_params div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.dt_params dt { font-size: .8125rem; font-weight: 700; color: var(--dim); }
.dt_params dd { font-size: .9375rem; color: var(--ink); line-height: 1.5; }
.dt_cta { display: grid; gap: .6rem; }
.dt_cta .btn { width: 100%; }
.dt_web { justify-self: start; margin-top: .25rem; }
@media (min-width: 900px) {
  .detail { width: min(1180px, calc(100% - 4rem)); height: min(900px, calc(100% - 4rem)); margin: auto; border-radius: var(--r-xl); box-shadow: 0 40px 100px -30px rgba(8,28,30,.6); }
  .detail_body { padding: 2rem 2.5rem 2.5rem; }
  .dt_grid { grid-template-columns: 1.55fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
  .dt_side { position: sticky; top: 0; }
}

/* Galerie v detailu: posun pásu přes transform, šipky, swipe, klávesy, náhledy. */
.gal { outline: none; border-radius: var(--r-md); }
.gal_view { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--tint); touch-action: pan-y; }
.gal_track { display: flex; height: 100%; transition: transform .5s var(--ease-out); }
.gal_slide { flex: 0 0 100%; height: 100%; margin: 0; }
.gal_slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gal:focus-visible .gal_view { box-shadow: 0 0 0 3px var(--teal); }
.gal_btn {
  position: absolute; top: 50%; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; display: grid; place-items: center; border-radius: 50%;
  color: var(--ink); background-color: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,0);
  transition: background-color .25s ease, box-shadow .3s var(--ease-glow), transform .25s var(--ease-out), outline-color .25s ease;
}
.gal_btn.is-prev { left: .75rem; }
.gal_btn.is-next { right: .75rem; }
.gal_btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .gal_btn:hover { background-color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35), 0 0 0 5px rgba(255,255,255,.35); } }
.gal_btn:active { transform: scale(.94); }
.gal_count { position: absolute; right: .75rem; bottom: .75rem; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: rgba(12,17,29,.5); font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gal_thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding: .2rem .1rem .4rem; scrollbar-width: thin; }
.gal_thumb {
  flex: 0 0 5rem; height: 3.75rem; border-radius: 10px; overflow: hidden; opacity: .55;
  box-shadow: 0 0 0 0 rgba(44,116,124,0);
  transition: opacity .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.gal_thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal_thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--teal-btn); }
@media (hover: hover) and (pointer: fine) { .gal_thumb:hover { opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  .detail { transform: none; transition: opacity .2s ease; }
  .gal_track { transition: none; }
}
.dt_grid > *, .dt_main, .gal { min-width: 0; }
.gal_view { width: 100%; }
.person_tel { white-space: nowrap; }
@media (max-width: 899px) {
  .foot_cols > :nth-child(2), .foot_cols > :nth-child(3) { grid-column: 1 / -1; }
  .foot_cols > :nth-child(2) { order: -2; }
  .foot_cols > :nth-child(3) { order: -1; }
  .foot_col li, .foot_col address { overflow-wrap: normal; }
}
@media (max-width: 420px) { .person { grid-template-columns: 4.75rem 1fr; } .person img { width: 4.75rem; height: 4.75rem; } .person.is-main { grid-template-columns: 4.75rem 1fr; padding: 1.1rem; } .person.is-main img { width: 4.75rem; height: 4.75rem; } .person.is-main .person_tel { font-size: 1.3125rem; } }
@media (max-width: 899px) { .stage_shade { background: linear-gradient(0deg, rgba(8,28,30,.92) 0%, rgba(8,28,30,.72) 32%, rgba(8,28,30,.2) 62%, rgba(8,28,30,0) 80%); } }
.reel_soon[hidden] { display: none; }

/* ---------- Blog: karty a stránka článku ---------- */
.post .post_meta { margin-top: .1rem; font-size: .8125rem; font-weight: 600; color: var(--teal-btn); }
.posts.is-two { grid-template-columns: minmax(0, 1fr); }
/* Dva články pod sebou: na mobilu žádný vodorovný posuv, jinak se karty překryly. */
@media (max-width: 899px) { .posts.is-two { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0; } }
.art_share { margin-top: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 720px) { .posts.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }

.art { padding: clamp(2rem, 6vw, 4.5rem) 1rem var(--section); background: linear-gradient(180deg, #fff 0, #fff 40%, var(--paper) 100%); }
.art_in { max-width: 46rem; margin-inline: auto; }
.art_head h1 { font-size: clamp(2rem, 2.8vw + 1.1rem, 3.25rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.art_meta { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; font-size: .875rem; color: var(--dim); }
.art_meta img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; object-position: 30% 30%; }
.art_meta > span { display: grid; gap: .05rem; line-height: 1.35; }
.art_meta b { color: var(--ink); font-weight: 700; }
.art_cover { margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; }
.art_cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px -40px rgba(15,59,62,.5); }
@media (min-width: 1024px) { .art_cover { margin-inline: -4rem; } }

.art_body { margin-top: clamp(2rem, 4vw, 2.75rem); font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.art_body > * + * { margin-top: .9rem; }
.art_body p { max-width: 40rem; }
.art_body strong { color: var(--ink); font-weight: 700; }
.art_body h2 { margin-top: 2.75rem; font-size: clamp(1.375rem, 1vw + 1.05rem, 1.75rem); line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.art_body h3 { margin-top: 1.75rem; font-size: 1.1875rem; color: var(--ink); }
.art_body h2 + *, .art_body h3 + * { margin-top: .65rem; }
.art_body ul, .art_body ol { display: grid; gap: .45rem; padding-left: 1.4rem; }
.art_body ul { list-style: disc; }
.art_body ol { list-style: decimal; }
.art_body li::marker { color: var(--teal); font-weight: 700; }
.art_lead { font-size: clamp(1.25rem, .8vw + 1.05rem, 1.5rem); line-height: 1.5; color: var(--ink); padding-left: 1.25rem; border-left: 1px solid var(--teal); }
.art_lead em { font-style: italic; }
.art_quote { margin: 1.75rem 0 !important; padding: 1.4rem 1.5rem; border-radius: var(--r-md); background: var(--tint); }
.art_quote p { font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }
.art_fig { margin: 2rem 0 !important; }
.art_fig img { width: 100%; border-radius: var(--r-md); }
.art_link a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; max-width: 100%;
  font-size: .9375rem; font-weight: 600; color: var(--teal-btn); text-decoration: none; overflow-wrap: anywhere;
  background-color: var(--tint); border: 1px solid rgba(44,116,124,.16);
  box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .25s ease, border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.art_link svg { flex: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .art_link a:hover { background-color: var(--tint-2); border-color: rgba(44,116,124,.32); box-shadow: 0 0 0 4px rgba(55,138,147,.1); } }

.art_cta { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-xl); background: var(--deep); color: #fff; }
.art_cta::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%; z-index: -1; background: radial-gradient(45% 45% at 50% 50%, rgba(55,138,147,.55), rgba(55,138,147,0) 70%); }
.art_cta h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); color: #fff; }
.art_cta h2 em { color: #8fd0d6; }
.art_cta p { margin-top: .75rem; color: var(--on-deep-soft); max-width: 30rem; }
.art_cta_act { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.art_cta :focus-visible { outline-color: #9fd6db; }

.art_more { max-width: 62rem; margin: clamp(3.5rem, 7vw, 5rem) auto 0; }
.art_more_head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.art_more_head h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); }
.blog_social { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog_social .btn { min-height: 2.75rem; padding: .6rem 1.1rem; font-size: .875rem; }

/* =============================================================
   Rozšíření 10/2026: střídající se fotky, okruhy Historie / Rodina / Investice,
   rozpis služeb (Příprava a Propagace), Tip a ukázka cenové analýzy.
   ============================================================= */

/* ---------- Zástupná místa: jednotný vzor ----------
   Štítek .tag („Doplní klient“ / „K ověření“) + přerušovaný rámeček.
   .slot = místo pro fotku nebo video, .claim = text nebo tvrzení, které čeká na podklad. */
.slot {
  display: grid; place-items: center; align-content: center; gap: .45rem; text-align: center;
  padding: .75rem; border-radius: var(--r-sm);
  background: var(--tint); border: 1px dashed rgba(44,116,124,.45); color: var(--ink-soft);
}
.slot svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--teal-btn); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.slot_t { font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--ink-soft); }
.slot.is-photo { aspect-ratio: 4 / 3; }
.slot.is-video { aspect-ratio: 16 / 9; }
.slot.is-thumb { aspect-ratio: 4 / 3; padding: .4rem; gap: .3rem; }
.slot.is-thumb svg { width: 1.3rem; height: 1.3rem; }
.slot.is-fill { position: absolute; inset: 0; border-radius: var(--r-xl); gap: .6rem; }
.slot.is-fill svg { width: 2.6rem; height: 2.6rem; stroke-width: 1.2; }
.slot.is-fill .slot_t { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.claim {
  display: grid; gap: .4rem; justify-items: start; align-content: start;
  padding: .8rem .9rem; border-radius: var(--r-sm);
  background: var(--paper); border: 1px dashed rgba(44,116,124,.35);
  font-size: .875rem; line-height: 1.5; font-style: italic; color: var(--dim);
}
.claim .tag, .camp_note .tag { font-style: normal; }

/* ---------- O mně: střídající se fotky ----------
   Nová fotka se rozsvítí nad tou předchozí (ta zmizí až po dojetí), takže neprosvítá pozadí.
   Střídání řídí průběh v aktivní tečce: pozastavením animace se zastaví i časovač. */
.fade { display: grid; gap: .75rem; min-width: 0; }
.fade_list {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl);
  background: var(--tint); box-shadow: 0 30px 60px -36px rgba(15,59,62,.45); touch-action: pan-y;
}
.fade_slide { position: absolute; inset: 0; opacity: 0; z-index: 0; }
/* Předchozí fotka zůstává plně vidět pod novou, dokud se nová nerozsvítí; ostatní jsou skryté. */
.fade_slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.fade_slide.is-on { opacity: 1; z-index: 2; transition: opacity .9s var(--ease-sweep); }
.fade_slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 30%);
  transform: scale(1.045); transition: transform 7s linear; user-select: none; -webkit-user-drag: none;
}
.fade_slide.is-on img, .fade_slide.is-prev img { transform: scale(1); }
.fade_cap {
  position: absolute; left: .9rem; bottom: .9rem; padding: .3rem .75rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; color: var(--ink);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7);
}
.fade_bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding-inline: .25rem; }
html:not(.js) .fade_bar { display: none; }
.fade_dots { display: flex; align-items: center; }
.fade_dot { display: grid; place-items: center; height: 2.75rem; padding-inline: .2rem; border-radius: 999px; outline-offset: -8px; }
.fade_dot span {
  position: relative; display: block; width: 1.6rem; height: .3125rem; border-radius: 999px; overflow: hidden;
  background-color: rgba(44,116,124,.26);
  transition: background-color .28s var(--ease-glow);
}
.fade_dot span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--teal-btn);
  transform: scaleX(0); transform-origin: left;
}
.fade_dot[aria-current="true"] span::after { animation: fade-run 6s linear forwards paused; }
.fade.is-playing .fade_dot[aria-current="true"] span::after { animation-play-state: running; }
.fade.is-manual .fade_dot[aria-current="true"] span::after { animation: none; transform: none; }
@keyframes fade-run { to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .fade_dot:not([aria-current="true"]):hover span { background-color: rgba(44,116,124,.6); } }
.fade_ctrl { display: flex; gap: .55rem; }
.fade_btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(120,137,164,.32); background-color: rgba(255,255,255,.9); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 6px 16px -10px rgba(12,17,29,0);
  transition: background-color .28s var(--ease-glow), border-color .28s var(--ease-glow), box-shadow .28s var(--ease-glow), transform .28s var(--ease-glow), outline-color .25s ease;
}
.fade_btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fade_btn .i-play { display: none; fill: currentColor; stroke-width: 1.4; }
.fade_btn.is-paused .i-play { display: block; }
.fade_btn.is-paused .i-pause { display: none; }
@media (hover: hover) and (pointer: fine) { .fade_btn:hover { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(55,138,147,.12), 0 6px 16px -10px rgba(12,17,29,.35); } }
.fade_btn:active { transform: scale(.94); transition-duration: .12s; }
@media (min-width: 900px) {
  .fade { position: sticky; top: calc(var(--head-h) + 1.25rem); }
  .fade_list { aspect-ratio: 4 / 5; }
  .fade_slide img { object-position: var(--op-w, var(--op, 50% 30%)); }
  .fade_cap { left: 1.25rem; bottom: 1.25rem; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fade_slide.is-on { transition: opacity .2s ease; }
  .fade_slide img { transform: none; transition: none; }
  .fade_dot[aria-current="true"] span::after { animation: none; transform: none; }
  .fade_btn.is-toggle { display: none; }
  .fade_btn:active { transform: none; }
}

/* ---------- O mně: okruhy Historie / Rodina / Investice ---------- */
.about_jump { margin-top: .5rem; color: var(--teal-btn); }
@media (hover: hover) and (pointer: fine) { .about_jump:hover { color: var(--teal-dark); } .link-arrow.about_jump:hover svg { transform: translateY(3px); } }
.about_part { scroll-margin-top: calc(var(--head-h) + 1rem); min-width: 0; }
#historie { margin-top: 1.75rem; }
.about_sub { font-size: 1.375rem; letter-spacing: -.02em; }
#historie .path { margin-top: 1.1rem; }
.path h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
.path_proof { display: grid; grid-template-columns: 8.25rem minmax(0, 1fr); gap: .75rem; align-items: stretch; margin-top: .75rem; max-width: 30rem; }
.path_proof .slot { aspect-ratio: auto; min-height: 6.2rem; }
.path_proof .claim { align-content: center; }
#oceneni { scroll-margin-top: calc(var(--head-h) + 1rem); }

.about_open { display: grid; gap: 2.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.about_open .note { margin-top: 1.1rem; }
.about_note { margin-top: .4rem; font-size: 1rem; color: var(--ink-soft); }
.fam { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .75rem; margin-top: .75rem; }
.fam .claim { align-content: center; }
@media (min-width: 900px) { .fam { grid-template-columns: 12rem minmax(0, 1fr); } }
.own { display: grid; gap: .75rem; margin-top: 1.1rem; }
.own li {
  display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); gap: .9rem; align-items: center;
  padding: .5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
}
.own h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; }
.own p { margin-top: .15rem; font-size: .875rem; line-height: 1.45; font-style: italic; color: var(--dim); }
@media (min-width: 900px) {
  .about_open { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
  .own li { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.15rem; padding: .6rem; }
}
.about_pair { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Jak prodávám: ukázka cenové analýzy v kroku 1 ---------- */
.ca {
  margin: 0 1.15rem 1.35rem; padding: 1.15rem; border-radius: var(--r-md);
  background: #fff; color: var(--ink); box-shadow: 0 30px 60px -36px rgba(0,0,0,.6);
  scroll-margin-top: calc(var(--head-h) + 1rem);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .22s ease, transform .3s var(--ease-out);
}
.step.is-open .ca { opacity: 1; transform: none; transition-delay: .1s; }
.method .ca :focus-visible, .method .svc :focus-visible { outline-color: var(--teal); }
.ca_head { display: grid; gap: 1rem; }
.ca_h { font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.ca_intro > p:not(.ca_flag) { margin-top: .5rem; font-size: .9375rem; line-height: 1.55; color: var(--ink-soft); max-width: 32rem; }
.ca_flag {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; padding: .4rem .85rem .4rem .6rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.3;
}
.ca_flag svg { flex: none; width: 1.1rem; height: 1.1rem; fill: none; stroke: #8fd0d6; stroke-width: 1.8; stroke-linecap: round; }
.ca_case { margin-top: 1.35rem; font-size: .8125rem; font-weight: 700; color: var(--teal-btn); }
.ca_list { display: grid; margin-top: .6rem; border-top: 1px solid var(--line); }
.ca_card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-content: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.ca_card:last-child { border-bottom: 0; padding-bottom: .25rem; }
.ca_n {
  grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--teal-btn);
  background: var(--tint); border: 1px solid rgba(44,116,124,.25);
}
.ca_card h5 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
.ca_card > p { grid-column: 2; margin-top: .15rem; font-size: .8125rem; line-height: 1.45; color: var(--dim); }
.ca_rows { grid-column: 1 / -1; display: grid; margin-top: .8rem; }
.ca_rows div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; align-items: baseline; padding: .5rem 0; border-top: 1px solid var(--line); }
.ca_rows dt { font-size: .875rem; color: var(--ink-soft); line-height: 1.35; }
.ca_rows dt small { display: block; font-size: .75rem; color: var(--dim); }
.ca_rows dd { font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.ca_rows .is-sum dt { font-weight: 700; color: var(--ink); }
.ca_rows .is-sum dd { color: var(--teal-btn); }
.ca_card > .ca_big {
  grid-column: 1 / -1; margin-top: .9rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--deep);
  font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap;
  font-variant-numeric: tabular-nums; color: #fff;
}
.ca_big small { display: block; margin-top: .4rem; font-size: .75rem; font-weight: 600; letter-spacing: 0; white-space: normal; color: var(--on-deep-soft); }
@media (min-width: 900px) {
  .ca { margin: 0 1.75rem 1.75rem 5.4rem; padding: 1.6rem 1.75rem 1.75rem; }
  .ca_head { grid-template-columns: minmax(0, 1fr) 17rem; gap: 2rem; align-items: center; }
}
@media (min-width: 1100px) {
  .ca_list { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; margin-top: .9rem; }
  .ca_card { padding: 1.1rem 1.25rem 0; border-bottom: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .ca_card:first-child { padding-left: 0; border-left: 0; }
  .ca_card:last-child { padding-right: 0; }
  .ca_card > .ca_big { padding: .9rem .95rem; font-size: clamp(1.25rem, 1.9vw - .1rem, 1.625rem); }
}

/* ---------- Jak prodávám: Tip a rozpis služeb (světlý list na tmavém pásu) ---------- */
.svc_wrap { margin-top: clamp(3rem, 7vw, 5rem); scroll-margin-top: calc(var(--head-h) + 1rem); }
.svc_h { font-size: clamp(1.5rem, 1.6vw + 1.05rem, 2.25rem); line-height: 1.12; letter-spacing: -.03em; color: #fff; max-width: 34rem; }
.svc_h em { font-style: italic; color: #8fd0d6; }
.svc {
  margin-top: 1.5rem; padding: 1rem; border-radius: var(--r-lg);
  background: #fff; color: var(--ink); box-shadow: 0 40px 80px -50px rgba(0,0,0,.75);
}
.tip { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; padding: 1.15rem; border-radius: var(--r-md); background: var(--tint); scroll-margin-top: calc(var(--head-h) + 1rem); }
.tip_ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px -14px rgba(15,59,62,.5); }
.tip_ico svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--teal-btn); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tip_txt { font-size: clamp(1.1875rem, 1.3vw + .9rem, 1.75rem); font-weight: 500; font-style: italic; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.tip_txt b { font-weight: 700; color: var(--teal-btn); }
.tip_sub { margin-top: .6rem; font-size: .9375rem; color: var(--ink-soft); }
.tip .claim { grid-column: 1 / -1; background: rgba(255,255,255,.7); }

.svc_cols { display: grid; gap: 2.5rem; margin-top: 1.75rem; padding: 0 .25rem .5rem; }
.svc_part { min-width: 0; scroll-margin-top: calc(var(--head-h) + 1rem); }
.svc_t { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.svc_sub { margin-top: .3rem; font-size: .9375rem; color: var(--dim); }
.svc_list { margin-top: 1.35rem; }
.svc_list a { color: var(--teal-btn); font-weight: 600; border-radius: 4px; transition: color .25s ease, outline-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .svc_list a:hover { color: var(--teal-dark); } }
.svc_part > .claim { margin-top: 1.1rem; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .75rem; margin-top: 1.25rem; }
.tile { display: grid; gap: .5rem; align-content: start; }
.tile_m { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--tint); }
.tile_m > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.tile_m.slot { display: grid; }
.tile_in { position: absolute; left: .4rem; bottom: .4rem; width: 42%; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 10px 20px -8px rgba(0,0,0,.55); }
.tile_in img { width: 100%; height: 100%; object-fit: cover; }
.tile_lbl { position: absolute; left: .25rem; top: .25rem; padding: .08rem .4rem; border-radius: 999px; font-size: .625rem; font-weight: 700; color: #fff; background: rgba(12,17,29,.6); }
.tile figcaption { display: grid; gap: .05rem; }
.tile figcaption b { font-size: .875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.tile figcaption span { font-size: .75rem; line-height: 1.35; color: var(--dim); }
.tile_m.is-link { outline-offset: 3px; }
.tile_play {
  position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem;
  display: grid; place-items: center; border-radius: 50%; background: rgba(12,17,29,.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 10px 26px rgba(0,0,0,.3), 0 0 0 0 rgba(255,255,255,0);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-glow);
}
.tile_play svg { width: 1.1rem; height: 1.1rem; fill: #fff; margin-left: 2px; }
@media (hover: hover) and (pointer: fine) {
  .tile_m.is-link:hover > img { transform: scale(1.03); }
  .tile_m.is-link:hover .tile_play { transform: scale(1.06); box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 0 7px rgba(255,255,255,.2); }
}
.tile.is-wide { margin-top: 1.35rem; }
.tile.is-wide .tile_m { aspect-ratio: 2 / 1; }
.tile_m.is-link > img { object-position: left top; }
.camp_box { margin-top: .75rem; }
.camp_note { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8125rem; font-style: italic; color: var(--dim); }
.camp_box .camp { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .6rem; }
.camp_box .camp div { padding: .7rem .75rem; }
@media (min-width: 640px) {
  .svc { padding: 1.5rem; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tip { grid-template-columns: auto minmax(0, 1fr); padding: 1.5rem; gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .svc { padding: 2rem; border-radius: var(--r-xl); }
  .tip { grid-template-columns: auto minmax(0, 1fr) minmax(0, 16.5rem); align-items: center; padding: 1.75rem 2rem; border-radius: var(--r-lg); }
  .tip .claim { grid-column: auto; }
  .tip_ico { width: 3.5rem; height: 3.5rem; }
  .tip_ico svg { width: 1.7rem; height: 1.7rem; }
  .svc_cols { grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 4vw, 4rem); margin-top: 2.25rem; padding: 0 .5rem .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ca { transform: none; transition: opacity .2s ease; }
  .tile_m.is-link:hover > img, .tile_m.is-link:hover .tile_play { transform: none; }
}

/* =============================================================
   Druhé kolo 10/2026: „živá vizitka kanceláře“ – Odhad zdarma v hlavičce,
   video celé nad ohybem, hodnocení jako u Googlu, rozbalovací osa,
   dlaždice s ukázkami a lightbox, sloučené Příběhy, formulář Napsat.
   ============================================================= */

/* ---------- Hlavička: Odhad zdarma ---------- */
.top_act { grid-area: act; display: flex; align-items: center; gap: .4rem; }
.top_cta {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; border-radius: 999px;
  background-color: var(--teal-btn); color: #fff; font-size: .875rem; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 10px 22px -12px rgba(27,101,103,0);
  transition: background-color .28s var(--ease-glow), box-shadow .3s var(--ease-glow), transform .3s var(--ease-glow), outline-color .25s ease;
}
.top_cta:focus-visible { background-color: var(--teal-dark); }
@media (hover: hover) and (pointer: fine) {
  .top_cta:hover { background-color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(55,138,147,.16), 0 10px 22px -12px rgba(27,101,103,.6); }
}
.top_cta:active { transform: scale(.97); transition-duration: .12s; }
@media (max-width: 379px) { .brand img { height: 1.8rem; } .top_cta { padding-inline: .8rem; } }
@media (min-width: 1024px) and (max-width: 1179px) { .tabs_list a, .tabs_list span { padding: .55rem .7rem; } }

/* ---------- Úvod: jméno, heslo, video celé nad ohybem ---------- */
.hero { padding-top: clamp(1.25rem, 3.2vw, 2.75rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.5rem, 4.2vw + .6rem, 4.75rem); line-height: 1.02; }
.hero_claim { margin-top: .6rem; font-size: clamp(1.25rem, 1.1vw + .9rem, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.hero_claim span { display: block; margin-top: .35rem; font-size: clamp(.875rem, .3vw + .8rem, 1rem); font-weight: 500; letter-spacing: 0; color: var(--dim); }
/* Šířka videa se odvozuje od výšky okna, aby bylo celé vidět hned po načtení (16 : 9). */
.hero { --stage-w: min(100%, max(20rem, calc((100vh - 19rem) * 16 / 9))); }
@supports (height: 100svh) { .hero { --stage-w: min(100%, max(20rem, calc((100svh - 19rem) * 16 / 9))); } }
.hero .stage { width: var(--stage-w); margin: clamp(1.1rem, 2.4vw, 1.75rem) auto 0; }

/* Hodnocení ve stejné logice jako u Googlu: 4,9 ★★★★★ (145) */
.hero_bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 2rem; width: var(--stage-w); margin: 1.5rem auto 0; padding-inline: 0; }
.hero_bar .proof { justify-content: center; }
.rates { display: grid; gap: .2rem; justify-items: start; }
.rate {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2rem; border-radius: 6px;
  font-size: .9375rem; color: var(--ink-soft); text-decoration: none; font-variant-numeric: tabular-nums;
}
.rate b { font-weight: 600; color: var(--ink); }
.gstars { display: inline-flex; gap: 0; }
.gstars svg { width: 1.05rem; height: 1.05rem; fill: #FBBC04; }
.rate_n { color: var(--dim); }
.rate_src { margin-left: .2rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; transition: color .25s ease, text-decoration-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .rate:hover .rate_src { color: var(--teal-btn); text-decoration-color: currentColor; } }
@media (min-width: 900px) {
  .hero_bar { justify-content: flex-start; }
  .hero_bar .hero_actions { margin-left: auto; justify-content: end; }
}

/* Úvodní text pod videem jako krátký dopis s podpisem */
.letter { display: grid; gap: 1.25rem 4rem; max-width: 64rem; margin: clamp(3rem, 7vw, 5rem) auto 0; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.letter_h { font-size: clamp(1.75rem, 1.8vw + 1.1rem, 2.75rem); line-height: 1.1; letter-spacing: -.03em; }
.letter_body > p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); max-width: 36rem; }
.letter_body > p + p { margin-top: .8rem; }
.letter_moto { margin-top: 1.5rem; }
.letter_moto p { font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem); font-weight: 600; font-style: italic; line-height: 1.4; letter-spacing: -.01em; color: var(--teal-btn); text-wrap: balance; }
.letter_moto figcaption { margin-top: .7rem; }
.letter_moto img { height: 2.3rem; width: auto; }
@media (min-width: 900px) { .letter { grid-template-columns: .85fr 1.15fr; align-items: start; } }

/* ---------- O nás: rozbalovací časová osa ---------- */
.path[data-path] { gap: .3rem; margin-top: 1.75rem; }
.path[data-path]::before { top: 1.3rem; bottom: 1.3rem; }
.path_it::before { top: 1.05rem !important; box-shadow: 0 0 0 0 rgba(55,138,147,0); transition: box-shadow .3s var(--ease-glow), background-color .3s var(--ease-glow); }
.path_it.is-open::before, .path_it:focus-within::before { box-shadow: 0 0 0 5px rgba(55,138,147,.16); }
.path_it.is-now::before { background: var(--teal); }
@media (hover: hover) and (pointer: fine) { .path_it:hover::before { box-shadow: 0 0 0 5px rgba(55,138,147,.16); background-color: var(--tint); } .path_it.is-now:hover::before { background-color: var(--teal); } }
.path_it {
  border-radius: var(--r-md); background-color: rgba(255,255,255,0); border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 20px 40px -32px rgba(15,59,62,0);
  transition: background-color .3s var(--ease-glow), border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow);
}
.path_it.is-open { background-color: #fff; border-color: var(--line); box-shadow: 0 0 0 4px rgba(55,138,147,.06), 0 20px 40px -32px rgba(15,59,62,.5); }
@media (hover: hover) and (pointer: fine) { .path_it:not(.is-open):hover { background-color: rgba(55,138,147,.06); } }
.path_h { font-size: inherit; }
.path_h button {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 1.6rem; align-items: center; gap: .75rem;
  width: 100%; min-height: 3rem; padding: .55rem .75rem; text-align: left; border-radius: var(--r-md); outline-offset: -2px;
}
.path_t { grid-column: 1; font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; transition: color .25s ease; }
@media (hover: hover) and (pointer: fine) { .path_h button:hover .path_t { color: var(--teal-btn); } }
.path_face { grid-column: 2; width: 2.1rem; height: 2.1rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid #fff; box-shadow: 0 6px 14px -8px rgba(15,59,62,.6); }
.path_i { grid-column: 3; position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(44,116,124,.3); color: var(--teal-btn); transition: border-color .3s var(--ease-glow), background-color .3s var(--ease-glow); }
.path_i::before, .path_i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .6rem; height: 2px; margin: -1px 0 0 -.3rem; background: currentColor; border-radius: 2px; }
.path_i::after { transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.path_it.is-open .path_i::after { transform: rotate(0deg); }
.path_it.is-open .path_i { background-color: var(--tint); }
.path_body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s linear .3s; }
.path_it.is-open .path_body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease-out), visibility 0s; }
html:not(.js) .path_body { grid-template-rows: 1fr; visibility: visible; }
.path_in { overflow: hidden; min-height: 0; }
.path_grid { display: grid; gap: .8rem; padding: .1rem .75rem .9rem; opacity: 0; transform: translateY(-4px); transition: opacity .22s ease, transform .3s var(--ease-out); }
.path_it.is-open .path_grid, html:not(.js) .path_grid { opacity: 1; transform: none; }
.path_it.is-open .path_grid { transition-delay: .06s; }
.path_media .slot, .path_photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.path_photo { object-fit: cover; box-shadow: 0 14px 28px -20px rgba(15,59,62,.6); }
.path_txt { display: grid; gap: .55rem; align-content: start; }
.path_txt > p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-soft); }
.path_txt .claim { font-size: .8125rem; }
.path_person { display: grid; gap: .1rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.path_person b { font-size: .9375rem; }
.path_person span { font-size: .75rem; font-weight: 600; color: var(--teal-btn); }
.path_person p { margin-top: .25rem; font-size: .875rem; color: var(--dim); max-width: none; }
.path_tel {
  justify-self: start; display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; min-height: 2.5rem; padding: 0 .9rem; border-radius: 999px;
  font-size: .875rem; font-weight: 700; color: var(--teal-dark); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
  background-color: var(--tint); border: 1px solid rgba(44,116,124,.16);
  box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.path_tel svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .path_tel:hover { background-color: var(--tint-2); border-color: rgba(44,116,124,.3); box-shadow: 0 0 0 4px rgba(55,138,147,.12); } }
.path_link { min-height: 2.5rem; color: var(--teal-btn); }
.path_link svg { width: 1rem; height: 1rem; }
@media (min-width: 520px) { .path_grid { grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; } }
@media (prefers-reduced-motion: reduce) { .path_body, .path_grid { transition-duration: .01ms; } }

/* ---------- Jak prodáváme: video, tip, dlaždice s ukázkami, pět kroků ---------- */
.tag.is-deep { color: #8fd0d6; background: rgba(143,208,214,.08); border-color: rgba(143,208,214,.5); }
.slot.is-dark { background: rgba(255,255,255,.04); border-color: rgba(143,208,214,.42); color: var(--on-deep-soft); }
.slot.is-dark svg { stroke: #8fd0d6; }
.slot.is-dark .slot_t { color: #fff; }
.claim.is-deep { background: rgba(255,255,255,.04); border-color: rgba(143,208,214,.4); color: var(--on-deep-soft); }
.method_video { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.method_video .slot { border-radius: var(--r-lg); }
.method_video .slot svg { width: 2.6rem; height: 2.6rem; stroke-width: 1.2; }
.method_video .slot_t { font-size: 1.125rem; font-weight: 700; }


.parts { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.part_h { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.tiles2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .85rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .tiles2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles2 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1rem; } }
.tile2 { display: grid; align-content: start; gap: .1rem; width: 100%; color: #fff; text-align: left; text-decoration: none; border-radius: var(--r-md); outline-offset: 4px; }
.tile2_m {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: .55rem; overflow: hidden; border-radius: var(--r-md);
  background: var(--deep-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 34px -24px rgba(0,0,0,.7), 0 0 0 0 rgba(143,208,214,0);
  transition: box-shadow .3s var(--ease-glow), transform .3s var(--ease-glow);
}
.tile2_m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tile2_m.is-type { align-content: center; gap: .35rem; background: linear-gradient(150deg, var(--deep-2), #0b2f31); }
.tile2_ico svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: #8fd0d6; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile2_big { font-size: clamp(1.125rem, .8vw + .9rem, 1.5rem); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.tile2_m.is-num .tile2_big { font-size: clamp(1.125rem, 1vw + .85rem, 1.625rem); color: #8fd0d6; font-variant-numeric: tabular-nums; }
.tile2_b {
  position: absolute; right: .5rem; top: .5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  color: #fff; background-color: rgba(12,17,29,.42); border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .28s var(--ease-glow), color .28s ease, transform .3s var(--ease-out);
}
.tile2_b svg { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile2_b svg path[d^="M8 5.5"] { fill: currentColor; stroke: none; }
.tile2_t { font-size: .9375rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.tile2_s { font-size: .75rem; line-height: 1.35; color: var(--on-deep-soft); }
.tile2.is-slot .tile2_m { box-shadow: none; }
.tile2.is-slot .tile2_m svg { width: 1.6rem; height: 1.6rem; }
.tile2:focus-visible .tile2_m { box-shadow: 0 0 0 1px rgba(143,208,214,.5), 0 26px 44px -24px rgba(0,0,0,.8), 0 0 0 5px rgba(143,208,214,.14); }
@media (hover: hover) and (pointer: fine) {
  a.tile2:hover .tile2_m, button.tile2:hover .tile2_m { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(143,208,214,.5), 0 26px 44px -24px rgba(0,0,0,.8), 0 0 0 5px rgba(143,208,214,.14); }
  a.tile2:hover .tile2_m > img, button.tile2:hover .tile2_m > img { transform: scale(1.05); }
  a.tile2:hover .tile2_b, button.tile2:hover .tile2_b { background-color: #fff; color: var(--deep); }
}
button.tile2:active .tile2_m, a.tile2:active .tile2_m { transform: scale(.98); transition-duration: .12s; }
.tile2_m[style] > img { object-position: left top; }

.flow_wrap { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--on-deep-line); }
.flow_h { font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem); letter-spacing: -.02em; color: #fff; max-width: 30rem; }
.flow { position: relative; display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; }
.flow_n {
  grid-row: span 2; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  font-size: .875rem; font-weight: 700; color: var(--deep); background: #8fd0d6; font-variant-numeric: tabular-nums;
}
.flow h4 { margin: 0; font-size: 1rem; line-height: 1.3; letter-spacing: -.012em; color: #fff; align-self: center; }
.flow p { font-size: .875rem; line-height: 1.5; color: var(--on-deep-soft); margin-top: .15rem; }
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .flow::before { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 1.1rem; height: 1px; background: linear-gradient(90deg, rgba(143,208,214,.5), rgba(143,208,214,.12)); }
  .flow li { grid-template-columns: 1fr; row-gap: .75rem; position: relative; }
  .flow_n { grid-row: auto; }
  .flow h4 { align-self: start; min-height: 2.6em; }
}

/* ---------- Lightbox s ukázkou ---------- */
.lb {
  width: min(64rem, calc(100% - 1rem)); max-width: none; max-height: calc(100% - 1rem); margin: auto; padding: 0; border: 0;
  border-radius: var(--r-lg); background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(8,28,30,.6);
  opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity .25s ease, transform .3s var(--ease-out);
}
.lb.is-open { opacity: 1; transform: none; }
.lb::backdrop { background: rgba(8,28,30,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background-color .3s ease, backdrop-filter .3s ease; }
.lb.is-open::backdrop { background: rgba(8,28,30,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb_bar { position: absolute; right: .6rem; top: .6rem; z-index: 3; }
.lb_x {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background-color: rgba(255,255,255,.92); border: 1px solid rgba(120,137,164,.3); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 8px 20px -10px rgba(0,0,0,.35);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.lb_x svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .lb_x:hover { background-color: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(55,138,147,.14), 0 8px 20px -10px rgba(0,0,0,.35); } }
.lb_body { max-height: calc(100vh - 1rem); overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1rem 1.5rem; }
.lb_t { padding-right: 3.25rem; font-size: clamp(1.375rem, 1.2vw + 1rem, 1.875rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; outline: none; }
.lb_body > .compare, .lb_video, .lb_card, .lb_gal { margin-top: 1rem; }
.lb_body > .compare { max-width: min(100%, calc((100vh - 12rem) * 4 / 3)); margin-inline: auto; }
.lb_video { position: relative; aspect-ratio: 16 / 9; max-width: min(100%, calc((100vh - 12rem) * 16 / 9)); margin-inline: auto; border-radius: var(--r-md); overflow: hidden; background: #000; }
.lb_video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb_note { margin-top: .9rem; font-size: .875rem; color: var(--dim); text-align: center; }
.lb_note a { color: var(--teal-btn); font-weight: 600; }
.lb_gal { display: grid; gap: .9rem; }
.lb_gal figure { display: grid; gap: .35rem; }
.lb_gal img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.lb_gal figcaption { font-size: .8125rem; color: var(--dim); }
.lb_card { max-width: 32rem; margin-inline: auto; padding: 1.25rem; border-radius: var(--r-md); background: var(--paper); }
.lb_card.is-plan { max-width: 40rem; background: #fff; border: 1px solid var(--line); }
.lb_card.is-plan img { width: 100%; height: auto; max-height: calc(100vh - 14rem); object-fit: contain; }
.lb .ca.is-lb { margin: 0; padding: 0; box-shadow: none; opacity: 1; transform: none; }
.lb .ca.is-lb .ca_head { margin-top: .25rem; }
.lb :focus-visible { outline-color: var(--teal); }
@media (min-width: 640px) { .lb_gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lb_body { padding: 1.75rem 1.75rem 2rem; } }
@media (min-width: 900px) { .lb { border-radius: var(--r-xl); width: min(64rem, calc(100% - 4rem)); max-height: calc(100% - 3rem); } .lb_body { max-height: calc(100vh - 3rem); padding: 2rem 2.25rem 2.25rem; } .lb_bar { right: 1rem; top: 1rem; } }
.lb.is-video .lb_t { padding-right: 3.25rem; }
@media (prefers-reduced-motion: reduce) { .lb { transform: none; transition: opacity .2s ease; } }

/* Detail aktuální nabídky: náhled + celý inzerát */
.dt_full { justify-self: stretch; }

/* ---------- Příběhy prodejů (sloučené s blogem) ---------- */
.stories { padding-block: var(--section); background: var(--paper); }
.stories_head { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; align-items: end; }
.stories_head p { margin-top: .9rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); max-width: 34rem; }
@media (min-width: 900px) { .stories_head { grid-template-columns: 1fr auto; } }
.stories_list { display: grid; gap: .9rem; }
.story[hidden] { display: none; }
.story_a {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem; align-items: start; height: 100%;
  padding: .5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 20px 40px -30px rgba(15,59,62,0);
  transition: border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow), transform .3s var(--ease-out), outline-color .25s ease;
}
a.story_a { outline-offset: 3px; }
.story_m { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--tint); }
.story_m > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.story_tag {
  position: absolute; left: .4rem; bottom: .4rem; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem .2rem .4rem; border-radius: 999px;
  font-size: .6875rem; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px) saturate(1.4); backdrop-filter: blur(8px) saturate(1.4);
}
.story_tag svg { width: .85rem; height: .85rem; fill: none; stroke: var(--teal-btn); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story_txt { display: grid; gap: .25rem; align-content: start; padding-top: .3rem; min-width: 0; }
.story_meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; color: var(--teal-btn); }
.story_t { font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; transition: color .25s ease; text-wrap: balance; }
.story.is-soon .story_a { background: transparent; border-style: dashed; border-color: rgba(44,116,124,.3); }
.story.is-soon .story_m > img { filter: saturate(.55); opacity: .85; }
.slot.is-fill2 { position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  a.story_a:hover { border-color: rgba(44,116,124,.3); box-shadow: 0 0 0 3px rgba(55,138,147,.08), 0 20px 40px -30px rgba(15,59,62,.55); transform: translateY(-2px); }
  a.story_a:hover .story_m > img { transform: scale(1.04); }
  a.story_a:hover .story_t { color: var(--teal-btn); }
}
@media (min-width: 720px) {
  .stories_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .story_a { grid-template-columns: 1fr; gap: .2rem; padding: .6rem .6rem 1.1rem; }
  .story_m { aspect-ratio: 16 / 10; margin-bottom: .6rem; }
  .story_txt { padding: 0 .45rem; }
  .story_t { font-size: 1.125rem; }
  .story_tag { left: .6rem; bottom: .6rem; font-size: .75rem; }
}
@media (min-width: 1024px) { .stories_list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { a.story_a:hover, a.story_a:hover .story_m > img { transform: none; } }

/* ---------- Kontakt: formulář Napsat ---------- */
.cform { display: none; }
.cform.is-ready { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s var(--ease-out), visibility 0s linear .32s; }
.cform.is-ready.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .32s var(--ease-out), visibility 0s; }
.cform_in { overflow: hidden; min-height: 0; }
.cf, .cf_done { margin-top: 1.25rem; padding: 1.15rem; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid var(--on-deep-line); }
.cf { display: grid; gap: .85rem; }
.cf[hidden], .cf_done[hidden] { display: none; }
.cf_h { font-size: 1.125rem; color: #fff; }
.cf_row { display: grid; gap: .85rem; }
@media (min-width: 560px) { .cf_row { grid-template-columns: 1fr 1fr; } }
.cf_field { display: grid; gap: .3rem; align-content: start; }
.cf_field label { font-size: .8125rem; font-weight: 600; color: var(--on-deep-soft); }
.cf_opt { font-weight: 500; opacity: .8; }
.cf input[type="text"], .cf input[type="tel"], .cf input[type="email"], .cf textarea {
  width: 100%; min-height: 2.9rem; padding: .7rem .85rem; border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background-color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 0 rgba(143,208,214,0);
  transition: border-color .25s var(--ease-glow), box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.cf textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.cf input::placeholder, .cf textarea::placeholder { color: #6b7385; }
.cf input:focus, .cf textarea:focus { outline: 2px solid transparent; border-color: #8fd0d6; box-shadow: 0 0 0 4px rgba(143,208,214,.3); }
.cf [aria-invalid="true"] { border-color: #ffb4a8; box-shadow: 0 0 0 4px rgba(255,140,120,.22); }
.cf_err { display: none; font-size: .8125rem; font-weight: 600; color: #ffd1c9; }
.cf_err.is-on { display: block; }
.cf_hint { margin-top: -.35rem; font-size: .8125rem; color: var(--on-deep-soft); transition: color .25s ease; }
.cf_hint.is-on { color: #ffd1c9; font-weight: 600; }
.cf_hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf_check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .65rem; align-items: start; }
.cf_check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: #8fd0d6; border-radius: 4px; outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 0 rgba(255,140,120,0); transition: box-shadow .3s var(--ease-glow), outline-color .25s ease; }
.cf_check label { font-size: .875rem; line-height: 1.5; color: var(--on-deep-soft); }
.cf_check a { color: #fff; font-weight: 600; transition: color .25s ease, outline-color .25s ease; }
.cf_check .cf_err { grid-column: 2; }
.cf_act { display: flex; flex-wrap: wrap; gap: .6rem; }
.cf_send:disabled { cursor: progress; opacity: .85; }
.cf_fail { padding: .8rem .95rem; border-radius: var(--r-sm); background: rgba(255,120,100,.12); border: 1px solid rgba(255,170,150,.4); font-size: .875rem; line-height: 1.5; color: #ffe4de; }
.cf_retry { margin-left: .25rem; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: .2em; border-radius: 4px; transition: color .25s ease, outline-color .25s ease; }
.cf_done { display: grid; gap: .5rem; justify-items: start; outline: none; }
.cf_done_ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #8fd0d6; }
.cf_done_ico svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cf_done h3 { font-size: 1.25rem; color: #fff; }
.cf_done p { color: var(--on-deep-soft); }
.cf_done a { color: #fff; font-weight: 700; }
.cf_again { color: #fff; }
@media (hover: hover) and (pointer: fine) { .cf_check a:hover, .cf_retry:hover { color: #8fd0d6; } .cf_again:hover { color: #8fd0d6; } }
@media (min-width: 900px) { .cf { padding: 1.4rem 1.5rem 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .cform.is-ready { transition-duration: .01ms; } }

/* ---------- Případové studie (blog/pribeh-*.html) ---------- */
.cs_kind { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .8125rem; font-weight: 700; color: var(--teal-btn); }
.story_tag.is-static { position: static; background: var(--tint); }
.cs_facts { display: grid; gap: .8rem; margin: clamp(1.5rem, 3vw, 2rem) 0 0; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--tint); }
.cs_facts div { display: grid; gap: .1rem; }
.cs_facts dt { font-size: .75rem; font-weight: 700; color: var(--teal-btn); }
.cs_facts dd { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
@media (min-width: 720px) { .cs_facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding: 1.25rem 1.5rem; } }
.art_body .claim { margin-top: .9rem; font-size: .9375rem; }
.cs_gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.cs_gal figure { position: relative; margin: 0; }
.cs_gal img, .cs_gal .slot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.cs_gal figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.cs_gal figure:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 9; }
.cs_video { margin-top: 1rem; }
.cs_video .slot { border-radius: var(--r-md); }
.vfac { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; color: #fff; text-decoration: none; outline-offset: 4px;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 30px 60px -40px rgba(15,59,62,.5); transition: box-shadow .3s var(--ease-glow), outline-color .25s ease; }
.vfac img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .6s var(--ease-out), opacity .3s ease; }
.vfac_play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%;
  background-color: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0,0,0,.3), 0 0 0 0 rgba(255,255,255,0); transition: background-color .3s ease, color .3s ease, box-shadow .3s var(--ease-glow), transform .3s var(--ease-out); }
.vfac_play svg { width: 1.6rem; height: 1.6rem; fill: currentColor; margin-left: 3px; }
.vfac_cap { position: absolute; left: 1rem; bottom: .9rem; right: 1rem; font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.vfac.is-playing iframe, .vfac.is-playing video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@media (hover: hover) and (pointer: fine) {
  a.vfac:hover { box-shadow: 0 0 0 5px rgba(55,138,147,.14), 0 30px 60px -40px rgba(15,59,62,.6); }
  a.vfac:hover img { transform: scale(1.03); opacity: .9; }
  a.vfac:hover .vfac_play { background-color: #fff; color: var(--teal-dark); transform: scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,.3), 0 0 0 9px rgba(255,255,255,.16); }
}
.cs_odhad { margin-top: 1rem; color: #fff; }
@media (hover: hover) and (pointer: fine) { .cs_odhad:hover { color: #8fd0d6; } }
@media (prefers-reduced-motion: reduce) { a.vfac:hover img, a.vfac:hover .vfac_play { transform: none; } }

/* Plovoucí „Zavolat“ na mobilu vlevo, ať se nepotká s bublinou AI asistenta vpravo dole. */
.dock { left: max(1rem, env(safe-area-inset-left)); transform: translateY(140%); }
.dock.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  a.tile2:hover .tile2_m, button.tile2:hover .tile2_m, a.tile2:hover .tile2_m > img, button.tile2:hover .tile2_m > img,
  button.tile2:active .tile2_m, a.tile2:active .tile2_m, .top_cta:hover, .top_cta:active, .path_grid { transform: none; }
}

/* ---------- Kolo 3: kompaktní lišta pod videem, jednoduchá osa, náhledy dlaždic, zarovnané kroky ---------- */
.rates { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1.25rem; }
.hero_bar { gap: .9rem 2rem; }
@media (min-width: 900px) {
  .hero_bar { flex-wrap: nowrap; justify-content: space-between; }
  .hero_bar .proof { justify-content: start; }
  .hero_bar .hero_actions { margin-left: 0; }
}
@media (max-width: 899px) { .hero_bar { flex-direction: column; } }

.path h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
.path .path_link { margin-top: .2rem; min-height: 2.5rem; font-size: .9375rem; }

.tile2_m.is-preview { background: linear-gradient(150deg, var(--deep-2), #0b2f31); }
.tile2_svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease-out); }
.tile2_svg text { font-family: var(--font); }
@media (hover: hover) and (pointer: fine) { button.tile2:hover .tile2_svg { transform: scale(1.04); } }
.tile2_play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; border-radius: 50%;
  color: #fff; background-color: rgba(12,17,29,.4); border: 1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,.3), 0 0 0 0 rgba(255,255,255,0);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-glow), background-color .3s ease, color .3s ease;
}
.tile2_play svg { width: 1.2rem; height: 1.2rem; fill: currentColor; margin-left: 2px; }
.tile2_yt { position: absolute; left: .5rem; bottom: .5rem; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem .2rem .45rem; border-radius: 999px; font-size: .6875rem; font-weight: 700; color: #fff; background: rgba(12,17,29,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tile2_yt svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { a.tile2:hover .tile2_play, button.tile2:hover .tile2_play { transform: scale(1.06); background-color: #fff; color: var(--deep); box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 0 7px rgba(255,255,255,.18); } }
.tile2_tag { position: absolute; left: .5rem; bottom: .5rem; }
.tile2_tag .tag { background: rgba(12,17,29,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (prefers-reduced-motion: reduce) { button.tile2:hover .tile2_svg, a.tile2:hover .tile2_play, button.tile2:hover .tile2_play { transform: none; } }

/* Pět kroků: nadpisy i texty v jedné rovině bez ohledu na počet řádků (subgrid). */
@media (min-width: 1000px) {
  .flow { grid-template-rows: auto auto auto; row-gap: 0; }
  .flow li { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .flow_n { margin-bottom: .85rem; }
  .flow h4 { align-self: start; min-height: 0; }
  .flow p { margin-top: .4rem; }
}
.path .path_link { display: inline-block; padding-block: .55rem; min-height: 0; line-height: 1.4; }
.path .path_link svg { display: inline-block; vertical-align: -.15em; margin-left: .35rem; }

/* ---------- Kolo 4: Jak prodáváme – živější pozadí, nadpis na střed; Reference – Firmy.cz + Google ---------- */
.method .method_head { max-width: 40rem; margin-inline: auto; text-align: center; }
/* Základ o odstín světlejší a po délce sekce se mění; původní záře nahoře (.method_glow) zůstává.
   ::before rozmístí další měkké záře po celé výšce (Příprava, Propagace, pět kroků),
   ::after přidá jemnou tečkovou mřížku jako na půdorysu, která do stran mizí. */
.method {
  background:
    linear-gradient(180deg, #0f3b3e 0%, #134a4e 22%, #154f53 48%, #12464a 74%, #0f3b3e 100%);
}
.method::before, .method::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.method::before {
  z-index: -2;
  background:
    radial-gradient(38rem 30rem at 12% 34%, rgba(55,138,147,.30), rgba(55,138,147,0) 70%),
    radial-gradient(42rem 34rem at 92% 52%, rgba(55,138,147,.26), rgba(55,138,147,0) 70%),
    radial-gradient(36rem 28rem at 22% 72%, rgba(143,208,214,.12), rgba(143,208,214,0) 70%),
    radial-gradient(44rem 30rem at 80% 94%, rgba(55,138,147,.24), rgba(55,138,147,0) 70%);
  animation: method-breathe 14s ease-in-out infinite;
}
.method::after {
  z-index: -1;
  background-image: radial-gradient(rgba(143,208,214,.10) 1px, rgba(143,208,214,0) 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  opacity: .7;
}
@keyframes method-breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .method::before { animation: none; } }
/* Příprava a Propagace jako dva pásy s odlišným odstínem (jemná skleněná plocha, ne další karta). */
.parts { gap: clamp(1rem, 2vw, 1.5rem); }
.part { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); border: 1px solid rgba(143,208,214,.12); }
#priprava { background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
#propagace { background: linear-gradient(200deg, rgba(55,138,147,.20), rgba(55,138,147,.06)); }
@media (max-width: 639px) { .part { margin-inline: -.5rem; padding: 1.15rem .9rem 1.3rem; border-radius: var(--r-lg); } }

/* Reference: Firmy.cz vlevo, Google vpravo, stejný styl */
.scores { display: flex; flex-wrap: wrap; gap: .75rem; justify-self: start; }
.scores .score { justify-self: auto; }
@media (min-width: 900px) { .scores { justify-self: end; flex-wrap: nowrap; } }
@media (max-width: 639px) { .scores { flex-direction: column; align-items: stretch; width: 100%; } .scores .score { width: 100%; } }

/* =============================================================
   Kolo 5 (připomínky Milana 20.–21. 10. 2026): víc nástrojů s ukázkami,
   karusely a výběr videí v lightboxu, fotky s klienty, rozhovory, FAQ.
   ============================================================= */

/* ---------- Dlaždice: na desktopu 10, na mobilu 6, zbytek po kliknutí ---------- */
.tiles2:not(.is-all) > li:nth-child(n+11) { display: none; }
@media (max-width: 999px) { .tiles2:not(.is-all) > li:nth-child(n+7) { display: none; } }
.tiles2.is-all > li { animation: tile-in .45s var(--ease-out) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tiles2.is-all > li { animation: tile-in-fade .2s ease both; } @keyframes tile-in-fade { from { opacity: 0; } to { opacity: 1; } } }
.tiles_more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; min-height: 2.75rem; padding: .6rem 1.15rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; color: #fff;
  background-color: rgba(255,255,255,.06); border: 1px solid rgba(143,208,214,.35);
  box-shadow: 0 0 0 0 rgba(143,208,214,0);
  transition: background-color .28s var(--ease-glow), border-color .28s var(--ease-glow), box-shadow .3s var(--ease-glow), outline-color .25s ease;
}
.tiles_more[hidden] { display: none; }
.tiles_more svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.tiles_more[aria-expanded="true"] svg { transform: rotate(-90deg); }
@media (hover: hover) and (pointer: fine) { .tiles_more:hover { background-color: rgba(255,255,255,.12); border-color: rgba(143,208,214,.6); box-shadow: 0 0 0 4px rgba(143,208,214,.12); } }
.tile2_m.is-ad .tile2_big { font-size: clamp(.9375rem, .5vw + .8rem, 1.125rem); text-align: center; padding-inline: .5rem; line-height: 1.25; }
.tile2_m.is-type .tile2_tag { position: absolute; left: .5rem; bottom: .5rem; }
.tile2_t .tag { margin-left: .3rem; vertical-align: middle; }

/* ---------- Lightbox: karusel ---------- */
.car { margin-top: 1rem; }
.car_track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-md); outline: none; }
.car_track::-webkit-scrollbar { display: none; }
.car_slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; min-width: 0; }
.car_fig { display: grid; gap: .5rem; justify-items: center; width: 100%; margin: 0; }
.car_fig img { width: auto; max-width: 100%; max-height: calc(100vh - 15rem); object-fit: contain; border-radius: var(--r-sm); }
.car_fig figcaption { font-size: .8125rem; color: var(--dim); text-align: center; }
.car .compare { width: min(100%, calc((100vh - 15rem) * 4 / 3)); margin-inline: auto; }
.car.is-plan .car_fig img { border: 1px solid var(--line); background: #fff; }
.car_nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .9rem; }
.car_nav .cf_btn:disabled { opacity: .35; cursor: default; }

/* ---------- Lightbox: výběr videí ---------- */
.vlist { display: flex; gap: .6rem; margin-top: .9rem; overflow-x: auto; padding: .2rem .1rem .5rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.vlist li { flex: 0 0 auto; scroll-snap-align: start; }
.vlist_b {
  display: grid; gap: .35rem; width: 9.5rem; text-align: left; border-radius: var(--r-sm); padding: .3rem; outline-offset: 2px;
  border: 1px solid transparent; box-shadow: 0 0 0 0 rgba(55,138,147,0);
  transition: border-color .28s var(--ease-glow), box-shadow .3s var(--ease-glow), background-color .28s ease, outline-color .25s ease;
}
.vlist_b img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.vlist_b span { font-size: .75rem; font-weight: 600; line-height: 1.3; color: var(--ink-soft); }
.vlist_b[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(55,138,147,.18); }
@media (hover: hover) and (pointer: fine) { .vlist_b:hover { background-color: var(--tint); } }
.lb_video.is-file { background: #000; }
.lb_video.is-file video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Lightbox: dokumenty, texty, štítky, aukce, weby ---------- */
.lb_doc { margin: 1rem auto 0; max-width: 40rem; display: grid; justify-items: center; }
.lb_doc img { width: auto; max-width: 100%; max-height: calc(100vh - 16rem); object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; box-shadow: 0 20px 40px -30px rgba(15,59,62,.45); }
.lb_doc.is-photo img { border: 0; }
.lb_cta { display: flex; justify-content: center; margin-top: 1rem; }
.lb_gal.is-docs img, .lb_gal.is-shots img { aspect-ratio: auto; height: auto; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.lb_gal.is-docs { align-items: start; }
.lb_gal.is-shots { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); align-items: start; }
.lb_gal.is-ads { margin-top: 1.25rem; gap: 1rem; max-width: 26rem; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
.lb_gal.is-ads img { box-shadow: 0 18px 36px -28px rgba(15,59,62,.5); }
@media (min-width: 760px) { .lb_gal.is-ads { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lb_text { max-width: 40rem; margin: 1rem auto 0; }
.lb_lead { font-size: clamp(1.0625rem, .5vw + .95rem, 1.25rem); line-height: 1.5; color: var(--ink); }
.lb_list { display: grid; margin-top: 1rem; border-top: 1px solid var(--line); }
.lb_list li { display: grid; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.lb_list b { font-size: .9375rem; }
.lb_list span { font-size: .875rem; color: var(--dim); }
.lb_foot { margin-top: 1rem; font-size: .9375rem; color: var(--ink-soft); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.pills li { padding: .5rem .95rem; border-radius: 999px; font-size: .9375rem; font-weight: 700; color: var(--teal-dark); background: #fff; border: 1px solid rgba(44,116,124,.3); }
.lb_sub { margin-top: 1.75rem; font-size: 1.0625rem; }
.steps4 { display: grid; gap: .6rem; margin-top: 1.1rem; counter-reset: k; }
.steps4 li { display: grid; gap: .15rem; padding: .85rem 1rem .9rem 3rem; border-radius: var(--r-sm); border: 1px solid var(--line); position: relative; }
.steps4 li::before { counter-increment: k; content: counter(k); position: absolute; left: .9rem; top: .85rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: .8125rem; font-weight: 700; color: #fff; background: var(--teal-btn); }
.steps4 b { font-size: .9375rem; }
.steps4 span { font-size: .875rem; color: var(--ink-soft); }
@media (min-width: 900px) { .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lb_stat { display: grid; gap: .6rem; margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--deep); color: #fff; }
.lb_stat h3 { font-size: 1rem; color: #8fd0d6; }
.lb_stat dl { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.lb_stat dt { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.125rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lb_stat dd { font-size: .875rem; color: var(--on-deep-soft); }
.lb_stat .link-arrow { color: #fff; justify-self: start; }
.lb_stat :focus-visible { outline-color: #9fd6db; }
.webs { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .webs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .webs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.web_card { display: grid; gap: .35rem; text-decoration: none; color: inherit; border-radius: var(--r-sm); outline-offset: 3px; }
.web_m { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 16px 30px -24px rgba(15,59,62,.5); transition: box-shadow .3s var(--ease-glow), transform .3s var(--ease-out); }
.web_m img { width: 100%; height: 100%; object-fit: cover; }
.web_tag { position: absolute; left: .5rem; top: .5rem; padding: .2rem .55rem; border-radius: 999px; font-size: .6875rem; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.9); }
.web_t { font-size: .9375rem; font-weight: 700; }
.web_go { display: inline-flex; align-items: center; gap: .3rem; font-size: .8125rem; font-weight: 600; color: var(--teal-btn); }
.web_go svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .web_card:hover .web_m { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(55,138,147,.15), 0 16px 30px -20px rgba(15,59,62,.6); } }

/* ---------- O nás: rozhovory ---------- */
.talks { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.talks_h { font-size: 1.375rem; letter-spacing: -.02em; }
.talks_list { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .talks_list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .talks_list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.talk { display: grid; gap: .25rem; width: 100%; text-align: left; border-radius: var(--r-md); outline-offset: 4px; }
.talk_m { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 20px 40px -30px rgba(15,59,62,.5); transition: box-shadow .3s var(--ease-glow), transform .3s var(--ease-out); }
.talk_m img { width: 100%; height: 100%; object-fit: cover; }
.talk_t { margin-top: .4rem; font-size: 1rem; font-weight: 700; }
.talk_s { font-size: .8125rem; color: var(--dim); }
@media (hover: hover) and (pointer: fine) {
  .talk:hover .talk_m { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(55,138,147,.14), 0 20px 40px -26px rgba(15,59,62,.6); }
  .talk:hover .tile2_play { transform: scale(1.06); background-color: #fff; color: var(--deep); }
}

/* ---------- Prodáno: odkaz na stránku nemovitosti ---------- */
.home_web {
  justify-self: start; display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; min-height: 2rem; padding: .2rem .1rem;
  font-size: .8125rem; font-weight: 600; color: var(--teal-btn); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em;
  border-radius: 6px; transition: color .25s ease, text-decoration-color .25s ease, outline-color .25s ease;
}
.home_web svg { width: .85rem; height: .85rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .home_web:hover { color: var(--teal-dark); text-decoration-color: currentColor; } }

/* ---------- Příběhy: štítek vizualizace a časová osa Rakovníku ---------- */
.story_viz { position: absolute; right: .4rem; top: .4rem; padding: .15rem .5rem; border-radius: 999px; font-size: .6875rem; font-weight: 700; color: #fff; background: rgba(12,17,29,.55); }
.story_tl { display: grid; gap: .3rem; margin-top: .55rem; }
.story_tl li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .4rem; font-size: .8125rem; line-height: 1.4; color: var(--ink-soft); }
.story_tl b { color: var(--teal-btn); font-variant-numeric: tabular-nums; }

/* ---------- Otázky a odpovědi ---------- */
.faq { padding-block: var(--section); background: #fff; }
.faq_head { text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.faq_list { display: grid; gap: .6rem; max-width: 52rem; margin-inline: auto; }
.faq_it {
  border-radius: var(--r-md); background-color: #fff; border: 1px solid var(--line);
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 20px 40px -34px rgba(15,59,62,0);
  transition: border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow), background-color .3s var(--ease-glow);
}
.faq_it.is-open { border-color: rgba(44,116,124,.3); box-shadow: 0 0 0 4px rgba(55,138,147,.06), 0 20px 40px -34px rgba(15,59,62,.5); }
@media (hover: hover) and (pointer: fine) { .faq_it:not(.is-open):hover { border-color: rgba(44,116,124,.3); background-color: var(--paper); } }
.faq_h { font-size: inherit; }
.faq_h button { display: grid; grid-template-columns: minmax(0, 1fr) 1.75rem; align-items: center; gap: 1rem; width: 100%; min-height: 3.5rem; padding: .85rem 1.1rem; text-align: left; border-radius: var(--r-md); outline-offset: -3px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.35; }
.faq_i { position: relative; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid rgba(44,116,124,.3); color: var(--teal-btn); transition: background-color .3s var(--ease-glow), border-color .3s var(--ease-glow); }
.faq_i::before, .faq_i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .65rem; height: 2px; margin: -1px 0 0 -.325rem; background: currentColor; border-radius: 2px; }
.faq_i::after { transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.faq_it.is-open .faq_i::after { transform: rotate(0deg); }
.faq_it.is-open .faq_i { background-color: var(--tint); }
.faq_body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s linear .3s; }
.faq_it.is-open .faq_body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease-out), visibility 0s; }
html:not(.js) .faq_body { grid-template-rows: 1fr; visibility: visible; }
.faq_in { overflow: hidden; min-height: 0; }
.faq_in p { padding: 0 1.1rem 1.1rem; font-size: .9375rem; line-height: 1.65; color: var(--ink-soft); max-width: 44rem; }
.faq_in a { color: var(--teal-btn); font-weight: 600; transition: color .25s ease, outline-color .25s ease; }
@media (prefers-reduced-motion: reduce) { .faq_body { transition-duration: .01ms; } }

/* ---------- Kontakt: Odhad zdarma ---------- */
.btn.is-odhad { background-color: var(--teal-btn); border-color: rgba(143,208,214,.5); --btn-fill: var(--teal-dark); }

/* ---------- Případová studie Chodov: časová osa a postup ---------- */
.cs_tl { display: grid; gap: 0; margin: 1.25rem 0 0 !important; padding: 0 !important; list-style: none !important; border-left: 2px solid rgba(55,138,147,.35); }
.cs_tl li { position: relative; display: grid; gap: .1rem; padding: 0 0 1rem 1.25rem; margin: 0 !important; }
.cs_tl li::before { content: ""; position: absolute; left: -.45rem; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.cs_tl li:last-child::before { background: var(--teal); }
.cs_tl time, .cs_tl .cs_tl_d { font-size: .8125rem; font-weight: 700; color: var(--teal-btn); font-variant-numeric: tabular-nums; }
.cs_tl span { font-size: 1rem; color: var(--ink); }
.cs_steps { margin-top: 2.75rem !important; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--r-lg); background: var(--deep); color: #fff; }
.cs_steps h2 { margin-top: 0 !important; color: #fff !important; }
.cs_steps_lead { margin-top: .5rem; color: var(--on-deep-soft); }
.cs_steps ol { display: grid; gap: .6rem; margin-top: 1.1rem !important; padding: 0 !important; list-style: none !important; counter-reset: k; }
.cs_steps li { position: relative; display: grid; gap: .15rem; padding: .85rem 1rem .9rem 3.1rem; border-radius: var(--r-sm); background: rgba(255,255,255,.06); border: 1px solid var(--on-deep-line); margin: 0 !important; }
.cs_steps li::before { counter-increment: k; content: counter(k); position: absolute; left: .95rem; top: .9rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: .8125rem; font-weight: 700; color: var(--deep); background: #8fd0d6; }
.cs_steps b { color: #fff; font-size: 1rem; }
.cs_steps span { font-size: .9375rem; line-height: 1.5; color: var(--on-deep-soft); }
.art_cover.is-viz { position: relative; }
.art_cover.is-viz .story_viz { right: .9rem; top: .9rem; font-size: .75rem; }

/* Galerie O nás: 15 fotek – průběhové čárky se přizpůsobí šířce (jako stories), nic nepřeteče. */
.about_grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .about_grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fade_dots { flex: 1 1 auto; min-width: 0; max-width: 24rem; }
.fade_dot { flex: 1 1 0; min-width: 0; padding-inline: 2px; }
.fade_dot span { width: 100%; max-width: 1.6rem; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .talk:hover .talk_m, .web_card:hover .web_m, .talk:hover .tile2_play { transform: none; } }

/* ---------- Kolo 6: průvodce ke stažení, volba ve formuláři, reference v příbězích, výzva s fotkou ---------- */
.flow_dl { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.lb_gal.is-staging { align-items: start; }
.lb_gal.is-staging img { aspect-ratio: 4 / 3; }
.lb_gal.is-staging .compare img { aspect-ratio: auto; border-radius: 0; }

.cf_zajem { display: grid; gap: .45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.cf_zajem legend { padding: 0; margin-bottom: .45rem; font-size: .8125rem; font-weight: 600; color: var(--on-deep-soft); }
.cf_picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.cf_pick { position: relative; display: block; cursor: pointer; }
.cf_pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cf_pick span {
  display: flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; color: #fff;
  background-color: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 0 0 0 rgba(143,208,214,0);
  transition: background-color .25s ease, color .25s ease, border-color .25s var(--ease-glow), box-shadow .3s var(--ease-glow);
}
.cf_pick input:checked + span { background-color: #8fd0d6; border-color: #8fd0d6; color: var(--deep); }
.cf_pick input:focus-visible + span { border-color: #8fd0d6; box-shadow: 0 0 0 4px rgba(143,208,214,.3); }
.cf_zajem:has(.cf_err.is-on) .cf_pick span { border-color: #ffb4a8; }
@media (hover: hover) and (pointer: fine) {
  .cf_pick:hover span { border-color: #8fd0d6; box-shadow: 0 0 0 4px rgba(143,208,214,.18); }
}

.cs_ref { display: grid; gap: .6rem; margin: 1.1rem 0 0; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--tint); }
.art_body .cs_ref blockquote p { max-width: none; font-size: 1rem; line-height: 1.55; font-weight: 500; color: var(--ink); }
.cs_ref figcaption { display: grid; gap: .1rem; font-size: .875rem; }
.cs_ref figcaption b { color: var(--ink); }
.cs_ref figcaption span { color: var(--dim); }
.cs_ref a { color: var(--teal-btn); font-weight: 600; transition: color .25s ease, outline-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .cs_ref a:hover { color: var(--teal-dark); } }

.cs_req { margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--tint); font-size: 1rem; line-height: 1.55; color: var(--ink); }
.cs_req a { color: var(--teal-btn); font-weight: 600; transition: color .25s ease, outline-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .cs_req a:hover { color: var(--teal-dark); } }

.art_cta.has-photo { display: grid; gap: 1.5rem; align-items: center; }
.art_cta_txt { min-width: 0; }
.art_cta_foto { margin: 0; }
.art_cta_foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 55% 30%; border-radius: var(--r-md); }
@media (min-width: 760px) { .art_cta.has-photo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* ---------- Černé tlačítko a rozbalovací příklad v lightboxu ----------
   Stín má stejné dvě vrstvy v klidu i na hoveru, výška se animuje přes grid-template-rows. */
.btn.is-ink { --btn-fill: #22304a; background-color: var(--ink); border-color: rgba(255,255,255,.14);
  box-shadow: 0 0 0 0 rgba(12,17,29,0), 0 10px 22px -12px rgba(12,17,29,0); }
@media (hover: hover) and (pointer: fine) {
  .btn.is-ink:hover { box-shadow: 0 0 0 4px rgba(12,17,29,.1), 0 16px 30px -12px rgba(12,17,29,.5); }
}
.lb_ex_btn svg { transition: transform .32s var(--ease-glow); }
.lb_ex_btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lb_ex { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .34s var(--ease-glow), visibility 0s linear .34s; }
.lb_ex.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .34s var(--ease-glow), visibility 0s; }
.lb_ex_in { overflow: hidden; min-height: 0; }
.lb_ex_card { margin-top: 1rem; padding: 1.1rem 1.25rem 1.25rem; border-radius: var(--r-md); background: var(--tint); opacity: 0; transition: opacity .28s var(--ease-glow); }
.lb_ex.is-open .lb_ex_card { opacity: 1; }
.lb_ex_k { font-size: .8125rem; font-weight: 700; color: var(--teal-btn); }
.lb_ex_t { margin-top: .15rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.lb_ex_dl { display: grid; gap: .8rem; margin-top: .85rem; }
.lb_ex_dl dt { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.lb_ex_dl dd { margin-top: .1rem; font-size: .9375rem; line-height: 1.55; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .lb_ex, .lb_ex.is-open, .lb_ex_card, .lb_ex_btn svg { transition-duration: .01ms; transition-delay: 0s; } }

/* Cenová analýza: výřezy z reálného nacenění */
.ca_real { margin-top: 1.5rem; padding-top: .25rem; border-top: 1px solid var(--line); }
.ca_real .lb_sub { margin-top: 1.1rem; }
.ca_real_lead { margin-top: .3rem; font-size: .9375rem; line-height: 1.55; color: var(--ink-soft); max-width: 40rem; }
.ca_shots { display: grid; gap: 1rem; margin-top: .9rem; }
.ca_shot { display: grid; gap: .4rem; align-content: start; margin: 0; min-width: 0; }
.ca_shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.ca_shot figcaption { font-size: .875rem; font-weight: 600; line-height: 1.35; color: var(--ink-soft); }
@media (min-width: 640px) {
  .ca_shots { grid-template-columns: minmax(0, .8fr) repeat(2, minmax(0, 1fr)); }
  .ca_shot.is-wide { grid-column: 1 / -1; }
}
/* Video skutečné cenové analýzy: vlastní soubor, do kliknutí se nic nestahuje (preload="none").
   Tlačítko přes plakát spustí přehrávání a plynule zmizí; pak zůstanou nativní ovládací prvky. */
.ca_vid { margin: .9rem 0 1.5rem; }
.ca_vid_box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #0c111d;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 30px 60px -40px rgba(15,59,62,.5); transition: box-shadow .3s var(--ease-glow); }
.ca_vid_box video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #0c111d; }
.ca_vid_play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; color: #fff; cursor: pointer;
  background: linear-gradient(to top, rgba(8,28,30,.66), rgba(8,28,30,.2) 48%, rgba(8,28,30,.14));
  outline: 3px solid rgba(255,255,255,0); outline-offset: -6px;
  opacity: 1; visibility: visible; transition: opacity .28s var(--ease-glow), outline-color .25s ease, visibility 0s linear 0s; }
.ca_vid_play:focus-visible { outline-color: #fff; }
/* Plakát je světlý (bílé rozhraní Valuo), proto tlačítko v klidu tmavé; při najetí bílé jako u ostatních videí. */
.ca_vid_play .vfac_play { background-color: rgba(8,28,30,.48); border-color: rgba(255,255,255,.72); }
.ca_vid_cap { position: absolute; left: 1rem; bottom: .9rem; font-size: .9375rem; font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.ca_vid_box.is-playing .ca_vid_play { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s var(--ease-glow), outline-color .25s ease, visibility 0s linear .28s; }
html:not(.js) .ca_vid_play { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ca_vid_box:not(.is-playing):hover { box-shadow: 0 0 0 5px rgba(55,138,147,.14), 0 30px 60px -40px rgba(15,59,62,.6); }
  .ca_vid_play:hover .vfac_play { background-color: #fff; color: var(--teal-dark); transform: scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,.3), 0 0 0 9px rgba(255,255,255,.16); }
}
@media (prefers-reduced-motion: reduce) { .ca_vid_play:hover .vfac_play { transform: none; } }
@media (max-width: 639px) {
  .ca_vid_play .vfac_play { width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem; }
  .ca_vid_cap { left: .8rem; bottom: .7rem; font-size: .875rem; }
}

/* Příběh: odkaz na stránku nemovitosti */
.cs_link { margin-top: 1.1rem; }

/* Rekonstrukce na klíč: video na výšku a partner */
.lb_vert { width: min(100%, calc((100vh - 17rem) * 9 / 16), 22rem); aspect-ratio: 9 / 16; margin: 1rem auto 0; border-radius: var(--r-md); overflow: hidden; background: #000; }
.lb_vert video { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner { display: flex; align-items: center; gap: .9rem; max-width: 22rem; margin: 1rem auto 0; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--tint); }
.partner img { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }
.partner_txt { display: grid; gap: .05rem; }
.partner_k { font-size: .8125rem; font-weight: 700; color: var(--teal-btn); }
.partner_n { font-size: 1rem; font-weight: 700; color: var(--ink); }
.partner a { justify-self: start; font-size: .9375rem; font-weight: 600; color: var(--teal-btn); text-decoration: none; border-radius: 4px; transition: color .25s var(--ease-glow), outline-color .25s ease; }
@media (hover: hover) and (pointer: fine) { .partner a:hover { color: var(--teal-dark); } }

/* O nás: fotky k ocenění Centurion */
.path_fig { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: .5rem; max-width: 22rem; margin-top: .75rem; }
.path_fig img { width: 100%; height: 9rem; object-fit: cover; border-radius: var(--r-sm); }
.path_fig img:first-child { object-position: 55% 45%; }

/* Letáky: seznam nad ukázkami */
.lb_list.is-tisk { max-width: 40rem; margin: 1rem auto 0; }

/* Lišta: záložka Nabídka – na užších desktopech menší vnitřní okraje, nikdy přes logo a tlačítka */
#nabidka { scroll-margin-top: calc(var(--head-h) + 1rem); }
@media (min-width: 1024px) {
  .tabs { max-width: 100%; }
}
@media (min-width: 1024px) {
  .tabs_list a, .tabs_list span { padding-inline: .62rem; font-size: .8125rem; }
}

/* ---------- Byt Vokovice: galerie krátkých videí na výšku (8. 11. 2026) ----------
   Na mobilu vodorovný pás s přichycením, od 760 px pět sloupců. Náhledy jsou lokální,
   iframe youtube-nocookie vzniká až po kliknutí (js/main.js, data-yt-inline). */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 44%); gap: .75rem; margin: 1rem -1rem 0; padding: .35rem 1rem .75rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; list-style: none; counter-reset: none; }
.reels > li { scroll-snap-align: start; min-width: 0; }
.vfac.is-vert { aspect-ratio: 9 / 16; border-radius: var(--r-sm); }
.vfac.is-vert .vfac_play { width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem; }
.vfac.is-vert .vfac_play svg { width: 1.2rem; height: 1.2rem; }
.vfac.is-vert .vfac_cap { left: .6rem; right: .6rem; bottom: .6rem; display: grid; gap: .2rem; font-size: .8125rem; line-height: 1.25; }
.vfac.is-vert img { opacity: .82; }
.vfac.is-vert::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(8,28,30,.75), rgba(8,28,30,0)); pointer-events: none; }
.vfac.is-vert .vfac_cap { z-index: 1; }
.vfac_n { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; color: var(--teal-dark); font-size: .75rem; font-weight: 700; text-shadow: none; }
.vfac.is-vert.is-playing::after { content: none; }
@media (min-width: 760px) {
  .reels { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-inline: 0; padding: .35rem 0 0; overflow: visible; }
}
.reels_more { margin-top: .6rem; }

/* Rozpočet: dvě kalkulace vedle sebe */
.lb_budgets { display: grid; gap: 1.5rem; margin-top: 1.1rem; }
.lb_budget { display: grid; gap: .7rem; align-content: start; justify-items: center; margin: 0; min-width: 0; }
.lb_budget figcaption { justify-self: stretch; display: grid; gap: .1rem; }
.lb_budget figcaption b { font-size: 1rem; }
.lb_budget figcaption span { font-size: .875rem; color: var(--ink-soft); }
.lb_budget img { display: block; width: 100%; height: auto; max-height: calc(100vh - 14rem); object-fit: contain; object-position: top; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
@media (min-width: 760px) { .lb_budgets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Skvělé texty: ukázka popisu jako souvislý text */
.lb_ex_text p { margin-top: .6rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); max-width: 42rem; }
.lb_ex_text p strong { color: var(--ink); }
.lb_ex_text .lb_ex_k, .lb_ex_text .lb_ex_t { max-width: none; }
.lb_ex_text .lb_ex_k { margin-top: 0; font-size: .8125rem; color: var(--teal-btn); }
.lb_ex_text .lb_ex_src { margin-top: .9rem; font-size: .8125rem; color: var(--dim); }
.lb_ex_text .lb_ex_src a { color: var(--teal-btn); font-weight: 600; }

/* Příběh Vokovice: navazující bloky textu, galerie videí a rozpočet v článku */
.art_body + .art_body > h2:first-child { margin-top: 0; }
.cs_gal + .art_body, .cs_doc + .art_body, .cs_video + .art_body, .reels + .art_body { margin-top: clamp(2rem, 4vw, 2.75rem); }
.art_body + .cs_gal, .art_body + .reels, .art_body + .cs_doc { margin-top: 1.1rem; }
.reels.is-art { margin-top: 1.1rem; }
@media (max-width: 759px) { .reels.is-art { margin-inline: calc(-1 * var(--gutter, 1rem)); padding-inline: var(--gutter, 1rem); scroll-padding-inline: var(--gutter, 1rem); } }
.reels + .cs_video { margin-top: 1rem; }
.cs_doc { margin: 1.1rem auto 0; max-width: 30rem; display: grid; gap: .5rem; }
.cs_doc img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.cs_doc figcaption { font-size: .875rem; color: var(--dim); text-align: center; }
.cs_gal.is-pair figure:first-child:nth-last-child(odd) { grid-column: auto; }
.cs_gal.is-pair figure:first-child:nth-last-child(odd) img { aspect-ratio: 4 / 3; }
.cs_gal.is-pair figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cs_gal.is-pair figure:last-child:nth-child(odd) img { aspect-ratio: 3 / 2; }
.vfac.is-playing:focus { outline: none; }

/* Příběh Vokovice: fotky a vizualizace od studia s popisky, půdorys se zvětšením v novém okně */
.cs_gal.is-studio figure { display: grid; align-content: start; gap: .4rem; }
.cs_gal.is-studio figcaption { font-size: .8125rem; line-height: 1.4; color: var(--dim); }
.cs_gal.is-studio .story_viz { top: .5rem; right: .5rem; }
.cs_gal + .cs_doc { margin-top: clamp(1.5rem, 3vw, 2rem); }
.cs_doc + .cs_video { margin-top: clamp(1.5rem, 3vw, 2rem); }
.cs_doc.is-plan { max-width: 46rem; }
.cs_zoom {
  position: relative; display: block; border-radius: var(--r-sm); cursor: zoom-in;
  box-shadow: 0 0 0 0 rgba(55,138,147,0), 0 20px 40px -34px rgba(15,59,62,0);
  transition: box-shadow .3s var(--ease-glow), outline-color .25s var(--ease-glow);
}
.cs_zoom img { transition: border-color .3s var(--ease-glow); }
.cs_zoom_ico {
  position: absolute; right: .6rem; top: .6rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  color: var(--teal-btn); background-color: rgba(255,255,255,.92); border: 1px solid var(--line);
  box-shadow: 0 6px 16px -10px rgba(15,59,62,.4), 0 0 0 0 rgba(55,138,147,0);
  transition: background-color .3s var(--ease-glow), color .3s var(--ease-glow), border-color .3s var(--ease-glow), box-shadow .3s var(--ease-glow), transform .3s var(--ease-out);
}
.cs_zoom_ico svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs_zoom:focus-visible { box-shadow: 0 0 0 4px rgba(55,138,147,.14), 0 20px 40px -34px rgba(15,59,62,.5); }
.cs_zoom:focus-visible img { border-color: rgba(44,116,124,.45); }
@media (hover: hover) and (pointer: fine) {
  .cs_zoom:hover { box-shadow: 0 0 0 4px rgba(55,138,147,.14), 0 20px 40px -34px rgba(15,59,62,.5); }
  .cs_zoom:hover img { border-color: rgba(44,116,124,.45); }
  .cs_zoom:hover .cs_zoom_ico { color: #fff; background-color: var(--teal-btn); border-color: var(--teal-btn); transform: scale(1.06); box-shadow: 0 6px 16px -10px rgba(15,59,62,.4), 0 0 0 5px rgba(55,138,147,.14); }
}
@media (prefers-reduced-motion: reduce) { .cs_zoom:hover .cs_zoom_ico { transform: none; } }


/* ---------- Byt Vokovice: sestřih na výšku, před a po, průběh oprav (15. 11. 2026) ----------
   Sestřih je vlastní soubor bez zvuku: do kliknutí se nic nestahuje (preload="none"),
   tlačítko přes plakát používá stejné chování jako video cenové analýzy (data-vplay). */
.rk_top { display: grid; gap: 1.25rem; margin-top: 1.1rem; }
.rk_vid { display: grid; gap: .45rem; justify-items: center; margin: 0; }
.ca_vid_box.is-vert { aspect-ratio: 9 / 16; width: min(100%, 17rem, calc((100vh - 12rem) * 9 / 16)); border-radius: var(--r-md); }
.ca_vid_box.is-vert video { object-fit: cover; }
.rk_vid figcaption { max-width: 17rem; font-size: .8125rem; color: var(--dim); text-align: center; text-wrap: balance; }
.rk_done .lb_sub { margin-top: 0; }
.rk_sum { margin-top: .9rem; font-size: .9375rem; color: var(--ink-soft); }
.rk_cmp { margin-top: .9rem; }
.rk_gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .75rem; margin-top: .9rem; list-style: none; padding: 0; }
.rk_gal figure { display: grid; gap: .45rem; margin: 0; }
.rk_gal img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); background: var(--tint); }
.rk_gal figcaption { display: flex; align-items: flex-start; gap: .45rem; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--ink-soft); }
.rk_n { flex: none; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--tint-2); color: var(--teal-dark); font-size: .6875rem; font-weight: 700; }
@media (min-width: 760px) {
  .rk_top { grid-template-columns: 17rem minmax(0, 1fr); gap: 2rem; align-items: start; }
  .rk_gal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 1rem; }
}
