/* Vánoční stromky a kapři – Mor. Krumlov
   ------------------------------------------------------------------
   Čistý světlý vzhled: bílá a krémová, jedlová zeleň (stromky),
   modrá z loga (kapři), oranžová bobule z cesmíny jako drobný akcent. */

:root {
  --white: #fff;
  --cream: #f6f1e9;
  --cream-2: #eee6d9;
  --line: #e8e0d3;
  --line-strong: #d8cdbb;
  --ink: #2b2925;
  --text: #4b473f;
  --muted: #7b7367;
  --fir: #2f4b3e;
  --fir-dark: #1e3229;
  --fir-tint: #ebf0eb;
  --blue: #3d5a8a;
  --blue-dark: #2c4469;
  --blue-tint: #eaeff6;
  --berry: #d9783a;
  --berry-dark: #a9531f;

  --accent: var(--fir);
  --accent-dark: var(--fir-dark);
  --accent-tint: var(--fir-tint);

  --head: "Bitter", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-xl: 28px;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 12px;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(43, 41, 37, .05), 0 18px 40px -22px rgba(43, 41, 37, .28);

  --ph-tree: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23b3a58f' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M32 7l10 14h-5.5l8.5 12h-5.5l9.5 14h-34l9.5-14h-5.5l8.5-12h-5.5z'/%3E%3Cpath d='M32 47v8'/%3E%3C/g%3E%3C/svg%3E");
  --ph-fish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23b3a58f' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M6 32c9-12 31-14 42 0-11 14-33 12-42 0z'/%3E%3Cpath d='M48 32l10-9v18z'/%3E%3Cpath d='M27 23c2 6 2 12 0 18'/%3E%3C/g%3E%3Ccircle cx='15' cy='30' r='1.6' fill='%23b3a58f'/%3E%3C/svg%3E");
}

.theme-carp {
  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-tint: var(--blue-tint);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- tlačítka a odkazy ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 15px/1.2 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn:hover { --btn-bg: var(--accent); }
.btn .icon { width: 18px; height: 18px; }

.btn--arrow { padding-right: 6px; gap: 14px; }
.btn__arrow {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--berry); color: #fff;
  transition: transform .3s ease;
}
.btn__arrow .icon { width: 18px; height: 18px; }
.btn--arrow:hover .btn__arrow { transform: translateX(3px); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--light:hover { --btn-bg: #fff; --btn-bd: var(--ink); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-dark); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white:hover { --btn-bg: var(--cream); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--berry);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition: color .2s, gap .25s;
}
.link:hover { color: var(--accent); gap: 11px; }
.link .icon { width: 16px; height: 16px; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(43, 41, 37, .5);
}
.site-header .container {
  display: flex; align-items: center; gap: 10px;
  height: var(--header-h);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; margin-right: auto;
  text-decoration: none;
}
.brand__mark {
  position: relative; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  overflow: hidden; background: #fff;
}
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name {
  font-family: var(--head); font-weight: 600; font-size: 15.5px;
  color: var(--ink); white-space: nowrap;
}
.brand__place { font-size: 12.5px; color: var(--muted); }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; color: var(--ink); }
.nav__list a:hover { color: var(--accent); }

.header-call, .nav-toggle {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
}
.header-call { background: var(--ink); color: #fff; }
.header-call .icon { width: 19px; height: 19px; }
.nav-toggle {
  position: relative; padding: 0; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before {
  content: ""; position: absolute; left: 13px; width: 16px; height: 1.6px;
  border-radius: 2px; background: currentColor;
  transition: transform .3s, top .3s;
}
.nav-toggle span { top: 18px; }
.nav-toggle span::before { left: 0; top: 6px; }
.nav-open .nav-toggle span { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1079px) {
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h);
    display: flex; flex-direction: column; gap: 28px;
    padding: 8px var(--gutter) 40px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__list a {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
    font-family: var(--head); font-size: 23px; font-weight: 500;
  }
  .nav__list a[aria-current="page"] { color: var(--accent); }
  .nav__phone { width: 100%; }
}

@media (min-width: 400px) {
  .brand__name { font-size: 17px; }
  .brand__mark { width: 52px; height: 52px; }
}
@media (min-width: 768px) {
  .brand { gap: 12px; }
  .brand__mark { width: 62px; height: 62px; }
}

@media (min-width: 1080px) {
  .header-call, .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 18px; }
  .nav__list { display: flex; gap: 2px; }
  .nav__list a {
    display: block; padding: 8px 13px;
    font-size: 15px; font-weight: 500;
  }
  .nav__list a[aria-current="page"] {
    color: var(--accent);
    text-decoration: underline; text-decoration-color: var(--berry);
    text-decoration-thickness: 1.5px; text-underline-offset: 8px;
  }
}

/* ---------- fotky a zástupné plochy ---------- */
.media {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--cream-2);
}
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing {
  background-image: var(--ph-tree);
  background-repeat: no-repeat;
  background-position: 50% 42%;
  background-size: auto clamp(48px, 30%, 96px);
}
.media.is-missing[data-ph="fish"] { background-image: var(--ph-fish); }
.media.is-missing::after {
  content: attr(data-label);
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  font-size: 13px; text-align: center; color: var(--muted);
}

/* ---------- hero: video přes celou plochu, text přímo na něm ---------- */
.hero { padding: 0 var(--gutter); }
.hero__frame {
  --scrim: 18, 31, 25;
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  max-width: 1640px; margin: 0 auto;
  min-height: min(calc(100vh - var(--header-h) - 16px), 740px);
  min-height: min(calc(100svh - var(--header-h) - 16px), 740px);
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--fir-dark);
}
.theme-carp .hero__frame { --scrim: 22, 36, 58; background: var(--blue-dark); }
.hero--page .hero__frame { min-height: min(72svh, 620px); }
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--fir-dark) var(--ph-tree) no-repeat 50% 34% / auto 20%;
}
.hero__media--fish { background-color: var(--blue-dark); background-image: var(--ph-fish); }
.hero__media img,
.hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, 50% 50%);
}
.hero__media video { opacity: 0; transition: opacity 1.4s ease; }
.hero__media.has-video video { opacity: 1; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .66) 34%,
    rgba(var(--scrim), .18) 64%, rgba(var(--scrim), 0) 82%);
}
.hero__content {
  position: relative; width: 100%;
  padding: 28px 22px 26px;
  color: #fff;
}
.hero__kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.hero__kicker .holly { width: 34px; height: 19px; color: #fff; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 82px);
  line-height: 1.02; letter-spacing: -.01em;
  color: #fff; text-wrap: balance;
  margin-bottom: 16px;
}
.hero__lead { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 34em; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.6); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }
.hero__call {
  display: flex; flex-direction: column; line-height: 1.3;
  font-size: 14px; color: rgba(255,255,255,.78); margin-left: 6px;
}
.hero__call a { font-weight: 600; color: #fff; text-decoration: none; font-size: 16px; }
.hero__call a:hover { text-decoration: underline; text-decoration-color: var(--berry); }
.crumbs { margin: 0 0 12px; font-size: 14px; color: rgba(255,255,255,.78); }
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; }

@media (max-width: 479px) {
  .hero__kicker { font-size: 11px; letter-spacing: .06em; gap: 8px; }
  .hero__kicker .holly { width: 28px; height: 16px; }
  .fact__value { font-size: 19px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn:not(.btn--arrow) { justify-content: center; }
  .hero__call { margin: 4px 0 0; flex-direction: row; gap: 6px; align-items: baseline; }
}

@media (min-width: 900px) {
  .hero__frame {
    min-height: clamp(600px, calc(100vh - var(--header-h) - 24px), 880px);
    min-height: clamp(600px, calc(100svh - var(--header-h) - 24px), 880px);
  }
  .hero--page .hero__frame { min-height: clamp(520px, 70vh, 720px); }
  .hero__media { background-position: 72% 40%; background-size: auto 16%; }
  /* hlavní motiv videa posunout doprava, aby nebyl pod nadpisem */
  .hero__media--wide img,
  .hero__media--wide video { width: 145%; max-width: none; }
  .hero__frame::after {
    background:
      linear-gradient(90deg, rgba(var(--scrim), .8) 0%, rgba(var(--scrim), .52) 34%, rgba(var(--scrim), 0) 64%),
      linear-gradient(to top, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), 0) 46%);
  }
  .hero__content { max-width: 780px; padding: 56px 64px 64px; }
  .hero__lead { font-size: 19px; }
}

/* ---------- přehled faktů ---------- */
.facts { padding: 20px 0 0; }
.facts__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.fact {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 20px 14px; background: #fff; text-align: center;
}
.fact--wide { grid-column: 1 / -1; }
.fact__label { font-size: 13px; color: var(--muted); }
.fact__value {
  font-family: var(--head); font-size: 21px; font-weight: 600; line-height: 1.25;
  color: var(--accent);
}
.fact__value--big { font-size: 34px; line-height: 1.05; }
.fact__sub { font-size: 14px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #3f9a5c; box-shadow: 0 0 0 4px rgba(63, 154, 92, .16);
}
.live-dot.is-closed { background: var(--berry); box-shadow: 0 0 0 4px rgba(217, 120, 58, .16); }

@media (min-width: 900px) {
  .facts__grid { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .fact--wide { grid-column: auto; }
  .fact { padding: 26px 20px; }
}

/* ---------- sekce ---------- */
.section { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--tight-top { padding-top: 40px; }
@media (min-width: 768px) {
  .section { padding: 112px 0; }
  .section--tight-top { padding-top: 72px; }
}

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); color: var(--accent); margin-bottom: 16px; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--left .ornament { margin-left: 0; }
@media (min-width: 768px) { .section-head { margin-bottom: 60px; } }

.ornament { display: block; width: 58px; height: 33px; margin: 0 auto 14px; color: var(--accent); }
.ornament--left { margin-left: 0; }
.lead { font-size: 17px; line-height: 1.7; }
@media (min-width: 768px) { .lead { font-size: 18.5px; } }

/* ---------- rozcestník ---------- */
.choices { display: grid; gap: 20px; }
@media (min-width: 820px) { .choices { grid-template-columns: 1fr 1fr; gap: 32px; } }
.choice {
  display: flex; flex-direction: column;
  background: #fff; color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  transition: box-shadow .35s ease, border-color .35s ease;
}
.choice:hover { box-shadow: var(--shadow); border-color: transparent; }
.choice .media { border-radius: 0; aspect-ratio: 3 / 2; }
.choice .media > img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.choice:hover .media > img { transform: scale(1.03); }
.choice__body { display: flex; flex-direction: column; flex: 1; padding: 26px 22px 30px; }
.choice__meta {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 10px; font-size: 14px; color: var(--muted);
}
.choice__meta .icon { width: 17px; height: 17px; color: var(--berry); }
.choice h3 { font-size: clamp(27px, 3.2vw, 36px); color: var(--fir); margin-bottom: 12px; }
.choice--carp h3 { color: var(--blue); }
.choice__body > p:not(.choice__meta) { margin-bottom: 22px; }
.choice .link { margin-top: auto; align-self: flex-start; }
@media (min-width: 768px) { .choice__body { padding: 32px 36px 36px; } }

/* ---------- videa ---------- */
.videos { display: grid; gap: 28px 20px; }
.vtile { margin: 0; display: flex; flex-direction: column; }
.vtile .media { aspect-ratio: 4 / 3; }
.vtile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.vtile.has-video video { opacity: 1; }
.vtile__play {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: none; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
}
.vtile__play svg { width: 14px; height: 14px; margin-left: 2px; }
.vtile.has-video .vtile__play { display: grid; }
.vtile.has-video .media::after { display: none; }
.vtile figcaption { padding: 16px 4px 0; }
.vtile figcaption strong { display: block; font-family: var(--head); font-size: 19px; margin-bottom: 2px; }
.vtile figcaption span { font-size: 15px; color: var(--muted); }
@media (min-width: 820px) {
  .videos { grid-template-columns: 1.55fr 1fr; }
  .vtile--main { grid-row: span 2; }
  .vtile--main .media { flex: 1; aspect-ratio: auto; min-height: 420px; }
  .vtile:not(.vtile--main) .media { aspect-ratio: 16 / 10; }
}

/* ---------- seznam služeb ---------- */
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 64px; }
@media (min-width: 820px) { .svc { grid-template-columns: 1fr 1fr; } }
.svc li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.svc .icon { width: 26px; height: 26px; margin-top: 2px; color: var(--accent); }
.svc h3 { font-size: 19px; margin: 0 0 4px; }
.svc p { margin: 0; font-size: 15.5px; }

/* ---------- místa ---------- */
.places { display: grid; gap: 20px; }
@media (min-width: 820px) { .places { grid-template-columns: 1fr 1fr; gap: 28px; } }
.place {
  display: flex; flex-direction: column;
  padding: 30px 22px; border-radius: var(--r-xl); background: #fff;
}
@media (min-width: 768px) { .place { padding: 40px 40px 36px; } }
.place__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.place__pin {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--fir-tint); color: var(--fir);
}
.place__pin .icon { width: 22px; height: 22px; }
.place h3 { font-size: 25px; margin: 0 0 4px; }
.place__addr { margin: 0; color: var(--muted); font-size: 15px; }
.place__links { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: auto; padding-top: 22px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.ticks .is-fish .icon { color: var(--blue); }
.ticks .is-no { color: var(--muted); }
.ticks .is-no .icon { color: var(--line-strong); }
.ticks--spaced { margin-top: 28px; }
@media (min-width: 820px) { .ticks--2 { columns: 2; column-gap: 40px; } .ticks--2 li { break-inside: avoid; } }

.hours {
  display: grid; gap: 14px; margin-top: 20px;
  padding: 26px 22px; border-radius: var(--r-xl); background: #fff;
}
.hours__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 21px; }
.hours__title .icon { color: var(--berry); }
.hours__row { margin: 0; font-size: 15.5px; }
.hours__row strong { display: block; }
.hours__note { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (min-width: 900px) {
  .hours { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; align-items: center; gap: 32px; padding: 30px 40px; }
}

/* ---------- výzva ke kontaktu ---------- */
.cta { max-width: 820px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: clamp(32px, 4.6vw, 50px); color: var(--accent); }
.cta__phone {
  display: inline-block; margin: 8px 0 22px;
  font-family: var(--head); font-weight: 600; font-size: clamp(36px, 6vw, 58px); line-height: 1.1;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.cta__phone:hover { color: var(--accent); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__mail { margin-top: 22px; color: var(--muted); }
.cta__mail a { color: var(--ink); }

/* ---------- stromky: druhy ---------- */
.species { display: grid; gap: 36px 24px; }
@media (min-width: 560px) { .species { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .species { grid-template-columns: repeat(4, 1fr); } }
.species-card { margin: 0; }
.species-card .media { aspect-ratio: 4 / 3; }
@media (min-width: 560px) { .species-card .media { aspect-ratio: 4 / 5; } }
.species-card h3 { font-size: 22px; margin: 18px 0 2px; }
.latin { display: block; margin-bottom: 8px; font-family: var(--head); font-style: italic; font-size: 15px; color: var(--muted); }
.species-card p { font-size: 15.5px; }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 44px; padding: 20px 22px;
  border-radius: var(--r); background: var(--cream);
}
.note .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--berry); }
.note p { margin: 0; }
.note a { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* kalkulačka */
.calc {
  display: grid; gap: 24px; margin-top: 24px;
  padding: 30px 18px 18px; border-radius: var(--r-xl); background: var(--accent-tint);
}
.calc__intro h3 { font-size: clamp(25px, 3vw, 32px); color: var(--accent); }
.calc__intro p { max-width: 460px; }
.calc__form { padding: 24px 20px; border-radius: var(--r-lg); background: #fff; }
.calc__label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.calc__label output { font-family: var(--head); color: var(--accent); }
.calc__result { margin: 22px 0 4px; font-family: var(--head); font-size: 20px; color: var(--ink); }
.calc__result strong { font-size: 42px; color: var(--accent); line-height: 1; }
.calc__hint { margin: 0; font-size: 15px; color: var(--muted); }
.calc .options { margin-top: 20px; }
@media (min-width: 900px) {
  .calc { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 48px 48px 48px 56px; }
  .calc__form { padding: 32px 36px; }
}

.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--line); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* velké stromy */
.bigtree {
  display: grid; gap: 18px; align-items: center; margin-top: 24px;
  padding: 34px 22px; border-radius: var(--r-xl);
  background: var(--fir); color: #dfe7e1;
}
.bigtree__num { font-family: var(--head); font-weight: 600; font-size: clamp(54px, 8vw, 86px); line-height: 1; color: #fff; }
.bigtree__num small { font-size: .42em; font-weight: 500; }
.bigtree h3 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); }
.bigtree p { margin: 0; }
.bigtree .btn { justify-self: start; }
@media (min-width: 900px) {
  .bigtree { grid-template-columns: auto 1fr auto; gap: 48px; padding: 48px 56px; }
}

/* dvousloupec text + fotka */
.split { display: grid; gap: 40px; align-items: center; }
.split > .media { aspect-ratio: 4 / 3; border-radius: var(--r-xl); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split > .media { aspect-ratio: 4 / 5; }
}
.split h2 { font-size: clamp(30px, 4.2vw, 44px); color: var(--accent); }

.checklist { list-style: none; margin: 30px 0 0; padding: 0; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line-strong); }
.checklist .ico {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--accent);
}
.checklist .ico .icon { width: 21px; height: 21px; }
.checklist strong { display: block; margin-bottom: 2px; }
.checklist span:not(.ico) { font-size: 15.5px; }

/* galerie */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery .media { aspect-ratio: 1; border-radius: var(--r); }
.gallery .media--wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
  .gallery .media--wide { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
}

.trio { display: grid; gap: 0 40px; margin-top: 44px; }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio > div { padding: 24px 0; border-top: 1px solid var(--line); }
.trio .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.trio h3 { font-size: 21px; margin-bottom: 6px; }
.trio p { font-size: 15.5px; }

/* ---------- kapři ---------- */
.steps-title { font-size: clamp(24px, 3vw, 30px); text-align: center; margin: 72px 0 32px; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 24px; }
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.steps__num { display: block; margin-bottom: 10px; font-family: var(--head); font-size: 40px; font-weight: 500; line-height: 1; color: var(--berry); }
.steps strong { display: block; margin-bottom: 4px; font-family: var(--head); font-size: 20px; }
.steps li > span:last-child { font-size: 15.5px; }

.collage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; }
.collage .media { aspect-ratio: 3 / 4; border-radius: var(--r-lg); }
.collage .media:last-child { margin-top: 56px; }

.tradition { display: grid; gap: 20px; }
@media (min-width: 900px) { .tradition { grid-template-columns: 1fr 1fr; gap: 24px; } }
.t-card { padding: 30px 22px; border-radius: var(--r-xl); background: var(--cream); }
.t-card--line { background: #fff; border: 1px solid var(--line); }
.t-card h3 { font-size: clamp(22px, 2.4vw, 26px); color: var(--accent); }
.t-card ul, .t-card ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.t-card li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.t-card li:first-child { border-top: 0; padding-top: 0; }
.t-card ul li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--berry);
}
.t-card ol li::before {
  counter-increment: t; content: counter(t);
  flex: none; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--berry); min-width: 14px;
}
.t-card--wide { grid-column: 1 / -1; display: grid; gap: 22px; }
@media (min-width: 768px) { .t-card { padding: 44px; } }
@media (min-width: 900px) { .t-card--wide { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--head); font-weight: 600; font-size: 18.5px; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%232b2925' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: -4px 0 24px; max-width: 700px; }

/* ---------- objednávka ---------- */
.order { display: grid; gap: 36px; }
@media (min-width: 1000px) {
  .order { grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
  .order__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.order__aside h2 { font-size: clamp(30px, 4vw, 44px); color: var(--accent); }
.order__phone {
  display: inline-block; margin: 6px 0 10px;
  font-family: var(--head); font-weight: 600; font-size: 34px; color: var(--ink); text-decoration: none;
}
.order__phone:hover { color: var(--accent); }
.order__aside .muted { color: var(--muted); }

.form {
  padding: 26px 18px; border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 768px) { .form { padding: 44px 44px 40px; } }
.form fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.form legend {
  display: block; width: 100%; padding: 0 0 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--head); font-weight: 600; font-size: 21px; color: var(--ink);
}
.grid-2, .grid-3 { display: grid; gap: 18px; }
@media (min-width: 560px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .field--span2 { grid-column: span 2; }
}
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--berry-dark); }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.form input[type="text"], .form input[type="tel"], .form input[type="email"],
.form input[type="number"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: 16px/1.4 var(--body);
  transition: border-color .2s, box-shadow .2s;
}
.form select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237b7367' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.form textarea { min-height: 112px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.form ::placeholder { color: #a79d8f; }

.options { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; display: inline-flex; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 13px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; font-size: 15px; line-height: 1.3; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.option span::before {
  content: ""; flex: none; width: 18px; height: 18px;
  border: 1.5px solid #b5a994; border-radius: 5px; background: #fff center / 12px no-repeat;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.option input[type="radio"] + span::before { border-radius: 50%; }
.option:hover span { border-color: var(--accent); }
.option input:checked + span { border-color: var(--accent); background: var(--accent-tint); }
.option input[type="checkbox"]:checked + span::before {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.option input[type="radio"]:checked + span::before {
  border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3.5px #fff;
}
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__consent { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.form .btn--block { justify-content: space-between; padding-left: 26px; }
.form__status:empty { display: none; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 15px; }
.form__status.is-ok { background: #e8f2eb; color: #1f4f32; }
.form__status.is-err { background: #fbece4; color: #86340f; }
.form__status a { font-weight: 600; color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- patička ---------- */
.site-footer { background: var(--fir-dark); color: #c9d4cc; padding: 64px 0 28px; font-size: 15px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 44px; }
.footer-brand .brand__mark { width: 148px; height: 148px; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.footer-brand .brand__mark img { inset: 6%; width: 88%; height: 88%; }
.footer-brand__name { font-family: var(--head); font-size: 22px; font-weight: 600; color: #fff; line-height: 1.2; }
.footer-brand__place { display: block; font-family: var(--body); font-size: 14px; font-weight: 400; color: #a9bcb0; margin-top: 4px; }
.footer-brand p { max-width: 420px; margin: 0; }
.footer-grid {
  display: grid; gap: 28px; padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-grid { text-align: center; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer .footer-h {
  margin: 0 0 10px; font-family: var(--body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #9fb4a7;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--berry); text-underline-offset: 5px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px; color: #9fb4a7;
}
@media (max-width: 719px) { .footer-bottom { justify-content: center; text-align: center; } }

/* ---------- jemné objevení při scrollu ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

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