/* ============================================================
   Krásný Trávník — dynamický vzhled
   ============================================================ */
:root {
  --green-ink: #0b2513;
  --green-deep: #123a1e;
  --green: #1f7a33;
  --green-bright: #35c153;
  --lime: #a8e063;
  --lime-soft: #d9f4b8;
  --bg: #f6faf2;
  --text: #1c2a1a;
  --muted: #55684f;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(11, 37, 19, 0.14);
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

::selection { background: var(--lime); color: var(--green-ink); }

/* ---------- Ukazatel scrollu ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-bright), var(--lime));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Navigace ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.nav.scrolled {
  background: rgba(11, 37, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-icon { animation: sway 3.5s ease-in-out infinite; display: inline-block; transform-origin: bottom center; }

.brand-logo {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
  transition: height 0.35s ease, transform 0.2s ease;
}

.nav.scrolled .brand-logo { height: 46px; }

.nav-brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); }

.hero-logo {
  width: min(240px, 55vw);
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.55));
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes sway {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(10deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  opacity: 0.92;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  color: var(--green-ink) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 800 !important;
  box-shadow: 0 0 18px rgba(168, 224, 99, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 28px rgba(168, 224, 99, 0.7); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  color: var(--white);
  font-size: 1.35rem;
  padding: 0.15rem 0.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: -6%;
  background: url("img/hero-pruhy.jpg") center 55% / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(53, 193, 83, 0.25), transparent 55%),
    linear-gradient(180deg, rgba(11,37,19,0.72) 0%, rgba(11,37,19,0.45) 45%, rgba(11,37,19,0.75) 100%);
}

/* poletující částice */
.hero-particles span {
  position: absolute;
  bottom: -12px;
  width: 9px; height: 9px;
  border-radius: 50% 0 50% 50%;
  background: rgba(168, 224, 99, 0.65);
  animation: floatUp linear infinite;
}

.hero-particles span:nth-child(1) { left: 8%;  animation-duration: 11s; animation-delay: 0s;  }
.hero-particles span:nth-child(2) { left: 22%; animation-duration: 14s; animation-delay: 2s; width: 6px; height: 6px; }
.hero-particles span:nth-child(3) { left: 35%; animation-duration: 10s; animation-delay: 5s;  }
.hero-particles span:nth-child(4) { left: 48%; animation-duration: 16s; animation-delay: 1s; width: 12px; height: 12px; }
.hero-particles span:nth-child(5) { left: 61%; animation-duration: 12s; animation-delay: 4s;  }
.hero-particles span:nth-child(6) { left: 74%; animation-duration: 15s; animation-delay: 7s; width: 7px; height: 7px; }
.hero-particles span:nth-child(7) { left: 85%; animation-duration: 11s; animation-delay: 3s;  }
.hero-particles span:nth-child(8) { left: 93%; animation-duration: 13s; animation-delay: 6s; width: 5px; height: 5px; }

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-105vh) rotate(300deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 1.2rem 9rem;
  max-width: 960px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(45px) rotate(3deg);
  animation: wordIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.15s; }
.hero-title .word:nth-child(2) { animation-delay: 0.28s; }
.hero-title .word:nth-child(3) { animation-delay: 0.41s; }
.hero-title .word:nth-child(4) { animation-delay: 0.54s; }
.hero-title .word:nth-child(5) { animation-delay: 0.67s; }
.hero-title .word:nth-child(6) { animation-delay: 0.80s; }

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--green-bright), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 2.2rem;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* travnatý okraj */
.hero-grass {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-grass svg { width: 100%; height: clamp(40px, 8vw, 110px); }

.scroll-hint {
  position: absolute;
  bottom: 5.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 16px;
}

.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--lime);
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-glow {
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  color: var(--green-ink);
  box-shadow: 0 0 22px rgba(168, 224, 99, 0.5), 0 8px 22px rgba(0,0,0,0.25);
  animation: glowPulse 2.6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(168, 224, 99, 0.4), 0 8px 22px rgba(0,0,0,0.25); }
  50%      { box-shadow: 0 0 34px rgba(168, 224, 99, 0.75), 0 8px 22px rgba(0,0,0,0.25); }
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.65);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover { border-color: var(--lime); color: var(--lime); }

.btn-big { font-size: 1.15rem; padding: 1rem 2.4rem; }

/* ---------- Běžící pás ---------- */
.marquee {
  background: var(--green-ink);
  color: var(--lime);
  overflow: hidden;
  padding: 0.85rem 0;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sekce ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  color: var(--green-ink);
  text-align: center;
  margin-bottom: 0.7rem;
  letter-spacing: -0.5px;
}

.h2-accent {
  background: linear-gradient(120deg, var(--green), var(--green-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.on-dark { color: var(--white) !important; }

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.06rem;
}

.section-lead.on-dark { color: rgba(255,255,255,0.8); }

/* ---------- Scroll reveal ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* postupné zpoždění karet a fotek */
.cards .reveal-up:nth-child(2), .gallery .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal-up:nth-child(3), .gallery .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.cards .reveal-up:nth-child(4), .gallery .reveal-up:nth-child(4) { transition-delay: 0.1s; }
.cards .reveal-up:nth-child(5), .gallery .reveal-up:nth-child(5) { transition-delay: 0.2s; }
.cards .reveal-up:nth-child(6), .gallery .reveal-up:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Karty ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
  border: 1px solid rgba(31, 122, 51, 0.08);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-bright), var(--lime), var(--green-bright));
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

.card:hover { box-shadow: 0 18px 50px rgba(11, 37, 19, 0.22); }

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.card:hover .card-icon { transform: scale(1.25) rotate(-8deg); }

.card h3 { color: var(--green-deep); font-size: 1.22rem; font-weight: 800; margin-bottom: 0.5rem; }

.card p { color: var(--muted); font-size: 0.96rem; }

.card-shine {
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.6s ease;
}

.card:hover .card-shine { left: 130%; }

/* ---------- Před / Po slider ---------- */
.section-dark-wrap {
  max-width: none;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(53,193,83,0.18), transparent 50%),
    linear-gradient(160deg, var(--green-ink), var(--green-deep));
  border-radius: 0;
}

.ba-slider {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(168,224,99,0.8);
  pointer-events: none;
}

.ba-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-ink);
  font-size: 1.3rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.ba-label {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  background: rgba(11,37,19,0.75);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.ba-label-left { left: 1rem; }
.ba-label-right { right: 1rem; background: var(--lime); color: var(--green-ink); }

.ba-note {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 1.2rem;
}

/* ---------- Kalendář péče ---------- */
.seasons {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.season-tabs { display: flex; }

.season-tab {
  flex: 1;
  padding: 1.1rem 0.5rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--lime-soft);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.season-tab:hover { background: #cdedaa; }

.season-tab.active {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: inset 0 -4px 0 var(--green-bright);
}

.season-panel { display: none; padding: 2rem 2.2rem 2.3rem; animation: panelIn 0.45s ease; }

.season-panel.active { display: block; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.season-panel h3 { color: var(--green-deep); font-weight: 800; margin-bottom: 1rem; }

.season-panel ul { list-style: none; display: grid; gap: 0.55rem; }

.season-panel li { color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.gallery figure:hover img { transform: scale(1.09) rotate(0.5deg); filter: saturate(1.15); }

.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(transparent, rgba(11,37,19,0.85));
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.gallery figure:hover figcaption { transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 18, 10, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 2rem;
}

.lightbox.open { display: grid; animation: panelIn 0.3s ease; }

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.6rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-close:hover { opacity: 1; transform: scale(1.15); }

/* ---------- Kontakt ---------- */
.section-contact {
  max-width: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(53,193,83,0.2), transparent 55%),
    linear-gradient(200deg, var(--green-deep), var(--green-ink));
  color: var(--white);
}

.contact-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-logo {
  width: 250px;
  border-radius: 12px;
  margin-bottom: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.contact-info p { color: rgba(255,255,255,0.85); margin: 0.8rem 0 1.4rem; }

.contact-list { list-style: none; display: grid; gap: 0.8rem; font-size: 1.08rem; }

.contact-list a { color: var(--lime); text-decoration: none; font-weight: 700; }

.contact-list a:hover { text-decoration: underline; }

.cta-box {
  position: relative;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(168,224,99,0.35);
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  text-align: center;
  overflow: hidden;
}

.cta-ring {
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 2px dashed rgba(168,224,99,0.4);
  animation: spin 18s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.cta-box h3 { font-size: 1.45rem; font-weight: 900; margin-bottom: 0.6rem; }

.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 1.6rem; }

/* ---------- Plovoucí telefon ---------- */
.float-phone {
  position: fixed;
  bottom: 1.6rem; right: 1.6rem;
  z-index: 950;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(11,37,19,0.4);
  animation: phoneRing 3s ease-in-out infinite;
}

@keyframes phoneRing {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-12deg) scale(1.08); }
  92% { transform: rotate(10deg) scale(1.08); }
  94% { transform: rotate(-8deg) scale(1.08); }
  96% { transform: rotate(6deg) scale(1.05); }
  98% { transform: rotate(0deg); }
}

.float-phone::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(168,224,99,0.6);
  animation: ripple 2.2s ease-out infinite;
}

@keyframes ripple {
  from { transform: scale(0.85); opacity: 1; }
  to   { transform: scale(1.5); opacity: 0; }
}

/* ---------- Patička ---------- */
.site-footer {
  background: #071a0d;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 1.4rem 1rem;
  font-size: 0.9rem;
}

.site-footer a { color: var(--lime); text-decoration: none; }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .nav { background: rgba(11, 37, 19, 0.88); backdrop-filter: blur(12px); flex-wrap: wrap; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.9rem 0 0.4rem;
  }

  .nav.menu-open .nav-links { display: flex; }

  .nav-links a { display: block; padding: 0.45rem 0; }

  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero-content { padding-bottom: 7rem; }

  .scroll-hint { display: none; }

  .season-panel { padding: 1.5rem 1.2rem 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-up { opacity: 1; transform: none; }
}

/* ============================================================
   Rozšíření: jazyky, předplatné, rádce, rezervace, chat
   ============================================================ */

/* ---------- Jazyky ---------- */
html.lang-en .only-cs { display: none !important; }
html:not(.lang-en) .only-en { display: none !important; }

.lang-switch { display: flex; align-items: center; gap: 0.3rem; }

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
}

.lang-btn.active { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }

.lang-btn:hover { color: var(--white); }

.lang-sep { color: rgba(255,255,255,0.35); }

/* ---------- Předplatné ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.plan {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,122,51,0.1);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover { transform: translateY(-6px); box-shadow: 0 20px 55px rgba(11,37,19,0.2); }

.plan h3 { font-size: 1.4rem; font-weight: 900; color: var(--green-deep); margin-bottom: 0.4rem; }

.plan-price { font-size: 1.9rem; font-weight: 900; color: var(--green); margin-bottom: 1.2rem; }

.plan-per { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

.plan ul { list-style: none; text-align: left; display: grid; gap: 0.55rem; margin-bottom: 1.6rem; color: var(--muted); font-size: 0.95rem; padding: 0; }

.plan-featured {
  border: 2px solid var(--green-bright);
  transform: scale(1.04);
  z-index: 1;
  box-shadow: 0 22px 60px rgba(31,122,51,0.25);
}

.plan-featured:hover { transform: scale(1.04) translateY(-6px); }

.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  color: var(--green-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-plan {
  border: 2px solid var(--green);
  color: var(--green-deep);
  background: transparent;
}

.btn-plan:hover { background: var(--green); color: var(--white); }

.section-alt-wrap { max-width: none; background: #eef5ec; }
.section-alt-wrap > * { max-width: 1120px; margin-left: auto; margin-right: auto; }

/* ---------- Rádce karty ---------- */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.guide-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  border-bottom: 4px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--green-bright);
  box-shadow: 0 18px 50px rgba(11,37,19,0.2);
}

.guide-emoji { font-size: 2.2rem; display: block; margin-bottom: 0.7rem; }

.guide-card h3 { color: var(--green-deep); font-size: 1.15rem; font-weight: 800; margin-bottom: 0.4rem; }

.guide-card p { color: var(--muted); font-size: 0.93rem; }

.guide-more { text-align: center; margin-top: 2.2rem; }

/* ---------- Stránka rádce ---------- */
.page-head {
  background: linear-gradient(160deg, #14371f, var(--green-deep));
  color: var(--white);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 0.6rem; }

.page-head p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; }

.guide-toc {
  max-width: 900px;
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 5;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: center;
}

.guide-toc a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.guide-toc a:hover { color: var(--green-bright); }

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 0.5rem;
  scroll-margin-top: 90px;
}

.article h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--green-deep);
  margin-bottom: 1rem;
  text-align: left;
}

.article h3 { color: var(--green); font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }

.article p, .article li { color: #384633; }

.article ul, .article ol { padding-left: 1.4rem; margin: 0.6rem 0 1rem; display: grid; gap: 0.4rem; }

.article .tip {
  background: #d9f4b8;
  border-left: 5px solid var(--green-bright);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: 0.97rem;
}

.pest-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.93rem; }

.pest-table th {
  background: var(--green-deep);
  color: var(--white);
  text-align: left;
  padding: 0.6rem 0.8rem;
}

.pest-table td { padding: 0.6rem 0.8rem; border-bottom: 1px solid #e2ecdb; vertical-align: top; }

.pest-table tr:nth-child(even) td { background: #f1f7ec; }

.table-scroll { overflow-x: auto; }

/* ---------- Rezervace / účet ---------- */
.auth-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem;
}

.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.6rem; }

.auth-tab {
  flex: 1;
  padding: 0.7rem;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  background: #d9f4b8;
  color: var(--muted);
}

.auth-tab.active { background: var(--green); color: var(--white); }

.form-grid { display: grid; gap: 0.9rem; }

.form-grid label { font-weight: 700; font-size: 0.9rem; color: var(--green-deep); display: block; margin-bottom: 0.25rem; }

.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #cfdec6;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.98rem;
  background: #fbfdf9;
  color: var(--text);
}

.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(53,193,83,0.15);
}

.form-msg { border-radius: 10px; padding: 0.8rem 1rem; font-weight: 600; font-size: 0.95rem; display: none; }
.form-msg.err { display: block; background: #fdecea; color: #9c2b23; }
.form-msg.ok { display: block; background: #e3f6e6; color: #1d6b2d; }

.btn-submit {
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  color: var(--green-ink);
  border: none;
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(53,193,83,0.4); }

.booking-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
}

.panel h3 { color: var(--green-deep); font-weight: 900; font-size: 1.25rem; margin-bottom: 1.2rem; }

.user-bar {
  max-width: 1000px;
  margin: 0 auto 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem;
}

.user-bar strong { color: var(--green-deep); }

.btn-ghost-dark {
  border: 2px solid var(--green);
  color: var(--green-deep);
  background: none;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 800;
  cursor: pointer;
}

.btn-ghost-dark:hover { background: var(--green); color: var(--white); }

.booking-item {
  border: 1.5px solid #dbe8d2;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.8rem;
  align-items: stretch;
}

.booking-item .b-main { font-weight: 700; color: var(--green-deep); }

.booking-item .b-sub { font-size: 0.88rem; color: var(--muted); }

.b-status {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: #d9f4b8;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.b-cancel { background: none; border: none; color: #b3402f; font-weight: 700; cursor: pointer; font-size: 0.85rem; }

.b-cancel:hover { text-decoration: underline; }

/* ---------- AI chat ---------- */
.chat-fab {
  position: fixed;
  bottom: 1.6rem; left: 1.6rem;
  z-index: 950;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(11,37,19,0.4);
  transition: transform 0.2s ease;
}

.chat-fab:hover { transform: scale(1.1); }

.chat-window {
  position: fixed;
  bottom: 5.8rem; left: 1.6rem;
  z-index: 960;
  width: min(380px, calc(100vw - 2.4rem));
  height: min(560px, calc(100vh - 8rem));
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.open { display: flex; animation: panelIn 0.3s ease; }

.chat-head {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: var(--white);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-head h4 { font-size: 1.02rem; font-weight: 800; }

.chat-head small { display: block; font-weight: 400; opacity: 0.8; font-size: 0.78rem; }

.chat-close { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; opacity: 0.85; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #f4f9f0;
}

.chat-msg {
  max-width: 85%;
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.chat-msg.bot { background: var(--white); color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); align-self: flex-start; }

.chat-msg.user { background: var(--green); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }

.chat-msg.typing { color: var(--muted); font-style: italic; }

.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  background: var(--white);
  border-top: 1px solid #e2ecdb;
}

.chat-input input {
  flex: 1;
  border: 1.5px solid #cfdec6;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
}

.chat-input input:focus { outline: none; border-color: var(--green-bright); }

.chat-input button {
  border: none;
  background: var(--green);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.chat-input button:hover { background: var(--green-bright); }

@media (max-width: 820px) {
  .booking-layout { grid-template-columns: 1fr; }
  .lang-switch { order: -1; }
  .chat-window { left: 1.2rem; }
}

/* ============================================================
   Vychytávky: sekačka v trávě, videa, tlačítko nahoru
   ============================================================ */

/* ---------- Travnatý okraj hera se sekačkou ---------- */
.grass-edge {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 96px;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.grass-short {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 26px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 24'><path d='M0%2024%20L0%2018%20Q3%208%205%2016%20Q8%204%2011%2015%20Q14%209%2017%2017%20Q20%205%2023%2015%20Q26%2010%2029%2017%20Q32%206%2035%2016%20Q38%209%2041%2017%20Q44%205%2047%2015%20Q50%2010%2053%2017%20Q56%207%2059%2016%20L60%2024%20Z' fill='%23f6faf2'/></svg>") repeat-x bottom / 60px 24px;
}

.grass-tall {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'><path d='M0%2080%20L0%2072%20Q2%2040%205%2018%20Q7%2045%2010%2068%20Q13%2030%2016%2012%20Q19%2042%2022%2066%20Q24%2026%2028%208%20Q31%2040%2034%2064%20Q36%2024%2040%2014%20Q43%2046%2046%2068%20Q48%2030%2052%2020%20Q55%2048%2058%2070%20L60%2080%20Z' fill='%23f6faf2'/></svg>") repeat-x bottom / 60px 80px;
  transform-origin: bottom;
}

/* dorůstání trávy po dokončení kola */
.grass-tall.regrow { animation: growBack 1.2s cubic-bezier(0.3, 1.5, 0.5, 1); }

@keyframes growBack {
  0%   { transform: scaleY(0.04); }
  70%  { transform: scaleY(1.08); }
  100% { transform: scaleY(1); }
}

.mower {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: clamp(88px, 10.5vw, 138px);
  transform: translateX(-400px);
  will-change: transform;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

.mower svg {
  width: 100%;
  display: block;
  animation: mowerBob 0.4s ease-in-out infinite;
}

@keyframes mowerBob {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-2px) rotate(0.6deg); }
}

/* točící se kola */
.m-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 0.55s linear infinite;
}

@keyframes wheelSpin {
  to { transform: rotate(360deg); }
}

/* odletující posečená tráva za sekačkou */
.mower-puff, .mower-puff::before, .mower-puff::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50% 20% 50% 40%;
  background: rgba(168, 224, 99, 0.9);
}

.mower-puff { left: 2px; bottom: 4px; animation: puff 0.7s linear infinite; }
.mower-puff::before { left: -10px; bottom: 0; animation: puff 0.9s linear infinite 0.2s; }
.mower-puff::after { left: -18px; bottom: 6px; width: 5px; height: 5px; animation: puff 0.8s linear infinite 0.45s; }

@keyframes puff {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(-30px, -26px) rotate(220deg) scale(0.4); opacity: 0; }
}

/* ---------- Video sekce ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.video-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: #08140b;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-card:hover video { transform: scale(1.03); }

.video-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.8rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(11,37,19,0.9));
  pointer-events: none;
}

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(11, 37, 19, 0.75);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  padding-left: 4px;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.12); }

.video-card.playing .video-play { opacity: 0; }

/* ---------- Tlačítko nahoru ---------- */
.to-top {
  position: fixed;
  right: 1.85rem;
  bottom: calc(1.6rem + 78px);
  z-index: 940;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--green-bright);
  background: rgba(255,255,255,0.92);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 18px rgba(11,37,19,0.25);
}

.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.to-top:hover { transform: translateY(-4px); }

/* ============================================================
   Kalkulačka ceny, aktuality, administrace
   ============================================================ */

/* ---------- Kalkulačka ---------- */
.calc {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.8rem;
  align-items: start;
}

.calc-services { display: grid; gap: 0.8rem; }

.calc-svc {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.calc-svc:hover { transform: translateY(-2px); }

.calc-svc.on { border-color: var(--green-bright); background: #f2fbef; }

.calc-svc input { margin-top: 0.35rem; width: 18px; height: 18px; accent-color: var(--green); flex: none; }

.calc-svc-body { display: block; }

.calc-svc-name { display: block; font-weight: 800; color: var(--green-deep); }

.calc-svc-desc { display: block; font-size: 0.85rem; color: var(--muted); margin: 0.15rem 0 0.3rem; }

.calc-svc-rate {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green);
  background: var(--lime-soft);
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
}

.calc-side {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  position: sticky;
  top: 90px;
}

.calc-area-label { display: flex; justify-content: space-between; font-weight: 700; color: var(--green-deep); margin-bottom: 0.5rem; }

.calc-side input[type="range"] { width: 100%; accent-color: var(--green); }

.calc-area-row { margin: 0.5rem 0 1rem; color: var(--muted); font-weight: 600; }

.calc-area-row input {
  width: 110px;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid #cfdec6;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  color: var(--green-deep);
}

.calc-result { border-top: 2px dashed #dbe8d2; padding-top: 0.9rem; margin-bottom: 1.2rem; }

.calc-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; font-size: 0.95rem; color: var(--text); }

.calc-row strong { color: var(--green-deep); white-space: nowrap; }

.calc-total {
  border-top: 2px solid var(--green-bright);
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.calc-total strong { color: var(--green); font-size: 1.3rem; }

.calc-empty { color: var(--muted); font-size: 0.92rem; }

.calc-cta { display: block; text-align: center; }

.calc-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }

.calc-loading { color: var(--muted); }

/* ---------- Aktuality ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  border-top: 4px solid var(--green-bright);
}

.post-card time { font-size: 0.8rem; font-weight: 700; color: var(--green); letter-spacing: 0.5px; }

.post-card h3 { color: var(--green-deep); font-size: 1.15rem; font-weight: 800; margin: 0.3rem 0 0.5rem; }

.post-card p { color: var(--muted); font-size: 0.94rem; white-space: pre-line; }

/* ---------- Administrace ---------- */
.admin-body { background: #eef3ea; }

.admin-tag {
  background: var(--lime);
  color: var(--green-ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1px;
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  margin-left: 0.4rem;
}

.btn-ghost-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: none;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
}

.btn-ghost-light:hover { border-color: var(--lime); color: var(--lime); }

.admin-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }

.admin-tab {
  border: none;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(11,37,19,0.08);
}

.admin-tab.active { background: var(--green); color: var(--white); }

.admin-panel { display: none; }

.admin-panel.active { display: block; animation: panelIn 0.3s ease; }

.admin-head-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.6rem; }

.admin-panel h3 { color: var(--green-deep); font-weight: 900; font-size: 1.3rem; }

.admin-hint { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 1.2rem; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.2rem;
  margin-bottom: 1.2rem;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--green-deep);
}

.svc-state {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #eee;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.svc-state.on { background: var(--lime-soft); color: var(--green-deep); }

.form-grid-2 { grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }

.chk { display: flex !important; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--green-deep); cursor: pointer; }

.chk input { width: 17px; height: 17px; accent-color: var(--green); }

.bands { display: grid; gap: 0.45rem; margin: 0.5rem 0 0.7rem; }

.band-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.band-row input {
  width: 90px;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid #cfdec6;
  border-radius: 8px;
  font-family: var(--font);
}

.b-del { background: none; border: none; color: #b3402f; cursor: pointer; font-size: 0.95rem; }

.btn-small { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

.admin-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
}

.admin-card-actions .form-msg { flex: 1; margin: 0; padding: 0.5rem 0.8rem; }

@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Filtr galerie, cookie lišta, admin 2.0
   ============================================================ */

/* ---------- Filtr galerie ---------- */
.gallery-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.gf-btn {
  border: 2px solid #cfdec6;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gf-btn:hover { border-color: var(--green-bright); color: var(--green-deep); }

.gf-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: -100%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(720px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  border: 1px solid #dbe8d2;
  transition: bottom 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-bar.show { bottom: 1.2rem; }

.cookie-inner { padding: 1.3rem 1.5rem; }

.cookie-text { font-size: 0.92rem; color: var(--text); margin-bottom: 0.9rem; }

.cookie-text a { color: var(--green); font-weight: 700; }

.cookie-settings { display: grid; gap: 0.4rem; margin-bottom: 0.9rem; font-size: 0.9rem; }

.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }

.ck-btn {
  border: 2px solid #cfdec6;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}

.ck-btn:hover { border-color: var(--green-bright); color: var(--green-deep); }

.ck-btn.ck-accept {
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  border-color: transparent;
  color: var(--green-ink);
}

/* ---------- Admin 2.0 ---------- */
.page-head-slim { padding: 6.5rem 1.5rem 2.2rem; }

.tab-badge {
  background: #e5484d;
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  margin-left: 0.3rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.dash-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
  text-align: center;
  cursor: pointer;
  font-family: var(--font);
  transition: transform 0.2s ease;
  border-top: 4px solid var(--green-bright);
}

.dash-card:hover { transform: translateY(-4px); }

.dash-card.hot { border-top-color: #e5484d; background: #fff7f6; }

.dash-icon { font-size: 1.7rem; display: block; }

.dash-num { font-size: 2.2rem; font-weight: 900; color: var(--green-deep); display: block; line-height: 1.2; }

.dash-card.hot .dash-num { color: #c73833; }

.dash-label { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  z-index: 1300;
  background: var(--green-ink);
  color: var(--white);
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.35);
  transition: bottom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.toast.show { bottom: 1.5rem; }

.toast.err { background: #9c2b23; }

/* akordeon služeb */
.svc-acc { padding: 0; overflow: hidden; }

.svc-acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.02rem;
  padding: 1.2rem 1.5rem 0.4rem;
  cursor: pointer;
  color: var(--green-deep);
}

.svc-acc-title { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }

.svc-acc-meta { display: flex; align-items: center; gap: 0.9rem; }

.svc-preview { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }

.svc-preview strong { color: var(--green); }

.svc-caret { transition: transform 0.25s ease; color: var(--muted); }

.svc-acc.open .svc-caret { transform: rotate(180deg); }

.svc-acc-sub {
  padding: 0 1.5rem 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.svc-acc-body { display: none; padding: 0 1.5rem 1.3rem; border-top: 1px dashed #dbe8d2; padding-top: 1.1rem; }

.svc-acc.open .svc-acc-body { display: block; animation: panelIn 0.25s ease; }

/* rezervace v adminu */
.bk-filter { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.bk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; flex-wrap: wrap; }

.booking-item.bk-nova { border-color: var(--green-bright); border-width: 2px; background: #f6fdf3; }

.b-status.st-nova { background: var(--lime-soft); color: var(--green-deep); }

.b-status.st-potvrzena { background: #dcefdd; color: #1d6b2d; }

.b-status.st-zrusena { background: #f2e5e4; color: #9c2b23; }

.b-cancel.armed { color: #fff; background: #c73833; border-radius: 8px; padding: 0.3rem 0.8rem; }

@media (max-width: 820px) {
  .svc-acc-meta .svc-preview { display: none; }
}

/* ---------- Kalkulačka: příplatky, urgence, dojezd ---------- */
.calc-extras { margin: 1rem 0 0.4rem; display: grid; gap: 0.4rem; }

.calc-extras-head { font-weight: 800; font-size: 0.9rem; color: var(--green-deep); margin-bottom: 0.2rem; }

.calc-extra { justify-content: flex-start; font-size: 0.92rem; }

.calc-extra span { flex: 1; text-align: left; }

.calc-extra strong { margin-left: auto; white-space: nowrap; color: var(--green); font-size: 0.88rem; }

.calc-urgent { margin: 0.7rem 0; font-size: 0.95rem; }

.calc-urgent strong { color: #c77700; }

.calc-distance { margin: 0.8rem 0 1rem; }

.calc-distance > label { font-weight: 700; font-size: 0.9rem; color: var(--green-deep); display: block; margin-bottom: 0.4rem; }

.calc-dist-row { display: flex; gap: 0.5rem; }

.calc-dist-row input {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid #cfdec6;
  border-radius: 10px;
  font-family: var(--font);
}

.calc-dist-row button {
  border: none;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-weight: 800;
  padding: 0 1.1rem;
  border-radius: 10px;
  cursor: pointer;
}

.calc-dist-row button:hover { background: var(--green-bright); }

.calc-dist-row button:disabled { opacity: 0.6; cursor: wait; }

.calc-dist-info { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; min-height: 1.1em; }

/* ---------- Admin: kalendář ---------- */
.block-add { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.block-add input {
  padding: 0.55rem 0.8rem;
  border: 1.5px solid #cfdec6;
  border-radius: 10px;
  font-family: var(--font);
}

.f-count { font-size: 0.78rem; opacity: 0.8; }

.form-grid select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #cfdec6;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.98rem;
  background: #fbfdf9;
  color: var(--text);
}

.form-consent { font-size: 0.8rem; color: var(--muted); }
.form-consent a { color: var(--green); font-weight: 700; }

.calc-row-hint { color: var(--muted); font-size: 0.85rem; }
.calc-row-hint em { font-style: normal; opacity: 0.75; }

/* ---------- Mobil: videa a galerie ---------- */
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }

  .video-card video {
    aspect-ratio: 16 / 9;
    max-height: 230px;
  }

  .video-play { width: 48px; height: 48px; font-size: 1.1rem; }

  .gallery { grid-template-columns: 1fr; }

  .gallery img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   Aerifikace: eco badge, animované schéma, kroky, fotky
   ============================================================ */

/* ---------- Eco badge (hero) ---------- */
.eco-badge {
  display: inline-block;
  margin: 0 auto 2rem;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  background: rgba(168, 224, 99, 0.16);
  border: 1.5px solid rgba(168, 224, 99, 0.75);
  color: var(--lime);
  font-weight: 700;
  font-size: 0.92rem;
  backdrop-filter: blur(4px);
  animation: ecoPulse 3s ease-in-out infinite;
}

@keyframes ecoPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(168, 224, 99, 0.0); }
  50%      { box-shadow: 0 0 22px rgba(168, 224, 99, 0.45); }
}

.card-hero-service { border: 2px solid var(--green-bright); }

/* ---------- Animované schéma aerifikace ---------- */
.aero-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.aero-panel {
  background: linear-gradient(180deg, #eaf6ff 0%, #f6fbff 60%);
  border: 1.5px solid #d7e8f4;
  border-radius: 14px;
  padding: 1rem 0.9rem 0.9rem;
  text-align: center;
}

.aero-panel-mid { border-color: var(--green-bright); box-shadow: 0 8px 26px rgba(53,193,83,0.16); }

.aero-panel svg { width: 100%; height: auto; display: block; }

.aero-label {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  color: var(--green-deep);
  background: var(--lime-soft);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
}

.only-en-inline { display: none; }
html.lang-en .only-en-inline { display: inline; }

.aero-desc { font-size: 0.82rem; color: var(--muted); margin-top: 0.45rem; }

/* animace: hroty jezdí dolů a nahoru */
.aero-tine { animation: tineDown 2.6s ease-in-out infinite; }
.aero-tine-2 { animation-delay: 0.45s; }
.aero-tine-3 { animation-delay: 0.9s; }

@keyframes tineDown {
  0%, 100% { transform: translateY(-26px); }
  45%, 60% { transform: translateY(0); }
}

/* animace: kapky/živiny proudí dolů */
.aero-flow { animation: flowDown 2s linear infinite; }
.aero-flow-2 { animation-delay: 0.5s; }
.aero-flow-3 { animation-delay: 1s; }

@keyframes flowDown {
  0%   { transform: translateY(-16px); opacity: 0; }
  25%  { opacity: 1; }
  85%  { opacity: 0.9; }
  100% { transform: translateY(44px); opacity: 0; }
}

/* animace: tráva se lehce vlní, kořeny „dorůstají" */
.aero-grass-thin, .aero-grass-dense { transform-origin: 50% 100%; animation: grassSway 3.4s ease-in-out infinite; }

@keyframes grassSway {
  0%, 100% { transform: skewX(0deg); }
  50%      { transform: skewX(2.5deg); }
}

.aero-roots {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: rootsGrow 3.6s ease-out infinite;
}

@keyframes rootsGrow {
  0%       { stroke-dashoffset: 70; }
  55%, 100% { stroke-dashoffset: 0; }
}

/* ---------- 4 kroky procesu ---------- */
.aero-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.6rem;
}

.aero-step {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-bright);
  padding: 1.2rem 1rem 1rem;
  text-align: center;
}

.aero-step-num {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.aero-step-icon { font-size: 1.9rem; display: block; margin: 0.3rem 0 0.4rem; }

.aero-step h4 { color: var(--green-deep); font-size: 0.98rem; margin-bottom: 0.3rem; }

.aero-step p { font-size: 0.83rem; color: var(--muted); margin: 0; }

/* ---------- Fotky v článku ---------- */
.aero-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.aero-photos figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.aero-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.aero-photos figcaption { padding: 0.7rem 0.9rem; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 700px) {
  .aero-diagram { grid-template-columns: 1fr; }
  .eco-badge { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aero-tine, .aero-flow, .aero-roots, .aero-grass-thin, .aero-grass-dense { animation: none !important; }
  .aero-tine { transform: translateY(0); }
  .aero-roots { stroke-dashoffset: 0; }
}

/* proklik z karty služby do rádce */
.card-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--green);
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.card-more:hover { color: var(--green-bright); text-decoration: underline; }

/* ---------- Stránka hnojiv ---------- */
.fert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  max-width: 1120px;
  margin: 0 auto;
}

.fert-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 4px solid var(--green-bright);
  display: flex;
  flex-direction: column;
}

.fert-img {
  background: linear-gradient(180deg, #f2f8ee, #ffffff);
  padding: 1.2rem;
  display: grid;
  place-items: center;
}

.fert-img img { max-height: 230px; width: auto; transition: transform 0.35s ease; }

.fert-card:hover .fert-img img { transform: scale(1.06) rotate(-1.5deg); }

.fert-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }

.fert-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.fert-npk, .fert-pack {
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}

.fert-npk { background: var(--lime-soft); color: var(--green-deep); }

.fert-pack { background: #eef3ea; color: var(--muted); }

.fert-body h3 { color: var(--green-deep); font-size: 1.25rem; font-weight: 900; }

.fert-season { font-weight: 700; font-size: 0.88rem; color: var(--green); }

.fert-body p { font-size: 0.93rem; color: #384633; }

.fert-meta { color: var(--muted); font-size: 0.83rem; font-weight: 700; margin-top: auto; }

a.eco-badge { text-decoration: none; cursor: pointer; transition: transform 0.2s ease; }

a.eco-badge:hover { transform: scale(1.05); background: rgba(168, 224, 99, 0.28); }

/* maskot v navigaci */
.brand-mascot {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.45));
  transition: height 0.3s ease, transform 0.25s ease;
  transform-origin: bottom center;
}

.nav.scrolled .brand-mascot { height: 40px; }

.nav-brand:hover .brand-mascot { transform: scale(1.12) rotate(-4deg); }

@media (max-width: 820px) {
  .brand-mascot { height: 40px; }
}

/* nadpis značky písmem jako na oficiálním logu */
.nav-brand {
  font-family: "Lilita One", var(--font);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 1px;
  color: #fff;
  -webkit-text-stroke: 1.1px #0b2513;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 rgba(11, 37, 19, 0.55), 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* velká písmena jako na logu */
.nav-brand { text-transform: uppercase; font-size: 1.3rem; letter-spacing: 1.5px; }

/* písmo značky: Luckiest Guy — shoda s literami oficiálního loga */
.nav-brand {
  font-family: "Luckiest Guy", "Lilita One", var(--font);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #fff;
  -webkit-text-stroke: 1.3px #3f8a27;
  paint-order: stroke fill;
  text-shadow: 0 2.5px 0 rgba(7, 26, 13, 0.75), 0 4px 10px rgba(0, 0, 0, 0.35);
  padding-top: 6px; /* Luckiest Guy sedí opticky výš */
}

@media (max-width: 820px) {
  .nav-brand { font-size: 1.25rem; }
}

/* ===== Recenze zákazníků (modul) ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.review-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.2rem;
  box-shadow: 0 6px 22px rgba(18,58,30,0.10);
  display: flex; flex-direction: column; gap: 0.6rem;
  border-top: 4px solid var(--green-bright);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(18,58,30,0.16); }
.review-card::before {
  content: "“";
  position: absolute; top: 0.3rem; right: 1.1rem;
  font-family: Georgia, serif; font-size: 4.2rem; line-height: 1;
  color: var(--green-bright); opacity: 0.18; pointer-events: none;
}
.review-head { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--green-bright), var(--lime));
  color: var(--green-ink); font-weight: 900; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.review-name { font-weight: 800; color: var(--green-deep); }
.review-stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.review-stars-off { color: #ddd; }
.review-text { font-size: 0.95rem; line-height: 1.65; color: var(--text); flex: 1; margin: 0; }
.review-meta { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.kt-review-box { background: var(--white); border-radius: 16px; padding: 1.3rem 1.5rem; box-shadow: 0 4px 18px rgba(0,0,0,0.08); margin-top: 1.4rem; }
.kt-review-box h3 { margin-top: 0; }
.kt-star-pick { font-size: 1.7rem; cursor: pointer; user-select: none; letter-spacing: 4px; }
.kt-star-pick span { color: #ccc; transition: color 0.15s; }
.kt-star-pick span.on { color: #f5a623; }
.kt-share-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }

/* Admin: značka v liště bez obrysu a těžkých stínů — na plochém pozadí působily rozmazaně */
.admin-body .nav-brand {
  -webkit-text-stroke: 0;
  paint-order: normal;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
