/* =====================================================================
   České fasády — styly
   Jedno písmo (Archivo), jedna akcentní barva, minimum ozdob.
   Barvy se mění výhradně v bloku :root níže.
   ===================================================================== */

/* ---------- 1) PÍSMO ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- 2) BARVY A ROZMĚRY ---------- */
:root {
  /* PALETA 02 — Námořnická modř. Jediné místo, kde se mění barevnost webu. */
  --dark: #122340;            /* tmavé sekce a hlavička */
  --dark-2: #0D192E;            /* patička */
  --dark-line: #1A335D;            /* linky na tmavém */
  --surface: #F2F1EE;            /* pozadí stránky */
  --surface-2: #EBE9E4;            /* jemné odsazení */
  --card: #FFFFFF;            /* karty a formuláře */
  --line: #E1DFD8;
  --line-strong: #C8C4B8;
  --accent: #1B4A8F;            /* CTA a akcenty */
  --accent-hover: #163D75;
  --accent-on-dark: #578FDF;            /* akcentní text na tmavém pozadí */
  --text: #122340;
  --text-soft: #515D71;
  --muted: #606B7D;
  --on-dark: #F4F6F7;
  --on-dark-soft: #BDC1CA;
  --ok: #2E6B4F;
  --err: #B3261E;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --pad-x: clamp(20px, 4vw, 56px);
  --pad-y: clamp(56px, 7vw, 104px);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(27, 39, 51, 0.04), 0 8px 24px rgba(27, 39, 51, 0.06);
  --shadow-lg: 0 2px 4px rgba(27, 39, 51, 0.06), 0 18px 48px rgba(27, 39, 51, 0.12);
}

/* ---------- 3) ZÁKLAD ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.section--dark :focus-visible, .site-header :focus-visible { outline-color: #fff; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 14px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 4) LAYOUT ---------- */
.container { max-width: var(--wrap); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.section--surface { background: var(--surface); }
.section--alt { background: var(--surface-2); }
.section--card { background: var(--card); }
.faq-section--separated { border-top: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-soft); }

.cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); align-items: flex-start; }
.col { flex: 1 1 340px; min-width: 0; }
.col--wide { flex: 1 1 520px; }

/* ---------- 5) TYPOGRAFIE ---------- */
h1, .h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
  margin: 0 0 20px;
}
h2, .h2 {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.15; letter-spacing: -0.015em; font-weight: 700;
  margin: 0 0 16px;
}
h3, .h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; font-weight: 600; margin: 0 0 10px; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--text-soft); margin: 0 0 26px; max-width: 60ch; }
.section--dark .lead { color: var(--on-dark-soft); }

.label {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section--dark .label, .hero .label { color: var(--accent-on-dark); }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 18px; color: var(--text-soft); }
.prose h2 { margin-top: clamp(32px, 4vw, 48px); }
.prose h3 { margin: 26px 0 10px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; color: var(--text-soft); }
.prose li { margin-bottom: 8px; }

/* ---------- 6) TLAČÍTKA ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 26px;
  border: 0; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: wait; opacity: .72; transform: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); color: #fff; }
.btn--outline { border: 1.5px solid var(--line-strong); background: transparent; color: var(--text); }
.btn--outline:hover { border-color: var(--dark); }
.btn--on-dark { border: 1.5px solid rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; padding: 18px 32px; font-size: 17px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- 7) HLAVIČKA ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--dark); }
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 2.5vw, 42px); min-height: 78px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo:hover { text-decoration: none; }
.logo__mark { display: grid; grid-template-rows: repeat(3, 1fr); gap: 3px; width: 26px; height: 24px; flex: 0 0 auto; }
.logo__mark span { display: block; border-radius: 1px; }
.logo__mark span:nth-child(1) { background: var(--accent-on-dark); width: 100%; }
.logo__mark span:nth-child(2) { background: #fff; width: 76%; }
.logo__mark span:nth-child(3) { background: rgba(255,255,255,.45); width: 52%; }
.logo__text { font-weight: 700; font-size: 18px; letter-spacing: 0.02em; color: #fff; white-space: nowrap; }

.nav { display: flex; justify-content: center; gap: clamp(18px, 2vw, 30px); flex: 1 1 auto; }
.nav__link { color: rgba(255,255,255,.74); font-size: 14.5px; font-weight: 500; padding: 10px 0; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current='page'] { color: #fff; text-decoration: none; }
.nav__link[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--accent-on-dark); }

.header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-phone { display: flex; flex-direction: column; line-height: 1.25; color: #fff; }
.header-phone:hover { text-decoration: none; }
.header-phone span:first-child { font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; }
.header-phone span:last-child { font-size: 17px; font-weight: 700; white-space: nowrap; }

.header-mobile { display: none; align-items: center; gap: 8px; }
.icon-btn {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius);
  background: transparent; color: #fff; cursor: pointer;
}
.burger { flex-direction: column; gap: 5px; }
.burger span[aria-hidden] { height: 2px; width: 20px; background: #fff; border-radius: 2px; display: block; }

.mobile-nav { display: none; background: var(--dark); padding: 8px var(--pad-x) 22px; }
.mobile-nav[data-open='true'] { display: block; }
.mobile-nav__link {
  display: block; padding: 15px 0; min-height: 52px;
  border-bottom: 1px solid var(--dark-line); color: #fff; font-size: 17px; font-weight: 500;
}
.mobile-nav__link:hover { text-decoration: none; }
.mobile-nav .btn { margin-top: 18px; }

/* ---------- 8) HERO ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(19,28,37,.94) 0%, rgba(19,28,37,.86) 45%, rgba(19,28,37,.62) 100%);
}
.hero__inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--pad-x) clamp(40px, 5vw, 72px);
  display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero__main { flex: 1 1 460px; min-width: 0; }
.hero__aside { flex: 0 1 500px; min-width: min(100%, 320px); }
.hero__aside--homepage { flex-basis: 500px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255,255,255,.86); margin: 0 0 26px; max-width: 46ch; }

.hero__points { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__points li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; color: #fff; }
.hero__points .icon { color: var(--accent-on-dark); margin-top: 3px; }

.hero__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__microcopy { margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.5; }

/* ---------- 9) PÁS DŮVĚRY ---------- */
.trust { background: var(--card); border-bottom: 1px solid var(--line); padding: 22px var(--pad-x); }
.trust__row { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.trust__item { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.trust__item .icon { color: var(--accent); }

/* ---------- 10) KARTY ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards--services > * { grid-column: span 2; }
.cards--services > *:nth-last-child(-n+2) { grid-column: span 3; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card--link { color: var(--text); }
.card--link:hover { color: var(--text); text-decoration: none; }
.card--link:focus-visible { outline-offset: 4px; }
.card--link:hover .card__link { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.card__media { position: relative; }
.card__media img { width: 100%; height: clamp(180px, 18vw, 230px); object-fit: cover; object-position: center; }
.card__body { padding: clamp(20px, 2vw, 26px); display: flex; flex-direction: column; flex: 1 1 auto; }
.card__body p { color: var(--text-soft); font-size: 15.5px; margin: 0 0 18px; }
.card__link { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

.plain-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.2vw, 30px);
}
.plain-card p { color: var(--text-soft); font-size: 15.5px; margin: 0; }

/* Průvodce zakázkou */
.process-section { position: relative; overflow: hidden; }
#jak-to-probiha, #fasada-od-a-do-z { scroll-margin-top: 74px; }
.process-section::after {
  content: ''; position: absolute; width: 520px; height: 520px; right: -260px; top: -300px;
  border: 1px solid rgba(87,143,223,.2); border-radius: 50%; pointer-events: none;
}
.process-section--dark { background: var(--dark); color: var(--on-dark); }
.process-section--light { background: var(--surface); color: var(--text); }
.process-guide__head {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr);
  gap: clamp(28px,5vw,72px); align-items: end; margin-bottom: clamp(42px,6vw,76px);
}
.process-guide__title h2 { max-width: 16ch; margin-bottom: 0; }
.process-guide__tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  color: var(--accent-on-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.process-guide__tag > span { width: 26px; height: 3px; background: currentColor; }
.process-guide__intro p { margin: 0 0 22px; max-width: 50ch; color: var(--on-dark-soft); }
.process-section--light .process-guide__tag { color: var(--accent); }
.process-section--light .process-guide__intro p { color: var(--text-soft); }
.process-track {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: repeat(var(--process-steps), minmax(0,1fr));
  gap: clamp(14px,2vw,26px); list-style: none; margin: 0; padding: 0;
}
.process-track::before {
  content: ''; position: absolute; left: 31px; right: 31px; top: 31px; height: 2px;
  background: linear-gradient(90deg, var(--accent-on-dark), rgba(87,143,223,.25));
}
.process-section--light .process-track::before { background: linear-gradient(90deg, var(--accent), var(--line)); }
.process-step { position: relative; min-width: 0; }
.process-step__marker {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 8px solid var(--dark);
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
}
.process-section--light .process-step__marker { border-color: var(--surface); }
.process-step__content {
  min-height: 190px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.045); transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
@media (min-width: 861px) {
  body[data-page="o-nas"] .process-step { display: flex; flex-direction: column; }
  body[data-page="o-nas"] .process-step__content { flex: 1 1 auto; }
}
.process-step:hover .process-step__content { transform: translateY(-4px); border-color: rgba(87,143,223,.65); background: rgba(255,255,255,.07); }
.process-step__meta { display: block; margin-bottom: 9px; color: var(--on-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.process-step h3 { color: #fff; margin-bottom: 9px; }
.process-step p { color: var(--on-dark-soft); font-size: 15px; line-height: 1.55; margin: 0; }
.process-section--light .process-step__content { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.process-section--light .process-step__meta { color: var(--accent); }
.process-section--light .process-step h3 { color: var(--text); }
.process-section--light .process-step p { color: var(--text-soft); }

/* Fasáda od A do Z — jedna výrazná scrollovací scéna */
.facade-story { background: var(--dark-2); color: var(--on-dark); overflow: clip; }
.facade-story .label { color: var(--accent-on-dark); }
.facade-story h2 { color: #fff; max-width: 18ch; }
.facade-story__head {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr);
  gap: clamp(30px,5vw,76px); align-items: end; margin-bottom: clamp(40px,6vw,72px);
}
.facade-story__head .lead { color: var(--on-dark-soft); margin: 0; }
.facade-story__layout { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(320px,.78fr); gap: clamp(38px,6vw,86px); align-items: start; }
.facade-story__visual { position: relative; min-width: 0; align-self: stretch; }
.facade-stage {
  position: sticky; top: 96px; height: min(680px,calc(100vh - 120px)); min-height: 540px;
  display: flex; flex-direction: column; padding: clamp(14px,2vw,22px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 18px;
  background: #F5F6F3; color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: hidden;
}
.facade-stage__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facade-stage__top strong { color: var(--accent); }
.facade-stage__media {
  position: relative; min-height: 0; flex: 1 1 auto; display: grid; place-items: center;
  overflow: hidden; border-radius: 12px; background: #E3E1DC; perspective: 1100px; isolation: isolate;
}
.facade-story__photo {
  display: block; width: 100%; height: 100%; object-fit: contain;
  background: #E3E1DC;
}
.facade-story__photo--layer {
  --story-clip-top: 100%; --story-clip-right: 100%; --story-clip-bottom: 100%; --story-clip-left: 100%;
  --story-fly-x: -46%; --story-fly-y: 0px; --story-fly-scale: .9; --story-fly-rotate: -2deg;
  --story-layer-opacity: 0; --story-shadow-y: 24px; --story-shadow-blur: 28px; --story-shadow-opacity: .42;
  position: absolute; inset: 0; z-index: 2; visibility: hidden; opacity: var(--story-layer-opacity); pointer-events: none;
  clip-path: inset(var(--story-clip-top) var(--story-clip-right) var(--story-clip-bottom) var(--story-clip-left) round 10px);
  transform: translate3d(var(--story-fly-x),var(--story-fly-y),0) rotate(var(--story-fly-rotate)) scale(var(--story-fly-scale));
  transform-origin: left center; backface-visibility: hidden;
  filter: drop-shadow(0 var(--story-shadow-y) var(--story-shadow-blur) rgb(5 18 38 / var(--story-shadow-opacity)));
  will-change: opacity, clip-path, transform, filter;
}
.facade-story__photo--layer.is-visible { visibility: visible; }
.facade-story__photo--layer.is-complete { filter: none; will-change: auto; }
.facade-stage__status { display: flex; align-items: center; gap: 10px; padding: 13px 4px 2px; font-size: 14px; }
.facade-stage__status > span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(27,74,143,.12); }
.facade-story__steps { list-style: none; margin: 0; padding: 0 0 clamp(32px,10vh,110px); }
.facade-story__step {
  min-height: 56vh; display: flex; gap: 20px; align-items: center; padding: 24px;
  border-left: 4px solid transparent; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transform: translateX(12px); transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.facade-story__step.is-active { transform: none; background: rgba(255,255,255,.075); border-left-color: var(--accent-on-dark); }
.facade-story__step:focus-visible { outline-color: #fff; }
.facade-story__step-num {
  flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); color: var(--on-dark); font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.facade-story__step h3 { color: #fff; margin-bottom: 8px; }
.facade-story__step p { color: var(--on-dark-soft); margin: 0; font-size: 15.5px; }

/* Důvody */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.reason { display: flex; gap: 14px; align-items: flex-start; }
.reason .icon { width: 26px; height: 26px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.reason h3 { margin-bottom: 6px; }
.reason p { font-size: 15.5px; color: var(--text-soft); margin: 0; }

/* ---------- 11) ROZBALOVACÍ TECHNICKÉ DETAILY ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px; min-height: 62px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ''; flex: 0 0 auto; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion summary:hover { color: var(--accent); }
.accordion__body { padding: 0 0 24px; }
.accordion__body p { margin: 0 0 14px; color: var(--text-soft); font-size: 16px; max-width: 74ch; }
.accordion__body ul { margin: 0 0 14px; padding-left: 22px; color: var(--text-soft); font-size: 16px; }
.accordion__body li { margin-bottom: 6px; }
.accordion__body ul.two-col { columns: 2; column-gap: 40px; }

/* ---------- 12) FORMULÁŘE ---------- */
.form-card {
  background: var(--card); color: var(--text);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.form-card__head { padding: 22px clamp(20px, 2vw, 28px) 0; }
.form-card__head h2 { font-size: clamp(21px, 1.9vw, 25px); margin-bottom: 6px; }
.form-card__head p { font-size: 15px; color: var(--muted); margin: 0; }
.form-card__body { padding: 18px clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px); }

.choice-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-fieldset legend { padding: 0; }

.field { display: block; margin-bottom: 14px; }
.field__label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.field__hint { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; background: var(--card); color: var(--text);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 14px 14px; font-size: 16px; min-height: 52px;
}
.textarea { min-height: 96px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #98A2AC; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.select {
  appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.fields-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fields-row .field { flex: 1 1 160px; }
.fields-row--facade-details { display: grid; grid-template-columns: 1fr; }
@media (min-width: 412px) {
  .fields-row--facade-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fields-row--facade-details .field__label {
    min-height: 3.3em;
  }
}
@media (min-width: 621px) {
  .hero__aside--homepage .fields-row--facade-details {
    display: grid; grid-template-columns: minmax(160px,.65fr) minmax(240px,1fr);
  }
}

/* Výběr typu objektu — velká klikací pole místo dlouhého seznamu */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 10px; height: 100%;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 13px 14px; font-size: 15.5px; font-weight: 500; cursor: pointer; min-height: 54px;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice span .icon { color: var(--muted); width: 22px; height: 22px; }
.choice:hover span { border-color: var(--accent); }
.choice input:checked + span { border-color: var(--accent); border-width: 2px; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.choice input:checked + span .icon { color: var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice__selected { display: none; margin-left: auto; font-size: 11px; font-weight: 700; }
.choice input:checked + span .choice__selected { display: inline; }
.object-picker { margin-bottom: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px; }
.object-picker > summary { cursor: pointer; min-height: 44px; font-size: 14px; line-height: 1.6; }
.object-picker > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.object-picker__change { display: block; color: var(--accent); text-decoration: underline; }
.object-picker[open] .object-picker__change { display: none; }
.object-picker[open] .choice-fieldset { margin-top: 16px; }

.check { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.check a, .prose a, .accordion__body a, .cookie-bar p a, .form-note a, .hero__lead a, .lead a {
  text-decoration: underline; text-underline-offset: 2px;
}
.prose a.btn, .accordion__body a.btn { text-decoration: none; }

.form-error { display: block; margin-top: 6px; font-size: 14px; color: var(--err); font-weight: 500; }
.form-error[hidden] { display: none; }
.input[aria-invalid='true'], .select[aria-invalid='true'] { border-color: var(--err); }
.form-message {
  margin-top: 12px; padding: 11px 13px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; line-height: 1.45;
}
.form-message[hidden] { display: none; }
.form-message--error { color: var(--err); background: color-mix(in srgb, var(--err) 8%, var(--card)); }
.form-message--success { color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, var(--card)); }

.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-note a { color: var(--muted); text-decoration: underline; }
.section--dark .form-card p { color: var(--muted); }

/* Nepovinné rozšíření formuláře */
.form-more { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.form-more summary {
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--accent);
  list-style: none; padding: 8px 0; min-height: 44px; display: flex; align-items: center; gap: 8px;
}
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::before { content: '+'; font-size: 18px; line-height: 1; }
.form-more[open] summary::before { content: '–'; }
.form-more__body { padding-top: 8px; }

.file-drop {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: 14px; min-height: 60px; cursor: pointer; background: var(--surface);
}
.file-drop:hover { border-color: var(--accent); }
.file-drop input[type='file'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop__title { display: block; font-size: 15px; font-weight: 500; }
.file-drop__hint { display: block; font-size: 13px; color: var(--muted); }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }

.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 13) REFERENCE ---------- */
.ref-cat { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  border: 1.5px solid var(--line-strong); background: transparent; border-radius: 999px;
  padding: 10px 18px; min-height: 46px; cursor: pointer; font-size: 15px; font-weight: 500;
}
.filter-btn[aria-pressed='true'] { background: var(--dark); color: #fff; border-color: var(--dark); }

.price-panel {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(56px, 7vw, 100px); align-items: start;
}
.price-panel__copy { position: sticky; top: 108px; padding-top: 12px; }
.price-panel__copy h2 {
  max-width: 540px; margin-bottom: 26px;
  font-size: clamp(38px, 3.5vw, 50px); line-height: 1.04; letter-spacing: -.025em;
}
.price-panel__copy .lead { max-width: 38ch; margin-bottom: 0; font-size: clamp(17px, 1.3vw, 18px); }
.price-panel__actions { margin-top: 28px; }
.price-panel__note {
  display: flex; align-items: flex-start; gap: 10px; max-width: 48ch;
  margin: 19px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.5;
}
.price-panel__note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.price-panel__list-intro {
  margin: 0 0 12px; color: var(--accent); font-size: 12.5px; font-weight: 600;
  line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
}
.price-factors {
  margin: 0; padding: 0; border-top: 2px solid var(--text);
}
.price-factor {
  display: grid; grid-template-columns: minmax(150px,190px) minmax(0,1fr); gap: 38px; align-items: center;
  min-height: 102px; border-bottom: 1px solid var(--line-strong);
}
.price-factor dt { color: var(--text); font-size: clamp(22px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; }
.price-factor dd { margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.5; }

/* ---------- 14) KONTAKTNÍ ÚDAJE ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--accent-on-dark); margin-top: 4px; }
.contact-list strong { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.72); }

.contact-list a, .contact-list span.value { font-size: 19px; font-weight: 600; color: #fff; }
.contact-list a:hover { color: var(--accent-on-dark); text-decoration: none; }
.contact-list.contact-list--light .icon { color: var(--accent); }
.contact-list.contact-list--light strong { color: var(--muted); }
.contact-list.contact-list--light a,
.contact-list.contact-list--light span.value { color: var(--text); }
.contact-list.contact-list--light a:hover { color: var(--accent); }

/* ---------- 15) PATIČKA ---------- */
.site-footer { background: var(--dark-2); color: var(--on-dark-soft); padding: clamp(44px, 5vw, 72px) var(--pad-x) 26px; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: #fff; }
.footer__top { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); padding-bottom: 32px; border-bottom: 1px solid var(--dark-line); }
.footer__brand { flex: 1 1 280px; }
.footer__col { flex: 1 1 170px; }
.footer__col h2 { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer__note { font-size: 15px; line-height: 1.6; margin: 0 0 16px; max-width: 38ch; }
.footer__bottom { max-width: var(--wrap); margin: 0 auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.62); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal button { background: none; border: 0; padding: 0; color: rgba(255,255,255,.62); font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.footer__legal button:hover { color: #fff; }

/* ---------- 16) SPODNÍ LIŠTY ---------- */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; background: var(--dark); box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
.mobile-bar a { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 8px; min-height: 62px; font-weight: 600; font-size: 16px; color: #fff; }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar a + a { background: var(--accent); }
.mobile-bar--single a { flex: 1 1 100%; }

.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.1); padding: 16px var(--pad-x); }
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.cookie-bar p { font-size: 14.5px; margin: 0; color: var(--text-soft); flex: 1 1 260px; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { min-height: 46px; padding: 12px 18px; font-size: 15px; }

.cookie-modal { position: fixed; inset: 0; z-index: 95; background: rgba(19,28,37,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal__box { background: var(--card); border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: clamp(22px, 3vw, 34px); }
.cookie-modal .check { border-top: 1px solid var(--line); padding: 16px 0; }
.cookie-modal .check small { display: block; color: var(--muted); font-size: 13.5px; }

/* ---------- 17) DĚKOVACÍ / 404 ---------- */
.thanks__check {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: #fff; margin-bottom: 24px;
}
.thanks__check .icon { width: 32px; height: 32px; stroke-width: 2.4; }

/* ---------- 18) RESPONZIVITA ---------- */
.header-actions .btn { white-space: nowrap; padding: 14px 20px; }

@media (max-width: 1180px) {
  .nav, .header-actions { display: none; }
  .header-mobile { display: flex; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .hero__main { flex-basis: 100%; }
  .hero__aside { margin-inline: auto; }
}
@media (max-width: 980px) {
  .cards--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--services > *, .cards--services > *:nth-last-child(-n+2) { grid-column: auto; }
  .facade-story__head, .facade-story__layout { grid-template-columns: 1fr; }
  .facade-story__head { align-items: start; }
  .facade-story h2 { max-width: 20ch; }
  .facade-story__visual { position: sticky; top: 82px; z-index: 3; align-self: start; }
  .facade-stage {
    position: relative; top: auto; height: clamp(320px,44vh,390px); min-height: 320px;
    padding: 10px; border-radius: 14px;
  }
  .facade-stage__top { padding-bottom: 6px; }
  .facade-stage__status { padding-top: 7px; font-size: 13px; }
  .facade-stage__media { min-height: 0; }
  .facade-story__steps { display: grid; gap: 12px; margin-top: 24px; padding-bottom: clamp(24px,8vh,64px); }
  .facade-story__step {
    min-height: clamp(220px,30vh,280px); padding: 20px; opacity: 1; transform: none;
    background: transparent; border-left-color: transparent;
    transition: background .25s ease, border-color .25s ease;
  }
  .facade-story__step > * { transition: opacity .18s ease; }
  .facade-story__step:not(.is-active) > * { opacity: 0; }
  .facade-story__step.is-active {
    transform: translateY(var(--story-step-shift,0px));
    background: rgba(255,255,255,.1); border-left-color: var(--accent-on-dark);
  }
}
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .mobile-bar { display: flex; }
  .cookie-bar { bottom: 0; }
  body:has(#cookie-bar:not([hidden])) .mobile-bar,
  body:has(#cookie-modal:not([hidden])) .mobile-bar { display: none; }
  .cards, .cards--2, .cards--services { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 32px; padding-bottom: 36px; }
  .hero__bg img { object-position: 58% center; }
  .trust__row { gap: 12px 24px; }
  .trust__item { font-size: 14.5px; }
  .process-guide__head { grid-template-columns: 1fr; align-items: start; }
  .process-guide__title h2 { max-width: 20ch; }
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-track::before {
    left: 31px; right: auto; top: 31px; bottom: 31px; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent-on-dark), rgba(87,143,223,.2));
  }
  .process-section--light .process-track::before { background: linear-gradient(180deg, var(--accent), var(--line)); }
  .process-step { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 18px; padding-bottom: 22px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-step__marker { margin-bottom: 0; }
  .process-step__content { min-height: 0; }
  .price-panel { grid-template-columns: 1fr; gap: 34px; }
  .price-panel__copy { position: static; padding-top: 0; }
  .price-panel__copy h2 { max-width: none; }
  .price-panel__actions .btn { flex: 1 1 100%; }
  .price-factor { grid-template-columns: 1fr; gap: 6px; min-height: 0; padding: 20px 0; }
}
@media (max-width: 620px) {
  .cards--4, .reasons { grid-template-columns: 1fr; }
  .accordion__body ul.two-col { columns: 1; }
  .hero h1 { max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cookie-bar { padding: 10px 12px; max-height: 100svh; overflow-y: auto; }
  .cookie-bar__inner { gap: 8px; }
  .cookie-bar p { font-size: 12.5px; line-height: 1.4; flex-basis: 100%; }
  .cookie-bar__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .cookie-bar [data-consent='all'] { grid-column: 1 / -1; }
  .cookie-bar .btn { min-height: 42px; padding: 8px 6px; font-size: 12.5px; }
  .process-section::after { display: none; }
  .process-guide__head { margin-bottom: 36px; }
  .process-step { grid-template-columns: 52px minmax(0,1fr); gap: 12px; }
  .process-step__marker { width: 52px; height: 52px; border-width: 6px; }
  .process-track::before { left: 25px; top: 25px; bottom: 25px; }
  .process-step__content { padding: 18px; }
  .facade-story__step { align-items: flex-start; padding: 18px; }
  .facade-story__step-num { width: 44px; height: 44px; }
  .facade-stage__top { font-size: 10.5px; }
  .facade-stage__status { font-size: 13px; }
}

@media (max-width: 360px) {
  .choices { grid-template-columns: 1fr; }
  .cookie-bar__actions { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .mobile-bar, .cookie-bar, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- 19) TABULKA ---------- */
.mat-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 18px; }
.mat-table th, .mat-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mat-table thead th { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mat-table tbody th { font-weight: 600; }
.mat-table td { color: var(--text-soft); }
@media (max-width: 560px) { .mat-table { font-size: 13.5px; } .mat-table th, .mat-table td { padding: 10px 8px 10px 0; } }

/* ---------- 20) SEZNAM KRAJŮ ---------- */
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.regions li { display: flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--text-soft); }
.regions li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
@media (max-width: 620px) { .regions { grid-template-columns: 1fr; } }

.form-confirmation-link { display: block; margin-top: 8px; text-decoration: underline; font-weight: 600; }
