/* =========================================================
   Věcičky pro radost — styly
   Barevný motiv: zelená + krémová (ruční / řemeslný vzhled)
   ========================================================= */

:root {
  /* Zelená paleta */
  --green-900: #23431a;  /* nejtmavší – nadpisy, patička, navigace */
  --green-800: #2e5a1e;  /* tmavá zeleň – odkazy */
  --green-700: #3c7823;  /* středně tmavá – dekorace, hover */
  --green-600: #50A230;  /* SVĚTLEJŠÍ zeleň – tlačítka a zvýraznění důležitého */
  --green-500: #66bf3d;  /* světlejší zeleň */
  --green-300: #a7dc8a;  /* světlá – dekorace */
  --green-100: #e7f4dd;  /* jemný nádech */
  --green-50:  #f2f9eb;  /* nejsvětlejší podklad */
  --lime:      #72E645;  /* výrazný akcent (střídmě) */

  /* Neutrální / krémová */
  --cream:  #faf7f0;
  --paper:  #ffffff;
  --sand:   #f3ede0;
  --ink:    #2b2b26;
  --muted:  #6c7166;
  --line:   #e3ddcf;

  /* Doplněk – dřevo / rytina */
  --wood:   #b6863f;

  --radius:   14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(41, 79, 24, .09);
  --shadow-md: 0 10px 30px rgba(41, 79, 24, .13);
  --shadow-lg: 0 24px 60px rgba(41, 79, 24, .18);

  --maxw: 1160px;
  --font-head: "PT Serif", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-accent: "PT Serif", Georgia, "Times New Roman", serif; /* dekorativní = kurzíva PT Serif */
}

/* ----------  Reset / základ  ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-900);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--green-800); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Skryté pro oči, čitelné pro čtečky a vyhledávače */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--mint { background: var(--green-50); }
.section--green {
  background: var(--green-800);
  color: #eef3ea;
}
.section--green h2,
.section--green h3 { color: #fff; }

/* Tmavá sekce, která plynule přechází do patičky */
.section--forest {
  background: var(--green-900);
  color: #d7e3d2;
  padding-bottom: 28px;   /* navazuje rovnou na patičku, bez velké mezery */
}
.section--forest h2,
.section--forest h3 { color: #fff; }
.section--forest .section-head p { color: #b9ccb2; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head--wide { max-width: 780px; }
.section-head .eyebrow { margin-bottom: 6px; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--green .section-head p { color: #cfe0cb; }

.eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--green-700);
  display: inline-block;
}
.section--green .eyebrow { color: var(--green-300); }

/* ----------  Tlačítka  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--green-700); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-500);
}
.btn--ghost:hover { border-color: var(--green-600); background: var(--green-50); }

.btn--forest {
  background: var(--green-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--forest:hover { background: var(--green-900); box-shadow: var(--shadow-md); }

.btn--light {
  background: #fff;
  color: var(--green-800);
}
.btn--light:hover { background: var(--green-50); }

.btn--block { width: 100%; justify-content: center; }

/* ----------  Hlavička  ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 62px;
  width: auto;
  display: block;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--green-900);
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green-600);
  transition: width .2s ease;
}
.main-nav a:hover { text-decoration: none; }
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
}
.nav-toggle span + span { margin-top: 6px; }

/* ----------  Hero  ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--green-100), transparent 60%),
    var(--cream);
  padding: 56px 0 68px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: .35em; text-wrap: balance; }
.hero h1 .accent {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--green-700);
  font-weight: 700;
  font-size: 1em;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.hero-note {
  margin: 14px 0 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--green-700);
}
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-video {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-900);
  isolation: isolate;
}
.hero-video__el {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* ořízne výškové video seshora a zespodu */
  object-position: center;
  display: block;
}
.hero-video::after {            /* jemný přechod dole pro čitelnost popisku */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(35,67,26,.45), transparent);
  pointer-events: none;
}
.hero-video__badge {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: .98rem;
  color: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(35, 67, 26, .78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
}

/* ----------  Pás ukázek práce (carousel)  ---------- */
#galerie.section--tight { padding-bottom: 4px; }
.workstrip {
  overflow: hidden;
  background: var(--green-900);
  margin-top: 8px;
}
.workstrip-viewport {
  display: block;
  overflow: hidden;
}
.workstrip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: workstrip-scroll 40s linear infinite;
}
.workstrip-track img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  display: block;
  flex: none;
}
.workstrip:hover .workstrip-track,
.workstrip-viewport:focus-visible + .workstrip-track,
.workstrip:focus-within .workstrip-track { animation-play-state: paused; }
@keyframes workstrip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .workstrip-viewport { overflow-x: auto; }
  .workstrip-track { animation: none; }
}
@media (max-width: 640px) {
  .workstrip-track { animation-duration: 28s; }
  .workstrip-track img { width: 220px; height: 165px; }
}

/* ----------  Výhody  ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  text-align: center;
  padding: 8px;
}
.feature .ic {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  color: var(--green-600);
}
.feature h3 { margin-bottom: .25em; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ----------  Nabídka (kategorie)  ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
  text-decoration: none;
}
.cat-card .ic {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  color: var(--green-600);
}
.cat-card span {
  display: block;
  font-weight: 800;
  color: var(--green-900);
  font-size: 1rem;
}

/* ----------  Galerie  ---------- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
}
.gf-btn {
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--green-900);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.gf-btn:hover { border-color: var(--green-500); }
.gf-btn.is-active {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
}
.gallery-empty {
  text-align: center;
  color: var(--muted);
  margin: 10px auto 0;
  max-width: 460px;
}
.gallery-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery figure[hidden] { display: none; }
.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .2s ease;
}
.gallery figure { cursor: pointer; }
.gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}
.gallery-link:hover { text-decoration: none; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--cream);
  display: block;
}
.gallery figcaption {
  padding: 14px 16px 16px;
  font-size: .92rem;
  color: var(--muted);
}
.gallery figcaption strong {
  display: block;
  color: var(--green-900);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

/* ----------  Stránka produktu  ---------- */
.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font-weight: 700;
}
.product {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  align-items: start;
}
.product-info { position: sticky; top: 100px; }
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.product-gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow .18s ease, transform .18s ease;
}
.product-gallery figure:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--cream);
  display: block;
}
.gallery-photo__price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(35, 67, 26, .85);
  backdrop-filter: blur(3px);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ----------  Lightbox (zvětšení fotky)  ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: rgba(20, 18, 14, .88);
}
.lightbox.is-open { display: flex; }
.lightbox figure {
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  margin-top: 14px;
  color: #fff;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
body.lightbox-open { overflow: hidden; }
.product-info h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: .3em;
}
.product-desc {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.product-engrave {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 22px;
}
.product-engrave h2 { font-size: 1.02rem; margin-bottom: .6em; }
.product-engrave ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.product-engrave li {
  position: relative;
  padding-left: 22px;
  font-size: .96rem;
  line-height: 1.5;
  color: var(--ink);
}
.product-engrave li::before {
  content: "";
  position: absolute;
  left: 2px; top: .5em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
}
.product-engrave-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--green-100);
  font-size: .92rem;
  color: var(--green-800);
}
.product-engrave-note strong { color: var(--green-900); font-weight: 800; }

.product-pricelist h3 { font-size: 1.02rem; margin-bottom: .6em; }
.product-pricelist .leather-list li {
  padding-left: 0;
  font-size: .95rem;
}
.product-pricelist .leather-list li::before { content: none; }
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 6px;
}
.product-price__label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
}
.product-price strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--green-900);
}
.product-price-extra {
  font-size: .95rem;
  color: var(--green-800);
  margin: 0 0 14px;
}
.product-price-extra strong {
  color: var(--green-900);
  font-weight: 800;
}
.product-note {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.product-cta { margin-top: 4px; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 26px; }
  .product-info { position: static; }
}
@media (max-width: 520px) {
  .product-gallery { grid-template-columns: 1fr; }
}

/* ----------  Dlaždice druhů výrobků (galerie.html)  ---------- */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--green-900);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
  text-decoration: none;
}
.cat-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.cat-tile span {
  padding: 14px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}
@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .cat-tiles { grid-template-columns: 1fr; } }

/* ----------  Postup  ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px 26px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-600);
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--green-100);
  margin-bottom: 14px;
  padding-top: .16em;
}
.step h3 { margin-bottom: .5em; font-size: 1.2rem; }
.step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.step li {
  position: relative;
  padding-left: 22px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.step li::before {
  content: "";
  position: absolute;
  left: 2px; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
}
.step li a { font-weight: 700; text-decoration: underline; }

.steps-note {
  text-align: center;
  margin: 32px 0 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--green-700);
}
.steps-cta {
  text-align: center;
  margin: 20px 0 0;
}

/* ----------  O mně  ---------- */
.about {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 44px;
  align-items: stretch;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}
.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about .eyebrow {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.about h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: .45em;
}
.about-text p { margin-bottom: .8rem; line-height: 1.62; }
.about .sign {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-700);
  margin-top: 12px;
}
.about ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.about li {
  position: relative;
  padding-left: 28px;
  font-size: .96rem;
  color: var(--ink);
}
.about li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--green-600);
  font-weight: 900;
}

/* ----------  Ceník / doprava  ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.info-card + .info-card { margin-top: 24px; }
.info-card h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: .6em;
}
.info-card h3 .ic { width: 26px; height: 26px; color: var(--green-600); }

.pricelist {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  margin-bottom: 24px;
}

.price-list, .ship-list, .leather-list {
  list-style: none; padding: 0; margin: 0;
}
.price-list li, .ship-list li, .leather-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.price-list li:last-child, .ship-list li:last-child, .leather-list li:last-child { border-bottom: 0; }
.pricelist .price-list:last-child li:last-child { border-bottom: 0; }
.price-list .val, .ship-list .val, .leather-list .val { font-weight: 800; color: var(--green-800); white-space: nowrap; }

.info-card--ship { max-width: none; }

.info-note {
  margin: 16px 0 0;
  font-size: .92rem;
  color: var(--muted);
}
.info-note--center { text-align: center; margin: 0 0 26px; }

@media (max-width: 720px) {
  .pricelist { grid-template-columns: 1fr; column-gap: 0; padding: 6px 22px; }
  .pricelist .price-list:first-child li:last-child { border-bottom: 1px dashed var(--line); }
}

/* ----------  Reference  ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  position: relative;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.review::after {
  content: "\201D";
  position: absolute;
  right: 12px;
  bottom: -22px;
  font-family: var(--font-head);
  font-size: 6rem;
  line-height: 1;
  color: var(--green-100);
}
.review-stars {
  color: #e0a92e;
  letter-spacing: 2px;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.review blockquote {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--green-800);
}
.review figcaption::before {
  content: "";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7249' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 21c0-4 3-6 7-6s7 2 7 6'/%3E%3C/svg%3E");
  background-size: 68%;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.reviews-note {
  text-align: center;
  margin: 34px auto 0;
  max-width: 640px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-700);
}

/* ----------  Kontakt  ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-intro p { color: var(--muted); }
.contact-details {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--green-900);
}
.contact-details .ic {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  padding: 9px;
}
.contact-details a { color: var(--green-900); }

/* Kontakt na tmavém pozadí (propojení s patičkou) */
.section--forest .contact-intro p { color: #c3d3bd; }
.section--forest .contact-details li { color: #eef3ea; }
.section--forest .contact-details a { color: #fff; }
.section--forest .contact-details a:hover { color: #fff; }
.section--forest .contact-details .ic {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.section--forest .socials a { background: var(--green-600); }
.section--forest .socials a:hover { background: var(--green-500); }
.section--forest .contact-map iframe { border-color: rgba(255, 255, 255, .22); }
.section--forest .contact-map-note { color: #fff; }
.section--forest .contact-map-note:hover { color: #fff; }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.socials a:hover { background: var(--green-800); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* Formulář */
.order-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.order-form h3 { margin-bottom: .2em; }
.order-form .form-hint {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 18px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--green-900);
}
.field label .req { color: var(--wood); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-status {
  margin-top: 14px;
  font-size: .92rem;
  color: var(--green-800);
  min-height: 1.2em;
}

/* Rozbalovací poptávka na stránce výrobku */
.product-form {
  max-width: 640px;
  margin: 44px auto 0;
  animation: product-form-in .4s ease both;
}
@keyframes product-form-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .product-form { animation: none; }
}

/* Mapa v kontaktu (vlevo u formuláře) */
.contact-map {
  margin-top: 26px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 820px) {
  .contact-map iframe { max-width: 100%; height: 260px; }
}
.contact-map-note {
  display: inline-block;
  margin-top: 8px;
  font-size: .88rem;
  font-weight: 700;
}

/* ----------  Patička  ---------- */
.site-footer {
  background: var(--green-900);
  color: #c8d6c2;
  padding: 32px 0 24px;
  font-size: .95rem;
  overflow-x: hidden;
}
.footer-slim {
  text-align: center;
  margin-bottom: 32px;
}
.footer-line {
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: min(1.5rem, 2vw);
  line-height: 1.3;
  color: #fff;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}
.footer-brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c8d6c2; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #9db596;
  font-size: .88rem;
}
.footer-bottom a { color: #c8d6c2; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ----------  Právní stránka (obchodní podmínky)  ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 0 72px;
}
.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: .2em;
}
.legal .legal-lead {
  color: var(--muted);
  margin-bottom: 2.4em;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 1.8em 0 .5em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p { margin-bottom: 1em; line-height: 1.7; }
.legal ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.legal li { margin-bottom: .4em; line-height: 1.6; }
.legal .legal-back {
  display: inline-block;
  margin-bottom: 2em;
  font-weight: 700;
}
.legal .todo {
  background: #fdf3e3;
  border: 1px dashed var(--wood);
  border-radius: 8px;
  padding: 2px 6px;
  font-size: .95em;
}

/* ----------  Plovoucí WhatsApp tlačítko  ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 15px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(20, 33, 24, .28);
  transition: transform .16s ease, box-shadow .2s ease;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 33, 24, .34);
  text-decoration: none;
  color: #fff;
}
.wa-fab:active { transform: translateY(0); }
.wa-fab svg { width: 26px; height: 26px; display: block; flex-shrink: 0; }
@media (max-width: 480px) {
  .wa-fab {
    right: 14px;
    bottom: 14px;
    height: 50px;
    padding: 0;
    width: 50px;
    justify-content: center;
    gap: 0;
  }
  .wa-fab span { display: none; }
}

/* ----------  Lightbox  ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 24, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 26px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.14);
  border: 0;
  color: #fff;
  font-size: 1.8rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }

/* ----------  Reveal animace  ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------  Responsivita  ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 84px; }
  .site-header .container { min-height: 68px; }
  .brand-logo { height: 44px; }
  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 16px;
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 0; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .hero { padding: 28px 0 52px; }
  .hero .container { grid-template-columns: 1fr; gap: 34px; }
  .hero-text { text-align: center; }
  .hero-lead { font-size: 1.05rem; max-width: none; }
  .hero-actions { justify-content: center; }
  .hero-media { max-width: 520px; margin: 0 auto; }

  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 26px; align-items: center; }
  .about-media { max-width: 460px; margin: 0 auto; }
  .about-media img { height: auto; aspect-ratio: 5 / 4; }
  .about-text { display: block; text-align: center; }
  .about ul { display: inline-grid; text-align: left; }
  .info-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* Dvojice tlačítek na mobilu: stejná šířka, pravidelná mezera */
  .gallery-cta { flex-direction: column; align-items: stretch; }
  .gallery-cta .btn { width: 100%; }
}
