/* =====================================================================
   KANT — stránkové komponenty (doplňuje style.css)
   ===================================================================== */

/* ==================== HERO (homepage) ==================== */
.hero { padding-top: 84px; position: relative; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px);
}
.hero__copy { max-width: 620px; }
.hero__title { margin: 0 0 26px; }
.hero__lead { max-width: 30em; color: var(--muted); }
.hero__actions {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px);
  margin-top: 38px; flex-wrap: wrap;
}

.hero__partner {
  display: flex; align-items: center; gap: 9px;
  margin-top: 30px; font-size: 0.82rem; letter-spacing: 0.02em; color: var(--muted);
}
.hero__partner svg { color: var(--brass); flex: none; }
.hero__partner strong { color: var(--ink); font-weight: 600; letter-spacing: 0.1em; }

.hero__media { position: relative; }
.hero__media-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-3);
  aspect-ratio: 4 / 3;
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* jemný "řez" — tenká mosazná linka jako akcent rohu */
.hero__media::after {
  content: "";
  position: absolute; right: -14px; bottom: -14px;
  width: 56%; height: 56%;
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  opacity: 0.5;
  border-radius: 0 0 4px 0;
  pointer-events: none;
}

/* Trust bar */
.trustbar { border-top: 1px solid var(--sand-line); }
.trustbar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(26px, 3vw, 36px);
}
.trustbar__list li {
  display: flex; align-items: center; gap: 13px;
  font-size: 0.95rem; color: var(--muted); line-height: 1.35;
}
.trustbar__list b { color: var(--ink); font-weight: 600; }
.trustbar__list svg {
  flex: none; width: 25px; height: 25px;
  fill: none; stroke: var(--ink); stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media-frame { aspect-ratio: 16 / 11; }
  .hero__media::after { display: none; }
  .trustbar__list { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
}
@media (max-width: 480px) {
  .trustbar__list { grid-template-columns: 1fr; }
  .hero__actions { gap: 18px; }
}

/* ==================== PAGE HERO (vnitřní stránky) ==================== */
.page-hero { padding-top: clamp(130px, 14vw, 184px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__inner { max-width: 920px; }
.page-hero h1 { margin: 22px 0 0; }
.page-hero .lead { margin-top: 26px; max-width: 60ch; color: var(--muted); }
.page-hero--center .page-hero__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .lead { margin-inline: auto; }

/* Full-bleed obrázkový pruh */
.media-band { width: 100%; aspect-ratio: 21 / 9; overflow: hidden; background: var(--cream-3); }
.media-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .media-band { aspect-ratio: 4 / 3; } }

/* Číslovaný seznam důvodů (2 sloupce) */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px) clamp(40px, 5vw, 80px); }
.reason { padding-top: 26px; border-top: 1px solid var(--sand-line); }
.reason__num { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 18px; }
.reason h3 { margin-bottom: 12px; }
@media (max-width: 720px) { .reasons { grid-template-columns: 1fr; gap: 0; } .reason { padding-block: 28px; } }

/* Detailní pruh */
.detail-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.detail-item { margin: 0; }
.detail-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--cream-3); }
.detail-item figcaption { margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 820px) { .detail-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .detail-strip { grid-template-columns: repeat(2, 1fr); } }

/* Srovnávací tabulka */
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 1rem; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sand-line); }
.compare thead th { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--text); width: 32%; }
.compare .col-kant { background: var(--white); color: var(--ink); font-weight: 600; }
.compare thead .col-kant { color: var(--ink); }
.compare .col-other { color: var(--muted); }
.compare__wrap { overflow-x: auto; border-radius: 4px; }
@media (max-width: 640px) { .compare th, .compare td { padding: 14px 14px; font-size: 0.92rem; } .compare { min-width: 520px; } }

/* ==================== TIMELINE (detailní proces) ==================== */
.timeline { max-width: 880px; }
.tl-step {
  display: grid; grid-template-columns: 92px 1fr; gap: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(40px, 5vw, 64px); position: relative;
}
.tl-step:last-child { padding-bottom: 0; }
.tl-step__rail { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.tl-step__num {
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem); font-weight: 300;
  color: var(--ink); line-height: 1; letter-spacing: -0.02em;
}
/* svislá spojnice */
.tl-step:not(:last-child) .tl-step__rail::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 52px; bottom: -56px; width: 1px; background: var(--sand-line);
}
.tl-step__rail::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 44px; width: 7px; height: 7px; border-radius: 50%; background: var(--brass);
}
.tl-step__week {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass-dk); margin-bottom: 12px;
}
.tl-step__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 14px; }
.tl-step__desc { color: var(--muted); max-width: 58ch; }
.tl-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.tl-list li { position: relative; padding-left: 26px; color: var(--muted); }
.tl-list li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 13px; height: 1px; background: var(--brass);
}
.tl-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-meta .tag { background: var(--cream-2); }
.section--cream2 .tl-meta .tag { background: var(--white); }

.duration-card {
  margin-top: 8px; padding: clamp(28px, 4vw, 48px);
  background: var(--ink); color: var(--cream); border-radius: 4px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.duration-card h3 { color: var(--white); margin-bottom: 10px; }
.duration-card p { color: rgba(255,255,255,0.78); max-width: 52ch; }
.duration-card__big { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; color: var(--white); white-space: nowrap; letter-spacing: -0.02em; }
@media (max-width: 640px) {
  .tl-step { grid-template-columns: 54px 1fr; gap: 16px; }
  .duration-card { grid-template-columns: 1fr; }
}

/* ==================== PROČ KANT (benefity) ==================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 64px);
}
.benefit { padding-top: 26px; border-top: 1px solid var(--sand-line); }
.benefit__idx {
  display: block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--muted-2); margin-bottom: 22px;
}
.benefit .h3 { margin-bottom: 14px; }
.benefit__lead { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; gap: 0; }
  .benefit { padding-block: 30px; } }

/* ==================== GALERIE ==================== */
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: clamp(34px, 4vw, 56px);
}
.gallery-head__sub { max-width: 38ch; font-size: 1.05rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 34px); }
.g-card { display: block; color: inherit; }
.g-card__media {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 3 / 2; background: var(--cream-3);
}
.g-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.g-card:hover .g-card__media img { transform: scale(1.05); }
.g-card__body { padding-top: 18px; }
.g-card__title {
  font-size: 1.08rem; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 12px;
  transition: color .3s var(--ease);
}
.g-card:hover .g-card__title { color: var(--brass); }
.g-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-cta { margin-top: clamp(36px, 4vw, 56px); text-align: center; }
/* homepage: 8 realizací ve 4 sloupcích */
.gallery--home { grid-template-columns: repeat(4, 1fr); }
.gallery--home .g-card__title { font-size: 1rem; }
@media (max-width: 1080px) { .gallery--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery--home { grid-template-columns: 1fr; } }
.gallery--page { grid-template-columns: repeat(3, 1fr); row-gap: clamp(32px, 3.5vw, 52px); }
.g-card__media { cursor: zoom-in; }
.g-card__zoom {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(20,24,34,0.18); color: #fff;
  opacity: 0; transition: opacity .4s var(--ease);
}
.g-card__zoom svg { transform: scale(0.9); transition: transform .4s var(--ease); }
.g-card:hover .g-card__zoom { opacity: 1; }
.g-card:hover .g-card__zoom svg { transform: scale(1); }
.gallery-note { margin-top: clamp(34px, 4vw, 52px); text-align: center; font-size: 0.9rem; }
@media (max-width: 860px) { .gallery--page { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery--page { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-head { flex-direction: column; align-items: flex-start; gap: 14px; } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

/* ==================== PROCES (kroky) ==================== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--sand-line); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 38px; height: 2px; background: var(--brass);
}
.step__num {
  display: block; font-size: 2.6rem; font-weight: 300;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 20px; opacity: 0.92;
}
.step__title { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.steps-cta { margin-top: clamp(34px, 4vw, 52px); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ==================== REFERENCE (citace) ==================== */
.quote { }
.quote__text {
  font-size: clamp(1.15rem, 1.0rem + 0.7vw, 1.5rem);
  line-height: 1.5; color: var(--ink); letter-spacing: -0.005em;
}
.quote--feature .quote__text {
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.35rem);
  line-height: 1.32; margin-bottom: 24px;
}
.quote--feature { max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.quote__author {
  font-family: var(--sans); font-style: normal;
  font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-top: 18px;
}
.quote__author span { color: var(--muted); font-weight: 400; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.quotes .quote { padding-top: 26px; border-top: 1px solid var(--sand-line); }
.quotes .quote__text { font-size: 1.15rem; }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; gap: 0; }
  .quotes .quote { padding-block: 28px; } }

/* ==================== SPLIT (obrázek + text) ==================== */
.split {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 84px); align-items: center;
}
.split__media { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.split__copy { max-width: 38em; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__media img { aspect-ratio: 16/11; }
}

/* ==================== NAVŠTIVTE STUDIO ==================== */
.visit { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.visit__dl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.visit__dl dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-dk); margin-bottom: 8px; font-weight: 600; }
.visit__dl dd { color: var(--ink); line-height: 1.6; font-size: 1.02rem; }
.visit__dl dd a { font-weight: 500; border-bottom: 1px solid var(--sand); transition: border-color .3s var(--ease); }
.visit__dl dd a:hover { border-color: var(--ink); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 420px) { .visit__dl { grid-template-columns: 1fr; gap: 22px; } }

/* ==================== CTA BAND ==================== */
.cta-band {
  position: relative; isolation: isolate;
  padding-block: clamp(80px, 11vw, 168px);
  color: var(--cream); overflow: hidden;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,24,34,0.82), rgba(20,24,34,0.62) 55%, rgba(20,24,34,0.84));
}
.cta-band--compact { padding-block: clamp(64px, 8vw, 116px); }
.cta-band__inner { max-width: 760px; text-align: center; margin-inline: auto; }
.b2b-ref { max-width: 60ch; }
.b2b-ref p { font-size: 1.08rem; }
.cta-band__title { color: var(--white); }
.cta-band__sub {
  color: rgba(255,255,255,0.82); font-size: 1.12rem; line-height: 1.6;
  max-width: 46ch; margin: 20px auto 38px;
}
.cta-band__actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band__btns { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.cta-band__alt { font-size: 0.96rem; color: rgba(255,255,255,0.78); display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-band__alt a { color: var(--white); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; transition: border-color .3s var(--ease); }
.cta-band__alt a:hover { border-color: var(--white); }

/* ==================== O NÁS — příběh, tým, čísla ==================== */
.story { max-width: var(--wrap-text); }
.story p + p { margin-top: 1.25em; }
.story p { font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); }
.story .lead-first::first-letter {
  font-family: var(--serif); font-size: 3.4em; line-height: 0.8; float: left;
  padding: 0.06em 0.12em 0 0; color: var(--ink); font-weight: 400;
}

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 56px); }
.member { padding-top: 26px; border-top: 1px solid var(--sand-line); }
.member__role { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-dk); margin-bottom: 14px; font-weight: 600; }
.member__name { font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 12px; }
.member__name.is-placeholder { color: var(--muted-2); font-weight: 500; }
.member__bio { color: var(--muted); }
.member__quote { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 1.06rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; gap: 0; } .member { padding-block: 28px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.stat { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 24px; }
.stat__num { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); font-weight: 300; color: var(--white); line-height: 1; letter-spacing: -0.02em; }
.stat__num b { color: var(--brass-2); font-weight: 300; }
.stat__label { margin-top: 14px; color: #9AA0AB; font-size: 0.95rem; line-height: 1.4; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 24px; } }

/* ==================== KONTAKT + FORMULÁŘ ==================== */
.page-hero--contact { padding-bottom: clamp(24px, 3vw, 40px); }
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 5vw, 88px); align-items: start; }
.contact__brand { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 28px; }
.contact__dl { display: grid; gap: 24px; }
.contact__dl dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-dk); margin-bottom: 7px; font-weight: 600; }
.contact__dl dd { color: var(--ink); line-height: 1.55; }
.contact__dl dd a { font-weight: 500; border-bottom: 1px solid var(--sand); transition: border-color .3s var(--ease); }
.contact__dl dd a:hover { border-color: var(--ink); }
.contact__hint { font-size: 0.86rem; }

.contact__form-wrap {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: 4px; padding: clamp(26px, 3.5vw, 48px); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.01em; }
.form-group input,
.form-group select,
.form-group textarea {
  font: inherit; font-size: 0.98rem; color: var(--text);
  background: var(--cream); border: 1px solid var(--sand);
  border-radius: 3px; padding: 0.78em 0.9em; width: 100%;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brass); background: var(--white);
  box-shadow: 0 0 0 3px var(--brass-tint);
}
.form-group input.is-error,
.form-group textarea.is-error { border-color: var(--brass-dk); box-shadow: 0 0 0 3px var(--brass-tint); }
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%235E6168' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9em center; padding-right: 2.2em; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.form__submit[disabled] { opacity: 0.6; pointer-events: none; }
.form__gdpr { font-size: 0.82rem; max-width: 34ch; line-height: 1.45; margin: 0; }
/* Souhlas se zpracováním osobních údajů (povinný, nezaškrtnutý) */
.form-consent { margin-top: 4px; margin-bottom: 22px; }
.form-consent .consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.86rem; font-weight: 400; color: var(--muted); line-height: 1.5; cursor: pointer; margin: 0; }
.form-consent input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto;
  width: 18px; height: 18px; min-width: 18px; margin-top: 2px;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  accent-color: var(--ink); cursor: pointer;
}
.form-consent input.is-error { outline: 2px solid var(--brass-dk); outline-offset: 2px; }
.form__status { margin-top: 18px; font-size: 0.96rem; font-weight: 600; display: none; padding-left: 24px; position: relative; }
.form__status.is-visible { display: block; }
.form__status::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.form__status.is-ok { color: var(--brass-dk); }
.form__status.is-ok::before { content: "✓"; }
.form__status.is-err { color: var(--ink); }
.form__status.is-err::before { content: "—"; color: var(--brass-dk); }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* Foto kanceláře + mapa */
.contact-media { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-photo { margin: 0; overflow: hidden; background: var(--cream-3); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .contact-media { grid-template-columns: 1fr; }
  .contact-photo { height: clamp(260px, 50vw, 360px); }
}

/* Mapa */
.map-band { width: 100%; height: clamp(320px, 42vw, 480px); background: var(--cream-3); }
.map-band iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.25) contrast(0.96); }
.map-facade {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: var(--cream-2); color: var(--ink); cursor: pointer;
  transition: background .3s var(--ease);
}
.map-facade:hover { background: var(--cream-3); }
.map-facade svg { color: var(--brass); margin-bottom: 4px; }
.map-facade__addr { font-weight: 600; font-size: 1.02rem; }
.map-facade__cta {
  display: inline-flex; align-items: center; margin-top: 6px;
  padding: 0.7em 1.4em; background: var(--ink); color: var(--cream);
  border-radius: 2px; font-size: 0.88rem; font-weight: 600;
}
.map-facade__note { color: var(--muted); font-size: 0.78rem; margin-top: 4px; }

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,19,26,0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
  padding: clamp(20px, 5vw, 64px);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lightbox__fig { max-width: min(1100px, 92vw); margin: 0; text-align: center; }
.lightbox__img {
  max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.97); transition: transform .45s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__cap { margin-top: 18px; color: rgba(255,255,255,0.86); font-size: 0.95rem; letter-spacing: 0.01em; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; width: 48px; height: 48px;
  font-size: 2rem; line-height: 1; color: #fff; opacity: 0.8; transition: opacity .3s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; font-size: 2.4rem; line-height: 1; color: #fff;
  opacity: 0.7; transition: opacity .3s; border-radius: 50%;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: clamp(10px, 3vw, 40px); }
.lightbox__nav--next { right: clamp(10px, 3vw, 40px); }
@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; bottom: 24px; top: auto; transform: none; }
  .lightbox__nav--prev { left: 30%; } .lightbox__nav--next { right: 30%; }
}

/* ==================== PRÁVNÍ STRÁNKY (zásady OÚ) ==================== */
.legal h2 { margin-top: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal a { color: var(--ink); border-bottom: 1px solid var(--sand); transition: border-color .3s var(--ease); }
.legal a:hover { border-color: var(--ink); }

/* 404 */
.error-page { padding-top: 180px; min-height: 78vh; display: grid; align-content: center; }


