/* =========================================================
   Půjč si zahradu — hlavní stylopis
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
ul, ol { padding: 0; margin: 0; }
li { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Proměnné ---------- */
:root {
  --ink: #1b1b1b;
  --text: #3f4438;
  --text-muted: #4a4f42;
  --text-muted-2: #5a6050;
  --text-muted-3: #8a8f80;
  --text-muted-4: #9a9f90;

  --green: #4e8c2b;
  --green-hover: #3f7522;
  --green-dark: #3a6d1f;
  --green-darker: #2c5417;
  --green-deep: #2f5d22;
  --green-pale: #e7f1db;

  --border: #e8eae0;
  --border-2: #e6e8de;
  --border-3: #eef0e8;
  --input-border: #d5d8cb;

  --bg: #ffffff;
  --bg-soft: #f7f9f3;
  --bg-soft-2: #eef2e8;

  --cal-free-bg: #eef6e6;
  --cal-free-border: #dcebc9;
  --cal-booked-bg: #fde3e1;
  --cal-booked-text: #b64b43;
  --cal-range-bg: #cfe6b8;
  --cal-selected-bg: #2f5d22;
  --cal-closed-bg: #f1f2ee;
  --cal-closed-text: #b7bbb0;

  --footer-bg: #1b1e17;
  --footer-text: #cdd3c4;
  --footer-muted: #9aa093;
  --footer-border: #2c3025;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 40px -22px rgba(30, 50, 15, 0.45);
  --shadow-float: 0 12px 30px -12px rgba(0, 0, 0, 0.18);
  --shadow-hero: 0 24px 60px -24px rgba(30, 50, 15, 0.4);

  --font-head: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --container: 1200px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Zabránit přetečení dlouhých slov / URL mimo šířku obrazovky */
h1, h2, h3, p, a, span, li { overflow-wrap: break-word; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-darker); }
::selection { background: #cfe6b8; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 0;
  top: -80px;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--input-border);
}
.btn-secondary:hover { border-color: #b9bdac; color: var(--ink); }
.btn-block { display: flex; width: 100%; text-align: center; justify-content: center; }
.btn-phone {
  background: var(--green);
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-phone:hover { background: var(--green-hover); color: #fff; }

/* ---------- Notifikační banner ---------- */
.site-banner {
  padding: 10px 0;
  text-align: center;
  font-weight: 600;
  font-size: 14.5px;
}
.site-banner--info { background: var(--green-pale); color: var(--green-darker); }
.site-banner--warning { background: #fde3e1; color: var(--cal-booked-text); }
.site-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.site-banner-close {
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: inherit;
  padding: 0 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 46px;
  width: auto;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
}
.brand-name .title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.3px;
}
.brand-name .title .accent { color: var(--green); }
.brand-name .sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: var(--text-muted-3);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a:not(.btn-phone) {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 15px;
}
.main-nav a[aria-current="page"] {
  color: var(--green-dark);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #f4f6ef 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.hero .container {
  padding-top: 64px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 60px;
  line-height: 0.98;
  margin: 18px 0 0;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--green); }
.hero p.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  margin: 20px 0 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-media { position: relative; }
.hero-photo {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  background: var(--bg-soft-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: var(--green);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
}
.hero-price-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-float);
}
.hero-price-badge .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--green);
  line-height: 1;
}
.hero-price-badge .note {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-3);
  margin-top: 2px;
}

/* ---------- Sekce nadpisy ---------- */
/* Pozor: .section/.catalog-section bývají na stejném elementu jako .container,
   proto NIKDY nepoužívat zkrácený `padding` (vynuloval by vodorovný padding
   kontejneru). Vždy jen padding-top/padding-bottom. */
.section { padding-top: 64px; padding-bottom: 20px; }
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  text-align: center;
  margin: 0;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head-row .section-title { text-align: left; }
.section-count {
  color: var(--text-muted-3);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Jak to funguje ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.step-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  margin: 16px 0 6px;
}
.step-card p {
  color: var(--text-muted-2);
  font-size: 15.5px;
  line-height: 1.5;
}

/* ---------- Grass divider ---------- */
.grass-divider {
  display: block;
  width: 100%;
  height: 46px;
  color: #7ec24d;
}

/* ---------- Katalog ---------- */
.catalog-section { padding-top: 52px; padding-bottom: 72px; scroll-margin-top: 80px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.machine-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
.machine-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  color: inherit;
}
.machine-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft-2); }
.machine-card-media img { width: 100%; height: 100%; object-fit: cover; }
.machine-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.machine-card-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.05;
}
.machine-card-body p {
  margin: 8px 0 0;
  color: var(--text-muted-2);
  font-size: 14.5px;
  line-height: 1.45;
  flex: 1;
}
.machine-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-3);
}
.machine-card-price .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--green);
}
.machine-card-price .unit {
  font-weight: 600;
  color: var(--text-muted-3);
  font-size: 14px;
}
.machine-card-price .detail-link {
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
}
.machine-card-deposit {
  font-size: 12.5px;
  color: var(--text-muted-4);
  font-weight: 500;
  margin-top: 6px;
}

/* ---------- Photo slot placeholder ---------- */
.photo-slot {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-soft-2);
  border: 1px dashed #cdd6c0;
  color: var(--text-muted-3);
  text-align: center;
  padding: 12px;
}
.photo-slot svg { opacity: 0.55; }
.photo-slot span {
  font-size: 12.5px;
  font-weight: 600;
}
.machine-card-media .photo-slot,
.hero-photo .photo-slot,
.gallery-main .photo-slot,
.contact-map .photo-slot { border: none; border-radius: inherit; }

/* ---------- Zpět link ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted-2);
}

/* ---------- Detail stroje ---------- */
.detail-main { padding: 26px 0 72px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  margin-top: 20px;
  align-items: start;
}
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft-2);
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-main img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { cursor: pointer; padding: 0; display: block; }

.detail-info .eyebrow { display: inline-block; }
.detail-info h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.02;
  margin: 14px 0 0;
}
.detail-info .lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 14px 0 0;
}

.price-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 22px;
}
.price-box .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-box .price-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  color: var(--green);
  line-height: 1;
}
.price-box .price-unit {
  font-weight: 600;
  color: var(--text-muted-3);
  font-size: 16px;
}
.price-box .weekend-note {
  font-weight: 600;
  color: var(--text-muted-2);
  font-size: 15px;
  margin-top: 4px;
}
.price-box .deposit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-2);
  color: var(--text-muted-2);
  font-weight: 600;
  font-size: 15px;
}
.price-box .btn { margin-top: 16px; }

.info-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 16px;
}
.info-box.plain { background: #fff; }
.info-box h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px;
}
.info-box.included h3 { color: var(--green-dark); }
.info-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.detail-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 44px;
  align-items: start;
}
.detail-columns h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 12px;
}
.detail-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-line;
}
.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #12140f;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-slot-placeholder {
  text-align: center;
  color: #cdd3c4;
  padding: 16px;
}
.video-play {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-slot-placeholder .vt {
  margin-top: 14px;
  font-weight: 600;
  font-size: 14.5px;
}
.video-slot-placeholder .vs {
  font-size: 12.5px;
  color: #8f958a;
  margin-top: 3px;
}

/* ---------- Rezervace ---------- */
.booking-section { margin-top: 52px; scroll-margin-top: 80px; }
.booking-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.booking-panel h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  margin: 0;
}
.booking-panel > div > p {
  color: var(--text-muted-2);
  font-size: 15.5px;
  margin: 6px 0 22px;
}

.booking-success {
  background: var(--green-pale);
  border: 1px solid #bcdca0;
  border-radius: 12px;
  padding: 22px 24px;
}
.booking-success .title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--green-dark);
}
.booking-success p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.5;
}
.booking-success .again {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--green-dark);
}
.booking-success-mail {
  display: inline-block;
  margin-top: 12px;
  margin-right: 16px;
  font-weight: 700;
  color: var(--green-dark);
}
.booking-success-again {
  display: inline-block;
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: underline;
}

.booking-body {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 28px;
  align-items: start;
}

.calendar {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid #e2e6da;
  border-radius: 14px;
  padding: 18px 20px;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar-head button {
  border: none;
  background: transparent;
  padding: 6px;
  display: flex;
  border-radius: 8px;
}
.calendar-head button:hover { background: var(--bg-soft-2); }
.calendar-head button svg { fill: var(--green-deep); }
.calendar-month {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: #1b3d10;
  letter-spacing: 0.2px;
}
.calendar-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 6px;
}
.calendar-dow span {
  text-align: center;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-muted-3);
  display: block;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.calendar-grid button, .calendar-grid .cell-blank {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
  border: none;
  background: transparent;
  font-family: inherit;
}
/* Stavové třídy zanořené pod .calendar-grid, aby přebily reset
   `.calendar-grid button { background:transparent; border:none }` (vyšší specificita). */
.calendar-grid .cal-free { background: var(--cal-free-bg); color: #2f4d1c; cursor: pointer; border: 1px solid var(--cal-free-border); }
.calendar-grid .cal-booked { background: var(--cal-booked-bg); color: var(--cal-booked-text); cursor: not-allowed; }
.calendar-grid .cal-closed { background: var(--cal-closed-bg); color: var(--cal-closed-text); cursor: default; }
.calendar-grid .cal-range { background: var(--cal-selected-bg); color: #fff; cursor: pointer; }
.calendar-grid .cal-selected { background: var(--cal-selected-bg); color: #fff; cursor: pointer; border: 1px solid var(--cal-selected-bg); }

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-3);
  font-size: 13px;
  color: var(--text-muted-2);
  font-weight: 600;
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch {
  width: 14px; height: 14px; border-radius: 4px; display: inline-block;
}
.legend-swatch.free { background: var(--cal-free-bg); border: 1px solid var(--cal-free-border); }
.legend-swatch.booked { background: var(--cal-booked-bg); }
.legend-swatch.selected { background: var(--cal-selected-bg); }
.legend-swatch.closed { background: var(--cal-closed-bg); }

.calendar-hint {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-dark);
  min-height: 20px;
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.field.full { grid-column: 1 / -1; }
.field input,
.field textarea {
  padding: 11px 12px;
  border: 1px solid var(--input-border);
  border-radius: 9px;
  font-size: 15px;
  background: #fff;
}
.field input:focus,
.field textarea:focus,
.calendar-grid button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.field textarea { resize: vertical; }

.summary-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.summary-box h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 2px;
}
.summary-machine {
  font-size: 14px;
  color: var(--text-muted-3);
  font-weight: 600;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
  margin-top: 6px;
}
.summary-grid .summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-2);
}
.summary-grid .summary-item .label { color: var(--text-muted-2); font-size: 14px; }
.summary-grid .summary-item .value { font-weight: 700; font-size: 16px; }

.summary-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
}
.summary-total-label { font-weight: 700; font-size: 15px; }
.summary-total-note {
  font-size: 12.5px;
  color: var(--text-muted-4);
  line-height: 1.4;
  max-width: 420px;
}
.summary-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.summary-grand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  color: var(--green);
  white-space: nowrap;
}
.summary-submit button {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.summary-submit button:hover { background: var(--green-hover); }
.summary-submit button:disabled {
  background: #b9bdac;
  cursor: not-allowed;
}

.form-error {
  color: var(--cal-booked-text);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: -4px;
}
.form-error.full { grid-column: 1 / -1; margin-top: 0; }

/* ---------- Kontakt ---------- */
.page-narrow { max-width: 1000px; margin: 0 auto; padding: 44px 24px 80px; }
.page-narrower { max-width: 860px; margin: 0 auto; padding: 44px 24px 80px; }
.page-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 44px;
  margin: 0;
}
.page-lead {
  color: var(--text-muted-2);
  font-size: 17px;
  margin: 8px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.contact-card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 16px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
}
.contact-list .company-name { font-weight: 700; }
.contact-list .company-ico { color: var(--text-muted-3); font-size: 14px; }
.contact-list .row { display: flex; gap: 10px; align-items: center; }
.contact-list .row.addr { align-items: flex-start; }
.contact-list .row a { font-weight: 600; }
.contact-list .icon { color: var(--green); }
.contact-card .btn { margin-top: 22px; }

.contact-map {
  position: relative;
  background: var(--bg-soft-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
}

.terms-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  margin-top: 24px;
}
.terms-summary h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 14px;
}
.terms-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.terms-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
}
.terms-item svg { flex-shrink: 0; margin-top: 2px; }
.terms-fineprint {
  font-size: 13.5px;
  color: var(--text-muted-4);
  margin: 18px 0 0;
  line-height: 1.5;
}
.terms-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--green-dark);
}

/* ---------- Obchodní podmínky ---------- */
.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 36px;
}
.legal-sections section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}
.legal-sections section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 10px;
}
.legal-sections section p:last-child { margin-bottom: 0; }
.legal-sections section ul {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-sections section ul li { list-style: disc; }

.legal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  align-items: center;
}
.legal-footer-actions .contact-note {
  color: var(--text-muted-4);
  font-size: 14px;
  margin-left: auto;
}
.legal-footer-actions .contact-note a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: auto;
}
.footer-grass {
  position: absolute;
  left: 0;
  bottom: calc(100% - 2px);
  display: block;
  pointer-events: none;
  width: 100%;
  height: 60px;
}
.footer-grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
}
.footer-brand .accent { color: #7db94e; }
.footer-grid p {
  color: var(--footer-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 340px;
}
.footer-col-title {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
}
.footer-links a { color: var(--footer-text); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  color: #7c8274;
}

/* =========================================================
   Responzivita
   ========================================================= */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-columns { grid-template-columns: 1fr; }
  .booking-body { grid-template-columns: 1fr; }
  .calendar { max-width: 100%; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: 75px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 60;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn-phone) {
    padding: 14px 12px;
    font-size: 17px;
    border-radius: 8px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:not(.btn-phone):last-of-type { border-bottom: none; }
  .main-nav .btn-phone {
    justify-content: center;
    margin-top: 12px;
    padding: 14px 16px;
    font-size: 16px;
  }
  .nav-toggle { display: flex; }

  /* Odsazení sekcí na mobilu */
  .hero .container { padding-top: 40px; padding-bottom: 44px; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section { padding-top: 44px; padding-bottom: 8px; }
  .section-title { font-size: 28px; }
  .catalog-section { padding-top: 40px; padding-bottom: 52px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .steps { grid-template-columns: 1fr; margin-top: 24px; }
  .catalog-grid { grid-template-columns: 1fr; }

  .detail-main { padding: 20px 0 52px; }
  .detail-grid { gap: 28px; margin-top: 16px; }
  .detail-info h1 { font-size: 32px; }
  .detail-columns { gap: 28px; margin-top: 32px; }

  .booking-section { margin-top: 36px; }
  .booking-panel { padding: 18px; border-radius: 14px; gap: 20px; }
  .booking-panel h2 { font-size: 26px; }
  .booking-body { gap: 20px; }
  .calendar { padding: 14px; }
  .summary-box { padding: 18px; }
  .booking-fields { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-grid .summary-item:first-child { border-top: none; padding-top: 4px; }
  .summary-submit { width: 100%; justify-content: space-between; margin-left: 0; }

  .footer-grid { grid-template-columns: 1fr; padding-top: 46px; gap: 26px; }
  .terms-summary-grid { grid-template-columns: 1fr; }

  .page-narrow, .page-narrower { padding: 32px 20px 56px; }
  .page-title { font-size: 34px; }
  .page-lead { font-size: 16px; }
  .contact-grid { margin-top: 24px; }
  .contact-card { padding: 22px; }
  .terms-summary { padding: 22px; }
  .legal-sections { gap: 28px; margin-top: 28px; }
  .legal-sections section h2 { font-size: 21px; }
  .legal-footer-actions .contact-note { margin-left: 0; flex-basis: 100%; }

  .hero-price-badge { left: 12px; bottom: -14px; }
}

@media (max-width: 400px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .footer-grid { padding-left: 18px; padding-right: 18px; }
  .footer-bottom { padding-left: 18px; padding-right: 18px; }
  .brand-name .title { font-size: 20px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .calendar-grid button, .calendar-grid .cell-blank { height: 34px; font-size: 13px; }
  .summary-grand { font-size: 28px; }
  .summary-submit button { padding: 13px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================
   Cookie lišta (cookieconsent v3) — sladění s brandem
   Proměnné jsou v knihovně na :root; #cc-main je blíž tlačítkům,
   takže tyto hodnoty vždy přebijí výchozí (nezávisle na pořadí CSS).
   ========================================================= */
#cc-main {
  --cc-btn-primary-bg: var(--green);
  --cc-btn-primary-border-color: var(--green);
  --cc-btn-primary-hover-bg: var(--green-hover);
  --cc-btn-primary-hover-border-color: var(--green-hover);
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-hover-color: #fff;
  --cc-toggle-on-bg: var(--green);
  --cc-link-color: var(--green-dark);
  --cc-primary-color: var(--ink);
  --cc-font-family: var(--font-body);
}
#cc-main .cm__title,
#cc-main .pm__title {
  font-family: var(--font-head);
  font-weight: 800;
}
