/* ============================================================
   ROSTRA Group — rostra.cz
   Design system: navy #13265c, red accent #c1121f,
   Poppins (nadpisy) + Mulish (text), ostré hrany, hairlines.
   ============================================================ */

:root {
  /* Barvy */
  --navy:        #13265c;
  --navy-deep:   #0f2146;
  --navy-scrim:  #15264c;
  --navy-band:   #182f6e;
  --red:         #c1121f;
  --steel:       #7f8ba8;
  --ink:         #2b3240;
  --ink-soft:    #5b6472;
  --line:        #e2e5ea;
  --line-inv:    rgba(255, 255, 255, .24);
  --bg:          #ffffff;
  --bg-soft:     #f4f5f8;

  /* Typografie */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;

  /* Layout */
  --max: 1200px;
  --radius: 0;
  --radius-btn: 2px;
  --pad-section: 96px;
  --ease: 220ms ease;

  /* Stíny — pouze pro hover/lift */
  --shadow-md: 0 8px 24px rgba(15, 33, 70, .10);
  --shadow-lg: 0 16px 40px rgba(15, 33, 70, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
a { color: var(--navy); transition: color var(--ease); }
a:hover { color: var(--red); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Červená horní linka ---------- */
.topbar { height: 4px; background: var(--red); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-inv);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: #fff;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.nav-list a:hover { color: #fff; border-color: var(--red); }
.nav-list a.active { font-weight: 700; border-color: var(--red); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  font-size: .95rem;
}
.header-phone:hover { color: #fff; }
.header-phone svg { width: 18px; height: 18px; stroke: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(21, 38, 76, .78), rgba(15, 33, 70, .88)),
    repeating-linear-gradient(45deg, #182a55 0 22px, #14244c 22px 44px);
  color: #fff;
  overflow: hidden;
}
/* Video na pozadí hero sekce */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  z-index: 0;
}
/* Nahoře skoro čisté (cedule Rostra zůstane vidět), dole ztmavené kvůli textu */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 33, 70, .12) 0%,
    rgba(15, 33, 70, .22) 38%,
    rgba(15, 33, 70, .70) 72%,
    rgba(15, 33, 70, .92) 100%);
  z-index: 1;
}
.hero-home { background: var(--navy-deep); }
/* Obsah hero sedí v dolní části, horní polovina patří záběru */
.hero-home .hero-inner {
  justify-content: flex-end;
  min-height: 640px;
  padding-bottom: 150px;
}
.hero-home h1,
.hero-home .lead { text-shadow: 0 2px 18px rgba(10, 22, 48, .55); }

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
  padding: 110px 24px 140px;
}
.hero.hero-sub .hero-inner {
  min-height: 300px;
  padding: 80px 24px;
  align-items: flex-start;
  text-align: left;
  max-width: var(--max);
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 20ch;
  margin: 0 0 20px;
}
.hero.hero-sub h1 { max-width: 26ch; text-align: left; }
.hero .lead {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 62ch;
  margin: 0 0 28px;
}
.hero .eyebrow { color: var(--steel); }

/* Štítek chybějícího média */
.media-note {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.3);
  padding: 4px 10px;
  z-index: 2;
}

/* ---------- Pilíře pod hero (homepage) ---------- */
.pillars {
  position: relative;
  z-index: 3;
  margin-top: -84px;
}
/* Rozcestník: samostatné karty oddělené bílou mezerou — vizuálně odlišné od hero */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg);
  box-shadow: 0 18px 44px rgba(15, 33, 70, .28);
}
.pillar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 44px 40px;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid var(--line-inv);
  transition: background var(--ease);
}
.pillar { border-right: 0; }
.pillar:hover { background: var(--navy-band); color: #fff; }
/* Foto prosvítá nahoře, dole ztmavené kvůli čitelnosti textu */
.pillar.has-photo { background-size: cover; background-position: center; }
.pillar.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 33, 70, .22) 0%, rgba(15, 33, 70, .55) 45%, rgba(15, 33, 70, .92) 100%);
  transition: background var(--ease);
  z-index: 0;
}
.pillar.has-photo > * { position: relative; z-index: 1; }
.pillar.has-photo:hover::before {
  background: linear-gradient(rgba(15, 33, 70, .1) 0%, rgba(15, 33, 70, .42) 45%, rgba(15, 33, 70, .86) 100%);
}
.pillar svg { width: 44px; height: 44px; stroke: #fff; stroke-width: 1.4; fill: none; }
.pillar strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}
.pillar span { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- Pás důvěryhodnosti (tvrdá fakta hned pod rozcestníkem) ---------- */
.trust {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 0 24px;
}
.trust-item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
}
.trust-item:last-child { border-right: 0; }
.trust-item svg {
  width: 21px; height: 21px;
  stroke: var(--steel); stroke-width: 1.4; fill: none;
  flex-shrink: 0;
}

/* ---------- Sekce ---------- */
.section { padding: var(--pad-section) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.85); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 14px;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 10px; }
/* Pruhy převzaté z loga ROSTRA — opakující se motiv napříč webem */
.rule {
  width: 116px;
  height: 13px;
  border: 0;
  margin: 24px 0 0;
  background: repeating-linear-gradient(to bottom, var(--navy) 0 2px, transparent 2px 5px);
}
.section-navy .rule { background: repeating-linear-gradient(to bottom, rgba(255,255,255,.9) 0 2px, transparent 2px 5px); }
.timeline-card-body .rule { width: 116px; }

/* Samostatný proužkový akcent (hero, patička) */
.stripes {
  width: 96px;
  height: 15px;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px);
  opacity: .9;
}
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }
.section-sub { color: var(--ink-soft); max-width: 68ch; margin-top: 16px; }
.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 60ch; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid.tight { gap: 24px; }

/* ---------- Placeholder pro fotky ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, #dfe4ec 0%, #c9d1dd 100%);
  border: 1px solid var(--line);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px dashed var(--steel);
  padding: 8px 16px;
  text-align: center;
}
.ph.dark {
  background: linear-gradient(135deg, #1a2c5e 0%, #0f2146 100%);
  border-color: var(--line-inv);
}
.ph.dark::after { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.4); }
.ph.tall { min-height: 380px; }
.ph.short { min-height: 180px; }

/* Navy dlaždice s logem překrývající foto */
.photo-stack { position: relative; }
.photo-fill {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}
.photo-stack .logo-tile img { width: 74%; height: auto; display: block; }
.photo-stack .logo-tile {
  position: absolute;
  top: -48px;
  right: -24px;
  width: 150px;
  height: 150px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}

/* ---------- Dlaždice s čísly / statistiky ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-inv);
  border-left: 1px solid var(--line-inv);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line-inv);
  border-bottom: 1px solid var(--line-inv);
}
.stat svg { width: 34px; height: 34px; stroke: #fff; stroke-width: 1.4; fill: none; margin-bottom: 18px; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: #fff;
  line-height: 1.2;
}
.stat span { color: rgba(255,255,255,.75); font-size: .92rem; }

/* Světlá varianta statistik */
.section:not(.section-navy) .stats-grid { border-color: var(--line); }
.section:not(.section-navy) .stat { border-color: var(--line); }
.section:not(.section-navy) .stat svg { stroke: var(--navy); }
.section:not(.section-navy) .stat strong { color: var(--navy); }
.section:not(.section-navy) .stat span { color: var(--ink-soft); }

/* ---------- Karty společností (Tools / Stamping) ---------- */
.company-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 44px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.company-card:hover {
  background: var(--navy-band);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.company-card svg { width: 44px; height: 44px; stroke: #fff; stroke-width: 1.4; fill: none; }
.company-card h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.company-card .tag {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
}
.company-card p { color: rgba(255,255,255,.8); margin: 0; font-size: .97rem; }
.company-card .more {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
}
.company-card:hover .more { color: #ffb3b8; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  line-height: 1.4;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--red); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a30e19; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-inv { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-inv:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.link-arrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after { content: " →"; }

/* ---------- Obsahové bloky ---------- */
.feature {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: box-shadow var(--ease), transform var(--ease);
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature svg { width: 36px; height: 36px; stroke: var(--navy); stroke-width: 1.4; fill: none; margin-bottom: 18px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature p, .feature li { color: var(--ink-soft); font-size: .95rem; }
.feature ul { margin: 0; padding-left: 18px; }
.feature p:last-child { margin-bottom: 0; }

/* Seznam s odrážkami — hairline styl */
.hairline-list { list-style: none; margin: 0; padding: 0; }
.hairline-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.hairline-list li:first-child { border-top: 1px solid var(--line); }
.hairline-list strong { color: var(--navy); }
.section-navy .hairline-list li { border-color: var(--line-inv); }
.section-navy .hairline-list strong { color: #fff; }

/* ---------- Citace / testimonial ---------- */
.quote-band {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
}
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 700;
}
.section-navy .quote-band blockquote { color: #fff; }
.section-navy .quote-band cite { color: var(--steel); }

/* Reference — 3 sloupce s hairline dělítky */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ref {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
}
.ref:last-child { border-right: 0; }
.ref .ref-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.ref p { color: var(--ink-soft); font-size: .97rem; }

/* Pruh log zákazníků (textové zástupky) */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--steel);
  padding: 6px 22px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.logo-strip span:last-child { border-right: 0; }

/* ---------- Timeline (homepage) ---------- */
.timeline { text-align: center; }
.timeline-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 48px 0 40px;
}
.timeline-arrow {
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  transition: color var(--ease);
}
.timeline-arrow:hover { color: var(--red); }
.timeline-track {
  flex: 1;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 10px;
  height: 1px;
  background: var(--line);
}
.timeline-dot {
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--steel);
  transition: color var(--ease);
}
.timeline-dot::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--navy);
  transition: transform var(--ease), box-shadow var(--ease);
  margin-top: 6px;
}
.timeline-dot:hover { color: var(--navy); }
.timeline-dot.active { color: var(--navy); }
.timeline-dot.active::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px var(--bg-soft), 0 0 0 5px var(--navy);
}
.timeline-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  background: #fff;
  text-align: left;
  border: 1px solid var(--line);
}
.timeline-card-body { padding: 44px 48px; }
.timeline-card-body h3 { font-size: 1.8rem; }
.timeline-card-body .rule { width: 100%; margin: 18px 0 22px; }
.timeline-card-body p { color: var(--ink-soft); margin: 0; }
.timeline-card .ph { border: 0; min-height: 260px; }

/* Vertikální milníky (O nás) */
.milestones { list-style: none; margin: 0; padding: 0; }
.milestones li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.milestones li:first-child { border-top: 1px solid var(--line); }
.milestones .year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
}
.milestones p { margin: 0; color: var(--ink-soft); }

/* ---------- Osoby (vedení) ---------- */
.person { text-align: left; }
.person .ph { min-height: 240px; margin-bottom: 18px; }
.person h3 { font-size: 1.05rem; margin-bottom: 4px; }
.person span { color: var(--ink-soft); font-size: .9rem; display: block; }

/* ---------- Kroky (číslované) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  counter-increment: step;
  padding: 24px 0 24px 76px;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--steel);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Pozice (kariéra) ---------- */
.positions h3 {
  font-size: 1.15rem;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0;
}
.positions ul { list-style: none; margin: 0; padding: 0; }
.positions li { border-bottom: 1px solid var(--line); }
.positions a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
  transition: color var(--ease), background var(--ease);
}
.positions a::after { content: "→"; color: var(--steel); transition: color var(--ease); }
.positions a:hover { color: var(--red); background: var(--bg-soft); }
.positions a:hover::after { color: var(--red); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  padding: 20px 44px 20px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--steel);
  transition: transform var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--red); }
.faq .faq-body { padding: 0 4px 22px; color: var(--ink-soft); max-width: 72ch; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA pás ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Formulář ---------- */
.form {
  display: grid;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-family: var(--font-body);
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19, 38, 92, .12);
}
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form .btn { justify-self: start; }

/* Kontaktní informace */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; stroke: var(--navy); stroke-width: 1.4; fill: none; flex-shrink: 0; margin-top: 4px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* Mapa */
.map-block { position: relative; }
.map-block .ph { min-height: 420px; }
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -70%);
  text-align: center;
  color: var(--navy);
}
.map-pin svg { width: 52px; height: 52px; stroke: var(--navy); stroke-width: 1.4; fill: none; margin: 0 auto 10px; }
.map-pin a {
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Patička ---------- */
.site-footer { background: #16181d; color: rgba(255,255,255,.8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 28px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 14px;
}
.footer-cols p { margin: 0 0 4px; font-size: .95rem; }
.footer-cols a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
.footer-cols a:hover { color: #fff; }
.footer-cols svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.4; fill: none; display: inline-block; vertical-align: -3px; margin-right: 8px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { padding: 4px 0; }

.footer-map { position: relative; display: block; text-decoration: none; }
.footer-map .ph { min-height: 100%; height: 100%; background: linear-gradient(135deg, #23262d 0%, #191b20 100%); border-color: rgba(255,255,255,.15); }
.footer-map .ph::after { color: rgba(255,255,255,.4); border-color: rgba(255,255,255,.25); }
.footer-map .map-pin { color: #fff; }
.footer-map .map-pin svg { stroke: #fff; }
.footer-map .map-pin span { font-family: var(--font-head); font-weight: 700; color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 22px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------- Pomocné ---------- */
.todo {
  background: #fff8e1;
  color: #8a6d1a;
  font-size: .82em;
  padding: 1px 7px;
  border: 1px dashed #d9c26a;
  white-space: nowrap;
}
.section-navy .todo { background: rgba(255,255,255,.12); color: #ffe9a8; border-color: rgba(255,232,168,.5); }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.two-col-text { columns: 2; column-gap: 48px; }
.two-col-text p { break-inside: avoid; }

/* ---------- Responsivita ---------- */
@media (max-width: 980px) {
  :root { --pad-section: 64px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .refs-grid { grid-template-columns: 1fr; }
  .ref { border-right: 0; border-bottom: 1px solid var(--line); }
  .ref:last-child { border-bottom: 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .photo-fill { height: 340px; }
  .timeline-card { grid-template-columns: 1fr; }
  .two-col-text { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-stack .logo-tile { right: 0; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  /* Na mobilu video nepřehráváme — šetří data i baterii, zůstane statický záběr */
  .hero-video { display: none; }
  .hero-home {
    background:
      linear-gradient(rgba(15,33,70,.15) 0%, rgba(15,33,70,.28) 38%, rgba(15,33,70,.78) 74%, rgba(15,33,70,.93) 100%),
      url('../img/hero-poster.jpg') center/cover;
  }
  .hero-home .hero-scrim { display: none; }
  .hero-home .hero-inner { min-height: 460px; padding-bottom: 110px; }
  .photo-fill { height: 240px; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line-inv);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-inv); }
  .trust-inner { padding: 0; }
  .trust-item {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    justify-content: flex-start;
  }
  .trust-item:last-child { border-bottom: 0; }
  .timeline-track { overflow-x: auto; gap: 28px; justify-content: flex-start; }
  .milestones li { grid-template-columns: 84px 1fr; gap: 14px; }
  .stats-grid { grid-template-columns: 1fr; }
}
