/* =====================================================================
   Roman Bár – fotoexpedice · styly webu
   ---------------------------------------------------------------------
   NASTAVENÍ: barvy, písma a velikosti. Tady stačí přepsat číslo
   nebo barvu a změna se projeví na celém webu.
   ===================================================================== */
:root {
  /* --- Barvy --- */
  --bg: #1A1A1A;           /* pozadí webu */
  --surface: #242424;      /* karty, pruhy */
  --surface-2: #2E2E2E;    /* jemnější odlišení */
  --line: #383838;         /* tenké čáry a rámečky */
  --text: #F1EFEA;         /* hlavní text */
  --muted: #BEBCB6;        /* doplňkový šedý text */
  --accent: #E3B058;       /* šafránová – tlačítka, termíny, zvýraznění */
  --on-accent: #1A1A1A;    /* text na šafránovém tlačítku */
  --paper: #F1EFEA;        /* světlý pás (fotoobrazy, výzvy) */
  --paper-text: #1A1A1A;
  --paper-muted: #55595A;

  /* --- Písma --- */
  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;   /* nadpisy, menu */
  --f-body: "Open Sans", "Segoe UI", system-ui, sans-serif;     /* text */

  /* --- Velikosti písma (min, podle šířky okna, max) --- */
  --fs-body: 17px;                              /* běžný text */
  --fs-lead: clamp(17px, 1.3vw, 19px);          /* úvodní odstavec */
  --fs-h1: clamp(28px, 3.2vw, 42px);              /* hlavní nadpis stránky */
  --fs-h2: clamp(22px, 2.2vw, 30px);            /* nadpis sekce */
  --fs-h3: 22px;                                /* menší nadpis */
  --fs-nav: 14px;                               /* položky menu */
  --fs-label: 12px;                             /* malé popisky velkými písmeny */
  --fw-heading: 700;                            /* tučnost nadpisů (500–800) */

  /* --- Rozměry --- */
  --header-h: 84px;        /* výška záhlaví */
  --hero-h: clamp(560px, 64vw, 900px);   /* výška úvodní fotky */
  --page-max: 1320px;      /* maximální šířka obsahu */
  --section-gap: clamp(72px, 9vw, 128px); /* mezera mezi sekcemi */
  --radius: 4px;           /* zaoblení rohů (0 = ostré) */

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

/* ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--fw-heading); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap--narrow { max-width: 900px; }
.section { padding-block: var(--section-gap); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--f-display); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.section-head > div { max-width: 700px; display: flex; flex-direction: column; gap: 14px; }
.link-more { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--accent); }
.link-more::after { content: " →"; }
.link-more:hover { color: var(--text); }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent);
  font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #F0C477; border-color: #F0C477; color: var(--on-accent); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--paper-text); border-color: var(--paper-text); color: var(--paper); }
.btn--dark:hover { background: #000; border-color: #000; color: var(--paper); }
.btn--dark-ghost { background: transparent; border-color: var(--paper-text); color: var(--paper-text); }
.btn--dark-ghost:hover { background: var(--paper-text); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Záhlaví – zůstává nahoře při posouvání */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; color: #fff; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-solid { background: rgba(0,0,0,.7); border-bottom-color: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header[data-overlay] { background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header[data-overlay].is-solid { background: rgba(0,0,0,.7); border-bottom-color: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: var(--header-h); max-width: none; padding-left: max(16px, env(safe-area-inset-left, 0px), 3vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 3vw); }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.logo strong { font-family: var(--f-display); font-weight: 700; font-size: 23px; letter-spacing: 0.01em; }
.logo small { font-family: var(--f-display); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.logo:hover { color: inherit; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 30px; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-nav); letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { text-decoration: none; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav .nav__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; margin-left: 6px; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); }
.nav .nav__cta:hover { background: var(--accent); color: var(--on-accent); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* Mobil a tablet: menu vlevo, jméno uprostřed, panel zleva přes půl šířky */
@media (max-width: 1100px) {
  .site-header, .site-header.is-solid, .site-header[data-overlay].is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-solid, .site-header[data-overlay].is-solid { background: rgba(0,0,0,.7); }
  .site-header:has(.nav.is-open) { background: var(--bg); }
  .site-header[data-overlay]:not(.is-solid) { background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,0)); }
  .site-header .wrap { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
  .nav-toggle { display: inline-flex; grid-column: 1; grid-row: 1; margin-left: -8px; }
  .logo { grid-column: 2; grid-row: 1; align-items: center; text-align: center; }
  .nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; bottom: 0;
    width: max(50vw, 240px); max-width: 100vw; overflow-y: auto;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    background: var(--bg); border-right: 1px solid var(--line);
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    font-size: 15px; color: var(--text);
    transform: translateX(-102%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding-block: 15px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .nav__cta { margin: 20px 0 0; justify-content: center; min-height: 52px; text-align: center; }
  .site-header[data-overlay]:has(.nav.is-open) { background: var(--bg); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); }
  body.nav-open { overflow: hidden; }
}
body:not(.has-hero) main { padding-top: var(--header-h); }

/* Úvodní slideshow */
.hero { position: relative; min-height: var(--hero-h); color: #fff; background: #111; overflow: hidden; display: flex; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.05) 30%, rgba(10,10,10,.2) 55%, rgba(10,10,10,.72) 100%); }
.hero__inner { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(32px, 5vw, 72px); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__text { max-width: 880px; display: flex; flex-direction: column; gap: 20px; }
.hero__text .eyebrow { color: #fff; }
.hero__text p.lead { max-width: 600px; }
.hero__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hero__caption { font-size: 14px; opacity: .9; min-height: 1.6em; }
.hero__dots { display: flex; align-items: center; }
.hero__btn, .hero__dot { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.hero__dot { width: 30px; }
.hero__dot span { display: block; width: 10px; height: 4px; border-radius: 2px; background: #fff; opacity: .55; transition: width .3s, opacity .3s; }
.hero__dot[aria-current="true"] span { width: 24px; opacity: 1; background: var(--accent); }

/* Detail expedice – fotka v hlavičce */
.page-hero { position: relative; min-height: clamp(520px, 56vw, 820px); color: #fff; display: flex; overflow: hidden; background: #111; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero__inner { gap: 12px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; }
.page-hero .eyebrow { color: var(--accent); }

/* Hlavička podstránky bez fotky */
.page-title { padding-block: clamp(28px, 3.5vw, 48px) clamp(24px, 2.5vw, 36px); border-bottom: 1px solid var(--line); }
.page-title .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-title p { max-width: 660px; }

/* Pruh s nejbližší expedicí */
.strip { display: block; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.strip:hover { color: var(--on-accent); background: #F0C477; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 22px; min-height: 58px; padding-block: 12px; font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.strip .eyebrow { color: var(--on-accent); }

/* ---- Expedice: velké fotodlaždice ---- */
.tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.tour { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 42vw, 600px); overflow: hidden; color: #fff; text-decoration: none; border-radius: var(--radius); background: #111; isolation: isolate; }
.tour:hover { color: #fff; }
.tour > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease, filter .4s; filter: brightness(.88); }
.tour::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.88) 100%); }
.tour:hover > img { transform: scale(1.05); filter: brightness(1); }
.tour__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-radius: var(--radius); }
.tour__body { width: 100%; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.tour__date { font-family: var(--f-display); font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.tour__name { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.05; }
.tour__facts { font-size: 15px; color: rgba(255,255,255,.85); }
.tour__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); }
.tour__price { font-family: var(--f-display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.tour__price small { font-weight: 500; font-size: 14px; opacity: .8; }
.tour__more { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.tour:hover .tour__more { color: var(--accent); }
.tours--soon { margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tours--soon .tour { min-height: 220px; }
.tours--soon .tour__name { font-size: 28px; }
.tour--plain { background: var(--surface); }
.tour--plain::after { display: none; }

/* Čtyři přednosti */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; padding-top: 44px; border-top: 1px solid var(--line); }
.values h3 { font-size: 20px; margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 16px; }

/* Panorama */
.panorama { margin: 0; }
.panorama img { width: 100%; height: clamp(300px, 46vw, 720px); object-fit: cover; }
.panorama figcaption { padding: 12px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px), 3vw); font-size: 14px; color: var(--muted); }

/* Galerie */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 15px; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--muted); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip[aria-pressed="true"] .muted { color: var(--on-accent); }
.masonry { column-width: 360px; column-gap: 8px; padding-inline: 8px; }
.masonry a { display: block; margin-bottom: 8px; break-inside: avoid; background: var(--surface); cursor: zoom-in; }
.masonry img { width: 100%; height: auto; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.97); display: flex; align-items: center; justify-content: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(56px, env(safe-area-inset-right, 0px)) max(56px, env(safe-area-inset-bottom, 0px)) max(56px, env(safe-area-inset-left, 0px)); }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb button { position: absolute; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb__close { top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb__prev { left: calc(8px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb__next { right: calc(8px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb__cap { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font-size: 14px; color: #ccc; }

/* O mně – blok */
.about { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.about > img { flex: 1 1 300px; max-width: 480px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.about > div { flex: 999 1 440px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.facts-tiles { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.facts-tiles li { padding: 18px 20px; background: var(--surface); border-radius: var(--radius); }
.facts-tiles strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.facts-tiles span { color: var(--muted); font-size: 15px; }

/* Světlý pás */
.band-paper { background: var(--paper); color: var(--paper-text); }
.band-paper .muted { color: var(--paper-muted); }
.band-paper .eyebrow { color: #8A4F0E; }
.band-paper a:hover { color: #8A4F0E; }
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.split > :first-child { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > :last-child { flex: 999 1 500px; min-width: 0; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; font-size: 16px; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Fotoobrazy – stránka */
.prints { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 44px 28px; }
.print { display: flex; flex-direction: column; gap: 12px; }
.print__frame { background: #fff; padding: 9%; border: 10px solid #0d0d0d; box-shadow: 0 10px 30px rgba(0,0,0,.45); cursor: zoom-in; display: block; }
.print__frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.print h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.print__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact > :first-child { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact > form { flex: 999 1 440px; min-width: 0; display: grid; gap: 16px; }
.big-link { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; text-decoration: none; }
label { display: grid; gap: 6px; font-size: 15px; }
input, textarea, select { width: 100%; min-height: 50px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font: inherit; font-size: 16px; }
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-note { font-size: 15px; color: var(--accent); min-height: 1.5em; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }

/* Detail expedice */
.facts { background: var(--surface); }
.facts .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 24px; }
.facts dl { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.facts dt { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.intro { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.intro > :first-child { flex: 999 1 520px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.intro > aside { flex: 1 1 300px; min-width: 0; align-self: flex-start; padding: 26px; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.intro h2 { font-size: 26px; margin-top: 12px; }
.guide { display: flex; gap: 14px; align-items: center; }
.guide img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; }
.guide strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.ticks { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.ticks li::marker { color: var(--accent); }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 36px; }
.topics h3 { font-size: 21px; margin-bottom: 8px; }
.topics p { color: var(--muted); font-size: 16px; }
.program { list-style: none; margin: 0; padding: 0; }
.program > li { display: flex; flex-wrap: wrap; gap: 20px 40px; padding-block: 32px; border-top: 1px solid var(--line); }
.program__img { flex: 1 1 280px; max-width: 400px; min-width: 0; display: grid; gap: 8px; }
.program__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.program__img--two { grid-template-columns: 1fr 1fr; }
.program__img--two img { aspect-ratio: 1 / 1; }
.program__text { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.program__day { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.program__text h3 { font-size: 25px; }
.program__text p { color: var(--muted); }
.note { font-size: 15px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.price-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.price-boxes > div { padding: 28px; background: var(--bg); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.price-boxes h3 { font-size: 21px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--radius); padding: 0 22px; }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-family: var(--f-display); font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; padding-inline: 8px; }
.thumbs a { display: block; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.thumbs a:hover img { transform: scale(1.04); }
.cta { background: var(--paper); color: var(--paper-text); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px; }
.cta strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.cta p { color: var(--paper-muted); margin-top: 6px; }

[hidden] { display: none !important; }

/* ===== Kam vyrazíme – dotazník ve 3 krocích ===== */
.q-hero { position: relative; min-height: clamp(460px, 48vw, 600px); display: flex; color: #fff; background: #111; overflow: hidden; }
.q-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.q-hero__inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding-top: calc(var(--header-h) + 32px); padding-bottom: clamp(32px, 4.5vw, 60px); }
.q-hero h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; max-width: 760px; }
.q-hero .lead { max-width: 620px; }
.q-hero .eyebrow { color: var(--accent); }
.q-facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.q-facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px 32px; padding-block: 18px; font-size: 15px; color: var(--muted); }
.q-facts strong { color: var(--text); font-weight: 600; }

.q-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (max-width: 1000px) { .q-layout { grid-template-columns: minmax(0, 1fr); } }

.q { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 36px); min-width: 0; }
.q-progress { margin-bottom: 28px; }
.q-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--f-display); font-size: 13px; font-weight: 500; color: var(--muted); }
.q-steps li { display: flex; align-items: center; gap: 8px; }
.q-steps span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.q-steps .is-current { color: var(--text); }
.q-steps .is-current span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.q-steps .is-done span { border-color: var(--accent); color: var(--accent); }
.q-bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.q-bar span { display: block; height: 100%; width: 33%; background: var(--accent); transition: width .4s ease; }

.q-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.q-legend { padding: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.q-title { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.q-help { font-size: 15px; margin-top: -8px; }

.q-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.q-tile { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; font-size: 15px; gap: 0; font-family: var(--f-body); font-weight: 400; }
.q-tile:hover { border-color: #555; transform: translateY(-2px); }
.q-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.q-tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.q-tile.is-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.q-tile.is-off { opacity: .45; cursor: not-allowed; transform: none; }
.q-tile__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.q-tile__media img, .q-tile__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.q-tile:hover .q-tile__media img { transform: scale(1.04); }
.q-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%); }
.q-tile__over { position: absolute; left: 16px; right: 56px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.q-tile__tags { font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.q-tile__name { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.q-tile__badge { position: absolute; top: 12px; right: 12px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--on-accent); }
.q-tile.is-picked .q-tile__badge { background: var(--accent); border-color: var(--accent); }
.q-tile__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 14px; flex: 1; }
.q-tile__text { color: var(--muted); line-height: 1.55; font-size: 14px; }
.q-tile__meta { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.q-tile__meta [data-count] { color: var(--accent); font-weight: 600; }

.q-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.q-picked { font-family: var(--f-display); font-size: 14px; color: var(--muted); }
.q-picked strong { color: var(--accent); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--line { background: transparent; color: var(--text); border-color: var(--line); }
.btn--line:hover { background: transparent; border-color: var(--text); color: var(--text); }

.q-choices { display: grid; gap: 10px; }
.q-choice { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.q-choice:hover { border-color: #555; }
.q-choice img, .q-choice svg { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; }
.q-choice input { width: 20px; height: 20px; min-height: 0; margin: 0 0 0 auto; padding: 0; accent-color: var(--accent); flex: none; order: 3; }
.q-choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.q-choice small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); }

.q-field { font-family: var(--f-display); font-weight: 600; font-size: 15px; gap: 8px; }
.q-field .muted { font-weight: 500; }
.q-hint { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.q-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.55; }
.q-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--accent); }
.q-summary { display: flex; flex-wrap: wrap; gap: 8px; }
.q-summary span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.q-summary span b { color: var(--accent); }

.q-done { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-block: 12px; outline: none; }
.q-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }

.q-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
@media (max-width: 1000px) { .q-side { position: static; } }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.q-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-total { font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.q-total strong { color: var(--accent); }
.q-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.q-results__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.q-results__row span:last-child { font-family: var(--f-display); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.q-results__bar { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.q-results__bar span { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .6s ease; }
.q-results__names { margin-top: 6px; font-size: 13px; color: var(--muted); }
.q-next { list-style: none; margin: 0; padding: 0; counter-reset: krok; display: flex; flex-direction: column; gap: 14px; }
.q-next li { counter-increment: krok; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; font-size: 14px; color: var(--muted); }
.q-next li::before { content: counter(krok); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 600; font-size: 13px; }
.q-next strong { color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.btn-small { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.btn-small:hover { border-color: var(--accent); color: var(--accent); }
.form-note.is-error { color: #F08A7E; }
@media (prefers-reduced-motion: reduce) { .q-tile, .q-tile__media img, .q-bar span, .q-results__bar span { transition: none; } }

/* Patička */
.site-footer { border-top: 1px solid var(--line); background: #141414; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-block: 44px; font-size: 15px; color: var(--muted); }
.site-footer nav, .site-footer .socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .tour > img, .thumbs img { transition: none; }
}

/* Drobné opravy */
.q-field input, .q-field textarea { font-family: var(--f-body); font-weight: 400; }
.nav__cta { white-space: nowrap; }

/* ===== Aktualizace 04: kompaktní záhlaví, blog, článek ===== */
:root { --section-gap: clamp(56px, 7vw, 104px); }
.section--tight { padding-top: clamp(28px, 3.5vw, 48px); }
#napiste-mi { scroll-margin-top: var(--header-h); }
.page-title--compact { padding-block: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.page-title--compact .wrap { gap: 14px; }
.title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.title-row .h1 { font-size: clamp(28px, 3vw, 40px); }
.title-row p { margin: 0; max-width: 620px; }
.spec-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-pills li { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
.spec-pills strong { color: var(--text); font-weight: 600; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.section[style*="surface"] .post { background: var(--bg); }
.post:hover { border-color: #555; transform: translateY(-2px); }
.post__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post__media img { transform: scale(1.04); }
.post__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.post__meta { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.post__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; letter-spacing: -0.01em; }
.post__text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.post__more { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.post--big { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--surface); }
.post--big .post__media { aspect-ratio: auto; min-height: 360px; }
.post--big .post__body { padding: clamp(24px, 3vw, 40px); justify-content: center; gap: 14px; }
.post--big .post__title { font-size: clamp(24px, 2.4vw, 32px); }
.post--big .post__text { font-size: 16px; }
@media (max-width: 800px) { .post--big { grid-template-columns: 1fr; } .post--big .post__media { min-height: 0; aspect-ratio: 3 / 2; } }

.page-hero--article { min-height: clamp(380px, 40vw, 560px); }
.page-hero--article h1 { font-size: clamp(30px, 3.6vw, 48px); max-width: 900px; }
.facts dd { font-size: 17px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.article { min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.75; }
.article > p { margin: 0; color: #DCDAD4; }
.article__back { font-size: 14px; }
.article__back a { color: var(--accent); text-decoration: none; }
.article__lead { font-size: var(--fs-lead) !important; line-height: 1.6; color: var(--text) !important; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article > h2 { font-size: clamp(22px, 2vw, 26px); margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--accent); }
.article figure { margin: 0; }
.article figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.article figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.a-fig--wide, .a-fig--normal { margin-block: 8px !important; }
.a-fig--portrait { width: min(100%, 440px); }
.a-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 8px; }
.a-pair img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .a-pair { grid-template-columns: 1fr; } }

.article-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
@media (max-width: 1000px) { .article-side { position: static; } }
.author-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.author-card strong { display: block; font-family: var(--f-display); font-size: 20px; margin: 6px 0; }
.author-card p.muted { margin: 0; font-size: 15px; }
.author-card .btn { padding-inline: 16px; }
.side-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.side-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: var(--text); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.side-posts a:hover { color: var(--accent); }
.side-posts img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius); }
.side-posts small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.a-fig--portrait { width: min(100%, 460px); align-self: center; }
.spec-pills li { display: inline-block; padding: 7px 14px; min-height: 0; line-height: 1.4; }
.posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* Aktualizace 06 */
.print__row { align-items: center; }
.print__order { min-height: 44px; padding: 0 20px; font-size: 13px; }
.q-tile__name { color: var(--accent); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.q-choice > span { color: var(--accent); }
.q-choice small { color: var(--muted); }

/* ===== Aktualizace 08 (podle dokumentu „Web romanbar nastavení“) ===== */
:root { --heading: #D6D3CC; } /* barva nadpisů – jemně šedá místo bílé */
h1, h2, h3, .h1, .h2, .q-title, .tour__name, .post__title, .cta strong { color: var(--heading); }
.hero h1, .page-hero h1, .q-hero h1 { color: #E7E4DD; }
.band-paper h2, .band-paper h3, .cta strong { color: var(--paper-text); }

/* Texty zarovnané do bloku */
main p, main li, .q-tile__text { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
main .eyebrow, main .q-picked, main .form-note, main figcaption, main .tour__facts, main .hero__caption,
main .q-results li, main .side-posts li, main .chips, main .spec-pills li, main .facts dd, main .btn-row, main .tour__date { text-align: left; -webkit-hyphens: manual; hyphens: manual; }

/* Logo – podpis jako na romanbar.cz */
.logo strong { font-family: "Pinyon Script", "Snell Roundhand", cursive; font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: 0; }
.logo small { font-size: 9.5px; letter-spacing: .26em; color: #CFCBC3; margin-top: 2px; }
@media (max-width: 1100px) { .logo strong { font-size: 30px; } }
.photo-show { position: relative; aspect-ratio: 16 / 8; min-height: 300px; overflow: hidden; border-radius: var(--radius); background: #111; color: #fff; }
.photo-show::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.65)); pointer-events: none; }
.photo-show__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px clamp(14px, 2vw, 24px); }
.photo-show .hero__caption { margin: 0; }
@media (max-width: 600px) { .photo-show { aspect-ratio: 4 / 3; } .photo-show__bar { justify-content: center; } }
/* Galerie – přehled zemí */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.gal-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #111; color: #fff; text-decoration: none; isolation: isolate; }
.gal-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease, filter .4s; filter: brightness(.85); }
.gal-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%); }
.gal-tile:hover img { transform: scale(1.05); filter: brightness(1); }
.gal-tile__body { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.gal-tile__name { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: #EDEAE4; }
.gal-tile__meta { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gal-tile:hover { color: #fff; }
[data-gallery-lead] a { color: var(--accent); text-decoration: none; }
.masonry--gal { padding-inline: 0; column-width: 300px; }
@media (max-width: 700px) { .masonry--gal { column-count: 2; column-width: auto; column-gap: 6px; } .masonry--gal a { margin-bottom: 6px; } .gal-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .gal-tile__name { font-size: 16px; } .gal-tile__body { left: 10px; right: 10px; bottom: 10px; } .gal-tile__meta { font-size: 9.5px; letter-spacing: .08em; } }
/* Blog – karty ve stylu dotazníku */
.post-tile { text-decoration: none; color: var(--text); background: var(--surface); }
.post-tile:hover { color: var(--text); }
.post-tile .q-tile__media { aspect-ratio: 16 / 10; }
.post-tile .q-tile__over { right: 16px; }
.post-tile .q-tile__name { font-size: 19px; line-height: 1.2; }
.post-tile .q-tile__body { padding: 12px 16px 14px; }
.post-tile .q-tile__text { font-size: 14px; }
.post-tile__more { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.q-tiles:has(.post-tile) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
/* Dlaždice: název země šedobílý, štítky nad ním oranžové */
.q-tile__name { color: #EDEAE4 !important; }
.q-tile__tags { color: var(--accent); opacity: 1; }
/* Fotoobrazy – přehled a detail */
.page-title .wrap.obrazy-intro, .obrazy-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 40px; align-items: end; }
.obrazy-intro p.muted { margin: 0; max-width: 760px; font-size: 16px; }
@media (max-width: 900px) { .obrazy-intro { grid-template-columns: 1fr; } }
.print h3 a { color: inherit; text-decoration: none; }
.print h3 a:hover { color: var(--accent); }
.print__order { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; background: transparent; }
.print__order:hover { background: var(--accent); color: var(--on-accent); }
.print__frame { cursor: pointer; }
.obraz { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 16px; }
@media (max-width: 900px) { .obraz { grid-template-columns: 1fr; } }
.obraz__foto .print__frame { cursor: zoom-in; }
.obraz__foto img { width: 100%; height: auto; display: block; }
.obraz__nav { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.obraz__nav a { color: var(--muted); text-decoration: none; }
.obraz__nav a:hover { color: var(--accent); }
.obraz__panel { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .obraz__panel { position: static; } }
.obraz__panel .spec { font-size: 15px; gap: 6px 18px; }
.obraz__form { display: grid; gap: 12px; }
.obraz__form label { display: grid; gap: 6px; font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.obraz__form input, .obraz__form textarea { font-family: var(--f-body); font-weight: 400; }
.obraz__form textarea { min-height: 90px; }
.q-choice > span { color: var(--heading); }
.q-tile__credit { position: absolute; top: 8px; left: 10px; z-index: 1; font-size: 9.5px; line-height: 1.3; color: rgba(255,255,255,.75); text-shadow: 0 1px 4px rgba(0,0,0,.8); max-width: 70%; }
main .facts-tiles li, main .facts-tiles span, main .values p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* Galerie země – řádky v pořadí podle data (zleva doprava) */
.gal-rows { display: flex; flex-wrap: wrap; gap: 8px; }
.gal-rows a { flex: calc(var(--r) * 100) 1 calc(var(--r) * 240px); display: block; cursor: zoom-in; background: var(--surface); overflow: hidden; }
.gal-rows a img { width: 100%; height: 100%; aspect-ratio: var(--r); object-fit: cover; display: block; transition: transform .6s ease; }
.gal-rows a:hover img { transform: scale(1.03); }
.gal-rows__end { flex: 1000 1 0; }
@media (max-width: 700px) {
  .gal-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .gal-rows a img { aspect-ratio: 1 / 1; }
  .gal-rows__end { display: none; }
}

/* ===== Aktualizace 09 ===== */
:root { --fs-label: 14px; } /* oranžové nadpisy sekcí o něco větší */

/* Podmenu */
.nav__item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__sub-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; opacity: .8; }
.nav__sub { position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 10px 0; background: rgba(20,20,20,.97); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.4); display: none; flex-direction: column; z-index: 60; }
.nav__sub--cols { display: none; grid-template-columns: 1fr 1fr; min-width: 380px; }
.nav__sub a { padding: 8px 18px !important; border: 0 !important; font-size: 13px; letter-spacing: .06em; white-space: nowrap; color: var(--text); }
.nav__sub a:hover { color: var(--accent); background: rgba(255,255,255,.04); }
@media (min-width: 1101px) {
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { display: flex; }
  .nav__item:hover .nav__sub--cols, .nav__item:focus-within .nav__sub--cols { display: grid; }
}
@media (max-width: 1100px) {
  .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav__item > a { flex: 1; border-bottom: 0 !important; }
  .nav__sub-btn { width: 44px; height: 44px; }
  .nav__item.is-open .nav__sub-btn svg { transform: rotate(180deg); }
  .nav__sub, .nav__sub--cols { position: static; min-width: 0; width: 100%; padding: 0 0 10px 12px; background: transparent; border: 0; box-shadow: none; }
  .nav__item.is-open .nav__sub { display: flex; }
  .nav__item.is-open .nav__sub--cols { display: grid; }
  .nav__sub a { padding: 8px 6px !important; font-size: 13px; text-transform: none; letter-spacing: 0; white-space: normal; }
}

/* Zápatí – nízké, ikony sociálních sítí */
.site-footer .wrap { align-items: center; padding-block: 20px; gap: 12px 32px; }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer a:hover { color: var(--accent); }
.socials--icons { gap: 6px !important; }
.socials--icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.socials--icons a:hover { color: var(--accent); border-color: var(--accent); }
/* Galerie bez úvodního panelu */
.gal-head { display: none; }
body.gal-detail .gal-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 22px; }
body:not(.gal-detail) .gal-head h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gal-head .h1 { font-size: clamp(26px, 2.8vw, 36px); }
.gal-head__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 15px; color: var(--muted); }
.gal-head__meta a { color: var(--accent); text-decoration: none; }
.gal-head__meta span:first-of-type { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); align-self: center; }
.gal-tile__meta { font-size: 11px; }
.gal-tile__body { gap: 4px; }

/* Karty expedic – nižší, výraznější datum */
.tour { min-height: clamp(340px, 30vw, 440px); }
.tour__date { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; letter-spacing: .08em; }
.tours--soon .tour { min-height: 200px; }
.tour__credit { font-size: 10px; color: rgba(255,255,255,.65); }

/* Světlé pásy – texty a karty */
.band-paper .values h3 { color: var(--paper-text); }
.band-paper .values p, .band-paper p.muted { color: var(--paper-muted); }
.band-paper .values { border-color: rgba(0,0,0,.12); }
.band-paper .h2, .band-paper h1, .band-paper h2 { color: var(--paper-text); }
.band-paper .link-more { color: #8A4F0E; }
.band-paper .btn--line { color: var(--paper-text); border-color: rgba(0,0,0,.3); }
.band-paper .post-tile { background: #fff; border-color: rgba(0,0,0,.1); color: var(--paper-text); }
.band-paper .post-tile .q-tile__text { color: #55595A; }
.band-paper .post-tile .q-tile__meta { border-top-color: rgba(0,0,0,.1); color: #55595A; }
.band-paper .post-tile__more, .band-paper .post-tile .q-tile__tags { color: #8A4F0E; }
.band-paper .post-tile .q-tile__tags { color: var(--accent); }
.q-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1000px) { .q-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .q-tiles--4 { grid-template-columns: 1fr !important; } }
/* Detail obrazu – kompaktní formulář */
.obraz__panel { padding: 22px; gap: 10px; }
.obraz__panel .h2 { font-size: clamp(22px, 2vw, 28px); }
.obraz__form { gap: 8px; }
.obraz__form .form-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.obraz__form label { font-size: 13px; gap: 4px; }
.obraz__form input, .obraz__form textarea { min-height: 40px; padding: 6px 10px; font-size: 15px; }
.obraz__form textarea { min-height: 64px; }
.obraz__form .btn { min-height: 46px; }
/* Fotoobrazy na mobilu */
@media (max-width: 700px) {
  .prints { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .print__frame { padding: 7%; border-width: 6px; }
  .print h3 { font-size: 14px; line-height: 1.35; }
  .print__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .print .price { font-size: 15px; }
  .obrazy-intro .spec-pills li { font-size: 13px; }
}
.eyebrow--big { font-size: 18px; letter-spacing: .16em; }
.nav__sub a { text-transform: none; letter-spacing: .02em; font-size: 14px; }
@media (max-width: 900px) { .page-title .wrap.obrazy-intro { grid-template-columns: 1fr; } .obrazy-intro .spec-pills { flex-direction: row; } }
@media (max-width: 700px) { .gal-tile__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9px; letter-spacing: .06em; } }

/* ===== Aktualizace 10 ===== */
/* Lightbox na mobilu přes celý displej */
@media (max-width: 700px) {
  .lb { padding: 0; }
  .lb img { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; object-fit: contain; }
  .lb__prev, .lb__next { background: rgba(0,0,0,.35) !important; }
  .lb__cap { background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0)); padding: 18px 12px 8px; bottom: 0; }
}
/* Úvod – nižší panely Z cest a Blog */
.photo-show--low { aspect-ratio: 21 / 8; }
@media (max-width: 600px) { .photo-show--low { aspect-ratio: 4 / 3; } }
.q-tiles--4 .q-tile__text { display: none; }
.q-tiles--4 .q-tile__media { aspect-ratio: 16 / 9; }
.q-tiles--4 .q-tile__meta { margin-top: 0; padding-top: 0; border-top: 0; }
/* Expedice – nižší panely */
.page-compact { --section-gap: clamp(40px, 5vw, 72px); }
.page-compact .values { padding-top: 28px; gap: 24px; }
.page-compact .tours--soon .tour { min-height: 170px; }
/* O mně – menší mezery, fotka a dlaždice */
.page-about { --section-gap: clamp(36px, 4.5vw, 64px); }
.page-about .about > img { max-width: 340px; flex-basis: 260px; }
.page-about .about { gap: 32px 56px; align-items: flex-start; }
.page-about .facts-tiles li { padding: 12px 16px; }
.page-about .facts-tiles strong { font-size: 17px; }
.page-about .facts-tiles span { font-size: 14px; }
/* Pás fotek autora */
.section--strip { padding-block: 0 var(--section-gap); }
.strip__nav { display: flex; gap: 4px; }
.strip-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.strip-track::-webkit-scrollbar { display: none; }
.strip__item { flex: 0 0 auto; height: clamp(260px, 30vw, 380px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.strip__item img { height: 100%; width: auto; display: block; }
.q-help strong { color: var(--text); }
.section-head > .strip__nav { flex-direction: row; max-width: none; gap: 4px; }
@media (max-width: 700px) { .lb { background: #000; } }
/* Úvod – menší mezery mezi panely */
.page-home { --section-gap: clamp(40px, 5vw, 72px); }
.page-home .section-head { margin-bottom: 24px; }
/* Tmavá varianta – panely střídavě černé a šedé */
.band-grey { background: #262626; }
.band-grey .post-tile { background: #1A1A1A; }
.band-grey .q-tile__meta { border-top-color: var(--line); }

/* ===== Tmavý vzhled B: panely střídavě černé a šedé (třída tema-b na <body>) ===== */
.tema-b { --grey: #262626; }
.tema-b main > section { background: var(--bg); }
.tema-b main > section:nth-of-type(even) { background: var(--grey); }
.tema-b .band-paper, .tema-b .cta { color: var(--text); }
.tema-b .band-paper .muted, .tema-b .band-paper p.muted, .tema-b .cta p { color: var(--muted); }
.tema-b .band-paper .eyebrow, .tema-b .cta .eyebrow { color: var(--accent); }
.tema-b .band-paper h1, .tema-b .band-paper h2, .tema-b .band-paper .h2, .tema-b .band-paper h3, .tema-b .cta strong { color: var(--heading); }
.tema-b .band-paper .values h3 { color: var(--heading); }
.tema-b .band-paper .values p { color: var(--muted); }
.tema-b .band-paper .values { border-color: var(--line); }
.tema-b .band-paper .link-more, .tema-b .band-paper a:hover { color: var(--accent); }
.tema-b .band-paper .btn--line { color: var(--text); border-color: var(--line); }
.tema-b .band-paper .btn--dark, .tema-b .cta .btn--dark { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tema-b .band-paper .btn--dark-ghost, .tema-b .cta .btn--dark-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.tema-b .band-paper .post-tile { background: var(--surface); border-color: var(--line); color: var(--text); }
.tema-b .band-paper .post-tile .q-tile__text, .tema-b .band-paper .post-tile .q-tile__meta { color: var(--muted); border-top-color: var(--line); }
.tema-b .band-paper .post-tile__more { color: var(--accent); }
.tema-b main > section:nth-of-type(even) .post-tile,
.tema-b main > section:nth-of-type(even) .q-card,
.tema-b main > section:nth-of-type(even) .facts-tiles li,
.tema-b main > section:nth-of-type(even) .q { background: var(--bg); }
.tema-b .band-paper .spec dt, .tema-b .band-paper .spec dd { color: var(--text); }

/* ===== Aktualizace 14 ===== */
:root { --section-gap: clamp(32px, 4vw, 56px); }
.page-home, .page-compact, .page-about { --section-gap: clamp(28px, 3.5vw, 48px); }
.section--tight { padding-top: clamp(20px, 2.5vw, 32px); }
.section-head { margin-bottom: 28px; }
.section--strip { padding-top: clamp(28px, 3.5vw, 48px); }
#dotaznik { padding-top: clamp(20px, 2.5vw, 32px); }
.grid-2--interier { gap: 10px; }
.grid-2--interier a { display: block; overflow: hidden; border-radius: var(--radius); }
.grid-2--interier img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.grid-2--interier a:hover img { transform: scale(1.03); }

/* ===== Aktualizace 15 ===== */
.tour, .tour:hover { color: var(--heading); }
.tour__name, .tour__price, .tour__more { color: var(--heading); }
.tour__facts { color: rgba(214, 211, 204, .85); }
.tour__date--soft { text-transform: none; letter-spacing: .02em; font-size: clamp(15px, 1.2vw, 17px); }
.gal-tile__name, .q-tile__name { color: var(--heading) !important; }
.hero__text .eyebrow, .hero__caption { color: var(--heading); }
.page-home .about > img { max-width: 300px; flex-basis: 240px; }
.gal-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .gal-grid--3 { grid-template-columns: 1fr; } }
.page-about .section--strip { padding-top: 0; }

/* Aktualizace 16 – dvojice svislých fotek v článku */
.a-pair--p img { aspect-ratio: 3 / 4; }

/* Aktualizace 17 – hustší text článků na velkých monitorech */
.article { gap: 18px; line-height: 1.68; }
.article > p + p { margin-top: -4px; }

/* Aktualizace 18 – jednotné náhledy na úvodu, menší karty expedic */
.q-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 900px) { .q-tiles--3 { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .q-tiles--3 { grid-template-columns: 1fr !important; } }
.page-home .post-tile .q-tile__media { aspect-ratio: 4 / 3; }
.page-home .tours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-home .tour, .page-compact .tours .tour { min-height: 0; aspect-ratio: 4 / 3; }
.page-compact .tours--soon .tour, .page-compact #pripravujeme .tour { min-height: 0; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .page-home .tours { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .page-home .tours { grid-template-columns: 1fr; } .page-home .tour, .page-compact .tours .tour { aspect-ratio: 4 / 3.4; } }
.page-compact .tours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .page-compact .tours { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .page-compact .tours { grid-template-columns: 1fr; } }
.obrazy-uvod .gal-tile::after { display: none; }
.obrazy-uvod .gal-tile img { filter: none; }

/* Aktualizace 19 – galerie na úvodu jako jeden proklik, hustší Expedice */
.gal-mosaic { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-decoration: none; color: #fff; }
.gal-mosaic .gal-tile { aspect-ratio: 16 / 10; }
.gal-mosaic:hover .gal-tile img { filter: brightness(1); }
.gal-mosaic:hover .gal-tile:hover img { transform: scale(1.05); }
.gal-mosaic__cta { position: absolute; right: 14px; bottom: 14px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #1A1A1A; font-family: var(--f-display); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gal-mosaic:hover .gal-mosaic__cta, .gal-mosaic:focus-visible .gal-mosaic__cta { opacity: 1; transform: none; }
@media (max-width: 700px) { .gal-mosaic { grid-template-columns: 1fr 1fr; gap: 6px; } .gal-mosaic__cta { opacity: 1; transform: none; left: 50%; right: auto; translate: -50% 0; } }
.page-compact { --section-gap: clamp(20px, 2.4vw, 32px); }
.page-compact .section-head { margin-bottom: 16px !important; }
.page-compact .values { margin-top: 24px !important; padding-top: 20px; }
.page-compact #pripravujeme { margin-top: 12px !important; }
.page-compact .tours { gap: 12px; }

/* Aktualizace 20 – galerie: lehké náhledy a plynulé načtení */
.gal-rows a { background: #2a2a2a; }
.gal-rows a img { opacity: 0; transition: opacity .35s ease, transform .6s ease; }
.gal-rows a img.is-in { opacity: 1; }

/* Aktualizace 22 – karty expedic jako karty blogu, nižší úvodní fotka na notebooku */
.tour { display: flex; flex-direction: column; align-items: stretch; min-height: 0 !important; aspect-ratio: auto !important; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; isolation: auto; }
.tour::after { display: none; }
.tour > img { position: relative; inset: auto; z-index: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: none; display: block; }
.tour:hover > img { transform: none; filter: brightness(1.05); }
.tour:hover { border-color: #3a3a3a; }
.tour__badge { top: 12px; left: 12px; z-index: 1; }
.tour__body { flex: 1; padding: 14px 16px 16px; gap: 6px; }
.tour__date { font-size: 14px !important; letter-spacing: .06em; }
.tour__name { font-size: clamp(20px, 1.7vw, 24px); }
.tour__facts { font-size: 14px; }
.tour__foot { margin-top: auto; padding-top: 12px; border-top-color: var(--line); }
.tour__price { font-size: 18px; }
.tours--soon .tour__name, #pripravujeme .tour__name { font-size: clamp(20px, 1.7vw, 24px); }
@media (min-width: 700px) {
  .page-home .hero { min-height: clamp(460px, min(52vw, 76svh), 720px); }
  .page-home .hero__inner { padding-bottom: clamp(28px, 4vw, 56px); }
}

/* Aktualizace 23 – na mobilu jen jedna fotka fotoobrazů na úvodu */
@media (max-width: 700px) { .obrazy-uvod .gal-tile:nth-child(n+2) { display: none; } }

/* Aktualizace 24 – úvodní slideshow na notebooku: víc z horní části fotek */
@media (min-width: 700px) {
  .page-home .hero__slide { object-position: center 42%; }
  .page-home .hero__slide[src*="indie-taj"], .page-home .hero__slide[data-src*="indie-taj"],
  .page-home .hero__slide[src*="kostarika-tukan"], .page-home .hero__slide[data-src*="kostarika-tukan"] { object-position: center 26%; }
}
