@charset "UTF-8";
/* =========================================================================
   MARTINÍK · Bezpečné stromy
   Design systém — mobile-first, bez závislostí, bez build kroku.
   Brand: #304830 (lesní zeleň) · Fraunces (display) + Inter (text)
   ========================================================================= */

/* ------------------------------------------------------------------ FONTY */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fraunces-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+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: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/fraunces-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: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-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+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"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-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;
}

/* ----------------------------------------------------------------- TOKENY */
:root {
  color-scheme: light;

  /* zeleně */
  --ink:        #18241a;
  --forest:     #304830;
  --forest-700: #3a5839;
  --moss:       #4c6b41;
  --sage:       #7d9b6c;
  --leaf:       #8fb95c;
  --leaf-200:   #c3dd9c;
  --leaf-100:   #e4f0cf;

  /* teplé neutrály */
  --cream:      #f8f6ef;
  --sand:       #efe9db;
  --sand-2:     #e7e0ce;
  --paper:      #ffffff;
  --line:       #e3dbc8;
  --body-fg:    #3a4634;
  --muted:      #5d6a55;

  /* typografie */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* metriky */
  --container: 1200px;
  --gutter: clamp(18px, 5vw, 56px);
  --header-h: 62px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgb(24 36 26 / .05), 0 2px 8px rgb(24 36 26 / .05);
  --shadow:    0 14px 34px -20px rgb(24 36 26 / .38);
  --shadow-lg: 0 34px 70px -30px rgb(24 36 26 / .45);

  --ease: cubic-bezier(.22,.61,.36,1);

  --grad-leaf:   linear-gradient(100deg, var(--moss), var(--leaf));
  --grad-forest: linear-gradient(160deg, var(--forest-700), var(--ink));
  --rings:   url("../img/deco-rings.svg");
  --contour: url("../img/deco-contour.svg");
  --leaf-mark: url("../img/deco-leaf.svg");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (min-width: 900px) { :root { --header-h: 84px; } }

/* ------------------------------------------------------------------ RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* na stránce služeb je pod hlavičkou ještě lepivá lišta s přehledem */
@media (max-width: 999px) {
  html:has(.svc__nav) { scroll-padding-top: calc(var(--header-h) + 80px); }
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--body-fg);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgb(143 185 92 / .25);
  overflow-x: clip;
}
@media (min-width: 640px) { body { font-size: 1.0625rem; } }

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
/* <picture> nesmí vytvářet vlastní box, jinak se procentuální výška <img>
   počítá vůči němu a obrázek přeteče svůj rámec. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--leaf); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}

/* skip link */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--pill);
  background: var(--forest); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------- TYPOGRAFIE */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.35rem + 4.2vw, 4.3rem); line-height: 1.04; }
h2 { font-size: clamp(1.65rem, 1.1rem + 2.6vw, 2.85rem); }
h3 { font-size: clamp(1.18rem, 1.02rem + .7vw, 1.55rem); line-height: 1.22; }
h4 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; }
p  { text-wrap: pretty; }
strong { font-weight: 600; }

.lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); line-height: 1.58; color: #35412f; }
.muted { color: var(--muted); }

.prose p + p { margin-top: 1.05em; }
.prose p { color: var(--body-fg); }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ----------------------------------------------------------------- LAYOUT */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 800px; }

.section { padding-block: clamp(52px, 8vw, 116px); }
.section--tight { padding-block: clamp(36px, 5vw, 70px); }
.section--sand  { background: var(--sand); }
.section--forest{ background: var(--forest); color: #eef2e6; }
.section--flush-top { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .78rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--moss);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--leaf); border-radius: 2px; flex: none; }
.section--forest .eyebrow { color: var(--leaf-200); }
.center .eyebrow { justify-content: center; }

.section-head { max-width: 42rem; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 + p { margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--forest .section-head p { color: #c6d3ba; }

.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: flex-end; justify-content: space-between; }
.section-head--split > div { max-width: 34rem; }

/* --------------------------------------------------------------- TLAČÍTKA */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .78em 1.45em;
  font-weight: 600; font-size: 1rem; line-height: 1.25;
  border-radius: var(--pill);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), background-color .25s, color .25s, box-shadow .3s, border-color .25s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--ink); box-shadow: var(--shadow-lg); }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--leaf-100); }
.btn--leaf { background: var(--leaf); color: var(--ink); }
.btn--leaf:hover { background: var(--leaf-200); }
.btn--ghost { border: 1.5px solid currentColor; color: inherit; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover > span { color: var(--forest); }
.btn--on-dark { color: #fff; }
.btn--on-dark:hover > span { color: var(--forest); }
@media (hover: hover) {
  .btn--primary:hover, .btn--light:hover, .btn--leaf:hover, .btn--ghost:hover { transform: translateY(-2px); }
}
.btn:active { transform: translateY(0) scale(.985); }

/* jemný lesk u plných tlačítek */
.btn--primary::before, .btn--light::before, .btn--leaf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::before, .btn--light:hover::before, .btn--leaf:hover::before { transform: translateX(120%); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .btn-row .btn { flex: 0 1 auto; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--forest); padding-block: 4px;
  background-image: var(--grad-leaf); background-size: 0% 2px;
  background-repeat: no-repeat; background-position: 0 100%;
  transition: gap .3s var(--ease), background-size .35s var(--ease);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: .7em; background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--forest .link-arrow { color: var(--leaf-200); }

/* ---------------------------------------------------------------- HLAVIČKA */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 10px;
  padding-inline: 0;
  transition: background-color .35s var(--ease), box-shadow .35s, padding .35s;
}
@media (min-width: 900px) { .site-header { padding-block: 18px; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; position: relative; z-index: 2; padding-block: 4px; }
.brand img { height: 34px; width: auto; }
@media (min-width: 900px) { .brand img { height: 40px; } }
.brand .logo-green { display: none; }

.site-header.is-solid {
  background: rgb(248 246 239 / .92);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -26px rgb(24 36 26 / .5);
}
@media (min-width: 900px) { .site-header.is-solid { padding-block: 11px; } }
.site-header.is-solid .logo-white { display: none; }
.site-header.is-solid .logo-green { display: block; }
.site-header.is-solid .nav-toggle span { background: var(--ink); }

/* hamburger */
.nav-toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-right: -10px;
  position: relative; z-index: 2; border-radius: 12px;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease), background-color .3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.nav-open .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
body.nav-open .nav-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

/* ---- mobilní panel navigace ---- */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  gap: 2px;
  padding: calc(var(--header-h) + 24px + env(safe-area-inset-top)) clamp(24px, 7vw, 48px) calc(28px + env(safe-area-inset-bottom));
  background: var(--forest);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .42s var(--ease), visibility 0s linear .42s;
}
.nav::before {
  content: ""; position: absolute; right: -26%; top: -12%;
  width: 78%; aspect-ratio: 1; background: var(--leaf);
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: .11; pointer-events: none;
}
body.nav-open .nav { transform: none; visibility: visible; transition-delay: 0s; }

.nav a {
  position: relative; color: #fff;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.2rem, min(7vw, 5.4vh), 2rem);
  padding: clamp(6px, 1.4vh, 10px) 2px; border-bottom: 1px solid rgb(255 255 255 / .1);
  opacity: 0; transform: translateX(22px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
}
body.nav-open .nav a { opacity: 1; transform: none; }
body.nav-open .nav a:nth-child(1) { transition-delay: .10s; }
body.nav-open .nav a:nth-child(2) { transition-delay: .16s; }
body.nav-open .nav a:nth-child(3) { transition-delay: .22s; }
body.nav-open .nav a:nth-child(4) { transition-delay: .28s; }
.nav a.is-active { color: var(--leaf-200); }
.nav .btn {
  margin-top: 22px; border-bottom: 0; font-family: var(--sans);
  font-size: 1rem; background: var(--leaf); color: var(--ink);
  transition-delay: .34s;
}
.nav__meta {
  margin-top: 26px; display: grid; gap: 4px; color: #bfd0b0; font-size: .95rem;
  opacity: 0; transition: opacity .4s var(--ease) .4s;
}
body.nav-open .nav__meta { opacity: 1; }
/* Auto-okraje centrují obsah, když je místo, a mizí, když se panel roluje —
   na rozdíl od justify-content: center nikdy neuříznou první položku. */
@media (max-width: 899px) {
  .nav > *:first-child { margin-top: auto; }
  .nav > *:last-child { margin-bottom: auto; }
}
.nav__meta a { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: #fff; border: 0; padding: 4px 0; opacity: 1; transform: none; }

/* při otevřeném panelu musí hlavička ustoupit, ať zůstane kříž i logo čitelné */
body.nav-open .site-header,
body.nav-open .site-header.is-solid {
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.nav-open .site-header.is-solid::after { display: none; }
body.nav-open .site-header .logo-white { display: block; }
body.nav-open .site-header .logo-green { display: none; }
body.nav-open .site-header .nav-toggle span,
body.nav-open .site-header.is-solid .nav-toggle span { background: #fff; }

/* ---- desktopová navigace ---- */
@media (min-width: 900px) {
  .nav {
    position: static; flex-direction: row; align-items: center; justify-content: flex-end;
    gap: 2px; padding: 0; background: none; overflow: visible;
    transform: none; visibility: visible; transition: none;
  }
  .nav::before { display: none; }
  .nav a {
    font-family: var(--sans); font-size: .98rem; font-weight: 500;
    color: #f3f6ee; padding: 9px 14px; border: 0; border-radius: var(--pill);
    opacity: 1; transform: none; transition: color .25s;
  }
  .nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
    background: var(--leaf); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .nav a.is-active { color: #fff; }
  .nav .btn { margin: 0 0 0 12px; min-height: 42px; padding: .55em 1.15em; font-size: .95rem; background: none; color: #fff; border: 1.5px solid currentColor; transition-delay: 0s; }
  .nav .btn:hover { background: #fff; color: var(--forest); }
  .nav__meta { display: none; }
  .site-header.is-solid .nav a { color: var(--ink); }
  .site-header.is-solid .nav .btn { color: var(--forest); }
  .site-header.is-solid .nav .btn:hover { background: var(--forest); color: #fff; }
}

/* ------------------------------------------------------------------- HERO */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff;
  min-height: 540px;
  min-height: min(92svh, 760px);
  padding-top: var(--header-h);
}
@media (min-width: 900px) { .hero { min-height: clamp(620px, 88svh, 900px); } }

.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--forest); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(20 31 18 / .6) 0%, rgb(20 31 18 / .16) 28%, rgb(20 31 18 / .5) 62%, rgb(20 31 18 / .92) 100%);
}
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(320px, 52vw, 700px); aspect-ratio: 1; bottom: -16%; right: -12%;
  background: #d7e6bd;
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: .14;
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(40px, 9vh, 120px); }
/* na úvodní stránce se do spodku hero zasouvá pruh s čísly — potřebuje místo */
.hero:not(.hero--page) .hero__inner { padding-bottom: clamp(76px, 14vh, 180px); }
.hero h1, .hero .eyebrow, .hero p, .hero .btn-row, .hero .breadcrumb { max-width: 46rem; }
.hero .eyebrow { color: #e3f0cd; margin-bottom: 16px; text-shadow: 0 1px 14px rgb(20 31 18 / .6); }
.hero .eyebrow::before { background: var(--leaf-200); }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 30px rgb(20 31 18 / .45); }
.hero p { font-size: clamp(1.05rem, .95rem + .55vw, 1.35rem); max-width: 38rem; color: #eef3e7; line-height: 1.55; text-shadow: 0 1px 18px rgb(20 31 18 / .5); }
.hero .btn-row { margin-top: clamp(26px, 4vw, 40px); }

.hero--page { min-height: 380px; min-height: min(58svh, 520px); }
.hero--page .hero__inner { padding-block: clamp(34px, 6vh, 74px); }
.hero--page::before { opacity: .11; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .9rem; color: #d7e0cc; margin-top: 16px;
}
.breadcrumb a { padding: 4px 0; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { opacity: .5; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #dfe7d6; z-index: 1;
}
@media (min-width: 900px) and (min-height: 700px) { .hero__scroll { display: flex; } }
.hero__scroll i { width: 2px; height: 38px; border-radius: 2px; background: linear-gradient(#dfe7d6, transparent); animation: scrollpulse 2.4s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(.35); opacity: .35 } 50% { transform: scaleY(1); opacity: 1 } }

/* ---------------------------------------------------- ČÍSLA / KREDENCE */
.creds {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.creds > div { background: var(--paper); padding: 20px 18px; position: relative; transition: background-color .3s, transform .3s var(--ease); }
@media (min-width: 640px) { .creds > div { padding: 26px 24px; } }
.creds > div::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-leaf);
  transform: scaleX(0); transform-origin: 0; transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .creds > div:hover { background: var(--cream); transform: translateY(-3px); }
  .creds > div:hover::before { transform: scaleX(1); }
}
.creds b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.1rem); line-height: 1; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--forest), var(--moss) 65%, var(--leaf));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.creds span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }

/* pruh s čísly zasahuje do spodního (nejtmavšího) okraje hero sekce */
.creds-band { position: relative; z-index: 2; margin-top: clamp(-64px, -4.5vw, -28px); }

/* ------------------------------------------------------------- INTRO / O NÁS */
.intro-grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }

.intro-figure { position: relative; max-width: 460px; margin-inline: auto; width: 100%; margin-bottom: 34px; }
@media (min-width: 900px) { .intro-figure { max-width: none; margin-bottom: 0; } }
.intro-figure img {
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
  background: var(--sand-2);
}
.intro-figure::before {
  content: ""; position: absolute; inset: 20px -18px -18px 20px; z-index: -1;
  border: 1.5px solid var(--leaf); border-radius: var(--r-lg); opacity: .5;
}
.intro-figure::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 110px; height: 110px; top: -26px; right: -6px; background: var(--moss);
  -webkit-mask: var(--leaf-mark) center / contain no-repeat; mask: var(--leaf-mark) center / contain no-repeat;
  opacity: .16; transform: rotate(18deg);
}
.intro-badge {
  position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%);
  width: max-content; max-width: min(300px, 88%);
  background: var(--forest); color: #fff; text-align: center;
  padding: 16px 22px; border-radius: var(--r); box-shadow: var(--shadow-lg);
  overflow: hidden; isolation: isolate;
}
@media (min-width: 900px) {
  .intro-badge { left: -22px; bottom: -22px; transform: none; text-align: left; max-width: 230px; padding: 20px 24px; }
}
.intro-badge::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  -webkit-mask: var(--rings) -50px -50px / 200px no-repeat; mask: var(--rings) -50px -50px / 200px no-repeat;
  opacity: .13;
}
.intro-badge b {
  display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1;
  background: linear-gradient(120deg, #fff, var(--leaf-200));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.intro-badge span { font-size: .88rem; color: #cfdcc2; line-height: 1.4; display: block; margin-top: 4px; }

/* ------------------------------------------------------------ KARTY SLUŽEB */
.services { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (min-width: 620px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
  border-radius: var(--r); background: var(--forest);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s;
}
@media (min-width: 620px) { .svc-card { aspect-ratio: auto; min-height: 340px; } }
@media (min-width: 1000px) { .svc-card { min-height: 370px; } }

.svc-card__media { position: absolute; inset: 0; z-index: -2; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(20 31 18 / .12) 0%, rgb(20 31 18 / .42) 42%, rgb(20 31 18 / .93) 100%);
}
.svc-card__body { padding: 20px; color: #fff; position: relative; }
@media (min-width: 620px) { .svc-card__body { padding: 26px; } }
.svc-card__body::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 3px;
  background: var(--grad-leaf); transform: scaleX(0); transform-origin: 0;
  transition: transform .5s var(--ease);
}
@media (min-width: 620px) { .svc-card__body::before { left: 26px; right: 26px; } }
.svc-card__num {
  display: inline-grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%;
  font-family: var(--serif); font-size: .9rem; color: var(--leaf-200);
  border: 1px solid rgb(255 255 255 / .34); background: rgb(20 31 18 / .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.svc-card h3 { color: #fff; margin: 12px 0 8px; }
.svc-card p { font-size: .95rem; color: #e3ebd9; }
.svc-card .card-cta { display: inline-flex; align-items: center; gap: .45em; margin-top: 14px; font-weight: 600; font-size: .94rem; color: #fff; }
.svc-card .card-cta svg { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }

/* na dotykových zařízeních je popis vždy vidět; na myši se rozbaluje */
@media (hover: hover) and (min-width: 620px) {
  .svc-card p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, margin .45s; }
  .svc-card:hover p, .svc-card:focus-visible p { max-height: 9rem; opacity: 1; }
  .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .svc-card:hover .svc-card__media img { transform: scale(1.06); }
  .svc-card:hover .svc-card__body::before { transform: scaleX(1); }
  .svc-card:hover .card-cta svg { transform: translateX(4px); }
}

/* ---------------------------------------------------------------- METODY */
.methods { display: grid; gap: clamp(14px, 2vw, 26px); }
@media (min-width: 640px) { .methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .methods { grid-template-columns: repeat(3, 1fr); } }
.method {
  position: relative; overflow: hidden;
  background-color: rgb(255 255 255 / .05);
  background-image: radial-gradient(220px 220px at var(--mx,50%) var(--my,0%), rgb(143 185 92 / .16), transparent 72%);
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: var(--r); padding: 26px 22px;
  transition: transform .4s var(--ease), background-color .4s, border-color .4s;
}
@media (min-width: 640px) { .method { padding: 30px 28px; } }
@media (hover: hover) { .method:hover { transform: translateY(-5px); background-color: rgb(255 255 255 / .09); border-color: rgb(143 185 92 / .55); } }
.method__icon {
  position: relative; isolation: isolate;
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
  background: rgb(143 185 92 / .18); color: var(--leaf-200); margin-bottom: 18px;
}
.method__icon svg { width: 25px; height: 25px; }
.method__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  border: 1.5px solid var(--leaf); opacity: 0; animation: scan 3.6s var(--ease) infinite;
}
.method:nth-child(2) .method__icon::after { animation-delay: 1.2s; }
.method:nth-child(3) .method__icon::after { animation-delay: 2.4s; }
@keyframes scan { 0% { opacity: .5; transform: scale(1) } 70%,100% { opacity: 0; transform: scale(2) } }
.method .tag { font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-200); font-weight: 600; }
.method h3 { color: #fff; font-size: 1.25rem; margin: 4px 0 10px; }
.method p { color: #c7d4bb; font-size: .95rem; }

/* ------------------------------------------------------------- POSTUP (steps) */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; counter-increment: step;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 22px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
@media (hover: hover) { .step:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; right: 20px;
  font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--forest); opacity: .12;
}
.step__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-forest); color: var(--leaf-200); margin-bottom: 16px; }
.step__ico svg { width: 21px; height: 21px; }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }
/* spojnice mezi kroky na širokých displejích */
@media (min-width: 1040px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 39px; right: -18px; width: 18px; height: 1px;
    background: linear-gradient(90deg, var(--leaf), transparent);
  }
}

/* --------------------------------------------------------------- REFERENCE */
.refs { display: grid; gap: clamp(12px, 2vw, 22px); }
@media (min-width: 620px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .refs { grid-template-columns: repeat(3, 1fr); } }
.ref-card {
  position: relative; overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(240px 240px at var(--mx,50%) var(--my,-10%), rgb(143 185 92 / .12), transparent 70%);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
@media (min-width: 640px) { .ref-card { padding: 28px 26px; } }
@media (hover: hover) { .ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }
.ref-card .pin {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad-forest); color: #fff;
  display: grid; place-items: center; margin-bottom: 16px; transition: background .4s, color .4s;
}
.ref-card .pin svg { width: 21px; height: 21px; }
@media (hover: hover) { .ref-card:hover .pin { background: var(--grad-leaf); color: var(--ink); } }
.ref-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ref-card p { color: var(--muted); font-size: .94rem; }
.ref-card::after {
  content: ""; position: absolute; right: -28px; bottom: -28px; width: 140px; height: 140px;
  pointer-events: none; background: var(--forest); z-index: 0;
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: 0; transition: opacity .5s;
}
@media (hover: hover) { .ref-card:hover::after { opacity: .05; } }

/* klientské „chipy“ */
.clients { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.clients li {
  font-size: .88rem; font-weight: 500; color: var(--moss);
  background: var(--paper); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: var(--pill);
}

/* ------------------------------------------------------------ CERTIFIKACE */
.cert-wrap { display: grid; gap: clamp(14px, 2.5vw, 28px); }
@media (min-width: 760px) { .cert-wrap { grid-template-columns: 1fr 1fr; } }
.cert-card {
  display: flex; gap: 18px; align-items: center;
  background-color: var(--paper);
  background-image: radial-gradient(240px 240px at var(--mx,50%) var(--my,-10%), rgb(143 185 92 / .12), transparent 70%);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .cert-card { padding: 26px 28px; gap: 22px; } }
@media (max-width: 479px) { .cert-card { flex-direction: column; align-items: flex-start; gap: 14px; } }
.cert-card img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.cert-card .mark { width: 72px; height: 72px; flex: none; border-radius: 16px; background: var(--grad-forest); color: #fff; display: grid; place-items: center; }
.cert-card .mark svg { width: 34px; height: 34px; }
.cert-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cert-card p { color: var(--muted); font-size: .92rem; }

/* -------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; max-width: 52rem; margin-inline: auto; }
.faq__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq__item summary {
  display: flex; align-items: flex-start; gap: 14px; justify-content: space-between;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); line-height: 1.3;
  transition: background-color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--cream); }
.faq__item summary::after {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px;
  background: var(--moss);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/20px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item[open] summary { color: var(--forest); }
.faq__a { padding: 0 20px 20px; }
.faq__a p { color: var(--body-fg); font-size: .98rem; }
.faq__a p + p { margin-top: .8em; }

/* ---------------------------------------------------------------- AKTUALITY */
.news-grid { display: grid; gap: clamp(14px, 2vw, 26px); }
@media (min-width: 620px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
@media (hover: hover) { .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--forest); position: relative; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .news-card:hover .news-card__media img { transform: scale(1.05); } }
.news-card__media.is-pattern { background: var(--grad-forest); }
.news-card__media.is-pattern::before {
  content: ""; position: absolute; inset: 0; background: var(--leaf-200);
  -webkit-mask: var(--rings) center / 150% no-repeat; mask: var(--rings) center / 150% no-repeat;
  opacity: .16; transition: transform .8s var(--ease);
}
@media (hover: hover) { .news-card:hover .news-card__media.is-pattern::before { transform: scale(1.1) rotate(4deg); } }
.news-card__media.is-pattern svg {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px;
  color: rgb(255 255 255 / .42); filter: drop-shadow(0 6px 16px rgb(0 0 0 / .3));
}
.news-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 640px) { .news-card__body { padding: 22px 24px 26px; } }
.chip {
  align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  color: var(--moss); background: var(--sand); padding: 5px 11px; border-radius: var(--pill); margin-bottom: 12px;
}
.news-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.news-card .link-arrow { margin-top: auto; font-size: .92rem; }

/* ---------------------------------------------------- SEZNAM ČLÁNKŮ (aktuality) */
.toc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.toc h2 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: flex; gap: 10px; padding: 9px 4px; border-radius: 8px; font-size: .96rem; transition: background-color .2s, color .2s; }
.toc a:hover { background: var(--cream); color: var(--forest); }
.toc time { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; font-size: .88rem; padding-top: 2px; }

.article {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.article + .article { margin-top: 20px; }
.article::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-leaf); opacity: .8; }
.article::after {
  content: ""; position: absolute; top: -50px; right: -50px; width: 190px; height: 190px; pointer-events: none;
  background: var(--forest);
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: .045;
}
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.article__date { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--forest); font-size: .9rem; }
.article__date::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgb(143 185 92 / .25); }
.article__src { font-size: .82rem; color: var(--muted); }
.article h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); margin-bottom: 16px; }
.article__figure { margin: 0 0 18px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
@media (min-width: 720px) { .article__figure { float: right; width: min(42%, 340px); margin: 0 0 18px 26px; } }
.article__body p { margin-bottom: 1em; }
.article__body p:last-child { margin-bottom: 0; }
.article__body > p:first-of-type::first-letter {
  font-family: var(--serif); font-size: 3em; line-height: .82; float: left;
  padding: 5px 10px 0 0; color: var(--forest); font-weight: 500;
}
.article__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.back-to-top-inline { font-size: .9rem; color: var(--muted); }

.pdf-btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 46px;
  background: var(--sand); color: var(--forest); font-weight: 600;
  padding: .65em 1.1em; border-radius: var(--pill); font-size: .93rem;
  transition: background-color .3s, transform .3s var(--ease);
}
.pdf-btn:hover { background: var(--leaf); color: var(--ink); transform: translateY(-2px); }
.pdf-btn svg { width: 1.1em; height: 1.1em; }

/* ------------------------------------------------------- DETAIL SLUŽEB */
.svc { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
/* bez min-width:0 by vodorovně rolovací lišta služeb roztáhla celý grid */
.svc > * { min-width: 0; }
@media (min-width: 1000px) { .svc { grid-template-columns: 260px minmax(0, 1fr); } }

/* mobilní verze bočního menu = vodorovné chipy pod hlavičkou */
.svc__nav {
  position: sticky; top: calc(var(--header-h) + 4px); z-index: 20;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter);
  background: rgb(248 246 239 / .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.svc__nav h4 { display: none; }
.svc__nav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; }
.svc__nav ul::-webkit-scrollbar { display: none; }
.svc__nav li { flex: none; scroll-snap-align: start; }
.svc__nav a {
  display: block; white-space: nowrap; padding: 9px 15px; border-radius: var(--pill);
  font-size: .9rem; font-weight: 500; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  transition: background-color .25s, color .25s, border-color .25s;
}
.svc__nav a.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
@media (min-width: 1000px) {
  .svc__nav {
    position: sticky; top: calc(var(--header-h) + 24px); margin: 0; padding: 0;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0;
  }
  .svc__nav h4 { display: block; font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
  .svc__nav ul { display: grid; gap: 3px; overflow: visible; }
  .svc__nav a {
    white-space: normal; background: none; border: 0; border-left: 3px solid transparent;
    border-radius: var(--r-sm); padding: 11px 15px; color: #46523f; font-size: .95rem;
  }
  .svc__nav a:hover { background: var(--sand); }
  .svc__nav a.is-active { background: var(--paper); color: var(--forest); border-left-color: var(--leaf); box-shadow: var(--shadow-sm); }
}

.svc-block { padding-block: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.svc-block:first-child { padding-top: clamp(24px, 3vw, 32px); }
.svc-block:last-child { border-bottom: 0; }
.svc-block > .eyebrow { margin-bottom: 12px; }
.svc-block h2 { margin-bottom: 14px; }
.svc-block h3 { margin: 30px 0 4px; }
.svc-block .prose { max-width: 46rem; }

.svc-figure { margin: 0 0 22px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); max-width: 46rem; }
.svc-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--sand-2); }
@media (min-width: 640px) { .svc-figure img { aspect-ratio: 16/9; } }
.svc-figure figcaption { font-size: .85rem; color: var(--muted); padding: 10px 14px; background: var(--paper); }

.feature-list { display: grid; gap: 12px; margin-top: 22px; }
.feature-list li {
  position: relative; padding: 16px 18px 16px 50px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.feature-list li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgb(143 185 92 / .22);
}
.feature-list h4 { margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: .94rem; }

.checklist { display: grid; gap: 10px; margin-top: 16px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border-radius: 6px;
  background: var(--leaf);
  -webkit-mask: var(--check) center/12px no-repeat; mask: var(--check) center/12px no-repeat;
}

/* specifikace přístrojů – na mobilu karty, na desktopu tabulka */
.specs { display: grid; gap: 10px; margin-top: 20px; }
.specs > div {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.specs dt { font-weight: 600; color: var(--forest); margin-bottom: 3px; }
.specs dd { margin: 0; color: var(--muted); font-size: .94rem; }
@media (min-width: 720px) {
  .specs { gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
  .specs > div { display: grid; grid-template-columns: 15rem 1fr; gap: 18px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none; padding: 14px 18px; }
  .specs > div:last-child { border-bottom: 0; }
  .specs > div:nth-child(odd) { background: var(--cream); }
  .specs dt { margin: 0; }
}

/* ---------------------------------------------------------------- KONTAKT */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: grid; gap: 12px; align-content: start; }
.ci-row {
  position: relative; overflow: hidden;
  display: flex; gap: 16px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
@media (min-width: 640px) { .ci-row { padding: 20px 22px; } }
.ci-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad-leaf); transition: width .3s var(--ease); }
@media (hover: hover) { a.ci-row:hover { transform: translateX(3px); box-shadow: var(--shadow); } a.ci-row:hover::before { width: 4px; } }
.ci-row .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--grad-forest); color: #fff; display: grid; place-items: center; transition: transform .35s var(--ease); }
.ci-row .ico svg { width: 21px; height: 21px; }
@media (hover: hover) { a.ci-row:hover .ico { transform: scale(1.06) rotate(-3deg); } }
.ci-row .lbl { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ci-row .val { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 400px) { .ci-row .val { font-size: 1.1rem; } }
.ci-row .sub { display: block; font-size: .88rem; color: var(--muted); }

.map-wrap {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: var(--sand);
  min-height: 330px;      /* dokud je uvnitř výzva k načtení, roste podle obsahu */
}
.map-wrap.has-map { aspect-ratio: 4/3; min-height: 0; }
@media (min-width: 900px) {
  .map-wrap { min-height: 460px; }
  .map-wrap.has-map { aspect-ratio: 5/4; }
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.92); }
.map-placeholder {
  min-height: inherit; display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; padding: clamp(20px, 5vw, 40px);
  background-image: radial-gradient(90% 80% at 50% 0%, rgb(143 185 92 / .14), transparent 70%);
}
.map-placeholder > svg { width: 38px; height: 38px; color: var(--moss); }
.map-placeholder p { max-width: 34ch; font-size: .95rem; }
.map-placeholder .btn { margin-top: 4px; }

/* ------------------------------------------------------------- FORMULÁŘ */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field > label { font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.field .req { color: var(--moss); }
.field input, .field select, .field textarea {
  width: 100%; font-size: 1rem; /* 16px – brání automatickému zoomu na iOS */
  padding: 12px 14px; min-height: 48px;
  background: var(--cream); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--moss); background: var(--paper);
  box-shadow: 0 0 0 3px rgb(143 185 92 / .25);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4522f; }
.form-note { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.form-actions .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .form-actions .btn { flex: 0 1 auto; } }
.btn--quiet { border: 1.5px solid var(--line); color: var(--muted); background: var(--cream); }
.btn--quiet:hover { border-color: var(--moss); color: var(--forest); }
.form-status { margin-top: 14px; font-size: .95rem; padding: 12px 16px; border-radius: var(--r-sm); display: none; }
.form-status.is-on { display: block; }
.form-status.ok { background: var(--leaf-100); color: #2c4520; border: 1px solid var(--leaf-200); }

/* ------------------------------------------------------------- CTA PRUH */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--forest); color: #fff;
  padding: clamp(28px, 5vw, 64px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 110% -20%, rgb(143 185 92 / .34), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-top: 12px; }
.cta-band p { color: #d3dec8; max-width: 46ch; margin-top: 12px; }
.cta-band .btn-row { margin-top: 26px; }
.cta-rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta-rings::before {
  content: ""; position: absolute; right: -70px; bottom: -110px; width: 420px; height: 420px;
  background: var(--leaf-200);
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: .16;
}

/* ---------------------------------------------------------------- PATIČKA */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #c4d0b9;
  padding-top: clamp(48px, 7vw, 92px);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-image: url("../img/footer-bg.jpg");
  background-image: -webkit-image-set(
    url("../img/footer-bg-1200.avif") type("image/avif"),
    url("../img/footer-bg-1200.webp") type("image/webp"),
    url("../img/footer-bg.jpg") type("image/jpeg"));
  background-image: image-set(
    url("../img/footer-bg-1200.avif") type("image/avif"),
    url("../img/footer-bg-1200.webp") type("image/webp"),
    url("../img/footer-bg.jpg") type("image/jpeg"));
}
.footer-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.footer-deco::before {
  content: ""; position: absolute; left: -70px; bottom: -130px; width: 380px; height: 380px;
  background: var(--leaf);
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: .06;
}
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 52px; } }
@media (min-width: 640px) { .footer-about { grid-column: 1 / -1; } }
@media (min-width: 980px) { .footer-about { grid-column: auto; } }
.site-footer .brand img { height: 36px; margin-bottom: 18px; }
.site-footer p { color: #9fae93; font-size: .95rem; max-width: 36ch; }
.footer-col h2 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a, .footer-col span { display: block; color: #b6c4a9; padding: 7px 0; font-size: .97rem; transition: color .25s, transform .25s; }
.footer-col a:hover { color: var(--leaf); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .1); padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8b9a7f;
}
.footer-credit a {
  color: #b6c4a9;
  border-bottom: 1px solid rgb(255 255 255 / .2);
  padding-bottom: 1px;
  transition: color .25s, border-color .25s;
}
.footer-credit a:hover { color: var(--leaf); border-color: var(--leaf); }

.site-footer::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgb(143 185 92 / .5), transparent);
}

/* ------------------------------------------------- DEKORACE SEKCÍ + ZRNO */
.section--forest, .cta-band, .site-footer {
  background-image: url("../img/deco-grain.svg");
  background-size: 200px 200px; background-blend-mode: soft-light;
}
.section--forest, .section--sand { position: relative; overflow: hidden; }
.section--forest > .container, .section--sand > .container { position: relative; z-index: 1; }
.section--forest::before, .section--sand::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
}
.section--forest::before {
  width: min(520px, 90vw); aspect-ratio: 1; top: -110px; right: -100px; background: var(--leaf);
  -webkit-mask: var(--rings) center / contain no-repeat; mask: var(--rings) center / contain no-repeat;
  opacity: .1;
}
@media (min-width: 900px) { .section--forest::before { width: 660px; top: -140px; right: -120px; } }
.section--sand::before {
  left: 0; right: 0; bottom: -30px; height: 300px; background: var(--forest);
  -webkit-mask: var(--contour) center bottom / 1000px auto no-repeat;
  mask: var(--contour) center bottom / 1000px auto no-repeat;
  opacity: .05;
}
.section--forest::after, .cta-band::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgb(143 185 92 / .5) 35%, rgb(143 185 92 / .5) 65%, transparent);
}

/* ------------------------------------------------------- PLOVOUCÍ PRVKY */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--moss), var(--leaf) 60%, var(--leaf-200));
  will-change: transform; pointer-events: none;
}

.to-top {
  position: fixed; right: clamp(14px, 3vw, 28px);
  bottom: calc(clamp(14px, 3vw, 28px) + env(safe-area-inset-bottom));
  width: 48px; height: 48px; z-index: 95; display: none; place-items: center;
  border-radius: 50%; background: var(--forest); color: #fff;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.8);
  pointer-events: none; transition: transform .4s var(--ease), opacity .3s, background-color .3s;
}
@media (min-width: 900px) { .to-top { display: grid; } }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); transform: translateY(-3px); }
.to-top svg { width: 21px; height: 21px; }

/* rychlé akce na mobilu */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgb(248 246 239 / .94);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.quickbar.show { transform: none; }
body.nav-open .quickbar { transform: translateY(110%); }
.quickbar a {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; border-radius: var(--pill); font-weight: 600; font-size: .95rem;
}
.quickbar a svg { width: 1.05em; height: 1.05em; }
.quickbar .qb-call { background: var(--forest); color: #fff; }
.quickbar .qb-mail { background: var(--paper); color: var(--forest); border: 1.5px solid var(--line); }
@media (min-width: 900px) { .quickbar { display: none; } }
@media (max-width: 899px) { body.has-quickbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }

/* ---------------------------------------------------------------- 404 */
.error-page {
  min-height: 80svh; display: grid; place-items: center; text-align: center;
  padding-top: calc(var(--header-h) + 40px);
}
.error-code {
  font-family: var(--serif); color: #fff; line-height: .9; margin: 12px 0 4px;
  font-size: clamp(4.5rem, 20vw, 10rem);
  background: linear-gradient(120deg, #fff, var(--leaf-200));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------- ANIMACE */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .07s; }
[data-reveal][data-delay="2"] { transition-delay: .14s; }
[data-reveal][data-delay="3"] { transition-delay: .21s; }
[data-reveal][data-delay="4"] { transition-delay: .28s; }
[data-reveal][data-delay="5"] { transition-delay: .35s; }

/* plynulé doplnění fotek (mimo LCP hero, které se zobrazuje okamžitě) */
.js .fade-img { opacity: 0; transition: opacity .55s var(--ease); }
.js .fade-img.is-loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .js .fade-img { opacity: 1; transition: none; }
  .hero__scroll i, .method__icon::after { animation: none; }
  .btn::before, .btn--primary::before, .btn--light::before, .btn--leaf::before { display: none; }
  .nav a { opacity: 1; transform: none; transition: none; }
  .nav, .quickbar, .to-top { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ------------------------------------------------ BEZ JAVASCRIPTU
   Třídu `js` přidává inline skript v <head>. Když skript neběží, musí web
   zůstat čitelný a ovladatelný: obsah se neschovává a menu je rozbalené. */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) .nav a { opacity: 1; transform: none; }
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 899px) {
  html:not(.js) .site-header { position: absolute; padding-bottom: 12px; background: rgb(24 36 26 / .55); }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .nav {
    position: static; visibility: visible; transform: none;
    flex-direction: row; flex-wrap: wrap; justify-content: flex-start;
    gap: 2px 4px; padding: 10px 0 0; background: none; overflow: visible;
    width: 100%;
  }
  html:not(.js) .nav::before { display: none; }
  html:not(.js) .nav a {
    opacity: 1; transform: none; transition: none;
    font-family: var(--sans); font-size: .95rem; font-weight: 500;
    padding: 9px 12px; border: 0; border-radius: var(--pill);
  }
  html:not(.js) .nav .btn { margin: 6px 0 0; min-height: 42px; }
  html:not(.js) .nav__meta { display: none; }
  html:not(.js) .hero { padding-top: 132px; }
}

/* ------------------------------------------------------- VLASTNÍ SCROLLBAR */
@media (pointer: fine) {
  html { scrollbar-color: var(--sage) transparent; scrollbar-width: thin; }
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: var(--sand); }
  ::-webkit-scrollbar-thumb { background: var(--sage); border: 3px solid var(--sand); border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--moss); }
}

/* ------------------------------------------------------------------- TISK */
@media print {
  .site-header, .quickbar, .to-top, .scroll-progress, .nav, .hero__scroll,
  .cta-band, .svc__nav, .map-wrap, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: auto; color: #000; padding-top: 0; }
  .hero__bg, .hero::after, .hero::before { display: none; }
  .hero h1, .hero p, .hero .eyebrow { color: #000; text-shadow: none; }
  .section { padding-block: 14pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .article, .ref-card, .step, .faq__item { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .faq__a { display: block !important; }
  .site-footer { background: #fff; color: #000; }
}
