/* ============================================================
   Centrum MARCO — shared styles (subpages)
   ============================================================ */
:root {
  /* Type tokens (Figma text styles, desktop). Letter-spacing is Figma's % converted to px at that size. */
  --fs-body: 18px; --lh-body: 28px; --ls-body: .09px;          /* Desktop/Body Text      Ubuntu Regular 18/28 · 0.5% */
  --fs-body-sec: 16px; --lh-body-sec: 26px; --ls-body-sec: .08px; /* Desktop/Body Text Secondary 16/26 */
  --fs-h4: 20px; --lh-h4: 32px; --ls-h4: .16px;                /* Desktop/H4 Regular     20/32 */
  --fs-cta: 18px; --lh-cta: 22px; --ls-cta: .18px;             /* Desktop/CTA            Ubuntu Bold 18/22 · 1% */
  --pumpkin: #FF7400;
  --off-white: #F7F6F4;
  --off-white-sec: rgba(247, 246, 244, .5);
  --mid-teal: #4CA095;
  --light-aqua: #C4FCF0;
  --van-dyke: #402E32;
  --bole: #714940;
  --bg-neutral: #EEECE9;
  --dark-teal: #005246;
  --plum: #71405D;
  --pink: #FFABDD;
  --white: #ffffff;
  /* 2026-10 cut: "Off White Neutral" shifted to a warmer #EBE7DC */
  --off-white-neutral: #EBE7DC;
  /* Page canvas. --bg-neutral stays the TOKEN (also used as a text colour on the
     dark sections); --page-bg is only the paper behind the content, so a page can
     repaint it without recolouring text. Figma 1334:8238 sets it #EBE7DC
     ("Light/BG Neutral") across every page. */
  --page-bg: #EBE7DC;
  --page-bg-frost: rgba(235, 231, 220, .82);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* an open popup / menu / sheet: the page behind it stays put (class set by site.js); the gutter keeps the layout from jumping when the scrollbar goes */
html.is-locked, html.is-locked body { overflow: hidden; }
html.is-locked { scrollbar-gutter: stable; overscroll-behavior: none; }
.nm-dialog, .menu-overlay, .nm-card, .ma-menu { overscroll-behavior: contain; }
body {
  font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
  color: var(--van-dyke);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Full bleed: coloured bands run edge to edge, the content column inside each
   section stays at the Figma 1384px (1512 canvas − 2×64 padding) and centred. */
.frame { width: 100%; background: var(--page-bg); }

/* Shared web components render into light DOM; the custom-element wrappers
   must not interfere with their parent's flex/flow layout. */

/* Typography */
.h1 { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; }
.h2 { font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: .4px; }
.h3 { font-family: 'Ubuntu'; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: .14px; }
.kreon    { font-family: 'Kreon', Georgia, serif; }

.kreon-sb { font-family: 'Kreon', Georgia, serif; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Ubuntu'; font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .18px;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  padding: 18px 36px; white-space: nowrap; background: none; text-align: center;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn-primary { background: var(--pumpkin); color: var(--off-white); }
@media (hover: hover) { .btn-primary:hover { background: #e96a00; } }
.btn-secondary { border-color: var(--pumpkin); color: var(--pumpkin); }
@media (hover: hover) { .btn-secondary:hover { background: rgba(255,116,0,.1); } }
.btn-lg { padding: 21px 16px; }

/* News Bar */
.newsbar {
  background: var(--pumpkin); color: var(--white);
  height: 56px; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center;
}
.newsbar p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); }
.newsbar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.newsbar[hidden] { display: none !important; }   /* outside its show / hide dates (newsbar.yaml) */

/* Navbar */
.navbar {
  width: 100%; max-width: 1385px; height: 90px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 3;
}
.ham {
  border: 1px solid var(--pumpkin); border-radius: 10px;
  padding: 20px 16px; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.ham img { width: 24px; height: 24px; }
/* navbar band on pages without a photo hero */
.subpage-nav { padding: 40px 64px 0; }

/* ===================== HERO ===================== */
/* Figma "Landing Section" (504:325 PKB / 504:494 PPV / 504:722 DS /
   599:407 Aquaerobic / 599:577 Pronájmy / 605:1047 Wellness) — all six are the
   same 1512x1141 frame. 2026-09-15 redesign: the news bar now lives INSIDE that
   frame, so the navbar sits 40px (not 96) below the top of the band and the gap
   under it shrank 186 -> 158. Content column stays 768 wide. */
.sub-hero {
  position: relative; overflow: hidden;
  border-radius: 0 0 100px 100px;
  padding: 40px max(64px, (100% - 1384px) / 2) 314px;
  /* Figma draws the hero on a 1141px-tall canvas, so its 158px navbar gap and
     56px content gaps only fit a screen that tall. On a laptop the buttons fell
     below the fold (user: "je to divné a rozbité") — so both measures are
     trimmed WITH THE VIEWPORT, capped at the Figma values, exactly like the
     homepage sections. Nothing else (type, column width, the 136px headline
     block) is touched. */
  --hero-gap-top: clamp(56px, 14vh, 158px);
  --hero-gap: clamp(30px, 5.2vh, 56px);
  gap: var(--hero-gap-top);
  /* Figma's 1141px hero frame now INCLUDES the 56px news bar, which we render
     above the hero — so the band itself is 1085. */
  min-height: 1085px;
  display: flex; flex-direction: column;
  color: var(--off-white);
}
.sub-hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* Figma layer "Image Fade (Van Dyke)" (e.g. 504:384 PKB): a FLAT Van Dyke wash
   over the whole photo — not a gradient. Only its opacity differs per page, so
   each hero sets --hero-fade: PKB .5 · PPV .6 · DS .6 · Aquaerobic .4 ·
   Pronájmy .5 · Wellness .4. */
.sub-hero .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: var(--van-dyke);
  opacity: var(--hero-fade, .5);
}
.sub-hero .navbar { z-index: 3; }
/* Figma "Content" frame: 768 wide, 56px between headline block, paragraph and
   buttons. It sits 158px below the navbar (the .sub-hero gap above) — never
   pushed to the bottom of the hero. */
.hero-body {
  position: relative; z-index: 2; max-width: 768px;
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--hero-gap, 56px);
}
/* Figma "Tags" token: outlined label, Ubuntu Bold 14/20, 6% tracking, no fill */
.hero-crumb {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--off-white); color: var(--off-white); padding: 4px 8px;
  font-family: 'Ubuntu'; font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: .84px;
  /* the headline block stays EXACTLY 136px (H1 72 + 36 + tag 28) whatever the
     column gap is, so only the gaps around it breathe */
  margin-top: calc(36px - var(--hero-gap, 56px));
}
/* design order: headline first, then the audience tag beneath it */
.hero-body h1 { color: var(--off-white); order: -1; }
/* Figma keeps every hero headline on ONE line — the text node is allowed to
   overflow the 768px content column (PKB is the widest at ~805px). Honour that
   only while the hero is wide enough for it; below 1100px it wraps normally. */
@media (min-width: 1100px) { .hero-body h1 { white-space: nowrap; } }
.hero-body .hero-text {
  font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .1px;
  color: var(--off-white);
}
/* Aquaerobic (599:417) and Wellness (605:1057) set their long hero paragraph in
   the Body Text token (18/28) instead of H4 Regular (20/32). */
.hero-body .hero-text.hero-text-sm { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); }
/* Figma runs the two hero paragraphs (DS, Wellness) as ONE text block — a
   plain line break, no blank line — so cancel the 56px column gap between
   consecutive paragraphs and let them flow at their line-height. */
.hero-body .hero-text + .hero-text { margin-top: calc(var(--hero-gap, 56px) * -1); }
.hero-actions { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-actions .btn-secondary { color: var(--off-white); border-color: var(--off-white); }
@media (hover: hover) { .hero-actions .btn-secondary:hover { background: rgba(247,246,244,.15); } }

/* ===================== BENEFITS (2026-10 cut) ===================== */
/* Figma: no coloured band any more — a pumpkin H1 heading over 4 width-filling
   tilted cards, straight on the page background. The cards' lower halves tuck
   onto the dark Info section that slides up behind them. */
.benefits { padding: 156px 134px 0; position: relative; z-index: 2; }
.benefits-inner { max-width: 1245px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 78px; }
.benefits h2 { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; color: var(--pumpkin); text-align: center; }
/* Figma 1147:5895 — the cards sit EDGE TO EDGE (gap 0) so they touch at mid-height;
   the ±4° tilt then laps their top/bottom corners over the neighbours ("přes"),
   and the even cards drop ~21px for the woven zigzag. Measured 1:1 from the design:
   at the pivot row the cards just touch, overlap only grows toward the corners. */
.b-cards { display: flex; align-items: flex-start; justify-content: center; gap: 0; width: 100%; padding: 14px 0 34px; }
/* Box / Aktivita — aspect 300/420, tilted ±4°, icon top-left, text bottom-left */
.b-card {
  position: relative;
  flex: 1 1 0; min-width: 0; aspect-ratio: 300 / 420; border-radius: 20px; padding: 32px 24px 28px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
/* the raised (odd) cards sit IN FRONT of the lowered (even) ones, so the deck
   laps left-to-right like Figma, not the DOM default of later-on-top */
.b-card:nth-child(odd)  { transform: rotate(4deg); z-index: 2; }
.b-card:nth-child(even) { transform: translateY(21px) rotate(-4deg); z-index: 1; }
.b-card p { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .16px; width: 100%; }
/* benefit icons: inline glyph, tinted to the card's text colour via currentColor */
.b-icon { display: block; flex: 0 0 auto; fill: currentColor; }
.bi-splash { width: 70px; height: 48px; }
.bi-wave   { width: 52px; height: 94px; }
.bi-rocks  { width: 70px; height: 72px; }
.bi-flower { width: 70px; height: 59px; }

.bi-question{ width: 53px; height: 95px; }
.bi-bulb    { width: 85px; height: 88px; }
/* card colour variants (bg + text/icon colour) */
.bc-dteal   { background: var(--dark-teal); color: var(--light-aqua); }
.bc-teal    { background: var(--mid-teal);  color: var(--light-aqua); }
.bc-pumpkin { background: var(--pumpkin);   color: var(--off-white-neutral); }
.bc-bole    { background: var(--bole);      color: var(--pumpkin); }

/* ===================== INFO STEPS (accordion, 2026-10 cut) ===================== */
/* Figma: a van-dyke section with rounded corners that slides UP behind the
   benefit cards (-margin), then "Jak kurz probíhá?" (pumpkin H1) and a numbered
   accordion — a big faded number, a 64px off-white headline + toggle, and the
   detail text that expands. */
.info-steps {
  background: var(--van-dyke); border-radius: 60px;
  position: relative; z-index: 1; margin-top: -210px;
  padding: 366px max(64px, (100% - 1245px) / 2) 96px;
}
.info-steps > h2 { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; color: var(--pumpkin); margin-bottom: 0; }
.info-track { max-width: 1245px; margin: 0 auto; border-bottom: 1px solid rgba(235,231,220,.2); }
.istep { border-top: 1px solid rgba(235,231,220,.2); }
.istep > summary {
  list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 36px; padding: 56px 0;
}
.istep > summary::-webkit-details-marker { display: none; }
.istep-num { display: block; font-family: 'Ubuntu'; font-weight: 700; font-size: 94px; line-height: 72px; }
.istep:nth-of-type(1) .istep-num { color: rgba(196,252,240,.5); }
.istep:nth-of-type(2) .istep-num { color: rgba(235,231,220,.5); }
.istep:nth-of-type(3) .istep-num { color: rgba(76,160,149,.5); }
.istep:nth-of-type(4) .istep-num { color: rgba(255,116,0,.5); }
.istep:nth-of-type(5) .istep-num { color: rgba(196,252,240,.5); }
.istep-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; }
.istep-title { flex: 1; font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; color: var(--off-white-neutral); }
.istep-btn {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 100px; background: var(--pumpkin); margin-top: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
/* +/× are drawn from two 2px lines (not a glyph) so they sit dead-centre in the circle */
.istep-btn::before {
  content: ''; display: block; width: 14px; height: 14px;
  background: linear-gradient(var(--off-white), var(--off-white)) center / 14px 2px no-repeat, linear-gradient(var(--off-white), var(--off-white)) center / 2px 14px no-repeat;
}
.istep[open] .istep-btn::before { transform: rotate(45deg); }
.istep-body { padding: 0 0 56px; display: flex; flex-direction: column; gap: 8px; }
.istep-body p { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .16px; color: rgba(235,231,220,.5); }
/* DS keeps the dark region going into the docs section, so its Info block loses
   the bottom rounding (the docs section rounds the bottom instead). */
.info-steps.info-steps--flush { border-radius: 60px 60px 0 0; }

/* ===================== DALŠÍ AKTIVITY (floating nav, Figma 1288:6411/6441) ==== */
/* A pumpkin "DALŠÍ AKTIVITY" badge at the bottom-right of the dark Info section.
   On hover it expands to the list of activity pages: default items off-white,
   the current page pumpkin, a hovered item on a pumpkin-tint pill with a ↗. */
/* Sits at the bottom-right of the hero (Figma 970:1952 / ServicesMenu 1288:6591)
   and scrolls away with it — the darkened hero photo gives the open list enough
   contrast, so no backdrop panel (as in Figma). */
.more-activities {
  /* anchored by the badge itself, at a viewport-relative height so it stays fully
     visible on any screen; the menu floats above it (out of flow) */
  position: absolute; right: max(40px, (100% - 1384px) / 2); top: clamp(320px, 60vh, 640px); z-index: 4;
  width: 144px; height: 144px;
}
.ma-menu {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.more-activities:hover .ma-menu, .more-activities:focus-within .ma-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.ma-item {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 8px; border-radius: 12px; white-space: nowrap;
  font-family: 'Ubuntu'; font-weight: 700; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body);
  color: var(--off-white-neutral); text-shadow: 0 1px 10px rgba(0,0,0,.35);
  transition: background .2s ease, color .2s ease;
}
@media (hover: hover) { a.ma-item:hover { text-shadow: none; } }
.ma-item .ma-arrow { width: 24px; height: 24px; flex: 0 0 auto; opacity: 0; transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease; }
@media (hover: hover) { a.ma-item:hover { background: var(--accent-tertiary, #ff740033); color: var(--pumpkin); } }
@media (hover: hover) { a.ma-item:hover .ma-arrow { opacity: 1; transform: translateX(0); } }
.ma-item.ma-current { color: var(--pumpkin); }
/* the current page is a <span> with no link arrow — reserve the same 24px icon
   slot (plus the 8px flex gap) on its right so its label lines up exactly with
   the other items, which each carry an invisible arrow there (Figma 1288:6596) */
.ma-item.ma-current::after { content: ""; width: 24px; height: 24px; flex: 0 0 auto; }
.ma-sheet-head, .ma-scrim { display: none; }   /* phone bottom sheet parts, switched on in the ≤620px block */
/* activity tile in the picker rows (desktop panel + phone sheet) */
.ma-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(235,231,220,.15); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.ma-ico img { display: block; max-width: none; }
.ma-ico .i-splash { width: 26px; } .ma-ico .i-toy { width: 26px; } .ma-ico .i-rocks { width: 25.42px; } .ma-ico .i-flower { width: 26px; }
/* sea plant exactly as drawn (Figma 3022:1190): an 18.86 x 24.7 leaf fan, turned, seen through a 26 x 17.12 window (as wide as the other icons) */
.sp-clip { position: relative; display: block; flex: 0 0 auto; width: 26px; aspect-ratio: 26 / 17.117; overflow: hidden; }
.sp-clip img.i-seaplant { position: absolute; left: 17%; top: -31.84%; width: 72.56%; height: 144.3%; max-width: none; transform: rotate(-42.26deg); }   /* in % of the window, so every size crops alike */
.ma-ico.i-bubbles { display: block; }
.ma-ico.i-bubbles img { position: absolute; left: 9.04px; top: -21.57px; width: 31.59px; height: 56.18px; clip-path: inset(30.88px 0 0 0); }   /* Figma mask window 26×25.4 sits centred in the 44px tile (top 9.31) — only the lower 25.4px of the 56px art shows */
.ma-ico.t-teal { background: var(--mid-teal); } .ma-ico.t-pumpkin { background: var(--pumpkin); } .ma-ico.t-vandyke { background: var(--van-dyke); }
.ma-ico.t-dteal { background: var(--dark-teal); } .ma-ico.t-bole { background: var(--bole); } .ma-ico.t-plum { background: #71405D; }

.ma-trigger { width: 144px; height: 144px; border: 0; background: none; padding: 0; cursor: pointer; align-self: flex-end;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.28)); }
.ma-ring { display: block; width: 144px; height: 144px; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.more-activities:hover .ma-ring, .more-activities:focus-within .ma-ring { transform: rotate(22deg); }
/* Figma "DALŠÍ AKTIVITY" text ring (measured on the 144px TriggerButton, desktop 1288:6408 and
   phone 3007:1660 are identical): the glyph ink spans r42–r62, i.e. the outer edge sits 10px
   from the rim (the node's 10px padding), baseline on an r42 arc. The text starts at ~149°
   (8 o'clock) and runs 203° clockwise, so it is NOT centred on top; tracking is tightened
   (-0.45px) to match that span. */
.ma-ring-text { font-family: 'Kreon', Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: -0.45px; fill: var(--off-white-neutral); }
.ma-ring-text--m { display: none; }
@media (max-width: 620px) { .ma-ring-text--d { display: none; } .ma-ring-text--m { display: inline; } }
@media (max-width: 980px) { .more-activities { display: none; } }

/* ===================== VIDEO ===================== */
/* Figma 599:481 — the placeholder block is 1384x779 (16:9) with 78px above and
   below, and the play control is the 248px outlined glyph (599:484). */

/* ===================== TAG CLOUD (Pronájem, 2026-10 cut) ===================== */
/* Figma 1163:7060 — a pumpkin heading over a centred cloud of coloured pills,
   each a contrasting dot + Ubuntu Medium 22 label. */
.tagcloud-sec { padding: 156px 134px 0; position: relative; z-index: 2; }
/* Pronájmy's Info panel is Dark Teal (Figma 1153:6665), not Van Dyke — and the
   tag cloud's lower rows overlap onto it (the pills stay legible because their
   colours differ from the teal). The overlap is desktop-only; on narrow screens
   the cloud wraps to many rows, so the panel just sits below it. */
.tagcloud-sec + .info-steps { margin-top: 0; padding-top: 96px; background: var(--dark-teal); }
@media (min-width: 1101px) {
  .tagcloud-sec + .info-steps { margin-top: -268px; padding-top: 372px; }
}
.tagcloud-inner { max-width: 1245px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 78px; }
.tagcloud-inner > h2 { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; color: var(--pumpkin); text-align: center; }
/* Figma 1359:12204 — the tags scroll round in looping rows ("rotují dokola"):
   each row marquees horizontally, alternating direction, on an endless loop. */
.tag-cloud { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.tag-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tag-track {
  display: inline-flex; align-items: center; gap: 18px; width: max-content; padding: 2px 9px;
  animation: tag-marquee 44s linear infinite; will-change: transform;
}
.tag-track--rev { animation-direction: reverse; }
/* purely decorative: no hover-pause, no tap/click/selection reaction */
.tag-cloud, .tag-cloud * { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
@keyframes tag-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tag-track { animation: none; }
  .tag-row { -webkit-mask-image: none; mask-image: none; }
  .tag-row { overflow-x: auto; }
  .tag-cloud, .tag-cloud * { pointer-events: auto; }   /* reduced motion: the rows scroll by hand instead */
}
/* The looping marquee is MOBILE ONLY. On desktop the pills revert to the
   original scattered/tilted cloud (Figma 1153:6665): the row/track wrappers
   collapse (display:contents), the duplicate pills are hidden, and each pill
   keeps its original resting tilt. The rows list the tags in their original
   order (rows of 7 and 8), so row×child reproduces the exact old sequence. */
@media (min-width: 1101px) {
  .tag-cloud { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 18px; }
  .tag-row { display: contents; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tag-track { display: contents; animation: none; padding: 0; }
  .tag[aria-hidden="true"] { display: none; }
  .tag { transform: rotate(var(--rot, 0deg)); transform-origin: center; }
  /* the two rows hold the tags in their original order (1–7, 8–15), so the
     row × child pair reproduces the original per-pill tilt sequence */
  .tag-row:nth-child(1) .tag:nth-child(1) { --rot: -5deg; }
  .tag-row:nth-child(1) .tag:nth-child(2) { --rot:  4deg; }
  .tag-row:nth-child(1) .tag:nth-child(3) { --rot: -3deg; }
  .tag-row:nth-child(1) .tag:nth-child(4) { --rot:  6deg; }
  .tag-row:nth-child(1) .tag:nth-child(5) { --rot: -6deg; }
  .tag-row:nth-child(1) .tag:nth-child(6) { --rot:  3deg; }
  .tag-row:nth-child(1) .tag:nth-child(7) { --rot: -2deg; }
  .tag-row:nth-child(2) .tag:nth-child(1) { --rot:  5deg; }
  .tag-row:nth-child(2) .tag:nth-child(2) { --rot: -4deg; }
  .tag-row:nth-child(2) .tag:nth-child(3) { --rot:  2deg; }
  .tag-row:nth-child(2) .tag:nth-child(4) { --rot: -6deg; }
  .tag-row:nth-child(2) .tag:nth-child(5) { --rot:  4deg; }
  .tag-row:nth-child(2) .tag:nth-child(6) { --rot: -3deg; }
  .tag-row:nth-child(2) .tag:nth-child(7) { --rot:  5deg; }
  .tag-row:nth-child(2) .tag:nth-child(8) { --rot: -4deg; }
}
/* original staggered "spill in" entrance, desktop only */
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  .tag-cloud.spill .tag { opacity: 0; transform: translateY(-90px) rotate(calc(var(--rot, 0deg) - 22deg)); }
  .tag-cloud.spill.in .tag { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg));
    transition: transform .72s cubic-bezier(.34,1.56,.64,1), opacity .4s ease; transition-delay: var(--sd, 0ms); }
}
.tag {
  display: inline-flex; align-items: center; gap: 18px; border-radius: 1000px; padding: 24px 26px 24px 24px;
  font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; white-space: nowrap;
  flex: 0 0 auto;
}
.tag .dot { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; }
.tag-teal    { background: var(--mid-teal);  color: var(--off-white-neutral); }
.tag-teal    .dot { background: var(--dark-teal); }
.tag-bole    { background: var(--bole);      color: var(--off-white-neutral); }
.tag-bole    .dot { background: var(--pumpkin); }
.tag-aqua    { background: var(--light-aqua); color: var(--dark-teal); }
.tag-aqua    .dot { background: var(--mid-teal); }
.tag-pumpkin { background: var(--pumpkin);   color: var(--off-white-neutral); }
.tag-pumpkin .dot { background: var(--bole); }
.tag-vandyke { background: var(--van-dyke);  color: var(--off-white-neutral); }
.tag-vandyke .dot { background: var(--pumpkin); }

/* ===================== FULL-WIDTH IMAGE (Pronájem) ===================== */
.pron-img-sec { padding: 156px 64px; }
/* Figma 1163:6893 — a 1262×822 image on a 134px gutter (→ 1245 content column) */
.pron-img { position: relative; max-width: 1245px; margin: 0 auto; aspect-ratio: 1262 / 822; border-radius: 20px; overflow: hidden; background: #D9D9D9; }
.pron-track { position: absolute; inset: 0; }
.pron-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s ease; }
.pron-slide.is-active { opacity: 1; }
/* prev/next arrows to skip between the photos — frosted circles over the image */
.pron-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 64px; height: 64px; border-radius: 100px; border: none; cursor: pointer;
  background: rgba(247,246,244,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--van-dyke);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(64,46,50,.18);
  transition: background .2s ease, transform .15s ease; }
@media (hover: hover) { .pron-arrow:hover { background: rgba(247,246,244,.9); transform: translateY(-50%) scale(1.06); } }
.pron-prev { left: 24px; }
.pron-next { right: 24px; }
.pron-arrow svg { width: 28px; height: 28px; display: block; }

/* ===================== CAPACITY (Pronájem) ===================== */
/* Figma 774:1482 — section padding 96, a 466px plum card next to the 857px photo
   (both 666 tall), and ALL card copy is pink on plum: H4 Medium heading, Body
   Text Secondary subtitle, and the check list set in the Tags token. */

/* ===================== DS: values grid ===================== */
/* DS hero has a square bottom (values section sits flush beneath) */

/* DS values — 2×2 grid of large titled cards on the page bg, tucked under the
   dark Info section exactly like .benefits (2026-10 cut). */
.ds-values { padding: 156px 134px 0; position: relative; z-index: 2; }
.ds-values h2 { text-align: center; font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; color: var(--pumpkin); margin-bottom: 78px; }
.ds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 1245px; margin: 0 auto; }
.ds-vcard { border-radius: 20px; padding: 32px 24px 28px; min-height: 380px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.ds-vcard .v-icon { display: block; flex: 0 0 auto; }
/* Circles 1 (Figma 1153:6364): the artwork overhangs its 89×80.23 layout box (group insets -9.89% / -0.98% / -2.3% / -5.7%), so the SVG is the whole 99.85×85.59 group and negative margins keep the flow box at 89×80.23 (--k scales it for the phone cut) */
.ds-vcard .v-icon[src*="circles"] { --k: 1; width: calc(99.85px * var(--k)); height: calc(85.59px * var(--k));
  margin: calc(-.79px * var(--k)) calc(-2.05px * var(--k)) calc(-4.57px * var(--k)) calc(-8.8px * var(--k)); }
.ds-vcard .v-text { display: flex; flex-direction: column; gap: 24px; }
.ds-vcard h3 { font-family: 'Ubuntu'; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: .14px; }   /* H3 text style (28/38) */
.ds-vcard p { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .16px; }

/* ===================== DS: docs / contacts / interest (2026-10 cut) ===================== */
/* A bole section that continues the dark region (rounded only at the bottom): a
   bordered downloads card beside a filled contacts card, then a filled
   "interest" card of textlinks. */
.ds-docs { background: var(--bole); border-radius: 0 0 60px 60px; position: relative; z-index: 1;
  padding: 96px max(64px, (100% - 1245px) / 2);
  display: flex; flex-direction: column; gap: 56px; }
.ds-docs-row { display: flex; gap: 56px; align-items: stretch; }
.doc-card { flex: 1 1 0; min-width: 0; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 36px; }
.doc-card--bordered { border: 1px solid rgba(235,231,220,.2); }
.doc-card--filled { background: var(--van-dyke); }
.doc-card h2 { font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: -.2px; color: var(--off-white-neutral); margin: 0; }
.doc-card--filled h2 { color: var(--pumpkin); }
.dl-list { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.doc-dl { display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 12px;
  border: 1px solid rgba(235,231,220,.5); color: var(--off-white-neutral);
  font-family: 'Ubuntu'; font-weight: 700; font-size: 22px; line-height: 32px; letter-spacing: .176px;
  transition: background .2s ease; }
@media (hover: hover) { .doc-dl:hover { background: rgba(235,231,220,.08); } }
.doc-dl img { width: 28px; height: 28px; flex: 0 0 auto; }
.doc-contact { display: flex; flex-direction: column; gap: 36px; }
.doc-block { display: flex; flex-direction: column; gap: 8px; }
.doc-lbl { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; color: var(--pumpkin); }
.doc-val { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; color: var(--off-white-neutral); }
.doc-pay { display: flex; flex-direction: column; gap: 16px; }
.doc-pay .doc-group { display: flex; flex-direction: column; gap: 4px; }
.doc-pay p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--off-white-neutral); }
.doc-pay p strong { font-weight: 700; }
.doc-pay p.doc-lbl { font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; color: var(--pumpkin); }   /* "Platby" label — was caught by `.doc-pay p` */
.ds-docs-row .doc-card--filled { order: -1; }   /* contacts first: left on desktop, on top on the phone (Figma 1153:6597 / 1352:10784) */
.doc-interest { background: var(--van-dyke); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 36px; }
.doc-interest h2 { font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: -.2px; color: var(--pumpkin); margin: 0; }
.doc-interest-row { display: flex; flex-wrap: wrap; gap: 48px; }
.doc-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  border-bottom: 1px solid var(--off-white-neutral); color: var(--off-white-neutral);
  font-family: 'Ubuntu'; font-weight: 700; font-size: 22px; line-height: 32px; letter-spacing: .176px; }
.doc-link img { width: 24px; height: 24px; }

/* ===================== FAQ / QA (2026-10 cut, light) ===================== */
/* Figma: the QA section moved off the dark panel onto the page background —
   a van-dyke H2 with a pumpkin subtitle, then pumpkin-outlined boxes with
   van-dyke copy and a solid pumpkin +/× toggle. */
.faq { background: transparent; padding: 156px max(64px, (100% - 1384px) / 2) 96px; position: relative; z-index: 0; }
.faq-inner { max-width: 1384px; margin: 0 auto; }
.faq-head { margin-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.faq h2 { color: var(--van-dyke); font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: -.2px; margin: 0; }
.faq-sub { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .16px; color: var(--pumpkin); max-width: 620px; }
/* each QA is its own bordered box */
.faq-item { border: 1px solid rgba(255,116,0,.5); border-radius: 20px; padding: 24px; margin-bottom: 36px; }
.faq-item:last-of-type { margin-bottom: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; color: var(--van-dyke);
  font-family: 'Ubuntu'; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: -.084px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--pumpkin);
  background-image: linear-gradient(var(--off-white), var(--off-white)), linear-gradient(var(--off-white), var(--off-white));
  background-size: 14px 2px, 2px 14px; background-position: center, center; background-repeat: no-repeat;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { margin-top: 24px; padding-right: 76px; display: flex; flex-direction: column; gap: 4px; }
.faq-answer p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--van-dyke); }
/* Figma marks the outbound links only by making the span clickable; underline
   them so they can actually be found. */
.faq-answer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,116,0,.7); }
@media (hover: hover) { .faq-answer a:hover { color: var(--pumpkin); } }
/* Figma 774:1402 (Pronájem) / 1153:6768 (Aquaerobic) / 774:1569 (Wellness): on
   these pages the FAQ follows a light section, so it is a dark Van Dyke band with
   60px rounded top corners. The cards keep the SAME orange outline (no fill) as the
   light FAQ, the question + answer are off-white, and the +/× toggle is the
   half-opacity orange (Accent/Secondary), not solid pumpkin. */
.faq-dark { background: var(--van-dyke); border-radius: 60px 60px 0 0; padding-bottom: 234px; }
.faq-dark h2 { color: var(--off-white-neutral); }
.faq-dark .faq-item { background: transparent; border-color: rgba(255,116,0,.5); }
.faq-dark .faq-item summary { color: var(--off-white-neutral); }
.faq-dark .faq-item summary::after { background-color: rgba(255,116,0,.5); }
.faq-dark .faq-answer p { color: var(--off-white-neutral); }
/* When the footer sits straight under a dark section its orange wave must lap UP
   over the brown, otherwise the wave's light top shows as a strip against the dark
   band. The -78px tuck hides that (as on the homepage); the dark band carries 234px
   bottom padding so ~156px of brown still shows between the content and the wave. */
.faq-dark + .footer { margin-top: -78px; }
/* Aquaerobic & Wellness put the dark FAQ straight after the benefit cards (no
   info-steps in between), so it must tuck up UNDER the cards' lower half exactly
   like the info-steps does on the other pages — otherwise the tilted cards float
   on the light page instead of lapping onto the dark section (Figma). */
.benefits + .faq-dark { margin-top: -210px; padding-top: 372px; }

/* ===================== PHOTO NAV (gallery arrows) ===================== */

.round-btn {
  width: 80px; height: 80px; border-radius: 100px; padding: 22px; border: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--off-white-sec); transition: transform .15s ease;
}
.round-btn img { width: 36px; height: 36px; }
@media (hover: hover) { .round-btn:hover { transform: scale(1.05); } }

/* ===================== INFRASAUNA CARDS (Wellness reuse of .benefits) ===================== */

/* Ikony mají v Figmě každá svůj vlastní rámeček — nesmí se dopočítávat z výšky.
   .b-card je sloupcový flex, takže bez align-self by je `align-items: stretch`
   roztáhlo na celou šířku karty (232px) a obrázek by se zdeformoval. */

      /* 774:1619 */
   /* 643:587  */
   /* 643:592  */
      /* 468:1517 */

/* ===================== ROZVRH (schedule) ===================== */
.rozvrh-sec { padding: 78px 64px; }
.rozvrh-card {
  max-width: 1384px; margin: 0 auto; background: var(--off-white); border-radius: 28px;
  padding: 61px 70px; display: flex; flex-direction: column; gap: 56px;
}
.rozvrh-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.rozvrh-head h2 { color: var(--pumpkin); font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; }
.rozvrh-head p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: #000; }
.rozvrh-table { display: grid; grid-template-columns: 112px repeat(3, 1fr); gap: 24px; }
.rc {
  border-radius: 10px; min-height: 74px; padding: 8px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body);
}
.rc-corner { min-height: 0; }
.rc-head, .rc-day { background: var(--pumpkin); color: var(--off-white); font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .11px; }
.rc-head { min-height: 64px; }
.rc-teal  { background: var(--mid-teal); color: var(--white); }
.rc-dark  { background: var(--dark-teal); color: var(--white); }
.rc-empty { border: 1px solid var(--van-dyke); color: var(--van-dyke); }
.rc-split { padding: 0; min-height: 74px; display: flex; gap: 24px; }
.rc-split > .rc { flex: 1; }
.rc-wide { grid-column: 2 / 5; }
.rozvrh-note { display: flex; flex-direction: column; gap: 24px; }
.rozvrh-note h3 { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .11px; color: var(--van-dyke); }
.rozvrh-note .n-body { display: flex; flex-direction: column; gap: 8px; }
.rozvrh-note p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--van-dyke); }

/* ===================== CENÍK (accordion price list) ===================== */
/* Figma 774:698 — the ceník block starts 78px BELOW the navbar and keeps its own
   78px top padding, so the H2 sits 156px under the bar. */
.cenik-sec { padding: 156px 64px 78px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.cenik-sec > h2 { color: var(--pumpkin); text-align: center; font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; }
/* Virtuální prohlídka (3211:4569): the Ceník bar + H1, then a 1385px wide 16:9 white frame holding the Matterport tour */
.tour-frame { width: 100%; max-width: 1385px; aspect-ratio: 1600 / 900; background: #fff; position: relative; overflow: hidden; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* click-to-load poster: the Matterport iframe (cookies, visitor's IP) is only inserted after the click */
.tour-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-gate { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; background: linear-gradient(to top, rgba(64,46,50,.85), rgba(64,46,50,0)); }
.tour-load { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 18px 36px; background: var(--pumpkin); color: var(--off-white-neutral); font-family: 'Ubuntu'; font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .18px; cursor: pointer; transition: transform .15s ease, background .15s ease; }
@media (hover: hover) { .tour-load:hover { background: #e96a00; transform: translateY(-2px); } }
.tour-note { max-width: 640px; font-family: 'Ubuntu'; font-size: 14px; line-height: 22px; color: #EBE7DC; }
.tour-note a { color: #EBE7DC; text-decoration: underline; }
.tour-noscript { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); }
.cenik-list { width: 100%; max-width: 1384px; display: flex; flex-direction: column; gap: 36px; }
/* Figma 774:898 — frosted-white card (Light/Light50), 36px padding, 20px radius */
.cenik-item { background: rgba(255,255,255,.5); border-radius: 20px; padding: 36px; }
.cenik-item summary::-webkit-details-marker { display: none; }
.cenik-item summary::after {
  content: ''; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; margin-left: auto;
  background-color: var(--pumpkin);
  background-image: linear-gradient(var(--off-white), var(--off-white)), linear-gradient(var(--off-white), var(--off-white));
  background-size: 14px 2px, 2px 14px; background-position: center, center; background-repeat: no-repeat;
}
.cenik-item[open] summary::after { background-size: 14px 2px, 0 0; }   /* desktop: open = minus */
.cenik-body { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.pokr { color: var(--pumpkin); }   /* "POKRAČUJÍCÍ" highlight */

/* The desktop and phone ceníks are two separate blocks in the page: the
   desktop one (--d, one line per item) and the phone one (--m, Figma 1359:12355
   two-line rows). Only one is shown at a time (see the breakpoint below), so the
   desktop layout the design approved is never reshaped to fit the phone. */
.cenik-list--m { display: none; }
.cenik-list--d .cenik-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: 'Ubuntu'; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: -.084px; color: var(--van-dyke);
}
.cenik-list--d .price-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; color: var(--van-dyke);
}
.cenik-list--d .price-row .p-val { white-space: nowrap; text-align: right; }
.cenik-list--d .pr-hl { color: var(--pumpkin); }   /* Figma 993:3442: package names in the Pronájem prostor rows are orange */
/* phone block: bold title + price over a muted sub-label + unit */
.cenik-list--m .cenik-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.cenik-list--m .ci-title { font-family: 'Ubuntu'; font-weight: 500; font-size: 24px; line-height: 32px; letter-spacing: -.072px; color: var(--van-dyke); }
.cenik-list--m .ci-sub { order: 1; flex-basis: 100%; font-family: 'Ubuntu'; font-weight: 500; font-size: 20px; line-height: 28px; letter-spacing: .16px; color: rgba(64,46,50,.5); }
/* a price block (Figma 1359:12372…): a title row with the price on its right and
   a muted sub-label row with the unit on its right, 8px apart */
.cenik-list--m .pr { display: flex; flex-direction: column; gap: 8px; }
.cenik-list--m .pr-top { display: flex; align-items: flex-start; gap: 36px; font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: .144px; color: var(--van-dyke); }
.cenik-list--m .pr-title { flex: 1 1 0; min-width: 0; }
.cenik-list--m .pr-price { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.cenik-list--m .pr-price--w140 { width: min(140px, 40%); }
.cenik-list--m .pr-bot { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; font-family: 'Ubuntu'; font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: .08px; color: rgba(64,46,50,.5); }
.cenik-list--m .pr-sub--196 { width: min(196px, 58%); flex: 0 0 auto; }
.cenik-list--m .pr-sub--fill { flex: 1 1 0; min-width: 0; }
.cenik-list--m .pr-unit { margin-left: auto; text-align: right; white-space: nowrap; }
.cenik-list--m .pr-unit--w89 { width: 89px; white-space: normal; }
.cenik-list--m .pr-mute { color: rgba(64,46,50,.5); }
.cenik-list--m .pr-hl { color: var(--pumpkin); }
.cenik-list--m .price-note { font-family: 'Ubuntu'; font-weight: 400; font-size: 14px; line-height: 22px; letter-spacing: .07px; color: var(--van-dyke); }
.cenik-list--m .price-note.pn-hl { font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: .08px; color: var(--pumpkin); }
.cenik-list--m .price-notes { gap: 4px; }
.price-div { height: 1px; background: rgba(64,46,50,.15); border: none; width: 100%; }
/* disclaimer notes: Ubuntu Regular 16/26 van-dyke (Figma 774:936) */
.price-note { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--van-dyke); }
.price-notes { display: flex; flex-direction: column; gap: 4px; }
/* the standalone highlighted note (e.g. "sleva 10%"): Ubuntu Bold 18/28 pumpkin (Figma 774:924) */
.cenik-body > .price-note { font-weight: 700; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--pumpkin); }

/* ===================== FOOTER ===================== */
/* 2026-10 cut: the QA section is now light and ends the content, so the footer
   simply flows beneath it (no negative tuck under a dark panel). */
.footer {position: relative; z-index: 2; }
.footer-top { position: relative; height: 447px; }
.footer-top .top-bg { position: absolute; left: 0; top: -4.35px; width: 100%; height: 451.345px; }
.footer-top .wordmark-wrap { position: absolute; left: 0; right: 0; top: 0; width: 1384px; max-width: calc(100% - 128px); margin: 0 auto; padding: 96px 0 45px; }
.footer-top .wordmark-wrap img { width: 100%; height: auto; }
.footer-top .wordmark-wrap { pointer-events: none; }   /* decorative: on the phone it lies over the © / Návštěvní řád / Zásady links and swallowed their taps */
.footer-bottom { background: var(--pumpkin); padding: 45px max(64px, (100% - 1384px) / 2) 96px; display: flex; flex-direction: column; gap: 37px; }
.footer-content { display: flex; align-items: center; gap: 85px; }
.footer-logo { width: 200px; height: 218px; flex: 0 0 auto; }
.footer-cols { position: relative; flex: 1; height: 218px; }
.footer-cols .cols-inner { display: flex; align-items: flex-start; justify-content: space-between; height: 172px; }
.footer-divider { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { background: var(--bole); border-radius: 200px; padding: 7px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a img { width: 32px; height: 32px; }
.footer-social a.ig img { width: 24.55px; height: 24.55px; }
.footer-addr { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; height: 172px; text-align: right; }
.footer-addr .lines p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--white); }
.footer-addr .lines p.b { font-weight: 700; }
.footer-addr .mail { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--white); }
.footer-copy { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 32px; }   /* © left, the policies right */
.footer-legals { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: flex-end; }
.footer-legal { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: #EBE7DC; text-decoration: none; }   /* exactly the style of the © line */
.footer-legal:hover, .footer-legal:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
/* quieter footer on desktop: the big wordmark and the divider (the svg is already 50% → ~30% / 25% on screen) */
.footer-top .wordmark-wrap img { opacity: .6; }
.footer-divider { opacity: .5; }
/* Zásady zpracování osobních údajů: the Ceník bar + H1, then a readable column */
.legal { width: 100%; max-width: 860px; display: flex; flex-direction: column; gap: 16px; color: var(--van-dyke); font-family: 'Ubuntu'; font-size: 18px; line-height: 28px; letter-spacing: .09px; }
.legal h3 { margin-top: 28px; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: -.084px; color: var(--pumpkin); }
.legal p, .legal li { color: var(--van-dyke); }
.legal ul { display: flex; flex-direction: column; gap: 12px; padding-left: 24px; }
.legal li { list-style: disc; }
.legal b { font-weight: 700; }
.legal-poster { margin: 0 0 12px; }
.legal-poster img { display: block; width: 100%; max-width: 720px; height: auto; border-radius: 20px; background: #fff; }
.legal h4 { margin-top: 12px; font-weight: 500; font-size: 22px; line-height: 32px; color: var(--van-dyke); }
.legal ol { display: flex; flex-direction: column; gap: 12px; padding-left: 28px; }
.legal ol li { list-style: decimal; }
.legal li.sub { margin-left: 28px; list-style: circle; }
.legal-lines { line-height: 30px; }
.legal a { color: var(--pumpkin); text-decoration: underline; }
.legal-updated { font-size: 14px; line-height: 22px; color: rgba(64,46,50,.6); }
.legal-sub { font-weight: 500; font-size: 20px; line-height: 30px; letter-spacing: .16px; text-transform: none; }
.legal .legal-part { margin-top: 56px; font-size: 32px; line-height: 42px; }
.footer-copy p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--white); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  
  
  
}
/* The four width-filling benefit cards get too narrow below ~1100, so they wrap
   to a 2-up grid (and drop the tilt, whose bounding boxes would then collide).
   Once the cards wrap there is no row to tuck the dark Info section under, so
   the overlap is removed too. */
@media (max-width: 1100px) {
  .benefits { padding: 96px 32px 0; }
  .b-cards { flex-wrap: wrap; gap: 24px; padding: 0; }
  .b-card { flex: 1 1 45%; transform: none !important; aspect-ratio: auto; height: auto; min-height: 340px; }
  .info-steps { margin-top: 0; padding-top: 96px; border-radius: 40px; }
}
/* Between the tablet 2-up grid (≤1100) and the Figma canvas (1513): keep four cards in a row, but let them
   share one height and give the copy a fluid size so the row never turns ragged or the text too narrow. */
@media (min-width: 1101px) and (max-width: 1511px) {
  .benefits { padding-left: clamp(48px, 6vw, 134px); padding-right: clamp(48px, 6vw, 134px); }
  .b-cards { align-items: stretch; }
  .b-card p { font-size: clamp(17px, 1.32vw, 20px); line-height: 1.6; letter-spacing: .01em; }
}
@media (max-width: 980px) {
  .sub-hero { padding: 24px 24px 120px; gap: 64px; min-height: 720px; border-radius: 0 0 60px 60px; }
  .hero-body h1, .h1 { font-size: 44px; line-height: 50px; }
  .benefits { padding: 40px 24px; }
  
  .ds-values { padding: 64px 24px 0; }
  .ds-values h2 { font-size: 36px; line-height: 44px; margin-bottom: 48px; }
  .ds-grid { grid-template-columns: 1fr; }
  .ds-docs { padding: 64px 24px; gap: 32px; border-radius: 0 0 32px 32px; }
  .ds-docs-row { flex-direction: column; gap: 32px; }
  .doc-card h2, .doc-interest h2 { font-size: 30px; line-height: 40px; }
  .doc-interest-row { gap: 24px 32px; }
  .benefits { padding: 64px 24px 0; }
  .benefits h2 { font-size: 36px; line-height: 44px; }
  .b-card { flex-basis: 100%; }
  .tagcloud-sec { padding: 64px 24px 0; }
  .tagcloud-inner { gap: 48px; }
  .tagcloud-inner > h2 { font-size: 36px; line-height: 44px; }
  .tag { font-size: 18px; padding: 16px 20px; gap: 12px; }
  .tag .dot { width: 28px; height: 28px; }
  .pron-img-sec { padding: 64px 24px 0; }
  .info-steps { padding: 64px 24px; border-radius: 32px; }
  .info-steps > h2 { font-size: 36px; line-height: 44px; }
  .istep-num { font-size: 64px; }
  .istep > summary { gap: 20px; padding: 36px 0; }
  .istep-title { font-size: 32px; line-height: 40px; }
  .istep-btn { margin-top: 4px; }
  .istep-body { padding-bottom: 36px; }
  .faq { padding: 64px 24px; }
  .faq h2 { font-size: 32px; line-height: 42px; }
  .faq-item summary { font-size: 22px; line-height: 30px; }
  .faq-answer { padding-right: 0; }
  
  .subpage-nav { padding: 24px 24px 0; }
  .rozvrh-sec { padding: 48px 24px; }
  .rozvrh-card { padding: 40px 24px; gap: 40px; }
  .rozvrh-table { grid-template-columns: 96px 1fr; gap: 12px; }
  .rc-head { display: none; }
  .rc-wide { grid-column: 2 / 3; }
  .rc-split { flex-direction: column; gap: 12px; }
  .rozvrh-head h2, .cenik-sec > h2 { font-size: 32px; line-height: 42px; }
  .cenik-sec { padding: 48px 24px; }
  .cenik-item { padding: 24px; }
  .cenik-list--d .cenik-item summary { font-size: 22px; line-height: 30px; }
  .cenik-body { margin-top: 32px; }
  .cenik-list--d .price-row { font-size: 18px; line-height: 26px; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-cols { width: 100%; height: auto; }
  .footer-cols .cols-inner { flex-direction: column; gap: 32px; height: auto; padding-bottom: 32px; }
  .footer-addr { align-items: flex-start; text-align: left; height: auto; gap: 24px; }
  .footer-top .wordmark-wrap { max-width: calc(100% - 48px); }
  .footer-bottom { padding: 40px 24px 64px; }
}

/* ====================================================================
   DESKTOP RE-CUT (≥621px) — Web-MARCO (Claude Copy) 2026-11
   Everything here is desktop only; the phone cut below is untouched.
   ==================================================================== */
@media (min-width: 621px) {
  /* News bar (3030:3997): 62px, 20/32 Off White Neutral */
  .newsbar { height: 62px; padding: 15px 10px; color: #EBE7DC; }
  .newsbar p { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); }   /* Desktop/Body Text 18/28 */

  /* Navbar buttons (dev note "All pages"): CTA Primary Small 58px high, ham 58x58 */
  .btn-lg { padding: 17px 36px; }
  .hero-actions .btn, .hero-body .btn { padding: 17px 36px; }

  /* Tag (1244:2980): blurred pill with a 15% white outline */
  .hero-crumb { border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 5px 11px; line-height: 24px; letter-spacing: .42px;
                color: #EBE7DC; background: transparent; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }   /* Figma 1244:2967: NO fill — only the 5px background blur, a 15% white outline and Off White (#EBE7DC) text */
  .hero-body .hero-text { letter-spacing: .16px; }
  .hero-actions { gap: 24px; }
  .hero-actions .btn-secondary { border-color: #EBE7DC; color: #EBE7DC; }

  /* ---- Benefits (1147:5895): 156px/134px, 16px gaps, 300:400 cards, ±4deg, no zig-zag ---- */
  .benefits { padding-bottom: 156px; margin-bottom: -400px; }
  .b-cards { gap: 16px; align-items: center; padding: 9.82px 0; }
  .b-card { aspect-ratio: 300 / 400; }
  .b-card:nth-child(odd)  { transform: rotate(4deg); }
  .b-card:nth-child(even) { transform: rotate(-4deg); }

  /* ---- Info steps (1147:5911): 401px under the tucked-in benefits, H1 heading flush left,
     steps are 40px apart, H2 Bold 40/50 (max 1000) headlines ---- */
  .info-steps { margin-top: 0; border-radius: 60px 60px 0 0; padding: 401px max(64px, (100% - 1245px) / 2) 156px; }
  .info-steps > h2 { margin-bottom: 56px; text-align: left; }
  .info-track { display: flex; flex-direction: column; gap: 40px; border-bottom: 0; }
  .istep { border: 0; box-shadow: inset 0 -1px 0 rgba(235,231,220,.2); }   /* Figma strokes are inner: the divider lines add no height */
  .istep:first-child { box-shadow: inset 0 1px 0 rgba(235,231,220,.2), inset 0 -1px 0 rgba(235,231,220,.2); }
  .istep-head { gap: 36px; }
  .istep-title { max-width: 1000px; font-size: 40px; line-height: 50px; letter-spacing: -.2px; color: #EBE7DC; }
  .istep-btn { margin-top: 1px; }
  .istep-body { padding-bottom: 0; }
  .istep > summary { padding-bottom: 56px; }
  .istep[open] > summary { padding-bottom: 36px; }
  .istep-body { padding: 0 0 56px; }

  /* ---- FAQ (970:2086): a light panel with 60px rounded top corners, 156px paddings ---- */
  .faq:not(.faq-dark) { border-radius: 60px 60px 0 0; background: #EBE7DC; box-shadow: 0 -60px 0 0 var(--faq-behind, var(--van-dyke)); padding-bottom: 156px; }
  .faq h2 { line-height: 50px; height: 52px; }
  .faq-item { padding: 23px; }
  .benefits + .faq-dark { margin-top: 0; padding-top: 401px; }

  /* ---- DS (1153:6266 / 1153:6589): values tuck under the info steps like the benefits;
     the bole docs section has 60px rounded top corners, the light FAQ rounds over it ---- */
  .ds-values { padding: 156px 64px 156px; margin-bottom: -400px; }
  .doc-card h2, .doc-interest h2 { line-height: 50px; }
  .ds-docs { border-radius: 60px 60px 0 0; padding: 156px max(64px, (100% - 1245px) / 2); box-shadow: 0 -60px 0 0 var(--van-dyke); }
  .ds-docs + .faq { --faq-behind: var(--bole); }
  .doc-pay .doc-group { gap: 8px; }
  /* Ceník (993:3442): 288px navbar band (40 / 78), then 78px, the H1, 56px, the cards */
  .cenik-sec { padding-top: 256px; }
  /* laptop-height windows (1101-1439px wide): the list starts higher and the rows are tighter. From 1440px up the whole desktop is
     scaled to 80 % instead (desktop.css, scripts/desktop-scale.js), which gives the same effect without these overrides. */
  @media (max-width: 1439px) {
    .cenik-sec { padding-top: clamp(120px, 15dvh, 256px); gap: 40px; }
    .cenik-list { gap: 20px; }
    .cenik-item { padding: 24px 36px; }
    .cenik-body { margin-top: 36px; }
  }
  .cenik-sec.tour-sec { padding-top: 194px; }
  @media (max-width: 1439px) { .cenik-sec.tour-sec { padding-top: clamp(130px, 20dvh, 194px); } }   /* Virtuální prohlídka (3211:4569): newsbar 58 + navbar 226 + 78 → the H1 sits 66px higher than on the older Ceník cut */
  /* Rozvrh (774:725 + dev note 3050:2080): 288px navbar band, outlined day chips, 56px column heads,
     white-50 card (64px padding, 48px gap), notes max 820px */
  .rozvrh-sec { padding: 348px 64px 78px; }
  @media (max-width: 1439px) { .rozvrh-sec { padding-top: clamp(200px, 22dvh, 348px); } }   /* the heading block (114px) + 56px sit above the card, below the sticky header */
  .rozvrh-card { position: relative; background: rgba(255,255,255,.5); padding: 64px; gap: 48px; }
  /* the heading block sits OUTSIDE the card, 56px above it (Figma), without changing the markup */
  .rozvrh-head { position: absolute; left: 0; right: 0; bottom: calc(100% + 56px); gap: 16px; }
  .rozvrh-head p { font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--van-dyke); }
  .rozvrh-table { gap: 16px; grid-template-columns: 112px repeat(3, 1fr); }
  .rc { min-height: 70px; border-radius: 10px; gap: 0; }
  .rc-corner { min-height: 0; }   /* the empty corner must not stretch the 56px header row */
  .rc span:first-child { font-weight: 700; }
  .rc span + span { font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); font-weight: 400; }
  .rc-head { min-height: 56px; background: var(--pumpkin); color: #fff; font-weight: 700; font-size: 22px; line-height: 32px; letter-spacing: .176px; }
  .rc-day { min-height: 0; background: transparent; border: 1.5px solid var(--pumpkin); color: var(--pumpkin); font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; }
  .rc-empty { border: 1px solid rgba(64,46,50,.5); font-weight: 700; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); }
  .rc-span2 { grid-column: span 2; }
  .rc-dup { display: none; }   /* Figma shows Úterý's free slot as ONE cell over the afternoon + evening columns */
  .rc-split { min-height: 70px; gap: 16px; }
  .rozvrh-note { gap: 12px; max-width: 820px; }
  .rozvrh-note .n-body { gap: 12px; }
  .rozvrh-note p { font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); }
  /* Pronájmy (1163:7060): the tag cloud closes with 156px and the dark-teal info steps tuck 400px under it */
  .tagcloud-sec { padding-bottom: 156px; margin-bottom: -400px; }
  .tagcloud-sec + .info-steps { margin-top: 0; padding-top: 400px; }
  .tag-cloud { gap: 28px 18px; padding: 8.5px 0; }
  .doc-interest { padding: 36px 36px 44px; gap: 56px; }
  .doc-interest h2 { height: 52px; }
  .doc-link { padding-bottom: 0; height: 32px; }
  .doc-link img { width: 28px; height: 28px; }   /* Textlink-Icon 985:2713: 28px arrow */
  .doc-interest-row { gap: 16px 32px; }
  @media (min-width: 1200px) { .doc-interest-row { justify-content: space-between; } }   /* 5 links spread across the card (Figma 1153:6615); narrower screens wrap left-aligned */
  .info-steps.info-steps--flush { border-radius: 60px 60px 0 0; }

  /* ---- ServicesMenu "Další aktivity" (1288:6411 / 6441 / 6469) ---- */
  .ma-menu { gap: 0; padding: 12px; width: 364px; border-radius: 24px; background: rgba(64,46,50,.92); bottom: calc(100% + 36px); align-items: stretch;
             -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  /* an invisible bridge over the 36px gap between the panel and the badge, plus a short hide delay,
     so the pointer can travel up to the items without the menu closing */
  .ma-menu::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 40px; }
  .ma-menu { transition: opacity .25s ease, transform .25s ease, visibility 0s linear .35s; }
  .more-activities:hover .ma-menu, .more-activities:focus-within .ma-menu { transition-delay: 0s; }
  .ma-item { width: 340px; height: 60px; padding: 8px 16px 8px 8px; gap: 14px; border-radius: 16px; justify-content: flex-start; text-shadow: none; color: #EBE7DC; }
  .ma-item .ma-label { flex: 1 1 auto; font-weight: 700; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); text-align: left; }
  .ma-item .ma-arrow { width: 20px; height: 20px; opacity: 1; transform: none; }
  @media (hover: hover) { a.ma-item:hover { background: rgba(255,255,255,.1); color: #EBE7DC; } }
  .ma-item.ma-current { background: rgba(255,116,0,.2); color: var(--pumpkin); }
  .ma-item.ma-current::after { content: none; }
  /* Footer (1334:8423): bold links, 56px social buttons */
  .footer-nav { gap: 8px; }
  .footer-nav a, .footer-addr .mail { font-weight: 700; line-height: 22px; letter-spacing: .18px; color: #EBE7DC; }
  .footer-social { gap: 16px; }
  .footer-social a { width: 56px; height: 56px; padding: 12px; background: rgba(113,73,64,.7); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
  .footer-addr .lines p, .footer-copy p { color: #EBE7DC; }
}
/* Footer on subpages: the old markup (logo first, columns inside .footer-cols) is
   re-flowed into Figma's single row  nav | socials | address | logo  with a
   divider and the copyright below, 56px apart (1334:8423). Tablets (700px+) use the same row with a smaller logo. */
@media (min-width: 700px) {
  .footer-top { height: 451px; }
  .footer-bottom { display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; align-items: center; row-gap: 56px; padding-top: 45px; padding-bottom: 103px; }
  .footer-content, .footer-cols, .footer-cols .cols-inner { display: contents; }
  /* the link column is exactly as tall as the address block (172px): first link level with "CENTRUM MARCO", last one with the e-mail */
  .footer-nav { grid-column: 1; grid-row: 1; align-self: center; height: 172px; justify-content: space-between; }
  .footer-social { grid-column: 2; grid-row: 1; }
  .footer-addr { grid-column: 3; grid-row: 1; align-items: flex-start; text-align: left; }
  .footer-content > a { grid-column: 4; grid-row: 1; }
  /* width:1px + min-width:100% keeps these full-width rows from inflating the four tracks */
  .footer-divider { position: static; grid-column: 1 / -1; grid-row: 2; width: 1px; min-width: 100%; height: 1px; max-width: none; }
  .footer-copy { grid-column: 1 / -1; grid-row: 3; width: 1px; min-width: 100%; }
}
/* the hero stack itself: fixed Figma geometry on real desktops */
@media (min-width: 1101px) {
  .frame.has-hero > header.sub-hero {
    min-height: 1079px; gap: 0; padding: 288px max(64px, (100% - 1385px) / 2) 181px; border-radius: 0 0 100px 100px;
  }
  .hero-body { max-width: none; width: 100%; --hero-gap: 56px; }
  .hero-body .hero-text { max-width: 768px; }
  /* the badge hangs off the bottom-right of the 610px content row, 64px above its end */
  .sub-hero .more-activities { top: 690px; right: max(64px, (100% - 1385px) / 2); }
}

/* ====================================================================
   PHONE (≤620px) — the 402px mobile Figma cut (Web-MARCO, mobile frames
   1334:8236 / 1334:8569 / 1334:9591 / 1352:10118 / 1359:10997 / 1359:11568 /
   1359:12293 / 1359:12355 / 1395:12980).
   It is a separate cut from the desktop one: nothing in here applies above
   620px. The header/hero geometry (sticky burger + CTA, hero padding 224/243)
   lives in site.js next to the rules it overrides.
   ==================================================================== */
.pron-dots { display: none; }
.m-only-i { display: none; }   /* phone-only inline copy variant */
.rz-m { display: none; }   /* phone schedule, shown in the ≤620px block */
.mbr { display: none; }   /* phone-only forced line break (Figma wraps some questions by hand) */

@media (max-width: 620px) {
  /* Figma is drawn at 402px: the 36/44 headlines scale down with the viewport on
     narrower phones (exactly 36/44 from 402px up) so a long word never forces a
     sideways scroll; overflow-x:clip is the safety net (clip keeps sticky working). */
  :root { --m-h1: clamp(24px, 7.46vw, 30px); --m-h1-lh: calc(var(--m-h1) * 1.2667); }   /* Mobile/H1 30/38 (2026-11) */
  html, body { overflow-x: clip; }
  /* news bar on every page (2026-11-18): same 12px 16px / 16/24 strip as the homepage */
  .newsbar { display: flex; height: auto; padding: 12px 16px; color: #fff; }
  .newsbar p { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .d-only-i { display: none; }

  /* ---- burger + CTA (Figma HamMenu / CTA Large) ---- */
  /* 48×52 burger and a 52px CTA — the 1px borders count inside the box (Figma strokes are inner) */
  .ham { padding: 11px; border-radius: 10px; }
  .navbar .brand { display: none; }
  .btn { font-size: 16px; line-height: 20px; letter-spacing: 0; padding: 13px 15px; border-radius: 10px; gap: 6px; }
  .btn-primary { color: var(--off-white-neutral); }
  .btn-lg { padding: 13px 15px; border-radius: 12px; }
  .cta-arrow { width: 20px; height: 20px; }

  /* ---- Sub-page hero (e.g. 1334:8571): H1 36/44, a tag, 18/28 copy, two CTAs ---- */
  .sub-hero { padding-left: 16px; padding-right: 16px; gap: 0; border-radius: 0 0 20px 20px; --hero-gap: 32px; }
  
  .sub-hero .hero-overlay { opacity: var(--m-hero-fade, .8); }
  .sub-hero .hero-bg { object-position: var(--m-hero-pos, 50% 50%); filter: brightness(var(--m-hero-bright, 1)); }
  .hero-body { max-width: none; gap: 32px; }
  .hero-body h1, .h1 { overflow-wrap: anywhere; font-size: var(--m-h1); line-height: var(--m-h1-lh); color: var(--off-white-neutral); }
  .hero-crumb {
    margin-top: -12px; padding: 5px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: transparent;
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    color: var(--off-white-neutral); font-size: 14px; line-height: 24px; letter-spacing: .42px;
  }
  .hero-body .hero-text, .hero-body .hero-text.hero-text-sm {
    font-size: 16px; line-height: 24px; letter-spacing: .08px; color: var(--off-white-neutral);
  }
  .hero-body h1, .hero-body .hero-text { text-shadow: 0 1px 10px rgba(64,46,50,.55); }   /* keeps the copy readable on busy photos */
  .hero-actions { gap: 10px; flex-wrap: wrap; }
  .hero-actions .btn { white-space: nowrap; border-radius: 10px; }
  .hero-actions .btn-secondary { color: var(--off-white-neutral); border-color: var(--off-white-neutral); }

  /* ---- Benefits (1334:9304): four 322×244 boxes, ±4° alternately (the first
     one leans left), each wrapper 265.9 tall and overlapping the next by 12px;
     the coloured boxes keep the icon on top and the copy at the bottom ---- */
  .benefits { padding: 56px 40px; }
  .benefits-inner { max-width: none; gap: 32px; align-items: stretch; }
  .benefits h2 { font-size: var(--m-h1); line-height: var(--m-h1-lh); text-align: center; }
  .b-cards { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0; width: 100%; }
  .b-card {
    aspect-ratio: auto; flex: 0 0 auto; width: 100%; height: auto; min-width: 0; min-height: 244px;   /* grows if a narrow phone wraps the copy onto more lines */
    padding: 32px 24px 28px; border-radius: 20px; justify-content: space-between;
    margin: 10.93px 0 -1.07px;
  }
  .b-card:last-child { margin-bottom: 10.93px; }
  /* !important: the ≤1100px tablet rule above resets the tilt the same way */
  .b-card:nth-child(odd)  { transform: rotate(-4deg) !important; z-index: auto; }
  .b-card:nth-child(even) { transform: rotate(4deg) !important;  z-index: auto; }
  .b-card p { font-size: 18px; line-height: 28px; letter-spacing: .144px; }
  .bi-splash { width: 58px; height: 40.15px; }
  .bi-wave   { width: 35.17px; height: 63.35px; }
  .bi-rocks  { width: 47.44px; height: 48.53px; }
  .bi-flower { width: 60.62px; height: 50.86px; }
  /* light-aqua 2nd box on phones (desktop keeps mid-teal) */
  .bc-teal { background: var(--light-aqua); color: var(--dark-teal); }

  /* ---- Dětská skupina values (1352:10373, 2026-11-18): 322×360 boxes, 22/30 title + 16/24 copy, 12px apart inside, ±4° ---- */
  .ds-values { padding: 56px 40px; }
  .ds-values h2 { font-size: var(--m-h1); line-height: var(--m-h1-lh); margin-bottom: 32px; }
  .ds-grid { display: flex; flex-direction: column; gap: 0; max-width: none; }
  .ds-vcard {
    width: 100%; height: 360px; min-height: 0; padding: 32px 24px 28px; border-radius: 20px;
    justify-content: space-between; margin: 10.74px 0 -1.26px;
  }
  .ds-vcard:last-child { margin-bottom: 10.74px; }
  .ds-vcard:nth-child(odd)  { transform: rotate(-4deg); }
  .ds-vcard:nth-child(even) { transform: rotate(4deg); }
  .ds-vcard .v-text { gap: 12px; width: 100%; margin-right: 0; }
  .ds-vcard h3 { font-size: 22px; line-height: 30px; letter-spacing: -.066px; }
  .ds-vcard p { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .ds-vcard .v-icon[src*="circles"] { --k: .7079; }   /* Figma 1352:10838: 63 × 56.79 */
  .ds-vcard .v-icon[src*="flower3"] { width: 68px; height: 57px; }
  .ds-vcard .v-icon[src*="tulip"]   { width: 46px; height: 59.08px; }
  .ds-vcard .v-icon[src*="rainbow"] { width: 89px; height: 49.01px; }

  /* ---- Info steps (1334:9383): the dark panel climbs 243px behind the last box;
     a 56px number, a 36/44 headline with a 28px toggle, 18/28 detail copy ---- */
  .info-steps { margin-top: -243px; padding: 243px 40px 56px; border-radius: 20px 20px 0 0; }
  .info-steps.info-steps--flush { border-radius: 20px 20px 0 0; }
  .info-steps > h2 { font-size: var(--m-h1); line-height: var(--m-h1-lh); margin-bottom: 32px; }
  .info-track { max-width: none; border-bottom: 0; display: flex; flex-direction: column; gap: 32px; }
  .istep { border: 0; box-shadow: inset 0 -1px 0 rgba(235,231,220,.2); }
  .istep:first-child { box-shadow: inset 0 1px 0 rgba(235,231,220,.2), inset 0 -1px 0 rgba(235,231,220,.2); }
  .istep > summary { gap: 36px; padding: 32px 0; }
  .istep[open] > summary { gap: 32px; }
  .istep-num { font-size: 56px; line-height: 56px; }
  .istep:nth-of-type(2) .istep-num { color: var(--bole); }
  .istep-head { gap: 12px; }
  .istep-title { font-size: 26px; line-height: 34px; letter-spacing: -.13px; min-width: 0; overflow-wrap: anywhere; }   /* Mobile/H2 Bold */
  .istep-btn { width: 28px; height: 28px; margin-top: 0; }
  /* +/× are drawn from two 2px lines (not a glyph) so they sit dead-centre in the circle */
  .istep-btn::before, .istep[open] .istep-btn::before {
    content: ''; display: block; width: 12px; height: 12px; font-size: 0;
    background: linear-gradient(var(--off-white), var(--off-white)) center / 12px 2px no-repeat,
                linear-gradient(var(--off-white), var(--off-white)) center / 2px 12px no-repeat;
  }
  .istep[open] .istep-btn::before { transform: rotate(45deg); }
  .istep-body { padding: 0 0 32px; gap: 8px; }
  .istep-body p { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  /* the day-at-school steps (DS, 1352:10487) use the 16/24 body copy */
  .info-steps--flush .istep-body p { font-size: 16px; line-height: 24px; letter-spacing: .08px; }

  /* ---- Dětská skupina docs (1352:10782): bole panel, contact card first ---- */
  .ds-docs { padding: 56px 40px; gap: 16px; border-radius: 20px 20px 0 0; box-shadow: 0 -20px 0 0 var(--van-dyke); }
  .ds-docs-row { flex-direction: column; gap: 16px; }
  .doc-card { padding: 20px; gap: 32px; border-radius: 20px; }
  .doc-card--bordered { padding: 19px; }
  .doc-card h2, .doc-interest h2 { font-size: 26px; line-height: 34px; letter-spacing: -.13px; }
  .doc-contact { gap: 32px; }
  .doc-lbl, .doc-val { font-size: 18px; line-height: 26px; letter-spacing: .144px; }
  .doc-pay { gap: 8px; }
  .doc-pay .doc-group { gap: 8px; }
  .doc-pay p { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .doc-pay .sp { font-size: 18px; line-height: 28px; }   /* Figma's separating space is 18/28, which makes those lines 28px tall */
  .doc-pay p.doc-lbl { font-size: 18px; line-height: 26px; letter-spacing: .144px; }
  .dl-list { flex-direction: column; align-items: flex-start; gap: 16px; }
  .doc-dl {
    height: auto; min-width: 163px; max-width: 100%; padding: 11px 9px; gap: 10px; border-radius: 0;
    border: 1px solid rgba(235,231,220,.5); font-size: 18px; line-height: 26px; letter-spacing: .144px;
  }
  .doc-dl img { width: 24px; height: 24px; }
  .doc-interest { padding: 20px; gap: 32px; border-radius: 20px; }
  .doc-interest-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .doc-link { gap: 6px; padding-bottom: 0; height: 32px; font-size: 18px; line-height: 26px; letter-spacing: .144px; }

  /* ---- Tag marquee (1359:12141): two looping rows of ±4° pills, the lower
     row running onto the teal panel that climbs 180px behind it ---- */
  .tagcloud-sec { padding: 56px 0; }
  .tagcloud-inner { max-width: none; gap: 32px; }
  .tagcloud-inner > h2 { font-size: var(--m-h1); line-height: var(--m-h1-lh); }
  .tag-cloud { height: 201px; justify-content: center; gap: 0; }
  .tag-row { -webkit-mask-image: none; mask-image: none; overflow: hidden; }
  .tag-track { gap: 0; padding: 0; }
  .tag {
    padding: 18px 20px 18px 18px; gap: 10px; font-size: 20px; line-height: 28px; letter-spacing: .16px;
    margin: 8px -6px 8px 0; transform: rotate(var(--mrot, 0deg));
  }
  .tag .dot { width: 28px; height: 28px; }
  .tag-row:nth-child(2) .tag:nth-child(1), .tag-row:nth-child(2) .tag:nth-child(9) {
    background: var(--van-dyke); color: var(--off-white-neutral);
  }
  .tag-row:nth-child(2) .tag:nth-child(1) .dot, .tag-row:nth-child(2) .tag:nth-child(9) .dot { background: var(--pumpkin); }
  .tagcloud-sec + .info-steps { margin-top: -180px; padding-top: 180px; background: var(--dark-teal); }
  .tagcloud-sec + .info-steps .istep:nth-of-type(2) .istep-num { color: rgba(255,116,0,.5); }

  /* ---- Pronájem photo (1359:12267): light panel, 370×282 photo, dots ---- */
  .pron-img-sec { padding: 56px 16px; background: var(--page-bg); border-radius: 20px 20px 0 0; position: relative; z-index: 2;
    box-shadow: 0 -20px 0 0 var(--dark-teal); }
  .pron-img { max-width: none; aspect-ratio: 370 / 282; border-radius: 20px; }
  .pron-arrow { display: none; }
  .pron-dots { display: flex; gap: 6px; align-items: center; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; }
  .pron-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 1000px; background: rgba(255,255,255,.5); cursor: pointer; }
  .pron-dot.is-active { width: 12px; height: 12px; background: #fff; }

  /* ---- FAQ (1334:9529 light / 1359:11779 dark): 28/36 heading, 20/28 questions,
     16/24 answers in 20px-radius outlined boxes, 28px solid-pumpkin toggle ---- */
  .faq { padding: 56px 16px; background: var(--page-bg); border-radius: 20px 20px 0 0; position: relative; z-index: 2;
    box-shadow: 0 -20px 0 0 var(--faq-behind, var(--van-dyke)); }
  .ds-docs + .faq { --faq-behind: var(--bole); }
  .faq-inner { max-width: none; }
  .faq-head { gap: 16px; margin-bottom: 32px; }
  .faq h2 { font-size: 26px; line-height: 34px; letter-spacing: -.13px; height: auto; }
  .mbr { display: inline; }
  .faq-sub { font-size: 16px; line-height: 24px; letter-spacing: .08px; max-width: none; }
  .faq-item { padding: 19px; margin-bottom: 20px; border-radius: 20px; }
  .faq-item summary { gap: 12px; font-size: 18px; line-height: 26px; letter-spacing: .144px; }
  .faq .faq-item summary::after, .faq .faq-item[open] summary::after, .cenik-item summary::after, .cenik-item[open] summary::after {
    content: ''; width: 28px; height: 28px; font-size: 0;
    background-image: linear-gradient(var(--off-white), var(--off-white)), linear-gradient(var(--off-white), var(--off-white));
    background-size: 12px 2px, 2px 12px; background-position: center, center; background-repeat: no-repeat;
  }
  .faq .faq-item[open] summary::after, .cenik-item[open] summary::after { transform: rotate(45deg); }
  .faq-answer { margin-top: 16px; padding-right: 0; gap: 8px; }
  .faq-answer p { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .faq-item--lg .faq-answer p { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); }   /* Figma sets this one answer larger (1359:11803) */
  .faq-dark { background: var(--van-dyke); border-radius: 20px 20px 0 0; padding-bottom: 56px; box-shadow: none; }
  .faq-dark .faq-item summary::after { background-color: var(--pumpkin); }
  .benefits + .faq-dark { margin-top: -243px; padding-top: 243px; z-index: 1; }   /* under the benefit cards (z 2) */
  .faq-dark + .footer { margin-top: 0; }

  /* ---- Footer (1334:8752): beige strip with the mobile wave, one orange block
     667px tall — nav, socials, address, the figure bottom-right, a rule, the
     copyright and the big MARCO wordmark flush with the bottom edge ---- */
  .footer { background: var(--footer-behind, var(--page-bg)); }
  .faq-dark + .footer { --footer-behind: var(--van-dyke); }
  .footer-top { position: static; height: 100px; overflow: visible;
    background: url('assets/footer-top-bg-m.svg') no-repeat left top / 100% 200px; }
  .footer-top .top-bg { display: none; }
  .footer-top .wordmark-wrap { position: absolute; left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-width: none; margin: 0; padding: 0; z-index: 1; }
  .footer-top .wordmark-wrap img { opacity: .32; }   /* the svg is already 50% → 16% like the Figma wordmark */
  .footer-bottom { min-height: 668px; padding: 1px 16px 0; gap: 36px; margin-top: -1px; }
  .footer-content { flex-direction: row; align-items: stretch; justify-content: space-between; gap: 16px; height: 448px; }
  .footer-cols { order: 1; flex: 1 1 auto; height: auto; }
  .footer-cols .cols-inner { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; height: auto; padding-bottom: 0; }
  .footer-content > a { order: 2; align-self: flex-end; flex: 0 0 auto; }
  .footer-logo { width: 70px; height: 77px; }
  .footer-nav { gap: 12px; }
  .footer-nav a { font-weight: 700; font-size: 16px; line-height: 20px; letter-spacing: .16px; color: var(--off-white-neutral); }
  .footer-social { gap: 16px; padding: 40px 0; }
  .footer-social a { width: 48px; height: 48px; padding: 8px 12px; background: rgba(113,73,64,.7);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
  .footer-social a img { width: 24px; height: 32px; }
  .footer-social a.ig img { width: 24.55px; height: 24.55px; }
  .footer-addr { height: 172px; align-items: flex-start; justify-content: space-between; text-align: left; gap: 0; }
  .footer-addr .lines p { font-size: 16px; line-height: 24px; letter-spacing: .08px; color: var(--off-white-neutral); }
  .footer-addr .mail { font-weight: 700; font-size: 16px; line-height: 20px; letter-spacing: .16px; color: var(--off-white-neutral); }
  .footer-divider { display: none; }
  .footer-copy { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; border-top: 1px solid rgba(235,231,220,.2); padding-top: 36px; }
  .footer-legals { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal { font-size: 16px; line-height: 24px; letter-spacing: .08px; color: #EBE7DC; }   /* phone: the same Off White as the © line */
  .footer-copy p { font-size: 16px; line-height: 24px; letter-spacing: .08px; color: var(--off-white-neutral); }

  /* ---- Ceník page (1359:12293 / 1359:12355): the burger/CTA bar is 224px tall,
     "Ceník" 36/44 centred, cards radius 10 on frosted white, and a dedicated
     phone price list (two-row prices) in place of the desktop one ---- */
  .subpage-nav { padding: 0; }
  .cenik-sec { padding: 62px 16px 56px; gap: 32px; }   /* 96px sticky header + 62 = the 158px Figma bar (navbar padding-bottom 78, 2026-11) */
  .cenik-sec > h2 { font-size: var(--m-h1); line-height: var(--m-h1-lh); }
  .tour-frame { aspect-ratio: 3 / 4; border-radius: 12px; }   /* no phone Figma yet: a portrait frame so the tour is big enough to use */
  .cenik-list { gap: 16px; }
  .cenik-list--d { display: none; }
  .cenik-list--m { display: flex; }
  .cenik-item { padding: 20px; border-radius: 10px; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
  .cenik-body { margin-top: 32px; gap: 12px; }
  .cenik-list--m .ci-title { font-size: 22px; line-height: 30px; letter-spacing: -.066px; }
  .cenik-list--m .ci-sub { font-size: 18px; line-height: 26px; letter-spacing: .144px; color: rgba(64,46,50,.5); font-weight: 500; }
  /* Figma draws the hairlines as 0-height strokes between two 12px gaps */
  .cenik-list--m .price-div { height: 1px; margin-bottom: -1px; background: rgba(64,46,50,.15); }

  /* ---- Rozvrh mobile page (3009:1688): day chips + the selected day, grouped by part of the day ---- */
  .rozvrh-sec { display: none; }
  .m-only-i { display: inline; }
  .d-only-i { display: none; }
  .rz-m { display: flex; flex-direction: column; gap: 32px; padding: 62px 16px 56px; }
  .rz-m-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .rz-m-head h2 { font-family: 'Ubuntu'; font-weight: 700; font-size: 30px; line-height: 38px; color: var(--pumpkin); }
  .rz-m-head p { font-size: 14px; line-height: 22px; letter-spacing: .07px; color: var(--van-dyke); }
  .rz-m-card { display: flex; flex-direction: column; gap: 24px; padding: 20px 16px; border-radius: 20px; background: rgba(255,255,255,.5); }
  .rz-days { display: flex; gap: 4px; }
  .rz-daychip { flex: 1 1 0; min-width: 0; height: 48px; border: 1.5px solid var(--pumpkin); border-radius: 10px; background: transparent; cursor: pointer;
                font-family: 'Ubuntu'; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: .08px; color: var(--pumpkin); }
  .rz-daychip.is-selected { background: var(--pumpkin); color: #fff; }
  .rz-day-body { display: flex; flex-direction: column; gap: 20px; }
  .rz-day-body h3 { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 30px; letter-spacing: -.066px; color: var(--van-dyke); }
  .rz-part { display: flex; flex-direction: column; gap: 8px; }
  .rz-part-t { font-family: 'Ubuntu'; font-weight: 700; font-size: 14px; line-height: 24px; letter-spacing: .42px; color: var(--pumpkin); }
  .rz-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; color: #fff;
              font-family: 'Ubuntu'; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .rz-entry .rz-time { font-weight: 400; font-size: 14px; line-height: 22px; letter-spacing: .07px; white-space: nowrap; }
  .rz-t { background: var(--mid-teal); }
  .rz-a { background: var(--dark-teal); }
  .rz-f { background: rgba(255,255,255,.6); border: 1px solid rgba(64,46,50,.5); color: var(--van-dyke); }
  .rz-m-notes { display: flex; flex-direction: column; gap: 12px; color: var(--van-dyke); }
  .rz-m-notes h3 { font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: .144px; }
  .rz-m-notes p { font-size: 14px; line-height: 22px; letter-spacing: .07px; }

  /* ---- "Další aktivity" badge (3007:1660) + bottom sheet (3007:1087) ---- */
  .more-activities { display: block; position: absolute; left: auto; right: 16px; top: auto; bottom: 34px; bottom: calc(34px - var(--dip, 0px) + var(--bar, 0px) + var(--under, 0px)); width: 104px; height: 104px; z-index: auto; }   /* hero overshoots the viewport by 24px, hence bottom 10+24 (10px above the fold, lower than Figma\'s 36 so it sits nearer the bottom while still clear of the toolbar); no stacking context, so the fixed sheet can sit above the scrim */
  html.ios-float { --dip: 24px; }   /* iOS 26 Safari: the badge may overlap the floating toolbar a little */
  .ma-trigger, .ma-ring { width: 104px; height: 104px; }
  .ma-trigger { filter: none; position: relative; z-index: 2; }   /* above the .hero-overlay wash (z 1) — the wrapper itself stays z-index:auto */
  .ma-scrim { display: block; position: fixed; inset: 0; z-index: 1250; background: rgba(64,46,50,.6); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
  .ma-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .ma-menu { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; z-index: 1300; display: flex; flex-direction: column; gap: 4px; align-items: stretch;
             padding: 10px 16px 34px; background: #402E32; border-radius: 28px 28px 0 0; opacity: 1; visibility: hidden; transform: translateY(100%); pointer-events: none; max-height: calc(100dvh - 16px); overflow-y: auto;
             transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s linear .3s; }
  .more-activities:hover .ma-menu, .more-activities:focus-within .ma-menu { visibility: hidden; transform: translateY(100%); pointer-events: none; }
  .more-activities.is-open .ma-menu { visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .ma-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 4px 8px; margin-bottom: 8px; }
  .ma-sheet-head span { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 30px; letter-spacing: -.066px; color: #EBE7DC; }
  .ma-sheet-close { width: 48px; height: 48px; padding: 11px; border: 1px solid #EBE7DC; border-radius: 10px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .ma-sheet-close svg { width: 24px; height: 24px; display: block; }
  .ma-item { display: flex; align-items: center; justify-content: flex-start; width: 100%; height: 60px; padding: 8px 16px 8px 8px; gap: 14px; border-radius: 16px; color: #EBE7DC; text-shadow: none; }
  .ma-item .ma-label { flex: 1 1 auto; font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: .144px; text-align: left; }
  .ma-item .ma-arrow { width: 20px; height: 20px; opacity: 1; transform: none; }
  @media (hover: hover) { a.ma-item:hover { background: rgba(255,255,255,.1); color: #EBE7DC; } }
  .ma-item.ma-current { background: rgba(255,116,0,.2); color: var(--pumpkin); }
  .ma-item.ma-current::after { content: none; }
}

/* ---- Rozvrh on tablets (621–1100px): the 1384px week table has no Figma cut between desktop and the phone's
   day-chip page, so it just compresses — narrower side margins, a 72px day column, smaller copy — until it
   fits without sideways scroll. ---- */
@media (min-width: 621px) and (max-width: 1100px) {
  .rozvrh-sec { padding-left: 24px; padding-right: 24px; }
  .rozvrh-card { padding: 24px; gap: 32px; }
  .rozvrh-table { grid-template-columns: 72px repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rc { min-width: 0; padding: 8px 6px; font-size: 14px; line-height: 20px; letter-spacing: .07px; }
  .rc span + span { font-size: 13px; line-height: 20px; }
  .rc-head, .rc-day { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .rc-head { display: flex; }   /* the ≤980px rules hide the column heads for a 2-col layout we no longer use */
  .rc-wide { grid-column: 2 / 5; }
  .rc-split { flex-direction: row; gap: 8px; min-height: 70px; }
}


/* ---- "Další aktivity" on tablets (621–1100px, portrait iPad included): touch screens have no hover, so the badge gets the
   phone's bottom sheet (same markup, same site.js toggle), pinned to the hero's bottom-right corner, a bit larger, with the
   sheet centred at a readable width. ---- */
@media (min-width: 621px) and (max-width: 1100px) {
  .more-activities { display: block; position: absolute; left: auto; right: var(--f-gx); top: auto; bottom: 72px; width: 120px; height: 120px; z-index: auto; }
  .frame.has-hero > header.sub-hero { padding-bottom: 208px; }   /* 208 = badge 120 + its 72px offset + 16px air: on a short landscape phone the badge must not sit on the hero buttons */
  .ma-trigger, .ma-ring { width: 120px; height: 120px; }
  .ma-trigger { filter: none; position: relative; z-index: 2; }
  .ma-scrim { display: block; position: fixed; inset: 0; z-index: 1250; background: rgba(64,46,50,.6); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
  .ma-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .ma-menu { position: fixed; left: 0; right: 0; margin: 0 auto; bottom: 0; top: auto; width: min(560px, 100%); z-index: 1300; display: flex; flex-direction: column; gap: 4px; align-items: stretch;
             padding: 12px 20px 36px; background: #402E32; border-radius: 28px 28px 0 0; opacity: 1; visibility: hidden; transform: translateY(100%); pointer-events: none; max-height: calc(100dvh - 16px); overflow-y: auto;
             transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s linear .3s; }
  .ma-menu::after { content: none; }
  .more-activities:hover .ma-menu, .more-activities:focus-within .ma-menu { visibility: hidden; transform: translateY(100%); pointer-events: none; }
  .more-activities.is-open .ma-menu { visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .ma-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 4px 8px; margin-bottom: 8px; }
  .ma-sheet-head span { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 30px; letter-spacing: -.066px; color: #EBE7DC; }
  .ma-sheet-close { width: 48px; height: 48px; padding: 11px; border: 1px solid #EBE7DC; border-radius: 10px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .ma-sheet-close svg { width: 24px; height: 24px; display: block; }
  .ma-item { display: flex; align-items: center; justify-content: flex-start; width: 100%; height: 60px; padding: 8px 16px 8px 8px; gap: 14px; border-radius: 16px; color: #EBE7DC; text-shadow: none; }
  .ma-item .ma-label { flex: 1 1 auto; font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: .144px; text-align: left; }
  .ma-item .ma-arrow { width: 20px; height: 20px; opacity: 1; transform: none; }
  @media (hover: hover) { a.ma-item:hover { background: rgba(255,255,255,.1); color: #EBE7DC; } }
  .ma-item.ma-current { background: rgba(255,116,0,.2); color: var(--pumpkin); }
  .ma-item.ma-current::after { content: none; }
}

/* ---- Benefit / value cards on tablets (621–1100px): the desktop 300:400 ratio made the 2-up cards 560px tall at 1024 (stretched).
   Let them be as tall as their content needs (about square) and tuck the dark section only ~40% up the second row. ---- */
@media (min-width: 621px) and (max-width: 1100px) {
  .b-card { aspect-ratio: auto; min-height: clamp(300px, 34vw, 380px); }
  .benefits, .ds-values { margin-bottom: -290px; }
  .benefits + .info-steps, .benefits + .faq-dark, .ds-values + .info-steps { padding-top: 291px; margin-top: 0; }
}

/* ===================== TABLET POLISH (700–980px, 2026-11-20) =====================
   Figma has no tablet cut, so these keep the desktop structure where a stacked phone-style column would waste the width. */
@media (min-width: 621px) and (max-width: 980px) {
  .sub-hero, .cenik-sec, .rozvrh-sec { padding-left: var(--f-gx); padding-right: var(--f-gx); }
  /* Pronájem: desktop tucks the dark section 400px under the tag cloud, which only works for its 3-4 tall rows; with the
     2 short tablet rows the edge landed on the heading. 250px puts it across the middle of the cloud, as on desktop. */
  .tagcloud-sec { margin-bottom: -250px; }
  .tagcloud-sec + .info-steps { padding-top: 250px; }
  .faq { padding-bottom: 156px; }   /* the footer is pulled 78px up into the FAQ and its wave crest rises further; 156px leaves a clear gap under the last question */   /* 24px was tight next to the 39-61px gutters below it */
}
@media (min-width: 700px) and (max-width: 980px) {
  .footer-logo { width: 150px; height: auto; }
  .b-card { flex: 1 1 45%; }                                   /* 2 × 2 benefit cards instead of one long column */
  .ds-grid { grid-template-columns: 1fr 1fr; gap: 24px; }     /* 2 × 2 value cards (Dětská skupina) */
  .ds-vcard { min-height: 0; }
}
/* the footer wave is a fixed 447px tall on desktop; on tablets it follows the (narrower) wordmark so no empty orange band opens up
   (96px above + 45px below the wordmark; the wordmark is 100vw − 48px wide up to 900px, 100vw − 128px above, aspect .2211) */
@media (min-width: 700px) and (max-width: 900px) { .footer-top { height: calc(141px + (100vw - 48px) * .2211); } }
@media (min-width: 901px) and (max-width: 1383px) { .footer-top { height: calc(141px + (100vw - 128px) * .2211); } }
/* the calc() height is fractional: overlap by 1px so no sub-pixel seam shows between the wave and the footer body */
@media (min-width: 700px) and (max-width: 1383px) { .footer-bottom { margin-top: -1px; padding-top: 46px; position: relative; } }

/* ===== Desktop wider than the 1512px Figma canvas: 64px side gutters at every width, content stretches =====
   (2026-11-21) The coloured bands already ran edge to edge, but the content inside them was held to a centred 1384px column, so on a
   1680–2560px monitor the header sat 64px from the edge and everything below 150–600px. The sections Figma draws with a 64px
   gutter now keep that gutter; centred designs (the 913px Aktivity column, the 1245px wide sections, text blocks) stay centred.
   Identical to before at 1512–1513px. */
@media (min-width: 1512px) {
  .navbar { max-width: none; }
  .sub-hero { padding-left: 64px; padding-right: 64px; }
  .frame.has-hero > header.sub-hero { padding-left: 64px; padding-right: 64px; }
  .more-activities, .sub-hero .more-activities { right: 64px; }
  .faq { padding-left: 64px; padding-right: 64px; }
  .faq-inner, .rozvrh-card, .cenik-list, .tour-frame { max-width: none; }
  .footer-bottom { padding-left: 64px; padding-right: 64px; }
  .footer-top .wordmark-wrap { width: calc(100% - 128px); max-width: none; }
  /* the wordmark now spans the 64px gutters, so the band grows with it (141 = 96 + 45 padding, .2211 = 306/1384): 447px at 1512 as before */
  .footer-top { height: calc(141px + (100vw - 128px) * .2211); }
  html .footer-top .top-bg { height: calc(100% + 9px); }
}

/* Wide sections (cards, "Jak kurz probíhá", values, documents): Figma draws them with a 134px side gutter. Above the 1512px canvas the gutter
   used to grow to (width − 1245px) / 2 (217px at 1680px), which read as too much padding; it now stays 134px and the content stretches. */
@media (min-width: 1512px) {
  html .benefits, html .info-steps, html .ds-values, html .tagcloud-sec, html .pron-img-sec, html .ds-docs { padding-left: 134px; padding-right: 134px; }
  .benefits-inner, .info-track, .tagcloud-inner, .pron-img, .ds-grid { max-width: none; }   /* the 1245px caps centred them again; the card fan itself stays centred */
}

/* ===== Desktop: 134px side padding on every full-width section (2026-11-25, DS management) =====
   Footer and navbar keep their own 64px. The `html body` prefix beats the older gutter rules (fluid.css, the 1512px block). The same list is
   repeated for the compact >= 1440px desktop in scripts/desktop-scale.js (MANUAL_PAGE), where the generated copies would otherwise win. */
@media (min-width: 1101px) {
  html body .about,
  html body .news,
  html body .gallery,
  html body .faq,
  html body .cenik-sec,
  html body .rozvrh-sec,
  html body .activities,
  html body .contact,
  html body .benefits,
  html body .info-steps,
  html body .ds-values,
  html body .tagcloud-sec,
  html body .pron-img-sec,
  html body .ds-docs { padding-left: 134px; padding-right: 134px; }
  /* leading section of every page = the whole viewport, whatever the monitor (the landing runs 160px past the fold so the tucked-in "O nás" card stays hidden) */
  html body .frame.has-hero > header.sub-hero { min-height: calc(100vh + 80px); min-height: calc(100dvh + 80px); }   /* + the corner radius: the rounded bottom corners sit just below the fold */
  /* the hero copy (title, tag, text, buttons) is centred in the visible part of the hero: below the 110px header, above the 80px corner extension */
  html body .frame.has-hero > header.sub-hero { display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 80px; }
  /* the hero copy starts on the same line as the menu button (the header's side padding) */
  html body .sub-hero, html body .frame.has-hero > header.sub-hero { padding-left: 64px; padding-right: 64px; }
  /* "Další aktivity": right edge in line with the Rezervace button (header padding 64px), 48px above the bottom of the viewport */
  html body .sub-hero .more-activities { top: auto; bottom: 128px; right: 64px; }
  html body .frame.has-hero > header.landing.landing--stage { min-height: calc(100vh + 160px); min-height: calc(100dvh + 160px); }
}

/* Narrow desktop (1101-1279px): the 134px side padding leaves less room, so the Rozvrh card and the benefit cards use tighter inner
   padding (the table ran 32px out of its card, a long word ran out of a benefit card). */
@media (min-width: 1101px) and (max-width: 1279px) {
  html body .rozvrh-card { padding: 32px; }
  html body .b-card { padding-left: 16px; padding-right: 16px; }
}

/* ===== Benefit cards exactly as drawn (Figma 1147:5895), every desktop width (2026-12-01) =====
   Four 299x399 cards, 16px apart, in a 1245px row, text 20/32, tilted +-4deg. --u is one Figma pixel: the row is a size container, so below
   1245px of room the whole card (box, padding, text, icon) shrinks in proportion instead of the text reflowing in a narrower box. The section
   uses 64px sides here (the heading is centred anyway), so the cards keep their size as long as possible. Not scaled on the compact desktop
   (excluded in scripts/desktop-scale.js). */
@media (min-width: 981px) {
  html body .benefits { padding-left: 64px; padding-right: 64px; }
  html body .benefits-inner { width: 100%; max-width: 1245px; margin-left: auto; margin-right: auto; container-type: inline-size; }
  html body .b-cards { --u: min(1px, 100cqw / 1245); gap: calc(16 * var(--u)); padding: calc(10 * var(--u)) 0; }
  html body .b-card { aspect-ratio: 300 / 400; min-height: 0; padding: calc(32 * var(--u)) calc(24 * var(--u)) calc(28 * var(--u)); border-radius: calc(20 * var(--u)); }
  html body .b-card:nth-child(odd)  { transform: rotate(4deg); }
  html body .b-card:nth-child(even) { transform: rotate(-4deg); }
  html body .b-card p { font-size: calc(20 * var(--u)); line-height: calc(32 * var(--u)); letter-spacing: .008em; }
  html body .bi-splash { width: calc(70 * var(--u)); height: calc(48 * var(--u)); }
  html body .bi-wave { width: calc(52 * var(--u)); height: calc(94 * var(--u)); }
  html body .bi-rocks { width: calc(70 * var(--u)); height: calc(72 * var(--u)); }
  html body .bi-flower { width: calc(70 * var(--u)); height: calc(59 * var(--u)); }
  html body .bi-question { width: calc(53 * var(--u)); height: calc(95 * var(--u)); }
  html body .bi-bulb { width: calc(85 * var(--u)); height: calc(88 * var(--u)); }
}
/* the Dětská skupina value cards also keep their Figma size (1245px row) instead of stretching or shrinking */
@media (min-width: 1101px) {
  html body .ds-grid { width: 100%; max-width: 1245px; margin-left: auto; margin-right: auto; }
}

/* ===== Photo carousels share one format (2026-12-01): the Pronájem slides use the gallery's 858:560 ratio and the same 80px round arrows,
   56px from the sides, and never get taller than the window. ===== */
@media (min-width: 981px) {
  /* as wide as the sections around it (Figma: 1262 of 1530, edge to edge between the side paddings); on a low window only the height is limited, so the whole frame stays visible and the photo is trimmed a little */
  html body .pron-img { width: 100%; max-width: none; aspect-ratio: 858 / 560; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); margin-left: auto; margin-right: auto; }
  html body .pron-arrow { width: 80px; height: 80px; padding: 22px; background: var(--off-white-sec); }
  html body .pron-arrow img { width: 36px; height: 36px; display: block; }
  html body .pron-prev { left: 56px; }
  html body .pron-next { right: 56px; }
}

/* FAQ lead: two lines at most from tablet up (the width follows the type size, so the compact desktop gets the same break) */
@media (min-width: 621px) {
  html body .faq-sub { max-width: 42em; text-wrap: balance; }
}
