/* =========================
   Variables + Reset
========================= */
:root {
    --max: 1120px;
  
    --color-primary: #111;
    --color-bg: #fff;
    --color-bg-dark: #0b0b0b;
    --color-text: #111;
    --color-text-muted: #444;
    --color-border: #eee;
  
    --nav-hover-bg: rgba(17,17,17,0.08);
    --nav-active-bg: rgba(17,17,17,0.12);
  
    --spacing-xs: 10px;
    --spacing-sm: 14px;
    --spacing-md: 18px;
    --spacing-lg: 26px;
    --spacing-xl: 42px;
    --spacing-xxl: 54px;
  
    --radius-sm: 12px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-full: 999px;

    --brand: #111;                /* hlavní brand (černá) */
    --brand-contrast: #fff;       /* text na brand pozadí */
    --surface: #fff;
    --surface-muted: #fafafa;
  
    --nav-hover-bg: rgba(17,17,17,0.08);
    --nav-active-bg: rgba(17,17,17,0.12);
  
    --btn-shadow: 0 8px 18px rgba(0,0,0,0.14);
    --btn-shadow-hover: 0 10px 26px rgba(0,0,0,0.18);
  
  }
  
  * { box-sizing: border-box; }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.5;
    color: var(--brand);
    background: var(--color-bg);
  }

  /* Zvětšené řádkování pro odstavce napříč celým webem */
  p {
    line-height: 1.75;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  a:hover { opacity: 0.85; }
  
  .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  /* Accessibility helper */
  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
  }
  
  /* =========================
     Header (desktop-first)
  ========================= */
  header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
  }
  
  /* 3-column header: logo | nav | cta (no wrap on desktop) */
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    flex-wrap: nowrap;                /* IMPORTANT: prevents CTA dropping */
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 22px;
    flex: 0 0 auto;
  }
  
  .logo img {
    height: 70px;                     /* smaller than 64 for better fit */
    width: auto;
    display: block;
  }
  
  nav {
    flex: 1;                          /* nav takes middle space */
    min-width: 0;                     /* allows overflow handling */
    padding-left: 24px;     /* ⬅️ prostor mezi logem a menu */
    margin-left: 24px;
    border-left: 1px solid var(--color-border); /* jemné oddělení */
  }
  
  nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
  
    list-style: none;
    padding: 0;
    margin: 0;
  
    flex-wrap: nowrap;                /* don't wrap on desktop */
    white-space: nowrap;
    overflow: auto;                   /* if too long, allow horizontal scroll */
    scrollbar-width: none;            /* Firefox hide scrollbar */
  }
  nav ul::-webkit-scrollbar { display: none; }
  
  nav ul li a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    opacity: 1;
    font-size: 15px;
  }
  
  nav ul li a:hover { background: var(--nav-hover-bg); }
  nav ul li a.active { background: var(--nav-active-bg); }
  
  .cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  
    padding: 12px 32px;                 
    border-radius: var(--radius-full);
    border: 1px solid transparent;      /* čistý okraj */
    background: var(--brand);           /* ⬅️ vyplněné */
    color: var(--brand-contrast);       /* bílý text */
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  
    box-shadow: var(--btn-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
    opacity: 1;
  }

  .cta:hover {
    opacity: 1;                          /* zrušíme globální a:hover efekt */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    background: var(--brand);
    color: #fff;
  }
  
  .cta:active {
    transform: translateY(0px);
    box-shadow: var(--btn-shadow);
  }
  
  .cta:focus-visible {
    outline: 3px solid rgba(17,17,17,0.25);
    outline-offset: 3px;
  }
  
  /* Hamburger button (hidden on desktop) */
  .nav-toggle {
    display: none;
    flex: 0 0 auto;
  
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
  }
  
  /* =========================
     Hero
  ========================= */
  .hero {
    min-height: 72vh;
    display: grid;
    place-items: center;
    color: #fff;
    position: relative;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
  
    background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.25) 40%,
        rgba(0,0,0,0.45) 100%
      ),
      var(--hero-bg-image, url("../img/hero-homepage.jpg")) center / cover no-repeat;
  
    filter: brightness(1.12) saturate(1.15) contrast(1.05);
    z-index: 0;
  }

  .hero-apartment::before {
    background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.25) 40%,
        rgba(0,0,0,0.45) 100%
      ),
      var(--hero-bg-image, url("../img/hero-apartment.jpg")) center / cover no-repeat;
  }

.hero-location::before {
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.45) 100%
    ),
    var(--hero-bg-image, url("../img/hero-location.jpg")) center / cover no-repeat;
}

.hero-cenik::before {
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.45) 100%
    ),
    var(--hero-bg-image, url("../img/hero-cenik.png")) center / cover no-repeat; /* Obrázek pro ceník */
  filter: brightness(1.12) saturate(1.15) contrast(1.05);
}

.hero-kontakt::before {
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.45) 100%
    ),
    var(--hero-bg-image, url("../img/hero-kontakt.jpg")) center / cover no-repeat; /* Obrázek pro kontakt */
  filter: brightness(1.12) saturate(1.15) contrast(1.05);
}

.hero-vylety::before {
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.45) 100%
    ),
    var(--hero-bg-image, url("../img/hero-vylety.png")) center / cover no-repeat; /* Obrázek pro výlety */
  filter: brightness(1.12) saturate(1.15) contrast(1.05);
}
  
  .hero > .wrap {
    position: relative;
    z-index: 1;
  
    background: rgba(0,0,0,0.28);   /* ⬅️ hodně jemné */
    backdrop-filter: blur(1px);
  
    padding: 72px 48px;
    border-radius: 24px;
  }
  
  .hero h1 {
    font-size: clamp(36px, 6vw, 64px);   /* ⬅️ výrazně větší */
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.15;
  
    color: #fff;
    text-shadow:
      0 2px 6px rgba(0,0,0,0.45),
      0 6px 24px rgba(0,0,0,0.35);       /* ⬅️ čitelnost na světlém pozadí */
  }
  
  .hero p {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.75;
    margin: 0 0 var(--spacing-lg);
  
    color: rgba(255,255,255,0.95);
  
    text-shadow:
      0 1px 4px rgba(0,0,0,0.45);
  }
  
  .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--brand);
    border: 1px solid rgba(17,17,17,0.12);

    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
    opacity: 1;
  }
  
  .btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }
  
  .btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
  }
  .btn.secondary:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }
  
  .badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
  }
  
  .badge {
    display: flex;
    align-items: center; /* ✅ vertikální centrování */
    gap: 10px;

    padding: 12px var(--spacing-sm);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.38);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 13px;
  }
  
  .badge-icon {
    font-size: 1.35em;   /* jen ikonka větší */
    line-height: 1;
    flex: 0 0 auto;
  }
  
  /* =========================
     Sections + Typography
  ========================= */
  section { padding: var(--spacing-xxl) 0; }
  
  .h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    margin: 0 0 10px;
    line-height: 1.3;
  }

  .h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    margin: 0 0 var(--spacing-md);
    line-height: 1.3;
    font-weight: 700;
  }
  
  .muted {
    color: var(--color-text-muted);
    max-width: 100%;
    width: 100%;
  }

  .section-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
  }
  
  /* Full-bleed část (slider přes celou šířku) */
  .gallery-bleed {
    margin-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
  
  }
  
  /* swiper container */
  .apartment-swiper {
    padding: 20px 0 36px;
  }
  
  /* čtvercový slide */
  .gallery-slide {
    min-height: 320px;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--surface);
    aspect-ratio: 16 / 10; /* ⬅️ čtverec */
  }
  
  /* aby img vyplnila čtverec */
  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Swiper šipky: decentní, ale viditelné */
  .apartment-swiper .swiper-button-prev,
  .apartment-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
  }
  
  .apartment-swiper .swiper-button-prev:after,
  .apartment-swiper .swiper-button-next:after {
    font-size: 18px;
    font-weight: 900;
  }
  
/* Pagination pod galerií */
.apartment-swiper .swiper-pagination {
    position: static;          /* ⬅️ klíčové */
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  

  .apartment-swiper .swiper-pagination-bullet {
    background: rgba(17,17,17,0.35);
    opacity: 1;
  }
  .apartment-swiper .swiper-pagination-bullet-active {
    background: rgba(17,17,17,0.75);
  }

  .apartment-swiper .swiper-slide {
    transition: transform 0.35s ease;
  }
  
  .apartment-swiper .swiper-slide-active {
    transform: scale(1.03);
  }

  .apartment-swiper,
.apartment-swiper * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* Gallery actions slide - slide s tlačítky místo obrázku */
.gallery-actions-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: var(--surface-muted);
  border: 1px solid var(--color-border);
  min-height: 320px;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
}

.gallery-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: var(--spacing-md);
}

.gallery-actions-text {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.4;
  max-width: 600px;
}

.gallery-actions .btn {
  min-width: 220px;
}

.gallery-actions .btn.secondary {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid rgba(17,17,17,0.12);
}

/* =========================
   Modal Dialog
========================= */
.availability-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.availability-modal.is-open {
  display: flex;
}

.availability-modal-content {
  position: relative;
  max-width: 500px;
  width: 100%;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: var(--spacing-xl);
  animation: slideUp 0.3s ease;
}

.availability-modal-header {
  margin-bottom: var(--spacing-lg);
}

.availability-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--color-text);
}

.availability-modal-message {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.availability-modal-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  justify-content: flex-end;
}

.availability-modal-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.availability-modal-btn-primary {
  background: var(--brand);
  color: var(--brand-contrast);
  box-shadow: var(--btn-shadow);
}

.availability-modal-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
}

.availability-modal-btn-secondary {
  background: var(--surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.availability-modal-btn-secondary:hover {
  background: var(--surface-muted);
}

.availability-modal-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alert modal (jednoduchý, bez tlačítek) */
.availability-alert {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.availability-alert.is-open {
  display: flex;
}

.availability-alert-content {
  position: relative;
  max-width: 400px;
  width: 100%;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: var(--spacing-xl);
  animation: slideUp 0.3s ease;
}

.availability-alert-message {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 var(--spacing-lg) 0;
}

.availability-alert-actions {
  display: flex;
  justify-content: flex-end;
}
  
  /* =========================
     Grid + Cards
  ========================= */
  .grid { display: grid; gap: 16px; }
  
  .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  
  .card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  
  .card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
  
  .card .pad { padding: var(--spacing-sm) var(--spacing-sm) 16px; }
  
  /* =========================
     KPIs
  ========================= */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
  }
  
  .feature {
    text-align: center;
    padding: 28px 20px;
    border-radius: 18px;
  
    background: var(--surface-muted);
    border: 1px solid var(--color-border);
  }
  
  .feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .feature strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .feature p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
  }
  
  /* =========================
     Icons Grid
  ========================= */
  .icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  
  .icon {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
  }
  .icon strong { display: block; margin-top: 4px; }

  /* =========================
   Reviews (full-width background)
========================= */
.reviews {
    position: relative;
    color: #fff;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
  }
  
  .reviews::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.60) 100%
      ),
      url("/assets/img/homepage_reference.png") center / cover no-repeat;
    filter: brightness(1.05) saturate(1.05);
    z-index: 0;
  }
  
  .reviews > .wrap {
    position: relative;
    z-index: 1;
  }
  
  .reviews-head {
    margin-bottom: 18px;
  }
  
  .reviews-title {
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }
  
  .reviews-subtitle {
    margin: 0;
    max-width: 100%;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  }
  
  /* Cards */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
  }
  
  .review-card {
    border-radius: 18px;
    padding: 18px 18px 16px;
  
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
  
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  }
  
  .review-stars {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.98);
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  }
  
  .review-text {
    margin: 0 0 12px;
    line-height: 1.75;
    color: rgba(255,255,255,0.94);
    text-shadow: 0 2px 10px rgba(0,0,0,0.30);
  }
  
  .review-author {
    font-weight: 800;
    color: rgba(255,255,255,0.98);
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  }
  
  /* Actions under reviews */
  .reviews-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .availability {
    padding: var(--spacing-xxl) 0;
    scroll-margin-top: 100px;
  }
  
  #availability {
    scroll-margin-top: 100px;
  }
  
  .availability-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 22px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  }
  
  .availability-title {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 6px;
    font-weight: 900;
    line-height: 1.2;
  }
  
  .availability-subtitle {
    margin: 0 0 14px;
    color: var(--color-text-muted);
    max-width: 720px;
  }
  
  .availability-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
  }
  
  .field label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .field input[type="date"] {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(17,17,17,0.16);
    background: #fff;
    color: var(--brand);
    font-size: 15px;
  }
  
  .field input[type="date"]:focus-visible {
    outline: 3px solid rgba(17,17,17,0.18);
    outline-offset: 2px;
  }
  
  .availability-btn {
    height: 44px;            /* sjednocení s inputy */
    padding: 12px 22px;      /* trochu užší než header CTA */
    border: 0;
    cursor: pointer;
  }
  
  .availability-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
  }
  
  .availability-note span {
    font-weight: 800;
    color: var(--brand);
  }
  
  .availability-note a {
    text-decoration: underline;
  }
  
  /* =========================
     Footer
  ========================= */
  footer {
    background: var(--color-bg-dark);
    color: #fff;
    padding: var(--spacing-xl) 0;
  }
  
  .footergrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-md);
  }
  
  footer a {
    display: block;
    margin-bottom: 8px;
    opacity: 0.9;
  }
  footer a:hover { opacity: 1; }
  
  .fine {
    opacity: 0.7;
    font-size: 13px;
    margin-top: var(--spacing-md);
  }

  /* Footer v2 */
.site-footer {
    background: var(--color-bg-dark);
    color: #fff;
    padding: var(--spacing-xl) 0 18px;
  }
  
  .footergrid-v2 {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: var(--spacing-md);
    align-items: start;
  }
  
  .footer-brand {
  
        text-align: center;
      
  }
  
  /* === FORCE footer logo to be vertical & centered === */
.footer-logo.footer-logo-centered {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  
  /* reset případného horizontálního chování */
  .footer-logo.footer-logo-centered img {
    display: block;
    margin: 0 0 4px 0;
    height: 104px;
    width: auto;
  }
  
  .footer-logo.footer-logo-centered strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
  }
  
  .footer-logo.footer-logo-centered span {
    display: block;
    font-size: 13px;
    opacity: 0.85;
  }
  
  .footer-brandtext strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
  }
  
  .footer-brandtext span {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
  }
  
  .footer-desc {
    margin: 10px 0 14px;
    color: rgba(255,255,255,0.86);
    max-width: 420px;
    line-height: 1.6;
  }
  
  .footer-title {
    font-weight: 900;
    margin-bottom: 10px;
    opacity: 0.95;
  }
  
  .site-footer a {
    display: block;
    margin-bottom: 8px;
    opacity: 0.88;
  }
  
  .site-footer a:hover {
    opacity: 1;
  }
  
  .footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.9;
  }
  
  .footer-item a {
    display: inline;
    margin: 0;
  }
  
  .fi {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
  }
  
  .fi svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  
  /* Social icons */
  .footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-social a {
    display: flex !important;
  }
  
  .social-link {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    box-sizing: border-box;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    /* odstraní baseline/line-height posuny */
    line-height: 0;
    vertical-align: middle;
  
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
  
    padding: 0;              /* pojistka */
    margin: 0;               /* pojistka */
  
    opacity: 0.95;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  }
  
  .social-link:hover {
    opacity: 1;
    background: rgba(255,255,255,0.18);
    transform: translateY(-1px);
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  
    display: block;
    fill: currentColor;
  
    /* ⬅️ zajistí perfektní centrování */
    margin: 0;
  }
  
  /* Bottom row */
  .footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .footer-bottom .fine {
    opacity: 0.75;
    font-size: 13px;
    margin: 0;
  }
  
  /* =========================
     Responsive: Tablet
  ========================= */
  @media (max-width: 1024px) {
    .badges { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .grid.cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .kpis { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .icons { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .footergrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .gallery-slide {
        min-height: 380px;
      }
      .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footergrid-v2 {
        grid-template-columns: 1.6fr 1fr 1fr;
      }
      .footer-col:last-child {
        grid-column: 1 / -1; /* poslední sloupec pod */
      }
  }
  
  /* =========================
     Responsive: Mobile Header (Hamburger)
     - breakpoint můžete posunout na 960/1100 podle potřeby
  ========================= */
  @media (max-width: 900px) {

    .wrap { padding: 0 var(--spacing-sm); }
  
    /* header row */
    .nav {
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      padding: 18px 10px;
    }
  
    /* show hamburger */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    
        order: 1;
        min-width: 48px;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 22px;
        border-radius: 14px;
      }
    
      /* Logo hned za hamburgerem */
      .logo {
        order: 2;
        display: flex;
        align-items: center;
        gap: 10px;
    
        font-size: 14px;
        flex: 1;                  /* zabere zbytek řádku */
        min-width: 0;
      }
  
    .logo img {
      height: 38px;
    }

    /* Název (pokud je ve span/strong) */
  .logo span,
  .logo strong {
    white-space: nowrap;     /* ⬅️ nesmí se lámat */
  }
  
    /* CTA on the right */
    .cta {
      order: 3;
      width: auto;
      margin-top: 0;
      padding: 10px 18px;          /* trochu menší na mobile */
      box-shadow: var(--btn-shadow);
      font-size: 13px;
    }
  
    /* nav goes below, collapsed by default */
    nav {
      order: 4;
      width: 100%;
      display: none;
  
      /* reset desktop separator */
      padding-left: 0;
      margin-left: 0;
      border-left: none;
      flex: 0 0 100%;
      width: 100%;
    }
  
    header.is-open nav { display: block; }
  
    nav ul {
      overflow: visible;
      white-space: normal;
      flex-direction: column;
      align-items: stretch;
      gap: 4px;
      padding-top: 10px;
    }
  
    nav ul li a {
      display: block;
      width: 100%;
      padding: 10px 12px;
    }

    .availability-form {
        grid-template-columns: 1fr;
      }
      .availability-btn {
        width: 100%;
      }
  
    
  }
  
  /* =========================
     Responsive: Mobile Content
  ========================= */
  @media (max-width: 768px) {
    .hero { min-height: 60vh; text-align: center;}
    .hero > .wrap {
        max-width: calc(100% - 32px); /* ⬅️ mezera od okrajů */
        margin: 0 auto;
    
        padding: 32px 20px;
        background: rgba(0,0,0,0.18);
        border-radius: 18px;
      }
      .hero h1 {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(28px, 8vw, 42px);
      }
      .hero p {
        margin-left: auto;
        margin-right: auto;
        font-size: 17px;
      }
  
    .hero-actions { flex-direction: column; justify-content: center;}
    .btn { width: 100%; text-align: center; }
  
    .badges { grid-template-columns: 1fr; }
  
    section { padding: var(--spacing-xl) 0; }
    .grid.cards { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: 1fr; }
    .icons { grid-template-columns: 1fr 1fr; }
    .footergrid { grid-template-columns: 1fr; gap: var(--spacing-lg); }
    .card img { height: 180px; }

    .gallery-slide {
        min-height: 360px;
      }

      .gallery-bleed {
        margin-bottom: 10px;
      }

      .reviews {
        padding: var(--spacing-xl) 0;
      }
    
      .reviews-grid {
        grid-template-columns: 1fr;
      }
    
      .reviews-actions {
        flex-direction: column;
      }
    
      .reviews-actions .btn {
        width: 100%;
        text-align: center;
      }

      /* celý footer */
  .site-footer {
    text-align: center;
  }

  /* grid → jeden sloupec */
  .footergrid-v2 {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* sloupce */
  .footer-col,
  .footer-brand {
    text-align: center;
    align-items: center;
  }

  /* nadpisy */
  .footer-title {
    text-align: center;
  }

  /* odkazy ve sloupcích */
  .footer-col a {
    text-align: center;
  }

  /* popis pod logem */
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  /* kontakt – ikona + text uprostřed */
  .footer-item {
    justify-content: center;
  }

  /* social ikony */
  .footer-social {
    justify-content: center;
  }

  /* spodní řádek */
  .footer-bottom {
    align-items: center;
    text-align: center;
  }
  /* ===== BOTTOM část (pronajímatel, copyright) ===== */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-bottom .fine {
    margin-top: 10px;
    text-align: center;
  }

  /* Nadpisy */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .h2,
  .footer-title,
  .reviews-title,
  .availability-title {
    text-align: center;
  }

  /* Běžné texty */
  p,
  .muted,
  .fine,
  .review-text,
  .reviews-subtitle,
  .availability-subtitle,
  .footer-desc {
    text-align: center;
  }

  /* Karty / boxy */
  .card,
  .feature,
  .kpi,
  .review-card {
    text-align: center;
  }
  
  }
  
  /* =========================
     Extra small
  ========================= */
  @media (max-width: 480px) {
    .icons { grid-template-columns: 1fr; }
    .hero h1 { font-size: 24px; }
    .h2 { font-size: 22px; }
  }
  




  /* =========================
   Footer social icons – FINAL FIX
   (override global footer a styles)
========================= */

.site-footer .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
  }
  
  /* Zruš globální footer a (block + margin-bottom) pro social linky */
  .site-footer .footer-social a.social-link {
    display: inline-flex !important;
    margin-bottom: 0 !important;   /* ⬅️ nejdůležitější */
    opacity: 1 !important;         /* ať ti to neskáče kvůli hover opacity */
  }
  
  /* Kruh */
  .site-footer .social-link {
    width: 44px;
    height: 44px;
    border-radius: 999px;
  
    align-items: center;
    justify-content: center;
  
    line-height: 0;                /* odstraní baseline */
    padding: 0;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.14);
  
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  }
  
  .site-footer .social-link:hover {
    background: rgba(255,255,255,0.20);
    transform: translateY(-1px);
  }
  
  /* Ikona – větší + přesně uprostřed */
  .site-footer .social-link svg {
    width: 22px;                   /* ⬅️ víc „vyplní“ kruh */
    height: 22px;
    display: block;
    fill: currentColor;
  }
  
  /* =========================
   TABLET OPTIMIZATION
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

    /* ---------- HEADER ---------- */
  
    .nav {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
      gap: 14px;
    }
  
    .logo {
      font-size: 18px;
      gap: 10px;
    }
  
    .logo img {
      height: 56px;
    }
  
    nav ul li a {
      padding: 8px 10px;
      font-size: 14px;
    }
  
    .cta {
      padding: 10px 22px;
      font-size: 14px;
    }
  
    /* ---------- HERO ---------- */
  
    .hero > .wrap {
      padding: 56px 40px;
      border-radius: 22px;
    }
  
    .hero h1 {
      font-size: clamp(34px, 4.8vw, 48px);
    }
  
    .hero p {
      font-size: 18px;
      max-width: 720px;
    }
  
    /* ---------- FEATURES / KPIs ---------- */
  
    .features {
      gap: 20px;
    }
  
    .feature {
      padding: 24px 18px;
    }
  
    /* ---------- GALLERY ---------- */
  
    .gallery-bleed {
      padding-left: 24px;
      padding-right: 24px;
    }
  
    .gallery-slide {
      min-height: 360px;
    }
  
    /* ---------- REVIEWS ---------- */
  
    .reviews {
      padding: var(--spacing-xl) 0;
    }
  
    .reviews-grid {
        grid-template-columns: 1fr;   /* místo 2+1 */
        margin-left: auto;
        margin-right: auto;
      }
  
      /* ---------- FOOTER ---------- */
  .footergrid-v2 {
    grid-template-columns: 1fr;   /* vše pod sebou */
    justify-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-col,
  .footer-brand {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-item {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-bottom .fine {
    margin-top: 10px;
    text-align: center;
  }

    .grid.cards { grid-template-columns: 1fr; }
  }

/* =========================
   Apartment page styles
========================= */
.apartment-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
  margin-top: var(--spacing-lg);
}

.apartment-text {
  flex: 0 0 70%;
}

.apartment-features {
  flex: 0 0 30%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.apartment-features .feature {
  text-align: center;
  padding: 24px 16px;
  border-radius: 18px;
  background: var(--surface-muted);
  border: 1px solid var(--color-border);
}

.apartment-features .feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.apartment-features .feature strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.apartment-features .feature p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Gallery section - full width with different background */
.gallery-section {
  padding: var(--spacing-xxl) 0;
  margin: 0;
}

.gallery-section .gallery-bleed {
  background: var(--surface-muted);
  padding: var(--spacing-xl) 0;
  margin: 0;
}

.gallery-section .gallery-bleed .wrap {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.gallery-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--surface);
  aspect-ratio: 16 / 10;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive - Apartment page */
@media (max-width: 1024px) {
  .apartment-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .apartment-text,
  .apartment-features {
    flex: 1 1 100%;
  }

  .apartment-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .apartment-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .apartment-features .feature {
    padding: 20px 12px;
  }

  .apartment-features .feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .apartment-features .feature strong {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .apartment-features .feature p {
    font-size: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .location-button-wrapper {
    text-align: center;
  }

  /* Vybavení apartmánu - mobilní úprava */
  .apartment-equipment {
    text-align: center;
  }

  .apartment-equipment ul {
    list-style: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
    text-align: center;
  }

  .apartment-equipment li {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto;
    display: block;
  }

  .apartment-equipment h4 {
    text-align: center;
  }
}

/* Images in text and location section */
.apartment-text-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: contain;
}

.location-image {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  max-height: 500px;
  object-fit: cover;
}

.location-button-wrapper {
  text-align: left;
}

.location-button-wrapper .btn {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid rgba(17,17,17,0.12);
}

.location-button-wrapper .btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.location-button-wrapper .btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.location-button-wrapper .btn.secondary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.trips-button-wrapper {
  text-align: left;
}

@media (max-width: 768px) {
  .apartment-text-image {
    height: auto;
  }

  .location-image {
    max-height: 350px;
  }

  .location-button-wrapper {
    text-align: center;
  }

  .trips-button-wrapper {
    text-align: center;
  }
}

/* =========================
   Location page styles
========================= */
.location-box {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
  margin: var(--spacing-xxl) 0;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
}

.location-box:first-child {
  margin-top: 0;
}

.location-box:last-child {
  margin-bottom: 0;
}

.location-box:nth-child(even) {
  background: var(--surface-muted);
}

.location-box-content {
  flex: 1.4;
  min-width: 0; /* Umožní textu se zmenšit, pokud je potřeba */
}

.location-box-image {
  flex: 1;
  min-width: 0;
}

.location-box-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  height: 450px;
  object-fit: cover;
  aspect-ratio: 3 / 4; /* Portrétní orientace - na výšku */
}

.location-box-left {
  flex-direction: row;
}

.location-box-right {
  flex-direction: row;
}

.location-map-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: contain;
}

/* Trips section (Location page) */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.trips-column {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.trips-column h3 {
  font-size: 20px;
  margin: 0 0 var(--spacing-md);
  font-weight: 700;
}

.trips-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.trips-table tr {
  border-bottom: 1px solid var(--color-border);
}

.trips-table td {
  padding: var(--spacing-sm) 0;
  font-size: 16px;
}

.trips-table td:first-child {
  text-align: left;
  width: 70%;
}

.trips-table td:last-child {
  text-align: right;
  color: var(--color-text-muted);
  font-weight: 600;
  width: 30%;
}

/* Responsive - Location page */
@media (max-width: 768px) {
  .location-box {
    flex-direction: column !important;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
  }

  .location-box-image {
    order: -1;
  }

  .location-box-right .location-box-image {
    order: -1;
  }

  .location-map-image {
    height: auto;
  }

  .location-box-img {
    height: 250px;
    aspect-ratio: 16 / 9; /* Na šířku pro mobilní verzi */
  }

  section[aria-label="Výlety"] .trips-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .trips-column {
    width: 100%;
  }

  .trips-table {
    width: 100%;
    min-width: 100%;
  }
}

/* =========================
   Pricing Section
========================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: var(--surface-muted);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--brand-contrast);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.pricing-header .h3 {
  margin-bottom: var(--spacing-md);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: var(--spacing-md);
}

.pricing-amount {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.pricing-period {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  padding-left: 24px;
  position: relative;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* =========================
   Reservation Section
========================= */
.reservation-section {
  padding: var(--spacing-xxl) 0;
  margin: 0;
}

.reservation-bleed {
  background: var(--surface-muted);
  padding: var(--spacing-xxl) 0;
  margin: 0;
}

.reservation-form {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.reservation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.reservation-form-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.reservation-btn {
  padding: 14px 32px;
  font-size: 16px;
  min-width: 200px;
  cursor: pointer !important;
}

.cta.reservation-btn {
  cursor: pointer !important;
}

.reservation-note {
  margin-top: var(--spacing-lg);
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}

.reservation-note span {
  font-weight: 700;
  color: var(--brand);
}

.reservation-message {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.reservation-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #4caf50;
}

.reservation-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
}

.field label .required {
  color: #d32f2f;
  margin-left: 2px;
}

.field-hint {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Styly pro všechny inputy v rezervačním formuláři - stejné jako date inputy */
.reservation-form .field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.16);
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  height: 44px;
  box-sizing: border-box;
}

.reservation-form .field input:focus-visible {
  outline: 3px solid rgba(17,17,17,0.18);
  outline-offset: 2px;
}

/* Checkbox field */
.field-checkbox {
  grid-column: 1 / -1; /* Roztáhnout přes oba sloupce */
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--brand);
  flex-shrink: 0;
  margin: 0;
}

.checkbox-label span {
  line-height: 1.2;
  display: inline-block;
  padding-left: 4px;
  margin-top: -4px;
  transform: translateY(-4px);
}

/* =========================
   Calendar Section
========================= */
.calendar-section {
  padding: var(--spacing-xxl) 0;
  scroll-margin-top: 100px;
}

#kalendar {
  scroll-margin-top: 100px;
}

.calendar-year {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.calendar-month {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.calendar-month-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--spacing-md) 0;
  text-align: center;
  color: var(--brand);
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.calendar-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 4px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: default;
  transition: background 0.2s, border-color 0.2s;
}

.calendar-day:hover {
  background: var(--surface-muted);
}

.calendar-day-empty {
  border: none;
  background: transparent;
  cursor: default;
}

.calendar-day-empty:hover {
  background: transparent;
}

.calendar-day-booked {
  background: #ffebee;
  border-color: #e57373;
  color: #c62828;
  font-weight: 600;
}

.calendar-day-booked:hover {
  background: #ffcdd2;
}

.calendar-day-number {
  font-size: 13px;
  line-height: 1;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.calendar-legend-color {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: inline-block;
}

.calendar-legend-available {
  background: var(--surface);
}

.calendar-legend-booked {
  background: #ffebee;
  border-color: #e57373;
}

/* Responsive - Pricing */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .reservation-form-grid {
    grid-template-columns: 1fr;
  }

  .calendar-year {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .calendar-year {
    grid-template-columns: 1fr;
  }

  .calendar-legend {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
  }
}

/* =========================
   Cookies Bar
========================= */
.cookies-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand);
  color: var(--brand-contrast);
  padding: var(--spacing-md) 0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  z-index: 1000;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookies-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.cookies-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}

.cookies-text a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

.cookies-text a:hover {
  color: rgba(255,255,255,1);
}

.cookies-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookies-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookies-btn {
  background: var(--brand-contrast);
  color: var(--brand);
  border: 1px solid var(--brand-contrast);
}

.cookies-btn:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-1px);
}

.cookies-btn-secondary {
  background: transparent;
  color: var(--brand-contrast);
  border: 1px solid rgba(255,255,255,0.5);
}

.cookies-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

/* Responsive - Cookies Bar */
@media (max-width: 768px) {
  .cookies-bar {
    padding: var(--spacing-sm) 0;
  }

  .cookies-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .cookies-text {
    font-size: 13px;
  }

  .cookies-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookies-btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Contact Page
========================= */
.contact-content {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-section {
  margin-bottom: var(--spacing-xl);
}

.contact-section .h3 {
  margin-bottom: var(--spacing-sm);
}

.contact-highlight {
  flex: 0 0 300px;
  background: var(--surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-highlight-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.contact-highlight-icon {
  font-size: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-highlight-content {
  flex: 1;
}

.contact-highlight-content strong {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-highlight-content a {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.contact-highlight-content a:hover {
  text-decoration: underline;
}

.contact-form-section {
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-xxl);
  border-top: 1px solid var(--color-border);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.field-full {
  grid-column: 1 / -1;
}

/* Styly pro všechny inputy v kontaktním formuláři - stejné jako v ceníku */
.contact-form .field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.16);
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  height: 44px;
  box-sizing: border-box;
}

.contact-form .field input:focus-visible {
  outline: 3px solid rgba(17,17,17,0.18);
  outline-offset: 2px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.16);
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  box-sizing: border-box;
}

.contact-form textarea:focus-visible {
  outline: 3px solid rgba(17,17,17,0.18);
  outline-offset: 2px;
}

.contact-form-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.contact-btn {
  cursor: pointer;
}

.contact-form-message {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.contact-form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #4caf50;
}

.contact-form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
}

/* Responsive - Contact */
@media (max-width: 1024px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-highlight {
    flex: 1;
    width: 100%;
    order: -1;
  }

  .contact-info {
    order: 1;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .muted {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-info {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-section {
    text-align: center !important;
  }

  .contact-section * {
    text-align: center !important;
  }

  .contact-section .h3 {
    text-align: center !important;
  }

  .contact-section p {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-section div {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-section strong {
    text-align: center !important;
  }

  .contact-section a {
    text-align: center !important;
  }

  .contact-highlight {
    text-align: center !important;
    align-items: center !important;
  }

  .contact-highlight-item {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .contact-highlight-icon {
    margin-bottom: 0 !important;
  }

  .contact-highlight-content {
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .contact-highlight-content strong {
    text-align: center !important;
  }

  .contact-highlight-content a {
    text-align: center !important;
  }

  .contact-form-section .h3 {
    text-align: center !important;
  }

  .contact-form-section p {
    text-align: center !important;
  }
}

/* =========================
   Trips Page
========================= */
.trips-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.trip-top-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trip-top-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.trip-top-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.trip-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.trip-top-card:hover .trip-top-image img {
  transform: scale(1.05);
}

.trip-top-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trip-top-content .h3 {
  margin-bottom: var(--spacing-sm);
}

.trip-top-content .muted {
  flex: 1;
  margin-bottom: var(--spacing-md);
}

.trip-meta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.trip-top-actions {
  margin-top: auto;
}

.trip-top-actions .btn {
  width: 100%;
  text-align: center;
}

/* =========================
   Trip Detail Page
========================= */
.trip-detail-header {
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trip-detail-meta {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--color-text-muted);
  margin-top: var(--spacing-md);
}

.trip-detail-content {
  display: grid;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.trip-detail-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.trip-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.trip-detail-text {
  max-width: 800px;
  margin: 0 auto;
}

.trip-detail-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: var(--spacing-xl) 0 var(--spacing-md) 0;
  font-weight: 700;
  line-height: 1.3;
}

.trip-detail-text h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
  font-weight: 700;
  line-height: 1.3;
}

.trip-detail-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  color: var(--color-text);
}

.trip-detail-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trip-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Trips grid for trips page (not location page) */
section[aria-label="Další výlety"] .trips-grid,
section[aria-label="Top 3 výlety"] ~ section .trips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.trip-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.trip-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.trip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.trip-card:hover .trip-card-image img {
  transform: scale(1.05);
}

.trip-card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trip-card-content .h3 {
  margin-bottom: var(--spacing-sm);
}

.trip-card-content .muted {
  margin: 0 0 var(--spacing-md) 0;
  flex: 1;
}

.trip-card-content .trip-meta {
  margin-bottom: var(--spacing-md);
}

.trip-card-actions {
  margin-top: auto;
}

.trip-card-actions .btn {
  width: 100%;
  text-align: center;
}

/* Responsive - Trips */
@media (max-width: 1024px) {
  .trips-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
  }

  section[aria-label="Další výlety"] .trips-grid,
  section[aria-label="Top 3 výlety"] ~ section .trips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .trips-top-grid {
    grid-template-columns: 1fr;
  }

  section[aria-label="Další výlety"] .trips-grid,
  section[aria-label="Top 3 výlety"] ~ section .trips-grid {
    grid-template-columns: 1fr;
  }
}
  