/* Barlow (text) a Barlow Semi Condensed (nadpisy), self-hostované z Google Fonts.
   Postup stažení a ořezu viz README.md. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-semi-condensed-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-semi-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-semi-condensed-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-semi-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10261d;
  --ink-soft: #1a382b;
  --paper: #f3f1e9;
  --paper-deep: #e9e4d7;
  --lime: #d8f36b;
  --lime-dark: #a9c13d;
  --white: #fffef8;
  --muted: #66736c;
  --line: rgba(16, 38, 29, .14);
  --shadow: 0 24px 70px rgba(15, 31, 24, .14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--lime); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* Viditelný fokus pro klávesnici. Výchozí obrys prohlížeče je na .section-dark špatně čitelný. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.contact-section :focus-visible { outline-color: var(--ink); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { background: rgba(243, 241, 233, .96); border-color: var(--line); backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(16, 38, 29, .08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; letter-spacing: -.01em; }
.brand strong { font-weight: 700; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { text-decoration: none; font-weight: 700; font-size: 14px; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--ink); transition: right .2s ease; }
.site-nav > a:not(.button):hover::after, .site-nav > a[aria-current="page"]::after { right: 0; }
.menu-button { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 11px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 24px; border: 1px solid var(--lime); border-radius: 999px; background: var(--lime); color: var(--ink); text-decoration: none; font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(169, 193, 61, .2); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(169, 193, 61, .28); background: #e2fa84; }
.button-small { min-height: 44px; padding-inline: 20px; }
.button-full { width: 100%; }
.text-link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.hero { position: relative; min-height: 800px; padding: 160px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 580px; height: 580px; border-radius: 50%; background: radial-gradient(circle, rgba(216,243,107,.36), rgba(216,243,107,0) 68%); right: -150px; top: -100px; }
.hero-pattern { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black 0, transparent 88%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 78px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .price-value { font-family: "Barlow Semi Condensed", Barlow, ui-sans-serif, system-ui, sans-serif; font-weight: 700; }
h1 { margin-bottom: 26px; max-width: 760px; font-size: clamp(60px, 7.8vw, 112px); line-height: .94; letter-spacing: -.015em; }
h1 em { color: var(--ink-soft); font-style: normal; font-weight: 600; }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: #43534b; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 44px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 12px; }
.hero-visual { min-width: 0; }
.tree-card { position: relative; aspect-ratio: 4 / 5; min-height: 560px; border-radius: 190px 190px 34px 34px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.tree-card picture { display: contents; }
.tree-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-label { position: absolute; right: 24px; bottom: 24px; width: 220px; padding: 18px; border-radius: 18px; background: rgba(255,254,248,.94); backdrop-filter: blur(10px); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.visual-label span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: 12px; font-weight: 700; }
.visual-label .visual-heart { font-size: 18px; line-height: 1; }
.visual-label strong { line-height: 1.2; font-size: 14px; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.24); }
.trust-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid span { padding: 10px 20px; text-align: center; font-weight: 700; font-size: 14px; }
.trust-grid span + span { border-left: 1px solid var(--line); }

.section { padding: 130px 0; }
.section-heading { max-width: 760px; margin-bottom: 60px; }
h2 { margin-bottom: 22px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1; letter-spacing: -.015em; }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 310px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,248,.55); display: flex; flex-direction: column; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 18px 40px rgba(16,38,29,.08); }
.service-number { margin-bottom: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.service-card h3 { margin: 38px 0 12px; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.service-card p { color: var(--muted); }
.service-tag { align-self: flex-start; margin-top: auto; padding: 7px 11px; border-radius: 999px; background: var(--paper-deep); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.service-card-accent { background: var(--lime); border-color: var(--lime-dark); justify-content: flex-end; }
.service-card-accent:hover { background: #e2fa84; }
.service-card-accent .eyebrow { color: var(--ink-soft); }
.service-card-accent h3 { margin-top: 10px; }

.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow, .section-dark .section-heading > p:last-child { color: #aebdb5; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.process-copy { display: grid; gap: 34px; }
.process-copy .section-heading { margin-bottom: 0; }
.process-photo, .about-photo { position: relative; overflow: hidden; background: var(--paper-deep); box-shadow: var(--shadow); }
.process-photo { max-width: 520px; border-radius: 28px; aspect-ratio: 4 / 3; }
.process-photo picture, .about-photo picture { display: contents; }
.process-photo img, .about-photo img { width: 100%; height: 100%; object-fit: cover; }
.process-photo figcaption, .about-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255,254,248,.92); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.25; backdrop-filter: blur(10px); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.process-list li > span { width: 50px; height: 50px; border: 1px solid rgba(216,243,107,.5); border-radius: 50%; display: grid; place-items: center; color: var(--lime); font-weight: 700; }
.process-list h3 { margin: 2px 0 6px; font-size: 24px; letter-spacing: -.01em; }
.process-list p { margin: 0; color: #aebdb5; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 32px; }
/* Ořez 4:3 a 4:5 je zapečený přímo v souborech v assets/ (viz assets/originals/). */
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.about-values div { padding-top: 18px; border-top: 2px solid var(--ink); }
.about-values strong, .about-values span { display: block; }
.about-values span { margin-top: 5px; color: var(--muted); font-size: 13px; }

.contact-section { padding: 120px 0; background: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 600px; font-size: 18px; }
.contact-details { display: grid; gap: 12px; margin-top: 42px; }
.contact-details a, .contact-details div { padding: 16px 0; border-bottom: 1px solid rgba(16,38,29,.25); text-decoration: none; display: flex; justify-content: space-between; gap: 20px; }
.contact-details small { text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }
.contact-form { padding: 34px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; font-weight: 700; font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #f8f7f2; padding: 14px 16px; color: var(--ink); outline: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(216,243,107,.5); }
.contact-form .button { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.site-footer { padding: 30px 0; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand-footer { color: var(--white); }
.footer-grid p { margin: 0; color: #aebdb5; font-size: 13px; text-align: center; }
.footer-grid p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }
.footer-grid > a:last-child { justify-self: end; font-weight: 700; }

/* --- Formulář: fotky, honeypot, stav odeslání --- */
.form-photos { margin-bottom: 18px; }
.form-photos-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.form-photos-label span { color: var(--muted); font-weight: 600; }
.form-photos input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--line); border-radius: 14px; background: #f8f7f2; font-size: 14px; }
.form-photos input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; cursor: pointer; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.photo-previews li { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--paper-deep); }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(16,38,29,.82); color: var(--white); font-size: 13px; line-height: 1; cursor: pointer; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-noscript { padding: 18px 20px; margin: 0 0 18px; border-radius: 14px; background: var(--white); font-size: 15px; font-weight: 700; }
.form-status { margin: 12px 0 0; font-size: 14px; font-weight: 700; text-align: center; }
.form-status:empty { margin: 0; }
.form-status[data-state="error"] { color: #8d2f22; }
.form-status[data-state="ok"] { color: #1d6b3f; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }

.button-ghost { background: transparent; border-color: var(--ink); box-shadow: none; }
.button-ghost:hover { background: var(--ink); color: var(--lime); box-shadow: none; }

/* --- Orientační ceny --- */
.section-prices { background: var(--paper-deep); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.price-value { margin: 0 0 12px; font-size: 32px; letter-spacing: -.01em; }
.price-card > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Galerie z práce --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { margin: 0; }
.gallery-photo { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-deep); box-shadow: 0 10px 30px rgba(16,38,29,.08); }
.gallery-photo picture { display: contents; }
.gallery-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s ease; }
.gallery-photo:hover img, .gallery-photo:focus-visible img { transform: scale(1.03); }
.gallery-item figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
/* Lightbox galerie (vytváří script.js) */
body.lightbox-open { overflow: hidden; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(8, 20, 15, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .2s ease-out; }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 72px 56px; max-width: 100%; max-height: 100%; }
.lightbox-image { max-width: min(100%, 960px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.lightbox-caption { font-weight: 700; font-size: 15px; text-align: center; }
.lightbox-counter { position: fixed; top: 22px; left: 24px; margin: 0; font-size: 14px; font-weight: 700; opacity: .75; }
.lightbox-close, .lightbox-nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,254,248,.25); border-radius: 50%; background: rgba(255,254,248,.1); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; transition: background .15s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,254,248,.22); }
.lightbox-close { top: 14px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
/* --- Mapa (mapa.html) --- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.map-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-deep); box-shadow: var(--shadow); }
.map-canvas { height: min(680px, 72vh); min-height: 420px; background: #e7eadf; font-family: inherit; }
.map-canvas.map-no-tiles { background: #eef0e6; }
.map-status { position: absolute; inset: auto 16px 16px 16px; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,254,248,.94); font-weight: 700; font-size: 14px; z-index: 500; }
.map-status[hidden] { display: none; }
.map-side { display: grid; gap: 18px; }
.map-panel { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.map-panel h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.1; letter-spacing: -.01em; }
.district-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.district-list li { padding: 6px 12px; border-radius: 999px; background: var(--lime); font-weight: 700; font-size: 14px; }
.job-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; max-height: 420px; overflow-y: auto; }
.job-item { display: grid; gap: 2px; width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.job-item:hover, .job-item:focus-visible { background: var(--paper); }
.job-meta { color: var(--muted); font-size: 13px; }
.map-empty { margin: 0; color: var(--muted); font-size: 15px; }
.district-label { padding: 0; border: 0; background: none; box-shadow: none; color: var(--ink); font-family: "Barlow Semi Condensed", Barlow, sans-serif; font-weight: 700; font-size: 14px; text-shadow: 0 0 3px var(--white), 0 0 6px var(--white); }
.district-label::before { display: none; }
.map-canvas .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; font-size: 20px; }
.map-logo { display: block; }
.map-logo img { height: 28px; width: auto; }
.leaflet-container a.leaflet-popup-close-button { width: 32px; height: 32px; font-size: 22px; line-height: 30px; }
.leaflet-popup-content-wrapper { border-radius: 16px; }
.leaflet-popup-content { margin: 16px 18px; font-family: Barlow, sans-serif; font-size: 14px; line-height: 1.4; }
.job-popup-list { display: grid; gap: 10px; }
.job-place { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.job-popup { display: grid; gap: 2px; }
.job-popup strong { font-size: 16px; }
.job-popup p { margin: 4px 0 0; }
.footer-version { margin-left: 8px; font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 12px; opacity: .7; }

.process-gallery-link { justify-self: start; color: var(--white); }
.page-top { padding-top: 170px; }
.page-title { margin-bottom: 22px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1; }
.gallery-cta .section-heading { margin-bottom: 30px; }
.gallery-cta p:last-child { margin-bottom: 0; }

/* --- Reference --- */
.section-reviews { background: var(--paper-deep); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(16,38,29,.06); }
.review-card blockquote { margin: 0 0 20px; }
.review-card blockquote p { margin: 0; font-size: 17px; }
.review-card blockquote p::before { content: "„"; }
.review-card blockquote p::after { content: "“"; }
.review-card figcaption { font-weight: 700; font-size: 14px; }
.review-card figcaption span { display: block; margin-top: 3px; color: var(--muted); font-weight: 600; }
.review-more { margin: 34px 0 0; }

/* --- Lepivá mobilní CTA lišta (odkrývá ji script.js po opuštění hero sekce) --- */
.mobile-cta { display: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: 140px; }
  .hero-grid, .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .tree-card { min-height: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .map-layout { grid-template-columns: 1fr; }
  .map-canvas { height: 62vh; min-height: 360px; }
  .about-photo { max-width: 500px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid .brand, .footer-grid > a:last-child { justify-self: center; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header.is-scrolled { background: var(--paper); }
  body.menu-open .site-header { inset: 0; min-height: 100svh; background: var(--paper); border-color: var(--line); box-shadow: none; backdrop-filter: none; overflow: hidden; }
  .nav-wrap { min-height: 72px; }
  body.menu-open .nav-wrap { align-items: flex-start; }
  .brand { position: relative; z-index: 4; }
  .menu-button { display: block; position: relative; z-index: 3; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 72px 0 0; min-height: calc(100svh - 72px); padding: 48px 28px 40px; background: var(--paper); display: flex; flex-direction: column; align-items: stretch; gap: 8px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; pointer-events: none; z-index: 2; }
  .site-nav.is-open { transform: translateX(0); pointer-events: auto; }
  .site-nav > a { padding: 16px; font-size: 22px; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 20px; border: 0; font-size: 16px; }
  .hero { padding: 120px 0 65px; }
  h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .tree-card { min-height: 450px; border-radius: 130px 130px 28px 28px; }
  .visual-label { width: min(210px, calc(100% - 34px)); right: 17px; bottom: 17px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 12px 0; }
  .trust-grid span { padding: 12px 8px; }
  .trust-grid span + span { border-left: 0; }
  .section { padding: 90px 0; }
  .page-top { padding-top: 120px; }
  .lightbox-figure { padding: 70px 12px 90px; }
  .lightbox-image { max-height: calc(100dvh - 190px); }
  .lightbox-nav { top: auto; bottom: 18px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .about-values { grid-template-columns: 1fr; }
  .contact-section { padding: 90px 0; }
  .contact-details a, .contact-details div { flex-direction: column; gap: 3px; }
  .contact-form { padding: 24px; }
  .price-grid, .review-grid { grid-template-columns: 1fr; }

  /* Lepivá lišta: telefon je u řemeslných služeb hlavní konverzní kanál. */
  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(243, 241, 233, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(16, 38, 29, .1);
    backdrop-filter: blur(14px);
  }
  .mobile-cta[hidden] { display: none; }
  .mobile-cta a { display: grid; place-items: center; gap: 2px; padding: 9px 4px; border-radius: 14px; text-decoration: none; font-size: 12px; font-weight: 700; }
  .mobile-cta a span { font-size: 17px; }
  .mobile-cta-primary { background: var(--lime); }
  body.menu-open .mobile-cta { display: none; }
  /* Aby lišta nepřekrývala konec patičky (lišta měří cca 83 px + safe-area). */
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
