/* ==========================================================================
   DS Zeleň – styly
   Barvy: lesní zeleň + reflexní limetka (hi-vis), motiv letokruhů
   ========================================================================== */

@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; src: url(/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --forest-950: #0a1b12;
  --forest-900: #10281b;
  --forest-800: #173622;
  --forest-700: #1f4a2e;
  --moss: #3d7a4b;
  --sage: #9dbba5;
  --lime: #c8f03c;
  --lime-600: #a8d21c;
  --cream: #f3f1e7;
  --paper: #fbfaf4;
  --ink: #13211a;
  --muted: #56665c;
  --line: #dde2d3;
  --r: 18px;
  --r-lg: 30px;
  --shadow: 0 24px 60px -28px rgba(10, 27, 18, .45);
  --font-d: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --font-b: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 750; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--forest-900); padding: .6em 1em; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.35em; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; line-height: 1.2; }
.btn .ico { transition: transform .2s; }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--forest-950); box-shadow: 0 10px 30px -12px rgba(200, 240, 60, .7); }
.btn-lime:hover { background: #d6f95a; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--forest-900); color: #fff; }
.btn-dark:hover { background: var(--forest-700); }

/* ---------- hlavička ---------- */
/* backdrop-filter je na ::before – přímo na hlavičce by z ní udělal „kontejner“ pro position:fixed a mobilní menu by se zmenšilo na výšku hlavičky */
.site-header { position: sticky; top: 0; z-index: 50; color: #fff; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 40, 27, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .3s; }
.site-header.scrolled::before, .nav-open .site-header::before { background: rgba(10, 27, 18, .97); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo-mark { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-footer .logo-mark { width: 88px; height: 88px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--font-d); font-size: 1.4rem; letter-spacing: -.02em; }
.logo-text small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-top: 3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav > ul { display: flex; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; white-space: nowrap; padding: .5em .9em; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: .97rem; color: rgba(255, 255, 255, .88); transition: background .2s, color .2s; }
.nav > ul > li > a:hover, .nav a[aria-current="page"] { color: var(--lime); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; opacity: .7; }
.sub { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 290px; background: #fff; color: var(--ink); border-radius: var(--r); padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; }
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: .7em .9em; border-radius: 12px; text-decoration: none; font-weight: 550; font-size: .95rem; }
.sub a .ico { color: var(--moss); width: 1.3em; height: 1.3em; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); color: var(--forest-900); }
.nav-phone { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-weight: 650; color: #fff; font-size: .97rem; }
.nav-phone .ico { color: var(--lime); }
.nav-actions { display: flex; align-items: center; }
.nav-cta { display: none; }
.header-cta { padding: .7em 1.2em; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, var(--forest-700) 0%, var(--forest-900) 45%, var(--forest-950) 100%); color: #fff; overflow: hidden; isolation: isolate; }
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px)); }
.rings { position: absolute; z-index: -1; width: min(1100px, 130vw); right: -22%; top: -30%; fill: none; stroke: rgba(200, 240, 60, .09); stroke-width: 1.3; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.2em; }
.eyebrow.dark { color: var(--moss); }
.hl { color: var(--forest-950); background: linear-gradient(transparent 8%, var(--lime) 8%, var(--lime) 92%, transparent 92%); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 4px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .8); max-width: 38em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 2.2em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero-points li { display: flex; align-items: center; gap: .5em; }
.hero-points .ico { color: var(--lime); }

.hero-media { position: relative; padding: 0 0 40px 40px; }
.hero-main { border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; border: 6px solid rgba(255, 255, 255, .06); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-small { position: absolute; left: -10px; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--forest-900); box-shadow: var(--shadow); }
.hero-small img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-badge { position: absolute; right: -14px; bottom: 90px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.hero-badge b { display: block; font-family: var(--font-d); font-size: 1.02rem; line-height: 1.2; }
.hero-badge small { color: var(--muted); font-size: .8rem; }
.hero-badge-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: var(--forest-900); }
.hero-badge-ico .ico { width: 24px; height: 24px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- ticker ---------- */
/* obal ořízne natočený pruh na šířku displeje (jinak by stránka šla na mobilu posouvat do strany);
   vnitřní odsazení nechává místo pro šikmé konce a stín */
.ticker-wrap { position: relative; z-index: 2; overflow: hidden; margin: -48px 0 -30px; padding: 26px 0 30px; }
.ticker { background: var(--lime); color: var(--forest-950); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -10px; position: relative; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .25); }
/* Dvě identické poloviny, posun přesně o jednu (−50 %). Mezery jsou margin uvnitř položek, ne gap – jinak by smyčka poskočila. */
.ticker-track { display: flex; width: max-content; animation: tick 110s linear infinite; font-family: var(--font-d); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; }
.ticker-group { display: flex; flex: none; }
.ticker-group span, .ticker-group i { margin-right: 28px; }
.ticker i { font-style: normal; opacity: .55; }
/* zastavení jen u myši – na mobilu by „hover“ po dotyku zůstal viset a text by stál */
@media (hover: hover) and (pointer: fine) {
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sekce ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--cream); }
.section.dark { background: var(--forest-900); color: #fff; }
.section.dark p { color: rgba(255, 255, 255, .78); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.dark .sec-head p { color: rgba(255, 255, 255, .72); }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; flex-wrap: wrap; }
.sec-head-row h2 { margin: 0; }

/* ---------- karty služeb ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-img { aspect-ratio: 16 / 11; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { position: relative; padding: 34px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-num { position: absolute; right: 22px; top: 10px; font-family: var(--font-d); font-weight: 700; color: var(--line); font-size: 1.1rem; }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--forest-900); color: var(--lime); flex: none; }
.card-ico .ico { width: 26px; height: 26px; }
.card .card-ico { position: absolute; top: -26px; left: 26px; border: 4px solid #fff; box-sizing: content-box; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-weight: 650; color: var(--forest-700); }
.card:hover .card-more { color: var(--moss); }
.card:hover .card-more .ico { transform: translateX(4px); }
.card-more .ico { transition: transform .2s; }

/* ---------- feature (rizikové kácení) ---------- */
.feature { position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; width: 700px; height: 700px; left: -250px; bottom: -350px; border-radius: 50%; border: 1px solid rgba(200, 240, 60, .12); box-shadow: 0 0 0 60px rgba(200, 240, 60, .025), 0 0 0 120px rgba(200, 240, 60, .02); }
.feature-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature-media { position: relative; padding: 0 60px 60px 0; }
.fm-1 { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.fm-1 img, .fm-2 img { width: 100%; height: 100%; object-fit: cover; }
.fm-2 { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--forest-900); }
.ticks { display: grid; gap: 14px; margin: 1.6em 0 2em; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(200, 240, 60, .12); color: var(--lime); }
.ticks b { color: #fff; }
.ticks span { padding-top: 7px; }
.ticks-dark .ico { background: var(--cream); color: var(--moss); }
.ticks-dark b { color: var(--ink); }

/* ---------- před / po ---------- */
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ba-tabs button, .filters button { border: 1.5px solid var(--line); background: #fff; padding: .6em 1.15em; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: .2s; }
.ba-tabs button:hover, .filters button:hover { border-color: var(--forest-700); }
.ba-tabs button[aria-selected="true"], .filters button[aria-pressed="true"] { background: var(--forest-900); color: var(--lime); border-color: var(--forest-900); }
.ba { --pos: 50%; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-height: 78vh; width: 100%; box-shadow: var(--shadow); user-select: none; background: var(--forest-900); }
.ba[hidden] { display: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--lime); transform: translateX(-50%); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--lime); color: var(--forest-950); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ba input:focus-visible ~ .ba-handle::after { outline: 3px solid #fff; }
.ba-tag { position: absolute; top: 18px; padding: .35em .9em; border-radius: 999px; background: rgba(10, 27, 18, .75); color: #fff; font-size: .85rem; font-weight: 650; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag.l { left: 18px; }
.ba-tag.r { right: 18px; background: var(--lime); color: var(--forest-950); }

/* ---------- kroky ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--r-lg); padding: 30px 26px; border: 1px solid var(--line); }
.steps li::after { content: ""; position: absolute; top: 56px; right: -21px; width: 22px; height: 2px; background: var(--sage); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--forest-950); font-family: var(--font-d); font-weight: 800; font-size: 1.4rem; margin-bottom: 18px; }

/* ---------- split (obce) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-copy p { color: var(--muted); }
.split-media { position: relative; padding-bottom: 70px; }
.split-media .sm-1 { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split-media .sm-2 { position: absolute; left: -30px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 6px solid var(--paper); box-shadow: var(--shadow); }

/* ---------- galerie ---------- */
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry-4 { columns: 4 220px; }
.masonry-3 { columns: 3 240px; }
.m-item { display: block; margin-bottom: 14px; border-radius: var(--r); overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in; }
.m-item img { width: 100%; transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.m-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 27, 18, .55)); opacity: 0; transition: opacity .3s; }
.m-item:hover img { transform: scale(1.05); }
.m-item:hover::after { opacity: 1; }
.m-item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 16, 10, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-size: .95rem; opacity: .85; }
.lightbox button { position: fixed; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; font-size: 2rem; line-height: 1; transition: background .2s; }
.lightbox button:hover { background: var(--lime); color: var(--forest-950); }
.lb-close { top: 18px; right: 18px; }
.lb-close .ico { width: 24px; height: 24px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- o nás ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--r-lg) var(--r-lg) 200px var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-photo figcaption { position: absolute; left: 20px; bottom: 20px; background: var(--lime); color: var(--forest-950); padding: 10px 18px; border-radius: 14px; font-size: .85rem; line-height: 1.3; }
.about-photo figcaption b { display: block; font-family: var(--font-d); font-size: 1.1rem; }
.about-copy p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2em 0 0; }
.stats div { border-top: 2px solid var(--forest-900); padding-top: 12px; }
.stats dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--font-d); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq-grid a { color: var(--forest-700); font-weight: 600; }
.faq details { background: #fff; border-radius: var(--r); margin-bottom: 10px; border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--forest-700); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-family: var(--font-d); font-weight: 650; font-size: 1.12rem; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: .25s; }
.faq details[open] summary::after { content: "–"; background: var(--lime); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }
.areas { margin-top: 32px; background: var(--forest-900); color: #fff; border-radius: var(--r-lg); padding: 26px; }
.areas-h { display: flex; align-items: center; gap: .5em; font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; color: #fff !important; }
.areas-h .ico { color: var(--lime); }
.areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: .3em .8em; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .9rem; }
.areas-note { font-size: .88rem; color: rgba(255, 255, 255, .6) !important; margin: 14px 0 0; }

/* ---------- poptávka ---------- */
.quote { background: var(--forest-950); color: #fff; position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 240, 60, .12), transparent 60%); }
.quote-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.quote-side p { color: rgba(255, 255, 255, .72); }
.contact-list { display: grid; gap: 14px; margin: 1.8em 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(200, 240, 60, .12); color: var(--lime); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--lime); }
.quote-ico { font-size: .85rem; opacity: .6; }
.quote-form-wrap { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 42px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }

.quote-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.quote-form legend { font-weight: 650; margin-bottom: 12px; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: .45em; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; font-weight: 550; cursor: pointer; transition: .18s; user-select: none; }
.chip span .ico { color: var(--moss); }
.chip span:hover { border-color: var(--forest-700); }
.chip input:checked + span { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.chip input:checked + span .ico { color: var(--lime); }
.chip input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f-wide { grid-column: 1 / -1; }
.f-field label:first-child { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.f-field input:not([type=file]), .f-field select, .f-field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .78em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.f-field textarea { resize: vertical; min-height: 130px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 0; border-color: var(--forest-700); background: #fff; box-shadow: 0 0 0 4px rgba(61, 122, 75, .15); }
.f-field .invalid { border-color: #c0392b !important; background: #fff6f5 !important; }
.file-drop { display: flex !important; align-items: center; gap: .6em; padding: .78em 1em; border: 1.5px dashed var(--sage); border-radius: 12px; cursor: pointer; font-size: .95rem !important; font-weight: 500 !important; color: var(--muted); background: var(--paper); margin: 0 !important; transition: .2s; }
.file-drop:hover { border-color: var(--forest-700); color: var(--ink); }
.file-drop .ico { color: var(--moss); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest-700); flex: none; }
.consent a { color: var(--forest-700); }
.f-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.f-note { margin: 0; font-size: .88rem; color: var(--muted); }
.f-status { margin-top: 16px; }
.f-status:empty { display: none; }
.f-status.ok, .f-status.err { padding: 14px 18px; border-radius: 12px; font-weight: 550; }
.f-status.ok { background: #eaf7d4; color: #25501a; }
.f-status.err { background: #fdecea; color: #8d2419; }
.quote-form button[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- podstránky ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(30px, 5vw, 64px)); }
.page-hero-slim .lead { margin: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.page-hero-img { border-radius: var(--r-lg) 160px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 5 / 5.2; box-shadow: var(--shadow); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.svc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.svc-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.svc-text > div + div { margin-top: 2.4em; }
.svc-text p { color: var(--muted); font-size: 1.07rem; }
.svc-box { position: sticky; top: calc(var(--header-h) + 20px); background: var(--cream); border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); }
.svc-box-h { font-size: 1.5rem; }
.svc-box .ticks { gap: 8px; margin: 1em 0 1.6em; }
.svc-box .ticks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--lime); color: var(--forest-950); }
.svc-box .ticks span { padding-top: 1px; font-size: .98rem; }
.svc-box-note { display: flex; gap: .5em; font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.svc-box-note .ico { color: var(--moss); margin-top: 3px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rel { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 650; transition: .25s; }
.rel > .ico { margin-left: auto; color: var(--moss); transition: transform .2s; }
.rel:hover { border-color: var(--forest-700); transform: translateY(-3px); box-shadow: var(--shadow); }
.rel:hover > .ico { transform: translateX(4px); }
.rel .card-ico { width: 44px; height: 44px; border-radius: 12px; }
.rel .card-ico .ico { width: 22px; height: 22px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: .25s; line-height: 1.45; }
a.c-card:hover { border-color: var(--forest-700); transform: translateY(-2px); }
.c-card small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.c-card b { display: block; font-size: 1.08rem; }
.c-card-plain { align-items: flex-start; }
.areas-light { margin-top: 0; }
.quote-form-light { box-shadow: var(--shadow); border: 1px solid var(--line); }
.quote-form-light h2 { font-size: 1.8rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p { color: var(--muted); }
.prose a { color: var(--forest-700); }

.thanks { text-align: center; }
.thanks .lead { margin: 0 auto; }
.thanks .lead a { color: var(--lime); }
.thanks .hero-btns { justify-content: center; }
.thanks-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: var(--forest-950); margin-bottom: 24px; }
.thanks-ico .ico { width: 42px; height: 42px; }
.big404 { font-family: var(--font-d); font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: .9; color: var(--lime); margin: 0 0 .1em; letter-spacing: -.05em; }
.related-404 { margin-top: 36px; text-align: left; color: var(--ink); }

/* ---------- patička ---------- */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, .72); padding: 0 0 30px; font-size: .95rem; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-title { font-family: var(--font-d); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: #fff; max-width: 620px; margin: 0; line-height: 1.15; letter-spacing: -.02em; }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; gap: 40px; padding: 50px 0 40px; }
.logo-footer { margin-bottom: 18px; }
.footer-h { color: #fff; font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--lime); }
.footer-contact { font-style: normal; line-height: 1.8; }
.footer-contact strong { color: #fff; }
.footer-areas { line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

.m-bar, .urgent-strip { display: none; }

/* ---------- tlačítko obrysové na světlém ---------- */
.btn-outline-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline-dark:hover { border-color: var(--forest-700); color: var(--forest-700); }

/* ---------- recenze ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.review::before { content: "“"; position: absolute; right: 22px; top: 6px; font-family: var(--font-d); font-size: 5rem; line-height: 1; color: var(--lime); opacity: .7; }
.stars { color: #e3a008; letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 12px; }
.stars span { color: var(--line); }
.review blockquote { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.6; flex: 1; }
.review figcaption { font-size: .92rem; color: var(--muted); }
.review figcaption b { color: var(--ink); }
.review figcaption small { display: block; font-size: .8rem; color: var(--moss); margin-top: 2px; }

/* ---------- poradna ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3, .post-title { font-size: 1.22rem; line-height: 1.2; margin-bottom: .5em; }
.post-body p { color: var(--muted); font-size: .96rem; }
.post-body .card-more { margin-top: auto; }
.post-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-700); background: var(--cream); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.article-wrap { max-width: 820px; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.article-meta { margin: 18px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .6); }
.article-section { padding-top: 0; }
.article-img { margin: -40px 0 36px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 2; }
.article-img img { width: 100%; max-height: 520px; object-fit: cover; }
.article-body { max-width: none; font-size: 1.08rem; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 1.7em; }
.article-body h3 { margin-top: 1.4em; }
.article-body p, .article-body li { color: #34443b; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 0; display: grid; gap: 8px; }
.article-body ul li { list-style: none; position: relative; padding-left: 28px; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 240, 60, .25); }
.article-body ol { counter-reset: n; }
.article-body ol li { list-style: none; position: relative; padding-left: 36px; counter-increment: n; }
.article-body ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; background: var(--forest-900); color: var(--lime); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.article-body blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--cream); border-left: 5px solid var(--lime); border-radius: 0 var(--r) var(--r) 0; }
.article-body blockquote p { margin: 0; color: var(--ink); }
.article-body a { color: var(--forest-700); font-weight: 600; }
.article-cta { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--forest-900); color: #fff; border-radius: var(--r-lg); padding: 28px 30px; }
.article-cta p { margin: 0; color: rgba(255, 255, 255, .72); }
.article-cta .article-cta-title { font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.article-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- online nabídka a podpis ---------- */
.offer-wrap { max-width: 860px; }
.offer-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.offer-meta { color: rgba(255, 255, 255, .7); margin: 0; }
.offer-badge { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 650; }
.offer-badge.ok { background: var(--lime); color: var(--forest-950); }
.offer-section { padding-top: 40px; }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); margin-bottom: 20px; box-shadow: 0 24px 50px -36px rgba(10, 27, 18, .35); }
.lbl-sm { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; }
.offer-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.offer-parties b { display: block; font-family: var(--font-d); font-size: 1.15rem; }
.offer-parties span { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.offer-parties a { color: var(--forest-700); }
.offer-intro { color: var(--muted); }
.offer-items { border-top: 2px solid var(--forest-900); margin: 20px 0 0; }
.oi { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px 130px; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.oi > span:not(.oi-name) { text-align: right; white-space: nowrap; }
.oi-head { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 4px; }
.oi-sum { font-weight: 700; }
.offer-total { margin: 18px 0 24px auto; max-width: 360px; }
.ot-row { display: flex; justify-content: space-between; padding: 4px 4px; color: var(--muted); }
.ot-grand { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--forest-900); color: #fff; border-radius: 16px; padding: 16px 20px; margin-top: 8px; }
.ot-grand span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ot-grand b { font-family: var(--font-d); font-size: 1.7rem; color: var(--lime); letter-spacing: -.02em; }
.ot-vat { text-align: right; font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.offer-terms { background: var(--cream); border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; }
.offer-terms p:last-child { margin: 0; color: var(--muted); font-size: .94rem; }
.offer-thanks { display: flex; gap: 18px; align-items: center; background: #eaf7d4; border: 1px solid #cfe9a8; border-radius: var(--r-lg); padding: 20px 24px; margin-bottom: 20px; }
.offer-thanks .thanks-ico { width: 56px; height: 56px; margin: 0; flex: none; }
.offer-thanks h2 { font-size: 1.4rem; margin: 0 0 4px; }
.offer-thanks p { margin: 0; color: #25501a; }
.offer-signed { border: 2px solid var(--lime); background: #f9fdf0; }
.offer-sig { max-height: 110px; max-width: 100%; margin: 6px 0; }
.sign-form h2 { font-size: 1.7rem; margin-bottom: .3em; }
.sign-sub { color: var(--muted); }
.sign-form .f-field { margin-bottom: 16px; }
.sign-form .f-field input { width: 100%; font: inherit; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.sig-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sig-label label { font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.sig-clear { background: none; border: 0; color: var(--forest-700); font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.sig-box { position: relative; height: 220px; border: 2px dashed var(--sage); border-radius: 16px; background: #fff; overflow: hidden; }
.sig-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; z-index: 2; }
.sig-hint { position: absolute; inset: 0; display: grid; place-items: center; color: #b3bdb4; font-family: var(--font-d); font-size: 1.4rem; pointer-events: none; }
.sig-line { position: absolute; left: 24px; right: 24px; bottom: 44px; border-bottom: 1.5px solid var(--line); pointer-events: none; }
.sign-submit { width: 100%; margin-top: 6px; }
.sign-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.sign-note a { color: var(--forest-700); font-weight: 600; }
.sign-form .f-status { margin: 0 0 14px; }
.offer-page .m-bar { display: none !important; }

/* ---------- hodnoticí formulář ---------- */
.review-wrap { max-width: 720px; }
.review-form { display: grid; gap: 16px; }
.stars-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input legend { font-weight: 650; margin-bottom: 8px; width: 100%; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { font-size: 2.6rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s, transform .15s; }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: #e3a008; }
.stars-input label:hover { transform: scale(1.1); }
.stars-input input:focus-visible + label { outline: 3px solid var(--lime); border-radius: 6px; }

/* ---------- povolení ke kácení – formuláře obcí ---------- */
.permit-banner { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; padding: 20px 24px; background: var(--forest-900); color: #fff; border-radius: var(--r); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.permit-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.permit-banner .card-ico { flex: none; background: var(--lime); color: var(--forest-950); }
.permit-banner > span:nth-child(2) { flex: 1; min-width: 0; }
.permit-banner b { display: block; font-family: var(--font-d); font-size: 1.15rem; }
.permit-banner small { display: block; color: rgba(255, 255, 255, .72); font-size: .95rem; margin-top: 2px; }
.permit-banner > .ico { flex: none; width: 24px; height: 24px; color: var(--lime); }
.permit { padding-top: clamp(40px, 6vw, 72px); }
.permit-search { max-width: 640px; margin-bottom: 36px; }
.permit-search label { display: block; font-weight: 650; margin-bottom: 8px; }
.permit-search-box { position: relative; }
.permit-search-box .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--moss); pointer-events: none; }
.permit-search-box input { width: 100%; font: inherit; font-size: 1.1rem; padding: .95em 1em .95em 52px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.permit-search-box input:focus { outline: 0; border-color: var(--forest-700); box-shadow: 0 0 0 4px rgba(200, 240, 60, .35); }
.permit-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.permit-legend span { display: inline-flex; align-items: center; gap: .4em; }
.permit-legend .ico { width: 16px; height: 16px; color: var(--moss); }
.permit-empty { padding: 18px 22px; background: var(--cream); border-radius: var(--r); }
.permit-empty a { color: var(--forest-700); font-weight: 600; }
.permit-okres + .permit-okres { margin-top: 44px; }
.permit-okres h2 { font-size: 1.35rem; margin: 0 0 16px; }
.permit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.permit-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.permit-name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.permit-link { flex: none; display: inline-flex; align-items: center; gap: .4em; padding: .5em .9em; border-radius: 999px; font-size: .88rem; font-weight: 650; text-decoration: none; border: 1.5px solid var(--line); color: var(--forest-700); transition: background .2s, border-color .2s, color .2s; }
.permit-link .ico { width: 16px; height: 16px; }
.permit-link:hover { border-color: var(--forest-700); }
.permit-link.is-form { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.permit-link.is-form .ico { color: var(--lime); }
.permit-link.is-form:hover { background: var(--forest-700); border-color: var(--forest-700); }
.permit-note { margin: 40px 0 0; max-width: 820px; font-size: .92rem; color: var(--muted); }
.permit-note a { color: var(--forest-700); }
.faq-grid a.btn-dark { color: #fff; }
.permit-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 0 36px; padding: 20px 24px; background: var(--cream); border-radius: var(--r); border-left: 5px solid var(--lime); }
.permit-callout p { margin: 0; flex: 1 1 320px; }
.permit-callout b { display: block; font-family: var(--font-d); font-size: 1.1rem; }

/* univerzální žádost */
.permit-form-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.permit-form h2, .permit-side h2 { margin-top: 0; font-size: 1.4rem; }
.permit-form .f-field.f-wide { margin-top: 16px; }
.permit-form-h { font-weight: 650; margin: 26px 0 8px; }
.permit-trees { display: grid; gap: 8px; }
.permit-tree { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.permit-tree-head span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.permit-tree input { width: 100%; min-width: 0; font: inherit; padding: .65em .8em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.permit-tree input:focus { outline: 0; border-color: var(--forest-700); background: #fff; }
.permit-hint { font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.permit-sign { margin-top: 18px; }
.permit-sign-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.permit-sign-head .permit-form-h { margin-top: 8px; }
.permit-sign-clear { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .9rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.permit-sign-pad { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 3 / 1; background: #fff; border: 1.5px dashed #b9b6a8; border-radius: 10px; touch-action: none; cursor: crosshair; }
.permit-att { border: 0; padding: 0; margin: 22px 0; display: grid; gap: 8px; }
.permit-att legend { font-weight: 650; margin-bottom: 10px; }
.permit-att label { display: flex; gap: .6em; align-items: flex-start; font-size: .95rem; }
.permit-att input { margin-top: .25em; accent-color: var(--forest-700); }
.permit-form .f-submit { margin-top: 24px; }
.permit-side { display: grid; gap: 18px; }
.permit-side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.permit-side-box p { color: var(--muted); }
.permit-side-box a:not(.btn) { color: var(--forest-700); font-weight: 600; }
.permit-side-dark { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.permit-side-dark p { color: rgba(255, 255, 255, .78); }
.permit-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.permit-steps b { color: var(--ink); }
.permit-form select { max-width: 100%; }
@media (max-width: 920px) { .permit-form-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .permit-tree { grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, 1fr); gap: 6px; } .permit-tree input { padding: .6em .55em; } .permit-tree-head span { font-size: .72rem; } }

/* ---------- animace při scrollu ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1360px) {
  .nav-phone { display: none; }
}
@media (max-width: 1180px) {
  .header-cta { display: none; }
}
@media (max-width: 1100px) {
  .reviews, .posts { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .site-header .logo-mark { width: 48px; height: 48px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0; height: calc(100dvh - var(--header-h)); background: var(--forest-950); flex-direction: column; align-items: stretch; gap: 0; padding: 14px var(--gutter) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1), visibility .3s; visibility: hidden; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { font-family: var(--font-d); font-size: 1.25rem; font-weight: 700; padding: .6em 2px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
  /* „Služby“ jako malý nadpis nad dlaždicemi */
  .has-sub > a { font-family: var(--font-b) !important; font-size: .75rem !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--sage) !important; border-bottom: 0 !important; padding: .2em 2px .6em !important; }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 12px; min-width: 0; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .sub::before { display: none; }
  .sub a { padding: .7em .75em; gap: 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font-size: .9rem; line-height: 1.2; }
  .sub a .ico { color: var(--lime); width: 1.15em; height: 1.15em; }
  .sub a:hover, .sub a[aria-current="page"] { background: rgba(200, 240, 60, .16); color: var(--lime); }
  .sub { border-radius: 0; }
  .nav-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; padding-top: 18px; }
  .nav-actions .btn { padding: .8em 1em; font-size: .95rem; white-space: nowrap; }
  .nav-cta { display: inline-flex; }
  .nav-phone { display: inline-flex; justify-content: center; border: 2px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .95rem; padding: .8em 1em; white-space: nowrap; }
  .nav-phone .ico { color: var(--lime); }

  .hero-grid, .feature-grid, .split, .about-grid, .faq-grid, .quote-grid, .page-hero-grid, .svc-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; padding: 0 0 30px 30px; }
  .hero-badge { right: 0; }
  .feature-media { max-width: 520px; }
  .split-media .sm-2 { left: auto; right: 10px; }
  .about-photo { max-width: 460px; }
  .svc-box { position: static; }
  .page-hero-img { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg) 100px var(--r-lg) var(--r-lg); }
  .m-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .m-bar .ico { width: 20px; height: 20px; }
  .m-bar-call { background: var(--forest-900); color: #fff; }
  .m-bar-call .ico { color: var(--lime); }
  .m-bar-form { background: var(--lime); color: var(--forest-950); }
  .nav-open .m-bar { display: none; }
  body:not(.offer-page) .site-footer { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .urgent-strip { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--forest-900); color: #fff; font-weight: 650; line-height: 1.3; text-decoration: none; }
  .urgent-strip > .ico { flex: none; width: 22px; height: 22px; color: var(--lime); }
  .urgent-strip span { flex: 1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  /* služby na hlavní stránce jako kompaktní dlaždice */
  #sluzby .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #sluzby .card { border-radius: var(--r); }
  #sluzby .card-img, #sluzby .card-num, #sluzby .card-body p, #sluzby .card-more { display: none; }
  #sluzby .card-body { padding: 14px; gap: 10px; }
  #sluzby .card .card-ico { position: static; width: 40px; height: 40px; border: 0; border-radius: 12px; box-sizing: border-box; }
  #sluzby .card-ico .ico { width: 22px; height: 22px; }
  #sluzby .card h3 { margin: 0; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
  .reviews, .posts { grid-template-columns: 1fr; }
  .offer-parties { grid-template-columns: 1fr; gap: 16px; }
  .oi-head { display: none; }
  .oi { grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 2px; }
  .oi-name { grid-column: 1 / -1; font-weight: 600; margin-bottom: 4px; }
  .oi > span:not(.oi-name) { text-align: left; font-size: .9rem; }
  .oi > span[data-l]::before { content: attr(data-l) ": "; color: var(--muted); }
  .oi-sum { grid-column: 1 / -1; text-align: right !important; font-size: 1rem !important; }
  .oi-sum::before { font-weight: 400; }
  .offer-total { max-width: none; }
  .ot-grand b { font-size: 1.4rem; }
  .sig-box { height: 190px; }
  .article-img { margin-top: -24px; }
  .article-cta { padding: 22px; }
  .article-cta-btns .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .btn-lg { padding: .85em 1.2em; font-size: 1rem; }
  .hero-badge { top: auto; bottom: 64px; right: -6px; padding: 10px 14px 10px 10px; }
  .hero-badge small { display: none; }
  .hero-small { width: 38%; }
  .ba { aspect-ratio: 4 / 3.6; }
  .ba-handle::after { width: 44px; height: 44px; font-size: 1.1rem; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .masonry, .masonry-4, .masonry-3 { columns: 2; column-gap: 10px; }
  .m-item { margin-bottom: 10px; border-radius: 12px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 18px; transform: none !important; }
  .footer-cta-btns .btn { flex: 1 1 100%; }
  .logo-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* běžící text necháme jet, jen pomalu (plynulý pohyb bez záblesků) */
  .ticker .ticker-track { animation: tick 220s linear infinite !important; }
}
