/* =========================================================
   renetrcka.cz – sdílené styly webu
   Tokeny převzaté z blogu (blog-renetrcka.netlify.app), aby web,
   služby a blog působily jako jeden celek.
   ========================================================= */


:root {
  /* Barvy značky */
  --navy: #000077;          /* hlavní modrá značky */
  --navy-deep: #00002e;     /* tmavý konec hlavičky, patička */
  --navy-ink: #0a1e3f;      /* nadpisy na bílé */
  --blue: #143a7d;          /* hover modrých prvků */
  --orange: #e97a0b;        /* tlačítka a akcenty (na bílé jen plochy, ne text) */
  --orange-hover: #f5933a;
  --orange-soft: #fdf1e4;   /* světlý oranžový podklad */
  --orange-ink: #8a4300;    /* oranžový text na bílé, 7,0:1 */

  /* Neutrální */
  --paper: #f5f6f7;
  --white: #ffffff;
  --text: #16182b;
  --muted: #4a4a4a;         /* 8,9:1 na bílé */
  --line: #dfe2ea;
  --on-navy: #ffffff;
  --on-navy-muted: #c9cdf2; /* 10,4:1 na --navy */
  --focus: #b85d00;

  /* Písma (stejná jako blog, obě s českou diakritikou) */
  --font-head: "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --font-ui: "Poppins", "Segoe UI", Arial, sans-serif;

  /* Typová škála (poměr kroků >= 1,25) */
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-lead: 1.1875rem; /* 19 */
  --fs-h3: 1.375rem;    /* 22 */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.6rem);
  --fs-num: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem);

  /* Mezery a tvary */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); scrollbar-color: var(--navy) var(--paper); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: 1.6;
  caret-color: var(--navy);
}
::selection { background: var(--orange); color: var(--navy-deep); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--orange); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-ink); line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 200; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-sm); line-height: 1.25;
  text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; }
/* Oranžová s tmavě modrým textem: 5,7:1 (bílá na oranžové má jen 2,9:1) */
.btn--orange { background: var(--orange); color: var(--navy-deep); }
.btn--orange:hover { background: var(--orange-hover); color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); color: var(--white); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--line-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--line-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: var(--fs-base); }

.text-link { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--blue); text-decoration-thickness: 3px; }
.on-dark .text-link { color: var(--white); }

/* =========================================================
   Hlavička (stejná na všech stránkách)
   ========================================================= */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}
.site-head__bar { display: flex; align-items: center; gap: var(--s5); min-height: var(--head-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; color: var(--white); text-decoration: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  color: var(--white); background: none; border: 0; border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__toggle:hover { background: rgba(255,255,255,.1); color: var(--white); text-decoration: none; }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__toggle[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__toggle svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
  list-style: none; margin: 0; padding: var(--s2); position: absolute; left: 0; top: calc(100% + 6px); min-width: 300px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 18px 40px -16px rgba(0, 0, 46, .55);
  display: none;
}
.nav__sub.is-open { display: block; }
.nav__sub a {
  display: block; padding: 10px 14px; border-radius: 6px; color: var(--navy-ink);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none; line-height: 1.35;
}
.nav__sub a:hover { background: var(--paper); color: var(--navy); }
.nav__sub a[aria-current="page"] { background: var(--orange-soft); color: var(--orange-ink); font-weight: 600; }
.nav__sub small { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 400; margin-top: 2px; }
.nav__cta { flex-shrink: 0; }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 1180px) {
  .nav__link, .nav__toggle { padding: 8px 9px; }
  .nav { gap: var(--s3); }
}
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: fixed; inset: var(--head-h) 0 0 0; margin: 0;
    background: var(--navy-deep); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: var(--s5); padding: var(--s5) var(--gutter) var(--s7);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; min-height: 56px; font-size: var(--fs-base); padding: 12px 4px; }
  .nav__link[aria-current="page"], .nav__toggle[aria-current="true"] { box-shadow: none; color: var(--orange); }
  .nav__sub { position: static; min-width: 0; background: transparent; box-shadow: none; padding: 0 0 var(--s3) var(--s3); }
  .nav__sub a { color: var(--on-navy-muted); padding: 12px 10px; font-size: var(--fs-base); }
  .nav__sub a:hover { background: rgba(255,255,255,.08); color: var(--white); }
  .nav__sub a[aria-current="page"] { background: rgba(233,122,11,.16); color: var(--white); }
  .nav__sub small { color: #aab0dc; }
  .nav__cta { width: 100%; }
  .nav__phone { display: flex !important; }
  body.menu-open { overflow: hidden; }
}
.nav__phone { display: none; gap: var(--s3); flex-direction: column; color: var(--on-navy-muted); font-size: var(--fs-sm); }
.nav__phone a { color: var(--white); font-weight: 600; font-size: var(--fs-lead); }
@media (max-width: 420px) {
  .brand img { height: 36px; }
}

/* =========================================================
   Společné sekce
   ========================================================= */
.section { padding-block: var(--s8); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }
.section--deep { background: var(--navy-deep); color: var(--on-navy-muted); }
.section--navy h2, .section--navy h3, .section--deep h2, .section--deep h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: var(--s7); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-top: var(--s4); margin-bottom: 0; }
.on-dark .section-head p { color: var(--on-navy-muted); }
.lead { font-size: var(--fs-lead); }

/* Úvod stránky (masthead) – stejný charakter jako blog */
.masthead { background: var(--navy); color: var(--on-navy-muted); padding: var(--s8) 0 var(--s8); position: relative; overflow: hidden; }
.masthead h1 { color: var(--white); font-size: var(--fs-h1); font-weight: 800; max-width: 17ch; }
.masthead__lead { font-size: var(--fs-lead); max-width: 56ch; margin: var(--s5) 0 0; }
.masthead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s6); }
.masthead__call { color: var(--on-navy-muted); font-size: var(--fs-sm); }
.masthead__call a { color: var(--white); font-weight: 600; white-space: nowrap; }
.masthead__place { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s6); font-size: var(--fs-sm); color: var(--on-navy-muted); }
.masthead__place svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

.crumbs { font-size: var(--fs-xs); color: var(--on-navy-muted); margin-bottom: var(--s5); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #8d93c9; }
.crumbs a { color: var(--white); }

/* =========================================================
   Domovská stránka
   ========================================================= */
.hero { padding: var(--s8) 0 var(--s9); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 0.64fr); gap: var(--s7); align-items: center; }
.hero h1 { max-width: none; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.95rem); }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--blue); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero__video {
  position: absolute; left: calc(-1 * var(--s6)); bottom: calc(-1 * var(--s6)); width: min(300px, 70%);
  background: var(--white); color: var(--navy-ink); border-radius: var(--radius-sm); padding: 8px; border: 0; cursor: pointer; text-align: left;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .6);
}
.hero__video img { border-radius: 4px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero__video span { display: flex; align-items: center; gap: 10px; padding: 10px 6px 4px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.hero__video:hover span { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.play-dot { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; }
.play-dot svg { width: 14px; height: 14px; margin-left: 2px; }

/* Čísla */
.stats-band { background: var(--navy-deep); color: var(--on-navy-muted); padding: var(--s7) 0; }
.stats-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: var(--s6); align-items: center; }
.stats-band h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.stats li { border-left: 1px solid rgba(255,255,255,.18); padding-left: var(--s4); }
.stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 1.5rem + 1.5vw, 2.9rem); white-space: nowrap; line-height: 1; color: var(--orange); letter-spacing: -0.02em; }
.stats span { display: block; margin-top: var(--s2); font-size: var(--fs-sm); line-height: 1.4; }
.section--paper .stats li, .stats--light li { border-left-color: var(--line); }
.stats--light strong { color: var(--navy); }
.stats--light span { color: var(--muted); }

/* Služby – rozcestník */
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--s7); }
.service { padding: var(--s6) 0; border-top: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; }
.service h3 { margin-bottom: var(--s3); }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.service p { color: var(--muted); max-width: 52ch; }
.service .text-link { justify-self: start; margin-top: var(--s2); }

.estimates { margin-top: var(--s7); background: var(--navy); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); color: var(--on-navy-muted); }
.estimates__intro { max-width: 720px; }
.estimates__intro h3 { color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; }
.estimates__intro p { margin: var(--s3) 0 0; }
.estimates__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); margin-top: var(--s6); }
.estimate { background: var(--white); color: var(--text); border-radius: var(--radius-sm); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.estimate__for { font-size: var(--fs-sm); font-weight: 600; color: var(--orange-ink); }
.estimate h4 { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 800; color: var(--navy-ink); margin: 0; line-height: 1.2; }
.estimate p { color: var(--muted); margin: 0; }
.estimate__prices { list-style: none; padding: 0; margin: var(--s2) 0 0; border-top: 1px dashed var(--line); }
.estimate__prices li { display: flex; justify-content: space-between; gap: var(--s4); padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.estimate__prices b { color: var(--navy-ink); white-space: nowrap; }
.estimate .btn { margin-top: auto; align-self: flex-start; }
.estimate__note { font-size: var(--fs-xs); color: var(--muted); }

/* Reference – výsledkové lístky */
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.result {
  background: var(--navy-deep); color: var(--on-navy-muted); border-radius: var(--radius);
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
}
.result__body { padding: var(--s6) var(--s6) var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.result__tag { align-self: flex-start; font-size: var(--fs-xs); font-weight: 600; color: var(--navy-deep); background: var(--orange); padding: 4px 12px; border-radius: var(--radius-pill); }
.result h3 { color: var(--white); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); font-weight: 800; }
.result h3 .num { display: block; color: var(--orange); font-size: var(--fs-num); line-height: 1.05; letter-spacing: -0.02em; margin-top: 2px; }
.result p { margin: 0; font-size: var(--fs-sm); }
.result .video { border-radius: 0; }
.results__more { margin-top: var(--s6); display: flex; justify-content: center; }

/* Video (náhled, YouTube se načte až po kliknutí) */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--navy-deep); cursor: pointer; overflow: hidden; border-radius: var(--radius-sm); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%;
  background: var(--orange); color: var(--navy-deep); display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.6); transition: transform .2s var(--ease);
}
.video__play svg { width: 24px; height: 24px; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s3); }
.on-dark .video-note { color: var(--on-navy-muted); }

/* Postup prodeje */
.method { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); align-items: start; }
.method__claim { position: sticky; top: calc(var(--head-h) + 32px); }
.method__claim .badge-line { display: inline-block; font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); padding: 6px 14px; border-radius: var(--radius-pill); font-size: var(--fs-sm); margin-bottom: var(--s4); }
.method__claim blockquote { margin: var(--s6) 0 0; padding: 0 0 0 var(--s5); border-left: 4px solid var(--orange); font-family: var(--font-head); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 700; color: var(--navy-ink); line-height: 1.3; }
.method__years { margin-top: var(--s6); display: flex; gap: var(--s4); align-items: baseline; }
.method__years strong { font-family: var(--font-head); font-size: var(--fs-num); font-weight: 800; color: var(--navy); line-height: 1; white-space: nowrap; }
.method__years span { color: var(--muted); font-size: var(--fs-sm); max-width: 22ch; line-height: 1.4; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm);
}
.steps li:last-child::before { background: var(--orange); color: var(--navy-deep); }
.steps p { margin: 0; padding-top: 7px; }
.steps b { color: var(--navy-ink); }
.method__cta { margin-top: var(--s6); }

/* Videoprohlídky */
.tours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.tour figcaption { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--on-navy-muted); line-height: 1.45; }
.tours__more { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }

/* Proč se mnou */
.why { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
.why__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.why__sign { margin-top: var(--s4); max-width: 260px; }
.why__claim { font-family: var(--font-head); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: var(--navy); margin: var(--s3) 0 var(--s3); line-height: 1.2; }
.why__points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6) var(--s6); margin-top: var(--s6); }
.why__points h3 { font-size: 1.125rem; margin-bottom: var(--s2); }
.why__points p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }

/* Konzultace – formulář */
.consult { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); align-items: start; }
.consult h2 { color: var(--white); }
.consult__intro p { margin-top: var(--s4); }
.contact-list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s4); }
.contact-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--orange); margin-top: 3px; }
.contact-list a { color: var(--white); font-weight: 600; }
.contact-list small { display: block; color: var(--on-navy-muted); font-size: var(--fs-xs); }

.form-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form-card h3 { margin-bottom: var(--s2); }
.form-card > p { color: var(--muted); font-size: var(--fs-sm); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); margin-top: var(--s5); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-ink); }
.field .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  min-height: 48px; padding: 10px 14px; border: 1px solid #b9bed0; border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,0,119,.2); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { font-size: var(--fs-xs); color: #b3261e; min-height: 0; margin: 0; }
.field__error:empty { display: none; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips legend { margin-bottom: 8px; padding: 0; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #b9bed0; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--navy-ink); background: var(--white); transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.chip input:hover + span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent { font-size: var(--fs-xs); color: var(--muted); grid-column: 1 / -1; margin: 0; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--orange-soft); color: var(--orange-ink); font-size: var(--fs-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.preview-flag { display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: var(--orange-ink); background: var(--orange-soft); padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: var(--s3); }

/* =========================================================
   Odhad pro dědické řízení
   ========================================================= */
.inherit-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--s7); align-items: end; }
.inherit-hero__note { border-left: 1px solid rgba(255,255,255,.2); padding-left: var(--s6); }
.inherit-hero__note p { margin: 0; font-size: var(--fs-sm); }
.inherit-hero__note strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.125rem; margin-bottom: var(--s2); }

.prose { max-width: 68ch; }
.prose p { font-size: var(--fs-lead); line-height: 1.65; }
.prose h2 + p, .prose h3 + p { margin-top: var(--s4); }
.prose .pull { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); color: var(--navy-ink); line-height: 1.35; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }

.process { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
.process li { counter-increment: step; border-top: 3px solid var(--navy); padding-top: var(--s4); }
.process li:last-child { border-top-color: var(--orange); }
.process li::before { content: counter(step) ". krok"; display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-bottom: var(--s2); }
.process p { margin: 0; font-weight: 500; color: var(--navy-ink); }

/* Ceník = výběr lokality */
.price-table { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.price-opt {
  display: flex; flex-direction: column; gap: var(--s2); height: 100%; padding: var(--s6) var(--s5) var(--s5);
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.price-opt:hover { border-color: var(--navy); color: var(--text); text-decoration: none; }
.price-opt__place { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy-ink); line-height: 1.25; }
.price-opt__price { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-num); color: var(--navy); line-height: 1.05; letter-spacing: -0.02em; margin-top: var(--s3); }
.price-opt__vat { font-size: var(--fs-xs); color: var(--muted); }
.price-opt__go { margin-top: auto; padding-top: var(--s4); font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.price-opt__go svg { width: 18px; height: 18px; transition: translate .2s var(--ease); }
.price-opt:hover .price-opt__go svg { translate: 4px 0; }
.price-opt--free { background: var(--orange-soft); border-color: var(--orange); }
.price-opt--free .price-opt__price { color: var(--orange-ink); }
.price-opt[aria-current="page"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.price-foot { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--muted); }

.quote-card { background: var(--navy-deep); color: var(--on-navy-muted); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s7); align-items: center; }
.quote-card__claim { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.15; }
.quote-card__claim span { display: block; }
.quote-card blockquote { margin: 0; padding-left: var(--s5); border-left: 4px solid var(--orange); }
.quote-card blockquote p { font-size: var(--fs-lead); color: var(--white); }
.quote-card figcaption { font-size: var(--fs-sm); }
.quote-card .text-link { color: var(--white); }

.fee { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.fee h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.fee table { width: 100%; border-collapse: collapse; margin-top: var(--s5); font-size: var(--fs-sm); }
.fee th, .fee td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee th { font-weight: 600; color: var(--navy-ink); background: var(--paper); }
.fee td:last-child, .fee th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--navy-ink); }
.fee caption { text-align: left; color: var(--muted); font-size: var(--fs-sm); caption-side: bottom; padding-top: var(--s3); }

.about-strip { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: var(--s7); align-items: start; }
.about-strip__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.about-strip__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about-strip p { color: var(--muted); }
.about-strip .stats { margin-top: var(--s6); }

/* Objednávka odhadu – výběr typu a vložený formulář z CRM */
.order { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: var(--s7); align-items: start; }
.order__side { position: sticky; top: calc(var(--head-h) + 24px); }
.order__side h2 { margin-bottom: var(--s3); }
.order__price { margin: var(--s5) 0; padding: var(--s5); border-radius: var(--radius); background: var(--orange-soft); }
.order__price strong { display: block; font-family: var(--font-head); font-size: var(--fs-num); font-weight: 800; color: var(--orange-ink); line-height: 1.05; }
.order__price span { font-size: var(--fs-sm); color: var(--orange-ink); }
.order__price--navy { background: #e8eafb; }
.order__price--navy strong, .order__price--navy span { color: var(--navy); }
.order__help { font-size: var(--fs-sm); color: var(--muted); }
.order__help a { font-weight: 600; white-space: nowrap; }
.picker { display: flex; flex-direction: column; gap: var(--s4); }
.picker__label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-ink); margin: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: var(--s2); }
.segmented button {
  min-height: 48px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid #b9bed0; background: var(--white);
  color: var(--navy-ink); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; text-align: left; line-height: 1.25;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.segmented button small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.segmented button:hover { border-color: var(--navy); }
.segmented button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.segmented button[aria-pressed="true"] small { color: var(--on-navy-muted); }
.embed { position: relative; margin-top: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-height: 420px; overflow: hidden; }
.embed iframe { display: block; width: 100%; min-height: 600px; border: 0; }
.embed__loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s3); color: var(--muted); font-size: var(--fs-sm); padding: var(--s5); text-align: center; }
.embed__loading[hidden] { display: none; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--navy); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.embed__fallback { font-size: var(--fs-sm); color: var(--muted); margin: var(--s3) 0 0; }
.after-form { margin-top: var(--s4); font-weight: 600; color: var(--navy-ink); }

.cta-band { background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s6); align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.cta-band p { margin: var(--s3) 0 0; }

/* =========================================================
   Patička (stejná na všech stránkách)
   ========================================================= */
.site-foot { background: var(--navy-deep); color: var(--on-navy-muted); padding: var(--s8) 0 var(--s6); font-size: var(--fs-sm); }
.site-foot a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); }
.site-foot h2 { color: var(--white); font-size: 1.0625rem; font-weight: 700; margin-bottom: var(--s4); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot ul a { text-decoration: none; }
.site-foot ul a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.foot-brand img { height: 44px; width: auto; margin-bottom: var(--s5); }
.foot-person { display: flex; gap: var(--s4); align-items: flex-start; }
.foot-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--orange); margin: 0; flex-shrink: 0; }
.foot-person strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.125rem; }
.foot-contact { margin-top: var(--s5); display: grid; gap: 8px; }
.foot-contact a { font-weight: 600; }
.foot-hours dl { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px var(--s4); }
.foot-hours dt { color: var(--on-navy-muted); }
.foot-hours dd { margin: 0; color: var(--white); }
.socials { display: flex; gap: var(--s3); margin-top: var(--s5); }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; }
.socials a:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: var(--s7); padding-top: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s5); font-size: var(--fs-xs); }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.linklike { background: none; border: 0; padding: 0; color: var(--white); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* =========================================================
   Cookie lišta
   ========================================================= */
.cookie {
  position: fixed; z-index: 300; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 760px;
  background: var(--white); color: var(--text); border-radius: var(--radius); border-top: 4px solid var(--orange);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 46, .55); padding: var(--s5) var(--s6);
  max-height: calc(100vh - 32px); overflow-y: auto;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.25rem; margin-bottom: var(--s2); }
.cookie p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); align-items: center; }
.cookie__actions .btn { min-height: 44px; padding: 10px 20px; }
.cookie__settings { margin-top: var(--s5); border-top: 1px solid var(--line); }
.cookie__settings[hidden] { display: none; }
.cookie-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.cookie-opt strong { display: block; color: var(--navy-ink); font-size: var(--fs-sm); }
.cookie-opt span { display: block; font-size: var(--fs-xs); color: var(--muted); }
.switch { position: relative; width: 52px; height: 30px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: #b9bed0; transition: background-color .2s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--navy); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:disabled + .switch__track { background: #8f95b8; }
.switch input:disabled { cursor: not-allowed; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--focus); outline-offset: 2px; }

/* =========================================================
   Responzivita
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--s6); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats-band__inner { grid-template-columns: minmax(0, 1fr); }
  .method, .why, .consult, .order, .about-strip { gap: var(--s6); }
}
@media (max-width: 860px) {
  .section { padding-block: var(--s7); }
  .hero { padding: var(--s6) 0 var(--s8); }
  .hero__grid, .inherit-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 460px; }
  .hero__video { left: auto; right: var(--s4); bottom: calc(-1 * var(--s5)); width: min(260px, 64%); }
  .inherit-hero__note { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: var(--s5); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
  .services, .estimates__grid, .results, .tours, .why__points, .form-grid, .two-col, .price-table, .process { grid-template-columns: minmax(0, 1fr); }
  .method, .why, .consult, .order, .about-strip, .quote-card, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .method__claim, .order__side { position: static; }
  .why__photo { max-width: 420px; aspect-ratio: 4 / 3.6; }
  .about-strip__photo { max-width: 320px; }
  .process { gap: var(--s4); }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .result__body { padding: var(--s5); }
  .masthead__actions .btn { width: 100%; }
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: var(--s5); }
  .cookie__actions .btn { flex: 1 1 auto; }
  .fee th, .fee td { padding: 10px 4px; }
}

/* Doplňky */
.h1-sub { display: block; margin-top: .35em; font-size: .5em; font-weight: 700; color: var(--on-navy-muted); letter-spacing: 0; }
.picker__group + .picker__group { margin-top: var(--s2); }
.form-card .consent { margin-top: calc(-1 * var(--s2)); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status--ok { background: #e6f4ea; color: #1e5631; font-size: var(--fs-base); font-weight: 600; }
.form-status--error { background: #fdecea; color: #8c1d18; }
.btn[disabled] { opacity: .7; cursor: progress; }
.section--deep .form-card h3, .section--navy .form-card h3 { color: var(--navy-ink); }
.field.chips { flex-direction: row; flex-wrap: wrap; gap: var(--s2); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
figure { margin: 0; }
.embed:not(:has(iframe)) { min-height: 220px; }

/* =========================================================
   Pohyb (motion.js + CSS). Bez JS a při reduced motion je vše vidět a stojí.
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --rv-shift: 22px;
  --rv-dur: 640ms;
}
@media (max-width: 860px) { :root { --rv-shift: 10px; --rv-dur: 420ms; } }

/* Hlavička: po odrolování se vizuálně zmenší (transform, layout se nemění) a ztmaví */
.site-head { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.site-head::before {
  content: ""; position: absolute; inset: 0; background: var(--navy-deep); opacity: 0;
  transition: opacity .35s var(--ease-out); pointer-events: none;
}
.site-head__bar { position: relative; }
.site-head .brand img { transition: transform .35s var(--ease-out); transform-origin: left center; }
.site-head.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.site-head.is-scrolled::before { opacity: 1; }
.site-head.is-scrolled .brand img { transform: scale(.86); }
/* zmenšení jen na desktopu: transform hlavičky by na mobilu rozbil fixní panel menu */
@media (min-width: 1081px) {
  .site-head.is-scrolled { transform: translateY(-10px); }
  .site-head.is-scrolled .site-head__bar { transform: translateY(5px); }
}
.site-head__bar { transition: transform .35s var(--ease-out); }

/* Tlačítka a odkazy: plynulá odezva, stisk */
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease-out), box-shadow .2s var(--ease); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--orange:hover { box-shadow: 0 10px 24px -12px rgba(233, 122, 11, .9); }
  .text-link { transition: text-decoration-thickness .15s var(--ease), color .15s var(--ease), text-underline-offset .2s var(--ease-out); }
  .text-link:hover { text-underline-offset: 7px; }
  .result { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
  .result:hover { box-shadow: 0 24px 50px -28px rgba(0, 0, 46, .8); }
  .video img { transition: scale .6s var(--ease-out); }
  .video:hover img { scale: 1.03; }
  .estimate { transition: box-shadow .3s var(--ease-out); }
  .estimate:hover { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
  .price-opt:hover { background: #fbfbfd; }
  .price-opt--free:hover { background: #fde7cf; }
}
.nav__sub.is-open { animation: sub-in .2s var(--ease-out); transform-origin: top left; }
@keyframes sub-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

@media (prefers-reduced-motion: no-preference) {
  /* Úvod: nadpis po řádcích, text a akce za ním, fotka s jemným zoomem. Jen transform/opacity, LCP se neblokuje. */
  .hero h1 .line, .hero .masthead__lead, .hero .masthead__actions, .hero .masthead__place { animation: line-in .8s var(--ease-out) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .12s; }
  .hero .masthead__lead { animation-delay: .24s; }
  .hero .masthead__actions { animation-delay: .34s; }
  .hero .masthead__place { animation-delay: .44s; }
  .hero__photo img { animation: photo-in 1.6s var(--ease-out) both; }
  .hero__video { animation: line-in .8s var(--ease-out) .5s both; }
  .masthead:not(.hero) h1, .masthead:not(.hero) .masthead__lead, .masthead:not(.hero) .masthead__actions, .inherit-hero__note { animation: line-in .7s var(--ease-out) both; }
  .masthead:not(.hero) .masthead__lead { animation-delay: .1s; }
  .masthead:not(.hero) .masthead__actions { animation-delay: .18s; }
  .inherit-hero__note { animation-delay: .26s; }

  /* Odhalení sekcí: jen když motion.js běží (třída motion-on), jinak nic není skryté */
  .motion-on [data-reveal] {
    opacity: 0; transform: translateY(var(--rv-shift));
    transition: opacity var(--rv-dur) var(--ease-out), transform var(--rv-dur) var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .motion-on [data-reveal="fade"] { transform: none; }
  .motion-on [data-reveal="rise"] { transform: translateY(calc(var(--rv-shift) * 1.4)) scale(.985); }
  .motion-on [data-reveal].is-in { opacity: 1; transform: none; }

  /* Jemný parallax fotky v úvodu (jen desktop, jen prohlížeče se scroll timeline) */
  @supports (animation-timeline: scroll()) {
    @media (min-width: 861px) {
      .hero__photo img { height: 110%; }
      .hero__photo { position: relative; }
      .hero__photo img { animation: photo-in 1.6s var(--ease-out) both, photo-par linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
    }
  }
}
.stats strong { font-variant-numeric: tabular-nums; }

@keyframes line-in { from { opacity: .01; transform: translateY(18px); } }
@keyframes photo-in { from { scale: 1.08; } to { scale: 1; } }
@keyframes photo-par { from { translate: 0 0; } to { translate: 0 -8%; } }
@media (max-width: 860px) {
  @keyframes line-in { from { opacity: .01; transform: translateY(8px); } }
}
@media (min-width: 1240px) { .hero h1 .line { display: block; } }
@media (max-width: 1239px) { .hero h1 .line { display: inline; } }
.masthead:not(.hero) h1 { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem); max-width: 22ch; }
@media (max-width: 560px) {
  .fee td:last-child, .fee th:last-child { white-space: normal; text-align: left; }
  .fee table { font-size: var(--fs-xs); }
}
.empathy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s8); align-items: start; }
.quote-card--side { grid-template-columns: minmax(0, 1fr); gap: var(--s5); position: sticky; top: calc(var(--head-h) + 32px); padding: clamp(24px, 3vw, 40px); }
.quote-card--side .quote-card__claim { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
@media (max-width: 860px) { .empathy { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } .quote-card--side { position: static; } }

/* Úpravy po kritice */
.head-call { display: none; }
@media (max-width: 1080px) {
  .head-call {
    display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
    background: var(--orange); color: var(--navy-deep);
  }
  .head-call svg { width: 22px; height: 22px; }
  .head-call + .menu-btn { margin-left: var(--s2); }
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }

.hero__media { position: relative; }
.hero__ticket {
  position: absolute; z-index: 2; top: var(--s4); left: calc(-1 * var(--s6)); display: grid; gap: 2px;
  background: var(--navy-deep); color: var(--on-navy-muted); text-decoration: none; border-radius: var(--radius-sm);
  padding: 14px 18px; border-left: 4px solid var(--orange); box-shadow: 0 18px 40px -20px rgba(0,0,0,.7); max-width: 240px;
}
.hero__ticket span { font-size: var(--fs-xs); font-weight: 600; color: var(--white); }
.hero__ticket strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--orange); line-height: 1.05; letter-spacing: -0.02em; }
.hero__ticket small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__ticket:hover { color: var(--white); }
.hero__ticket:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 860px) { .hero__ticket { left: var(--s3); top: var(--s3); padding: 10px 14px; } .hero__ticket strong { font-size: 1.5rem; } .hero__ticket small { display: none; } }
@media (prefers-reduced-motion: no-preference) { .hero__ticket { animation: line-in .8s var(--ease-out) .6s both; } }

.method__claim h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.method__lead { color: var(--muted); margin-top: var(--s4); }

.hero-types__label { margin: var(--s6) 0 var(--s3); font-weight: 600; color: var(--white); font-size: var(--fs-sm); }
.hero-types { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-types .btn { min-height: 52px; }
.inherit-hero__grid { align-items: center; }
.hero-prices { list-style: none; padding: 0; margin: var(--s3) 0 var(--s4); display: grid; gap: var(--s2); }
.hero-prices a {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 52px; padding: 10px 16px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.hero-prices a:hover { background: rgba(255,255,255,.14); border-color: var(--orange); color: var(--white); }
.hero-prices b { color: var(--orange); font-family: var(--font-head); font-size: 1.125rem; white-space: nowrap; }
.inherit-hero__note .note-price-label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--on-navy-muted); }
.inherit-hero__note strong.note-price { font-size: var(--fs-num); color: var(--orange); line-height: 1.05; letter-spacing: -0.02em; margin: 4px 0 var(--s3); }
.hero-types .btn--line-light { min-width: 120px; }
.hero-types .btn--line-light:hover { border-color: var(--orange); background: rgba(233,122,11,.12); }
.inherit-hero__grid { align-items: start; } .inherit-hero__note { margin-top: var(--s2); }

/* =========================================================
   Úpravy po recenzi 24. 11. 2026
   (formulář na každé stránce, objednávka odhadu, mobilní lišta, cookie lišta na mobilu, hlavička)
   ========================================================= */

/* Hlavička: jméno vedle log */
.brand { gap: 14px; }
.brand__name { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.28); line-height: 1.2; }
.brand__name strong { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; color: var(--white); letter-spacing: -0.005em; white-space: nowrap; }
.brand__name > span { font-size: var(--fs-xs); color: var(--on-navy-muted); white-space: nowrap; }
.nav__cta-short { display: none; }
@media (min-width: 1081px) {
  /* hlavička je o něco širší než obsah, aby se vešlo jméno i celé „Chci nezávaznou konzultaci“ */
  .site-head > .wrap { max-width: 1320px; }
  .nav { gap: var(--s3); }
  .nav__link, .nav__toggle { padding-inline: 9px; }
}
@media (min-width: 1081px) and (max-width: 1439px) {
  .nav__cta-full { display: none; }
  .nav__cta-short { display: inline; }
  .nav__cta { padding-inline: 20px; }
}
@media (min-width: 1081px) and (max-width: 1299px) {
  .nav__link, .nav__toggle { padding-inline: 7px; }
  .nav { gap: var(--s3); }
  .site-head__bar { gap: var(--s4); }
}
@media (min-width: 1081px) and (max-width: 1219px) { .brand__name > span { display: none; } }
@media (min-width: 1081px) and (max-width: 1139px) { .nav__link, .nav__toggle { padding-inline: 6px; } }
@media (max-width: 1080px) { .site-head__bar { gap: var(--s3); } }
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand img { height: 32px; }
  .brand__name { padding-left: 10px; }
  .brand__name strong { font-size: .9375rem; }
  .brand__name > span { white-space: normal; max-width: 9em; font-size: .75rem; line-height: 1.25; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; flex-shrink: 0; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .head-call { flex-shrink: 0; }
}
@media (max-width: 400px) {
  .site-head__bar { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { height: 28px; }
  .brand__name { padding-left: 8px; }
  .brand__name strong { font-size: .875rem; }
  .brand__name > span { font-size: .6875rem; max-width: 8.6em; }
  .head-call + .menu-btn { margin-left: 4px; }
}
@media (max-width: 359px) {
  .brand img { height: 24px; }
  .brand__name > span { max-width: 7.4em; }
}

/* Úvod: čipy situací pod hlavním tlačítkem */
.situations { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.situations a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.04); color: var(--white);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.situations a:hover { border-color: var(--orange); background: rgba(233,122,11,.12); color: var(--white); text-decoration: none; }
.hero .masthead__place { margin-top: var(--s5); }
@media (prefers-reduced-motion: no-preference) {
  .hero .situations { animation: line-in .8s var(--ease-out) .4s both; }
}
@media (max-width: 560px) { .situations a { padding: 8px 14px; } }

/* Konzultační formulář jako komponent na konci každé stránky */
.consult__intro .lead { margin-top: var(--s4); }
.consult__claim { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.2); }
.consult__claim p { margin: 0; }
.consult__claim .sp-closing__big { margin: var(--s2) 0 var(--s3); }
.consult__claim .masthead__call { margin-top: var(--s3); }
.consult__note { font-size: var(--fs-sm); }
.consult__intro .sp-check { margin-top: var(--s4); }
.consult-sec--quiet .consult h2 { color: var(--navy-ink); }
.consult-sec--quiet .consult__intro .lead { color: var(--muted); }
.consult-sec--quiet .form-card { border: 1px solid var(--line); }
/* na odhadových stránkách je hlavní akcí objednávka odhadu, tady se oranžová nepřetahuje */
.consult-sec--quiet .form-actions .btn--orange { background: var(--navy); color: var(--white); }
.consult-sec--quiet .form-actions .btn--orange:hover { background: var(--blue); color: var(--white); box-shadow: none; }
.consult__aside { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.consult__aside h3 { font-size: 1.125rem; }
.consult__aside p { margin: var(--s2) 0 var(--s3) !important; color: var(--muted); font-size: var(--fs-sm); }

/* Dvě čísla místo čtyř (odhadové stránky) */
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }

/* Objednávka odhadu: hlavička + cena, vedle formulář, pod cenou důkaz */
.order { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "head picker" "proof picker"; grid-template-rows: auto 1fr; column-gap: var(--s7); row-gap: var(--s6); }
.order__head { grid-area: head; }
.order > .picker { grid-area: picker; }
.order__proof { grid-area: proof; align-self: start; }
.order__head h2 { margin-bottom: var(--s3); }
.order__lead { color: var(--muted); margin: 0; }
.order__head .order__price { margin: var(--s5) 0 var(--s4); }
.order__head .order__help { margin: var(--s2) 0 0; }
.picker__note { margin: 8px 0 0; }
@media (max-width: 860px) {
  .order { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "picker" "proof"; grid-template-rows: auto; row-gap: var(--s6); }
}

/* Box formuláře: dokud není zvolený typ (a lokalita), nabízí velká tlačítka */
.embed.is-choosing { min-height: 0; background: var(--paper); border-color: transparent; }
.embed__choose { padding: clamp(20px, 3vw, 32px); }
.embed__ask { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 1rem + .5vw, 1.375rem); color: var(--navy-ink); margin: 0 0 var(--s4); line-height: 1.25; }
.type-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.type-tile {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  min-height: 128px; padding: var(--s5) var(--s4) var(--s4); border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy-ink); cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.2;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .16s var(--ease-out);
}
.type-tile svg { width: 32px; height: 32px; color: var(--navy); flex-shrink: 0; }
.type-tile small { display: block; margin-top: 4px; font-family: var(--font-ui); font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.type-tile:hover { border-color: var(--navy); }
.type-tile:active { transform: scale(.98); }
.type-tiles--loc .type-tile { min-height: 96px; justify-content: center; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) { .type-tile:hover { background: #f3f4fd; } }
@media (max-width: 560px) {
  .type-tiles { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .type-tile { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 64px; padding: 12px 16px; font-size: 1.125rem; }
  .type-tile svg { width: 28px; height: 28px; }
  .type-tile small { display: inline; margin: 0 0 0 6px; }
  .type-tiles--loc .type-tile { min-height: 60px; }
}

/* Důkaz u objednávky: René, 13 let, dědická citace, videoreference */
.order__proof { display: grid; gap: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); }
.proof__who { display: flex; align-items: center; gap: var(--s4); }
.proof__who img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--orange); flex-shrink: 0; }
.proof__who p { margin: 0; display: grid; line-height: 1.25; }
.proof__who strong { font-family: var(--font-head); font-size: 1.0625rem; color: var(--navy-ink); }
.proof__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; margin-top: 2px; }
.proof__num + span { font-size: var(--fs-sm); color: var(--muted); }
.proof__quote blockquote { margin: 0; padding-left: var(--s4); border-left: 4px solid var(--orange); }
.proof__quote blockquote p { margin: 0; font-size: var(--fs-base); color: var(--navy-ink); line-height: 1.55; }
.proof__quote figcaption { margin-top: var(--s2); padding-left: calc(var(--s4) + 4px); font-size: var(--fs-xs); color: var(--muted); }
.proof__video figcaption { margin-top: var(--s3); font-weight: 600; color: var(--navy-ink); font-size: var(--fs-sm); line-height: 1.4; }
.proof__tag { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--orange-ink); margin-bottom: 2px; }
.order__proof .video-note { margin: 0; }
.order__proof .video-note .text-link { font-size: var(--fs-sm); margin-left: 4px; }
@media (min-width: 861px) { .order__proof .video { max-width: 420px; } }

/* Cookie lišta na mobilu: kompaktní spodní pruh */
@media (max-width: 560px) {
  .cookie {
    left: 0; right: 0; bottom: 0; max-width: none; border-radius: var(--radius) var(--radius) 0 0; border-top-width: 3px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); max-height: 85vh;
  }
  .cookie h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .cookie p { font-size: var(--fs-xs); line-height: 1.45; }
  .cookie:not(.is-expanded) .cookie__more { display: none; }
  .cookie__actions { margin-top: 10px; gap: 8px; flex-wrap: nowrap; }
  .cookie__actions .btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px 10px; }
  .cookie__actions .cookie__set { flex: 0 0 auto; border-color: transparent; background: none; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }
  .cookie__actions .cookie__set:hover { background: none; color: var(--blue); }
  .cookie.is-expanded .cookie__actions { flex-wrap: wrap; }
  .cookie__settings { margin-top: var(--s3); }
}

/* Mobilní lišta dole: Zavolat | hlavní akce */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center;
    position: fixed; z-index: 250; left: 0; right: 0; bottom: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 46, .97); box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, .55);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .mbar.is-shown { transform: none; visibility: visible; transition: transform .3s var(--ease-out), visibility 0s; }
  .mbar__call {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px;
    border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.45); color: var(--white);
    font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
  }
  .mbar__call:hover { color: var(--white); text-decoration: none; }
  .mbar__call svg { width: 20px; height: 20px; color: var(--orange); }
  .mbar__main { min-height: 48px; padding: 10px 14px; white-space: nowrap; }
  body.has-mbar .site-foot { padding-bottom: calc(var(--s6) + 72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 389px) {
  .mbar__call { width: 48px; padding: 0; font-size: 0; gap: 0; }
  .mbar__call svg { width: 22px; height: 22px; }
}
