/* Použité automaty: one design system for every page (refined 2026-11-05).
   "A refined product showroom floating over a calm sage-green environment."
   Three materials, used selectively:
   - open:  no container; dark text straight on the quiet part of the background (hero, headings)
   - soft:  translucent ivory with a fine border and inner highlight (light supporting information)
   - solid: white reading surface (cards, forms, specifications, administration)
   Manrope for headings, numbers and controls, Source Sans 3 for reading text. Deep green marks
   actions and selected states; pale tints are for surfaces only. The refurbishment page adds its
   scroll-driven video from servis.css, the preview build its admin from assets/proto/proto.css. */
:root {
  /* colour, derived from the sage background */
  --ink: #182d27;             /* headings, strong text */
  --ink-soft: #33463f;        /* reading text (≥ 6:1 on the pale background, ≥ 3.7:1 on its darkest teal) */
  --muted: #52665d;           /* secondary text on light surfaces */
  --accent: #28584a;          /* actions, links, selected states, focus */
  --accent-hover: #1d4438;
  --accent-soft: #e7efe8;     /* pale mint */
  --accent-line: #afc7b2;     /* sage */
  --teal: #719e98;            /* decoration only */
  --ivory: #fafbf7;
  --bg: #fbfcf9;              /* page canvas (inner pages) */
  --bg-alt: #f1f5f0;          /* quiet bands */
  --bg-well: #ffffff;         /* behind product photos: the photos' own white, no tint */
  --surface: #ffffff;
  --line: #d8e3da;            /* fine structural borders */
  --line-soft: #e6ede7;
  --line-strong: #bccbbf;     /* inputs, emphasised borders */
  --focus-ring: rgba(40, 88, 74, .22);
  --on-accent: #ffffff;
  --dark: #182d27;
  --dark-ink: #c9cdca;
  --ph-bg: #fbf6e9;           /* marked gaps for facts the business still has to supply */
  --ph-ink: #6b4d0e;
  --ph-line: #d8bf7f;
  --danger: #b42318;

  /* materials */
  --soft-bg: rgba(250, 251, 247, .76);
  --soft-bg-strong: rgba(250, 251, 247, .9);
  --soft-line: rgba(188, 203, 191, .7);
  --soft-highlight: inset 0 1px 0 rgba(255, 255, 255, .75);
  --soft-blur: blur(14px) saturate(1.15);
  --solid-bg: #ffffff;

  /* spacing (8px scale), radii, depth, motion */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 88px;
  --radius-xs: 6px;
  --radius-sm: 10px;          /* buttons, inputs */
  --radius: 14px;             /* cards */
  --radius-lg: 18px;          /* panels */
  --radius-xl: 24px;          /* closing panel */
  --round: 10px;              /* kept for servis.css */
  --shadow-sm: 0 1px 2px rgba(24, 45, 39, .05);
  --shadow: 0 1px 2px rgba(24, 45, 39, .04), 0 8px 24px -12px rgba(24, 45, 39, .16);
  --shadow-lg: 0 2px 4px rgba(24, 45, 39, .04), 0 18px 40px -18px rgba(24, 45, 39, .24);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .16s;             /* controls */
  --t-panel: .24s;            /* menus, panels */
  --header-h: 68px;
  --wrap: 1200px;
  --gutter: 24px;

  /* type */
  --font: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", var(--font);
  --mono: var(--font);
  --fs-display: clamp(2.25rem, 1.5rem + 2.9vw, 4rem);        /* homepage h1: 36 → 64px (two lines on desktop) */
  --fs-h1: clamp(2.125rem, 1.55rem + 2vw, 3.375rem);         /* page h1: 34 → 54px */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem);          /* section headings: 28 → 44px */
  --fs-h3: 1.375rem;                                          /* 22px: card titles */
  --fs-h4: 1.125rem;                                          /* 18px: small block titles */
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);        /* 17 → 19px */
  --fs-body: 1.0625rem;                                       /* 17px */
  --fs-ui: .9375rem;                                          /* 15px: navigation, buttons, labels */
  --fs-caption: .8125rem;                                     /* 13px: captions, credits */
  --fs-small: .875rem;                                        /* 14px: breadcrumbs, supporting labels */
  --lh-body: 1.6;
  --lh-caption: 1.45;
  --track-display: -.03em;
  --track-heading: -.022em;
  --measure: 62ch;
}
@media (max-width: 599px) { :root { --gutter: 16px; --header-h: 60px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s2)); }
body {
  margin: 0; background: var(--bg); color: var(--ink-soft);
  font: 400 var(--fs-body)/var(--lh-body) var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t-fast); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0 0 var(--s2); color: var(--ink); font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: var(--track-display); }
h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: var(--track-heading); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.012em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0 0 var(--s2); text-wrap: pretty; }
strong, b { font-weight: 600; }
ul, ol { padding-left: 1.25em; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: var(--s2); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(720px + 2 * var(--gutter)); }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { width: 18px; height: 18px; flex: none; }

/* the soft material, as one reusable treatment */
.soft-surface {
  background: var(--soft-bg); border: 1px solid var(--soft-line); box-shadow: var(--soft-highlight), var(--shadow-sm);
  -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur);
}

/* A visibly marked gap in the content (a fact still to be supplied). */
.ph { background: var(--ph-bg); color: var(--ph-ink); border: 1px dashed var(--ph-line); border-radius: var(--radius-xs); padding: 0 6px; font-size: .92em; font-weight: 400; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- buttons and links: one family ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font: 600 var(--fs-ui)/1.2 var(--font-display); letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(24, 45, 39, .22), 0 4px 12px -6px rgba(24, 45, 39, .45); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: rgba(255, 255, 255, .78); color: var(--accent); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: #fff; border-color: var(--accent); color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-hover); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn-sm { min-height: 40px; padding: 0 16px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.form-actions .btn[disabled] { cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.text-link:hover .icon { transform: translateX(2px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.eyebrow { margin: 0 0 14px; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--accent); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: var(--measure); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 249, .8); border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
body:has(.scrub) .site-header { position: relative; }   /* the scroll-driven section pins its own frame to the top */
.header-inner { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.site-nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li > a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--ink); font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 500; letter-spacing: -.005em; text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-list > li > a:hover { background: rgba(24, 45, 39, .05); color: var(--ink); }
.nav-list a[aria-current="page"] {
  color: var(--accent); font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-size: calc(100% - 24px) 2px; background-position: center bottom 4px;
}
.nav-mobile-only { display: none; }
.header-cta { flex: none; }

/* language switch: codes in the header (full names for assistive technology), full names in the
   mobile menu. The current language is filled. */
.lang-switch { flex: none; }
.lang-switch ul { display: flex; gap: 2px; margin: 0; padding: 3px; list-style: none; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6); }
.lang-switch a, .lang-switch .lang-off {
  display: inline-grid; place-items: center; min-width: 36px; min-height: 32px; padding: 0 8px; border-radius: 999px;
  color: var(--muted); font-family: var(--font-display); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .04em; text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lang-switch a:hover { color: var(--ink); background: rgba(24, 45, 39, .06); }
.lang-switch a[aria-current] { color: var(--on-accent); background: var(--accent); }
.lang-switch .lang-off { opacity: .45; cursor: not-allowed; }
@media (pointer: coarse) { .lang-switch a, .lang-switch .lang-off { min-width: 40px; min-height: 38px; } }
.nav-lang { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.lang-switch-full ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--radius); }
.lang-switch-full a, .lang-switch-full .lang-off { min-height: 44px; padding: 0 6px; border-radius: calc(var(--radius) - 3px); font-size: .9375rem; letter-spacing: 0; }
.lang-note { margin: var(--s1) 0 0; padding: 8px 12px; border-left: 3px solid var(--line-strong); color: var(--muted); font-size: var(--fs-small); }
.lang-alt { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-small); }
.header-cta.btn-sm { min-height: 40px; padding: 0 16px; }

/* "Nabídka automatů" submenu with the machine categories */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px !important; }
.sub-toggle { display: inline-grid; place-items: center; width: 30px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.sub-toggle::before { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform var(--t-panel) var(--ease); }
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: 3px; }
.sub-toggle:hover { background: rgba(24, 45, 39, .05); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.nav-sub {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 300px; margin: 0; padding: 6px; list-style: none;
  background: rgba(251, 252, 249, .94); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--soft-highlight), var(--shadow-lg);
  -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur);
  display: none; animation: menu-in var(--t-panel) var(--ease);
}
.has-sub.is-open .nav-sub { display: block; }
@media (hover: hover) and (min-width: 961px) { .has-sub:hover .nav-sub { display: block; } .has-sub:hover .nav-sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } }
.nav-sub a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 10px 12px; border-radius: 8px; color: var(--ink); font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 500; text-decoration: none; transition: background-color var(--t-fast); }
.nav-sub a:hover { background: var(--accent-soft); color: var(--ink); }
.nav-sub small { color: var(--muted); font-family: var(--font); font-size: var(--fs-caption); white-space: nowrap; }
.nav-sub-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.nav-sub-all a { color: var(--accent); font-weight: 600; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .7); cursor: pointer; transition: border-color var(--t-fast); }
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform var(--t-panel) var(--ease); }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Between the mobile menu and wide screens the header row gets tight, more so in German and
   Slovak: the logo keeps only its mark (the link keeps its full name for assistive technology),
   and in the narrowest part of the range the enquiry button gives way in the longer languages
   (every page and the "Kontakt" link still lead to the enquiry form). Nothing is shrunk or cut. */
@media (min-width: 961px) and (max-width: 1279px) {
  .header-inner { gap: var(--s2); }
  .logo .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-list > li > a { padding: 0 10px; }
}
@media (min-width: 1280px) and (max-width: 1359px) {
  html[lang="de"] .logo .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1099px) { html[lang="sk"] .header-cta { display: none; } }
@media (min-width: 961px) and (max-width: 1199px) { html[lang="de"] .header-cta { display: none; } }
@media (min-width: 961px) { .nav-list > li > a, .header-cta { white-space: nowrap; -webkit-hyphens: manual; hyphens: manual; } }
@media (max-width: 960px) {
  .header-inner { gap: var(--s2); flex-wrap: wrap; }
  .header-cta { margin-left: auto; }
  /* Without JS the menu stays open as a wrapped row; with JS it becomes a toggled panel. */
  .site-nav { order: 3; width: 100%; margin: 0 0 var(--s1); }
  .nav-list { flex-wrap: wrap; }
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; margin: 0 0 var(--s2); padding: 6px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: block; animation: menu-in var(--t-panel) var(--ease); }
  .js .nav-list { display: grid; gap: 2px; }
  .js .nav-list > li > a { min-height: 48px; padding: 0 12px; font-size: 1rem; }
  .js .nav-list a[aria-current="page"] { background-color: var(--accent-soft); background-image: none; }
  .js .has-sub { flex-wrap: wrap; }
  .js .has-sub > a { flex: 1; }
  .js .sub-toggle { width: 48px; height: 48px; }
  .js .nav-sub { position: static; width: 100%; min-width: 0; padding: 0 0 var(--s1) var(--s2); background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; }
  .js .nav-sub a { padding: 10px 12px; }
  .nav-mobile-only { display: block; }
  .nav-list > li > a.btn { width: 100%; margin-top: 6px; padding: 0 22px; font-weight: 600; color: var(--on-accent); }
}
@media (max-width: 479px) {
  .js .header-cta { display: none; }   /* the menu panel carries the enquiry button instead */
  .js .header-inner > .lang-switch { display: none; }   /* and the language switch, with full names */
  .js .nav-toggle { margin-left: auto; }
}

/* ---------- breadcrumbs, page heads, sections ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); line-height: var(--lh-caption); color: var(--muted); }
.breadcrumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 12px 2px 10px; border: solid var(--line-strong); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

.page-head { padding: var(--s5) 0 var(--s6); border-bottom: 1px solid var(--line-soft); background: #f9fafa url("../img/bg/waves-light.webp") center / cover no-repeat; }
.page-head .breadcrumbs { margin-bottom: var(--s4); }
.page-head h1 { margin-bottom: var(--s2); max-width: 22ch; }
.page-head .lead { margin-bottom: 0; }
.page-count { margin: var(--s3) 0 0; font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 600; color: var(--ink); }
.subnav { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s4) 0 0; padding: 0; list-style: none; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .72); color: var(--ink); font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 500; text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.subnav a:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
.subnav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }

.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s5) 0 var(--s6); }
.section-alt { background: var(--bg-alt); }
.section-alt + .section-alt { padding-top: 0; }
@media (max-width: 767px) { .section { padding: var(--s6) 0; } .section-tight { padding: var(--s4) 0 var(--s5); } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s2) var(--s4); margin-bottom: var(--s4); }
.section-head h2 { margin: 0; }
.section-head .lead { flex-basis: 100%; margin: 0; }
.section-head-text { max-width: 640px; }
.section-head-text h2 { margin-bottom: 14px; }
.section-head-text p { margin: 0; font-size: var(--fs-lead); color: var(--ink-soft); max-width: 56ch; }

/* explanatory notices: fully visible, but quiet */
.notice {
  display: flex; gap: 10px; width: fit-content; max-width: 100%; margin: 0 0 var(--s3); padding: 10px 16px 10px 12px;
  background: var(--soft-bg-strong); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: var(--fs-ui); line-height: 1.5; color: var(--ink-soft);
}
.notice .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.notice p { margin: 0; max-width: 92ch; }
.notice strong { color: var(--ink); }

/* ---------- homepage hero ---------- */
.hero { padding: var(--s6) 0 var(--s7); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: var(--track-display); margin-bottom: var(--s3); }
.hero-lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 46ch; margin-bottom: var(--s4); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px var(--s3); width: fit-content; max-width: 100%; margin: var(--s5) 0 0; padding: var(--s2) 0 0; list-style: none;
  border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-soft);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 16px; height: 16px; color: var(--accent); }
/* the photograph sits on its own white: the frame is that white, with the credit as its caption */
.hero-media { margin: 0; background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.hero-well { position: relative; aspect-ratio: 6 / 5; max-height: 500px; margin-inline: auto; --pad: var(--s5); background: var(--bg-well); }
.hero-well img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.hero-media figcaption { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line-soft); background: var(--ivory); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--muted); }
.hero-media figcaption a { color: inherit; }
@media (max-width: 899px) {
  .hero { padding: var(--s4) 0 var(--s5); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .hero-media { max-width: 560px; }
  .hero-well { aspect-ratio: 4 / 3; max-height: 320px; --pad: var(--s3); }
}
@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-well { max-height: 220px; --pad: var(--s2); }
  .hero-points { display: none; }   /* the same facts follow right below; keeps the catalogue near the top */
}

/* ---------- product cards: the machines are the focus ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: 0; padding: 0; list-style: none; }
@media (max-width: 1023px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .card-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-panel) var(--ease), transform var(--t-panel) var(--ease);
}
.card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-well); }
/* whole machine, true proportions, on the photo's own white; images share one baseline */
.card-media img { position: absolute; inset: var(--s3) var(--s4) 20px; width: calc(100% - 2 * var(--s4)); height: calc(100% - var(--s3) - 20px); object-fit: contain; object-position: center bottom; }
.has-missing-photo .card-media, .card-media:has(img[src$="placeholder-automat.svg"]) { background: #f4f6f2; }
.card-note { min-height: calc(2 * 1.45em + 12px); margin: 0; padding: 6px 20px; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--muted); }
.card-note a { color: inherit; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.card-badges:empty { display: none; }
.card-maker { margin: 0 0 4px; font-size: var(--fs-small); color: var(--muted); }
.card-title { margin: 0 0 6px; font-size: clamp(1.25rem, 1.15rem + .3vw, 1.4375rem); line-height: 1.25; letter-spacing: -.02em; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.card-summary { margin: 0 0 var(--s3); color: var(--ink-soft); }
.card-specs { display: grid; gap: 0; margin: 0 0 var(--s3); font-size: var(--fs-ui); }
.card-specs div { display: flex; justify-content: space-between; gap: var(--s2); padding: 6px 0; border-top: 1px solid var(--line-soft); }
.card-specs dt { color: var(--muted); }
.card-specs dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px var(--s2); margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line-soft); }
.card-price { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.card-price.is-on-request, .price.is-on-request { color: var(--ink); }

.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: 0; }
.badge-repasovany, .badge-renovovany { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-hover); }
.badge-ph { background: var(--ph-bg); border-color: var(--ph-line); color: var(--ph-ink); }
/* discounts: restrained, a warm clay tone that reads as an offer without shouting */
.badge-sale { background: #f8eee7; border-color: #e5c8b4; color: #7a3a17; }
.badge-featured { background: var(--surface); border-color: var(--accent-line); color: var(--accent-hover); }
.badge-sold { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-slot p { margin: 0; }
.price-slot .is-sale { color: #7a3a17; }
.price-was { color: var(--muted); font-size: var(--fs-caption); }
.price-was s { text-decoration-thickness: 1px; }
.price-sale-end { color: var(--ink-soft); font-size: var(--fs-caption); }
.price-box .price-was, .price-box .price-sale-end { font-size: var(--fs-ui); }
.price-box .price-slot { margin-bottom: var(--s1); }
.price.is-sold { color: var(--ink-soft); }
.card-avail { display: flex; align-items: center; gap: 8px; margin: -8px 0 var(--s2); font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); }
.card-avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-line); }
.notice-sold { margin: 0 0 var(--s3); background: var(--ivory); border-color: var(--line-strong); }
.product-video { margin: 12px 0 0; }

.photo-note { margin: 10px 0 0; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--muted); }
.photo-note a { color: inherit; }
.has-missing-photo .photo-note, .has-missing-photo .card-note { visibility: hidden; }

/* ---------- categories on enquiry: one quiet panel, divided by hairlines ---------- */
.ask-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none;
  background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 1023px) { .ask-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .ask-grid { grid-template-columns: minmax(0, 1fr); } }
.ask-card {
  position: relative; display: flex; flex-direction: column; padding: var(--s3) var(--s3) 22px;
  box-shadow: -1px 0 0 var(--line-soft), 0 -1px 0 var(--line-soft);   /* dividers; the panel clips the outer ones */
  transition: background-color var(--t-fast);
}
.ask-card:hover { background: rgba(231, 239, 232, .5); }
.ask-card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: var(--radius); }
.ask-card a:focus-visible { outline: none; }
.ask-card .cat-icon { width: 36px; height: 36px; margin-bottom: 18px; padding: 7px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); }
.ask-card h3 { margin-bottom: 6px; font-size: var(--fs-h4); }
.ask-card h3 a { color: var(--ink); text-decoration: none; }
.ask-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ask-card p { margin: 0 0 var(--s2); font-size: var(--fs-ui); color: var(--ink-soft); }
.ask-state { margin-top: auto; font-size: var(--fs-caption); color: var(--muted); }
.ask-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 600; color: var(--accent); }
.ask-go .icon { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.ask-card:hover .ask-go { text-decoration: underline; text-underline-offset: 4px; }
.ask-card:hover .ask-go .icon { transform: translateX(2px); }

.cat-icon { width: 24px; height: 24px; }

/* ---------- empty category ---------- */
.empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start; max-width: 860px; padding: var(--s4); background: var(--solid-bg); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-state.is-plain { display: block; }
.empty-state .cat-icon { width: 52px; height: 52px; padding: 12px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); }
.empty-state h2, .empty-state h3 { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.empty-state p { margin-bottom: var(--s3); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .empty-state { grid-template-columns: minmax(0, 1fr); padding: var(--s3); } .empty-actions .btn { flex: 1 1 100%; } }

/* ---------- how enquiries work: connected steps ---------- */
.how { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: 0; padding: 0; list-style: none; counter-reset: how; }
.how li { position: relative; counter-increment: how; padding: 0; }
.how li::before {
  content: counter(how, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px;
  border-radius: 50%; background: var(--solid-bg); border: 1px solid var(--accent-line); color: var(--accent);
  font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums;
}
.how li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: calc(-1 * var(--s4) + 12px); height: 1px; background: var(--accent-line); }
.how h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.how p { margin: 0; font-size: var(--fs-ui); color: var(--ink-soft); max-width: 34ch; }
@media (max-width: 899px) {
  .how { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .how li { padding-left: 60px; min-height: 40px; }
  .how li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .how li:not(:last-child)::after { top: 48px; bottom: calc(-1 * var(--s3) + 8px); left: 20px; right: auto; width: 1px; height: auto; }
  .how p { max-width: none; }
}

/* ---------- services: alignment and separators rather than boxes ---------- */
.service-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
@media (max-width: 899px) { .service-split { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.service-split .lead { max-width: 46ch; }
.service-list { display: grid; gap: 0; margin: 0; padding: 0 var(--s3); list-style: none; background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service-link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s2); align-items: center; padding: 22px 0; }
.service-link + .service-link { border-top: 1px solid var(--line-soft); }
.service-link:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.service-link a:focus-visible { outline: none; }
.service-link h3 { margin: 0; font-size: var(--fs-h4); }
.service-link h3 a { color: var(--ink); text-decoration: none; transition: color var(--t-fast); }
.service-link h3 a::after { content: ""; position: absolute; inset: 0; }
.service-link:hover h3 a { color: var(--accent); }
.service-link p { grid-column: 1; margin: 0; font-size: var(--fs-ui); color: var(--ink-soft); }
.service-link > .icon { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--accent); transition: transform var(--t-fast) var(--ease); }
.service-link:hover > .icon { transform: translateX(3px); }

/* service, condition and contact facts: open columns with a top rule */
.service-grid, .condition-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3) var(--s4); margin: 0 0 var(--s5); padding: 0; list-style: none; }
@media (max-width: 899px) { .service-grid, .condition-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }
.service-card, .condition-card, .contact-card { padding: 20px 0 0; border-top: 1px solid var(--line-strong); }
.service-card h2, .contact-card h2 { font-size: var(--fs-h4); margin-bottom: var(--s1); }
.service-card p, .condition-card p, .contact-card p { margin: 0; font-size: var(--fs-ui); color: var(--ink-soft); }
.condition-card .badge { margin-bottom: 12px; }
.contact-card p + p { margin-top: var(--s1); }
.contact-big { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: var(--fs-body); font-weight: 600; color: var(--ink); text-decoration: none; }
a.contact-big:hover { color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: start; }
.split-top { margin-top: var(--s2); }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.side-box { position: sticky; top: calc(var(--header-h) + var(--s3)); padding: var(--s4); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (max-width: 899px) { .side-box { position: static; padding: var(--s3); } }
.side-box h2 { font-size: var(--fs-h4); margin-bottom: 12px; }
.side-box .btn { margin-top: var(--s2); }
.steps { margin: 0 0 var(--s2); padding-left: 1.4em; }
.steps li { margin-bottom: 12px; padding-left: 4px; }
.steps li::marker { color: var(--accent); font-family: var(--font-display); font-weight: 700; }
.ticks { margin: 0 0 var(--s3); padding: 0; list-style: none; }
.ticks li { position: relative; margin-bottom: 10px; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border: solid var(--accent); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--s5); font-size: clamp(1.5rem, 1.3rem + .7vw, 1.875rem); }
.prose h2:first-child { margin-top: 0; }

/* ---------- closing call to action ---------- */
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3) var(--s5); align-items: center;
  padding: var(--s6) var(--s6); border: 1px solid var(--line); border-radius: var(--radius-xl); color: var(--ink-soft);
  background:
    linear-gradient(90deg, rgba(251, 252, 249, .86) 0%, rgba(251, 252, 249, .5) 55%, rgba(251, 252, 249, 0) 85%),
    #eff5f3 url("../img/bg/waves-bottom.webp") center 70% / cover no-repeat;
}
.cta-band h2 { margin-bottom: 12px; color: var(--ink); max-width: 18ch; }
.cta-band p { margin: 0; max-width: 50ch; font-size: var(--fs-lead); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-light { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(24, 45, 39, .22), 0 4px 12px -6px rgba(24, 45, 39, .45); }
.cta-band .btn-light:hover { background: var(--accent-hover); color: var(--on-accent); }
.cta-band .btn-outline { background: rgba(255, 255, 255, .85); color: var(--accent); border-color: var(--line-strong); }
.cta-band .btn-outline:hover { background: #fff; border-color: var(--accent); color: var(--accent-hover); }
.cta-band-direct { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s2) !important; }
.cta-band-direct a { display: inline-flex; align-items: center; gap: var(--s1); color: var(--accent); font-weight: 600; }
@media (max-width: 767px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: var(--s4) var(--s3); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(251, 252, 249, .75), rgba(251, 252, 249, .25)), #eff5f3 url("../img/bg/waves-bottom-900.webp") center bottom / 900px auto no-repeat; }
  .cta-band-actions .btn { flex: 1 1 100%; }
}

/* ---------- catalogue toolbar: count on the left, compact sorting on the right ---------- */
.catalogue { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px var(--s2); }
.catalogue > .card-grid, .catalogue > .cat-empty { flex: 1 1 100%; }
.catalogue > .cat-status { order: 0; }
.catalogue > .cat-tools { order: 1; }
.catalogue > .card-grid { order: 2; margin-top: 4px; }
.catalogue > .cat-empty { order: 3; }
.cat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px var(--s2); margin: 0 0 0 auto; padding: 0; }
.cat-tools[hidden] { display: none; }
.tool { display: grid; gap: 6px; min-width: 150px; margin: 0; padding: 0; border: 0; }
/* a single control (sorting) sits inline, label beside it */
.catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tool label, .tool legend { font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; color: var(--ink); white-space: nowrap; }
.catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool label { font-weight: 500; color: var(--muted); }
/* with several filters the toolbar takes its own row, as one quiet bar */
.catalogue > .cat-tools:has(.tool ~ .tool) {
  flex: 1 1 100%; order: -1; align-items: end; margin: 0; padding: 14px 16px;
  background: var(--soft-bg-strong); border: 1px solid var(--line); border-radius: var(--radius);
}
/* phones: sorting takes the full row (label beside a wide select), the count follows above the cards */
@media (max-width: 599px) {
  .catalogue > .cat-tools:not(:has(.tool ~ .tool)) { flex: 1 1 100%; order: -1; margin: 0; }
  .catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool { flex: 1 1 auto; }
  .catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool select { flex: 1 1 auto; min-width: 0; }
}
.cat-tools:has(.tool ~ .tool) .tool { display: grid; gap: 6px; min-width: 150px; }
.cat-tools:has(.tool ~ .tool) .tool-check { display: flex; }
.tool-search { flex: 1 1 240px; }
.tool-price { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); }
.tool-price legend { width: 100%; margin-bottom: 6px; }
.cat-tools .tool-price input { width: 104px; }
.cat-tools:has(.tool ~ .tool) .tool-price { display: flex; }
.cat-status { margin: 0; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cat-status:empty { display: none; }
.cat-empty { padding: var(--s4) var(--s3); text-align: center; background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-empty p { margin: 0 auto var(--s2); }
.tool-check { align-self: center; min-width: 0; }
.tool-check label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cat-tools .tool-check input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; box-shadow: none; accent-color: var(--accent); }
.cat-empty[hidden] { display: none; }
.cat-tools .tool-reset { min-height: 40px; }

/* ---------- inputs ---------- */
input, select, textarea, button { font: inherit; color: var(--ink); }
.tool input, .tool select, .field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px; background: var(--solid-bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: var(--fs-ui);
  box-shadow: inset 0 1px 2px rgba(24, 45, 39, .04);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.tool select, .field select {
  -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background: var(--solid-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2328584a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.cat-tools .tool select, .cat-tools .tool input { min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool select { width: auto; min-width: 170px; font-family: var(--font-display); font-weight: 500; }
.tool input:hover, .tool select:hover, .field input:hover, .field textarea:hover, .field select:hover { border-color: #93a99b; }
.tool input:focus, .tool select:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.tool select:disabled, .tool input:disabled, .field input:disabled, .field textarea:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- product detail ---------- */
.product-crumbs { padding-top: var(--s4); }
.product-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: start; padding-block: var(--s4) var(--s6); }
@media (max-width: 899px) { .product-top { grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding-bottom: var(--s5); } }
.gallery-main { position: relative; aspect-ratio: 1 / 1; max-height: 620px; margin: 0; --pad: var(--s6); background: var(--bg-well); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.gallery-main img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
@media (max-width: 899px) { .gallery-main { aspect-ratio: 4 / 3; max-height: 440px; --pad: var(--s3); } }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: var(--s1); margin: 12px 0 0; padding: 0; list-style: none; }
.gallery-thumbs a { display: block; width: 88px; aspect-ratio: 4 / 3; padding: 6px; background: var(--bg-well); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color var(--t-fast); }
.gallery-thumbs a:hover { border-color: var(--accent-line); }
.gallery-thumbs a[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { position: sticky; top: calc(var(--header-h) + var(--s3)); }
@media (max-width: 899px) { .product-summary { position: static; } }
.product-summary .eyebrow a { color: inherit; text-decoration: none; }
.product-summary .eyebrow a:hover { text-decoration: underline; }
.product-summary h1 { margin-bottom: 12px; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.product-maker { margin: 0 0 12px; color: var(--muted); }
.product-lead { font-size: var(--fs-lead); max-width: 48ch; color: var(--ink-soft); margin-bottom: var(--s3); }
.facts { display: grid; margin: 0 0 var(--s3); border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(110px, 2fr) minmax(0, 3fr); gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { color: var(--muted); font-size: var(--fs-ui); }
.facts dd { margin: 0; color: var(--ink); }
.price-box { padding: var(--s3); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.price { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.price-hint { margin: 0 0 var(--s2); font-size: var(--fs-ui); color: var(--muted); }
.price-direct { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s2); font-size: var(--fs-ui); }
.price-direct a, .price-direct > span { display: inline-flex; align-items: center; gap: var(--s1); color: var(--ink); }
.product-jump { display: flex; flex-wrap: wrap; gap: 4px var(--s3); margin: var(--s2) 0 0; padding: 0; list-style: none; font-size: var(--fs-ui); }
.product-jump a { font-weight: 500; }

.product-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); padding-bottom: var(--s6); }
@media (max-width: 899px) { .product-details { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }
.detail-box { padding: var(--s4); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (max-width: 599px) { .detail-box { padding: var(--s3); } }
.detail-box-wide { grid-column: 1 / -1; }
.detail-box h2 { font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); margin-bottom: 14px; }
.detail-box h3 { font-size: var(--fs-ui); margin: var(--s2) 0 var(--s1); }
.detail-box p:last-child, .detail-box ul:last-child { margin-bottom: 0; }
.spec-missing { margin: 0; padding: 12px var(--s2); background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: var(--fs-ui); }
.spec-missing strong { color: var(--ink); font-weight: 600; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: var(--s2); font-size: var(--fs-ui); }
.spec-table th, .spec-table td { padding: 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-table th { width: 50%; padding-right: var(--s2); font-weight: 400; color: var(--muted); }
.spec-table td { color: var(--ink); font-weight: 500; }

/* ---------- enquiry form ---------- */
.enquiry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s6); align-items: start; scroll-margin-top: calc(var(--header-h) + var(--s2)); }
@media (max-width: 899px) { .enquiry { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }
.enquiry-head p { max-width: 42ch; font-size: var(--fs-lead); }
.enquiry-direct { display: grid; gap: 10px; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.enquiry-direct a, .enquiry-direct > li > span { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; text-decoration: none; }
.enquiry-direct .icon { width: 40px; height: 40px; padding: 10px; border-radius: var(--radius-sm); background: var(--soft-bg-strong); border: 1px solid var(--line); color: var(--accent); }
.enquiry-direct a:hover { color: var(--accent); }
.form { padding: var(--s5); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 899px) { .form { padding: var(--s4); } }
@media (max-width: 599px) { .form { padding: var(--s3) var(--s2); } }
.form-about { margin: 0 0 var(--s3); padding: 12px var(--s2); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--s2); }
@media (max-width: 599px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field .req { color: var(--danger); }
.field-error { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--danger); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.form-note { margin: var(--s3) 0 var(--s3); font-size: .9375rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-top: var(--s2); padding: 12px var(--s2); border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-error { background: #fdf0ee; color: var(--danger); border: 1px solid #efc3bd; }
.form-success { padding: var(--s4) var(--s1); text-align: center; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin: 0; }
.form-success:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer: light, continuous with the page ---------- */
.site-footer { position: relative; background: var(--bg-alt); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--fs-ui); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s4); padding-block: var(--s6) var(--s5); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: minmax(0, 1fr); padding-block: var(--s5) var(--s4); } }
.footer-brand p { max-width: 34ch; margin-top: var(--s2); color: var(--ink-soft); }
.footer-title { margin: 0 0 var(--s2); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--ink); }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: var(--s1); }
.footer-contact .icon { color: var(--accent); }
.footer-base { position: relative; padding-block: var(--s3); font-size: var(--fs-caption); color: var(--muted); }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: 4px var(--s2); }
.site-footer .footer-legal a { display: inline-block; padding-block: 6px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer-operator { margin: 0; padding-block: 6px; max-width: 80ch; }

/* ---------- legal and consumer-information pages: one white reading surface ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: var(--s3) var(--s5); align-items: start; }
.legal > .notice { grid-column: 1 / -1; margin: 0; }
@media (max-width: 899px) { .legal { grid-template-columns: minmax(0, 1fr); } }
.legal-toc { position: sticky; top: calc(var(--header-h) + var(--s3)); padding: var(--s3); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: var(--fs-ui); }
@media (max-width: 899px) { .legal-toc { position: static; } }
.legal-toc-title { margin: 0 0 12px; font-size: var(--fs-small); }
.legal-toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 2px; }
.legal-toc a { display: block; padding-block: 3px; color: var(--ink-soft); }
.legal-body { max-width: 72ch; padding: var(--s4); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink-soft); }
@media (max-width: 599px) { .legal-body { padding: var(--s3) var(--s2); } }
.legal-body section { scroll-margin-top: calc(var(--header-h) + var(--s2)); }
.legal-body h2 { margin-top: var(--s5); font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); }
.legal-body section:first-child h2 { margin-top: 0; }
.legal-body ul { padding-left: 1.3em; }
.legal-body li { margin-bottom: 8px; }
.legal-facts { display: grid; gap: 0; margin: var(--s2) 0; border-top: 1px solid var(--line-soft); }
.legal-facts > div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px var(--s2); padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 599px) { .legal-facts > div { grid-template-columns: minmax(0, 1fr); } }
.legal-facts dt { color: var(--ink); font-weight: 600; }
.legal-facts dd { margin: 0; }
.legal-facts dd a, .legal-facts dd span { display: inline-flex; align-items: center; gap: 6px; }
.table-wrap { overflow-x: auto; margin: var(--s2) 0; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-ui); }
.legal-table th, .legal-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; }
.legal-form { padding: var(--s3); background: var(--bg-alt); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.legal-form p { margin: 0 0 8px; }
.legal-updated { margin: var(--s5) 0 0; font-size: var(--fs-small); color: var(--muted); }
.notice-draft { border-color: var(--ph-line); background: var(--ph-bg); }
.notice-draft .icon { color: var(--ph-ink); }
.form-preview-note { margin: 0 0 var(--s3); padding: 10px 14px; background: var(--ph-bg); border: 1px dashed var(--ph-line); border-radius: var(--radius-sm); color: var(--ph-ink); font-size: .9375rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}

/* ==========================================================================
   Sage wave backgrounds (2026-11-03)
   Decorative images in assets/img/bg, CSS backgrounds only: they never take clicks or change
   layout. Each keeps its own proportions; the colour under it matches the image's quiet centre.
   ========================================================================== */

/* Homepage intro on other builds: the original background, with a veil on the text side. */
.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .3) 45%, rgba(255, 255, 255, 0) 65%),
    #f3f7f5 url("../img/bg/video-hero-poster.webp") center / cover no-repeat;
}

/* "Na dotaz" categories: the opposite-corner variant frames the panel. */
#na-dotaz, section[aria-labelledby="ask-title"] {
  background: #f0f6f5 url("../img/bg/waves-corners.webp") center / cover no-repeat;
}

/* Enquiry areas: the right-edge variant behind the left-aligned intro, form on white. */
.section-alt:has(> .wrap > .enquiry) {
  background: #eef4f1 url("../img/bg/video-enquiry-poster.webp") center bottom / cover no-repeat;
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0) 75%),
      #f3f7f5 url("../img/bg/video-hero-poster.webp") 88% bottom / cover no-repeat;
  }
  .page-head { background-image: url("../img/bg/waves-light-900.webp"); background-position: right top; }
  #na-dotaz, section[aria-labelledby="ask-title"] { background-image: url("../img/bg/waves-corners-900.webp"); background-size: 900px auto; background-position: right top; }
  .section-alt:has(> .wrap > .enquiry) { background-position: 70% bottom; }
}

/* ---------- animated wave backgrounds (2026-11-03) ----------
   site.js adds a muted, looping video layer behind the homepage backdrop and the enquiry
   sections. The section's own background is the video's first frame, so without JS, with reduced
   motion, before loading or if playback fails, the same picture stays. The layer is clipped, sits
   behind the content, takes no clicks and is hidden from assistive technology. */
.has-bg-video { position: relative; isolation: isolate; overflow: hidden; }
.bg-video { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .6s ease; }
.bg-video video.is-playing { opacity: 1; }
.hero .bg-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .3) 45%, rgba(255, 255, 255, 0) 65%); }
.section-alt .bg-video video { object-position: center bottom; }
@media (max-width: 760px) {
  .hero .bg-video video { object-position: 88% bottom; }
  .hero .bg-video::after { background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0) 75%); }
  .section-alt .bg-video video { object-position: 70% bottom; }
}
@media (prefers-reduced-motion: reduce) { .bg-video { display: none; } }

/* ---------- "Podívejte se dovnitř automatu" (homepage) ----------
   A guided look at the illustrative 3D animation. Without JS: the video with its native
   controls and the full description. With JS (assets/js/inside.js) the section becomes a tall
   scroll track whose stage sticks to the screen while scrolling moves the video and the active
   explanation (.is-scrub), or, on short screens / reduced motion / unseekable video, a normal
   video with step buttons (.is-manual). The frame keeps the video's own ratio (1024 × 756). */
.inside { background: #f9fafa url("../img/bg/waves-light.webp") center / cover no-repeat; border-top: 1px solid var(--line); }
.inside-grid { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: var(--s5); align-items: center; }
.inside-text { position: relative; padding: var(--s4); background: var(--soft-bg-strong); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--soft-highlight), var(--shadow-sm); }
.inside-text h2 { font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.375rem); margin-bottom: var(--s3); }
.inside-media { margin: 0; }
.inside-frame { position: relative; aspect-ratio: 1024 / 756; background: #e6e6e2; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.inside-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #e6e6e2; }
.inside-media figcaption {
  display: table; margin: 10px 0 0; padding: 3px 10px; background: var(--soft-bg-strong); border-radius: var(--radius-xs);
  font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--muted);
}

.inside-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.inside-count { margin: 0; flex: none; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.inside-progress { position: relative; flex: 1 1 auto; height: 3px; background: var(--line); border-radius: 2px; }
.inside-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--inside-p, 0) * 100%); background: var(--accent); border-radius: 2px; }
.inside-progress i { position: absolute; top: -3px; width: 1px; height: 9px; margin-left: -.5px; background: var(--line-strong); }
/* all steps share one cell, so the panel keeps the height of the longest one */
.inside-steps { display: grid; padding-left: 14px; border-left: 2px solid var(--accent); }
.inside-step { grid-area: 1 / 1; }
.inside-step h3 { margin: 0 0 6px; font-size: var(--fs-h3); }
.inside-step p { margin: 0; max-width: 44ch; color: var(--ink-soft); }
.js .inside[data-mode] .inside-step[hidden] { display: block; visibility: hidden; opacity: 0; }
.inside[data-mode] .inside-step { transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s; transform: translateY(6px); }
.inside[data-mode] .inside-step.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .28s var(--ease) .06s, transform .28s var(--ease) .06s, visibility 0s; }
.inside-hint { margin: 12px 0 0; min-height: 1.5em; font-size: var(--fs-caption); color: var(--muted); transition: opacity .3s; }
.inside-hint.is-gone { opacity: 0; }
.inside-hint[hidden] { display: none; }
.inside-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.inside-nav[hidden] { display: none; }
.inside-nav .btn-sm { min-height: 38px; padding: 0 14px; font-size: var(--fs-small); }
.inside-all { margin-top: 12px; }
.inside-all summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; color: var(--accent); cursor: pointer; list-style: none; }
.inside-all summary::-webkit-details-marker { display: none; }
.inside-all summary::before { content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(-45deg); transition: transform var(--t-fast); }
.inside-all[open] summary::before { transform: rotate(45deg); }
.inside-all summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.inside-all summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.inside-all ol { margin: 8px 0 0; padding-left: 1.3em; font-size: var(--fs-ui); color: var(--ink-soft); }
.inside-all li { margin-bottom: 8px; }
.inside-cta { margin-top: var(--s3); }

/* scroll-driven: the stage sticks while the track scrolls past (height set by inside.js) */
.inside.is-scrub { padding-top: var(--s3); padding-bottom: var(--s3); }
.inside.is-scrub [data-inside-stage] { position: sticky; top: var(--inside-top, 16px); }
/* Until inside.js has measured, reserve roughly the scroll track, so a reload or a restored scroll
   position mid-sequence lands where it was (in the preview build the script starts later). */
@media (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .js .inside:not([data-mode]) .inside-track { height: calc(320vh + 600px); }
}
/* the full description opens over the panel, so the sticky layout never changes size */
.inside.is-scrub .inside-all[open] ol {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; top: 0; margin: 0; overflow: auto;
  padding: var(--s3) var(--s3) var(--s3) calc(var(--s3) + 1.3em); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.inside.is-scrub .inside-all[open] summary { position: relative; z-index: 6; }
.inside.is-scrub .inside-all[open] ol { padding-bottom: 72px; }
.inside.is-scrub .inside-all[open] summary::after { content: " – zavřít"; }

@media (max-width: 900px) {
  .inside-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .inside { background-image: url("../img/bg/waves-light-900.webp"); background-position: right top; }
  /* video first, so the picture and its explanation are read together */
  .inside[data-mode] .inside-media { order: -1; }
  .inside.is-scrub .inside-grid { gap: 12px; }
  .inside.is-scrub .inside-text { padding: var(--s2) !important; }
  .inside.is-scrub .inside-text .eyebrow { margin-bottom: 4px; font-size: var(--fs-caption); }
  .inside.is-scrub .inside-text h2 { font-size: 1.375rem; margin-bottom: 10px; }
  .inside.is-scrub .inside-step-head { margin-bottom: 10px; }
  .inside.is-scrub .inside-step h3 { font-size: var(--fs-h4); }
  .inside.is-scrub .inside-step p { font-size: var(--fs-ui); }
  .inside.is-scrub .inside-media figcaption { margin-top: 4px; }
  .inside.is-scrub .inside-hint { margin-top: 6px; }
  .inside.is-scrub .inside-nav { margin-top: 10px; }
  .inside.is-scrub .inside-all { display: inline-block; margin: 10px 0 0 8px; }
  .inside.is-scrub .inside-nav, .inside.is-scrub .inside-all { vertical-align: middle; }
  .inside.is-scrub .inside-cta { margin-top: 10px; min-height: 44px; padding: 0 18px; font-size: var(--fs-ui); }
}
@media (prefers-reduced-motion: reduce) {
  .inside[data-mode] .inside-step, .inside[data-mode] .inside-step.is-active, .inside-hint { transition: none; transform: none; }
}

/* ==========================================================================
   Homepage: one fixed backdrop (2026-11-04)
   The hero animation (or its first frame) fills the viewport and stays put; all homepage
   content, the footer included, scrolls in front of it. The layer is fixed inside <main>, which
   is its own stacking context with nothing transformed above it, so it stays attached to the
   viewport, sits behind the content and never takes clicks. Sections have no fills of their own:
   headings sit open on the quiet left of the background, supporting information on the soft
   material, products and forms on solid white.
   ========================================================================== */
.is-home main { position: relative; z-index: 0; isolation: isolate; }
.is-home .site-footer { position: relative; z-index: 1; }   /* main is positioned, so the footer must be too to paint above the backdrop */
.home-backdrop {
  position: fixed; top: 0; left: 0; right: 0; z-index: -1;
  height: 100vh; height: 100lvh;          /* the large viewport: no gap when mobile toolbars hide */
  pointer-events: none; overflow: hidden;
  background: #f3f7f5 url("../img/bg/video-hero-poster.webp") center / cover no-repeat;
}
.home-backdrop.has-bg-video { position: fixed; }
.home-backdrop .bg-video video { object-position: center; }
@media (max-width: 760px) {
  .home-backdrop { background-position: 82% center; }
  .home-backdrop .bg-video video { object-position: 82% center; }
}
/* the footer itself is fixed-backdrop friendly: everything behind it shows through */
.is-home { background: #f3f7f5; }

/* no section paints over the backdrop */
.is-home .hero, .is-home .section, .is-home .section-alt, .is-home #na-dotaz, .is-home .inside { background: transparent; border: 0; }
.is-home .hero { padding: var(--s6) 0 var(--s7); }
.is-home .section { padding: var(--s6) 0; }
.is-home .section-tight { padding: var(--s3) 0 var(--s6); }
.is-home .inside.is-scrub { padding-block: var(--s3); }

/* open headings: no outer card; the link beside them gets a small soft chip */
.is-home .section-head { margin-bottom: var(--s4); }
.is-home .section-head .text-link {
  min-height: 40px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--soft-bg-strong); border: 1px solid var(--soft-line); box-shadow: var(--soft-highlight);
}
.is-home .section-head .text-link:hover { background: #fff; }

/* soft material where light information floats on the background */
.is-home .notice,
.is-home .how,
.is-home .cta-band,
.is-home .catalogue > .cat-tools:has(.tool ~ .tool) {
  background: var(--soft-bg); border: 1px solid var(--soft-line); box-shadow: var(--soft-highlight), var(--shadow-sm);
  -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur);
}
.is-home .notice { background: var(--soft-bg-strong); }
.is-home .catalogue > .cat-status, .is-home .catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool label { padding: 4px 10px; border-radius: var(--radius-xs); background: var(--soft-bg-strong); }
.is-home .how { padding: var(--s4) var(--s4) 36px; border-radius: var(--radius-lg); }
.is-home .ask-grid { background: var(--soft-bg-strong); border-color: var(--soft-line); -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur); box-shadow: var(--soft-highlight), var(--shadow-sm); }
.is-home .ask-card:hover { background: rgba(255, 255, 255, .7); }
.is-home .service-list { background: var(--soft-bg-strong); border-color: var(--soft-line); -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur); box-shadow: var(--soft-highlight), var(--shadow-sm); }
.is-home .cta-band { padding: var(--s6) var(--s6); border-radius: var(--radius-xl); }
.is-home .cta-band h2 { font-size: var(--fs-h2); }
.is-home .cat-empty { background: var(--soft-bg-strong); }

/* the final panel and footer: a calm conclusion over the same background */
.is-home .site-footer {
  background: rgba(250, 251, 247, .82); border-top: 1px solid var(--soft-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
}

/* phones: the background shows more of its waves, so open text gets the soft material */
@media (max-width: 760px) {
  .is-home .hero-text,
  .is-home .section-head,
  .is-home .service-split > div:first-child {
    padding: var(--s3); background: var(--soft-bg-strong); border: 1px solid var(--soft-line); border-radius: var(--radius-lg); box-shadow: var(--soft-highlight), var(--shadow-sm);
    -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur);
  }
  .is-home .section-head .text-link { padding: 0; min-height: 0; background: none; border: 0; box-shadow: none; }
  .is-home .how, .is-home .cta-band { padding: var(--s3); }
  .is-home .section { padding: var(--s4) 0; }
}

/* ---------- homepage header: transparent over the fixed backdrop (2026-11-04) ----------
   No fill, divider, shadow or blur. It scrolls away with the page instead of sticking, so the
   transparent navigation never sits on top of passing content. Hover is a faint light wash,
   the current page a short green rule; keyboard focus keeps the green outline. */
.is-home .site-header { position: relative; background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-home .header-inner { min-height: calc(var(--header-h) + 12px); }
html:has(body.is-home) { scroll-padding-top: var(--s2); }
.is-home .nav-list > li > a:hover, .is-home .sub-toggle:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.is-home .nav-list > li > a.btn:hover { color: var(--on-accent); background: var(--accent-hover); }
.is-home .nav-toggle { background: rgba(255, 255, 255, .6); border-color: var(--line-strong); }
.is-home .nav-toggle:hover { border-color: var(--accent); }
.field .opt { font-weight: 400; color: var(--muted); }

/* ---------- Průvodce výběrem (pruvodce-vyberem/) ---------- */
.guide-head .guide-alt { margin: var(--s3) 0 0; }
.guide-panel { max-width: 1080px; margin: 0 auto; padding: var(--s4); background: var(--solid-bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.guide-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: 10px; }
.guide-count { margin: 0; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.guide-leave { font-size: var(--fs-small); color: var(--muted); }
.guide-leave:hover { color: var(--accent); }
.guide-progress { height: 4px; margin-bottom: var(--s4); background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.guide-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width var(--t-panel) var(--ease); }
.g-step-title { margin: 0 0 var(--s3); font-size: var(--fs-h3); max-width: 30ch; }
.g-step-title:focus { outline: none; }
.g-step-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.g-intro { color: var(--ink-soft); max-width: var(--measure); }
.g-q { margin: 0 0 var(--s4); padding: 0; border: 0; min-width: 0; }
.g-q:last-child { margin-bottom: 0; }
.g-legend { margin-bottom: 12px; padding: 0; font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 600; color: var(--ink); }
.g-q-main > .g-legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-hint { margin: -4px 0 12px; font-size: var(--fs-small); color: var(--muted); max-width: var(--measure); }
.g-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-options.is-compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.g-option { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.g-options.is-compact .g-option { min-height: 48px; padding: 11px 14px; }
.g-option:hover { border-color: var(--accent-line); background: var(--ivory); }
.g-option input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.g-option input:focus-visible { outline: none; }
.g-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.g-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.g-option-text { display: grid; gap: 2px; }
.g-option-title { font-weight: 600; color: var(--ink); line-height: 1.35; }
.g-option:has(input:checked) .g-option-title::after { content: " ✓"; color: var(--accent); }
.g-option-desc { font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.45; }
.g-q[aria-invalid="true"] .g-option { border-color: var(--danger); }
.g-q .g-error, .g-field .g-error { margin-top: 10px; }
.g-field { display: grid; gap: 8px; margin: 0 0 var(--s4); max-width: 560px; }
.g-field .g-hint { margin: 0; }
.g-step > .g-q + .g-q[data-when], .g-step > .g-q[data-when] { padding-top: var(--s3); border-top: 1px solid var(--line-soft); }
.guide-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line-soft); }
.guide-nav [data-guide-next] { margin-left: auto; }
.link-button { padding: 0; background: none; border: 0; font: inherit; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--accent-hover); }

/* result */
.g-result-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s4); align-items: start; }
.g-block { margin-bottom: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line-soft); }
.g-block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.g-block h3 { margin-bottom: 10px; }
.g-block-request { padding: var(--s3); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.g-block-request:not(:last-child) { margin-bottom: var(--s3); }
.g-cat-short, .g-note { font-size: var(--fs-small); color: var(--muted); max-width: var(--measure); }
.g-group-title { margin: var(--s3) 0 6px; font-size: var(--fs-ui); }
.g-cards { margin-top: var(--s2); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.g-card:hover { transform: none; }
.g-card .card-body { padding: 14px 16px 16px; }
.g-card .card-media img { inset: var(--s2) var(--s3) 12px; width: calc(100% - 2 * var(--s3)); height: calc(100% - var(--s2) - 12px); }
.g-card .card-note { padding: 6px 16px; }
.g-card .card-title { font-size: 1.125rem; }
.g-card .card-foot { gap: 6px var(--s2); }
.g-card .card-summary { display: none; }
.g-card-label { margin: 0 0 8px; font-size: var(--fs-caption); font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.g-card-extra { display: grid; gap: 10px; margin-bottom: var(--s2); }
.g-pick { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: var(--fs-ui); font-weight: 600; color: var(--ink); cursor: pointer; }
.g-pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.g-pick:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.g-pick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.g-pick input:focus-visible { outline: none; }
.g-facts { margin-top: var(--s2); padding: 12px 14px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: var(--fs-small); }
.g-card .g-facts { margin-top: 0; }
.g-facts-title { margin: 0 0 4px; font-weight: 600; color: var(--ink); }
.g-facts ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.g-facts-ok { border-color: var(--accent-line); background: var(--accent-soft); }
.g-facts-req { border-style: dashed; }
.g-facts-no { border-color: var(--ph-line); background: var(--ph-bg); }
.g-compare { margin-bottom: var(--s4); padding: var(--s3); background: var(--bg-alt); border-radius: var(--radius); }
.g-compare p:last-child { margin-bottom: 0; }
.g-cat-list { display: grid; gap: 10px; margin: var(--s2) 0 0; padding: 0; list-style: none; }
.g-cat-list li { display: grid; grid-template-columns: auto 1fr; gap: 2px var(--s2); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.g-cat-list a { font-weight: 600; }
.g-cat-list span { justify-self: end; font-size: var(--fs-small); color: var(--muted); }
.g-cat-list small { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--muted); }
.g-block-open ul { margin: 0; color: var(--ink-soft); }
.g-summary { position: sticky; top: calc(var(--header-h) + var(--s2)); padding: var(--s3); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.g-summary h3 { font-size: var(--fs-h4); margin-bottom: 12px; }
.g-summary dl { display: grid; gap: 0; margin: 0 0 var(--s2); font-size: var(--fs-small); }
.g-summary dl > div { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.g-summary dt { color: var(--muted); }
.g-summary dd { grid-column: 1; margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.g-summary .g-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--fs-small); min-height: 32px; }
.g-sum-actions { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.g-next { margin-top: var(--s4); padding: var(--s3); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); }
.g-next h3 { margin-bottom: 6px; }
.g-next-actions, .guide-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.g-tool-status { flex-basis: 100%; min-height: 1.4em; margin: 10px 0 0; font-size: var(--fs-small); font-weight: 600; color: var(--accent); }
.guide-backlink { margin: 0 0 var(--s3); }
.guide-enquiry .enquiry { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.guide-enquiry .enquiry-head p { max-width: var(--measure); }
.guide-tools { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line-soft); }
.guide-tools > p:first-child { flex-basis: 100%; margin: 0; color: var(--ink-soft); }
@media (max-width: 899px) {
  .g-result-grid { grid-template-columns: minmax(0, 1fr); }
  .g-summary { position: static; order: -1; }
  .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .guide-panel { padding: var(--s3) var(--s2); border-radius: var(--radius); }
  .g-options { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .g-cards { grid-template-columns: minmax(0, 1fr); }
  .guide-nav .btn, .g-next-actions .btn { flex: 1 1 auto; }
  .g-step-title { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .guide-progress span, .g-option { transition: none; } }

/* ==========================================================================
   Phones and touch screens (2026-11-07)
   Content-driven additions on top of the layouts above: comfortable tap targets, 16 px form
   text (no zoom-on-focus in iOS), notch-safe gutters, lighter effects and calmer spacing.
   Desktop with a mouse is unchanged except where noted.
   ========================================================================== */
.wrap { padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* the menu button carries a visible word, not just an icon */
.nav-toggle-label { display: none; }
@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; align-items: center; width: auto; min-width: 44px; padding: 0 14px 0 42px; color: var(--ink); font: 600 var(--fs-ui)/1 var(--font-display); }
  .js .nav-toggle-label { display: inline; }
  /* the open panel never runs past the screen: it scrolls on its own */
  .js .site-nav.is-open { max-height: calc(100vh - var(--header-h) - 24px); max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .js .nav-sub a { min-height: 44px; align-items: center; }
}

/* touch: every primary control at least 44 × 44 px */
@media (pointer: coarse), (max-width: 899px) {
  .tool input, .tool select, .field input, .field textarea, .field select { font-size: 1rem; }
  .cat-tools .tool select, .cat-tools .tool input { min-height: 44px; }
  .btn-sm, .header-cta.btn-sm, .inside-nav .btn-sm { min-height: 44px; }
  .logo { min-height: 44px; }
  .inside-all summary { min-height: 44px; }
  .sub-toggle { min-width: 44px; min-height: 44px; }
  /* inline links grow their tap area without changing the line */
  .text-link, .breadcrumbs a, .product-jump a, .card-note a, .hero-media figcaption a, .guide-leave, .enquiry-direct a { padding-block: 10px; }
  .breadcrumbs ol { gap: 0; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer .footer-legal a { padding-block: 12px; }
  .footer-title { margin-bottom: 6px; }
}

@media (max-width: 767px) {
  h1, h2, h3 { text-wrap: balance; }
  .section { padding: var(--s5) 0; }
  .page-head { padding: var(--s4) 0 var(--s5); }
  .page-head .breadcrumbs { margin-bottom: var(--s2); }
  .cta-band { padding: var(--s4) var(--s3); }
}

/* homepage on phones: the fixed background stays, the content gets calmer and lighter to draw */
@media (max-width: 760px) {
  .is-home { --soft-bg: rgba(250, 251, 247, .9); --soft-bg-strong: rgba(250, 251, 247, .95); }
  .is-home .hero { padding: var(--s2) 0 var(--s3); }
  .is-home .section-tight { padding: var(--s2) 0 var(--s4); }
  .is-home main *, .is-home .site-footer { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .is-home .site-footer { background: rgba(250, 251, 247, .95); }
  .is-home .ask-grid, .is-home .service-list { background: rgba(250, 251, 247, .95); }
}
@media (max-width: 599px) {
  .hero-actions { gap: 10px; }
  .hero-well { max-height: 240px; }
}

/* landscape phones: a short screen, so keep the hero and headings from filling it */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s3); }
  .hero-well { aspect-ratio: 4 / 3; max-height: 260px; --pad: var(--s2); }
  .hero-media { max-width: none; }
  .hero h1 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem); }
  .js .site-nav.is-open { max-height: calc(100dvh - var(--header-h) - 12px); }
}

/* legal tables become labelled cards on phones (the labels come from the column headings) */
@media (max-width: 599px) {
  .table-wrap:has(td[data-label]) { overflow: visible; }
  .legal-table:has(td[data-label]) { min-width: 0; }
  .legal-table:has(td[data-label]) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal-table:has(td[data-label]), .legal-table:has(td[data-label]) tbody, .legal-table:has(td[data-label]) tr, .legal-table:has(td[data-label]) td { display: block; width: 100%; }
  .legal-table:has(td[data-label]) tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .legal-table:has(td[data-label]) tr:first-child { border-top: 0; padding-top: 0; }
  .legal-table:has(td[data-label]) td { padding: 4px 0; border: 0; }
  .legal-table td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-caption); font-weight: 600; color: var(--muted); }
  .legal-table td[data-label]:first-child { font-weight: 600; color: var(--ink); }
  .legal-table td[data-label]:first-child::before { display: none; }
}

/* the guide: Back and Continue stay in reach at the bottom of a long step, never over its end */
@media (max-width: 599px) {
  .guide-nav {
    position: sticky; bottom: 0; z-index: 5; margin: var(--s3) calc(-1 * var(--s2)) calc(-1 * var(--s3)); padding: 12px var(--s2) max(12px, env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  }
  html:has(.guide-nav) { scroll-padding-bottom: 96px; }
  .guide-nav .btn { flex: 1 1 0; }
  .guide-top { align-items: center; }
  .g-summary { padding: var(--s2); }
  .g-next { padding: var(--s3) var(--s2); }
  .g-next-actions .btn { flex: 1 1 100%; }
}

/* forms: the focused field is scrolled clear of the sticky header and the keyboard */
.field input, .field textarea, .field select, .tool input, .tool select { scroll-margin-block: calc(var(--header-h) + 16px) 96px; }
@media (max-width: 599px) {
  .form-actions .btn { width: 100%; }
  .enquiry { gap: var(--s3); }
}

/* the inside view: buttons share the row on small phones */
@media (max-width: 420px) { .inside-nav .btn { flex: 1 1 0; } }
.gallery-main { touch-action: pan-y pinch-zoom; }
@media (pointer: coarse), (max-width: 899px) {
  .is-home .section-head .text-link { min-height: 44px; }
  .text-link, .breadcrumbs a, .product-jump a, .card-note a, .hero-media figcaption a, .guide-leave, .enquiry-direct a { padding-block: 11px; }
}
@media (max-width: 760px) { .is-home .section-head .text-link { padding-block: 11px; } }
/* the narrowest phones: logo and the labelled menu button share one row */
@media (max-width: 380px) {
  .header-inner { gap: 10px; }
  .logo { gap: 8px; font-size: 1rem; min-width: 0; }
  .js .nav-toggle { padding: 0 12px 0 38px; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { left: 11px; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { left: 0; }
}
/* up to large phones the enquiry button lives in the menu panel, so the header stays one row */
@media (max-width: 599px) {
  .js .header-cta { display: none; }
  .js .nav-toggle { margin-left: auto; }
}
@media (max-width: 960px) {
  .header-cta { order: 1; }
  .nav-toggle { order: 2; }
  .site-nav { order: 3; }
}
@media (max-width: 599px) {
  .catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool { flex-wrap: wrap; }
  .catalogue > .cat-tools:not(:has(.tool ~ .tool)) .tool select { flex: 1 1 11em; }
}

/* Indent the two beverage subcategories in the catalogue menu. */
.nav-sub .nav-sub-child > a {
  padding-inline-start: 1.75rem;
}

.realization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--s4);
  padding: 0;
  list-style: none;
}
.realization-grid figure { margin: 0; }
.realization-grid a { display: block; background: var(--bg-well); border-radius: var(--radius-lg); }
.realization-grid img { display: block; width: 100%; height: clamp(230px, 32vw, 345px); object-fit: contain; }
.realization-grid figcaption { margin-top: var(--s2); color: var(--muted); }

/* ================================================================
   Visual refresh (2026-11-18): real photos lead.
   - homepage hero: a mosaic of three installation photos instead of one small product shot
   - product photos sit framed on a soft sage "studio" well, larger, with no caption under own photos
   - phones: compact horizontal cards, filters in two columns
   - realizations: photos fill uniform tiles (no white letterbox), landscape shots span wider
   ================================================================ */
:root { --well-studio: linear-gradient(180deg, #f3f6f2 0%, #e6ede7 100%); }

/* hero mosaic */
.hero-mosaic {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px; height: clamp(380px, 36vw, 520px); margin: 0; position: relative;
}
.hero-tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #dfe7e0; box-shadow: 0 1px 2px rgba(24,45,39,.06), 0 18px 40px -22px rgba(24,45,39,.45); }
.hero-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tile-1 { grid-row: 1 / 3; }
.hero-tile-1 img { object-position: 62% 50%; }
.hero-tile-2 img { object-position: 50% 40%; }
.hero-tile-3 img { object-position: 50% 45%; }
.hero-mosaic figcaption {
  position: absolute; left: 14px; bottom: 14px; margin: 0;
}
.hero-mosaic figcaption a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  background: rgba(250, 251, 247, .94); border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; color: var(--ink); text-decoration: none;
  box-shadow: 0 6px 18px -10px rgba(24,45,39,.5);
}
.hero-mosaic figcaption a:hover { color: var(--accent); }
.hero-mosaic figcaption .icon { width: 16px; height: 16px; }
@media (max-width: 899px) {
  .hero-mosaic { height: clamp(300px, 70vw, 440px); max-width: 640px; }
}
@media (max-width: 599px) {
  .hero-mosaic { height: 280px; gap: 8px; }
  .hero-tile { border-radius: 14px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero-mosaic { height: 240px; }
}

/* hero facts: small pills instead of a hairline list */
.hero-points { gap: 8px; border-top: 0; padding-top: 0; }
.hero-points li { min-height: 34px; padding: 0 12px 0 10px; background: rgba(250,251,247,.75); border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--ink); }

/* product photos: framed on a studio well */
.card-media { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 22px; background: var(--well-studio); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.card-media img {
  position: static; inset: auto; width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 10px; box-shadow: 0 1px 2px rgba(24,45,39,.08), 0 14px 28px -16px rgba(24,45,39,.45);
  transition: transform var(--t-panel) var(--ease);
}
.card:hover .card-media img { transform: scale(1.025); }
.card-media img[src$="placeholder-automat.svg"] { box-shadow: none; border-radius: 0; width: 70%; height: 70%; }
.has-missing-photo .card-media, .card-media:has(img[src$="placeholder-automat.svg"]) { background: var(--well-studio); }
.card-body { padding: 18px 20px 20px; }
.card-badges { margin-bottom: 8px; }

/* product detail: same studio well */
.gallery-main { background: var(--well-studio); display: flex; align-items: center; justify-content: center; padding: var(--pad); overflow: hidden; }
.gallery-main img { position: static; inset: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 1px 2px rgba(24,45,39,.08), 0 22px 40px -22px rgba(24,45,39,.5); }
.gallery-main img[src$="placeholder-automat.svg"] { box-shadow: none; border-radius: 0; width: 60%; height: 60%; }
.gallery-thumbs a { background: var(--well-studio); }
.gallery-thumbs img { border-radius: 4px; }

/* realizations: uniform, filled tiles */
.realization-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); grid-auto-flow: dense; }
.realization-grid li.is-wide { grid-column: span 2; }
.realization-grid li.is-pano { grid-column: 1 / -1; }
.realization-grid a { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #dfe7e0; box-shadow: 0 1px 2px rgba(24,45,39,.06), 0 14px 30px -20px rgba(24,45,39,.45); }
.realization-grid img { height: clamp(240px, 26vw, 380px); object-fit: cover; transition: transform .5s var(--ease); }
.realization-grid li.is-pano img { height: clamp(200px, 24vw, 360px); }
.realization-grid a:hover img { transform: scale(1.03); }
.realization-grid figcaption { margin-top: 10px; font-size: var(--fs-small); line-height: 1.45; }
@media (max-width: 899px) { .realization-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .realization-grid { gap: var(--s2) 12px; }
  .realization-grid img { height: 220px; }
  .realization-grid li.is-wide, .realization-grid li.is-pano { grid-column: 1 / -1; }
  .realization-grid li.is-pano img { height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover .card-media img, .realization-grid a:hover img { transform: none; }
}

/* phones: compact horizontal product cards, filters in two columns */
@media (max-width: 599px) {
  .card { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; }
  .card:hover { transform: none; }
  .card-media { grid-row: 1 / span 3; aspect-ratio: auto; min-height: 100%; padding: 12px 10px; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .card-media img { border-radius: 6px; }
  .card-note { grid-column: 2; min-height: 0; padding: 8px 14px 0; border: 0; }
  .card-body { grid-column: 2; padding: 12px 14px 14px; }
  .card-badges { margin-bottom: 6px; }
  .card-maker { margin-bottom: 2px; }
  .card-title { font-size: 1.125rem; margin-bottom: 4px; }
  .card-summary { margin-bottom: 10px; font-size: var(--fs-small); line-height: 1.45; }
  .card-specs { margin-bottom: 10px; font-size: var(--fs-caption); }
  .card-specs div { padding: 4px 0; }
  .card-foot { padding-top: 10px; gap: 6px 12px; }
  .catalogue > .cat-tools:has(.tool ~ .tool) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
  .cat-tools:has(.tool ~ .tool) .tool { min-width: 0; }
  .cat-tools:has(.tool ~ .tool) .tool-search { grid-column: 1 / -1; }
  .cat-tools:has(.tool ~ .tool) .tool select { width: 100%; min-width: 0; }
  .cat-tools:has(.tool ~ .tool) > .btn, .cat-tools:has(.tool ~ .tool) > button { grid-column: 1 / -1; justify-self: start; }
}

/* ================================================================
   Bistro 24 (same owner, new machines), 2026-11-18: a compact dark "window into the
   new-machine showroom" after the used-machine catalogue. Charcoal, white editorial serif,
   restrained green; no photos, no motion. Footer link and an optional card in the guide.
   ================================================================ */
.related-wrap { padding-block: var(--s4) var(--s5); }
.related {
  --r-bg: #171b1a; --r-ink: #f4f6f2; --r-soft: #b9c4bd; --r-line: rgba(255,255,255,.12); --r-green: #6fbf8f;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s5); align-items: center;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4.5vw, 60px);
  background: var(--r-bg); color: var(--r-ink); border-radius: var(--radius-xl, 24px);
  box-shadow: 0 1px 2px rgba(10,14,13,.2), 0 28px 60px -34px rgba(10,14,13,.65);
}
/* a faint green ambient light from the upper right, and a hairline sheen at the top edge */
.related::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(111,191,143,.20), rgba(111,191,143,0) 70%);
  pointer-events: none;
}
.related::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); pointer-events: none; }
.related-eyebrow { margin: 0 0 14px; font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--r-green); }
.related h2 {
  margin: 0 0 14px; color: var(--r-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem); line-height: 1.1; letter-spacing: -.01em;
}
.related-lead { max-width: 46ch; margin: 0 0 var(--s4); color: var(--r-soft); font-size: var(--fs-body, 1.0625rem); line-height: 1.6; }
.related-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.related-cta { background: var(--r-ink); color: #141817; border: 1px solid var(--r-ink); }
.related-cta:hover { background: #fff; color: #0f3a28; border-color: #fff; }
.related-cta .icon-ext { width: 18px; height: 18px; }
.related-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--r-ink); font-family: var(--font-display); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.related-link:hover { text-decoration-color: var(--r-green); }
.related a:focus-visible { outline: 2px solid var(--r-green); outline-offset: 3px; }
.related-dest { margin: 14px 0 0; font-size: var(--fs-caption); color: #8d9992; }
.related-showroom { padding-left: var(--s5); border-left: 1px solid var(--r-line); }
.related-mark {
  margin: 0 0 var(--s3); color: var(--r-ink); line-height: 1;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); letter-spacing: -.01em;
}
.related-mark span { font-style: italic; }
.related-list { margin: 0; padding: 0; list-style: none; }
.related-list li { position: relative; padding: 11px 0 11px 20px; border-top: 1px solid var(--r-line); color: var(--r-ink); font-size: var(--fs-small); line-height: 1.45; }
.related-list li:last-child { border-bottom: 1px solid var(--r-line); }
.related-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--r-green); }
@media (max-width: 899px) {
  .related { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .related-showroom { padding: var(--s3) 0 0; border-left: 0; border-top: 1px solid var(--r-line); }
  .related-mark { display: none; }   /* the heading already names the offer; keeps the phone panel short */
  .related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s3); }
  .related-list li:last-child { border-bottom: 0; }
  .related-list li { border-top: 0; border-bottom: 1px solid var(--r-line); }
}
@media (max-width: 599px) {
  .related-wrap { padding-block: var(--s3) var(--s4); }
  .related { border-radius: 20px; padding: 26px 20px 22px; }
  .related-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .related-cta { width: 100%; justify-content: center; }
  .related-link { justify-content: center; }
  .related-dest { text-align: center; margin-top: 6px; }
  .related-list { grid-template-columns: minmax(0, 1fr); }
  .related-list li { padding-block: 9px; }
}

/* footer: the one outbound link */
.footer-related { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-soft); }

/* guide: optional, quiet pointer after the result */
.g-related { margin: var(--s3) 0; padding: 18px 20px; background: #171b1a; color: #f4f6f2; border-radius: var(--radius); }
.g-related h3 { margin: 0 0 6px; color: #f4f6f2; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 500; font-size: 1.3125rem; }
.g-related p { margin: 0 0 8px; color: #b9c4bd; }
.g-related-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #f4f6f2; font-family: var(--font-display); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.g-related-link:hover { text-decoration-color: #6fbf8f; }
.g-related-link:focus-visible { outline: 2px solid #6fbf8f; outline-offset: 3px; }
@media (max-width: 599px) {
  .related { gap: var(--s3); }
  .related h2 { font-size: 1.75rem; margin-bottom: 10px; }
  .related-lead { margin-bottom: var(--s3); font-size: 1rem; line-height: 1.55; }
  .related-showroom { padding-top: var(--s2); }
  .related-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .related-list li, .related-list li:last-child { padding: 6px 11px 6px 22px; border: 1px solid var(--r-line); border-radius: 999px; font-size: .8125rem; line-height: 1.35; }
  .related-list li::before { left: 10px; top: 50%; margin-top: -3px; }
}
/* phones: the lead already names the offer; the list would make the panel a second screen */
@media (max-width: 599px) { .related-showroom { display: none; } }

/* ================================================================
   Fixed backdrop on every page (2026-11-18, Eduard: "stacionární pozadí ve všech záložkách
   stejně jako na úvodní stránce"). The same .home-backdrop layer now sits right after <body>
   on all pages. Sections drop their own wave pictures; on subpages each section's content sits
   on one soft frosted sheet so text stays readable over the waves.
   ================================================================ */
body.has-backdrop { background: #f3f7f5; }
.has-backdrop .site-footer {
  position: relative; z-index: 1;
  background: rgba(250, 251, 247, .86); border-top: 1px solid var(--soft-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
}
.has-backdrop .page-head, .has-backdrop .section, .has-backdrop .section-alt { background: transparent !important; border: 0; }
.has-backdrop .page-head { padding: var(--s4) 0 var(--s2); }
.has-backdrop:not(.is-home) .section { padding: var(--s3) 0; }
.has-backdrop:not(.is-home) .section-alt + .section-alt { padding-top: 0; }
.has-backdrop:not(.is-home) main > :last-child { padding-bottom: var(--s6); }

/* subpages: one frosted sheet per section */
.has-backdrop:not(.is-home) main > .page-head > .wrap,
.has-backdrop:not(.is-home) main > .section > .wrap,
.has-backdrop:not(.is-home) main > .section-alt > .wrap,
.has-backdrop:not(.is-home) main > .product > .wrap,
.has-backdrop:not(.is-home) main > .product > .section > .wrap,
.has-backdrop:not(.is-home) main > .product > .section-alt > .wrap {
  padding-block: var(--s4);
  background: rgba(250, 251, 247, .9); border: 1px solid var(--soft-line); border-radius: var(--radius-xl);
  box-shadow: var(--soft-highlight), var(--shadow-sm);
  -webkit-backdrop-filter: var(--soft-blur); backdrop-filter: var(--soft-blur);
}
.has-backdrop:not(.is-home) main > .product > .wrap + .wrap { margin-top: var(--s3); }
.has-backdrop:not(.is-home) .product-top { padding-block: var(--s4); }
.has-backdrop:not(.is-home) .product-crumbs { padding-top: var(--s3); padding-bottom: var(--s2); }
.has-backdrop:not(.is-home) .product-crumbs .breadcrumbs { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(250, 251, 247, .9); border: 1px solid var(--soft-line); }
/* the full-bleed pinned video on /repasovane-automaty/ keeps its own surface */
.has-backdrop .scrub { background: #f3f7f5; }
@media (max-width: 760px) {
  .has-backdrop:not(.is-home) main > .page-head > .wrap,
  .has-backdrop:not(.is-home) main > .section > .wrap,
  .has-backdrop:not(.is-home) main > .section-alt > .wrap,
  .has-backdrop:not(.is-home) main > .product > .wrap,
  .has-backdrop:not(.is-home) main > .product > .section > .wrap,
  .has-backdrop:not(.is-home) main > .product > .section-alt > .wrap {
    width: calc(100% - 16px); padding-block: var(--s3); border-radius: 18px;
    padding-inline: max(calc(var(--gutter) - 8px), 12px);
    -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 251, 247, .95);
  }
  .has-backdrop:not(.is-home) .section { padding: var(--s1) 0; }
  .has-backdrop .page-head { padding: var(--s2) 0 var(--s1); }
  .has-backdrop .site-footer { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 251, 247, .96); }
}
/* a section holding only the closing band needs no second sheet around it */
.has-backdrop:not(.is-home) main > .section > .wrap:has(> .cta-band:only-child) { padding-block: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Bistro 24: more visible in the menu and the footer (2026-11-18) */
.nav-sub-related { margin-top: 6px; }
.nav-sub-related a { background: #171b1a; color: #f4f6f2; }
.nav-sub-related a small { margin-left: 6px; color: #9fd3b3; font-size: .8125rem; font-weight: 600; }
.nav-sub-related a:hover { background: #222826; color: #fff; }
@media (max-width: 960px) { .js .nav-sub-related a { margin-top: 4px; } }
.footer-related { margin: 14px 0 0; padding: 0; border: 0; }
.footer-related a, .site-footer .footer-related a {
  display: inline-flex; flex-direction: row; align-items: baseline; gap: 8px; min-height: 0; padding: 7px 12px;
  background: #171b1a; color: #f4f6f2; border-radius: 999px; text-decoration: none; font-size: .875rem; line-height: 1.3;
}
.footer-related-label { font-family: var(--font-display); font-weight: 600; color: #f4f6f2; }
.footer-related-name { font-weight: 600; color: #9fd3b3; }
.footer-related a:hover { background: #222826; text-decoration: none; }
.footer-related a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (pointer: coarse) { .footer-related a, .site-footer .footer-related a { min-height: 44px; align-items: center; padding: 0 16px; } }

/* guide: used or new, at the very start */
.guide-kind { margin: var(--s3) 0 0; }
.guide-kind-title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.guide-kind-options { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 12px; }
.guide-kind-opt {
  display: grid; gap: 4px; min-height: 44px; padding: 14px 16px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--accent); color: var(--ink); text-decoration: none;
}
.guide-kind-opt strong { font-family: var(--font-display); font-weight: 600; }
.guide-kind-opt > span { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }
.guide-kind-opt:hover { background: var(--accent-soft); }
.guide-kind-new { background: #171b1a; border-color: #171b1a; color: #f4f6f2; }
.guide-kind-new > span { color: #b9c4bd; }
.guide-kind-new:hover { background: #222826; }
.guide-kind-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 599px) { .guide-kind-options { grid-template-columns: minmax(0, 1fr); } }

/* long e-mail addresses wrap instead of pushing the page sideways (large text sizes, narrow phones) */
a[href^="mailto:"] { overflow-wrap: anywhere; min-width: 0; }

/* German and Slovak: long compound words ("Generalüberholung", "Geschäftsbedingungen") are
   hyphenated where the browser has a dictionary and otherwise wrap inside the word, so a narrow
   phone never clips or scrolls sideways. The type size stays the same. */
html:lang(de), html:lang(sk) { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
html:lang(de) :is(input, textarea, select, code, .lang-switch, .logo, .btn) { -webkit-hyphens: manual; hyphens: manual; }

/* ================================================================
   Stravovací automaty (workplace catering), 2026-12-02: a compact, light secondary pointer
   right after the dark Bistro 24 window. Ivory with a faint sage tint, fine border, one link,
   a small line icon. Deliberately lower and quieter than the Bistro 24 panel.
   ================================================================ */
.related-wrap:has(+ .catering-wrap) { padding-bottom: var(--s2); }
.catering-wrap { padding-block: 0 var(--s5); }
.catering {
  --c-orange: #b4530a; --c-orange-hover: #8f3f06;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px var(--s3); align-items: center;
  padding: 20px clamp(20px, 3vw, 32px);
  background: linear-gradient(135deg, #fff1e2 0%, #fde0c2 100%);
  border: 1px solid #f2c79d; border-left: 4px solid var(--c-orange); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(90,45,10,.06), 0 14px 32px -24px rgba(90,45,10,.4);
}
.catering-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-orange); color: #fff; }
.catering-icon svg { width: 24px; height: 24px; }
.catering-eyebrow { margin: 0 0 4px; font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8f3f06; }
.catering h2 { margin: 0 0 4px; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.catering-lead { margin: 0; max-width: 60ch; color: var(--ink-soft); font-size: var(--fs-ui); line-height: 1.5; }
.catering-action { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.catering-cta {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--c-orange); border-radius: var(--radius-sm); background: var(--c-orange); color: #fff;
  font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.catering-cta:hover { background: var(--c-orange-hover); border-color: var(--c-orange-hover); color: #fff; text-decoration: none; }
.catering-cta:focus-visible { outline: 2px solid var(--c-orange-hover); outline-offset: 3px; }
.catering-dest { margin: 0; font-size: var(--fs-caption); color: var(--ink-soft); }
@media (max-width: 900px) {
  .catering { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .catering-action { grid-column: 2; align-items: flex-start; margin-top: 8px; }
}
@media (max-width: 599px) {
  .catering-wrap { padding-bottom: var(--s4); }
  .catering { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 16px; gap: 0; }
  .catering-icon { display: none; }   /* optional on phones: keeps the panel short */
  .catering h2 { font-size: 1.125rem; }
  .catering-action { grid-column: 1; align-items: stretch; margin-top: 12px; }
  .catering-cta { justify-content: center; white-space: normal; text-align: center; padding-block: 10px; }
  .catering-dest { text-align: center; }
}

/* footer: second outbound link, plainer than the Bistro 24 pill */
.footer-catering { margin: 8px 0 0; font-size: .875rem; line-height: 1.4; hyphens: manual; }
.footer-catering a, .site-footer .footer-catering a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.footer-catering a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer-catering a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (pointer: coarse) { .footer-catering a, .site-footer .footer-catering a { display: inline-flex; align-items: center; min-height: 44px; } }
