/* ============================================
   LLAMA BOARD — Hlavní stylesheet
   Styl: přírodní / dřevo
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ---- Proměnné ---- */
:root {
  --cream:      #FDFAF5;
  --beige:      #F2E8D5;
  --beige-dark: #E0CDB0;
  --brown-light:#A07850;
  --brown:      #6B4C2A;
  --brown-dark: #4A2C18;
  --gold:       #C68B3A;
  --gold-light: #E8B86D;
  --text:       #3A2515;
  --text-muted: #7A6050;
  --white:      #FFFFFF;
  --shadow:     0 4px 24px rgba(44,24,16,0.10);
  --shadow-lg:  0 8px 40px rgba(44,24,16,0.16);
  --shadow-gold:0 8px 28px rgba(198,139,58,0.32);
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: 'Playfair Display', serif;
  --font-sans:  'Lato', sans-serif;

  /* SVG dřevěná textura — jemné vertikální letokruhy v béžových tónech */
  --wood-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'><defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.7' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.30  0 0 0 0 0.16  0 0 0 0.12 0'/></filter></defs><rect width='400' height='200' fill='%23F2E8D5'/><rect width='400' height='200' filter='url(%23n)' opacity='0.55'/></svg>");

  /* SVG dřevěná textura — tmavá varianta pro brown sekce */
  --wood-grain-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'><defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.014 0.8' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.06  0 0 0 0 0.03  0 0 0 0.35 0'/></filter></defs><rect width='400' height='200' fill='%234A2C18'/><rect width='400' height='200' filter='url(%23n)' opacity='0.85'/></svg>");
}

/* ---- Reset & základy ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown); }

/* ---- Typografie ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--brown-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
p  { max-width: 70ch; color: var(--text-muted); }

/* ---- Tlačítka ---- */
.btn {
  display: inline-block;
  padding: 0.85em 2em;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
}
.btn-outline:hover {
  background: var(--brown-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Kontejner ---- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================================
   NAVIGACE
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--beige-dark);
  box-shadow: 0 2px 16px rgba(44,24,16,0.08);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.nav-logo img {
  height: 68px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--brown-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background: var(--brown-dark);
  padding: 1rem 0;
  border-top: 1px solid rgba(198,139,58,0.2);
}
.nav-mobile.open { display: block; }
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.nav-mobile ul li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--beige);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-mobile ul li a:hover { color: var(--gold-light); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 92px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,24,16,0.55) 0%,
    rgba(107,76,42,0.30) 60%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ================================================
   SEKCE — obecné
   ================================================ */
section { padding: 6rem 0; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 3rem; }
.section-divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ================================================
   HOME — Stats bar (čísla)
   ================================================ */
.stats-bar {
  background: var(--brown-dark);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ================================================
   HOME — Testimonials
   ================================================ */
.testimonials {
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.97rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: none;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================
   HOME — O produktu (vlastnosti)
   ================================================ */
.features {
  background: var(--beige);
  position: relative;
}
.features::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--brown-light));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--beige);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p  { font-size: 0.92rem; max-width: none; }

/* ================================================
   HOME — Ukázka galerie
   ================================================ */
.home-gallery {
  background: var(--cream);
}
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.home-gallery-grid .item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.home-gallery-grid .item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.home-gallery-grid .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.home-gallery-grid .item:hover img {
  transform: scale(1.04);
}
.home-gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ================================================
   HOME — CTA banner
   ================================================ */
.cta-banner {
  background: var(--brown-dark);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.7); margin: 0 auto 2rem; font-size: 1.1rem; }

/* ================================================
   GALERIE — stránka
   ================================================ */
.page-hero {
  padding-top: 152px;
  padding-bottom: 3rem;
  background: var(--brown-dark);
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero .section-label { color: var(--gold-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  padding: 4rem 0;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,0);
  transition: background var(--transition);
  border-radius: var(--radius);
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(44,24,16,0.18);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,10,5,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--beige);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--gold-light); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44,24,16,0.6);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--gold); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ================================================
   CVIKY — stránka
   ================================================ */
.exercises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}
.exercise-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.exercise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.exercise-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.exercise-card-body {
  padding: 1.5rem;
}
.exercise-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25em 0.8em;
  border-radius: 100px;
  margin-bottom: 0.8rem;
}
.level-zacatecnik { background: #d4edda; color: #2d6a4f; }
.level-pokrocily   { background: #fff3cd; color: #856404; }
.level-expert      { background: #f8d7da; color: #842029; }

.exercise-card-body h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.exercise-card-body p  { font-size: 0.9rem; max-width: none; }

/* Tips sekce */
.tips-section {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4rem;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.tip-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.tip-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.tip-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.tip-item p  { font-size: 0.88rem; max-width: none; }

/* ================================================
   OBJEDNAT — stránka
   ================================================ */
.order-section { padding: 5rem 0; }
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.order-info h2 { margin-bottom: 1rem; }
.order-info p  { margin-bottom: 1.5rem; font-size: 1.05rem; }

.order-email-card {
  background: var(--brown-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.order-email-card .email-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.order-email-card h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.order-email-card .email-address {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin: 1rem 0;
  word-break: break-all;
}
.order-email-card p { color: rgba(255,255,255,0.7); max-width: none; font-size: 0.95rem; }

.order-steps { margin-top: 2.5rem; }
.order-steps h3 { margin-bottom: 1.5rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-body h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.step-body p  { font-size: 0.9rem; max-width: none; }

.order-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.order-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ================================================
   FOOTER — bohatá patička
   ================================================ */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
  position: relative;
  border-top: 1px solid rgba(198, 139, 58, 0.18);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 35%, var(--gold-light) 50%, var(--gold) 65%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Sloupec: Logo + popis */
.footer-col-brand .footer-logo {
  display: inline-block;
  background: rgba(253, 250, 245, 0.06);
  border: 1px solid rgba(232, 184, 109, 0.25);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.footer-col-brand .footer-logo img {
  height: 48px;
  width: auto;
  display: block;
  /* Logo je tmavé — invert ho zesvětlí, aby bylo vidět na tmavě hnědém pozadí */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-col-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 22ch;
  line-height: 1.65;
}

/* Sloupec: navigace */
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

/* Sloupec: kontakt */
.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.footer-contact-list .fc-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.footer-contact-list a { color: rgba(255,255,255,0.7); }
.footer-contact-list a:hover { color: var(--gold-light); }
.footer-contact-list .fc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.1rem;
}

/* Sloupec: newsletter */
.footer-newsletter p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: none;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.newsletter-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.92rem;
  font-family: 'Lato', sans-serif;
  width: 100%;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
}
.newsletter-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
}
.newsletter-btn:hover { background: var(--brown-light); }
.newsletter-gdpr {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.newsletter-gdpr a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.newsletter-gdpr a:hover { color: var(--gold-light); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-main { grid-template-columns: 1fr; }
}

/* ================================================
   MODÁLNÍ FORMULÁŘ — objednávka
   ================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 5, 0.75);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 60px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition);
  z-index: 2;
}
.modal-close:hover { color: var(--brown-dark); }

/* Levá část — formulář */
.modal-form-side {
  padding: 2.5rem 2rem 2.5rem 2.5rem;
}
.modal-form-side h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.modal-form-side .modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.03em;
}
.form-group label .req { color: var(--gold); margin-left: 2px; }
.form-input, .form-textarea {
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(58,37,21,0.35); }
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,139,58,0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-gdpr {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.form-gdpr input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-gdpr label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-gdpr a { color: var(--gold); text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.form-submit:hover {
  background: var(--brown);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success .success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); max-width: none; }

.form-error {
  display: none;
  background: #fdf0ee;
  border: 1px solid #e07060;
  color: #a03020;
  border-radius: var(--radius);
  padding: .85rem 1rem;
  margin-top: 1rem;
  font-size: .9rem;
  text-align: center;
}

/* Honeypot — skrytý pro lidi, viditelný pro boty */
.dn { display: none !important; }

/* Pravá část — kontaktní info */
.modal-info-side {
  background: var(--brown-dark);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modal-info-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.modal-info-card h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.modal-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  line-height: 1.5;
}
.modal-contact-item:last-child { margin-bottom: 0; }
.modal-contact-item .mci-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  opacity: 0.7;
}
.modal-contact-item .mci-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 0.1rem;
}
.modal-contact-item a { color: rgba(255,255,255,0.8); }
.modal-contact-item a:hover { color: var(--gold-light); }

.modal-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.modal-hours-row:last-child { border-bottom: none; }
.modal-hours-row .day { color: rgba(255,255,255,0.5); }
.modal-hours-row .time { font-weight: 700; color: rgba(255,255,255,0.85); }
.modal-hours-row .closed { color: rgba(255,255,255,0.3); font-style: italic; }

@media (max-width: 720px) {
  .modal { grid-template-columns: 1fr; max-height: 95vh; }
  .modal-info-side {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1.75rem 1.5rem;
  }
  .form-row { grid-template-columns: 1fr; }
  .modal-form-side { padding: 2rem 1.5rem; }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-gallery-grid { grid-template-columns: 1fr 1fr; }
  .home-gallery-grid .item:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content p { font-size: 1rem; }

  .home-gallery-grid { grid-template-columns: 1fr; }
  .home-gallery-grid .item:first-child { grid-column: span 1; aspect-ratio: 4/3; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
  .gallery-item img { height: 220px; }

  .exercises-grid { grid-template-columns: 1fr; }
  .tips-section { padding: 2rem 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .lightbox-nav { display: none; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
}

/* ================================================================
   ENHANCEMENTS v2 — dřevo, animace, mobile, "Jak to funguje"
   ================================================================ */

/* ---- Dřevěné textury & ornamenty ---- */
.wood-bg          { background-image: var(--wood-grain); background-size: 400px 200px; }
.wood-bg-dark     { background-image: var(--wood-grain-dark); background-size: 400px 200px; }

.beige-section,
.features,
.tips-section,
.why-section { position: relative; }
.beige-section::before,
.features::after,
.tips-section::after,
.why-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--wood-grain);
  background-size: 600px 300px;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.features > *,
.tips-section > *,
.why-section > * { position: relative; z-index: 1; }

/* ---- Wave dividers (vlnovité přechody mezi sekcemi) ---- */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  margin: -2px 0;
  pointer-events: none;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }
.wave-flip { transform: rotate(180deg); }

/* ---- Dekorativní SVG ornamenty (větve, listy) ---- */
.ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}
.ornament svg { display: block; width: 100%; height: 100%; }

/* ---- Zlaté podtržení nadpisů (animované) ---- */
.gold-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15em;
}
.gold-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gold-underline.in-view::after,
.gold-underline:hover::after { transform: scaleX(1); }

/* ---- Nav: hide-on-scroll + scrolled state ---- */
.nav { transform: translateY(0); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, box-shadow 0.3s ease; }
.nav.nav-hidden { transform: translateY(-100%); }
.nav.nav-scrolled {
  background: rgba(253, 250, 245, 0.985);
  box-shadow: 0 4px 24px rgba(44,24,16,0.10);
}

/* ---- Hamburger — morfování do × ---- */
.nav-hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  position: absolute;
  left: 50%;
  margin-left: -13px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-hamburger span:nth-child(1) { top: 14px; }
.nav-hamburger span:nth-child(2) { top: 21px; }
.nav-hamburger span:nth-child(3) { top: 28px; }
.nav-hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu — plynulý slide-down */
.nav-mobile {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
}
.nav-mobile.open {
  max-height: 420px;
  padding: 1rem 0;
}

/* ---- Hero — pomalý zoom-in po loadu + parallax textu na pohyb myši ---- */
.hero { perspective: 1200px; }
.hero-bg { transform: scale(1.08); transition: transform 12s ease-out; will-change: transform; }
.hero.loaded .hero-bg { transform: scale(1); }
.hero-content { will-change: transform; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-content > * { will-change: transform; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }

/* ---- Pulzující ring na "Objednat" ---- */
.btn-pulse { position: relative; overflow: visible; }
.btn-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  opacity: 0.7;
  animation: pulseRing 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.18); opacity: 0;   }
  100% { transform: scale(1.18); opacity: 0;   }
}

/* ---- Hover karty (zvednutí + stín) ---- */
.feature-card,
.exercise-card,
.testimonial-card,
.gallery-item,
.step-card { transition: transform var(--transition-slow), box-shadow var(--transition-slow); will-change: transform; }
.feature-card:hover,
.exercise-card:hover,
.step-card:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--shadow-lg); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---- Stagger reveal (univerzální) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-left.in-view { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-right.in-view { opacity: 1; transform: none; }

/* ---- 3D tilt karet — naklánění podle pozice kurzoru nad kartou ----
   JS nastavuje proměnné --tx (-1..1) a --ty (-1..1) na hover; v leave je zruší. */
.feature-card,
.step-card,
.exercise-card,
.testimonial-card,
.gallery-item,
.home-gallery-grid .item {
  transform-style: preserve-3d;
  perspective: 800px;
}
.feature-card,
.step-card,
.exercise-card,
.testimonial-card {
  transform: perspective(800px)
             rotateX(calc(var(--ty, 0) * -6deg))
             rotateY(calc(var(--tx, 0) *  6deg))
             translateY(var(--lift, 0px));
}
.gallery-item,
.home-gallery-grid .item {
  transform: perspective(900px)
             rotateX(calc(var(--ty, 0) * -4deg))
             rotateY(calc(var(--tx, 0) *  4deg));
}
/* Lesklý zlatý odraz, který se posouvá po kartě podle kurzoru */
.feature-card,
.step-card,
.exercise-card,
.testimonial-card { position: relative; overflow: hidden; }
.feature-card::after,
.step-card::after,
.exercise-card::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at calc(50% + var(--tx, 0) * 50%) calc(50% + var(--ty, 0) * 50%),
              rgba(232, 184, 109, 0.22) 0%, rgba(232, 184, 109, 0) 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}
.feature-card:hover::after,
.step-card:hover::after,
.exercise-card:hover::after,
.testimonial-card:hover::after { opacity: 1; }
.feature-card > *,
.step-card > *,
.exercise-card > *,
.testimonial-card > * { position: relative; z-index: 2; }

/* Magnetický efekt na primárních CTA — tlačítko se naklání k myši */
.btn-primary { will-change: transform; }

/* Zakázat 3D tilt na touch a v reduced-motion */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .feature-card, .step-card, .exercise-card, .testimonial-card,
  .gallery-item, .home-gallery-grid .item { transform: none !important; }
  .feature-card::after, .step-card::after, .exercise-card::after, .testimonial-card::after { display: none; }
}

/* ================================================================
   "JAK TO FUNGUJE" — 3 kroky
   ================================================================ */
.howto-section {
  background: var(--cream);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.howto-section .container { position: relative; z-index: 1; }
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.howto-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 12px, transparent 12px 22px);
  opacity: 0.5;
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(224,205,176,0.6);
  position: relative;
  z-index: 1;
}
.step-card-num {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  position: relative;
}
.step-card-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(198,139,58,0.4);
}
.step-card-icon { font-size: 2rem; margin-bottom: 0.5rem; line-height: 1; }
.step-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.step-card p  { font-size: 0.95rem; max-width: none; margin: 0 auto; }

@media (max-width: 860px) {
  .howto-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .howto-grid::before { display: none; }
}

/* ================================================================
   GALERIE — filter chips + kategorie + skeleton
   ================================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 2rem 0 1rem;
}
.filter-chip {
  background: transparent;
  border: 2px solid var(--beige-dark);
  color: var(--brown-dark);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }

.gallery-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.is-hidden {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  margin: 0; padding: 0;
}

/* Skeleton placeholder pro ještě nenačtené obrázky */
.gallery-item img { background: linear-gradient(90deg, #ece2cd 0%, #f5ebd5 50%, #ece2cd 100%); background-size: 200% 100%; animation: skeletonShimmer 1.6s linear infinite; }
.gallery-item img.loaded { animation: none; background: transparent; }
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ================================================================
   LIGHTBOX — plynulejší přechody (fade + zoom)
   ================================================================ */
.lightbox {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.lightbox.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.lightbox-img {
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  touch-action: pan-y;
  user-select: none;
}
.lightbox.open .lightbox-img { transform: scale(1); opacity: 1; }
.lightbox-img.swap-out { transform: scale(0.96) translateX(var(--swipe-x, 0)); opacity: 0; }
.lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ================================================================
   MODAL — full-screen bottom-sheet na mobilu
   ================================================================ */
.modal-overlay {
  transition: opacity 0.35s ease;
  opacity: 0;
}
.modal-overlay.open { opacity: 1; }
.modal {
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.modal-overlay.open .modal { transform: none; opacity: 1; }

@media (max-width: 720px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow-y: auto;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal { transform: translateY(0); }
  .modal::before {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    background: var(--beige-dark);
    border-radius: 4px;
    margin: 0.6rem auto 0;
    grid-column: 1 / -1;
  }
  .modal-info-side {
    border-radius: 0;
  }
}

/* ================================================================
   STICKY MOBILE CTA — floating "Objednat"
   ================================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 90;
  background: var(--gold);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(74,44,24,0.32), 0 0 0 0 rgba(198,139,58,0.6);
  min-height: 48px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  animation: pulseShadow 2.6s ease-out infinite;
}
.mobile-cta.show { transform: translateX(-50%) translateY(0); }
.mobile-cta:active { transform: translateX(-50%) translateY(0) scale(0.97); }
@keyframes pulseShadow {
  0%   { box-shadow: 0 12px 32px rgba(74,44,24,0.32), 0 0 0 0 rgba(198,139,58,0.55); }
  70%  { box-shadow: 0 12px 32px rgba(74,44,24,0.32), 0 0 0 16px rgba(198,139,58,0); }
  100% { box-shadow: 0 12px 32px rgba(74,44,24,0.32), 0 0 0 0 rgba(198,139,58,0); }
}
@media (max-width: 768px) {
  .mobile-cta { display: inline-flex; align-items: center; }
}

/* ================================================================
   BACK-TO-TOP tlačítko
   ================================================================ */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--gold-light);
  cursor: pointer;
  z-index: 80;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--gold); color: #fff; }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
  .back-to-top { right: 12px; bottom: 76px; }
}

/* ================================================================
   COUNT-UP — staticky stejný styl, ale plynulé přepsání
   ================================================================ */
.stat-number { display: inline-block; min-width: 1ch; transition: color 0.3s ease; }

/* ================================================================
   TOUCH-FRIENDLY — minimální 48×48 cíle
   ================================================================ */
@media (max-width: 768px) {
  .nav-links a,
  .nav-mobile ul li a,
  .footer-col ul li a,
  .footer-bottom-links a,
  .btn,
  .filter-chip { min-height: 48px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-mobile ul li a { padding: 1rem 1.5rem; }
  .modal-close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; top: 0.5rem; right: 0.5rem; }
  .lightbox-close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
}

/* ================================================================
   ACCESSIBILITY — respekt k preferencím uživatele
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-scroll { animation: none !important; }
  .reveal, .reveal-left, .reveal-right, .fade-in { opacity: 1 !important; transform: none !important; }
}
