:root {
  --bg: #fbf7ef;
  --bg-soft: #f3ede4;
  --panel: #fffdf8;
  --ink: #3f312b;
  --muted: #6f625b;
  --soft-text: #8a7569;
  --accent: #5b3d34;
  --accent-dark: #3b2b27;
  --line: rgba(63, 49, 43, .13);
  --shadow: 0 24px 70px rgba(63, 49, 43, .12);
  --shadow-soft: 0 18px 42px rgba(63, 49, 43, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img,
svg {
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 74px);
  background: rgba(251, 247, 239, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.logo {
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.04em;
  font-size: clamp(20px, 2vw, 26px);
}

.mini-cta {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-dark);
  color: var(--bg);
  text-decoration: none;
  font-weight: 850;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(38px, 5vw, 72px) clamp(18px, 5vw, 74px) clamp(44px, 6vw, 88px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 950;
  color: var(--soft-text);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: 1.08;
  letter-spacing: -.075em;
}

.lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.fact-card {
  min-height: 92px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.fact-card span {
  display: block;
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 11px;
  font-weight: 900;
  color: var(--soft-text);
}

.fact-card strong {
  font-size: 16px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  text-decoration: none;
  border: 0;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 14px 30px rgba(63, 49, 43, .12);
}

.button-light {
  width: 100%;
  margin-top: 16px;
  background: var(--bg);
  color: var(--accent-dark);
  border-radius: 16px;
}

.text-link {
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* Facebook řádek */

.facebook-line {
  width: fit-content;
  max-width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 760;
}

.facebook-link-text {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.facebook-group-name {
  color: var(--muted);
  font-weight: 700;
}

.facebook-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
}

.facebook-icon svg {
  width: 23px;
  height: 23px;
  fill: var(--bg);
}

/* Úvodní obrázek */

.hero-photo {
  position: relative;
  justify-self: center;
  width: 88%;
  transform: translateX(-28px);
  margin: 0;
  min-height: clamp(360px, 40vw, 560px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.82) contrast(.98);
}

.schedule-badge {
  position: absolute;
  right: clamp(20px, 3.2vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(138px, 12vw, 185px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  background: rgba(91, 61, 52, .96);
  color: var(--bg);
  box-shadow: 0 18px 44px rgba(63, 49, 43, .18);
  text-transform: uppercase;
}

.schedule-badge span,
.schedule-badge strong {
  font-style: normal;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.05;
  letter-spacing: .04em;
}

.schedule-badge strong {
  font-weight: 650;
}

/* Delší text dvou dnů v kruhovém štítku */
.schedule-badge strong {
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: .01em;
}


.schedule-badge i {
  width: 58%;
  height: 1px;
  margin: 10px 0;
  background: rgba(251, 247, 239, .52);
}

.schedule-badge em {
  font-style: normal;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.05;
}

.schedule-badge small {
  margin-top: 4px;
  font-size: clamp(15px, 1.5vw, 21px);
  text-transform: none;
}

/* Sekce pro začátečníky */

.benefits-section,
.booking-section {
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 74px);
}

.benefits-section {
  background: linear-gradient(180deg, #f6f1e9 0%, var(--bg) 100%);
}

.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  margin-bottom: 44px;
}

.section-head h2,
.booking-copy h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.section-head > p,
.booking-copy p {
  max-width: 790px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.8;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  min-height: 310px;
  padding: 34px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 28px;
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  width: 190px;
  height: 150px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.benefit-icon img {
  width: auto;
  height: auto;
  max-width: 165px;
  max-height: 138px;
  display: block;
  object-fit: contain;
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -.04em;
}

.benefit-card p {
  max-width: 260px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Rezervace */

.booking-section {
  display: block;
  padding-top: clamp(45px, 6vw, 82px);
}

.booking-copy {
  max-width: 820px;
  margin-bottom: clamp(28px, 3.8vw, 46px);
}

.booking-copy p {
  margin-top: 26px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.booking-left {
  min-width: 0;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.map-card {
  width: 100%;
  min-height: clamp(320px, 28vw, 410px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
}

.map-placeholder {
  min-height: inherit;
  padding: clamp(26px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,253,248,.95), rgba(243,237,228,.96));
}

.map-placeholder-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}

.map-placeholder-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--bg);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-placeholder strong {
  margin-bottom: 12px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.25;
}

.map-placeholder p {
  max-width: 520px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.map-load-button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(63, 49, 43, .12);
}

.map-load-button:hover {
  background: var(--accent-dark);
}

.map-load-button:focus-visible {
  outline: 3px solid rgba(91, 61, 52, .25);
  outline-offset: 3px;
}

.instructor-note {
  width: 100%;
  max-width: none;
  margin-top: clamp(30px, 4vw, 52px);
}

.instructor-note h3 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 58px);
  letter-spacing: -.04em;
}

.instructor-note p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.8;
}

.instructor-note p + p {
  margin-top: 14px;
}

.booking-panel {
  min-height: clamp(320px, 28vw, 410px);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 30px;
  background: radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 38%), var(--accent-dark);
  color: var(--bg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(251, 247, 239, .18);
}

.booking-row:first-child {
  padding-top: 0;
}

.booking-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.booking-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--bg);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .94;
}

.booking-row strong {
  font-size: clamp(23px, 2.6vw, 38px);
  line-height: 1.18;
}

/* Footer */

.site-footer {
  padding: 30px clamp(18px, 5vw, 74px) 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
  text-underline-offset: 5px;
}

/* Responzivita */

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-photo {
    order: -1;
    width: 100%;
    min-height: 430px;
    justify-self: stretch;
    transform: none;
  }

  .hero-copy {
    max-width: 820px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .topbar {
    padding: 14px 18px;
  }

  .mini-cta {
    min-height: 42px;
    padding: 0 18px;
  }

  .hero,
  .benefits-section,
  .booking-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .facts,
  .section-head {
    grid-template-columns: 1fr;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    width: 100%;
    min-height: 360px;
    border-radius: 24px;
  }

  .schedule-badge {
    right: 18px;
    top: auto;
    bottom: 18px;
    transform: none;
    width: 142px;
  }

  .schedule-badge span,
  .schedule-badge strong {
    font-size: 17px;
  }

  .schedule-badge em {
    font-size: 19px;
  }

  .schedule-badge small {
    font-size: 16px;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 28px;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: static;
  }

  h1 {
    font-size: clamp(36px, 13vw, 58px);
    line-height: 1.08;
  }

  .lead {
    font-size: 17px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .button-primary,
  .text-link {
    width: 100%;
  }

  .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .facebook-line {
    width: 100%;
    align-items: flex-start;
  }

  .facebook-link {
    width: 100%;
  }

  .facebook-group-name {
    padding-left: 56px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 260px;
  }

  .booking-panel {
    border-radius: 24px;
  }

  .booking-row {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 18px;
  }

  .mini-cta {
    padding: 0 14px;
    font-size: 14px;
  }

  .fact-card {
    min-height: 84px;
  }

  .schedule-badge {
    width: 124px;
    padding: 14px;
  }

  .schedule-badge i {
    margin: 7px 0;
  }
}
@media (max-width: 840px) {
  .schedule-badge strong { font-size: 13px; }
}
