:root {
  --green: #8cc63f;         /* hlavní zelená z vizitky */
  --green-light: #b5dc6a;
  --green-pale: #eef7df;
  --green-dark: #4f7d1c;
  --ink: #1c2412;
  --ink-soft: #3d4a2c;
  --paper: #fbfcf7;
  --white: #ffffff;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, .logo { font-family: "Bitter", Georgia, serif; line-height: 1.2; }
a { color: var(--green-dark); }
img { max-width: 100%; display: block; }
body { overflow-x: hidden; }
.wrap > * { min-width: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Logo ve stylu vizitky */
.logo {
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  border-bottom: 3px solid var(--ink);
  line-height: 1;
  padding-bottom: 2px;
}
.logo .big { font-size: 1.3em; }

/* Hlavička */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
header.top .logo { font-size: 26px; }
nav a {
  color: var(--ink); text-decoration: none; font-weight: 600;
  margin-left: 22px; font-size: 19px;
}
nav a:hover { text-decoration: underline; }
.call-btn {
  background: var(--ink); color: var(--white) !important;
  padding: 8px 16px; border-radius: 999px;
}

/* Úvod */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 70% 40%, var(--green-light), var(--green) 65%);
  padding: 70px 0 80px;
}
.hero .leaf-bg {
  position: absolute; left: -60px; bottom: -80px; width: 420px;
  opacity: .22; fill: var(--white); pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: 64px; margin: 0 0 6px; }
.hero h1 .h1-sub { display: block; font-size: 26px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
.hero .logo { font-size: 30px; margin-bottom: 18px; }
.hero .addr { font-family: "Bitter", serif; font-weight: 700; font-size: 22px; margin: 0 0 24px; }
.hero p.lead { font-size: 22px; margin: 0 0 28px; color: var(--ink-soft); }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; font-size: 20px;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn:hover { filter: brightness(1.1); }

.hero-photo {
  position: relative;
  clip-path: url(#leafClip);
  aspect-ratio: 1 / 1;
}
.hero-photo-frame {
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.25));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sekce */
section { padding: 72px 0; }
section h2 { font-size: 40px; margin: 0 0 12px; }
.kicker {
  font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--green-dark); font-size: 16px; margin-bottom: 6px;
}
.intro { max-width: 760px; }

/* Co u nás najdete */
.activities {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 36px;
}
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 24px; border: 2px solid var(--green-pale);
  box-shadow: 0 4px 14px rgba(60,90,20,.07);
}
.card .ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  font-size: 28px; margin-bottom: 14px;
}
.card h3 { font-size: 23px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 18px; }
.wifi {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  background: var(--ink); color: var(--white); padding: 10px 20px; border-radius: 999px;
  font-weight: 600;
}
.wifi b { font-family: "Bitter", serif; font-size: 22px; }

/* Povídání */
.story { background: var(--green-pale); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story p { margin: 0 0 18px; }
.story img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
blockquote {
  margin: 26px 0 0; padding: 18px 24px; background: var(--white);
  border-left: 6px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: "Bitter", serif; font-size: 22px; font-weight: 500;
}

/* Video */
.video-box {
  max-width: 420px; margin: 30px auto 0; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 12px 34px rgba(0,0,0,.2);
}
.video-box video { width: 100%; display: block; aspect-ratio: 9 / 16; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px;
}
.gallery img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; width: 100%; }

/* Kontakt */
.contact { background: var(--green); position: relative; overflow: hidden; }
.contact .leaf-bg {
  position: absolute; right: -80px; top: -60px; width: 380px;
  opacity: .2; fill: var(--white); pointer-events: none;
}
.contact .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: 15px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--green-dark); font-weight: 600; margin-top: 18px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 2px 0 0; font-size: 21px; }
.contact-card .phone { font-family: "Bitter", serif; font-weight: 800; font-size: 32px; text-decoration: none; color: var(--ink); }
.contact-card .name { font-family: "Bitter", serif; font-weight: 700; font-size: 24px; }
.map {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1;
  border: 8px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.15);
  max-width: 460px; width: 100%; justify-self: center;
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map-link { text-align: center; margin-top: 14px; }
.map-link a { color: var(--ink); font-weight: 600; }

/* Časté dotazy */
.faq-list { max-width: 820px; margin-top: 28px; }
.faq-list details {
  background: var(--white); border: 2px solid var(--green-pale);
  border-radius: var(--radius); padding: 18px 24px; margin-bottom: 14px;
}
.faq-list summary {
  cursor: pointer; font-family: "Bitter", serif; font-weight: 700; font-size: 22px;
}
.faq-list details p { margin: 10px 0 0; color: var(--ink-soft); }

footer {
  background: var(--ink); color: #d7e4c2; padding: 28px 0; font-size: 17px;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer .logo { color: var(--white); border-color: var(--white); font-size: 20px; }

@media (max-width: 860px) {
  body { font-size: 19px; }
  nav a:not(.call-btn) { display: none; }
  .hero { padding: 44px 0 56px; }
  .hero .wrap, .story .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 46px; }
  .hero-photo-frame { max-width: 380px; margin: 0 auto; width: 100%; }
  section { padding: 52px 0; }
  section h2 { font-size: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { display: none; }
  .contact-card { padding: 24px; }
  .contact-card .phone { font-size: 28px; }
}

/* ---------- Doplněno: galerie z administrace ---------- */
.videos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 30px; }
.videos .video-box { margin: 0; flex: 0 1 420px; }
.videos figcaption { padding: 10px 14px; color: #fff; font-size: 17px; background: var(--ink); }
.gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 28px; }
.gallery button { all: unset; cursor: zoom-in; display: block; border-radius: 12px; }
.gallery button:focus-visible { outline: 4px solid var(--green-dark); outline-offset: 3px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(10, 14, 6, .88); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 10px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; font-size: 19px; }
.lightbox .lb-nav { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.lightbox .lb-nav button { font: inherit; font-size: 19px; font-weight: 600; padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: var(--ink); }

/* ---------- Tlačítko členství v hlavičce ---------- */
.member-btn { background: var(--white); color: var(--ink) !important; padding: 8px 16px; border-radius: 999px; }
.btn-green { background: var(--green); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Mapa až po souhlasu ---------- */
.map-consent {
  display: grid; place-items: center; text-align: center; height: 100%; padding: 40px;
  background: var(--green-pale); font-size: 18px;
}
.map-consent button { margin-top: 12px; }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 760px; margin: 0 auto; background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.28);
  padding: 22px 24px; border-top: 6px solid var(--green);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar h2 { font-size: 23px; margin: 0 0 6px; }
.cookie-bar p { margin: 0 0 14px; font-size: 18px; }
.cookie-bar .btns button { font: inherit; border: 0; cursor: pointer; }
.cookie-bar label { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; margin: 6px 0; }
.cookie-bar input[type=checkbox] { width: 22px; height: 22px; margin-top: 4px; flex: none; }
.cookie-bar details { margin: 0 0 14px; }
.cookie-bar summary { cursor: pointer; font-weight: 600; color: var(--green-dark); }

/* ---------- Popup členství ---------- */
.promo { border: 0; padding: 0; border-radius: 24px; max-width: 520px; width: calc(100% - 32px); box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.promo::backdrop { background: rgba(20, 30, 10, .6); }
.promo-inner { position: relative; padding: 34px 32px 30px; background: radial-gradient(ellipse at 80% 0%, var(--green-light), var(--white) 60%); text-align: center; }
.promo h2 { font-size: 30px; margin: 4px 0 10px; }
.promo p { margin: 0 0 18px; color: var(--ink-soft); }
.promo .badge { display: inline-block; background: #d62f2f; color: #fff; font-weight: 700; padding: 4px 14px; border-radius: 999px; font-size: 17px; letter-spacing: .04em; }
.promo .close { position: absolute; top: 10px; right: 12px; font-size: 32px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px 10px; }
.promo .later { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.price { font-family: "Bitter", serif; display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 6px 0 18px; }
.price .old { font-size: 28px; color: #8a8f80; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: #d62f2f; }
.price .new { font-size: 56px; font-weight: 800; color: var(--ink); }
.price small { font-size: 20px; font-weight: 700; }

/* ---------- Co členství obsahuje ---------- */
.perks { list-style: none; padding: 0; margin: 8px 0 18px; text-align: left; display: grid; gap: 8px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.75); border-radius: 12px; padding: 10px 14px; font-size: 19px; line-height: 1.35; color: var(--ink); }
.perks li > span:first-child { font-size: 24px; line-height: 1.1; flex: none; }

/* ---------- Stránka členství a formuláře ---------- */
.page { padding: 56px 0 72px; }
.page h1 { font-size: 46px; margin: 0 0 14px; }
.page .narrow { max-width: 760px; }
.member-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-top: 28px; }
.price-card { background: var(--green); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.price-card .price .old { color: #3d4a2c; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 30px; border: 2px solid var(--green-pale); box-shadow: 0 4px 14px rgba(60,90,20,.07); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; font-size: 20px; padding: 12px 14px;
  border: 2px solid #c9d8b0; border-radius: 12px; background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 4px var(--green-pale); }
.field.check label { display: flex; gap: 12px; font-weight: 400; font-size: 18px; }
.field.check input { width: 24px; height: 24px; flex: none; margin-top: 3px; }
.field .error, .form-errors { color: #b42318; font-weight: 600; font-size: 17px; margin: 4px 0 0; }
.form-errors { list-style: none; padding: 0; }
.form-card button[type=submit], .form-card input[type=submit] { font: inherit; font-weight: 700; border: 0; cursor: pointer; width: 100%; }
.flash { padding: 14px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; background: var(--green-pale); border-left: 6px solid var(--green); }
.flash.error { background: #fde8e7; border-color: #d62f2f; }

.pay-grid { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-top: 28px; }
.qr-box { background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.12); text-align: center; }
.qr-box img { width: 280px; height: 280px; margin: 0 auto; image-rendering: pixelated; }
.pay-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.pay-table th, .pay-table td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--green-pale); }
.pay-table th { color: var(--green-dark); font-weight: 600; font-size: 17px; width: 40%; }
.pay-table td { font-family: "Bitter", serif; font-weight: 700; font-size: 22px; }
.copy { font: inherit; font-size: 15px; margin-left: 8px; padding: 2px 10px; border-radius: 999px; border: 1px solid #c9d8b0; background: #fff; cursor: pointer; }
.status-paid { display: inline-block; background: var(--green); padding: 8px 18px; border-radius: 999px; font-weight: 700; }
.prose h2 { font-size: 28px; margin: 30px 0 8px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 18px; }
.prose th, .prose td { border: 1px solid #dde8c8; padding: 8px 12px; text-align: left; vertical-align: top; }
footer a { color: #fff; }
footer .links a { margin-left: 16px; }
footer .links button { all: unset; cursor: pointer; text-decoration: underline; margin-left: 16px; }

@media (max-width: 860px) {
  .member-grid, .pay-grid { grid-template-columns: 1fr; }
  .page h1 { font-size: 36px; }
  .qr-box img { width: 240px; height: 240px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery img:last-child { display: block; }
  .price .new { font-size: 46px; }
  footer .links a, footer .links button { margin: 0 16px 0 0; }
}
