/* =========================================================
   Kontrola konstrukcí – VeriStruct s.r.o.
   Barvy z loga VeriStruct (modrá + zelená) a reflexní vesty (hi-vis)
   ========================================================= */
:root {
  --navy-950: #0a1c33;
  --navy-900: #0d2440;
  --navy-800: #143257;
  --blue: #1e4f8c;
  --blue-soft: #e8eff8;
  --green: #1f6f4a;
  --green-soft: #e6f2ec;
  --hivis: #d7ea4f;
  --hivis-hover: #c6dc35;
  --paper: #f3f5f7;
  --line: #dde3ea;
  --ink: #0d2440;
  --text: #24313f;
  --muted: #56636f;
  --on-dark: #e6edf5;
  --on-dark-muted: #a9b8c9;
  --danger: #b42318;

  --font-display: "Archivo", "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.6rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { color: var(--ink); font-weight: 600; }
a strong { color: inherit; }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .ticker :focus-visible { outline-color: var(--hivis); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--hivis); color: var(--ink); font-weight: 600; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper { background: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Popisek sekce – krátká reflexní linka + text v běžné velikosti písmen */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  color: var(--green); margin-bottom: 14px;
}
.label::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--hivis); box-shadow: 0 0 0 1px rgba(13,36,64,.08); }
.on-dark .label { color: var(--hivis); }
.on-dark .label::before { background: var(--hivis); box-shadow: none; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; max-width: none; align-items: end; }
.section-head--split .lead { margin: 0; }
.section-head--wide { max-width: none; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--hivis); color: var(--ink); }
.btn--primary:hover { background: var(--hivis-hover); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--hivis); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* Tlačítko s ikonou v kruhu a šipkou (jako odznak „Kontrola podle ČSN 73 0050“) */
.btn--icon { padding: 6px 20px 6px 6px; gap: 12px; }
.btn-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hivis); color: var(--ink); flex: none; }
.btn--icon .btn-icon svg { width: 18px; height: 18px; }
.btn--icon .btn-arrow { width: 16px; height: 16px; margin-left: -2px; transition: transform .2s var(--ease-out); }
.btn--icon:hover .btn-arrow { transform: translateX(4px); }
.btn--primary .btn-icon { background: var(--ink); color: var(--hivis); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.08rem; }
.brand-sub { font-size: .8rem; color: var(--muted); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem;
  transition: background-color .15s, color .15s;
}
.main-nav a:hover { background: var(--paper); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-call { display: inline-flex; }
.header-call .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(13,36,64,.12);
    padding: 12px var(--gutter) 22px;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 13px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .main-nav .nav-call-mobile { display: block; margin-top: 10px; }
}
.nav-call-mobile { display: none; }
.main-nav .nav-call-mobile a.btn { display: flex; width: 100%; background: var(--navy-900); color: #fff; border-radius: 999px; }
.main-nav .nav-call-mobile a.btn:hover { background: var(--blue); }

/* ---------- Hero úvodní stránky ---------- */
/* Hero přes celou šířku okna; obsah zarovnaný s kontejnerem */
.hero-frame {
  position: relative; overflow: hidden;
  min-height: clamp(520px, 78vh, 720px);
  display: grid; align-items: end;
  background: var(--navy-900);
  isolation: isolate;
}
.hero-frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: -2;
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,28,51,.92) 0%, rgba(10,28,51,.72) 45%, rgba(10,28,51,.15) 100%),
    linear-gradient(0deg, rgba(10,28,51,.55) 0%, rgba(10,28,51,0) 45%);
}
.hero-body {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 32px; align-items: end;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
}
.hero-copy { color: var(--on-dark); max-width: 680px; }
.hero-copy h1 { color: #fff; }
.hero-copy p { color: var(--on-dark); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 54ch; }
.hero-copy p a { color: #fff; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08);
  color: #fff; font-size: .92rem; font-weight: 500;
}
.trust svg { width: 16px; height: 16px; color: var(--hivis); }

/* Plovoucí karta s upozorněním na normu */
.notice-card {
  background: #fff; color: var(--text);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,.25);
  max-width: 420px; justify-self: end; align-self: center;
}
.notice-card .notice-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hivis); color: var(--ink);
  font-weight: 600; font-size: .85rem;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.notice-card .notice-tag svg { width: 16px; height: 16px; }
.notice-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.notice-card p { font-size: .97rem; color: var(--muted); }
.notice-card .text-link { margin-top: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 16px; height: 16px; transition: transform .18s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Text + fotka ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--natural img { height: auto; }
.photo-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 999px;
  padding: 10px 18px 10px 10px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 24px rgba(13,36,64,.18);
}
.photo-badge span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hivis); }
.photo-badge svg { width: 18px; height: 18px; }
a.photo-badge { text-decoration: none; transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
a.photo-badge .photo-badge-arrow { width: 16px; height: 16px; margin-left: 2px; transition: transform .2s var(--ease-out); }
a.photo-badge:hover { background: var(--hivis); box-shadow: 0 14px 30px rgba(13,36,64,.28); }
a.photo-badge:hover span { background: #fff; }
a.photo-badge:hover .photo-badge-arrow { transform: translateX(4px); }

.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
  margin-top: 1px;
}
.checklist--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 32px; }

/* ---------- Tmavá sekce – druhy kontrol ---------- */
.on-dark { background: var(--navy-900); color: var(--on-dark); }
.on-dark h2, .on-dark h3, .on-dark strong { color: #fff; }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }
.on-dark a:not(.btn) { color: #fff; }
.types-panel { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); }

/* ---------- Domů – kompaktní panel se 4 dlaždicemi druhů kontrol ----------
   Celá dlaždice je odkaz na kartu na stránce Kontrola konstrukcí.
   Popis se po najetí myší rozbalí (grid-rows 0fr → 1fr); na dotykových
   zařízeních a při fokusu z klávesnice je vidět vždy. */
.types-panel--compact { padding: clamp(24px, 4vw, 44px); }
.types-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(22px, 3vw, 32px); }
.types-head h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.types-head .label { margin-bottom: 10px; }
.type-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.type-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  aspect-ratio: 4 / 5; border-radius: var(--radius-md);
  background: var(--navy-800); color: #fff; text-decoration: none;
}
.on-dark a.type-tile { color: #fff; }
.type-tile > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s var(--ease-out);
}
.type-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,36,64,0) 30%, rgba(13,36,64,.6) 60%, rgba(13,36,64,.95) 100%);
  transition: background-color .3s var(--ease-out);
}
/* Reflexní linka nahoře – vyjede po najetí */
.type-tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--hivis); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.type-tile-body { display: block; width: 100%; padding: 20px; }
.type-tile-name { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.2; }
.type-tile-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.type-tile-reveal > span { overflow: hidden; }
.type-tile-desc { display: block; padding-top: 10px; font-size: .92rem; line-height: 1.5; color: var(--on-dark); }
.type-tile-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--hivis); }
.type-tile-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }

.type-tile:hover::before, .type-tile:focus-visible::before { background-color: rgba(13,36,64,.45); }
.type-tile:hover::after, .type-tile:focus-visible::after { transform: scaleX(1); }
.type-tile:hover > img, .type-tile:focus-visible > img { transform: scale(1.07); }
.type-tile:hover .type-tile-reveal, .type-tile:focus-visible .type-tile-reveal { grid-template-rows: 1fr; }
.type-tile:hover .type-tile-more svg { transform: translateX(4px); }
.type-tile:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }
@media (hover: none) {
  .type-tile { aspect-ratio: auto; min-height: 260px; }
  .type-tile::before { background-color: rgba(13,36,64,.62); }
  .type-tile-reveal { grid-template-rows: 1fr; }
}
@media (max-width: 1000px) { .type-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .type-tiles { grid-template-columns: 1fr; } .type-tile { aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------- Pás s referencemi ---------- */
.ticker { background: var(--navy-900); color: #fff; overflow: hidden; position: relative; }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.ticker-title { flex: none; min-height: 46px; font-size: .95rem; }
.ticker-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; list-style: none; }
.ticker-track li {
  display: inline-flex; align-items: center; gap: 18px; padding-right: 18px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.3rem); white-space: nowrap;
}
.ticker-track li::after { content: ""; width: 10px; height: 10px; background: var(--hivis); transform: rotate(45deg); }
.ticker-pause {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; cursor: pointer;
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out);
}
.ticker-pause:hover { background: #fff; color: var(--ink); }
.ticker-pause svg { width: 18px; height: 18px; }
.ticker-pause .icon-play { display: none; }
.ticker.is-paused .ticker-pause .icon-play { display: block; }
.ticker.is-paused .ticker-pause .icon-pause { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker.is-paused .ticker-track, .ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-pause { display: none; }
  .ticker-viewport { mask-image: none; }
  .ticker-track { width: auto; flex-wrap: wrap; row-gap: 4px; padding-block: 14px; }
  .ticker-track [aria-hidden="true"] { display: none; }
}

/* ---------- Karty ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.icon-circle {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 18px;
}
.icon-circle svg { width: 24px; height: 24px; }
.icon-circle--green { background: var(--green-soft); color: var(--green); }

a.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out); }
a.card-link:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(13,36,64,.08); }
a.card-link .text-link { margin-top: auto; padding-top: 16px; }
a.card-link:hover .text-link svg { transform: translateX(3px); }

/* ---------- CTA s fotkou ---------- */
.cta-photo {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  color: var(--on-dark); background: var(--navy-900);
}
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease-out); }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,28,51,.95) 0%, rgba(10,28,51,.82) 50%, rgba(10,28,51,.35) 100%); transition: background-color .4s var(--ease-out); }
/* Po najetí myší se fotka lehce přiblíží a ztmavne */
@media (hover: hover) {
  .cta-photo:hover > img { transform: scale(1.05); }
  .cta-photo:hover::before { background-color: rgba(10,28,51,.28); }
}
.cta-photo h2 { color: #fff; max-width: 18ch; }
.cta-photo p { max-width: 52ch; color: var(--on-dark); }
.cta-photo .btn-row { margin-top: 26px; }
.cta-photo a:not(.btn) { color: #fff; }

/* ---------- Hlavní poptávkový banner (Domů) – funkční formulář s vysunutím ----------
   Krátká poptávka se odesílá na stejný Formspree endpoint jako formulář na Kontaktu.
   Na desktopu formulář v klidu vykukuje z pravého okraje; vysune se po najetí myší,
   při fokusu kteréhokoli pole a zůstane otevřený, jakmile uživatel začne psát
   (třída .is-open z main.js). Na tabletech a telefonech je zobrazený trvale pod textem. */
.cta-photo--form { min-height: 600px; display: flex; flex-direction: column; justify-content: center; }
.cta-photo--form > h2, .cta-photo--form > p, .cta-photo--form > .btn-row { max-width: min(560px, calc(100% - 400px)); }

.cta-form {
  position: absolute; z-index: 1; top: 50%; right: clamp(28px, 4vw, 56px);
  width: 380px; padding: 22px;
  background: #fff; color: var(--text); border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  transform: translate(62%, -50%) rotate(7deg);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s var(--ease-out);
}
.cta-form-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.cta-form-head .btn-icon { background: var(--ink); color: var(--hivis); }
.cta-form-head .btn-icon svg { width: 18px; height: 18px; }
.cta-form-head strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.cta-form-head small { display: block; font-size: .78rem; color: var(--muted); }
.cta-field { margin-bottom: 10px; opacity: .45; transform: translateX(14px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.cta-form label { font-size: .76rem; margin-bottom: 4px; }
.cta-form input[type="text"], .cta-form input[type="email"], .cta-form select, .cta-form textarea {
  min-height: 38px; padding: 7px 11px; font-size: .86rem; border-radius: 10px;
}
.cta-form textarea { min-height: 58px; height: 58px; resize: none; }
.cta-gdpr { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; margin-top: 4px; opacity: .45; transition: opacity .35s var(--ease-out); }
.cta-gdpr input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.cta-gdpr label { font-weight: 400; font-size: .74rem; line-height: 1.4; color: var(--muted); margin: 0; }
.cta-photo .cta-form a:not(.btn) { color: var(--blue); }
.cta-form :focus-visible { outline-color: var(--blue); }
.cta-form .cta-form-submit { width: 100%; margin-top: 12px; min-height: 44px; font-size: .9rem; opacity: .45; transition: opacity .35s var(--ease-out), background-color .2s var(--ease-out); }
.cta-form .cta-form-submit .btn-icon { width: 30px; height: 30px; }
.cta-form .cta-form-submit .btn-icon svg { width: 15px; height: 15px; }

/* Otevřený stav: najetí myší, fokus v banneru nebo rozepsaný formulář */
.cta-photo--form:hover .cta-form, .cta-photo--form:focus-within .cta-form, .cta-photo--form.is-open .cta-form { transform: translate(0, -50%) rotate(0); box-shadow: 0 34px 70px rgba(0,0,0,.45); }
.cta-photo--form:hover .cta-field, .cta-photo--form:focus-within .cta-field, .cta-photo--form.is-open .cta-field { opacity: 1; transform: none; }
.cta-photo--form:hover .cta-field:nth-of-type(3), .cta-photo--form:focus-within .cta-field:nth-of-type(3) { transition-delay: .06s; }
.cta-photo--form:hover .cta-field:nth-of-type(4), .cta-photo--form:focus-within .cta-field:nth-of-type(4) { transition-delay: .12s; }
.cta-photo--form:hover .cta-field:nth-of-type(5), .cta-photo--form:focus-within .cta-field:nth-of-type(5) { transition-delay: .18s; }
.cta-photo--form:hover .cta-field:nth-of-type(6), .cta-photo--form:focus-within .cta-field:nth-of-type(6) { transition-delay: .24s; }
.cta-photo--form:hover .cta-gdpr, .cta-photo--form:focus-within .cta-gdpr, .cta-photo--form.is-open .cta-gdpr,
.cta-photo--form:hover .cta-form-submit, .cta-photo--form:focus-within .cta-form-submit, .cta-photo--form.is-open .cta-form-submit { opacity: 1; }

@media (hover: none) and (min-width: 1001px) {
  .cta-form { transform: translate(0, -50%); }
  .cta-field, .cta-gdpr, .cta-form .cta-form-submit { opacity: 1; transform: none; }
}
@media (max-width: 1000px) {
  .cta-photo--form { min-height: 0; }
  .cta-photo--form > h2, .cta-photo--form > p, .cta-photo--form > .btn-row { max-width: none; }
  .cta-form { position: static; width: 100%; max-width: 520px; margin-top: 28px; transform: none; }
  .cta-field, .cta-gdpr, .cta-form .cta-form-submit { opacity: 1; transform: none; }
  .cta-form input[type="text"], .cta-form input[type="email"], .cta-form select, .cta-form textarea { font-size: 1rem; min-height: 46px; }
  .cta-form label { font-size: .85rem; }
  .cta-gdpr label { font-size: .82rem; }
}

/* ---------- Podstránky – hero ---------- */
.page-hero-frame {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900);
  padding-block: clamp(48px, 7vw, 96px);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-dark);
}
.page-hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,28,51,.94) 0%, rgba(10,28,51,.78) 55%, rgba(10,28,51,.35) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 22ch; }
.page-hero p { max-width: 60ch; font-size: clamp(1.03rem, 1.5vw, 1.15rem); }
.page-hero p a { color: #fff; }
.page-hero .btn-row { margin-top: 24px; }
.byline { font-size: .95rem; color: var(--on-dark-muted); margin-top: 6px; }
.byline a { color: #fff; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; margin-bottom: 18px; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-dark-muted); }
.breadcrumbs a { color: #fff; }

/* ---------- Tabulky ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; padding: 16px 20px; font-size: .92rem; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .95rem; }
tbody th { color: var(--ink); font-weight: 600; width: 30%; }
tbody tr:target { background: #fbfde9; }
.table-note { margin-top: 12px; }

/* ---------- Druhy kontrol – vodorovné karty s detailem po najetí myší ----------
   Jedna karta na řádek: vlevo název, vpravo detail. Detail je vždy v DOM
   (čtečky ho přečtou); skrývá se jen vizuálně. Klávesnice: karta má tabindex,
   detail se ukáže při fokusu. Dotyková zařízení: detail je zobrazený trvale. */
.type-cards { list-style: none; display: grid; gap: 16px; }
.type-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 2fr);
  gap: 24px 56px; align-items: center;
  min-height: 200px; padding: 32px clamp(24px, 4vw, 44px);
  background: var(--navy-900); color: var(--on-dark);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 0 var(--hivis);
  transition: box-shadow .25s var(--ease-out);
}
.type-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  opacity: .6; transition: opacity .3s var(--ease-out), transform .6s var(--ease-out);
}
.type-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,36,64,.92) 0%, rgba(13,36,64,.6) 38%, rgba(13,36,64,.25) 100%); }
.type-card-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.type-card .icon-circle { margin: 0; background: rgba(255,255,255,.1); color: var(--hivis); }
.type-card h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.type-card-hint {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: .92rem; font-weight: 500; color: var(--hivis);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.type-card-hint svg { width: 16px; height: 16px; }
.type-card-detail {
  margin: 0; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px 40px;
  opacity: 0; transform: translateX(16px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.type-card-detail .span-all { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.type-card-detail dt { font-size: .82rem; font-weight: 600; color: var(--hivis); }
.type-card-detail dd { margin: 4px 0 0; font-size: .98rem; line-height: 1.55; color: #fff; }
.type-card-detail dd + dd { margin-top: 8px; }
.type-card-detail strong { color: #fff; }

/* .is-open nastavuje main.js po příchodu z odkazu (#vychozi-kontrola…); zavře se po odjetí myši */
.type-card:focus-visible, .type-card.is-open { box-shadow: inset 0 0 0 3px var(--hivis); outline: none; }
.type-card:focus-visible > img, .type-card.is-open > img { opacity: .14; }
.type-card:focus-visible .type-card-detail, .type-card.is-open .type-card-detail { opacity: 1; transform: none; }
.type-card:focus-visible .type-card-hint, .type-card.is-open .type-card-hint { opacity: 0; }
@media (hover: hover) {
  .type-card:hover { box-shadow: inset 4px 0 0 0 var(--hivis); }
  .type-card:hover > img { opacity: .14; transform: scale(1.03); }
  .type-card:hover .type-card-detail { opacity: 1; transform: none; }
  .type-card:hover .type-card-hint { opacity: 0; }
}
@media (hover: none) {
  .type-card > img { opacity: .16; }
  .type-card-hint { display: none; }
  .type-card-detail { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .type-card { grid-template-columns: 1fr; align-items: start; }
  .type-card-head { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .type-card::before { background: linear-gradient(180deg, rgba(13,36,64,.85) 0%, rgba(13,36,64,.7) 100%); }
}
@media (max-width: 640px) {
  .type-card-detail { grid-template-columns: 1fr; }
}
.type-cards + .table-note { margin-top: 16px; }

/* Štítky tříd následků */
.cc { display: inline-block; min-width: 48px; text-align: center; padding: 2px 9px; margin: 0 8px 4px 0; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1.5px solid currentColor; }
.cc1 { color: #15803d; } .cc2 { color: #a15c07; } .cc3 { color: var(--danger); } .cc-x { color: var(--muted); }

/* ---------- Postup (skutečná posloupnost) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 22px; counter-increment: step;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--hivis);
  font-family: var(--font-display); font-weight: 700; margin-bottom: 16px;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; left: calc(22px + 40px + 10px); right: -17px;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
/* Po najetí: karta se zvedne, dostane reflexní linku nahoře, číslo se rozsvítí
   a spojnice k dalšímu kroku se vybarví. */
@media (hover: hover) {
  .step:hover {
    transform: translateY(-6px); border-color: var(--blue);
    box-shadow: inset 0 4px 0 var(--hivis), 0 18px 36px rgba(13,36,64,.12);
  }
  .step:hover::before { background: var(--hivis); color: var(--ink); transform: scale(1.12); }
  .step:hover:not(:last-child)::after { background: var(--hivis); }
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .95rem; color: var(--muted); }

/* ---------- Citace / poznámky ---------- */
.note { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: var(--radius-md); padding: 20px 22px; border-left: 4px solid var(--green); }
.note svg { width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
.note--danger { border-left-color: var(--danger); }
.note--danger svg { color: var(--danger); }
.section--paper .note { background: #fff; }
.note--paper, .section--paper .note--paper { background: var(--paper); }
.note p { margin: 0; }
.split .note { margin-top: 24px; }

/* Pomocné třídy */
.section--flush-top { padding-top: 0; }
.split--top { align-items: start; }
.mt { margin-top: 18px; }

/* ---------- ČSN – zákon × norma ---------- */
.compare { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 16px; align-items: stretch; }
.compare-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; }
.compare-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.compare-card--norm .compare-mark { background: var(--green); }
.compare-mark svg { width: 24px; height: 24px; }
.compare-kicker { display: block; font-size: .9rem; font-weight: 600; color: var(--green); margin-bottom: 4px; }
.compare-arrow { display: grid; place-items: center; color: var(--ink); }
.compare-arrow svg { width: 30px; height: 30px; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: .93rem; font-weight: 500; color: var(--ink); background: #fff; }
.pills li.pill--muted { border-color: var(--line); color: var(--muted); }


/* ČSN – co norma stanovuje + karta Dokumentace vedle */
.norm-frame { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.norm-frame .lead { margin-bottom: 22px; }
.doc-card { padding: clamp(24px, 3vw, 32px); }
.doc-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.doc-card > p { color: var(--text); }
.doc-card .note { margin-top: 18px; }
@media (max-width: 900px) { .norm-frame { grid-template-columns: 1fr; } }

/* Klasifikace technického stavu – barva nese význam, proto zůstává */
.g1 { --g: #15803d; } .g2 { --g: #4d7c0f; } .g3 { --g: #a15c07; } .g4 { --g: #c2410c; } .g5 { --g: #b42318; }
.grade-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 18px; }
.grade-scale span { height: 10px; border-radius: 999px; background: var(--g); }
.grades { list-style: none; display: grid; gap: 10px; }
.grade { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius-md); padding: 16px 20px; border-left: 5px solid var(--g); }
.grade-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--g); color: var(--g); font-family: var(--font-display); font-weight: 700; }
.grade p { margin: 2px 0 0; color: var(--muted); }
/* Klasifikace přes celou šířku – 5 sloupců přesně pod barevnou škálou */
@media (min-width: 1001px) {
  .grade-scale--row, .grades--row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .grades--row .grade { grid-template-columns: 1fr; align-content: start; align-items: start; gap: 14px; padding: 22px 20px; border-left: 0; border-top: 5px solid var(--g); }
}

/* ---------- Reference ---------- */
.ref-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 32px; }
.ref-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.ref-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg) translateY(-2px); }
.ref-more { color: var(--muted); }

.ref-collage { margin: 0 0 clamp(36px, 5vw, 56px); aspect-ratio: 1324 / 711; }
.ref-columns { gap: 20px clamp(32px, 6vw, 80px); }
.ref-list--single { grid-template-columns: 1fr; }

.hero-img--top { object-position: center 20%; }
.h3-size { font-size: 1.45rem; }

/* ---------- O nás – kdo vede kontroly (s odkazem na znalecsoudni.cz) ---------- */
/* Dva textové bloky vlevo, jedna vysoká fotka vpravo přes oba */
.about-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: stretch; margin-bottom: clamp(32px, 4vw, 48px); }
.about-text { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.about-photo { margin: 0; min-height: 420px; }
.about-photo img { position: absolute; inset: 0; object-position: 55% 22%; }
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-photo { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}
.cred-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.cred-grid .card { padding: 22px; }
.cred-grid .icon-circle { width: 46px; height: 46px; margin-bottom: 14px; }
.cred-grid .icon-circle svg { width: 21px; height: 21px; }
.cred-grid p { margin: 0; color: var(--text); font-size: .98rem; }
.panel-actions { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-toc ul { list-style: none; display: grid; gap: 4px; }
.faq-toc a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 500; }
.faq-toc a:hover { background: var(--paper); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 36px; gap: 16px; align-items: center;
  padding: 20px 0; font-family: var(--font-display); font-stretch: 106%; font-weight: 600; font-size: 1.12rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2440' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s var(--ease-out), background-color .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--hivis); }
.faq-item .answer { padding: 0 52px 22px 0; color: var(--text); }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; color: var(--ink); font-size: .96rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid #c3ccd6; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #8d9aa8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,79,140,.2); }
.req { color: var(--danger); }
.gdpr { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.gdpr input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.gdpr label { font-weight: 400; color: var(--text); }
.gdpr details { margin-top: 6px; font-size: .92rem; }
.gdpr summary { cursor: pointer; color: var(--blue); font-weight: 500; }
.gdpr-box { margin-top: 10px; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); color: var(--muted); line-height: 1.55; }
.form-card .btn { width: 100%; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: grid; gap: 20px; }
.contact-card { background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius-lg); padding: 30px; }
.contact-card h2 { color: #fff; font-size: 1.45rem; }
.contact-card a { color: #fff; }
.contact-line { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--hivis); }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line small { display: block; color: var(--on-dark-muted); font-size: .85rem; }
.contact-line a, .contact-line span.v { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.billing p { margin-bottom: 8px; }

/* ---------- Patička ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-stretch: 100%; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer-brand img { width: 40px; height: 40px; background: #fff; border-radius: 10px; padding: 3px; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-stretch: 112%; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step:not(:last-child)::after { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; }
  .notice-card { justify-self: stretch; max-width: none; }
  .split, .section-head--split, .contact-layout, .faq-layout, .compare { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .compare-arrow { transform: rotate(90deg); height: 40px; }
  .faq-toc { position: static; }
  .faq-toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-frame { min-height: 0; }
  .hero-body { padding: 96px var(--gutter) 24px; }
  .hero-frame::before { background: linear-gradient(0deg, rgba(10,28,51,.96) 0%, rgba(10,28,51,.86) 60%, rgba(10,28,51,.45) 100%); }
  .notice-card { padding: 20px; }
  .grid--3, .grid--2, .grid--4, .steps, .checklist--2, .ref-list, .form-grid { grid-template-columns: 1fr; }
  .ticker-title { display: none; }
  .page-hero-frame { min-height: 0; padding: 72px var(--gutter) 32px; }
  .page-hero-frame::before { background: linear-gradient(0deg, rgba(10,28,51,.95) 0%, rgba(10,28,51,.8) 100%); }
  .card, .compare-card { padding: 22px; }
  .grade { grid-template-columns: 52px 1fr; gap: 14px; padding: 14px 16px; }
  .grade-mark { width: 44px; height: 44px; font-size: .9rem; }
  .faq-item .answer { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .brand-sub { display: none; }}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
