/* ==========================================================================
   Via del Gusto — app.css
   Čistý CSS bez preprocesora. Design tokens ako CSS custom properties.
   Mobile-first-ish; hlavný breakpoint: 768px.
   ========================================================================== */

/* ------------------------------------------------------------------ FONTS
   Display font „BambinoNew" — self-hosted, dodané klientom (viď FONTY.txt).
   Pre produkciu odporúčame doplniť .woff2 varianty (menšie súbory).
   Fallback stack: Georgia / system serif. */
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-Light.ttf') format('truetype');       font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-LightItalic.ttf') format('truetype');  font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-Regular.ttf') format('truetype');      font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-RegularItalic.ttf') format('truetype');font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-Bold.ttf') format('truetype');         font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-BoldItalic.ttf') format('truetype');   font-weight:700; font-style:italic; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-Black.ttf') format('truetype');        font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'BambinoNew'; src:url('../fonts/BambinoNew-Heavy.ttf') format('truetype');        font-weight:900; font-style:normal; font-display:swap; }

/* ------------------------------------------------------------------ TOKENS */
:root {
  /* farby */
  --espresso:#2A130B;
  --beige:#F4D8BC;
  --olive:#6F7C2C;
  --cream:#FBF4EA;
  --lime:#A1AA3A;

  /* sémantické aliasy */
  --bg:#FBF4EA;
  --surface:#FFFFFF;
  --fg:#2A130B;
  --muted:#79695A;
  --line:#EADDCB;
  --accent:#6F7C2C;
  --accent-bright:#A1AA3A;
  --btn-bg:#2A130B;
  --btn-fg:#F4D8BC;
  --dark:#2A130B;
  --input-bg:#FBF7F0;
  --danger:#B0532E;

  /* typografia */
  --display:'BambinoNew', Georgia, 'Times New Roman', serif;
  --body:'BambinoNew', system-ui, -apple-system, sans-serif;

  /* rozostupy */
  --maxw:1280px;
  --gutter:44px;

  /* rádiusy */
  --r-sm:5px;
  --r-md:12px;
  --r-lg:16px;
  --r-xl:20px;
  --r-pill:999px;

  /* tiene */
  --shadow-card:0 18px 44px -34px rgba(42,19,11,.45);
  --shadow-card-hover:0 30px 56px -34px rgba(42,19,11,.5);
  --shadow-pop:0 28px 56px -38px rgba(42,19,11,.5);
}

/* ------------------------------------------------------------------ RESET */
*, *::before, *::after { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body {
  background:var(--bg);
  color:var(--fg);
  font-family:var(--body);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img { display:block; max-width:100%; }
a { color:var(--accent); cursor:pointer; }
a:hover { color:var(--accent-bright); }
button { font:inherit; }
h1, h2, h3, h4, h5 { font-family:var(--display); margin:0; }
p { margin:0; }
::selection { background:var(--accent-bright); color:var(--espresso); }
input::placeholder, textarea::placeholder { color:#B3A595; }

/* ------------------------------------------------------------------ HELPERS */
.container { max-width:var(--maxw); margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter); }
.eyebrow {
  font-family:var(--body); font-weight:600; font-size:13px;
  letter-spacing:.18em; text-transform:uppercase; color:var(--accent);
}
.section-title { font-family:var(--display); font-weight:800; color:var(--fg); line-height:1.02; }
.visually-hidden {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* skip-link */
.skip-link {
  position:absolute; left:12px; top:-48px; z-index:300;
  background:var(--espresso); color:var(--beige);
  font-family:var(--body); font-weight:600; font-size:14px;
  padding:10px 16px; border-radius:var(--r-sm); text-decoration:none;
  transition:top .16s ease;
}
.skip-link:focus { top:12px; color:var(--beige); }

/* fokus stavy pre prístupnosť */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline:2px solid var(--accent); outline-offset:2px;
}

/* ------------------------------------------------------------------ BUTTONS */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--body); font-weight:700; font-size:16px;
  padding:16px 30px; border-radius:var(--r-sm);
  text-decoration:none; border:0; cursor:pointer; transition:filter .2s, background .2s;
}
.btn--primary { background:var(--accent-bright); color:var(--espresso); }
.btn--primary:hover { filter:brightness(1.05); color:var(--espresso); }
.btn--dark { background:var(--btn-bg); color:var(--btn-fg); }
.btn--dark:hover { color:var(--btn-fg); filter:brightness(1.15); }
.btn--ghost {
  background:rgba(255,255,255,.08); color:var(--beige);
  border:1.5px solid rgba(244,216,188,.45); font-weight:600;
}
.btn--ghost:hover { color:var(--beige); background:rgba(255,255,255,.16); }
.btn--sm { font-size:14px; font-weight:600; padding:11px 18px; }
.btn--block { display:block; width:100%; text-align:center; }
.btn:disabled, .btn[aria-disabled="true"] {
  cursor:not-allowed; background:#B6A593; color:rgba(244,216,188,.7); filter:none;
}

/* ================================================================== HEADER / NAV */
.site-header {
  position:sticky; top:0; z-index:50;
  background:rgba(251,244,234,.9);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(1.3) blur(10px);
}
.nav {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  max-width:var(--maxw); margin:0 auto; padding:16px 44px;
}
.nav__logo { height:34px; width:auto; }
.nav__links { display:flex; align-items:center; gap:32px; }
.nav__link {
  position:relative; font-family:var(--body); font-weight:500; font-size:15px;
  color:var(--fg); text-decoration:none; padding:6px 0;
}
.nav__link:hover { color:var(--fg); }
.nav__link[aria-current="page"]::after {
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background:var(--accent);
}
.nav__toggle {
  display:none; align-items:center; justify-content:center;
  width:42px; height:42px; background:none; border:0; cursor:pointer;
  font-size:25px; color:var(--fg); line-height:1;
}

.mobile-menu {
  display:none; flex-direction:column;
  background:var(--bg); border-bottom:1px solid var(--line);
  padding:6px 20px 14px;
}
.mobile-menu.is-open { display:flex; }
.mobile-menu__link {
  font-family:var(--body); font-weight:600; font-size:17px;
  color:var(--fg); text-decoration:none;
  padding:14px 4px; border-bottom:1px solid var(--line);
}
.mobile-menu__link:last-child { border-bottom:0; }

/* ================================================================== HERO */
.hero {
  position:relative; height:clamp(560px, 80svh, 760px); min-height:540px;
  display:flex; align-items:flex-end; overflow:hidden;
}
.hero__img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:50% 50%;
}
.hero__overlay {
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(28,12,6,.10) 0%, rgba(28,12,6,.35) 45%, rgba(28,12,6,.92) 100%);
}
.hero__inner {
  position:relative; max-width:var(--maxw); margin:0 auto; width:100%;
  padding:0 44px 60px;
}
.hero__eyebrow {
  font-family:var(--body); font-weight:700; font-size:13px;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--accent-bright); margin-bottom:20px;
}
.hero__title {
  font-family:var(--display); font-weight:900; font-size:96px; line-height:.94;
  letter-spacing:-0.03em; margin:0 0 20px; color:var(--beige);
  max-width:980px; text-wrap:balance;
}
.hero__intro {
  font-family:var(--body); font-weight:400; font-size:20px; line-height:1.55;
  color:rgba(244,216,188,.85); max-width:560px; margin:0 0 32px;
}
.hero__actions { display:flex; gap:14px; flex-wrap:wrap; }

/* ================================================================== MARQUEE / VISIT STRIP */
.marquee { background:var(--dark); overflow:hidden; padding:18px 0; }
.marquee__track {
  display:flex; width:max-content; gap:0;
  animation:marquee 28s linear infinite;
}
.marquee__group { display:flex; gap:0; }
.marquee__item {
  font-family:var(--display); font-weight:800; font-size:22px;
  color:var(--beige); padding:0 30px; white-space:nowrap;
}
.marquee__star { color:var(--accent-bright); margin-left:30px; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation:none; flex-wrap:wrap; justify-content:center; }
}

/* ================================================================== SECTIONS */
.section { max-width:var(--maxw); margin:0 auto; padding:92px 44px 40px; }
.section--tight { padding-top:72px; }
.section-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:44px;
}
.section-head__lead {
  font-family:var(--body); font-size:16px; line-height:1.55;
  color:var(--muted); max-width:330px; margin:0;
}
.section-head .eyebrow { margin-bottom:14px; }
.section-head h2 { font-size:48px; }

/* ================================================================== TOUR CARDS */
.tours-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:28px; }
.tours-grid--page { gap:30px; }

.tour-card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; display:flex; flex-direction:column; text-decoration:none;
  color:inherit; transition:transform .28s ease, box-shadow .28s ease;
}
.tour-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-card-hover); color:inherit; }
.tour-card__media { position:relative; height:340px; }
.tour-card__media img { width:100%; height:100%; object-fit:cover; }
.tour-card__badge {
  position:absolute; top:16px; left:16px;
  background:var(--dark); color:var(--beige);
  font-family:var(--body); font-weight:600; font-size:12px; letter-spacing:.04em;
  padding:7px 13px; border-radius:var(--r-pill);
}
.tour-card__body { padding:28px 28px 30px; display:flex; flex-direction:column; flex:1; }
.tour-card__region {
  font-family:var(--body); font-weight:600; font-size:12.5px;
  letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:8px;
}
.tour-card__title {
  font-family:var(--display); font-weight:800; font-size:36px; line-height:1;
  margin:0 0 6px; color:var(--fg);
}
.tour-card__subtitle {
  font-family:var(--display); font-style:italic; font-size:19px;
  color:var(--muted); margin-bottom:14px;
}
.tour-card__teaser {
  font-family:var(--body); font-size:15px; line-height:1.55;
  color:var(--muted); margin:0 0 24px; flex:1;
}
.tour-card__foot {
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid var(--line); padding-top:20px;
}
.tour-card__price-label { font-family:var(--body); font-size:12px; color:var(--muted); }
.tour-card__price { font-family:var(--display); font-weight:800; font-size:26px; color:var(--fg); }
.tour-card__cta { font-family:var(--body); font-weight:600; font-size:14px; color:var(--accent); }

/* homepage layout service (TASK-0009B, tokens corrected R1): explicit row groups (1 dominant / 2 / 3 per row) */
.tours-layout .tours-grid + .tours-grid { margin-top:28px; }
.tours-grid--3 { grid-template-columns:repeat(3, minmax(0,1fr)); }
/* single dominant card: capped width, centred — NOT stretched full-width */
.tours-grid--solo { grid-template-columns:1fr; }
.tours-grid--solo .tour-card { max-width:min(100%, 48rem); margin-inline:auto; }
/* multi-row compact: reduce ONLY media height, vertical padding and vertical gaps to ~80% of base.
   Font sizes, CTA text, CTA min-height and touch targets are NOT reduced; the card is never transform-scaled. */
.tours-grid--compact { gap:22px; }
.tours-layout .tours-grid--compact + .tours-grid--compact { margin-top:22px; }
.tours-grid--compact .tour-card__media { height:272px; }          /* 340 * ~0.8 */
.tours-grid--compact .tour-card__body { padding:22px 28px 24px; } /* vertical ~0.8, horizontal unchanged */
.tour-card__media-ph {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background:var(--beige); color:var(--muted); font-family:var(--display); font-size:40px;
}
.tour-card__note { font-family:var(--body); font-weight:600; font-size:13px; color:var(--muted); }
.tours-error { font-family:var(--body); font-size:16px; line-height:1.6; color:var(--muted); margin:0; }
/* tablet: a 3-up row reflows to two-up (the third wraps); mobile handled by the base 1-col rule below */
@media (min-width:769px) and (max-width:980px) {
  .tours-grid--3 { grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/* page grid variant: smaller media/title */
.tours-grid--page .tour-card__media { height:240px; }
.tours-grid--page .tour-card__badge { top:14px; left:14px; padding:6px 12px; }
.tours-grid--page .tour-card__body { padding:24px 24px 26px; }
.tours-grid--page .tour-card__region { font-size:12px; }
.tours-grid--page .tour-card__title { font-size:30px; }
.tours-grid--page .tour-card__subtitle { font-size:17px; }
.tours-grid--page .tour-card__teaser { font-size:14.5px; margin-bottom:20px; }
.tours-grid--page .tour-card__foot { padding-top:18px; }
.tours-grid--page .tour-card__price { font-size:24px; }

/* ================================================================== BRAND BAND */
.band-wrap { max-width:var(--maxw); margin:0 auto; padding:84px 44px 110px; }
.band {
  background:var(--dark); border-radius:var(--r-xl); padding:76px 64px;
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.band__quote {
  font-family:var(--display); font-weight:500; font-size:40px; line-height:1.2;
  margin:0; color:var(--beige); text-wrap:balance;
}
.band__quote em { font-style:italic; color:var(--accent-bright); }
.band__text {
  font-family:var(--body); font-size:17px; line-height:1.65;
  color:rgba(244,216,188,.82); margin:0 0 24px;
}
.band__link {
  font-family:var(--body); font-weight:600; font-size:16px; color:var(--beige);
  text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--accent-bright);
}
.band__link:hover { color:var(--beige); }

/* ================================================================== TOUR DETAIL */
.detail-top { max-width:var(--maxw); margin:0 auto; padding:32px 44px 0; }
.breadcrumb { font-family:var(--body); font-size:14px; color:var(--muted); margin-bottom:22px; }
.breadcrumb a { color:var(--muted); text-decoration:none; }
.breadcrumb a:hover { color:var(--accent); }
.breadcrumb__current { color:var(--fg); }

.detail-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; flex-wrap:wrap; margin-bottom:26px;
}
.detail-head__region { margin-bottom:14px; letter-spacing:.16em; }
.detail-head h1 { font-weight:800; font-size:66px; line-height:.98; margin:0 0 8px; color:var(--fg); }
.detail-head__subtitle { font-family:var(--display); font-style:italic; font-size:24px; color:var(--muted); }
.detail-stats { display:flex; gap:32px; }
.detail-stat__label { font-family:var(--body); font-size:12px; color:var(--muted); margin-bottom:4px; }
.detail-stat__value { font-family:var(--display); font-weight:800; font-size:24px; color:var(--fg); }
.detail-stat__value--accent { color:var(--accent); }

/* gallery */
.gallery-wrap { max-width:var(--maxw); margin:0 auto; padding:0 44px; }
.gallery {
  display:grid; grid-template-columns:2fr 1fr 1fr;
  grid-template-rows:210px 210px; gap:12px;
}
.gallery__item {
  border-radius:var(--r-md); overflow:hidden; cursor:pointer;
  border:0; padding:0; background:none;
}
.gallery__item:first-child { grid-row:span 2; }
.gallery__item img { width:100%; height:100%; object-fit:cover; }
.gallery__item--more { position:relative; }
.gallery__more-label {
  position:absolute; inset:0; background:rgba(28,12,6,.55); color:var(--beige);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:800; font-size:24px;
}

/* body grid */
.detail-body {
  max-width:var(--maxw); margin:0 auto; padding:64px 44px 40px;
  display:grid; grid-template-columns:1.5fr 1fr; gap:64px; align-items:start;
}
.detail-lead {
  font-family:var(--body); font-size:20px; line-height:1.65;
  color:var(--fg); margin:0 0 48px; text-wrap:pretty;
}
.detail-h2 { font-family:var(--display); font-weight:800; font-size:36px; margin:0 0 24px; color:var(--fg); }
.detail-h3 { font-family:var(--display); font-weight:800; font-size:24px; margin:56px 0 18px; color:var(--fg); }

/* itinerary */
.itinerary { display:flex; flex-direction:column; }
.itin-day {
  display:grid; grid-template-columns:64px 1fr; gap:22px;
  padding:22px 0; border-top:1px solid var(--line); border-radius:8px;
}
.itin-day__num { font-family:var(--display); font-weight:800; font-size:28px; color:var(--accent); line-height:1; }
.itin-day__title { font-family:var(--body); font-weight:700; font-size:18px; margin:0 0 6px; color:var(--fg); }
.itin-day__text { font-family:var(--body); font-size:15.5px; line-height:1.6; color:var(--muted); margin:0; }

/* includes / excludes */
.includes { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:56px; }
.include-list { display:flex; flex-direction:column; gap:12px; }
.include-item { display:flex; gap:12px; align-items:flex-start; font-family:var(--body); font-size:15px; line-height:1.5; }
.include-item__mark { color:var(--accent); font-weight:700; }
.include-item--excl { color:var(--muted); }
.include-item--excl .include-item__mark { color:var(--muted); font-weight:400; }

/* route */
.route-map-placeholder {
  border-radius:14px; border:1px solid var(--line); background:#F3EAD8;
  aspect-ratio:1000/520; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:24px; margin-bottom:16px;
}
.route-map-placeholder p { font-family:var(--body); color:var(--muted); font-size:15px; max-width:360px; line-height:1.5; }

/* TASK-0010E — self-contained inline SVG route map + consent-to-load OSM embed */
.route-map { margin-bottom:16px; }
.route-map__svg {
  width:100%; height:auto; display:block; border-radius:14px;
  border:1px solid var(--line); background:#EFF3E4; aspect-ratio:800/450;
}
.route-map__line { stroke:var(--olive); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:2 8; }
.route-map__pt circle { fill:var(--espresso); }
.route-map__pt:first-of-type circle { fill:var(--olive); }
.route-map__pt:last-of-type circle { fill:var(--danger); }
.route-map__pt text { fill:var(--beige); font-family:var(--body); font-size:13px; font-weight:700; }
.route-map__actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:10px; }
.route-map__note, .route-map__empty { color:var(--muted); }
.route-map__embed { margin-top:10px; }
.route-map__embed iframe { width:100%; height:360px; border:1px solid var(--line); border-radius:14px; display:block; }
.route-map__osm-link { display:inline-block; margin-top:6px; color:var(--accent); }
.route-controls { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.route-chips { display:flex; gap:8px; overflow-x:auto; flex:1; min-width:0; padding-bottom:4px; }
.route-chip {
  flex:0 0 auto; border:1.5px solid var(--line); background:var(--surface);
  border-radius:9px; padding:10px 13px; display:flex; align-items:center; gap:8px;
}
.route-chip__num {
  width:20px; height:20px; border-radius:50%; background:var(--line); color:var(--espresso);
  font-family:var(--display); font-weight:800; font-size:11px;
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.route-chip:first-child .route-chip__num { background:var(--olive); color:var(--beige); }
.route-chip:last-child .route-chip__num { background:var(--espresso); color:var(--beige); }
.route-chip__place { font-family:var(--body); font-weight:600; font-size:13px; color:var(--fg); white-space:nowrap; }
.route-chip__day { font-family:var(--body); font-size:12px; color:var(--muted); white-space:nowrap; }

/* faq (shared) */
.faq { border-top:1px solid var(--line); }
.faq__item { border-bottom:1px solid var(--line); }
.faq__q {
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:18px 0; font-family:var(--body); font-weight:700; font-size:16.5px; color:var(--fg);
}
.faq__sign { font-family:var(--body); font-size:24px; color:var(--accent); line-height:1; flex:0 0 auto; }
.faq__a { font-family:var(--body); font-size:15.5px; line-height:1.65; color:var(--muted); margin:0; padding:0 0 20px; }
.faq__a[hidden] { display:none; }

/* ================================================================== BOOKING ASIDE */
.detail-aside { position:sticky; top:92px; display:flex; flex-direction:column; gap:28px; }
.card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:24px; box-shadow:var(--shadow-card);
}
.card__head {
  display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:18px;
}
.card__title { font-family:var(--display); font-weight:800; font-size:21px; margin:0; color:var(--fg); }
.card__price-note { font-family:var(--body); font-size:13px; color:var(--muted); }
.card__price-note strong { font-family:var(--display); font-size:18px; color:var(--fg); }

.dates { display:flex; flex-direction:column; gap:10px; }
.date {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:13px 15px; border-radius:6px; cursor:pointer; text-align:left; width:100%;
  transition:all .18s; border:1.5px solid var(--line); background:var(--input-bg);
}
.date.is-selected { border-color:var(--accent); background:rgba(111,124,44,.07); }
/* The date is a <label> wrapping a visually-hidden radio (TASK-0016), so the focus ring has to come
   from :focus-within — the radio itself is off-screen and would show no outline where the user looks. */
.date:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
/* Sold out / waitlist-closed: shown for information, but not selectable. */
.date--disabled { cursor:default; opacity:.55; }
.date__label { font-family:var(--body); font-weight:600; font-size:15px; color:var(--fg); }
.date__note { font-family:var(--body); font-size:12.5px; color:var(--muted); }
.date__price { font-family:var(--display); font-weight:800; font-size:15px; color:var(--fg); text-align:right; }
.date__spots { font-family:var(--body); font-weight:600; font-size:12px; color:var(--accent); text-align:right; }
.date__spots--low { color:var(--danger); }

/* booking summary */
.summary { background:var(--input-bg); border:1px solid var(--line); border-radius:var(--r-md); padding:14px 16px; margin-bottom:18px; }
.summary--lg { padding:16px 18px; }
.summary__row {
  display:flex; justify-content:space-between; gap:12px; padding:4px 0;
  font-family:var(--body); font-size:13.5px;
}
.summary__row--total { padding:8px 0 2px; margin-top:4px; border-top:1px solid var(--line); font-size:14px; }
.summary__key { color:var(--muted); }
.summary__val { color:var(--fg); font-weight:600; text-align:right; }
.summary__val--strong { font-weight:800; font-family:var(--display); font-size:18px; }

/* form */
.form { display:flex; flex-direction:column; gap:14px; margin-bottom:16px; }
.field { display:block; }
.field__label { display:block; font-family:var(--body); font-weight:600; font-size:12.5px; color:var(--fg); margin-bottom:5px; }
.input, .textarea, .select {
  width:100%; box-sizing:border-box; font-family:var(--body); font-size:15px;
  padding:12px 13px; border:1px solid var(--line); border-radius:8px;
  background:var(--input-bg); color:var(--fg); outline:none;
}
.textarea { resize:vertical; }
.input:focus, .textarea:focus, .select:focus { border-color:var(--accent); }

.stepper {
  display:flex; align-items:center; justify-content:space-between;
  border:1px solid var(--line); border-radius:8px; padding:6px 8px 6px 14px; background:var(--input-bg);
}
.stepper__value { font-family:var(--body); font-size:15px; color:var(--fg); }
.stepper__controls { display:flex; align-items:center; gap:6px; }
.stepper__btn {
  width:34px; height:34px; border-radius:8px; border:1px solid var(--line); background:var(--surface);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-family:var(--body); font-size:18px; color:var(--fg);
}
.stepper__btn:hover { background:var(--input-bg); }
/* Real <input type=number> (TASK-0016) — the old markup held the count in a <span>, so it never
   reached the server and the total could not be computed server-side. Spinners are hidden because
   the +/- buttons already do that job. */
.stepper__input {
  font-family:var(--body); font-size:15px; color:var(--fg);
  width:64px; border:0; background:transparent; outline:none; padding:0; -moz-appearance:textfield;
}
.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.stepper__input:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }

/* Honeypot (TASK-0016). Off-screen rather than `display:none` / `type=hidden`: a bot that parses CSS
   skips hidden fields, but one that just fills every input walks straight into this. */
.hp {
  position:absolute !important; left:-9999px !important; top:auto !important;
  width:1px !important; height:1px !important; overflow:hidden !important;
}

/* Per-field validation error, rendered by the server on a 422 re-render. */
.field__error {
  display:block; font-family:var(--body); font-size:12.5px; line-height:1.45;
  color:var(--danger); margin-top:5px;
}
.field__hint {
  display:block; font-family:var(--body); font-size:12px; line-height:1.45;
  color:var(--muted); margin-top:5px;
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color:var(--danger); }

/* checkbox */
.consents { display:flex; flex-direction:column; gap:10px; margin:0 0 16px; }
.checkbox { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.checkbox__box {
  width:20px; height:20px; border-radius:4px; flex:0 0 auto;
  border:1.5px solid var(--line); background:#fff; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:13px;
}
.checkbox input { position:absolute; opacity:0; width:0; height:0; }
.checkbox input:checked + .checkbox__box { border-color:var(--accent); background:var(--accent); }
.checkbox input:checked + .checkbox__box::after { content:"✓"; }
.checkbox input:focus-visible + .checkbox__box { outline:2px solid var(--accent); outline-offset:2px; }
.checkbox__text { font-family:var(--body); font-size:13px; line-height:1.45; color:var(--muted); }

.form-note { font-family:var(--body); font-size:12.5px; line-height:1.5; color:var(--muted); text-align:center; margin:12px 0 0; }
.form-error {
  font-family:var(--body); font-size:13px; line-height:1.5; color:var(--danger);
  text-align:center; margin:10px 0 0;
  padding:10px 12px; border:1px solid var(--danger); border-radius:6px; background:rgba(176,83,46,.06);
}

/* booking success */
.success { text-align:center; padding:8px 4px; }
.success__icon {
  width:56px; height:56px; border-radius:50%; background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:28px;
  margin:0 auto 18px; font-family:var(--body);
}
.success__title { font-family:var(--display); font-weight:800; font-size:25px; margin:0 0 10px; color:var(--fg); }
.success__no {
  font-family:ui-monospace, Menlo, monospace; font-size:13px; letter-spacing:.04em;
  color:var(--accent); background:var(--input-bg); border:1px solid var(--line);
  border-radius:6px; padding:8px 12px; display:inline-block; margin:0 0 16px;
}
.success__text { font-family:var(--body); font-size:14.5px; line-height:1.6; color:var(--muted); margin:0 0 18px; }
/* Now an <a> (a real navigation back to the clean URL), not a <button> that hid a JS-faked panel. */
.success__reset { display:inline-block; font-family:var(--body); font-weight:600; font-size:14px; color:var(--accent); background:none; border:0; cursor:pointer; text-decoration:none; margin-top:6px; }
.success__reset:hover { text-decoration:underline; }

/* ================================================================== ABOUT */
.about-hero { max-width:1000px; margin:0 auto; padding:84px 44px 40px; text-align:center; }
.about-hero .eyebrow { margin-bottom:22px; }
.about-hero h1 { font-weight:800; font-size:60px; line-height:1.04; margin:0 0 26px; color:var(--fg); text-wrap:balance; }
.about-hero p { font-family:var(--body); font-size:19px; line-height:1.65; color:var(--muted); max-width:680px; margin:0 auto; }
.about-image-wrap { max-width:var(--maxw); margin:0 auto; padding:48px 44px 0; }
.about-image { width:100%; height:460px; border-radius:var(--r-lg); overflow:hidden; }
.about-image img { width:100%; height:100%; object-fit:cover; }
.about-values {
  max-width:var(--maxw); margin:0 auto; padding:72px 44px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:34px;
}
.value__title { font-family:var(--display); font-weight:800; font-size:24px; color:var(--fg); margin-bottom:10px; }
.value p { font-family:var(--body); font-size:16px; line-height:1.6; color:var(--muted); margin:0; }
.team-wrap { max-width:var(--maxw); margin:0 auto; padding:0 44px 84px; }
.team-wrap h2 { font-weight:800; font-size:38px; margin:0 0 36px; color:var(--fg); }
.team { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.team-member__photo {
  width:100%; height:320px; border-radius:14px; margin-bottom:16px; overflow:hidden;
  background:repeating-linear-gradient(45deg, #EFE4D2, #EFE4D2 10px, #E7DAC5 10px, #E7DAC5 20px);
  display:flex; align-items:center; justify-content:center;
}
.team-member__photo span { font-family:ui-monospace, Menlo, monospace; font-size:12px; color:#9c8a74; text-align:center; padding:12px; }
.team-member__name { font-family:var(--display); font-weight:800; font-size:22px; color:var(--fg); }
.team-member__role { font-family:var(--body); font-size:14px; color:var(--accent); margin-bottom:8px; }
.team-member p { font-family:var(--body); font-size:14.5px; line-height:1.55; color:var(--muted); margin:0; }

/* ================================================================== FAQ PAGE */
.faq-page { max-width:880px; margin:0 auto; padding:84px 44px 90px; }
.faq-page .eyebrow { text-align:center; margin-bottom:22px; }
.faq-page h1 { font-weight:800; font-size:54px; line-height:1.04; margin:0 0 48px; color:var(--fg); text-align:center; }
.faq-page .faq__q { font-size:19px; padding:24px 0; }
.faq-page .faq__sign { font-size:26px; }
.faq-page .faq__a { font-size:16.5px; line-height:1.7; padding:0 0 26px; max-width:700px; }
.faq-cta { text-align:center; margin-top:56px; }
.faq-cta p { font-family:var(--body); font-size:17px; color:var(--muted); margin:0 0 18px; }

/* ================================================================== CONTACT */
.contact-grid {
  max-width:var(--maxw); margin:0 auto; padding:84px 44px 90px;
  display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:start;
}
.contact-info .eyebrow { margin-bottom:22px; }
.contact-info h1 { font-weight:800; font-size:56px; line-height:1.02; margin:0 0 24px; color:var(--fg); }
.contact-info__lead { font-family:var(--body); font-size:18px; line-height:1.65; color:var(--muted); margin:0 0 40px; max-width:440px; }
.contact-details { display:flex; flex-direction:column; gap:22px; }
.contact-detail__label { font-family:var(--body); font-size:13px; color:var(--muted); margin-bottom:4px; }
.contact-detail__value { font-family:var(--display); font-weight:800; font-size:22px; color:var(--fg); text-decoration:none; }
a.contact-detail__value:hover { color:var(--accent); }
.contact-form-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:32px; }
.contact-form { display:flex; flex-direction:column; gap:14px; }
.contact-form .input, .contact-form .textarea, .contact-form .select { padding:14px; border-radius:10px; }
.contact-success { text-align:center; padding:40px 4px; }
.contact-success h3 { font-family:var(--display); font-weight:800; font-size:26px; margin:0 0 10px; color:var(--fg); }
.contact-success p { font-family:var(--body); font-size:15px; line-height:1.6; color:var(--muted); margin:0 0 20px; }

/* ================================================================== LEGAL */
.legal { max-width:820px; margin:0 auto; padding:72px 44px 90px; }
.legal .eyebrow { margin-bottom:16px; }
.legal h1 { font-weight:800; font-size:52px; line-height:1.04; margin:0 0 12px; color:var(--fg); }
.legal__meta { font-family:var(--body); font-size:14px; color:var(--muted); margin:0 0 44px; }
.legal__section { margin-bottom:30px; }
.legal__section h2 { font-weight:800; font-size:23px; margin:0 0 10px; color:var(--fg); }
.legal__section p { font-family:var(--body); font-size:16px; line-height:1.7; color:var(--muted); margin:0; }

/* ================================================================== FOOTER */
.site-footer { background:var(--dark); }
.footer-grid {
  max-width:var(--maxw); margin:0 auto; padding:64px 44px 36px;
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
}
.footer__logo { height:40px; width:auto; margin-bottom:18px; }
.footer__about { font-family:var(--body); font-size:14.5px; line-height:1.6; color:rgba(244,216,188,.6); margin:0; max-width:270px; }
.footer__heading {
  font-family:var(--body); font-weight:600; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; color:rgba(244,216,188,.74); margin-bottom:16px;
}
.footer__links { display:flex; flex-direction:column; gap:11px; }
.footer__link { font-family:var(--body); font-size:15px; color:var(--beige); text-decoration:none; }
.footer__link:hover { color:var(--accent-bright); }
.footer-bottom {
  max-width:var(--maxw); margin:0 auto; padding:0 44px 36px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:var(--body); font-size:13px; color:rgba(244,216,188,.62);
}
.footer-bottom a { color:rgba(244,216,188,.5); text-decoration:none; }
.footer-bottom a:hover { color:var(--accent-bright); }

/* ================================================================== COOKIE BANNER */
.cookie-banner {
  position:fixed; bottom:0; left:0; right:0; z-index:200;
  background:var(--dark); color:var(--beige); padding:18px 24px;
  display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap;
  box-shadow:0 -10px 40px -16px rgba(0,0,0,.4);
}
.cookie-banner[hidden] { display:none; }
.cookie-banner__text { font-family:var(--body); font-size:14px; line-height:1.5; max-width:660px; }
.cookie-banner__text a { color:var(--accent-bright); text-decoration:underline; text-underline-offset:3px; }
.cookie-banner__actions { display:flex; gap:10px; flex-shrink:0; }
.cookie-banner__btn {
  font-family:var(--body); font-weight:600; font-size:14px; cursor:pointer;
  padding:10px 18px; border-radius:var(--r-sm); border:1.5px solid rgba(244,216,188,.4);
  background:none; color:var(--beige);
}
.cookie-banner__btn--accept {
  font-weight:700; color:var(--espresso); background:var(--accent-bright); border-color:var(--accent-bright);
}

/* ================================================================== LIGHTBOX */
.lightbox {
  position:fixed; inset:0; z-index:300; background:rgba(20,8,4,.94);
  display:flex; align-items:center; justify-content:center;
}
.lightbox[hidden] { display:none; }
.lightbox__img { max-width:88vw; max-height:82vh; object-fit:contain; border-radius:4px; box-shadow:0 30px 80px -20px rgba(0,0,0,.6); }
.lightbox__btn {
  position:absolute; border:0; cursor:pointer; background:rgba(255,255,255,.14);
  color:var(--beige); border-radius:50%; display:flex; align-items:center; justify-content:center;
}
.lightbox__btn:hover { background:rgba(255,255,255,.24); color:var(--beige); }
.lightbox__close { top:20px; right:24px; width:44px; height:44px; font-size:19px; }
.lightbox__prev { left:18px; top:50%; transform:translateY(-50%); width:48px; height:48px; font-size:26px; }
.lightbox__next { right:18px; top:50%; transform:translateY(-50%); width:48px; height:48px; font-size:26px; }
.lightbox__counter {
  position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  color:var(--beige); font-family:var(--body); font-size:14px;
  background:rgba(0,0,0,.35); padding:6px 14px; border-radius:var(--r-pill);
}

/* ==========================================================================
   RESPONSIVE — hlavný breakpoint 768px (zhodné so správaním prototypu)
   ========================================================================== */
@media (max-width:768px) {
  :root { --gutter:20px; }

  .nav { padding:16px 18px; }
  .nav__links { display:none; }
  .nav__toggle { display:flex; }

  .container { padding-left:20px; padding-right:20px; }
  .section, .band-wrap, .detail-top, .gallery-wrap, .detail-body,
  .about-hero, .about-image-wrap, .about-values, .team-wrap,
  .faq-page, .contact-grid, .legal, .footer-grid, .footer-bottom { padding-left:20px; padding-right:20px; }

  h1 { font-size:40px; line-height:1.06; }
  h2 { font-size:32px; }

  .hero { height:auto; min-height:74svh; }
  .hero__inner { padding-bottom:40px; }
  .hero__title { font-size:44px; }
  .hero__intro { font-size:18px; }

  .section-head { flex-direction:column; align-items:flex-start; gap:14px; }
  .section-head h2 { font-size:34px; }

  .tours-grid, .tours-grid--page { grid-template-columns:1fr; }
  .tour-card__media { height:300px; }
  .tour-card__title { font-size:32px; }

  .band { grid-template-columns:1fr; padding:40px 26px; gap:26px; }
  .band__quote { font-size:30px; }

  .detail-head { flex-direction:column; align-items:flex-start; gap:18px; }
  .detail-head h1 { font-size:44px; }
  .detail-body { grid-template-columns:1fr; gap:44px; }
  .detail-aside { position:static; }
  .gallery { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
  .gallery__item { height:150px; }
  .gallery__item:first-child { grid-row:auto; }
  .includes { grid-template-columns:1fr; gap:28px; }

  .about-values { grid-template-columns:1fr; gap:14px; }
  .about-hero h1 { font-size:40px; }
  .team { grid-template-columns:1fr; }

  .contact-grid { grid-template-columns:1fr; gap:36px; }
  .contact-info h1 { font-size:42px; }

  .footer-grid { grid-template-columns:1fr 1fr; gap:26px 20px; }

  .legal h1, .faq-page h1 { font-size:38px; }
}

/* ── TASK-0007C: tour-detail grid overflow fix ──
   Grid children default to min-width:auto and refuse to shrink; on content-dense
   tour pages (e.g. Kolumbia) the itinerary stopped wrapping and pushed the aside
   off-screen. Allow the tracks to shrink so text wraps normally. */
.detail-body > *      { min-width: 0; }
.itinerary, .itin-day { min-width: 0; }
.itin-day > *         { min-width: 0; }
.route-controls       { min-width: 0; max-width: 100%; }

/* TASK-0013 — brand tint presets for the OSM embed (CSS filter on the iframe; works cross-origin) */
/* Leaflet route map (TASK-0014). Tint applies only to the tile pane, not the route/markers. */
.route-leaflet { height:420px; border-radius:14px; overflow:hidden; border:1px solid #EADDCB; background:#EFF3E4; z-index:0; }
.route-leaflet[data-empty] { display:flex; align-items:center; justify-content:center; }
.route-pin span { display:flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%;
  color:#F4D8BC; font-family:inherit; font-weight:700; font-size:13px; border:2px solid #FBF4EA; box-shadow:0 2px 6px rgba(42,19,11,.4); }
.osm-tint-none  .leaflet-tile-pane { filter:none; }
.osm-tint-warm  .leaflet-tile-pane { filter:sepia(0.45) saturate(1.15) hue-rotate(-8deg) brightness(1.04) contrast(0.93); }
.osm-tint-sepia .leaflet-tile-pane { filter:sepia(0.78) saturate(1.05) brightness(1.02) contrast(0.90); }
.osm-tint-olive .leaflet-tile-pane { filter:sepia(0.40) saturate(1.30) hue-rotate(22deg) brightness(1.00) contrast(0.95); }
