/* Reality v klidu — světlý design */

:root {
  /* barvy z vizitky a původního návrhu */
  --bg: #f7f5f1;
  --paper: #ffffff;
  --field: #fbfaf8;
  --sand: #efe8dd;
  --sand-2: #e4d8c6;
  --line: #e7e2db;
  --ink: #0b263b;
  --ink-2: #182b3a;
  --navy-2: #12364d;
  --muted: #65717a;
  --gold: #a9824d;
  --gold-ink: #8f6c3c;
  --gold-soft: #d1ae7b;
  --err: #b4432f;

  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(20, 32, 46, .04), 0 24px 60px -24px rgba(20, 32, 46, .22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -.025em; color: var(--ink); }
p { margin: 0; }
/* zvýraznění jako na vizitce: zlatá barva, žádná kurzíva */
em { font-style: normal; font-weight: inherit; color: var(--gold); }
svg { flex: none; }
::selection { background: var(--sand-2); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.kicker b { font-weight: 600; color: var(--gold-ink); }

/* tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 4px;
  font: 500 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #22344a; box-shadow: 0 10px 24px -12px rgba(20, 32, 46, .6); }
.btn-ink:hover svg { transform: translateX(3px); }
.btn-wide { width: 100%; }

/* hlavička – tmavě modrá jako patička */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 38, 59, .97);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-head.is-scrolled { border-bottom-color: rgba(169, 130, 77, .35); box-shadow: 0 10px 30px -18px rgba(11, 38, 59, .6); }
.head-row { display: flex; align-items: center; gap: 32px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-weight: 400; font-size: 21px; letter-spacing: .16em; color: #fff; }
.brand-word small { margin-top: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-soft); }

.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav a { position: relative; color: #c3ced5; text-decoration: none; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.head-call {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 18px;
  border: 0; border-radius: 4px;
  background: var(--gold); color: #fff;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.head-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.head-call:hover { background: #b89260; }

/* úvod */
.hero { position: relative; overflow: hidden; overflow: clip; padding: 48px 0 112px; }
.hero-house {
  position: absolute; right: -6%; bottom: -14%;
  width: min(760px, 70vw); height: auto;
  fill: none; stroke: var(--sand); stroke-width: 30; stroke-linejoin: round; stroke-linecap: round;
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }

.hero h1 { font-size: clamp(38px, 5vw, 68px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.hero h1::after { content: ""; display: block; width: 72px; height: 2px; margin-top: 30px; background: var(--gold); }
.lead { max-width: 33em; margin-top: 28px; font-size: 17.5px; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 44px 0 0; padding: 0; list-style: none; }
.facts li { display: grid; align-content: start; gap: 4px; padding: 0 28px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.facts li:nth-child(2) b { color: var(--gold); }
.facts span { max-width: 12em; font-size: 14px; line-height: 1.4; color: var(--muted); }

.hero-alt { margin-top: 40px; font-size: 15.5px; color: var(--muted); }
.hero-alt a { margin-left: 4px; font-weight: 500; color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--gold); }

/* dotazník */
.quiz {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 560px;
  padding: 30px 32px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz-tag { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.quiz-time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.quiz-time svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

.quiz-progress { display: flex; gap: 6px; margin: 18px 0 30px; }
.quiz-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--sand); transition: background .4s var(--ease); }
.quiz-progress i.is-done { background: var(--gold); }
.quiz-progress i.is-now { background: var(--ink); }

.quiz-form { display: flex; flex-direction: column; flex: 1; }
.quiz-panel { flex: 1; }
.quiz-panel.is-in { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.q-count { font-size: 14px; color: var(--gold-ink); font-weight: 500; }
.q-title { margin: 8px 0 24px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.15; letter-spacing: -.02em; }

.q-options { display: grid; gap: 10px; }
.q-options.is-tiles { grid-template-columns: 1fr 1fr; }

.opt {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 15px 18px;
  background: var(--field);
  border: 1px solid var(--line); border-radius: 8px;
  font: 400 15.5px/1.35 var(--sans); color: var(--ink); text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.opt:hover { background: #fff; border-color: var(--ink-2); transform: translateY(-1px); box-shadow: 0 8px 20px -14px rgba(20, 32, 46, .5); }
.opt-key {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--muted); background: #fff;
  transition: inherit;
}
.opt-ico { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.opt-ico .fill { fill: var(--gold); stroke: none; }
.is-tiles .opt { flex-direction: column; align-items: flex-start; gap: 22px; min-height: 128px; padding: 18px; }
.is-tiles .opt-key { position: absolute; top: 14px; right: 14px; }
.opt[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt[aria-checked="true"] .opt-key { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.opt[aria-checked="true"] .opt-ico { stroke: #fff; }

.quiz-foot { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.quiz-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 2px; border: 0; background: none;
  font: 400 15px var(--sans); color: var(--muted); cursor: pointer;
}
.quiz-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.quiz-back:hover { color: var(--ink); }
.quiz-back:hover svg { transform: translateX(-3px); }
.quiz-step { margin-left: auto; font-size: 14px; color: var(--muted); }

/* odpovědi na kontaktním kroku */
.answers { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 22px; padding: 0; list-style: none; }
.answers button {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font: 400 13.5px var(--sans); color: var(--ink-2); cursor: pointer;
  transition: border-color .2s;
}
.answers button:hover { border-color: var(--ink-2); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field-full { grid-column: 1 / -1; }
.field > span i { font-style: normal; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--field); border: 1px solid var(--line); border-radius: 10px;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 88px; margin-top: 10px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1a8; }
.field input:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(179, 154, 119, .22); }
.field-err, .consent-err { display: none; font: 400 13px/1.4 var(--sans); letter-spacing: 0; color: var(--err); }
.is-invalid input { border-color: var(--err); }
.is-invalid .field-err, .consent.is-invalid + .consent-err { display: block; }

.note-toggle summary { cursor: pointer; width: fit-content; font-size: 14.5px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; list-style: none; }
.note-toggle summary::-webkit-details-marker { display: none; }
.note-toggle summary::before { content: "+ "; }
.note-toggle[open] summary::before { content: "− "; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 4px; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input {
  appearance: none; flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; margin: 1px 0 0;
  border: 1px solid #b9b1a5; border-radius: 5px; background: #fff; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.consent input::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.consent input:checked { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent.is-invalid input { border-color: var(--err); }
.consent a { color: var(--ink-2); text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #f9ebe7; color: var(--err); font-size: 14.5px; }
.form-err a { color: inherit; font-weight: 500; }
[data-panel="contact"] .btn { margin-top: 18px; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading svg { animation: nudge .8s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: translateX(5px); } }

.quiz-done { display: flex; flex-direction: column; justify-content: center; padding: 20px 0; }
.quiz-done:focus { outline: 0; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border: 1px solid var(--gold); border-radius: 50%; }
.done-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.quiz-done .q-title { margin-bottom: 14px; }
.quiz-done p { color: var(--ink-2); max-width: 30em; }
.done-call { margin-top: 18px; font-size: 15px; color: var(--muted) !important; }
.done-call a { color: var(--ink); font-weight: 500; }
.noscript { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* sekce */
.block { padding: 120px 0; }
.block-tight { padding: 40px 0; }
.block h2 { font-size: clamp(34px, 4.3vw, 58px); }
.block-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.block-head > p { color: var(--muted); font-size: 18px; max-width: 30em; }

/* služby */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 96px 1.15fr 1fr; gap: 40px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.svc-no { font-size: 15px; font-weight: 600; letter-spacing: .2em; line-height: 1; color: var(--gold); padding-top: 12px; }
.svc-no::after { content: ""; display: block; width: 28px; height: 1px; margin-top: 12px; background: var(--gold); }
.svc h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.svc-main p { color: var(--muted); max-width: 28em; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 15.5px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}
.svc-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.svc-link:hover svg { transform: translateX(4px); }
.svc-points { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.svc-points li { position: relative; padding: 11px 0 11px 28px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 16px; }
.svc-points li:first-child { border-top: 0; padding-top: 4px; }
.svc-points li::before { content: ""; position: absolute; left: 2px; top: calc(50% - 4px); width: 8px; height: 8px; background: var(--gold); }
.svc-points li:first-child::before { top: calc(50% - 7px); }

/* pronájem */
.rent {
  position: relative; overflow: hidden; overflow: clip;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center;
  padding: clamp(40px, 6vw, 80px);
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}
/* obrys domku z loga jako na zadní straně vizitky */
.rent::after {
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 360px; height: 330px;
  background: url("mark-outline.svg") no-repeat center / contain;
  opacity: .08; pointer-events: none;
}
.rent-figure { position: relative; display: grid; gap: 18px; }
.rent-zero { font-size: clamp(90px, 12vw, 170px); font-weight: 300; line-height: .85; letter-spacing: -.06em; color: #fff; }
.rent-cap { max-width: 15em; padding-top: 18px; border-top: 1px solid var(--gold); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; color: var(--gold-soft); }
.rent-copy { position: relative; }
.rent .kicker { color: #fff; }
.rent .kicker::before { background: var(--gold-soft); }
.rent-copy h2 { margin-bottom: 22px; color: #fff; }
.rent-copy em { color: var(--gold-soft); }
.rent-copy > p { color: #d5dfe5; max-width: 32em; }
.rent-note { margin: 22px 0 32px; padding-left: 18px; border-left: 2px solid var(--gold); font-size: 15px; color: #b9c6ce !important; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b89260; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }

/* postup */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.steps li { position: relative; }
.step-no {
  display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 28px;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-size: 16px; font-weight: 500; line-height: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.steps h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.01em; }
.steps p { font-size: 16px; color: var(--muted); }

/* o nás */
.about-block { background: var(--paper); border-block: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 88px; align-items: center; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy p + p { margin-top: 16px; }
.about-copy p { color: var(--ink-2); max-width: 34em; }
.about-card { padding: 44px; background: var(--bg); border-radius: 6px; border-top: 3px solid var(--gold); }
.about-logo { width: 104px; height: 104px; border-radius: 50%; mix-blend-mode: multiply; margin-bottom: 32px; }
.about-num { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(100px, 10vw, 140px); font-weight: 300; line-height: .82; letter-spacing: -.05em; }
.about-num span { order: -1; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; line-height: 1; color: var(--gold-ink); padding-top: 4px; }
.about-num small { align-self: flex-end; font-size: 22px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--gold); }
.about-sub { margin: 14px 0 30px; color: var(--muted); }
.checks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: -4px; border: solid var(--gold-ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }

/* kontakt – přední strana vizitky */
.vcard {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 0 56px; align-items: center;
  padding: 56px 64px 0;
  background: #fbfaf7;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(11, 38, 59, .05), 0 30px 70px -30px rgba(11, 38, 59, .35);
}
.vcard-brand { display: grid; justify-items: center; text-align: center; padding-right: 56px; border-right: 1px solid var(--gold); }
.vcard-brand img { width: 118px; height: auto; margin-bottom: 18px; }
.vcard-word { display: grid; justify-items: center; line-height: 1; }
.vcard-word b { font-size: 46px; font-weight: 400; letter-spacing: .16em; margin-right: -.16em; color: var(--ink); }
.vcard-word span { margin-top: 12px; font-size: 25px; font-weight: 500; letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: var(--gold); }
.vcard-co { display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--ink); font-size: 16px; color: var(--ink); }
.vcard-co small { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.vcard-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.vcard-list li { display: flex; align-items: center; gap: 18px; font-size: 18px; }
.vcard-list a { text-decoration: none; color: var(--ink); transition: color .2s; }
.vcard-list a:hover { color: var(--gold-ink); }
.vcard-phone { font-size: 22px; font-weight: 500; }
.ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); }
.ic-gold { background: var(--gold); }
.ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic svg .solid { fill: #fff; stroke: none; }

.vcard-qr { margin: 0; text-align: center; }
.vcard-qr span { display: block; padding: 10px; border: 1.5px solid var(--gold); background: #fff; }
.vcard-qr img { width: 160px; height: 160px; }
.vcard-qr figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.vcard-foot {
  grid-column: 1 / -1;
  margin-top: 44px; padding: 20px 0 24px;
  border-top: 1.5px solid var(--ink);
  text-align: center; font-size: 13.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.vcard-foot b, .foot-claim b { font-weight: 600; color: var(--gold); }

.contact-more { margin-top: 32px; text-align: center; }
.contact-quiz { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); text-underline-offset: 4px; text-decoration-color: var(--gold); }
.contact-quiz svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* patička – zadní strana vizitky */
.site-foot { padding: 72px 0 40px; background: var(--ink); color: #d9e1e5; font-size: 14px; }
.foot-card { display: grid; justify-items: center; text-align: center; }
.foot-brand { display: grid; justify-items: center; text-decoration: none; }
.foot-brand img { width: 84px; height: auto; margin-bottom: 16px; }
.foot-brand .vcard-word b { color: #fff; font-size: 38px; }
.foot-brand .vcard-word span { font-size: 20px; }
.foot-brand .vcard-word::after { content: ""; width: 90px; height: 1.5px; margin-top: 22px; background: var(--gold); }
.foot-claim { margin-top: 26px; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.foot-co { display: flex; align-items: center; gap: 18px; margin-top: 16px; font-size: 14.5px; color: #fff; }
.foot-co i { width: 1px; height: 22px; background: var(--gold); }
.foot-co span { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); width: 100%; }
.foot-links a { text-decoration: none; color: #b9c6ce; }
.foot-links a:hover { color: #fff; }

/* postupné zobrazení při scrollu */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: .08s; }
.steps li.reveal:nth-child(3) { transition-delay: .16s; }
.steps li.reveal:nth-child(4) { transition-delay: .24s; }

/* responzivita */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .hero-grid { gap: 48px; }
  .facts li { padding: 0 18px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .head-call { margin-left: auto; }
  .hero { padding: 28px 0 80px; }
  .hero-grid, .block-head, .rent, .about { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-house { width: 120vw; right: -40%; bottom: -4%; }
  .quiz { min-height: 0; }
  .block { padding: 88px 0; }
  .block-head { gap: 20px; margin-bottom: 44px; }
  .svc { grid-template-columns: 1fr 1fr; gap: 20px 40px; }
  .svc-no { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .steps::before { display: none; }
  .about { gap: 48px; }
  .vcard { grid-template-columns: 1fr auto; gap: 40px; padding: 44px 40px 0; }
  .vcard-brand { grid-column: 1 / -1; padding: 0 0 36px; border-right: 0; border-bottom: 1px solid var(--gold); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .head-row { height: 66px; }
  .brand img { width: 34px; }
  .brand-word b { font-size: 19px; }
  .head-call { padding: 0 14px; height: 40px; }
  .head-call span { display: none; }
  .head-call::after { content: "Zavolat"; }
  .lead { font-size: 17.5px; margin-top: 22px; }
  .facts { margin-top: 32px; grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 0 12px; }
  .facts b { font-size: 21px; }
  .facts span { font-size: 13px; }
  .hero-alt { display: none; }
  .quiz { padding: 22px 18px 18px; border-radius: 10px; margin-inline: -4px; }
  .quiz-tag, .quiz-time { white-space: nowrap; }
  .quiz-tag { font-size: 12px; letter-spacing: .1em; }
  .quiz-time { font-size: 13px; }
  .q-title { margin-bottom: 20px; }
  .is-tiles .opt { min-height: 112px; padding: 14px; gap: 16px; }
  .opt-key { display: none; }
  .fields { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; padding: 36px 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { display: grid; grid-template-columns: 45px 1fr; column-gap: 20px; }
  .step-no { grid-row: span 2; margin: 0; }
  .rent { gap: 32px; }
  .rent::after { width: 220px; height: 200px; right: -50px; bottom: -40px; }
  .about-card { padding: 32px 24px; }
  .vcard { grid-template-columns: 1fr; padding: 36px 22px 0; }
  .vcard-word b { font-size: 38px; }
  .vcard-word span { font-size: 20px; }
  .vcard-list li { font-size: 16px; gap: 14px; }
  .vcard-phone { font-size: 19px; }
  .vcard-qr { display: none; }
  .vcard-foot { margin-top: 32px; font-size: 11.5px; letter-spacing: .16em; line-height: 1.8; }
  .foot-claim { font-size: 11.5px; letter-spacing: .16em; line-height: 1.8; }
  .foot-brand .vcard-word b { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
