/* Písma hostovaná lokálně (Archivo, Inter – SIL Open Font License). Podmnožiny latin + latin-ext. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   NEJ RETENČKY — design system
   Antracit + tlumená žlutá, technický a prémiový jazyk.
   ========================================================================== */

:root {
  /* Barvy značky */
  --ink: #242424;
  --ink-2: #2c2c2c;
  --ink-3: #363636;
  --gold: #d2a83e;
  --gold-hover: #dcb653;
  --gold-ink: #7a5d16;      /* žlutá pro text na světlém pozadí (AA) */
  --gold-soft: #efe3bf;
  --sand: #f3f1eb;
  --sand-2: #e9e5da;
  --white: #ffffff;
  --grey: #8d8d8d;           /* jen linky a text na tmavém */
  --text: #242424;
  --text-2: #5c5c5c;         /* sekundární text na světlém (AA) */
  --text-on-dark: #f3f1eb;
  --text-on-dark-2: #a3a3a3;
  --line: rgba(36, 36, 36, 0.12);
  --line-strong: rgba(36, 36, 36, 0.22);
  --line-dark: rgba(243, 241, 235, 0.12);
  --danger: #b3261e;
  --ok: #2f6b3a;

  /* Typografie */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);

  /* Mezery a rozměry */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --max: 1280px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 72px;
  --shadow-1: 0 1px 2px rgba(36, 36, 36, 0.06), 0 8px 24px -12px rgba(36, 36, 36, 0.18);
  --shadow-2: 0 2px 4px rgba(36, 36, 36, 0.06), 0 24px 48px -24px rgba(36, 36, 36, 0.32);

  /* Pohyb */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; font-stretch: 92%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { 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: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* Místa k doplnění skutečnými údaji — před spuštěním odstranit třídu .todo */
.todo { outline: 1px dashed var(--gold); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark .lead, .section--dark .muted { color: var(--text-on-dark-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); max-width: 860px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.section-head h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lg); color: var(--text-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--text-2); }

/* ---------- Tlačítka ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; font-stretch: 100%;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn .btn__arrow { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: var(--line-strong); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--sand); border-color: var(--ink); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--sand); --btn-bd: rgba(243, 241, 235, 0.28); }
.btn--ghost-dark::before { background: var(--sand); }
.btn--ghost-dark:hover { color: var(--ink); border-color: var(--sand); }
.section--dark .btn:not(.btn--ghost-dark)::before, .hero .btn:not(.btn--ghost-dark)::before, .page-hero .btn:not(.btn--ghost-dark)::before { background: var(--sand); }
.section--dark .btn:not(.btn--ghost-dark):hover, .hero .btn:not(.btn--ghost-dark):hover, .page-hero .btn:not(.btn--ghost-dark):hover { color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: 12px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--sand); transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.45s var(--ease);
}
.site-header.is-solid { background: rgba(36, 36, 36, 0.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; color: currentColor; }
.brand__word { font-family: var(--font-head); font-size: 1.125rem; letter-spacing: 0.02em; line-height: 1; font-stretch: 112%; white-space: nowrap; }
.brand__word b { font-weight: 800; }
.brand__word span { font-weight: 500; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a { position: relative; display: block; white-space: nowrap; padding: 10px 14px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: inherit; opacity: 0.86; transition: opacity 0.2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.header-phone { display: none; font-weight: 600; text-decoration: none; font-size: 0.9375rem; white-space: nowrap; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none !important; }
}
@media (min-width: 1240px) { .header-phone { display: inline-block; } }
.header-actions { display: flex; align-items: center; gap: 20px; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer; color: inherit;
}
.menu-toggle__bars { position: relative; width: 20px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease), opacity 0.3s; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 10.5px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

/* Mobilní menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--sand);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0.6s;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.6s var(--ease-in-out), visibility 0s; }
.menu-open .site-header { background: var(--ink); }
.mobile-menu ul { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-family: var(--font-head); font-size: 1.625rem; font-weight: 600; text-decoration: none; font-stretch: 95%;
  transform: translateY(100%); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.mobile-menu li a small { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--gold); font-weight: 500; }
.menu-open .mobile-menu li a { transform: none; opacity: 1; transition-delay: calc(0.12s + var(--i, 0) * 0.05s); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu__foot a.mobile-menu__phone { color: var(--text-on-dark-2); text-decoration: none; font-size: var(--fs-sm); text-align: center; padding: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--text-on-dark); overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.02fr 1fr; } }
.hero h1 { font-size: var(--fs-h1); font-weight: 750; letter-spacing: -0.035em; line-height: 0.98; font-stretch: 88%; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero__sub { margin-top: 28px; font-size: var(--fs-lg); color: var(--text-on-dark-2); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__ctas .btn { flex: 1 1 auto; }
@media (min-width: 520px) { .hero__ctas .btn { flex: 0 0 auto; } }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--text-on-dark-2); }
.trust-row svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.hero__visual { position: relative; }
.hero__figure { margin: 0; position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: #2a2a2a; overflow: hidden; }
.hero__figure svg { width: 100%; height: auto; }
.hero__figcap { position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-dark-2); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-dark-2); text-decoration: none; }
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); }
@media (min-width: 1024px) and (min-height: 760px) { .hero__scroll { display: flex; } }

/* Hero SVG kresba */
.hs-line { fill: none; stroke: #6b6b6b; stroke-width: 1.5; }
.hs-ink { fill: none; stroke: var(--sand); stroke-width: 1.6; }
.hs-gold { fill: none; stroke: var(--gold); stroke-width: 2; }
.hs-dim { fill: none; stroke: #7d7d7d; stroke-width: 1; }
.hs-text { font-family: var(--font-body); font-size: 12px; fill: var(--text-on-dark-2); letter-spacing: 0.06em; }
.hs-text--gold { fill: var(--gold); }
.hs-flow { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 6 12; stroke-linecap: round; }

/* Animace hero při načtení */
.js .hero [data-hero] { opacity: 0; transform: translateY(24px); }
.js .hero.is-ready [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.js .hero h1 .line > span { display: block; transform: translateY(105%); }
.js .hero.is-ready h1 .line > span { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(120ms + var(--i, 0) * 110ms); }
.js .hero .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.js .hero.is-ready .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-in-out); transition-delay: calc(300ms + var(--d, 0) * 1ms); }
.js .hero .hs-water { transform: scaleY(0); transform-origin: 50% 100%; transform-box: fill-box; }
.js .hero.is-ready .hs-water { transform: scaleY(1); transition: transform 2.2s var(--ease); transition-delay: 1.3s; }
.js .hero .hs-fade { opacity: 0; }
.js .hero.is-ready .hs-fade { opacity: 1; transition: opacity 1s var(--ease); transition-delay: calc(900ms + var(--d, 0) * 1ms); }
.hero.is-flowing .hs-flow { animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }

/* ---------- Odhalování obsahu ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(100%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-visible .w > span { transform: none; }

/* ---------- Karty služeb ---------- */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__num { position: absolute; right: 14px; top: 14px; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; color: var(--ink); background: rgba(255, 255, 255, 0.85); padding: 4px 8px; border-radius: 2px; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { font-size: var(--fs-h3); }
.card__body p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.card__more::after { content: ""; flex: 0 0 auto; width: 22px; height: 1px; background: var(--gold); transition: width 0.5s var(--ease); }
.card:hover .card__more::after { width: 44px; }

/* ---------- Systémy + schéma ---------- */
.systems { display: grid; gap: 40px; }
@media (min-width: 1080px) { .systems { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } }
.tabs { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 4px); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--radius); background: transparent; color: var(--text-on-dark-2);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.tab:hover { color: var(--sand); }
.tab[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.system-panel h2, .system-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 14px; }
.system-panel > p { color: var(--text-on-dark-2); }
.system-panel[hidden] { display: none; }
.js .system-panel:not([hidden]) { animation: panelIn 0.6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.parts { list-style: none; margin-top: 24px; counter-reset: part; border-top: 1px solid var(--line-dark); }
.parts li { border-bottom: 1px solid var(--line-dark); }
.parts button {
  width: 100%; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; text-align: left;
  padding: 14px 0; background: none; border: 0; color: var(--text-on-dark-2); cursor: pointer; transition: color 0.3s var(--ease);
}
.parts button b { display: block; color: var(--sand); font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.parts button span.n { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; color: #9a9a9a; transition: color 0.3s; }
.parts button small { font-size: var(--fs-sm); line-height: 1.5; display: block; }
.parts button.is-active span.n, .parts button:hover span.n { color: var(--gold); }
.parts button.is-active b { color: var(--gold); }
.system-note { margin-top: 24px; padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(243, 241, 235, 0.04); font-size: var(--fs-sm); color: var(--text-on-dark-2); }
.system-note strong { color: var(--sand); }

.scheme { position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: #2a2a2a; overflow: hidden; }
.systems .scheme { order: -1; }
@media (min-width: 1080px) { .systems .scheme { order: 0; position: sticky; top: calc(var(--header-h) + 24px); } }
.scheme svg { width: 100%; height: auto; }
@media (max-width: 699px) {
  .scheme { overflow-x: auto; overscroll-behavior-x: contain; }
  .scheme svg { width: 720px; max-width: none; }
  .scheme__cap { width: 720px; }
}
.scheme__cap { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-dark); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-dark-2); }
.sc-el { transition: opacity 0.6s var(--ease), stroke 0.4s var(--ease), fill 0.4s var(--ease); }
.sc-off { opacity: 0.16; }
.sc-hl .sc-stroke { stroke: var(--gold) !important; }
.sc-hl .sc-fillhl { fill: rgba(210, 168, 62, 0.18) !important; }
.sc-label { font-family: var(--font-body); font-size: 17px; fill: var(--text-on-dark-2); letter-spacing: 0.04em; transition: fill 0.3s; }
.sc-hl .sc-label { fill: var(--gold); }
.sc-flow { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: 6 12; stroke-linecap: round; }
.scheme.is-running .sc-flow { animation: flow 1.4s linear infinite; }
.sc-water { transition: transform 1.2s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.sc-badge { transition: opacity 0.5s var(--ease); }

/* ---------- Výběr nádrže ---------- */
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.compare__col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.compare__head { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; padding: 28px 28px 20px; }
.compare__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.compare__head p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 8px; }
.compare__head img { border-radius: var(--radius); }
.spec { list-style: none; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 28px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
@media (min-width: 560px) { .spec li { grid-template-columns: 150px 1fr; gap: 20px; } }
.spec li:last-child { border-bottom: 0; }
.spec dt, .spec .k { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); padding-top: 2px; }
.compare__foot { margin-top: auto; padding: 20px 28px 28px; }
.factors { margin-top: 24px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .factors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .factors { grid-template-columns: repeat(3, 1fr); } }
.factor { background: var(--sand); padding: 22px 24px; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.factor svg { width: 28px; height: 28px; color: var(--gold-ink); }
.factor b { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.factor p { font-size: var(--fs-sm); color: var(--text-2); }
.note-flat { margin-top: 20px; font-size: var(--fs-sm); color: var(--text-2); }

/* ---------- Formulářové prvky ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: var(--fs-sm); }
.field label .req { color: var(--gold-ink); }
.field .help { font-size: var(--fs-xs); color: var(--text-2); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); font-size: 1rem; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23242424' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(210, 168, 62, 0.4); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); }
.field .err { display: none; font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
.field.is-invalid .err { display: block; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 56px; }
.input-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-size: var(--fs-sm); pointer-events: none; }

/* ---------- Postup ---------- */
.process { position: relative; display: grid; gap: 0; list-style: none; counter-reset: step; }
.process__rail { position: absolute; left: 23px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.process__rail span { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--gold); }
.pstep { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.pstep:last-child { padding-bottom: 0; }
.pstep__dot {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 1px solid var(--line-dark); font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--text-on-dark-2);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pstep.is-active .pstep__dot { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pstep__body { padding-top: 8px; display: grid; gap: 10px; }
.pstep__body h2, .pstep__body h3 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); color: var(--text-on-dark); }
.pstep__body p { color: var(--text-on-dark-2); max-width: 60ch; }
.pstep__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line-dark); border-radius: 100px; font-size: var(--fs-xs); color: var(--text-on-dark-2); }
.process-layout { display: grid; gap: 48px; }
@media (min-width: 1080px) { .process-layout { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.permit { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; background: rgba(243, 241, 235, 0.03); align-self: start; }
@media (min-width: 1080px) { .permit { position: sticky; top: calc(var(--header-h) + 24px); } }
.permit h2, .permit h3 { font-size: 1.375rem; margin: 12px 0 12px; color: var(--sand); }
.permit p { color: var(--text-on-dark-2); font-size: var(--fs-sm); }
.permit svg.ico { width: 32px; height: 32px; color: var(--gold); }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  min-height: 42px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-weight: 500; font-size: var(--fs-sm); transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.filter .count { margin-left: 6px; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] .count { color: var(--gold); }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(12, 1fr); gap: 20px; } .gitem { grid-column: span 4; } .gitem--wide { grid-column: span 8; } }
.gitem { position: relative; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.gitem.is-hidden { display: none; }
.gitem button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand-2); border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; text-align: left; position: relative; }
.gitem img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.gitem--wide img { aspect-ratio: 3 / 2; }
@media (min-width: 1024px) { .gitem button { height: 100%; } .gitem:not(.gitem--wide) img { aspect-ratio: auto; height: 100%; } }
.gitem--wide img { object-position: 50% 72%; }
.gitem button:hover img { transform: scale(1.04); }
.gitem__cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(36, 36, 36, 0.86)); color: var(--sand); display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.gitem__cap b { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; display: block; }
.gitem__cap small { font-size: var(--fs-xs); color: #cfcfcf; }
.gitem__zoom { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; transform: scale(0.8); opacity: 0; transition: all 0.4s var(--ease); }
.gitem button:hover .gitem__zoom, .gitem button:focus-visible .gitem__zoom { transform: none; opacity: 1; }
.gitem__zoom svg { width: 16px; height: 16px; }
.gitem__badge { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 4px 8px; border-radius: 2px; font-weight: 600; }
.gallery-note { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; margin-top: 28px; padding: 20px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); font-size: var(--fs-sm); color: var(--text-2); }
.gallery-note svg { width: 24px; height: 24px; color: var(--gold-ink); }
.gallery-empty { display: none; padding: 40px; text-align: center; color: var(--text-2); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 20, 20, 0.94); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); color: var(--sand); gap: 16px; }
.lightbox__title { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.lightbox__title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--text-on-dark-2); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-height: 78svh; width: auto; max-width: 100%; border-radius: var(--radius); transform: scale(0.97); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.lightbox.is-open .lightbox__stage img.is-loaded { transform: none; opacity: 1; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 241, 235, 0.25); background: rgba(36, 36, 36, 0.6); color: var(--sand); cursor: pointer; display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.lightbox__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__bottom { display: flex; justify-content: center; gap: 12px; padding: 16px; align-items: center; color: var(--text-on-dark-2); font-size: var(--fs-sm); }
/* Před / po */
.ba { position: relative; width: min(100%, 1100px); aspect-ratio: 3 / 2; max-height: 78svh; border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-height: none; opacity: 1 !important; transform: none !important; background: var(--sand); }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--gold); transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 18px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__lbl { position: absolute; top: 12px; padding: 4px 10px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: var(--sand); border-radius: 2px; pointer-events: none; }
.ba__lbl--l { left: 12px; } .ba__lbl--r { right: 12px; }

/* ---------- Proč my ---------- */
.why { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why__item { background: var(--white); padding: 36px 28px 40px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.why__item::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.why__item:hover::before { transform: scaleX(1); }
.why__ico { width: 44px; height: 44px; color: var(--ink); }
.why__ico .acc { stroke: var(--gold); }
.why__item h3 { font-size: 1.25rem; font-stretch: 96%; }
.why__item p { font-size: var(--fs-sm); color: var(--text-2); }
.group-strip { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: var(--fs-sm); color: var(--text-2); }
.group-strip b { font-family: var(--font-head); color: var(--ink); letter-spacing: 0.04em; font-stretch: 110%; }
.group-strip .sep { width: 4px; height: 4px; background: var(--grey); border-radius: 50%; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 0.75fr 1.25fr; gap: 72px; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center; padding: 22px 0;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.35; font-stretch: 96%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq .pm { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 48px 26px 0; color: var(--text-2); }
.faq__a p, .faq__a li { font-size: var(--fs-sm); line-height: 1.65; }
.faq__a ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 4px; }
.faq__a a { color: var(--gold-ink); }

/* ---------- Poptávka ---------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 1080px) { .contact { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.contact__info { display: grid; gap: 28px; }
.contact__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact__list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.contact__list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.contact__list span { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-on-dark-2); margin-bottom: 2px; }
.contact__list a, .contact__list b { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--sand); text-decoration: none; }
.contact__list a:hover { color: var(--gold); }
.next-steps { list-style: none; display: grid; gap: 14px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: var(--fs-sm); color: var(--text-on-dark-2); counter-increment: ns; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: var(--fs-xs); padding-top: 2px; letter-spacing: 0.06em; }
.form-card { position: relative; background: var(--sand); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); overflow: hidden; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.prefill { display: none; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius); font-size: var(--fs-sm); margin-bottom: 20px; }
.prefill.is-on { display: grid; animation: panelIn 0.5s var(--ease); }
.prefill svg { width: 20px; height: 20px; color: var(--gold-ink); }
.prefill button { background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: var(--fs-xs); color: var(--text-2); }
.drop {
  position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 24px 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--white); transition: border-color 0.25s, background 0.25s; cursor: pointer;
}
.drop:hover, .drop.is-over { border-color: var(--ink); background: #fbf7ea; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop svg { width: 26px; height: 26px; color: var(--gold-ink); }
.drop b { font-size: var(--fs-sm); }
.drop small { font-size: var(--fs-xs); color: var(--text-2); }
.files { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.files li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-xs); }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files button { background: none; border: 0; cursor: pointer; color: var(--text-2); font-size: 18px; line-height: 1; padding: 4px 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: var(--fs-xs); color: var(--text-2); }
.form-legal a { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; animation: spin 0.8s linear infinite; }
.is-sending .btn .spinner { display: inline-block; }
.is-sending .btn .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { display: none; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--radius); font-size: var(--fs-sm); border: 1px solid; }
.form-alert.is-on { display: grid; animation: panelIn 0.5s var(--ease); }
.form-alert--error { border-color: rgba(179, 38, 30, 0.4); background: #fbeeed; color: #5f1410; }
.form-alert svg { width: 20px; height: 20px; }
.form-alert a { color: inherit; font-weight: 600; }
.form-success { position: absolute; inset: 0; background: var(--sand); display: grid; place-items: center; padding: 32px; text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.form-card.is-sent .form-success { position: relative; inset: auto; min-height: 420px; opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.form-card.is-sent > form { display: none; }
.form-success__inner { display: grid; gap: 16px; justify-items: center; max-width: 440px; }
.form-success h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.form-success p { color: var(--text-2); }
.check { width: 84px; height: 84px; }
.check circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 252; stroke-dashoffset: 252; }
.check path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.form-card.is-sent .check circle { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease) 0.2s; }
.form-card.is-sent .check path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--ease) 0.9s; }

/* ---------- CTA pás ---------- */
.cta-band { background: var(--gold); color: var(--ink); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 28px; align-items: center; position: relative; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 3.25rem); max-width: 18ch; }
.cta-band p { margin-top: 14px; max-width: 56ch; }
.cta-band .btn { --btn-bg: var(--ink); --btn-fg: var(--sand); --btn-bd: var(--ink); }
.cta-band .btn::before { background: var(--sand); }
.cta-band .btn:hover { color: var(--ink); }
.cta-band__lines { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 520px; opacity: 0.18; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: #1b1b1b; color: var(--text-on-dark-2); padding-block: 72px 32px; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: var(--sand); margin-bottom: 18px; }
.site-footer .fh { font-family: var(--font-head); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--sand); margin-bottom: 16px; font-stretch: 100%; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold); }
.footer-group { display: grid; gap: 8px; }
.footer-group span { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.04em; color: #cfcfcf; font-stretch: 110%; }
.footer-group span.is-current { color: var(--gold); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--fs-xs); }

/* ---------- Mobilní lišta ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(36, 36, 36, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform 0.5s var(--ease); border-top: 1px solid var(--line-dark);
}
.mobile-bar.is-on { transform: none; }
.mobile-bar .btn { min-height: 48px; font-size: 0.9375rem; padding: 0 12px; }
@media (max-width: 1099px) { .site-footer { padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom)); } }
@media (min-width: 1100px) { .mobile-bar { display: none; } }

/* ---------- Podstránky ---------- */
.page-hero { background: var(--ink); color: var(--text-on-dark); padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; position: relative; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 4.25rem); letter-spacing: -0.03em; font-stretch: 88%; }
.page-hero .lead { color: var(--text-on-dark-2); margin-top: 22px; }
.page-hero figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--fs-xs); color: var(--text-on-dark-2); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.article { display: grid; gap: 48px; }
.article > * { min-width: 0; }
@media (min-width: 1080px) { .article { grid-template-columns: 1fr 340px; gap: 80px; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; font-stretch: 96%; }
.prose p, .prose li { color: #3e3e3e; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--gold-ink); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: var(--fs-xs); color: var(--text-2); margin-top: 8px; }
.prose figure img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.callout { margin: 1.6em 0; padding: 20px 22px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p { color: var(--text-2) !important; font-size: var(--fs-sm); }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 520px; background: var(--white); }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-family: var(--font-head); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); background: var(--sand); }
.aside-card { background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 16px; }
@media (min-width: 1080px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; align-self: start; } }
.aside-card h3 { font-size: 1.375rem; }
.aside-card p { color: var(--text-on-dark-2); font-size: var(--fs-sm); }
.aside-links { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; }
.aside-links h3 { font-family: var(--font-head); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-2); margin-bottom: 12px; }
.aside-links ul { list-style: none; display: grid; }
.aside-links a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); transition: color 0.2s, padding 0.3s var(--ease); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--gold-ink); padding-left: 6px; }
.aside-links a[aria-current="page"] { color: var(--gold-ink); }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--sand); padding: 120px var(--gutter) 60px; }
.notfound h1 { font-size: clamp(5rem, 3rem + 10vw, 11rem); color: var(--gold); font-stretch: 80%; }
.notfound p { color: var(--text-on-dark-2); margin: 12px auto 32px; max-width: 44ch; }

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span, .js .hero [data-hero], .js .hero h1 .line > span { opacity: 1 !important; transform: none !important; }
  .js .hero .draw { stroke-dashoffset: 0 !important; }
  .js .hero .hs-water { transform: none !important; }
  .js .hero .hs-fade { opacity: 1 !important; }
}

@media print {
  .site-header, .mobile-bar, .mobile-menu, .hero__scroll, .lightbox { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Poradna ---------- */
.article-meta { margin-top: 18px; font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--text-on-dark-2); }
.posts { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.post-card h2 { font-size: var(--fs-h3); line-height: 1.15; }
.post-card p { color: var(--text-2); font-size: var(--fs-sm); }
.post-card__meta { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.post-card:hover .card__more::after { width: 44px; }
.faq-more { margin-top: 28px; list-style: none; display: grid; border-top: 1px solid var(--line-strong); }
.faq-more a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); transition: color 0.2s, padding 0.3s var(--ease); }
.faq-more a:hover { color: var(--gold-ink); padding-left: 6px; }

/* Hlavička s 7 položkami na užších desktopech */
.header-cta { white-space: nowrap; }

/* Čísla v sekci Proč my */
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--sand); padding: 26px 24px; display: grid; gap: 4px; }
.stats b { font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-stretch: 88%; }
.stats span { font-size: var(--fs-sm); color: var(--text-2); }
.group-strip a { text-decoration: none; }
.group-strip a:hover b { color: var(--gold-ink); }
.footer-group a { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.04em; color: #cfcfcf; font-stretch: 110%; }

/* ==========================================================================
   KONFIGURÁTOR POPTÁVKY
   ========================================================================== */
.cfg-section { position: relative; background: var(--ink); color: var(--text-on-dark); padding-block: var(--section); overflow: hidden; }
.cfg-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 10%, transparent 70%); }
.anchor-alias { position: absolute; top: 0; }
.cfg-head { position: relative; max-width: 760px; display: grid; gap: 18px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.cfg-head h2 { font-size: var(--fs-h2); }
.cfg-head .lead { color: var(--text-on-dark-2); }

.cfg { position: relative; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) { .cfg { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 28px 40px; } .cfg-rail { grid-column: 1 / -1; } }

/* Kolejnice kroků */
.cfg-rail { position: relative; list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding-bottom: 14px; }
.cfg-rail button { width: 100%; display: grid; gap: 4px; justify-items: start; padding: 8px 4px; background: none; border: 0; color: #7e7e7e; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); text-align: left; cursor: default; transition: color 0.4s var(--ease); }
.cfg-rail button span { font-size: var(--fs-xs); letter-spacing: 0.08em; }
.cfg-rail button.is-done { color: var(--text-on-dark-2); cursor: pointer; }
.cfg-rail button.is-done:hover { color: var(--sand); }
.cfg-rail button.is-current { color: var(--gold); }
.cfg-rail__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line-dark); grid-column: 1 / -1; }
.cfg-rail__bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); transition: width 0.7s var(--ease); }
@media (max-width: 759px) {
  .cfg-rail button { font-size: 0; padding: 6px 0; justify-items: center; }
  .cfg-rail button span { font-size: var(--fs-xs); }
}

/* Tělo s kroky */
.cfg-body { position: relative; min-width: 0; background: #2a2a2a; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 44px); min-height: 560px; display: flex; flex-direction: column; }
.cfg-form { display: flex; flex-direction: column; flex: 1; }
.cstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.cstep legend { padding: 0; margin-bottom: 26px; display: grid; gap: 10px; font-family: var(--font-head); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 750; line-height: 1.05; letter-spacing: -0.03em; font-stretch: 88%; color: var(--sand); }
.cstep__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-stretch: 100%; }
.js .cstep.is-in { animation: cstepIn 0.65s var(--ease) both; }
.js .cstep.is-in-back { animation: cstepBack 0.65s var(--ease) both; }
@keyframes cstepIn { from { opacity: 0; transform: translateX(40px); clip-path: inset(0 0 0 8%); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes cstepBack { from { opacity: 0; transform: translateX(-40px); clip-path: inset(0 8% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* Dlaždice volby */
.tiles { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles--4, .tiles--2, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { --mx: 50%; --my: 50%; position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; min-height: 132px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: #303030; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(210, 168, 62, 0.16), transparent 65%); }
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: rgba(243, 241, 235, 0.3); }
.tile:active { transform: scale(0.985); }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile b { font-family: var(--font-head); font-size: 1.125rem; font-weight: 650; color: var(--sand); line-height: 1.2; }
.tile small { color: var(--text-on-dark-2); font-size: var(--fs-sm); line-height: 1.45; }
.tile__ico { width: 40px; height: 40px; margin-bottom: 8px; color: var(--sand); transition: color 0.3s, transform 0.5s var(--ease); }
.tile__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.tile::after { content: ""; position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(243, 241, 235, 0.3);
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23242424' stroke-width='1.8'/%3E%3C/svg%3E"); background-size: 0; transition: all 0.35s var(--ease); }
.tile:has(input:checked) { border-color: var(--gold); background: #353126; }
.tile:has(input:checked)::after { background-color: var(--gold); border-color: var(--gold); background-size: 12px; }
.tile:has(input:checked) .tile__ico { color: var(--gold); transform: translateY(-2px); }
.tile:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.tile.is-picked { animation: picked 0.5s var(--ease); }
@keyframes picked { 40% { transform: scale(0.97); } 100% { transform: none; } }
.tiles--big .tile { min-height: 168px; }
.tile--media { padding: 12px 12px 18px; }
.tile--media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: 10px; opacity: 0.92; transition: transform 0.8s var(--ease), opacity 0.3s; }
.tile--media:hover img { transform: scale(1.03); opacity: 1; }
.tile--media b, .tile--media small { padding-inline: 6px; }

/* Objem */
.vol { display: grid; gap: 10px; }
.vol__out { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-head); font-weight: 750; font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem); letter-spacing: -0.04em; line-height: 0.95; font-stretch: 82%; color: var(--sand); font-variant-numeric: tabular-nums; }
.vol__out small { font-size: clamp(1rem, 0.9rem + 0.6vw, 1.5rem); color: var(--gold); letter-spacing: 0; font-stretch: 100%; }
.vol__m3 { color: var(--text-on-dark-2); font-size: var(--fs-sm); margin: 0; }
.vol.is-off .vol__out, .vol.is-off .vol__m3, .vol.is-off .vol__range { opacity: 0.3; }
.vol__range { margin-top: 18px; transition: opacity 0.3s; }
.vol__ticks { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: #8f8f8f; margin-top: 10px; }
input[type="range"].crange, .vol__range input[type="range"], .dist input[type="range"] { --p: 40%; -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; }
.vol__range input[type="range"]::-webkit-slider-runnable-track, .dist input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p), #444 var(--p)); }
.vol__range input[type="range"]::-moz-range-track, .dist input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p), #444 var(--p)); }
.vol__range input[type="range"]::-webkit-slider-thumb, .dist input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--gold); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--gold); transition: transform 0.2s var(--ease); }
.vol__range input[type="range"]::-moz-range-thumb, .dist input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--gold); }
.vol__range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.vol__range input[type="range"]:focus-visible, .dist input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.vol__opts, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-toggle { position: relative; display: inline-flex; }
.chip-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-toggle span, .chip-toggle--btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-dark); background: #303030; color: var(--sand); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease); }
.chip-toggle--btn { font: inherit; font-size: var(--fs-sm); }
.chip-toggle--btn span { padding: 0; min-height: 0; border: 0; background: none; }
.chip-toggle:hover span, .chip-toggle--btn:hover { border-color: rgba(243, 241, 235, 0.35); }
.chip-toggle input:checked + span, .chip-toggle--btn[aria-expanded="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip-toggle input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.calc { margin-top: 12px; padding: 20px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: #262626; display: grid; gap: 14px; animation: panelIn 0.5s var(--ease); }
.calc__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .calc__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.calc__res { font-size: var(--fs-sm); color: var(--text-on-dark-2); margin: 0; }
.calc__res b { color: var(--gold); }
.vol__hint { font-size: var(--fs-sm); color: var(--text-on-dark-2); min-height: 1.5em; margin-top: 8px; }
.cfg-body .field label, .cfg-body .label { color: var(--sand); }
.cfg-body .help { color: var(--text-on-dark-2); }
.cfg-body .muted { color: var(--text-on-dark-2); font-weight: 400; }
.cfg-body .input, .cfg-body .select, .cfg-body .textarea { background-color: #1f1f1f; border-color: #4a4a4a; color: var(--sand); }
.cfg-body .input::placeholder, .cfg-body .textarea::placeholder { color: #8f8f8f; }
.cfg-body .input:hover, .cfg-body .select:hover, .cfg-body .textarea:hover { border-color: #777; }
.cfg-body .input:focus, .cfg-body .select:focus, .cfg-body .textarea:focus { border-color: var(--gold); }
.cfg-body .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f3f1eb' stroke-width='1.5'/%3E%3C/svg%3E"); }
.cfg-body .input-unit span { color: #a3a3a3; }
.cfg-body .field .err { color: #ff8a80; }
.cfg-body .field.is-invalid .input { border-color: #ff8a80; }
.cfg-body .req { color: var(--gold); }
.input--xl { min-height: 64px; font-size: 1.25rem; }

/* Rozsah prací */
.presets { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-dark); border-radius: 100px; margin-bottom: 16px; }
.preset { min-height: 40px; padding: 0 16px; border-radius: 100px; border: 0; background: transparent; color: var(--text-on-dark-2); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.preset:hover { color: var(--sand); }
.preset.is-on { background: var(--gold); color: var(--ink); }
.always, .notdo { font-size: var(--fs-sm); color: var(--text-on-dark-2); margin: 0 0 16px; }
.always b, .notdo b { color: var(--sand); font-weight: 600; }
.notdo { margin: 16px 0 0; padding-left: 14px; border-left: 2px solid #555; }
.works { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: #303030; cursor: pointer; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.work:hover { border-color: rgba(243, 241, 235, 0.3); }
.work input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.work b { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--sand); line-height: 1.3; }
.work small { display: block; font-size: var(--fs-xs); color: var(--text-on-dark-2); margin-top: 2px; line-height: 1.4; }
.work__box { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid rgba(243, 241, 235, 0.35); display: grid; place-items: center; transition: all 0.3s var(--ease); }
.work__box::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 0.3s var(--ease); }
.work:has(input:checked) { border-color: rgba(210, 168, 62, 0.6); background: #353126; }
.work:has(input:checked) .work__box { background: var(--gold); border-color: var(--gold); }
.work:has(input:checked) .work__box::after { transform: rotate(-45deg) scale(1); }
.work:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.work.is-locked { opacity: 0.6; cursor: not-allowed; }
.works--cond { margin-bottom: 22px; }
.dist { margin-bottom: 22px; }
.dist__row { display: grid; grid-template-columns: 1fr 64px; gap: 16px; align-items: center; }
.dist output { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.cfg-body .drop { background: #262626; border-color: #4a4a4a; color: var(--sand); }
.cfg-body .drop:hover, .cfg-body .drop.is-over { border-color: var(--gold); background: #2f2c24; }
.cfg-body .drop small { color: var(--text-on-dark-2); }
.cfg-body .drop svg { color: var(--gold); }
.cfg-body .files li { background: #262626; border-color: var(--line-dark); color: var(--sand); }
.cfg-body .files button { color: var(--text-on-dark-2); }
.cfg-body .err:not(:empty) { display: block; color: #ff8a80; font-size: var(--fs-xs); margin-top: 6px; }
.cfg-body .form-legal { color: var(--text-on-dark-2); margin-top: 16px; }
.cfg-body .form-legal a { color: var(--sand); }

/* Rekapitulace */
.recap { margin-top: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.recap h3 { font-size: 1rem; font-stretch: 100%; padding: 14px 18px; background: #262626; color: var(--sand); border-bottom: 1px solid var(--line-dark); }
.recap dl { margin: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 600px) { .recap dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.recap div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-dark); }
.recap dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-on-dark-2); }
.recap dd { grid-column: 1; margin: 0; font-size: var(--fs-sm); color: var(--sand); }
.recap button { grid-row: 1 / span 2; grid-column: 2; align-self: center; background: none; border: 0; color: var(--gold); font-size: var(--fs-xs); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }

/* Navigace kroků */
.cfg-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }
.cfg-nav__err { flex: 1; margin: 0; font-size: var(--fs-sm); color: #ff8a80; text-align: center; min-height: 1.4em; }
.cfg-nav .btn[data-prev][hidden] { display: inline-flex !important; visibility: hidden; }
.cfg-nav .btn { transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.25s var(--ease); }
.is-sending .cfg-nav .spinner { display: inline-block; }
.is-sending .cfg-nav .btn__arrow { display: none; }
.cfg-done { display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; min-height: 480px; flex: 1; }
.cfg-done h2, .cfg-done h3 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); color: var(--sand); }
.cfg-done p { color: var(--text-on-dark-2); max-width: 40ch; }
.cfg-done .check path { stroke: var(--gold); }
.cfg-done.is-on .check circle { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease) 0.15s; }
.cfg-done.is-on .check path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--ease) 0.85s; }

/* Živé schéma */
.cfg-live { position: relative; min-width: 0; display: grid; gap: 14px; align-content: start; }
@media (min-width: 1080px) { .cfg-live { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
@media (max-width: 1079px) { .cfg-live { order: -1; } .cfg-rail { order: -2; } }
.cfg-live__stage { position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: #262626; overflow: hidden; }
.cfg-live__stage .sys { width: 100%; height: auto; display: block; }
@media (max-width: 1079px) { .cfg-live__stage .sys { max-height: 260px; } }
.cfg-live__cap { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #8f8f8f; }
.cfg-live__vol { position: absolute; right: 14px; top: 12px; display: grid; justify-items: end; gap: 2px; pointer-events: none; }
.cfg-live__vol b { font-family: var(--font-head); font-weight: 750; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); color: var(--sand); letter-spacing: -0.03em; font-stretch: 88%; font-variant-numeric: tabular-nums; }
.cfg-live__vol span { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.cfg-live__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cfg-live__list li { font-size: var(--fs-xs); padding: 6px 10px; border-radius: 100px; border: 1px solid var(--line-dark); color: var(--text-on-dark-2); animation: chipIn 0.45s var(--ease) both; }
.cfg-live__list li.is-key { border-color: rgba(210, 168, 62, 0.5); color: var(--sand); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(0.96); } }
.cfg-live__notes { list-style: none; display: grid; gap: 8px; }
.cfg-live__notes li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: var(--fs-sm); color: var(--text-on-dark-2); animation: chipIn 0.45s var(--ease) both; }
.cfg-live__notes li::before { content: ""; width: 7px; height: 7px; margin-top: 7px; background: var(--gold); transform: rotate(45deg); }
.cfg-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: var(--fs-sm); color: var(--text-on-dark-2); }
.cfg-contact a { color: var(--sand); font-weight: 600; }

/* SVG prvky sestavy */
.sys-t { font-family: var(--font-body); font-size: 13px; fill: #a3a3a3; letter-spacing: 0.04em; }
.sys-t--gold { fill: var(--gold); }
.sys-el { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transform-box: fill-box; }
.sys-el.is-off { opacity: 0; transform: translateY(8px); }
.sys-mat { transition: opacity 0.5s var(--ease); }
.sys-mat.is-off { opacity: 0; }
.sys-tank__scale { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.9s cubic-bezier(0.34, 1.4, 0.5, 1); }
.sys-water { transition: transform 1.1s var(--ease); }
.sys-wave { animation: wave 4s linear infinite; }
@keyframes wave { to { transform: translateX(120px); } }
.sys-flow { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 5 11; stroke-linecap: round; opacity: 0; transition: opacity 0.4s; }
.cfg.is-live .sys-flow.is-on { opacity: 1; animation: flow 1.2s linear infinite; }
.sys-draw.is-new path, path.sys-draw.is-new { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sys-car.is-off { transform: translateX(-60px); }
.sys-lid--heavy.is-off { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sys-wave, .cfg.is-live .sys-flow.is-on { animation: none !important; }
  .js .cstep.is-in, .js .cstep.is-in-back { animation: none !important; }
}
@media (min-width: 1080px) { .cfg-live__stage .sys { max-height: max(260px, calc(100svh - 330px)); margin-inline: auto; } }
@media (max-width: 759px) { .cfg .cfg-live__list { display: none; } .cfg-live__vol b { font-size: 1.375rem; } .cfg-body { min-height: 0; } }
.cstep legend:focus { outline: none; }
@media (max-width: 599px) {
  .presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 14px; width: 100%; }
  .preset { border-radius: 10px; min-height: 48px; padding: 6px 8px; font-size: var(--fs-xs); line-height: 1.25; }
}

/* ==========================================================================
   CENÍK
   ========================================================================== */
.pc-title { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); margin-bottom: 20px; }
.pc { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(3rem, 2.5rem + 3vw, 5rem); }
@media (min-width: 960px) { .pc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } .pc-pills { grid-column: 1 / -1; } }
.pc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-pill { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 70px; min-height: 52px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 650; font-size: 1rem; line-height: 1.15; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease); }
.pc-pill small { font-family: var(--font-body); font-weight: 500; font-size: 0.6875rem; color: var(--text-2); }
.pc-pill:hover { border-color: var(--ink); }
.pc-pill:active { transform: scale(0.97); }
.pc-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.pc-pill[aria-pressed="true"] small { color: var(--text-on-dark-2); }
.pc-fig { background: var(--ink); color: var(--sand); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 14px; align-content: space-between; }
.pc-fig svg { width: 100%; height: auto; }
.pc-fig rect { transition: x 0.6s var(--ease), y 0.6s var(--ease), width 0.6s var(--ease), height 0.6s var(--ease); }
.pc-fig dl { margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); padding-top: 14px; }
.pc-fig dt { font-size: var(--fs-xs); color: var(--text-on-dark-2); }
.pc-fig dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); }
.pc-sum { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; background: var(--sand); }
.pc-sum__name { margin: 0; font-weight: 600; }
.pc-sum__total { margin: 0; display: grid; gap: 4px; font-family: var(--font-head); font-size: clamp(2.5rem, 2rem + 2.5vw, 3.75rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-stretch: 88%; font-variant-numeric: tabular-nums; }
.pc-sum__total small { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; color: var(--text-2); font-stretch: 100%; }
.pc-lines { list-style: none; display: grid; margin-bottom: auto; }
.pc-lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.pc-lines label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.pc-lines input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.pc-lines b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-note { color: var(--text-2); font-size: var(--fs-sm); max-width: 72ch; }
.pc-table table { min-width: 860px; }
.pc-table td, .pc-table tbody th { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-table tbody th { font-family: var(--font-head); font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--white); position: sticky; left: 0; }
.pc-table tbody tr:hover td { background: var(--sand); }
.pc-info { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); margin-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) 24px; }
@media (min-width: 800px) { .pc-info { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pc-info h2 { font-size: 1.25rem; margin-bottom: 12px; font-stretch: 96%; }
.pc-info ul { padding-left: 1.1em; display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.pc-info .pc-extras { list-style: none; padding: 0; gap: 12px; }
.pc-extras li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
.pc-extras b { color: var(--ink); font-weight: 600; }
.pc-extras span { grid-row: 2; }
.pc-extras strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--ink); white-space: nowrap; }
@media (max-width: 959px) { .pc-fig { order: 1; } }
.pc-dist { display: grid; gap: 4px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .pc-dist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pc-dist .dist { margin: 0; gap: 2px; }
.pc-dist label { font-size: var(--fs-sm); font-weight: 600; }
.pc-dist .dist__row { grid-template-columns: 1fr 52px; gap: 10px; }
.pc-dist output { font-size: 1rem; color: var(--gold-ink); }
.pc-dist input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--ink) var(--p), #cfcabd var(--p)); }
.pc-dist input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--ink) var(--p), #cfcabd var(--p)); }
.pc-mat { grid-column: 1 / -1; margin-bottom: 0; }
.pc-title--next { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* Fotka realizace na úvodní stránce */
.real-band { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .real-band { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.real-band h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.real-band .lead { margin-bottom: 24px; }
.real-band__img { display: block; border-radius: var(--radius-lg); overflow: hidden; }
.real-band__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 65%; transition: transform 1.2s var(--ease); }
.real-band__img:hover img { transform: scale(1.03); }
.pc-lines .pc-pump { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; }
.pc-pump .select { grid-column: 1 / -1; min-height: 44px; padding-block: 8px; font-size: var(--fs-sm); background-color: var(--white); }
.pump-pick { margin-top: 16px; }


/* ---------- SEO přestavba 2026: navigace, fotky, nové sekce ---------- */
picture { display: contents; }
/* Plovoucí navigace: jen betonové, plastové a čtyři hlavní odkazy */
.site-header, .site-header.is-solid, .menu-open .site-header { top: 8px; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
.site-header .site-header__inner { width: calc(100% - 20px); max-width: 1240px; height: 60px; padding: 0 8px 0 18px; margin-inline: auto; background: rgba(36, 36, 36, 0.86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-radius: 999px; box-shadow: 0 0 0 1px rgba(243, 241, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 36px -18px rgba(0, 0, 0, 0.55); transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.menu-open .site-header .site-header__inner { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav ul { gap: 2px; align-items: center; }
.nav a, .nav a[aria-current="true"] { padding: 9px 14px; font-size: 0.9375rem; border-radius: 999px; transition: background 0.35s var(--ease), color 0.35s var(--ease), opacity 0.2s; }
.nav a::after { display: none; }
.nav a:hover { background: rgba(243, 241, 235, 0.08); }
.nav a[aria-current="true"] { color: var(--gold); background: rgba(210, 168, 62, 0.12); }
.nav-split { position: relative; margin-right: 13px; }
.nav-split::after { content: ""; position: absolute; right: -8px; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: rgba(243, 241, 235, 0.16); }
.header-actions { gap: 16px; }
.header-phone { display: none; }
@media (min-width: 1400px) { .header-phone { display: inline-block; } }
.header-cta.btn { min-height: 44px; border-radius: 999px; }
.menu-toggle { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(243, 241, 235, 0.08); transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.menu-toggle:active { transform: scale(0.95); }
.mobile-menu { padding-top: calc(var(--header-h) + 22px); padding-bottom: 20px; }
.mobile-menu ul.menu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 0; margin-bottom: 18px; }
.mobile-menu ul.menu-cards li { border-bottom: 0; overflow: visible; }
.mobile-menu li a.menu-card { display: block; padding: 5px; font-family: var(--font-body); font-size: 1rem; background: rgba(243, 241, 235, 0.05); border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(243, 241, 235, 0.1); }
.menu-card__core { display: grid; gap: 2px; padding: 16px; background: var(--ink-3); border-radius: 17px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); transition: background 0.35s var(--ease); }
.menu-card:active .menu-card__core { background: #424242; }
.menu-card svg { width: 48px; height: 32px; margin-bottom: 12px; fill: none; stroke: var(--gold); stroke-width: 1.25; }
.menu-card b { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.menu-card small { color: var(--text-on-dark-2); font-size: var(--fs-xs); }
.mobile-menu ul.menu-links { border-top: 0; }
.menu-links li { border-bottom: 0; }
.mobile-menu .menu-links li a { padding: 11px 4px; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.01em; }
.mobile-menu__foot { padding-top: 18px; gap: 6px; }
.mobile-menu__foot .btn { border-radius: 999px; }
.mobile-menu__foot a.mobile-menu__phone { color: var(--text-on-dark); font-weight: 600; font-size: var(--fs-base); }
.page-hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.routes { display: grid; gap: 16px; }
@media (min-width: 640px) { .routes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .routes { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.route { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s, transform 0.3s var(--ease); }
.route:hover { border-color: var(--gold-ink); transform: translateY(-2px); }
.route h3 { font-size: 1.25rem; margin-bottom: 8px; }
.route p { color: var(--text-2); margin: 0; }
.home-area { display: grid; gap: 40px; }
@media (min-width: 900px) { .home-area { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.home-area__h { font-size: 1.375rem; margin-bottom: 14px; }
.home-links { list-style: none; display: grid; }
.home-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.home-links a:hover { color: var(--gold-ink); }
.contact-page { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-page { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } }
.contact-page__info h2 { font-size: 1.25rem; margin: 2em 0 0.5em; }
.contact-page__info h2:first-child { margin-top: 0; }
.contact-page__info address { font-style: normal; }
.contact-page__tel { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); text-decoration: none; white-space: nowrap; }
.contact-page__note { color: var(--text-2); font-size: var(--fs-sm, 0.9375rem); }
.contact-page__cta { padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-page__cta h2 { font-size: 1.75rem; margin-bottom: 10px; }
.contact-page__cta .btn { margin-top: 18px; }
.dev-banner { position: fixed; left: 8px; top: 80px; z-index: 9999; padding: 4px 10px; background: var(--danger); color: #fff; font-size: 12px; border-radius: 4px; pointer-events: none; }

/* Hlavní text první obrazovky se nesmí schovávat do doběhnutí JS, jinak se zhorší LCP. */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lineIn { from { transform: translateY(105%); } to { transform: none; } }
.js .hero [data-hero], .js .hero.is-ready [data-hero], .js .page-hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: riseIn 0.55s var(--ease) both; }
.js .hero h1 .line > span, .js .hero.is-ready h1 .line > span { transform: none; transition: none; animation: lineIn 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) { .js .hero [data-hero], .js .hero h1 .line > span, .js .page-hero [data-reveal] { animation: none; } }
