/* ===== Tokeny ===== */
:root {
  --green-900: #0f3d27;
  --green-800: #154f33;
  --green-700: #1d6a45;   /* primární */
  --green-600: #24804f;
  --green-100: #e2f0e7;
  --green-50:  #f2f8f4;
  --ink:       #17231c;
  --ink-soft:  #4a5a50;
  --line:      #dbe6de;
  --card:      #ffffff;
  --bg:        #fbfcfb;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 10px 30px -12px rgba(15, 61, 39, .18);
  --container: 1160px;
  --ease:      cubic-bezier(.2, .7, .2, 1);
}

/* ===== Základ ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
#rezervace { scroll-margin-top: calc(-1 * clamp(3.5rem, 8vw, 6rem) + 72px - 88px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 30px; height: 30px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: .8rem; }
.eyebrow-light { color: #bfe3cc; }

/* ===== Tlačítka ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); }
.btn-ghost { background: transparent; border-color: #b9cdbf; color: var(--ink); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-700); }
.btn-block { width: 100%; }

/* ===== Hlavička ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 252, 251, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.logo-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--green-700); color: #fff; font: 600 1.05rem var(--font-head); letter-spacing: .02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; }
.logo-text small { font-size: .78rem; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a:not(.btn) {
  padding: .55rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { background: var(--green-100); color: var(--green-800); }
.nav-cta { margin-left: .6rem; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: .8rem 20px 1.2rem; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) { padding: .85rem 1rem; }
  .nav-cta { margin: .5rem 0 0; }
}

/* ===== Hero ===== */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; background: linear-gradient(180deg, var(--green-50), var(--bg) 85%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--green-700); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-visual { position: relative; margin: 0; }
.photo-placeholder {
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.16) 0 18%, transparent 19%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 28px),
    linear-gradient(150deg, var(--green-600), var(--green-900));
  color: #fff; box-shadow: var(--shadow);
}
.photo-tall { aspect-ratio: 7 / 8; }
.monogram { font: 500 clamp(4rem, 9vw, 6.5rem)/1 var(--font-head); font-style: italic; opacity: .92; }
.placeholder-note {
  position: absolute; bottom: 16px; right: 18px;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7;
}
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  display: flex; flex-direction: column; padding: .9rem 1.2rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--green-700); line-height: 1.1; }
.hero-badge span { font-size: .88rem; color: var(--ink-soft); }

.facts {
  list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 1.4rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.facts li { display: flex; gap: .8rem; align-items: flex-start; }
.facts .icon { color: var(--green-700); margin-top: 2px; }
.facts strong { display: block; font-weight: 600; font-size: .98rem; }
.facts span { font-size: .88rem; color: var(--ink-soft); }

/* ===== Sekce ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--green-50); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--ink-soft); }

/* Služby */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service {
  display: flex; flex-direction: column; padding: 1.6rem 1.5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.service:hover { border-color: #b9d6c3; box-shadow: var(--shadow); }
.service .icon { color: var(--green-700); margin-bottom: 1rem; }
.service p { color: var(--ink-soft); font-size: .98rem; }
.service .price { margin: auto 0 .6rem; padding-top: .6rem; font-family: var(--font-head); font-size: 1.15rem; color: var(--green-700); }
.service-link { font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Kroky */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: krok; }
.steps li {
  counter-increment: krok; position: relative; padding: 1.6rem 1.5rem 1.4rem;
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(krok); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--green-700); color: #fff; font: 600 1.1rem var(--font-head);
}
.steps p { color: var(--ink-soft); margin: 0; }
.modes { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.modes li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .95rem;
}
.modes .icon { width: 18px; height: 18px; color: var(--green-700); }

/* O mně */
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-text p { color: var(--ink-soft); max-width: 36em; }
.about-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.about-facts dt { font-size: .85rem; color: var(--ink-soft); }
.about-facts dd { margin: 0; font: 600 1.6rem/1.2 var(--font-head); color: var(--green-700); }

/* ===== Rezervace ===== */
.booking {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--green-700), var(--green-900));
  color: #fff;
}
.booking-intro h2 { color: #fff; }
.booking-intro p { color: #d5ecdd; }
.booking-call a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid #8fd1a8; white-space: nowrap; }
.booking-call a:hover { border-bottom-color: #fff; }

.booking-form { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); }
.demo-note { font-size: .85rem; background: var(--green-50); color: var(--green-800); padding: .5rem .8rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
legend { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .55rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 44px; padding: .5rem .95rem; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .93rem; font-weight: 500; line-height: 1.2; text-align: center;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover span { border-color: #9cc6ab; }
.chip input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: 2px; }
.chips-days .chip span { border-radius: 14px; min-width: 64px; padding: .45rem .7rem; }
.chips-days small { font-size: .78rem; opacity: .8; font-weight: 400; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green-700); outline: none; box-shadow: 0 0 0 3px rgba(36,128,79,.22); }
.field input[aria-invalid="true"] { border-color: #b42318; }
.field-error { min-height: 1.3em; margin: .3rem 0 .5rem; font-size: .85rem; color: #b42318; }
.form-privacy { margin: .7rem 0 0; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.form-success {
  display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; padding: 1rem 1.1rem;
  background: var(--green-50); border: 1px solid #b9d6c3; border-radius: var(--radius-sm);
}
.form-success[hidden] { display: none; }
.form-success .icon { color: var(--green-700); margin-top: 2px; }
.form-success p { margin: .2rem 0 0; font-size: .93rem; color: var(--ink-soft); }

/* ===== Kontakt + patička ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.contact-grid > div p { color: var(--ink-soft); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-list li {
  display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-list .icon { color: var(--green-700); }
.contact-list span { display: block; font-size: .82rem; color: var(--ink-soft); }
.contact-list a { font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; }

.site-footer {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  background: linear-gradient(180deg, #f6faf7 0%, #e6f1ea 100%);
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.footer-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-waves path { fill: none; stroke: #fff; stroke-width: 2.5; opacity: .9; }
.footer-waves path.thin { stroke-width: 1.2; opacity: .7; }
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.logo-slot {
  display: grid; place-items: center; width: 220px; height: 84px; margin-bottom: 1.4rem;
  border: 1.5px dashed #9cc6ab; border-radius: var(--radius-sm);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); opacity: .8;
}
.footer-brand p { color: var(--ink-soft); max-width: 26em; margin: 0; }
.footer-title {
  font: 700 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin: .3rem 0 1.3rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.footer-col a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; }
.footer-muted { color: var(--ink-soft); }
.footer-bottom {
  position: relative; text-align: center;
  padding-top: 1.4rem; padding-bottom: 1.6rem;
  border-top: 1px solid #cfe3d6;
  font-size: .9rem; color: var(--ink-soft);
}
.footer-bottom p { margin: 0; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Responzivita ===== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid, .about-grid, .booking, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-badge { left: 12px; bottom: 12px; }
  .steps { grid-template-columns: 1fr; }
  .about-grid .photo-placeholder { max-width: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .services, .facts { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .logo-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
