@charset "UTF-8";
/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors — mechově zelená paleta */
  --moss-900: #1a3527;
  --moss-800: #234534;
  --moss-700: #2d5a3d; /* primární mechová */
  --moss-600: #3a6f4d;
  --moss-500: #528764;
  --moss-400: #7ba589;
  --moss-300: #a8c4b3;
  --moss-200: #c8c19f;
  --moss-100: #f3eedd;
  --moss-50: #f3eedd;
  /* Teplá zem (akcenty, papír) */
  --earth-900: #3a2e1f;
  --earth-700: #6b5538;
  --earth-500: #a08660;
  --earth-300: #d4c3a0;
  --earth-100: #f1e9d6;
  --earth-50: #faf6ec;
  /* Akcent — mlýnská cihlově rezavá (z původního loga) */
  --rust-700: #8a3a1f;
  --rust-500: #b85a36;
  --rust-300: #e0a282;
  --ink: #1a1d1a;
  --paper: #faf6ec;
  --border: #dfd5b3; /* unified subtle border */
  --white: #ffffff;
  /* Typography */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  /* Spacing — modular scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(26, 53, 39, 0.06), 0 2px 6px rgba(26, 53, 39, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 53, 39, 0.08), 0 12px 24px rgba(26, 53, 39, 0.06);
  --shadow-lg: 0 12px 32px rgba(26, 53, 39, 0.12), 0 24px 64px rgba(26, 53, 39, 0.08);
  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Subtle paper texture overlay on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: radial-gradient(circle at 25% 30%, rgba(160, 134, 96, 0.04) 1px, transparent 1px), radial-gradient(circle at 75% 70%, rgba(45, 90, 61, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 36px 36px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--moss-900);
  font-variation-settings: "opsz" 144;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  letter-spacing: -0.01em;
}

/* The Protopio web widget ships unscoped heading utility rules. */
body h1, body h2, body h3, body h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--moss-900);
  margin: 0;
}

body h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

body h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

body h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  letter-spacing: -0.01em;
}

.display-italic {
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-600);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

p {
  color: var(--moss-900);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--moss-800);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
  position: relative;
  z-index: 2;
}

section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--moss-700);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(45, 90, 61, 0.25);
}

.btn-primary:hover {
  background: var(--moss-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--moss-800);
  border: 1.5px solid var(--moss-700);
}

.btn-secondary:hover {
  background: var(--moss-700);
  color: var(--paper);
}

.btn-ghost {
  color: var(--moss-800);
  padding-inline: var(--space-3);
}

.btn-ghost:hover {
  color: var(--moss-600);
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   HEADER
   ============================================ */
.nav-and-language {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
  transition: padding 0.3s var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--moss-900);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--moss-700);
  display: grid;
  place-items: center;
  color: var(--paper);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--moss-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-2);
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
}
.nav-desktop a {
  padding: 0.5rem 0.9rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--moss-800);
  border-radius: 999px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-desktop a:hover {
  background: #ece4c5;
  color: var(--moss-900);
}

.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.has-dropdown > a::after {
  content: "";
  width: 0.7em;
  height: 0.7em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5a3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.25s var(--ease-out);
  opacity: 0.75;
}

.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease-out);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .header-cta {
    display: inline-flex;
  }
}
/* Mobile menu */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--moss-100);
  color: var(--moss-800);
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--moss-900);
  border-bottom: 1px solid var(--border);
}

/* Logo v mobilním menu — stejná podoba jako na desktopu, bez linky */
.mobile-nav .brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  font-size: 1.15rem;
  border-bottom: none;
}

.mobile-nav .submenu a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding-left: var(--space-8);
  color: var(--moss-700);
  border-bottom: none;
}

.mobile-nav a.mobile-nav-cta,
.mobile-nav-cta {
  margin-top: var(--space-8);
  display: flex;
  justify-content: center;
  text-align: center;
  color: var(--paper);
  border-bottom: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-block: var(--space-12) var(--space-24);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(82, 135, 100, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Akvarelový motiv lesa na pozadí hero sekce (finální podklad od klienta,
   dole přechází gradientem do barvy následující sekce --moss-50) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/hero_forest_final.e3ad1892c2b5.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Na mobilu hustší ořez motivu — širokoúhlá grafika by se jen ořezala na výsek */
@media (max-width: 880px) {
  .hero::after {
    background-image: url("/static/images/hero_forest_final_mobile.4ed969c8dab2.jpg");
  }
}
.hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-20);
  }
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: 0.85rem;
  color: var(--moss-600);
}

.hero-meta-divider {
  width: 1px;
  height: 14px;
  background: var(--moss-300);
}

.hero-title {
  margin-bottom: var(--space-6);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--moss-800);
  margin-bottom: var(--space-8);
  max-width: 520px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-trust-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--moss-700);
  line-height: 1;
}

.hero-trust-stat > span {
  font-size: 0.8rem;
  color: var(--moss-600);
  margin-top: 4px;
  display: block;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 4/5;
  min-height: 420px; /* fallback když aspect-ratio selže */
}

.hero-image-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--moss-200);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 45%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}

.hero-image-accent img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--paper);
  border-radius: 999px;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--moss-800);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--moss-900);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--rust-500);
  border-radius: 50%;
}

/* ============================================
   STORY (intro)
   ============================================ */
.story {
  background: var(--moss-50);
  border-bottom: 1px solid var(--border);
}

.story-grid {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 760px) {
  .story-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-16);
  }
}
.story-aside {
  position: static;
}

@media (min-width: 760px) {
  .story-aside {
    position: sticky;
    top: 100px;
  }
}
.story-aside-stat {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--moss-700);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.story-aside-stat-label {
  font-size: 0.85rem;
  color: var(--moss-600);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}

.story-content h2 {
  margin-block: var(--space-4) var(--space-6);
}

.story-content p + p {
  margin-top: var(--space-4);
}

.story-content em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--moss-700);
}

/* ============================================
   AUDIENCES (Pro koho jsme)
   ============================================ */
.audiences-head {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (min-width: 760px) {
  .audiences-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-12);
  }
}
.audiences-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .audiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .audiences-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.audience-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  min-height: 280px;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--moss-300);
}

.audience-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--moss-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.audience-card:hover::after {
  transform: scaleX(1);
}

.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--moss-100);
  color: var(--moss-700);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease-out);
}

.audience-card:hover .audience-icon {
  background: var(--moss-700);
  color: var(--paper);
}

.audience-icon svg {
  width: 26px;
  height: 26px;
}

.audience-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.audience-card p {
  font-size: 0.93rem;
  color: var(--moss-700);
  line-height: 1.55;
  flex-grow: 1;
}

.audience-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--moss-700);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.audience-link::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}

.audience-card:hover .audience-link::after {
  transform: translateX(4px);
}

/* ============================================
   BENEFITS (Proč Vojtův mlýn)
   ============================================ */
.benefits {
  background: var(--moss-800);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(82, 135, 100, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(184, 90, 54, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.benefits h2 {
  color: var(--paper);
}

.benefits .eyebrow {
  color: var(--moss-300);
}

.benefits-head {
  text-align: center;
  margin-bottom: var(--space-16);
}

.benefits-head p {
  color: var(--moss-200);
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-4);
}

.benefits-grid {
  display: grid;
  gap: var(--space-1);
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .benefit:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
}
.benefit {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.benefit-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--moss-400);
  letter-spacing: 0.1em;
}

.benefit-icon {
  color: var(--moss-300);
}

.benefit-icon svg {
  width: 36px;
  height: 36px;
}

.benefit h3 {
  color: var(--paper);
  font-size: 1.35rem;
  margin-block: var(--space-2);
  text-align: left;
}

.benefit p {
  color: var(--moss-200);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  background: var(--earth-50);
  border-block: 1px solid var(--earth-100);
}

.gallery-head {
  text-align: center;
  margin-bottom: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.gallery-head p {
  max-width: 560px;
  color: var(--moss-700);
}

.gallery-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-4);
  }
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--moss-200);
  position: relative;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover {
  transform: scale(0.98);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Mozaika — větší tiles */
@media (min-width: 640px) {
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item:nth-child(6) {
    grid-column: span 2;
  }
}
.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-12);
}

/* ============================================
   EXPERIENCES (Co u nás zažijete)
   ============================================ */
.experiences-head {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (min-width: 760px) {
  .experiences-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-16);
  }
}
.experiences-list {
  display: grid;
  gap: var(--space-8);
}

.experience {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding-block: var(--space-8);
  border-top: 1px solid var(--border);
}

.experience:last-child {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
  .experience {
    grid-template-columns: 80px 1fr 1.4fr;
    gap: var(--space-12);
  }
}
.experience-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--moss-400);
  line-height: 1;
}

.experience-content h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-3);
}

.experience-content p {
  color: var(--moss-700);
  font-size: 0.96rem;
  line-height: 1.65;
}

.experience-image {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--moss-200);
}

.experience-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.experience:hover .experience-image img {
  transform: scale(1.04);
}

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block {
  position: relative;
  overflow: hidden;
  background: var(--moss-900);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-12), 8vw, var(--space-24));
  text-align: center;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(82, 135, 100, 0.25) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(184, 90, 54, 0.15) 0%, transparent 50%);
}

.cta-block > * {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  color: var(--paper);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.cta-block h2 em {
  font-style: italic;
  color: var(--moss-300);
  font-weight: 400;
}

.cta-block p {
  color: var(--moss-200);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-block-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-block .btn-primary {
  background: var(--paper);
  color: var(--moss-900);
}

.cta-block .btn-primary:hover {
  background: var(--earth-100);
}

.cta-block .btn-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-block .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  border-color: var(--paper);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--moss-900);
  color: var(--moss-200);
  padding-block: var(--space-20) var(--space-8);
  position: relative;
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-16);
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-brand .brand-text small {
  color: var(--moss-300);
}

.footer-brand p {
  color: var(--moss-300);
  font-size: 0.93rem;
  max-width: 360px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: var(--space-4);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-list a {
  color: var(--moss-200);
  font-size: 0.93rem;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--paper);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--moss-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item div {
  font-size: 0.93rem;
  color: var(--moss-200);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.85rem;
  color: var(--moss-400);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.fade-in-stagger > * {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.fade-in-stagger > *:nth-child(1) {
  animation-delay: 0.05s;
}

.fade-in-stagger > *:nth-child(2) {
  animation-delay: 0.15s;
}

.fade-in-stagger > *:nth-child(3) {
  animation-delay: 0.25s;
}

.fade-in-stagger > *:nth-child(4) {
  animation-delay: 0.35s;
}

/* Scroll-revealed elements */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: pokud JS neběží nebo selže, obsah zůstane viditelný */
.no-js .reveal,
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--moss-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   PAGE HERO (podstránky)
   ============================================ */
.page-hero {
  padding-block: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(82, 135, 100, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  margin-block: var(--space-4) var(--space-6);
  max-width: 900px;
  margin-inline: auto;
}

.page-hero-lead {
  font-size: 1.15rem;
  color: var(--moss-800);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.65;
}

.page-hero-breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--moss-600);
  margin-bottom: var(--space-6);
}

.page-hero-breadcrumb a:hover {
  color: var(--moss-800);
}

.page-hero-breadcrumb span {
  opacity: 0.5;
}

/* Trojice fotek pod page hero */
.hero-photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-12);
}

@media (min-width: 720px) {
  .hero-photo-strip {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: var(--space-4);
  }
  .hero-photo-strip > *:nth-child(1) {
    margin-top: var(--space-8);
  }
  .hero-photo-strip > *:nth-child(3) {
    margin-top: var(--space-8);
  }
}
.hero-photo-strip img {
  width: 100%;
  aspect-ratio: 3/4;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 720px) {
  .hero-photo-strip > *:nth-child(2) img {
    aspect-ratio: 4/5;
  }
}
/* ============================================
   PROSE (textové bloky na podstránkách)
   ============================================ */
.prose-grid {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 860px) {
  .prose-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
  }
}
.prose-grid.reverse > .prose-text {
  order: 2;
}

@media (max-width: 859px) {
  .prose-grid.reverse > .prose-text {
    order: 0;
  }
}
.prose-text h2 {
  margin-bottom: var(--space-6);
}

.prose-text p {
  color: var(--moss-700);
  line-height: 1.7;
}

.prose-text p + p {
  margin-top: var(--space-4);
}

.prose-text .eyebrow {
  margin-bottom: var(--space-4);
}

.prose-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.prose-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Seznam s odrážkami (checkmark) */
.feature-list,
.prose-text ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.feature-list li,
.prose-text ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--moss-800);
  font-size: 0.96rem;
  line-height: 1.5;
}

.feature-list li::before,
.prose-text ul li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--moss-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d5a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================
   ROOM / ACCOMMODATION CARDS
   ============================================ */
.rooms-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.room-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--moss-300);
}

.room-card-image {
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--moss-200);
  position: relative;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.room-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250, 246, 236, 0.95);
  color: var(--moss-800);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.room-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.room-card-body h3 {
  font-size: 1.4rem;
}

.room-card-body p {
  font-size: 0.92rem;
  color: var(--moss-700);
  line-height: 1.55;
  flex-grow: 1;
}

.room-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.room-spec {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--moss-700);
}

.room-spec svg {
  width: 17px;
  height: 17px;
  color: var(--moss-500);
  flex-shrink: 0;
}

.room-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: var(--space-4);
  margin-top: auto;
}

.room-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--moss-800);
}

.room-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--moss-600);
}

/* ============================================
   SPECS / AMENITIES ICON GRID
   ============================================ */
.amenities {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) {
  .amenities {
    grid-template-columns: repeat(4, 1fr);
  }
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-3);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.amenity-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--moss-100);
  color: var(--moss-700);
  display: grid;
  place-items: center;
}

.amenity-icon svg {
  width: 24px;
  height: 24px;
}

.amenity strong {
  font-size: 0.92rem;
  color: var(--moss-900);
  font-weight: 600;
}

.amenity span {
  font-size: 0.82rem;
  color: var(--moss-600);
}

/* ============================================
   STEPS (jak to funguje / program)
   ============================================ */
.steps {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--moss-700);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.step h3 {
  font-size: 1.25rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--moss-700);
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
  border-color: var(--moss-300);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--moss-100);
  color: var(--moss-700);
  display: grid;
  place-items: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--moss-600);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-card p, .contact-card a {
  font-size: 1.05rem;
  color: var(--moss-900);
}

.contact-card a:hover {
  color: var(--moss-600);
}

/* FORM */
.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-4);
}

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field > [data-iommi-type=Field] {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--moss-800);
}

.form-field label:has(+ input[required])::after {
  content: " *";
}

.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--moss-500);
  box-shadow: 0 0 0 3px rgba(82, 135, 100, 0.12);
}

.form-card [data-iommi-type=Errors] {
  margin: 0;
  color: var(--rust-700);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-field [data-iommi-type=Field]:has([data-iommi-type=Errors]) input,
.form-field [data-iommi-type=Field]:has([data-iommi-type=Errors]) select,
.form-field [data-iommi-type=Field]:has([data-iommi-type=Errors]) textarea {
  border-color: var(--rust-500);
  box-shadow: 0 0 0 3px rgba(184, 90, 54, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--moss-600);
  margin-top: var(--space-3);
}

.form-card .btn {
  width: 100%;
  margin-top: var(--space-2);
}

.webform-success-message,
.webform-client-errors {
  position: fixed;
  z-index: 250;
  top: var(--space-6);
  left: 50%;
  width: calc(100% - var(--space-8));
  max-width: 640px;
  transform: translateX(-50%);
  padding: var(--space-4) 3.5rem var(--space-4) var(--space-6);
  border: 1px solid;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.webform-success-message {
  border-color: var(--moss-300);
  background: #f5faf6;
  color: var(--moss-800);
}

.webform-client-errors {
  padding-right: var(--space-6);
  border-color: var(--rust-300);
  background: #fff8f5;
  color: var(--rust-700);
}

.webform-success-message-dismiss {
  position: absolute;
  top: 50%;
  right: var(--space-3);
  display: grid;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 0;
}

.webform-success-message-dismiss::after {
  content: "×";
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.webform-success-message-dismiss:hover,
.webform-success-message-dismiss:focus-visible {
  background: var(--moss-100);
}

.webform-success-message-dismiss:focus-visible {
  outline: 2px solid var(--moss-600);
  outline-offset: 2px;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-block {
  margin-bottom: var(--space-12);
}

.pricing-block > h3 {
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.pricing-block > h3 .pricing-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--moss-100);
  color: var(--moss-700);
  display: grid;
  place-items: center;
}

.pricing-block > h3 .pricing-icon svg {
  width: 22px;
  height: 22px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.price-table th, .price-table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-size: 0.95rem;
}

.price-table thead th {
  background: var(--moss-50);
  color: var(--moss-700);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.price-table tbody tr {
  border-top: 1px solid var(--border);
}

.price-table tbody tr:hover {
  background: var(--moss-50);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--moss-800);
  white-space: nowrap;
}

.price-table .price-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.pricing-note {
  background: var(--earth-50);
  border: 1px solid var(--earth-100);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  font-size: 0.9rem;
  color: var(--moss-700);
  line-height: 1.6;
}

.pricing-note strong {
  color: var(--moss-900);
}

/* ============================================
   GALLERY PAGE (filtr + masonry)
   ============================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-12);
}

.gallery-filter {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--moss-700);
  border: 1.5px solid var(--border);
  background: transparent;
  transition: all 0.2s;
}

.gallery-filter:hover {
  border-color: var(--moss-400);
}

.gallery-filter.active {
  background: var(--moss-700);
  color: var(--paper);
  border-color: var(--moss-700);
}

.masonry {
  -moz-columns: 2;
       columns: 2;
  -moz-column-gap: var(--space-4);
       column-gap: var(--space-4);
}

@media (min-width: 720px) {
  .masonry {
    -moz-columns: 3;
         columns: 3;
  }
}
@media (min-width: 1080px) {
  .masonry {
    -moz-columns: 4;
         columns: 4;
  }
}
.masonry-item {
  display: block;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--moss-200);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.masonry-item:hover img {
  transform: scale(1.05);
}

/* Video dlaždice v galerii */
.masonry-video {
  position: relative;
}

.masonry-video .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(45, 90, 61, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.masonry-video .video-play svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}

.masonry-video:hover .video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--moss-700);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26, 53, 39, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-prev {
  left: var(--space-6);
}

.lightbox-next {
  right: var(--space-6);
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(3px);
}

.lightbox-nav svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev {
    left: var(--space-3);
  }
  .lightbox-next {
    right: var(--space-3);
  }
  .lightbox-nav svg {
    width: 22px;
    height: 22px;
  }
}
/* ============================================
   SECTION HELPERS
   ============================================ */
.section-head-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-head-center p {
  color: var(--moss-700);
}

.bg-moss-50 {
  background: var(--moss-50);
  border-block: 1px solid var(--border);
}

.bg-earth-50 {
  background: var(--earth-50);
  border-block: 1px solid var(--earth-100);
}

/* ============================================
   MAPA AREÁLU — modal
   ============================================ */
#amapModal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px;
}

#amapModal.open {
  display: flex;
}

#amapModal .amap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 53, 39, 0.55);
  backdrop-filter: blur(3px);
}

#amapModal .amap-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-8) var(--space-6) var(--space-6);
  box-shadow: 0 24px 80px rgba(26, 53, 39, 0.35);
}

#amapModal .amap-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--moss-900);
  cursor: pointer;
  transition: all 0.15s ease;
}

#amapModal .amap-close:hover {
  background: var(--moss-700);
  color: var(--paper);
  border-color: var(--moss-700);
}

#amapModal .amap-head {
  text-align: center;
  margin-bottom: var(--space-5);
}

#amapModal .amap-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--moss-900);
  margin-top: var(--space-2);
}

#amapModal .amap-head p {
  margin-top: 6px;
  color: #4a544c;
  font-size: 0.9rem;
}

#amapModal .amap-frame {
  position: relative;
  background: #e6ead2;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

#amapModal .amap-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

#amapModal .area {
  cursor: pointer;
  transition: filter 0.18s ease;
}

#amapModal .area:hover, #amapModal .area.active {
  filter: brightness(1.07) saturate(1.12);
}

#amapModal .area .hit {
  fill: transparent;
  stroke: transparent;
}

#amapModal .area .outline {
  fill: none;
  stroke: var(--moss-900);
  stroke-width: 2.5;
  stroke-dasharray: 5 5;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

#amapModal .area:hover .outline, #amapModal .area.active .outline {
  opacity: 0.85;
}

#amapModal .amap-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  max-width: 250px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(26, 53, 39, 0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#amapModal .amap-tip.show {
  opacity: 1;
  transform: translateY(0);
}

#amapModal .amap-tip h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--moss-900);
  margin-bottom: 4px;
}

#amapModal .amap-tip p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #4a544c;
}

#amapModal .amap-legend {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

#amapModal .amap-legend button {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--moss-800);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#amapModal .amap-legend button:hover, #amapModal .amap-legend button.active {
  background: var(--moss-700);
  color: var(--paper);
  border-color: var(--moss-700);
}

#amapModal .amap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-cta-row {
  margin-top: var(--space-6);
}

@media (max-width: 640px) {
  #amapModal {
    padding: 2vh 8px;
  }
  #amapModal .amap-dialog {
    border-radius: 14px;
    padding: var(--space-6) var(--space-4) var(--space-4);
  }
}