/* ==========================================================================
   ACE INTERIÉRY — Pavel Brož, Žďár nad Sázavou
   Design system „Řemeslo a materiál": krémový papír, dub, jíl
   ========================================================================== */

:root {
  --paper: #f7f4ef;
  --paper-2: #efeae1;
  --sand: #e4dccf;
  --white: #ffffff;

  --ink: #1b1917;
  --ink-2: #3d3934;
  --muted: #77706a;
  --rule: rgba(27, 25, 23, 0.14);
  --rule-soft: rgba(27, 25, 23, 0.07);

  --oak: #241f1a;
  --oak-2: #2e2822;
  --oak-rule: rgba(247, 244, 239, 0.16);

  --clay: #b0603a;
  --clay-deep: #8a4526;
  --clay-soft: #f0e2d8;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --narrow: 760px;
  --gut: clamp(20px, 4.5vw, 68px);
  --hdr-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 500; }
h1 em, h2 em { font-style: italic; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; }

.eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clay); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }

.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.66; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.quote { font-family: var(--display); font-weight: 300; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.36; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: var(--narrow); }
.section { padding: clamp(60px, 8.5vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5.5vw, 76px) 0; }
.section--tone { background: var(--paper-2); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--oak); color: var(--paper); }
.section--dark .lede { color: rgba(247,244,239,.78); }
.section--dark .muted { color: rgba(247,244,239,.62); }
.section--dark .eyebrow { color: #d99062; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4.5vw, 76px); align-items: center; }
.split--top { align-items: start; }
.split--text { grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 940px) { .grid-2, .grid-3, .grid-4, .split, .split--text { grid-template-columns: 1fr; } }
@media (min-width: 620px) and (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.8rem; flex-wrap: wrap; }
.mb-l { margin-bottom: clamp(2rem, 3.6vw, 3.2rem); }
.mt-s { margin-top: 1.1rem; } .mt-m { margin-top: 1.9rem; } .mt-l { margin-top: 3rem; }
.center { text-align: center; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; font-size: .84rem; font-weight: 500; letter-spacing: .02em;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: 3px; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease);
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(247,244,239,.4); }
.btn--outline-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 500;
  color: var(--ink); padding-bottom: .28rem; border-bottom: 1px solid var(--rule);
  transition: gap .3s var(--ease), border-color .3s, color .3s;
}
.arrow::after { content: "→"; transition: transform .3s var(--ease); }
.arrow:hover { color: var(--clay); border-color: var(--clay); }
.arrow:hover::after { transform: translateX(3px); }
.section--dark .arrow { color: var(--paper); border-color: var(--oak-rule); }
.section--dark .arrow:hover { color: #e2a074; border-color: #e2a074; }

/* ---------- Hlavička ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr-h);
  display: flex; align-items: center;
  background: rgba(247,244,239,.9); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--rule-soft);
  transition: height .35s var(--ease), box-shadow .35s;
}
.hdr.is-stuck { height: 64px; box-shadow: 0 1px 0 var(--rule), 0 8px 30px -22px rgba(27,25,23,.5); }
.hdr .wrap { max-width: 1560px; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 2rem); width: 100%; }
.hdr__in > * { min-width: 0; }

.brand { display: flex; align-items: center; gap: .65rem; }
.brand__mark { width: auto; height: 30px; flex: none; display: block; }
@media (max-width: 560px) { .brand__mark { height: 26px; } }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 1.02rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.brand__sub { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .22rem; }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.5vw, 1.6rem); }
.nav a { font-size: .88rem; color: var(--ink-2); position: relative; padding: .3rem 0; white-space: nowrap; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--clay); transition: width .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.hdr__cta { display: flex; align-items: center; gap: .9rem; }
.hdr__tel { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.hdr .btn { padding: .7rem 1.2rem; font-size: .82rem; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); background: transparent; position: relative; cursor: pointer; border-radius: 3px; }
.burger i { position: absolute; left: 12px; width: 19px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s; }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 26px; }
body.nav-open .burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1180px) { .hdr__tel { display: none; } }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: 0; z-index: 99; background: var(--paper);
    padding: calc(var(--hdr-h) + 20px) var(--gut) 2rem; overflow-y: auto;
  }
  .nav.is-open a { font-family: var(--display); font-weight: 300; font-size: 1.65rem; padding: .8rem 0; border-bottom: 1px solid var(--rule-soft); }
  .nav.is-open a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--hdr-h) + clamp(30px, 5vw, 64px)) 0 clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.hero__facts b { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1; }
.hero__facts span { display: block; margin-top: .35rem; font-size: .76rem; color: var(--muted); }
@media (max-width: 520px) { .hero__facts { grid-template-columns: repeat(2, auto); row-gap: 1.3rem; } }
.hero__media { position: relative; }
.hero__media .ph { border-radius: 4px; }
.hero__badge {
  position: absolute; left: -18px; bottom: 22px; background: var(--paper); border: 1px solid var(--rule-soft);
  border-radius: 3px; padding: .85rem 1.1rem; box-shadow: 0 18px 40px -26px rgba(27,25,23,.7);
  display: flex; align-items: center; gap: .7rem; font-size: .84rem; max-width: 74%;
}
.hero__badge b { font-weight: 500; }
@media (max-width: 940px) { .hero__badge { left: 12px; } }

/* ---------- Hlavička podstránky ---------- */
.phead { padding: calc(var(--hdr-h) + clamp(38px, 6vw, 76px)) 0 clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--rule-soft); }
.phead h1 { max-width: 19ch; }
.phead .lede { margin-top: .9rem; }
.crumb { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumb a:hover { color: var(--clay); }
.crumb span[aria-hidden] { opacity: .4; }

/* ---------- Obrázky ---------- */
.ph { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: var(--ar, 4/3); }
.ph picture { display: block; width: 100%; height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--blur img { filter: blur(14px); transform: scale(1.05); }
.ph--3x2 { aspect-ratio: 3/2; } .ph--4x3 { aspect-ratio: 4/3; } .ph--1x1 { aspect-ratio: 1/1; }
.ph--3x4 { aspect-ratio: 3/4; } .ph--16x9 { aspect-ratio: 16/9; } .ph--4x5 { aspect-ratio: 4/5; }
figure { margin: 0; }
figcaption { margin-top: .65rem; font-size: .82rem; color: var(--muted); }

/* ---------- Karty služeb ---------- */
.svc {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--rule-soft); border-radius: 4px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -30px rgba(27,25,23,.55); border-color: var(--rule); }
.svc .ph img { transition: transform 1.1s var(--ease); }
.svc:hover .ph img { transform: scale(1.045); }
.svc__body { padding: clamp(1.2rem, 1.8vw, 1.7rem); display: flex; flex-direction: column; flex: 1; }
.svc__no { font-size: .74rem; letter-spacing: .12em; color: var(--clay); margin-bottom: .5rem; }
.svc__body h3 { margin-bottom: .45rem; }
.svc__body p { font-size: .93rem; color: var(--muted); margin-bottom: 1.1rem; }
.svc__body .arrow { margin-top: auto; align-self: flex-start; }
.svc ul { list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: .9rem; color: var(--muted); }
.svc ul li { padding: .28rem 0 .28rem 1.05rem; position: relative; }
.svc ul li::before { content: ""; position: absolute; left: 0; top: .92em; width: 6px; height: 1px; background: var(--clay); }
.section--dark .svc { background: var(--oak-2); border-color: var(--oak-rule); }
.section--dark .svc__body p, .section--dark .svc ul { color: rgba(247,244,239,.66); }

/* ---------- Zaškrtávací seznam ---------- */
.ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 5px;
  border-left: 1.6px solid var(--clay); border-bottom: 1.6px solid var(--clay); transform: rotate(-45deg);
}

/* ---------- Galerie ---------- */
.gal { columns: 3; column-gap: clamp(10px, 1.1vw, 16px); }
.gal > figure { margin: 0 0 clamp(10px, 1.1vw, 16px); break-inside: avoid; position: relative; overflow: hidden; border-radius: 3px; background: var(--sand); cursor: zoom-in; display: block; }
.gal img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--ease); }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption {
  position: absolute; inset: auto 0 0 0; margin: 0; padding: 1.4rem .9rem .75rem; color: #fff; font-size: .82rem;
  background: linear-gradient(transparent, rgba(20,17,15,.85));
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.gal figure:hover figcaption { opacity: 1; transform: none; }
.gal--strip { columns: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.gal--strip > figure { margin: 0; aspect-ratio: 3/2; }
.gal--strip img { height: 100%; object-fit: contain; background: var(--sand); }
.gal--strip > figure { cursor: zoom-in; }
@media (max-width: 940px) { .gal { columns: 2; } }
@media (max-width: 560px) { .gal { columns: 1; } .gal--strip > figure { aspect-ratio: 4/3; } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.6rem, 2.6vw, 2.4rem); }
.filters button {
  padding: .6rem 1.2rem; background: transparent; color: var(--ink-2); border: 1px solid var(--rule);
  border-radius: 100px; cursor: pointer; font-size: .85rem; transition: all .25s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(18,16,14,.96); display: none; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 46px); }
.lb.is-open { display: flex; }
.lb__img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 3px; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 3vh; text-align: center; font-size: .86rem; color: rgba(247,244,239,.78); padding: 0 4vw; }
.lb__btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(247,244,239,.3); background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; transition: all .25s; }
.lb__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lb__x { top: 2.6vh; right: 3vw; }
.lb__prev { left: 2.5vw; top: 50%; transform: translateY(-50%); }
.lb__next { right: 2.5vw; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb__prev, .lb__next { display: none; } }

/* ---------- Postup ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { counter-increment: s; display: grid; grid-template-columns: 62px 1fr; gap: clamp(1rem, 2.2vw, 2.2rem); padding: clamp(1.3rem, 2.2vw, 2rem) 0; border-top: 1px solid var(--rule-soft); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--rule-soft); }
.step::before { content: "0" counter(s); font-family: var(--display); font-weight: 300; font-size: 1.4rem; color: var(--clay); line-height: 1.3; }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; max-width: 62ch; }
.section--dark .step { border-color: var(--oak-rule); }
.section--dark .step p { color: rgba(247,244,239,.68); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Karty a fakta ---------- */
.card { background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; padding: clamp(1.3rem, 2.2vw, 1.9rem); }
.card + .card { margin-top: 1rem; }
.card h3 { margin-bottom: .9rem; }
.section--dark .card { background: var(--oak-2); border-color: var(--oak-rule); }

.dl { display: grid; gap: 0; margin: 0; }
.dl > div { display: grid; grid-template-columns: 165px 1fr; gap: 1.1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule-soft); font-size: .95rem; }
.dl dt { color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin: 0; padding-top: .22rem; }
.dl dd { margin: 0; }
.dl a:hover { color: var(--clay); }
@media (max-width: 620px) { .dl > div { grid-template-columns: 1fr; gap: .15rem; } }

.hours { display: grid; gap: 0; font-size: .93rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px solid var(--rule-soft); }
.hours div:last-child { border-bottom: 0; }
.hours .off { color: var(--muted); }
.hours .now { color: var(--clay); font-weight: 500; }
.map { border: 1px solid var(--rule-soft); border-radius: 4px; overflow: hidden; line-height: 0; }
.map iframe { width: 100%; height: 330px; border: 0; }

/* ---------- Pás ---------- */
.strip { border-block: 1px solid var(--rule-soft); padding: .95rem 0; overflow: hidden; background: var(--paper-2); }
.strip__track { display: flex; gap: 2.4rem; white-space: nowrap; animation: slide 42s linear infinite; width: max-content; }
.strip span { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 2.4rem; }
.strip span::after { content: "●"; font-size: .32rem; color: var(--clay); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.6rem 1.25rem 0; position: relative; font-family: var(--display); font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.35rem); transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; transform: translateY(-50%);
  background: linear-gradient(var(--clay), var(--clay)) center/12px 1.4px no-repeat,
              linear-gradient(var(--clay), var(--clay)) center/1.4px 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background-size: 12px 1.4px, 1.4px 0; }
.faq summary:hover { color: var(--clay); }
.faq__a { padding: 0 2.6rem 1.4rem 0; color: var(--ink-2); font-size: .96rem; max-width: 76ch; }

/* ---------- Formulář ---------- */
.form { display: grid; gap: .95rem; }
.field { display: flex; flex-direction: column; gap: .35rem; position: relative; }
.field label { font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  background: var(--white); border: 1px solid var(--rule); border-radius: 3px; color: var(--ink);
  padding: .82rem .95rem; font: inherit; font-size: .95rem; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,25,23,.06); }
.field input::placeholder, .field textarea::placeholder { color: #a49d96; }
.field.is-bad input, .field.is-bad textarea { border-color: #b04a34; }
.field__err { font-size: .78rem; color: #b04a34; display: none; }
.field.is-bad .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.form__note a { border-bottom: 1px solid var(--rule); }
.form__msg { display: none; padding: .9rem 1.1rem; border-radius: 3px; font-size: .92rem; border: 1px solid var(--rule); background: var(--white); }
.form__msg.is-on { display: block; }
.form__msg.is-ok { border-color: #7d9a72; background: #eef4ec; }
.form__msg.is-warn { border-color: var(--clay); background: var(--clay-soft); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--oak); color: var(--paper); padding: clamp(58px, 8vw, 116px) 0; text-align: center; }
.cta__bg { position: absolute; inset: 0; opacity: .26; }
.cta__bg .ph { height: 100%; aspect-ratio: auto; }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta .lede { color: rgba(247,244,239,.8); margin-inline: auto; }
.cta__row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.7rem; }

/* ---------- Patička ---------- */
.ftr { background: var(--paper-2); border-top: 1px solid var(--rule-soft); padding: clamp(44px, 5.5vw, 76px) 0 1.9rem; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: clamp(1.6rem, 3vw, 2.8rem); }
@media (max-width: 940px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.ftr a { color: var(--ink-2); transition: color .25s; }
.ftr a:hover { color: var(--clay); }
.ftr address { font-style: normal; font-size: .92rem; color: var(--ink-2); line-height: 1.8; }
.ftr__bot { margin-top: clamp(2rem, 3.4vw, 3rem); padding-top: 1.3rem; border-top: 1px solid var(--rule-soft); display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; font-size: .8rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .07s; } .d2 { transition-delay: .14s; } .d3 { transition-delay: .21s; } .d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Doplňky ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.tags span { font-size: .82rem; padding: .38rem .85rem; border: 1px solid var(--rule); border-radius: 100px; color: var(--ink-2); }
.section--dark .tags span { border-color: var(--oak-rule); color: rgba(247,244,239,.78); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; z-index: 300; }
.skip:focus { left: 1rem; top: 1rem; }

.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(247,244,239,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--rule); padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .8rem .5rem; font-size: .86rem; font-weight: 500; border-radius: 3px; }
  .callbar a:first-child { background: var(--ink); color: var(--paper); }
  .callbar a:last-child { border: 1px solid var(--rule); }
  .ftr { padding-bottom: 5.4rem; }
}

@media print {
  .hdr, .callbar, .cta, .lb, .filters { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .rv { opacity: 1; transform: none; }
}
