/* =========================================================
   Dlaždiči ČB – styly
   Motiv: žula, okr (žlutá žula) a "vějíř" kladení kostek.
   ========================================================= */

:root {
  --ink: #17150f;
  --ink-2: #211f18;
  --ink-3: #2d2a22;
  --paper: #f4f0e8;
  --paper-2: #ebe5d9;
  --stone: #d9d2c3;
  --muted: #6d675b;
  --muted-light: #a9a291;
  --line: rgba(23, 21, 15, .12);
  --line-light: rgba(244, 240, 232, .14);
  --accent: #e9a319;
  --accent-2: #f3b93a;
  --accent-ink: #17150f;
  --danger: #c2412d;
  --ok: #3f8f4f;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.22);
  --shadow-dark: 0 30px 60px -20px rgba(0,0,0,.6);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;

  /* vějířový vzor kostek – světlé čáry pro tmavé plochy */
  --fan-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f4f0e8' stroke-opacity='.07' stroke-width='1.4'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M10 40a30 30 0 0 1 60 0M20 40a20 20 0 0 1 40 0M30 40a10 10 0 0 1 20 0'/%3E%3Cpath d='M-40 80a40 40 0 0 1 80 0M-30 80a30 30 0 0 1 60 0M-20 80a20 20 0 0 1 40 0M-10 80a10 10 0 0 1 20 0M40 80a40 40 0 0 1 80 0M50 80a30 30 0 0 1 60 0M60 80a20 20 0 0 1 40 0M70 80a10 10 0 0 1 20 0'/%3E%3C/g%3E%3C/svg%3E");
  --fan-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2317150f' stroke-opacity='.07' stroke-width='1.4'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M10 40a30 30 0 0 1 60 0M20 40a20 20 0 0 1 40 0M30 40a10 10 0 0 1 20 0'/%3E%3Cpath d='M-40 80a40 40 0 0 1 80 0M-30 80a30 30 0 0 1 60 0M-20 80a20 20 0 0 1 40 0M-10 80a10 10 0 0 1 20 0M40 80a40 40 0 0 1 80 0M50 80a30 30 0 0 1 60 0M60 80a20 20 0 0 1 40 0M70 80a10 10 0 0 1 20 0'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- typografie ---------- */
.display {
  font-size: clamp(2.7rem, 7.2vw, 6.2rem);
  font-weight: 900;
  font-stretch: 118%;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .92;
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -.02em;
  line-height: 1;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow--accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 34em; }
.hl {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

/* ---------- tlačítka ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { --bg: var(--accent); --fg: var(--accent-ink); }
.btn--accent:hover { --bg: var(--accent-2); box-shadow: 0 10px 30px -10px rgba(233, 163, 25, .7); }
.btn--ghost-light { --bg: transparent; --fg: var(--paper); border-color: var(--line-light); }
.btn--ghost-light:hover { border-color: var(--paper); }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }
.btn--small { padding: 9px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
}
.tag--accent { background: var(--accent); color: var(--accent-ink); }

/* ---------- hlavička ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--paper);
  transition: background-color .25s, box-shadow .25s, height .25s;
}
.site-header.is-scrolled { background: rgba(23, 21, 15, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; background: var(--paper); border-radius: 12px; padding: 3px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-weight: 900; font-stretch: 120%; text-transform: uppercase; letter-spacing: .01em; font-size: 1.05rem; }
.brand__text small { font-size: .76rem; color: var(--muted-light); }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(244, 240, 232, .08); }
.header-phone span { display: none; }
@media (min-width: 980px) {
  .nav { display: flex; }
}
@media (min-width: 640px) {
  .header-phone span { display: inline; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 40px) 0 64px;
  overflow: hidden;
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image: var(--fan-light);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero__copy .lead { color: rgba(244, 240, 232, .78); margin: 28px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line-light);
}
.hero__stats div { min-width: 0; }
.hero__stats dt { font-size: clamp(1.15rem, 3vw, 2.2rem); white-space: nowrap; font-weight: 900; font-stretch: 115%; color: var(--accent); line-height: 1; }
.hero__stats dd { margin: 6px 0 0; font-size: .85rem; color: var(--muted-light); line-height: 1.35; }

.hero__photo { position: relative; margin: 0; }
.hero__photo::before {
  content: ""; position: absolute; inset: 24px -16px -16px 24px;
  background: var(--accent); border-radius: var(--radius-lg);
}
.hero__photo img {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-dark);
}
.hero__photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(23, 21, 15, .78); backdrop-filter: blur(8px);
  font-weight: 700; font-size: .95rem;
}
.hero__photo figcaption .tag { background: var(--accent); color: var(--ink); }

@media (max-width: 899px) { .hero__photo::before { inset: 16px -8px -10px 16px; } }
@media (min-width: 900px) {
  .hero__photo img { aspect-ratio: 4 / 4.4; }
  .hero { padding: calc(var(--header-h) + 64px) 0 96px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .hero__photo { transform: rotate(1.2deg); }
}

/* ---------- sekce ---------- */
.section { padding: 88px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 128px 0; } }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .section__lead { color: rgba(244, 240, 232, .72); }
.section--stone { background: var(--paper-2); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__lead { font-size: 1.12rem; color: var(--muted); margin-top: 20px; max-width: 38em; }

/* ---------- služby ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--paper); padding: 32px 28px 28px; transition: background-color .25s; }
.service:hover { background: #fbf8f2; }
.service__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: var(--accent); margin-bottom: 22px;
  transition: transform .3s;
}
.service:hover .service__icon { transform: rotate(-6deg) scale(1.05); }
.service h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 108%; margin-bottom: 8px; }
.service p { color: var(--muted); margin: 0; }

/* ---------- kalkulačka ---------- */
.calc-section { background-image: var(--fan-light); background-size: 80px 80px; }
.calc { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1040px) { .calc { grid-template-columns: 1fr 400px; gap: 40px; } }

.calc__step { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.calc__step legend { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 800; font-stretch: 108%; margin-bottom: 20px; padding: 0; }
.calc__step legend small { font-weight: 500; font-size: .9rem; color: var(--muted-light); font-stretch: 100%; }
.step-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-size: 1rem; font-weight: 900; flex: none;
}

.stones { display: grid; gap: 14px; }
@media (min-width: 560px) { .stones { grid-template-columns: repeat(2, 1fr); } }
.stone {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-2); border: 2px solid var(--ink-3); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.stone:hover { border-color: rgba(233, 163, 25, .5); transform: translateY(-3px); }
.stone:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.stone.is-active { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(233, 163, 25, .18), var(--shadow-dark); }
.stone__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.stone__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stone:hover .stone__img img { transform: scale(1.05); }
.stone__check {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(23,21,15,.55); border: 2px solid rgba(244,240,232,.7); color: transparent;
  transition: background-color .2s, color .2s, transform .2s;
}
.stone.is-active .stone__check { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: scale(1.1); }
.stone__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.stone__name { font-size: 1.2rem; font-weight: 800; font-stretch: 110%; }
.stone__tag { font-size: .9rem; color: var(--muted-light); }
.stone__traits { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.stone__traits span { font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-light); color: rgba(244,240,232,.8); }
.stone__price { margin-top: auto; padding-top: 10px; color: var(--muted-light); font-size: .95rem; }
.stone__price strong { color: var(--accent); font-size: 1.3rem; font-weight: 900; font-stretch: 112%; }

.area { display: grid; gap: 18px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 22px; }
.area__input { display: flex; align-items: baseline; gap: 10px; }
.area__input input {
  width: 100%; max-width: 220px; background: transparent; border: 0; border-bottom: 3px solid var(--accent);
  font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 900; font-stretch: 118%; color: var(--paper); padding: 0 0 4px;
  -moz-appearance: textfield;
}
.area__input input::-webkit-outer-spin-button, .area__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area__input input:focus { outline: none; border-bottom-color: var(--accent-2); }
.area__input span { font-size: 1.6rem; font-weight: 800; color: var(--muted-light); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(to right, var(--accent) var(--p, 0%), var(--ink-3) var(--p, 0%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 5px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 5px solid var(--accent); }
.area .linkbtn { justify-self: start; font-size: .95rem; }
.area__helper { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 4px; }
.area__helper label { display: flex; align-items: center; gap: 8px; color: var(--muted-light); font-size: .95rem; }
.area__helper input, .extra__len input {
  width: 90px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-light);
  background: var(--ink); color: var(--paper);
}

.extras { display: grid; gap: 10px; }
.extra { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); transition: border-color .2s; }
.extra.is-active { border-color: rgba(233, 163, 25, .6); }
.extra__label { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 16px 18px; cursor: pointer; }
@media (min-width: 640px) { .extra__label { grid-template-columns: auto 1fr auto; } }
.extra__label input { position: absolute; opacity: 0; pointer-events: none; }
.extra__box {
  width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--muted-light);
  display: grid; place-items: center; transition: all .2s;
}
.extra__label input:checked + .extra__box { background: var(--accent); border-color: var(--accent); }
.extra__label input:checked + .extra__box::after { content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.extra__label input:focus-visible + .extra__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.extra__label strong { display: block; font-weight: 700; }
.extra__label small { display: block; color: var(--muted-light); font-size: .86rem; }
.extra__price { grid-column: 2; color: var(--accent); font-weight: 700; font-size: .95rem; white-space: nowrap; }
@media (min-width: 640px) { .extra__price { grid-column: auto; } }
.extra__len { padding: 0 18px 16px 56px; display: grid; gap: 4px; }
.extra__len label { display: flex; align-items: center; gap: 8px; }
.extra__len small { color: var(--muted-light); font-size: .82rem; }

/* souhrn */
.calc__summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-dark);
  position: relative; overflow: hidden;
}
.summary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.summary__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.summary__range { font-size: clamp(1.7rem, 3.2vw, 2.1rem); font-weight: 900; font-stretch: 112%; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
.summary__range span { white-space: nowrap; }
.summary__dash { color: var(--accent); padding: 0 .1em; }
.summary__vat { font-size: .85rem; color: var(--muted); margin: 8px 0 20px; }
.summary__lines { list-style: none; margin: 0 0 24px; padding: 16px 0 0; border-top: 1px dashed var(--stone); display: grid; gap: 12px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.summary__lines li small { display: block; color: var(--muted); font-size: .8rem; }
.summary__lines strong { white-space: nowrap; }
.summary__note { font-size: .82rem; color: var(--muted); margin: 16px 0 0; line-height: 1.45; }
.summary__empty { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.summary__pattern { position: absolute; inset: -28px; background-image: var(--fan-dark); background-size: 60px 60px; mask-image: linear-gradient(to top, #000, transparent 80%); }
.summary__placeholder { position: relative; font-size: 1.6rem; font-weight: 850; font-stretch: 110%; line-height: 1.1; margin: 0; max-width: 11em; }

/* mobilní lišta */
.mobilebar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 18px; border-radius: 18px;
  background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
  border-top: 4px solid var(--accent);
}
.mobilebar small { display: block; font-size: .78rem; color: var(--muted); }
.mobilebar strong { font-size: 1.15rem; font-weight: 900; font-stretch: 110%; }
@media (min-width: 1040px) { .mobilebar { display: none !important; } }

/* ---------- galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.masonry { columns: 2 220px; column-gap: 14px; }
@media (min-width: 980px) { .masonry { columns: 3; column-gap: 18px; } }
.masonry__item {
  position: relative; display: block; margin: 0 0 14px; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; background: var(--stone); text-decoration: none;
}
@media (min-width: 980px) { .masonry__item { margin-bottom: 18px; } }
.masonry__item img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.masonry__item:hover img { transform: scale(1.06); }
.masonry__cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(23,21,15,.85), transparent);
  color: var(--paper); font-weight: 700; font-size: .95rem; line-height: 1.25;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.masonry__cap small { display: block; color: var(--accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.masonry__item:hover .masonry__cap, .masonry__item:focus-visible .masonry__cap { opacity: 1; transform: none; }
@media (hover: none) { .masonry__cap { opacity: 1; transform: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 11, 8, .95);
  display: flex; align-items: center; justify-content: center; padding: 56px 12px;
}
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: var(--paper); font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.lightbox figcaption small { color: var(--muted-light); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(244,240,232,.1); color: var(--paper); border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
  transition: background-color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: var(--ink); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 14px; } }

/* ---------- postup ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 24px; border-top: 3px solid var(--ink); }
.step__no {
  display: block; font-size: 4.2rem; font-weight: 900; font-stretch: 125%; line-height: 1; margin-bottom: 14px;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.step:hover .step__no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step__no { transition: color .3s, -webkit-text-stroke-color .3s; }
.step h3 { font-size: 1.35rem; font-weight: 800; font-stretch: 110%; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- o nás ---------- */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.about__logo {
  position: relative; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--paper-2) var(--fan-dark); background-size: 60px 60px;
  max-width: 460px; width: 100%; margin: 0 auto;
}
.about__logo::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 3px dashed var(--accent); animation: spin 60s linear infinite; }
.about__logo img { width: 78%; }
@keyframes spin { to { transform: rotate(360deg); } }
.about blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; font-stretch: 105%; line-height: 1.3;
}
.about__copy p { color: var(--muted); font-size: 1.05rem; }
.about__sign { margin-top: 24px; color: var(--ink) !important; }

/* ---------- kontakt ---------- */
#kontakt { background-image: var(--fan-light); background-size: 80px 80px; }
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.contact__phone {
  display: inline-block; margin: 28px 0 24px;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; font-stretch: 115%;
  color: var(--accent); text-decoration: none; letter-spacing: -.01em;
  border-bottom: 3px solid transparent; transition: border-color .2s;
}
.contact__phone:hover { border-color: var(--accent); }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: rgba(244,240,232,.75); }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line-light); }

.contact__form {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-dark);
}
@media (min-width: 640px) { .contact__form { padding: 36px; } }

.attached {
  display: block; margin-bottom: 24px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
}
.attached::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; background-image: var(--fan-light); background-size: 40px 40px; opacity: .9; }
.attached__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: relative; z-index: 1; }
.attached__actions { display: flex; gap: 14px; font-size: .88rem; }
.attached__actions a, .attached__actions button { color: var(--muted-light); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.attached__actions a:hover, .attached__actions button:hover { color: var(--paper); }
.attached__title { font-size: 1.15rem; margin: 0 0 2px; }
.attached__extras { font-size: .88rem; color: var(--muted-light); margin: 0 0 6px; }
.attached__price { margin: 8px 0 0; font-size: 1.5rem; font-weight: 900; font-stretch: 110%; color: var(--accent); }
.attached__price small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted-light); font-stretch: 100%; }
.attached--empty {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--paper-2); color: var(--ink); text-decoration: none; border: 2px dashed var(--stone);
  transition: border-color .2s;
}
.attached--empty::after { display: none; }
.attached--empty:hover { border-color: var(--accent); }
.attached--empty strong { color: var(--ink); }

.form__grid { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label:not(.check):not(.upload) { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--stone); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(233,163,25,.25); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.form__error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 6px 0 0; }
.form__error:empty { display: none; }
.form__error--global { padding: 12px 16px; border-radius: 12px; background: #f8e1dc; margin: 0 0 18px; }
.form__foot { text-align: center; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }

.upload {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer;
  border: 2px dashed var(--stone); border-radius: 12px; background: #fff; font-size: .95rem; color: var(--muted);
  transition: border-color .2s, background-color .2s;
}
.upload:hover, .upload:focus-within { border-color: var(--accent); }
.upload.has-files { border-style: solid; border-color: var(--ok); color: var(--ink); }
.upload svg { flex: none; color: var(--ink); }
.upload strong { color: var(--ink); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { text-align: center; padding: 40px 12px; }
.thanks__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--ink); margin-bottom: 20px; }
.thanks h3 { font-size: 2rem; font-weight: 900; font-stretch: 112%; margin-bottom: 12px; }

/* ---------- patička ---------- */
.site-footer { background: #0f0e0a; color: rgba(244,240,232,.72); padding: 64px 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer h3 { color: var(--paper); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { text-decoration: none; border-bottom: 1px solid var(--line-light); }
.site-footer a:hover { color: var(--accent); border-color: var(--accent); }
.site-footer__logo { background: var(--paper); border-radius: 16px; padding: 8px; }
.site-footer .muted { color: var(--muted-light); }
.site-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: .82rem; color: var(--muted-light); }

/* ---------- jednoduché stránky ---------- */
.page { position: relative; padding: calc(var(--header-h) + 64px) 0 96px; }
.page--dark-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--header-h); background: var(--ink); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; font-stretch: 112%; margin-bottom: 24px; }
.prose h2 { font-size: 1.3rem; font-weight: 800; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); }

/* ---------- animace ---------- */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.will-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
