/* ==========================================================================
   Stolařství U Hrňů – veřejný web
   Tři návrhy (body.t1 / .t2 / .t3) sdílí jeden HTML kód, liší se tokeny a rozvržením.
   Barvy vychází z loga: hnědá #796646 a bílá.
   ========================================================================== */

/* ---------- tokeny ---------- */
:root {
  --brand: #796646;
  --brand-dark: #5F4F36;
  --f-display: "Red Hat Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-body: "Red Hat Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-script: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --wrap: 1220px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --sec-pad: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* Návrh 1 – Světlý */
.t1 {
  --t1-bg: #F6F2EB; --t1-ink: #2B2419; --t1-muted: #6A5F4D; --t1-line: rgba(43, 36, 25, .13);
  --radius: 22px; --radius-sm: 14px; --btn-radius: 999px;
  --footer-bg: #2B2419; --footer-ink: #EDE6DA; --footer-muted: rgba(237, 230, 218, .62);
  --hdr-ink: var(--t1-ink); --hdr-solid: rgba(246, 242, 235, .88); --hdr-mark: var(--brand);
  --page-head-bg: var(--t1-bg); --page-head-ink: var(--t1-ink); --page-head-muted: var(--t1-muted); --topo-color: rgba(121, 102, 70, .16);
  background: var(--t1-bg);
}
.t1 .tone-1, .t1 .hero, .t1 .page-head { --sec-bg: var(--t1-bg); --sec-ink: var(--t1-ink); --sec-muted: var(--t1-muted); --sec-line: var(--t1-line); --sec-card: #FFFFFF; --sec-accent: var(--brand); --sec-on-accent: #fff; }
.t1 .tone-2 { --sec-bg: #FFFFFF; --sec-ink: var(--t1-ink); --sec-muted: var(--t1-muted); --sec-line: var(--t1-line); --sec-card: var(--t1-bg); --sec-accent: var(--brand); --sec-on-accent: #fff; }
.t1 .tone-3 { --sec-bg: var(--brand); --sec-ink: #fff; --sec-muted: rgba(255, 255, 255, .8); --sec-line: rgba(255, 255, 255, .24); --sec-card: rgba(255, 255, 255, .09); --sec-accent: #fff; --sec-on-accent: var(--brand-dark); }

/* Návrh 2 – Tmavý */
.t2 {
  --t2-bg: #17130E; --t2-ink: #F1E9DC; --t2-muted: #B5A891; --t2-line: rgba(241, 233, 220, .13); --t2-accent: #CDB48A;
  --radius: 6px; --radius-sm: 4px; --btn-radius: 4px;
  --footer-bg: #0E0B08; --footer-ink: #E9E0D1; --footer-muted: rgba(233, 224, 209, .55);
  --hdr-ink: var(--t2-ink); --hdr-solid: rgba(23, 19, 14, .86); --hdr-mark: var(--t2-accent);
  --page-head-bg: #1E1913; --page-head-ink: var(--t2-ink); --page-head-muted: var(--t2-muted); --topo-color: rgba(205, 180, 138, .14);
  background: var(--t2-bg);
  color-scheme: dark;
}
.t2 .tone-1, .t2 .hero, .t2 .page-head { --sec-bg: var(--t2-bg); --sec-ink: var(--t2-ink); --sec-muted: var(--t2-muted); --sec-line: var(--t2-line); --sec-card: #221C15; --sec-accent: var(--t2-accent); --sec-on-accent: #17130E; }
.t2 .page-head { --sec-bg: #1E1913; }
.t2 .tone-2 { --sec-bg: #1F1A14; --sec-ink: var(--t2-ink); --sec-muted: var(--t2-muted); --sec-line: var(--t2-line); --sec-card: #2A231B; --sec-accent: var(--t2-accent); --sec-on-accent: #17130E; }
.t2 .tone-3 { --sec-bg: var(--brand); --sec-ink: #fff; --sec-muted: rgba(255, 255, 255, .82); --sec-line: rgba(255, 255, 255, .24); --sec-card: rgba(0, 0, 0, .14); --sec-accent: #fff; --sec-on-accent: var(--brand-dark); }

/* Návrh 3 – Logo */
.t3 {
  --t3-light: #FBF8F2; --t3-ink: #3A3022; --t3-muted: #6E6250;
  --radius: 0px; --radius-sm: 0px; --btn-radius: 999px;
  --footer-bg: #3A3022; --footer-ink: #F3ECDF; --footer-muted: rgba(243, 236, 223, .6);
  --hdr-ink: #fff; --hdr-solid: rgba(121, 102, 70, .94); --hdr-mark: #fff;
  --page-head-bg: var(--brand); --page-head-ink: #fff; --page-head-muted: rgba(255, 255, 255, .82); --topo-color: rgba(255, 255, 255, .16);
  background: var(--brand);
}
.t3 .tone-1, .t3 .hero, .t3 .page-head { --sec-bg: var(--brand); --sec-ink: #fff; --sec-muted: rgba(255, 255, 255, .82); --sec-line: rgba(255, 255, 255, .26); --sec-card: rgba(255, 255, 255, .08); --sec-accent: #fff; --sec-on-accent: var(--brand-dark); }
.t3 .tone-2 { --sec-bg: var(--t3-light); --sec-ink: var(--t3-ink); --sec-muted: var(--t3-muted); --sec-line: rgba(58, 48, 34, .14); --sec-card: #FFFFFF; --sec-accent: var(--brand); --sec-on-accent: #fff; }
.t3 .tone-3 { --sec-bg: var(--brand-dark); --sec-ink: #fff; --sec-muted: rgba(255, 255, 255, .82); --sec-line: rgba(255, 255, 255, .24); --sec-card: rgba(255, 255, 255, .08); --sec-accent: #fff; --sec-on-accent: var(--brand-dark); }
/* realizace v návrhu 3 na světlém pozadí, ať fotky vyniknou */
.t3 .work { --sec-bg: var(--t3-light); --sec-ink: var(--t3-ink); --sec-muted: var(--t3-muted); --sec-line: rgba(58, 48, 34, .14); --sec-card: #fff; --sec-accent: var(--brand); --sec-on-accent: #fff; }

/* Návrh 4 – Galerie */
.t4 {
  --t4-ink: #1C1814; --t4-muted: #6F675B; --t4-line: rgba(28, 24, 20, .12);
  --radius: 3px; --radius-sm: 3px; --btn-radius: 999px;
  --footer-bg: #1C1814; --footer-ink: #F2ECE2; --footer-muted: rgba(242, 236, 226, .58);
  --hdr-ink: var(--t4-ink); --hdr-solid: rgba(255, 255, 255, .92); --hdr-mark: var(--brand);
  --page-head-bg: #FFFFFF; --page-head-ink: var(--t4-ink); --page-head-muted: var(--t4-muted); --topo-color: rgba(121, 102, 70, .12);
  background: #fff;
}
.t4 .tone-1, .t4 .hero, .t4 .page-head { --sec-bg: #FFFFFF; --sec-ink: var(--t4-ink); --sec-muted: var(--t4-muted); --sec-line: var(--t4-line); --sec-card: #F4F1EB; --sec-accent: var(--brand); --sec-on-accent: #fff; }
.t4 .tone-2 { --sec-bg: #F4F1EB; --sec-ink: var(--t4-ink); --sec-muted: var(--t4-muted); --sec-line: var(--t4-line); --sec-card: #FFFFFF; --sec-accent: var(--brand); --sec-on-accent: #fff; }
.t4 .tone-3 { --sec-bg: var(--brand); --sec-ink: #fff; --sec-muted: rgba(255, 255, 255, .82); --sec-line: rgba(255, 255, 255, .24); --sec-card: rgba(255, 255, 255, .09); --sec-accent: #fff; --sec-on-accent: var(--brand-dark); }
/* přes fotku v úvodu je hlavička bílá */
.t4 .site-header.over-hero:not(.is-solid) { --hdr-ink: #fff; --hdr-mark: #fff; }
.t4 .nav-call { --b-bg: var(--brand); --b-ink: #fff; --b-line: var(--brand); }
.t4 .site-header.over-hero:not(.is-solid) .nav-call { --b-bg: #fff; --b-ink: var(--t4-ink); --b-line: #fff; }

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-body); color: var(--sec-ink, #2B2419); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.04; letter-spacing: -.022em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: #fff; color: #2B2419; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }

.sec { position: relative; background: var(--sec-bg); color: var(--sec-ink); padding: var(--sec-pad) 0; overflow: clip; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { font-size: 1.15rem; color: var(--sec-muted); margin: 0; }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-row > div { max-width: 640px; }
.prose p { max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--sec-muted); max-width: 52ch; }

/* ---------- tlačítka ---------- */
.btn {
  --b-bg: transparent; --b-ink: var(--sec-ink); --b-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .8em 1.45em;
  border-radius: var(--btn-radius); border: 1.5px solid var(--b-line); background: var(--b-bg); color: var(--b-ink);
  font: 700 1rem/1.15 var(--f-display); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico:last-child:not(:first-child) { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn-lg { min-height: 58px; padding: .95em 1.7em; font-size: 1.06rem; }
.btn-solid { --b-bg: var(--sec-accent); --b-ink: var(--sec-on-accent); --b-line: var(--sec-accent); }
.btn-solid:hover { box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); }
.btn-ghost, .btn-outline { --b-line: var(--sec-line); }
.btn-ghost:hover, .btn-outline:hover { --b-line: var(--sec-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hlavička ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--hdr-ink); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
/* Rozmazané pozadí je na pseudoprvku: backdrop-filter přímo na hlavičce by z ní udělal
   „containing block“ a fixní mobilní menu by se smrsklo na výšku hlavičky. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hdr-solid); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
body.nav-open .site-header { box-shadow: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height .4s var(--ease); }
.is-solid .header-inner { min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; color: var(--hdr-mark); flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 900 1.12rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.brand-script { font: 600 1.35rem/1 var(--f-script); margin-top: -1px; padding-left: 2px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { position: relative; text-decoration: none; font: 600 .98rem var(--f-display); padding: 6px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-call { min-height: 46px; padding: .6em 1.15em; --b-bg: var(--hdr-ink); --b-ink: var(--hdr-solid); --b-line: var(--hdr-ink); }
.t1 .nav-call { --b-bg: var(--brand); --b-ink: #fff; --b-line: var(--brand); }
.t2 .nav-call { --b-bg: var(--t2-accent); --b-ink: #17130E; --b-line: var(--t2-accent); }
.t3 .nav-call { --b-bg: #fff; --b-ink: var(--brand-dark); --b-line: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; position: relative; z-index: 2; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 32px;
    padding: 90px var(--gutter) 40px; background: var(--hdr-solid); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 40px) 36px); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s;
  }
  .t1 .site-nav { background: #F6F2EB; } .t2 .site-nav { background: #17130E; } .t3 .site-nav { background: var(--brand); }
  .site-nav.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; transition: clip-path .8s var(--ease-io); }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: inline-block; font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
  .site-nav ul li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .site-nav.is-open ul li { opacity: 1; transform: none; }
  .site-nav.is-open ul li:nth-child(2) { transition-delay: .06s; } .site-nav.is-open ul li:nth-child(3) { transition-delay: .12s; }
  .site-nav.is-open ul li:nth-child(4) { transition-delay: .18s; } .site-nav.is-open ul li:nth-child(5) { transition-delay: .24s; }
  .site-nav.is-open ul li:nth-child(6) { transition-delay: .3s; } .site-nav.is-open .nav-call { transition-delay: .36s; }
  .site-nav { overflow-y: auto; overscroll-behavior: contain; }
  .site-nav ul a { padding: 2px 0; }
  .nav-call { align-self: flex-start; min-height: 56px; font-size: 1.1rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand { position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--sec-bg); color: var(--sec-ink); overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--topo-color); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(32px, 5vw, 72px); }
.kicker { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--f-script); color: var(--sec-accent); margin: 0 0 .5em; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.hero-logo { display: none; }
.hero-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 10px 18px 10px 10px; border-radius: calc(var(--radius) + 4px);
  background: var(--sec-card); color: var(--sec-ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35); max-width: 340px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .45); }
.hero-card img { width: 76px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.hero-card span { display: flex; flex-direction: column; font: 700 1rem/1.25 var(--f-display); }
.hero-card small { font: 500 .82rem var(--f-body); color: var(--sec-muted); margin-bottom: 2px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid currentColor; border-radius: 14px; opacity: .55; color: var(--sec-ink); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Hero – návrh 1: text vlevo, velká fotka práce vpravo */
.t1 .hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(80px, 9vw, 120px); }
.t1 .hero-bg { display: none; }
.t1 .hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
.t1 .hero-visual { position: relative; }
.t1 .hero-panel { position: relative; aspect-ratio: 1 / 1.08; border-radius: 40px; background: var(--brand); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(66, 52, 30, .55); }
.t1 .hero-panel-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 22px; top: 22px; width: 84px; height: 84px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.hero-badge .hero-mark { width: 52px; height: 52px; }
.t1 .hero-card { position: absolute; right: calc(var(--gutter) + 24%); bottom: -28px; }
@media (max-width: 900px) {
  .t1 .hero-grid { grid-template-columns: 1fr; }
  .t1 .hero-panel { aspect-ratio: 4 / 3.2; border-radius: 28px; }
  .hero-badge { width: 64px; height: 64px; left: 16px; top: 16px; }
  .hero-badge .hero-mark { width: 40px; height: 40px; }
  .t1 .hero-card { position: relative; right: auto; bottom: auto; margin-top: -60px; margin-left: 16px; }
}

/* Hero – návrh 2: fotka přes celou obrazovku */
.t2 .hero { min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 clamp(72px, 10vh, 120px); }
.t2 .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #17130E 2%, rgba(23, 19, 14, .72) 38%, rgba(23, 19, 14, .35) 72%, rgba(23, 19, 14, .55)); }
.t2 .hero-photo { transform: scale(1.06); }
.t2 .hero .topo { z-index: 1; color: rgba(205, 180, 138, .16); }
.t2 .hero-grid { grid-template-columns: 1fr auto; align-items: end; width: 100%; }
.t2 .hero h1 { font-size: clamp(3rem, 8vw, 7rem); max-width: 12ch; font-weight: 900; }
.t2 .hero-visual { display: none; }
.t2 .hero-card { background: rgba(33, 27, 20, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--sec-line); }
.t2 .scroll-cue, .t1 .scroll-cue { display: none; }
@media (max-width: 900px) { .t2 .hero-grid { grid-template-columns: 1fr; } }

/* Hero – návrh 3: velké logo uprostřed jako na vizitce */
.t3 .hero { min-height: 100svh; display: flex; align-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 110px; }
.t3 .hero-photo { display: none; }
.t3 .hero .topo { color: rgba(255, 255, 255, .13); }
.t3 .hero-grid { justify-items: center; }
.t3 .hero-copy { display: flex; flex-direction: column; align-items: center; }
.t3 .hero-logo { display: block; width: clamp(150px, 17vw, 240px); height: auto; color: #fff; margin-bottom: clamp(24px, 4vw, 44px); }
.t3 .hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 18ch; }
.t3 .lead { margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, .86); }
.t3 .hero-actions { justify-content: center; }
.t3 .hero-visual, .t3 .hero-card { display: none; }

/* Hero – návrh 4: fotka přes celou obrazovku, velký nadpis dole */
.t4 .hero { min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 clamp(56px, 9vh, 104px); color: #fff; }
.t4 .hero-bg { background: #1C1814; }
.t4 .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 14, 10, .82), rgba(18, 14, 10, .2) 55%, rgba(18, 14, 10, .35)); }
.t4 .hero-grid { grid-template-columns: 1fr; width: 100%; }
.t4 .hero h1 { font-size: clamp(3rem, 9.4vw, 8.6rem); line-height: .95; letter-spacing: -.035em; max-width: 13ch; color: #fff; }
.t4 .kicker { color: #fff; opacity: .9; }
.t4 .hero .lead { color: rgba(255, 255, 255, .86); }
.t4 .hero .btn-solid { --b-bg: #fff; --b-ink: var(--t4-ink); --b-line: #fff; }
.t4 .hero .btn-ghost { --b-ink: #fff; --b-line: rgba(255, 255, 255, .5); }
.t4 .hero .btn-ghost:hover { --b-line: #fff; }
.t4 .hero-visual, .t4 .hero-card { display: none; }
.t4 .scroll-cue { color: #fff; left: auto; right: var(--gutter); margin: 0; }
.js .t4 .hero-photo { clip-path: inset(9% 7% 9% 7%); transform: scale(1.22); }
.loaded .t4 .hero-photo { clip-path: inset(0 0 0 0); transform: scale(1.04); transition: clip-path 1.6s var(--ease-io), transform 2.6s var(--ease); }

/* návrh 4: služby jako velké střídající se řádky s fotkou */
.t4 .product-grid { grid-template-columns: 1fr; gap: clamp(48px, 7vw, 96px); }
.t4 .product a { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); background: none; border: 0; border-radius: 0; overflow: visible; }
.t4 .product a:hover { transform: none; box-shadow: none; }
.t4 .product:nth-child(even) .product-img { order: 2; }
.t4 .product-img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.t4 .product-body { padding: 0; }
.t4 .product h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.025em; }
.t4 .product-text { font-size: 1.12rem; flex: none; max-width: 42ch; }
@media (max-width: 760px) {
  .t4 .product a { grid-template-columns: 1fr; gap: 18px; }
  .t4 .product:nth-child(even) .product-img { order: 0; }
}

/* návrh 4: galerie realizací jezdí do strany */
.t4 .work { overflow: visible; }
.hscroll-sticky { overflow-x: auto; }
.hscroll.is-active .hscroll-sticky { overflow: hidden; }
.t4 .work-featured { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.t4 .work-featured .work-card { width: clamp(280px, 34vw, 520px); flex: none; }
.t4 .work-featured .is-wide { width: clamp(320px, 52vw, 820px); }
.t4 .work-featured .work-img, .t4 .work-featured .is-wide .work-img { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
.hscroll.is-active { position: relative; }
.hscroll.is-active .hscroll-sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.hscroll.is-active .work-featured { will-change: transform; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hscroll-sticky { overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .hscroll-sticky::-webkit-scrollbar { display: none; }
  .t4 .work-featured .work-card { width: 78vw; scroll-snap-align: start; }
  .t4 .work-featured .is-wide { width: 86vw; }
}

/* ---------- pás se službami ---------- */
.marquee { overflow: hidden; background: var(--brand); color: #fff; padding: 20px 0; position: relative; }
.t2 .marquee { background: #CDB48A; color: #17130E; }
.t3 .marquee { background: #FBF8F2; color: var(--brand-dark); }
.t4 .marquee { background: #1C1814; color: #F2ECE2; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font: 800 clamp(1.5rem, 3vw, 2.5rem)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.marquee-mark { width: 30px; height: 30px; opacity: .8; flex: none; }
.no-js .marquee-track, .reduce-motion .marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- prodej ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.shop-card { display: flex; flex-direction: column; background: var(--sec-card); border: 1px solid var(--sec-line); border-radius: var(--radius); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.shop-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .4); }
.shop-card.is-sold { opacity: .6; }
.shop-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.shop-card:hover .shop-img img { transform: scale(1.06); }
.stock { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 700 .8rem var(--f-display); background: #E3F1E6; color: #1F5A35; white-space: nowrap; vertical-align: middle; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-objednavka { background: #FFF1C9; color: #7A5600; }
.stock-vyprodano { background: #ECE7DD; color: #6A5F4D; }
.shop-img .stock { position: absolute; left: 12px; top: 12px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.shop-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.shop-body h3 { margin: 0; font-size: 1.3rem; }
.shop-body h3 a { text-decoration: none; }
.shop-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.shop-spec { margin: 0; display: grid; gap: 4px; font-size: .95rem; }
.shop-spec div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.shop-spec dt { color: var(--sec-muted); }
.shop-spec dd { margin: 0; font-weight: 600; }
.shop-price { margin: auto 0 0; padding-top: 6px; font: 900 1.55rem/1.1 var(--f-display); color: var(--sec-accent); letter-spacing: -.01em; }
.shop-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: .93rem; flex: 1; }
.shop-detail-price { font: 900 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--f-display); color: var(--sec-accent); display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.shop-note { display: block; margin-top: 12px; color: var(--sec-muted); font-size: .9rem; }
.how-buy { margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); }
.how-buy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.how-buy ol { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-buy li { display: flex; gap: 14px; align-items: flex-start; color: var(--sec-muted); }
.how-buy li span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sec-accent); color: var(--sec-on-accent); font: 800 1rem var(--f-display); }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr 1fr; } .how-buy ol { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .shop-grid { grid-template-columns: 1fr; } }

/* ---------- dřeviny ---------- */
.wood-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.wood { display: flex; align-items: center; gap: 20px; padding: 18px; border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); }
.wood-swatch { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 10px 24px -14px rgba(0, 0, 0, .5); }
.t3 .wood-swatch, .t4 .wood-swatch { border-radius: var(--radius); }
.wood-swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wood:hover .wood-swatch img { transform: scale(1.15) rotate(8deg); }
.wood h3 { margin: 0 0 4px; }
.wood p { margin: 0; color: var(--sec-muted); font-size: .97rem; }
@media (max-width: 960px) { .wood-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wood-grid { grid-template-columns: 1fr; } .wood-swatch { width: 76px; height: 76px; } }

/* ---------- recenze ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.review { margin: 0; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font: 600 1.12rem/1.5 var(--f-body); }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; }
.review figcaption span { color: var(--sec-muted); font-size: .93rem; }

/* ---------- o nás ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 104px); align-items: center; }
.about-figure { position: relative; margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.script-note { position: absolute; right: -10px; bottom: 26px; font: 600 1.6rem/1 var(--f-script); background: var(--sec-accent); color: var(--sec-on-accent); padding: 10px 18px 12px; border-radius: var(--radius-sm); transform: rotate(-4deg); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
.about .prose { font-size: 1.12rem; color: var(--sec-muted); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.person { padding: 22px; border-radius: var(--radius-sm); background: var(--sec-card); border: 1px solid var(--sec-line); }
.person-name { font: 800 1.2rem/1.2 var(--f-display); margin: 0 0 2px; }
.person-role { font: 600 1.25rem/1.1 var(--f-script); color: var(--sec-accent); margin: 0 0 10px; }
.person-text { color: var(--sec-muted); font-size: .97rem; margin: 0; }
.quote { margin: 0; padding-left: 22px; border-left: 3px solid var(--sec-accent); }
.quote p { font: 700 clamp(1.25rem, 2vw, 1.55rem)/1.35 var(--f-display); margin: 0; max-width: 34ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(56px, 8vw, 104px) 0 0; border-top: 1px solid var(--sec-line); }
.fact { display: flex; flex-direction: column-reverse; padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--sec-line); }
.fact dd { margin: 0; font: 900 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--sec-accent); font-variant-numeric: tabular-nums; }
.fact dt { color: var(--sec-muted); margin-top: 8px; }
.t3 .script-note { background: #fff; color: var(--brand-dark); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure img { aspect-ratio: 4 / 3; }
  .script-note { right: 12px; }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--sec-line); }
  .fact { padding: 20px 0; }
}

/* ---------- co vyrábíme ---------- */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.product a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--sec-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sec-line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.product a:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.product-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.product a:hover .product-img img { transform: scale(1.06); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.product h3 { margin: 0; font-size: 1.4rem; }
.product-text { color: var(--sec-muted); flex: 1; }
.product-more { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--f-display); color: var(--sec-accent); margin-top: 6px; }
.product-more .ico { transition: transform .4s var(--ease); }
.product a:hover .product-more .ico { transform: translateX(5px); }
.t3 .product a { border: 0; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

/* Návrh 2: služby jako elegantní seznam s náhledem fotky */
@media (min-width: 761px) {
  .t2 .product-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--sec-line); }
  .t2 .product a { display: grid; grid-template-columns: 1.1fr 1.4fr 220px; align-items: center; gap: 32px; padding: 26px 0; background: none; border: 0; border-bottom: 1px solid var(--sec-line); border-radius: 0; overflow: visible; }
  .t2 .product a:hover { transform: none; box-shadow: none; }
  .t2 .product-img { order: 3; aspect-ratio: 4 / 3; border-radius: var(--radius); opacity: .55; transform: scale(.92); transition: opacity .5s, transform .7s var(--ease); }
  .t2 .product a:hover .product-img { opacity: 1; transform: none; }
  .t2 .product-body { display: contents; }
  .t2 .product h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; transition: color .3s, transform .6s var(--ease); }
  .t2 .product a:hover h3 { color: var(--sec-accent); transform: translateX(10px); }
  .t2 .product-more { display: none; }
}

/* ---------- realizace ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.work-featured .is-wide { grid-column: span 2; grid-row: span 2; }
.work-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.work-img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sec-card); }
.is-wide .work-img { aspect-ratio: auto; flex: 1; min-height: 340px; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card a:hover .work-img img { transform: scale(1.06); }
.work-text { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; }
.work-title { font: 800 1.2rem/1.25 var(--f-display); }
.is-wide .work-title { font-size: 1.5rem; }
.work-meta { color: var(--sec-muted); font-size: .95rem; }
/* návrh 2: popisky přes fotku */
.t2 .work-card a { position: relative; }
.t2 .work-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(transparent, rgba(14, 11, 8, .85)); pointer-events: none; }
.t2 .work-img { aspect-ratio: 4 / 3.4; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-featured .is-wide { grid-row: auto; }
  .is-wide .work-img { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-featured .is-wide { grid-column: auto; }
  .is-wide .work-img { aspect-ratio: 4 / 3; }
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--sec-line); text-decoration: none; font: 700 .95rem var(--f-display); transition: background-color .3s, color .3s, border-color .3s; }
.filter span { font-size: .78rem; opacity: .6; }
.filter:hover { border-color: var(--sec-ink); }
.filter[aria-current] { background: var(--sec-accent); border-color: var(--sec-accent); color: var(--sec-on-accent); }
.work-card.is-leaving { opacity: 0; transform: scale(.96); transition: opacity .25s, transform .25s; }
.cta-band { margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band p { margin: 0; font: 800 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--f-display); max-width: 30ch; }
.empty { color: var(--sec-muted); font-size: 1.1rem; }

/* ---------- proč my ---------- */
.topo-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--topo-c, rgba(255, 255, 255, .08)); -webkit-mask: url(../img/topo.svg) center / cover no-repeat; mask: url(../img/topo.svg) center / cover no-repeat; }
.topo-why { --topo-c: rgba(255, 255, 255, .09); }
.topo-footer { --topo-c: rgba(255, 255, 255, .05); z-index: -1; }
.topo-head { --topo-c: var(--topo-color); z-index: -1; }
.why .wrap { position: relative; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--sec-line); }
.why-item { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--sec-line); }
.why-item:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--sec-line); }
.why-mark { width: 30px; height: 30px; color: var(--sec-accent); margin-bottom: 18px; opacity: .9; }
.why-item h3 { margin-bottom: .35em; }
.why-item p { color: var(--sec-muted); margin: 0; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .why-item:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--sec-line); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- postup ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--sec-accent); opacity: .5; transform-origin: left; }
.js .steps::before { transform: scaleX(0); transition: transform 1.8s var(--ease-io) .2s; }
.js .steps.is-in::before { transform: scaleX(1); }
.step { position: relative; }
.step-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: var(--sec-accent); color: var(--sec-on-accent); font: 900 1.35rem var(--f-display); box-shadow: 0 0 0 8px var(--sec-bg); }
.t3 .step-num, .t2 .step-num { border-radius: var(--radius-sm); }
.t3 .step-num { border-radius: 50%; }
.step p { color: var(--sec-muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; transform-origin: top; }
  .js .steps::before { transform: scaleY(0); }
  .js .steps.is-in::before { transform: scaleY(1); }
  .step { padding-left: 80px; min-height: 56px; }
  .step-num { position: absolute; left: 0; top: 0; }
}

/* ---------- časté dotazy ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro p { color: var(--sec-muted); font-size: 1.1rem; }
.faq-intro a { color: var(--sec-ink); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--sec-line); }
.faq-item:first-child { border-top: 1px solid var(--sec-line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 1.15rem/1.35 var(--f-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { width: 28px; height: 28px; padding: 4px; border-radius: 50%; border: 1.5px solid var(--sec-line); transition: transform .5s var(--ease), background-color .3s; }
.faq-item[open] summary .ico { transform: rotate(45deg); background: var(--sec-accent); color: var(--sec-on-accent); border-color: var(--sec-accent); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--sec-muted); padding: 0 48px 24px 0; margin: 0; max-width: 62ch; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}

/* ---------- kontakt ---------- */
.contact-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.contact-head p { color: var(--sec-muted); font-size: 1.15rem; }
.big-phone { display: inline-flex; align-items: center; gap: .35em; margin-top: 12px; font: 900 clamp(2rem, 5.5vw, 3.6rem)/1.1 var(--f-display); letter-spacing: -.02em; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .6s var(--ease); }
.big-phone:hover { background-size: 100% 3px; }
.big-phone .ico { width: .8em; height: .8em; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); text-decoration: none; transition: transform .5s var(--ease), background-color .3s; }
a.c-card:hover { transform: translateY(-4px); }
.c-card .ico { width: 26px; height: 26px; margin-bottom: 6px; color: var(--sec-accent); }
.c-label { font-size: .9rem; color: var(--sec-muted); }
.c-value { font: 700 1.05rem/1.4 var(--f-display); overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sec-line); background: var(--sec-card); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-ph { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; }
.map-ph p { margin: 0; color: var(--sec-muted); font-size: .95rem; }
.map-ph a { font-size: .93rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- podstránky ---------- */
.page-head { position: relative; background: var(--page-head-bg); color: var(--page-head-ink); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: clip; isolation: isolate; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); max-width: 18ch; }
.page-head .lead { color: var(--page-head-muted); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 .92rem var(--f-display); color: var(--page-head-muted); margin-bottom: 18px; }
.crumbs a { color: var(--page-head-muted); text-decoration: none; }
.crumbs a:hover { color: var(--page-head-ink); text-decoration: underline; }
.page-head + .sec { padding-top: clamp(48px, 6vw, 80px); }
.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--sec-card); }
.g-item.is-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); }
.spec { margin: 0 0 24px; }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--sec-line); }
.spec div:first-child { border-top: 1px solid var(--sec-line); }
.spec dt { color: var(--sec-muted); }
.spec dd { margin: 0; font-weight: 600; }
.detail-cta { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); }
.detail-cta p { font: 800 1.25rem var(--f-display); margin-bottom: 14px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.pager-link { display: flex; flex-direction: column; gap: 4px; max-width: 48%; padding-top: 18px; border-top: 2px solid var(--sec-ink); text-decoration: none; font: 800 1.2rem/1.25 var(--f-display); transition: color .3s; }
.pager-link small { font: 500 .9rem var(--f-body); color: var(--sec-muted); }
.pager-link:hover { color: var(--sec-accent); }
.pager-next { margin-left: auto; text-align: right; }
.legal { max-width: calc(72ch + var(--gutter) * 2); margin: 0; }
.legal h2 { font-size: 1.7rem; margin-top: 1.5em; }
.legal h2:first-child { margin-top: 0; }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- patička ---------- */
.site-footer { position: relative; background: var(--footer-bg); color: var(--footer-muted); padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: clip; isolation: isolate; font-size: .98rem; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-logo { width: 150px; height: auto; color: var(--footer-ink); margin-bottom: 18px; }
.footer-brand p { max-width: 32ch; }
.footer-head { font: 800 1rem var(--f-display); color: var(--footer-ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-credit { opacity: .75; white-space: nowrap; }
.footer-credit a { color: inherit; text-underline-offset: 3px; }
.footer-credit a:hover { opacity: 1; color: #fff; }
@media (max-width: 600px) { .footer-credit { display: block; margin-top: 4px; } .footer-dot { display: none; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- rychlé akce na mobilu ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 18px; background: rgba(43, 36, 25, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 13px; color: #fff; text-decoration: none; font: 700 1rem var(--f-display); }
  .quickbar .quick-call { background: var(--brand); }
  .t2 .quickbar .quick-call { background: #CDB48A; color: #17130E; }
  .site-footer { padding-bottom: 110px; }
}

/* ---------- prohlížeč fotek ---------- */
.lightbox { padding: 0; border: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(12, 9, 6, .94); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .4s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; object-fit: contain; border-radius: 4px; animation: lb-img .5s var(--ease); }
@keyframes lb-img { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { font-size: .95rem; opacity: .7; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color .25s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -27px; }
.lb-next { right: 16px; top: 50%; margin-top: -27px; }

/* ---------- přepínač náhledu návrhů ---------- */
.preview-bar { position: fixed; z-index: 70; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; color: #2B2419; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .45); font: 700 .88rem var(--f-display); white-space: nowrap; }
.preview-bar span { padding: 0 10px 0 12px; color: #6A5F4D; font-weight: 600; }
.preview-bar a { padding: 9px 14px; border-radius: 999px; text-decoration: none; }
.preview-bar a[aria-current] { background: var(--brand); color: #fff; }
@media (max-width: 760px) { .preview-bar { bottom: auto; top: calc(var(--header-h) + 6px); font-size: .8rem; } .preview-bar a { padding: 7px 11px; } .preview-bar span { display: none; } }

/* ==========================================================================
   ANIMACE
   ========================================================================== */
/* úvodní sekvence */
.js [data-intro] { opacity: 0; transform: translateY(26px); }
.loaded [data-intro] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.loaded [data-intro="2"] { transition-delay: .12s; }
.loaded [data-intro="3"] { transition-delay: .24s; }
.loaded [data-intro="4"] { transition-delay: .36s; }
.loaded [data-intro="5"] { transition-delay: .9s; }
.js .hero-panel { opacity: 0; transform: scale(.94); }
.loaded .hero-panel { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .15s, transform 1.6s var(--ease) .15s; }
.js .hero-mark { clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%); }
.loaded .hero-mark { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path 1.7s var(--ease-io) .35s; }
.js .hero-logo { clip-path: inset(0 0 100% 0); }
.loaded .hero-logo { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-io) .1s; }
.js .t2 .hero-photo { transform: scale(1.14); opacity: 0; }
.loaded .t2 .hero-photo { transform: scale(1.06); opacity: 1; transition: opacity 1.4s var(--ease), transform 2.4s var(--ease); }

/* vrstevnice se „nakreslí“ */
.topo path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .topo path { stroke-dashoffset: 1; }
.js .topo.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 3.2s var(--ease-io); }
.js .topo.is-drawn path:nth-child(3n + 1) { transition-delay: .15s; }
.js .topo.is-drawn path:nth-child(3n + 2) { transition-delay: .45s; transition-duration: 3.8s; }
.js .topo.is-drawn path:nth-child(5n) { transition-delay: .75s; }

/* odhalování při rolování */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) calc(var(--i, 0) * 90ms), transform 1.1s var(--ease) calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"] { transform: none; opacity: 1; clip-path: inset(14% 8% 14% 8% round var(--radius)); transition: clip-path 1.4s var(--ease-io) calc(var(--i, 0) * 90ms); }
.js [data-reveal="img"] img { transform: scale(1.18); transition: transform 1.8s var(--ease) calc(var(--i, 0) * 90ms); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="img"].is-in img { transform: none; }
.js .about-figure.is-in .script-note { animation: note-in .8s var(--ease) .9s both; }
@keyframes note-in { from { opacity: 0; transform: rotate(-12deg) scale(.7); } to { opacity: 1; transform: rotate(-4deg); } }
.js [data-reveal="line"] { opacity: 1; transform: none; }

/* text po slovech */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease) calc(var(--wi, 0) * 55ms + var(--i, 0) * 90ms); }
.js [data-reveal].split, .js [data-intro].split { opacity: 1; transform: none; }
.split.is-in .w > span, .loaded [data-intro].split .w > span { transform: none; }
.loaded [data-intro="2"].split .w > span { transition-delay: calc(var(--wi, 0) * 70ms + .1s); }
/* paralaxa fotek uvnitř rámečků */
.motion [data-px] { scale: 1.14; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-intro], .js [data-reveal], .js .hero-panel { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="img"], .js .hero-mark, .js .hero-logo { clip-path: none !important; }
  .js .topo path { stroke-dashoffset: 0 !important; }
  .split .w > span { transform: none !important; }
}

@media print {
  .site-header, .quickbar, .preview-bar, .map, .scroll-cue, .topo { display: none !important; }
  .sec, .hero, .page-head { background: #fff !important; color: #000 !important; padding: 24px 0 !important; }
  .js [data-reveal], .js [data-intro] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
