/* ============================================================
   RRK Reality – Hlavní stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Proměnné ─────────────────────────────────────────────── */
:root {
  /* Barvy */
  --green:        #2A4A35;
  --green-dark:   #1B3325;
  --green-mid:    #3D6B4F;
  --green-light:  #D0E5D3;
  --brown:        #7A5230;
  --gold:         #C4956A;
  --gold-light:   #DAB48E;
  --cream:        #F7F4EF;
  --cream-warm:   #FAF8F4;
  --cream-dark:   #EDE9E1;
  --text:         #282420;
  --text-mid:     #5A5550;
  --text-light:   #8E8A85;
  --border:       #DDD8CF;
  --white:        #FFFFFF;
  --overlay:      rgba(20, 35, 24, 0.72);

  /* Typografie */
  --font-h:  'Playfair Display', Georgia, serif;
  --font-b:  'Inter', system-ui, sans-serif;

  /* Rozložení */
  --nav-h:   76px;
  --max-w:   1240px;
  --pad:     clamp(1rem, 4vw, 2rem);

  /* Zaoblení */
  --r-xs:  3px;
  --r-sm:  6px;
  --r:     10px;
  --r-lg:  18px;
  --r-xl:  28px;

  /* Stíny */
  --sh-xs: 0 1px 4px rgba(0,0,0,0.07);
  --sh:    0 4px 24px rgba(0,0,0,0.09);
  --sh-lg: 0 12px 48px rgba(0,0,0,0.14);

  /* Přechody */
  --t: 0.28s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Typografie ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.22; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p { max-width: 68ch; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section--dark {
  background: var(--green-dark);
  color: var(--white);
}
.section--green {
  background: var(--green);
  color: var(--white);
}
.section--cream {
  background: var(--cream-dark);
}
.section--white {
  background: var(--white);
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }

/* ── Nadpisy sekcí ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.section-title {
  margin-bottom: 1.1rem;
}
.section-intro {
  color: var(--text-mid);
  font-size: 1.06rem;
  margin-bottom: 3rem;
  max-width: 58ch;
}
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center .section-intro { margin-inline: auto; }

/* ── Tlačítka ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.75rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--sh);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: #b08050;
  border-color: #b08050;
  transform: translateY(-1px);
  box-shadow: var(--sh);
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── Navigace ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
}
.nav.nav--transparent { background: transparent; }
.nav.nav--solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--sh-xs);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  transition: var(--t);
}
.nav--transparent .nav-logo { color: var(--white); }
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav--transparent .nav-logo-mark { background: rgba(255,255,255,0.2); }
.nav-logo-mark svg { fill: var(--white); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-xs);
  color: var(--text-mid);
  transition: var(--t);
  position: relative;
}
.nav--transparent .nav-links a { color: rgba(255,255,255,0.88); }
.nav-links a:hover {
  color: var(--green);
  background: var(--green-light);
}
.nav--transparent .nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav--transparent .nav-links a.active { color: var(--white); font-weight: 600; }
.nav-cta { flex-shrink: 0; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--r-sm);
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--t);
}
.nav--transparent .nav-burger span { background: var(--white); }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  bottom: 0;
  width: 300px;
  background: var(--white);
  z-index: 999;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right var(--t);
  box-shadow: var(--sh-lg);
}
.nav-drawer.is-open { right: 0; }
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-drawer-logo {
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--green);
  font-size: 1.15rem;
}
.nav-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-mid);
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.nav-drawer-links a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  transition: var(--t);
}
.nav-drawer-links a:hover {
  background: var(--cream-dark);
  color: var(--green);
}
.nav-drawer-links a.active { background: var(--green-light); color: var(--green); }
.nav-drawer-divider {
  height: 1px;
  background: var(--border);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1601084881623-cdf9a8ea68c6?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 32, 22, 0.78) 0%,
    rgba(28, 48, 35, 0.65) 50%,
    rgba(15, 25, 18, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) var(--pad) 5rem;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 149, 106, 0.25);
  border: 1px solid rgba(196, 149, 106, 0.5);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stat-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Scroll indikátor */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 1;
}
.hero-scroll svg { opacity: 0.6; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stránkový hero (podstránky) ────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) var(--pad) 4rem;
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero h1 { color: var(--white); max-width: 18ch; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 52ch; }

/* ── Breadcrumbs ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--t); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }

/* ── Karty nemovitostí ────────────────────────────────────── */
.property-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: var(--t);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.property-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .property-card-img img { transform: scale(1.05); }
.property-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--green);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.property-card-badge--gold { background: var(--gold); }
.property-card-badge--brown { background: var(--brown); }
.property-card-fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--t);
}
.property-card-fav:hover { background: var(--white); transform: scale(1.1); }
.property-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-card-location {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.property-card-title {
  font-family: var(--font-h);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.property-card-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  line-height: 1.6;
  flex: 1;
}
.property-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}
.property-feature {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}
.property-feature svg { opacity: 0.6; flex-shrink: 0; }
.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}
.property-price {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
}
.property-price small {
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  margin-top: -0.1rem;
}

/* ── Blog karty ───────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  border: 1px solid var(--border);
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.blog-card-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 0.87rem;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
}
.blog-card-meta-dot { width: 3px; height: 3px; background: var(--border); border-radius: 50%; }

/* ── Feature boxy (jak to funguje, výhody…) ──────────────── */
.feature-box {
  padding: 2rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: var(--t);
}
.feature-box:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
}
.feature-icon--gold { background: rgba(196, 149, 106, 0.2); }
.feature-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.feature-box p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Kroky (step timeline) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -2rem;
  width: 2px;
  background: var(--border);
}
.step + .step { margin-top: 2rem; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}
.step-content { padding-top: 0.85rem; }
.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Sekce "v číslech" ────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
  font-family: var(--font-h);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* ── Testimonial / citát ──────────────────────────────────── */
.testimonial {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-h);
  font-size: 5rem;
  color: var(--green-light);
  line-height: 1;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--green);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Galerie ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.gallery-grid--masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}
.gallery-item {
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,0.3); opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: var(--t);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }

/* ── Booking form ─────────────────────────────────────────── */
.booking-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.booking-card-price {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.booking-card-price small {
  font-family: var(--font-b);
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream-warm);
  transition: var(--t);
  appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42, 74, 53, 0.1);
}
.form-input::placeholder { color: var(--text-light); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238E8A85' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.guests-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream-warm);
}
.guests-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-mid);
  transition: var(--t);
  flex-shrink: 0;
}
.guests-btn:hover { background: var(--cream-dark); color: var(--green); }
.guests-val {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: none;
  border: none;
  padding: 0;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--t);
  background: var(--cream-warm);
}
.service-item:hover { border-color: var(--green-mid); background: var(--white); }
.service-item.is-selected {
  border-color: var(--green);
  background: var(--green-light);
}
.service-item-info { display: flex; align-items: center; gap: 0.6rem; }
.service-icon { font-size: 1.1rem; }
.service-name { font-size: 0.88rem; font-weight: 500; }
.service-price { font-size: 0.8rem; color: var(--text-light); }
.service-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  flex-shrink: 0;
  font-size: 0.75rem;
}
.service-item.is-selected .service-check {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.booking-summary {
  background: var(--cream);
  border-radius: var(--r);
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}
.booking-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.booking-summary-row:last-child {
  margin-bottom: 0;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

/* ── Formulář kontakt ─────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form-checkbox input { margin-top: 0.2rem; accent-color: var(--green); }
.form-checkbox-label { font-size: 0.88rem; color: var(--text-mid); }

/* ── Filtry ───────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  background: var(--white);
  transition: var(--t);
}
.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ── Akkordeon / FAQ ──────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--t);
}
.faq-question:hover { color: var(--green); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--t);
  color: var(--text-mid);
}
.faq-item.is-open .faq-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Tag / Chip ───────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tag-green { background: var(--green-light); color: var(--green); }
.tag-gold  { background: rgba(196,149,106,0.15); color: var(--brown); }

/* ── Amenities (vybavení) ─────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.6rem 0.85rem;
  background: var(--cream-warm);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.amenity-item span:first-child { font-size: 1.1rem; }

/* ── Lokality / pohraničí sekce ─────────────────────────────── */
.region-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.region-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.region-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.region-feature h4 { color: var(--white); font-size: 1rem; font-weight: 600; }
.region-feature p { color: rgba(255,255,255,0.68); font-size: 0.88rem; line-height: 1.6; }

/* ── Správa - checklist ───────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
}
.check-item-text strong { color: var(--text); }

/* ── Image + text split ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reverse .split-img { order: 2; }
.split--reverse .split-content { order: 1; }
.split-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-lg);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Blog stránka ─────────────────────────────────────────── */
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.blog-featured-main .blog-card-img { aspect-ratio: 16/9; }
.blog-featured-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-mini-card {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 0.85rem;
  transition: var(--t);
}
.blog-mini-card:hover { box-shadow: var(--sh-xs); transform: translateX(3px); }
.blog-mini-img {
  width: 80px;
  height: 70px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.blog-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-mini-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.blog-mini-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ── Kontakt ──────────────────────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-info-box {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}
.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
}
.contact-info-box h4 { font-size: 0.85rem; color: var(--text-light); font-weight: 500; margin-bottom: 0.3rem; }
.contact-info-box a, .contact-info-box p {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.contact-info-box a:hover { color: var(--green); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 0;
}
.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.footer-logo-text {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 30ch;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--t);
  color: rgba(255,255,255,0.75);
}
.footer-social a:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ── Logo obrázek ─────────────────────────────────────────── */
.nav-logo { gap: 0; }
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-wrapper {
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
}
.footer-logo-wrapper .nav-logo-img { height: 40px; }

/* ── Jazykový přepínač ────────────────────────────────────── */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.lang-btn {
  padding: 0.22rem 0.5rem;
  border-radius: var(--r-xs);
  color: var(--text-mid);
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.lang-btn:hover { color: var(--green); background: var(--green-light); }
.lang-btn--active { color: var(--green); background: var(--green-light); }
.nav--transparent .lang-btn { color: rgba(255,255,255,0.75); }
.nav--transparent .lang-btn:hover { color: white; background: rgba(255,255,255,0.15); }
.nav--transparent .lang-btn--active { color: white; background: rgba(255,255,255,0.18); }
.lang-sep { color: var(--border); opacity: 0.6; }
.nav-drawer-lang {
  display: flex;
  gap: 0.5rem;
}
.nav-drawer-lang .lang-btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem;
  background: var(--cream-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--text-mid);
}
.nav-drawer-lang .lang-btn--active {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
}

/* ── Animace vstupu ───────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: none;
}
.animate-in.delay-1 { transition-delay: 0.1s; }
.animate-in.delay-2 { transition-delay: 0.2s; }
.animate-in.delay-3 { transition-delay: 0.3s; }
.animate-in.delay-4 { transition-delay: 0.4s; }

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-light); font-size: 0.9rem; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.divider {
  height: 1px;
  background: var(--border);
  margin-block: 2rem;
}
.badge {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gold { background: rgba(196,149,106,0.18); color: #8B5E3C; }

/* ── Spinner / loader ─────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  font-size: 0.92rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.toast.is-visible { transform: none; opacity: 1; }
.toast-icon { font-size: 1.1rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 2.5rem; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-side { flex-direction: row; flex-wrap: wrap; }
  .blog-mini-card { flex: 1 1 300px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split-img, .split--reverse .split-content { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid--masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item:first-child { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid--masonry { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery-item:first-child { grid-column: span 1; }
  .booking-card { border-radius: var(--r-lg); }
  .toast { right: 1rem; left: 1rem; bottom: 1rem; }
}
