/* ============================================================
   Studio Zátka — studiozatka.cz
   Barvy odvozené z loga: modrá + zelená
   ============================================================ */

:root {
  --blue: #1b5faa;
  --blue-dark: #0d3a66;
  --blue-deep: #082544;
  --green: #8cc63e;
  --green-dark: #6ea52c;
  --ink: #0e1c2e;
  --ink-soft: #3d4f63;
  --muted: #64748b;
  --bg: #f6f9fc;
  --card: #ffffff;
  --line: #e3ebf3;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(13, 58, 102, .10);
  --shadow-sm: 0 4px 18px rgba(13, 58, 102, .08);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-anchor: none; }

[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Typografie ---------- */

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  background: rgba(27, 95, 170, .08);
  border: 1px solid rgba(27, 95, 170, .18);
  padding: .38rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section-label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-title .accent { color: var(--blue); }

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46rem;
}

p + p { margin-top: 1rem; }

.checklist {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin: 1.1rem 0 0;
}

.checklist li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.note {
  font-size: .88rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1rem;
}

/* ---------- Navigace ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
  padding: .9rem 0;
}

.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(13, 58, 102, .08);
  padding: .55rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .93rem;
  transition: color .2s;
}

.nav-links a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 95, 170, .35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(27, 95, 170, .45); }

.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(140, 198, 62, .35);
}

.btn-green:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 3.5rem;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(140, 198, 62, .16), transparent 60%),
    radial-gradient(1100px 650px at -10% 20%, rgba(27, 95, 170, .14), transparent 60%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(27, 95, 170, .10) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-illu {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-left: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1.4rem;
}

.hero-badge .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(140, 198, 62, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(140, 198, 62, .55); }
  70% { box-shadow: 0 0 0 10px rgba(140, 198, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(140, 198, 62, 0); }
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--blue) 20%, var(--green) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead { margin-bottom: 2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.hero-stat b {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
}

.hero-stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; }

.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(13, 58, 102, .18)); }

/* ---------- Fotografie s popisky ---------- */

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-visual .photo-frame img { aspect-ratio: 5 / 6; }

.photo-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  background: rgba(8, 37, 68, .78);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: .55rem 1rem;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  gap: .55rem;
}

.pb-top { top: 1rem; right: auto; }

.pb-bottom { bottom: 1rem; }

.photo-badge .live {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

/* ---------- Pás klientů ---------- */

.clients {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}

.clients-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.clients-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  flex-basis: 100%;
  text-align: center;
  margin-bottom: .4rem;
}

.client-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.2rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-soft);
}

.client-chip .mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(27,95,170,.14), rgba(140,198,62,.16));
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
}

.client-chip.more { color: var(--muted); font-weight: 600; border-style: dashed; }

/* ---------- Sekce obecně ---------- */

.section { padding: 6rem 0; }

.section-head { max-width: 52rem; margin-bottom: 3rem; }

.section.alt { background: #fff; }

/* ---------- Historie / kompaktní O nás ---------- */

.about-compact { padding: 3.2rem 0; }

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-title { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: .4rem; }

.about-title .accent { color: var(--blue); }

.about-text { color: var(--ink-soft); max-width: 44rem; }

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  flex-shrink: 0;
}

.btn-outline:hover { background: rgba(27, 95, 170, .06); transform: translateY(-2px); }

.btn .chev { transition: transform .3s; }

.btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.collapse {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .45s ease;
}

.collapse > * { min-height: 0; overflow: hidden; }

.collapse.open { grid-template-rows: 1fr; }

/* ---------- Horizontální timeline ---------- */

.timeline-h {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  position: relative;
}

.timeline-h::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.th-item { position: relative; padding-top: 2rem; }

.th-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
}

.th-item:nth-child(even)::before { border-color: var(--green); }

.th-item b { display: block; color: var(--blue); font-size: 1.1rem; margin-bottom: .25rem; }

.th-item p { color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }

/* ---------- Přehled služeb ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--blue), var(--green)) border-box;
}

.service-card { position: relative; }

.service-card .badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-dark);
  background: rgba(140, 198, 62, .14);
  padding: .22rem .6rem;
  border-radius: 999px;
}

.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(27, 95, 170, .12), rgba(140, 198, 62, .12));
}

.service-card h3 { font-size: 1.2rem; }

.service-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }

.service-card .more {
  color: var(--blue);
  font-weight: 700;
  font-size: .9rem;
}

/* ---------- Detailní sekce služby ---------- */

.service-section { padding: 6rem 0; }

.service-section.alt { background: #fff; }

.service-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.service-hero.flip .service-hero-visual { order: -1; }

.service-hero-visual svg,
.figure svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}

.section.alt .info-card,
.service-section.alt .info-card { background: var(--bg); }

.info-card h4 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.info-card h4::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  flex-shrink: 0;
}

.info-card p, .info-card li { color: var(--ink-soft); font-size: .95rem; }

.info-card ul { list-style: none; margin-top: .6rem; display: grid; gap: .45rem; }

.info-card li {
  padding-left: 1.4rem;
  position: relative;
}

.info-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.figure-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.figure-row-single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}

.figure figcaption {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .6rem;
  text-align: center;
  font-weight: 600;
}

/* ---------- AI analytika (kamery) ---------- */

.ai-feature {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  padding: 1.9rem;
  background:
    radial-gradient(600px 300px at 95% 0%, rgba(140, 198, 62, .16), transparent 55%),
    linear-gradient(150deg, var(--blue-dark) 0%, #0a2c4e 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.ai-feature-head b { font-size: 1.15rem; display: block; margin-bottom: .3rem; }

.ai-feature-head p { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 1.1rem; }

.ai-chips { display: flex; flex-wrap: wrap; gap: .6rem; }

.ai-chip {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(140, 198, 62, .4);
  font-weight: 700;
  font-size: .9rem;
  color: #dff0c2;
}

/* ---------- Reference (kamery) ---------- */

.refs {
  margin-top: 2.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.9rem;
}

.service-section.alt .refs { background: var(--bg); }

.refs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.refs-head b { max-width: 46rem; }

.refs-body { padding-top: 1.4rem; }

.ref-group { margin-bottom: 1rem; }

.ref-group:last-child { margin-bottom: 0; }

.ref-cat {
  display: block;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .5rem;
}

.ref-chips { display: flex; flex-wrap: wrap; gap: .6rem; }

.ref-chip {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: rgba(27, 95, 170, .07);
  border: 1px solid rgba(27, 95, 170, .18);
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue-dark);
}

.ref-chip.muted { color: var(--muted); background: transparent; border-style: dashed; font-weight: 600; }

/* ---------- Dohledové centrum ---------- */

.monitor {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(140, 198, 62, .16), transparent 55%),
    linear-gradient(150deg, var(--blue-dark) 0%, #0a2c4e 100%);
  color: #fff;
  padding: 6rem 0;
}

.monitor .section-label {
  color: #bfe08a;
  background: rgba(140, 198, 62, .14);
  border-color: rgba(140, 198, 62, .3);
}

.monitor .lead { color: rgba(255, 255, 255, .78); }

.monitor-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.monitor-grid svg { width: 100%; height: auto; border-radius: var(--radius); }

.monitor-cards { display: grid; gap: 1.1rem; margin-top: 2rem; }

.monitor-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
}

.monitor-card b { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }

.monitor-card b::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, #47bfff, var(--green));
  flex-shrink: 0;
}

.monitor-card p { color: rgba(255,255,255,.75); font-size: .93rem; }

.monitor .note { color: rgba(255,255,255,.55); }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.monitor svg .blink { animation: blink 2s infinite; }
.monitor svg .blink-slow { animation: blink 3.2s infinite; }

/* ---------- Automatizace (kompaktní) ---------- */

.automation {
  background: #fff;
  padding: 4.5rem 0;
}

.automation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.automation h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .8rem; }

.automation p { color: var(--ink-soft); }

.automation-chips { display: flex; flex-wrap: wrap; gap: .7rem; }

.automation-chip {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.2rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-soft);
}

.automation-chip::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Čísla / counters ---------- */

.numbers {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(140, 198, 62, .18), transparent 55%),
    linear-gradient(150deg, var(--blue-dark) 0%, #0a2c4e 100%);
  color: #fff;
  padding: 5.5rem 0;
}

.numbers .section-label {
  color: #bfe08a;
  background: rgba(140, 198, 62, .14);
  border-color: rgba(140, 198, 62, .3);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.3rem;
  margin-top: 2.6rem;
}

.number-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.7rem 1.4rem;
  text-align: center;
}

.number-card b {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(100deg, #fff 30%, #a8d96a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.number-card > span { font-size: .88rem; opacity: .85; font-weight: 600; }

/* ---------- Realizace ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}

.work-tile {
  position: relative;
  border-radius: 16px;
  padding: 1.4rem;
  min-height: 168px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform .25s;
  box-shadow: var(--shadow-sm);
}

.work-tile:hover { transform: translateY(-5px) scale(1.01); }

.work-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .6;
}

.work-tile .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  padding: .28rem .7rem;
  border-radius: 999px;
}

.work-tile b { font-size: 1.02rem; line-height: 1.3; position: relative; }

.work-tile span { font-size: .82rem; opacity: .85; position: relative; }

.wt-blue   { background: linear-gradient(140deg, #1b5faa, #0d3a66); }
.wt-green  { background: linear-gradient(140deg, #7fb93c, #4c7d1f); }
.wt-teal   { background: linear-gradient(140deg, #14808c, #0a4c54); }
.wt-navy   { background: linear-gradient(140deg, #33518f, #131f45); }
.wt-slate  { background: linear-gradient(140deg, #4a6b8a, #223649); }
.wt-mix    { background: linear-gradient(140deg, #1b5faa 10%, #3f8f4f 90%); }

/* ---------- Proč my ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}

/* ---------- Kontakt ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.contact-card .ci {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(27,95,170,.12), rgba(140,198,62,.12));
  flex-shrink: 0;
}

.contact-card b { display: block; font-size: 1.05rem; }

.contact-card.phone b { font-size: 1.7rem; color: var(--blue); letter-spacing: -.01em; }

.contact-card span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Poptávkový formulář ---------- */

.inquiry {
  margin-top: 3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
}

.inquiry h3 { font-size: 1.35rem; margin-bottom: .3rem; }

.inquiry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.inquiry-head p { color: var(--ink-soft); }

.inquiry-head .btn { flex-shrink: 0; }

.inquiry form { display: grid; gap: 1.1rem; padding-top: 1.6rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.inquiry label { display: grid; gap: .35rem; }

.inquiry label span {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.inquiry input,
.inquiry textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}

.inquiry input:focus,
.inquiry textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 95, 170, .12);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-note { font-size: .8rem; color: var(--muted); max-width: 30rem; }

.form-status { font-weight: 700; min-height: 1.4em; margin: 0; }

.form-status.ok { color: var(--green-dark); }

.form-status.err { color: #c0392b; }

@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Patička ---------- */

.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  background: #fff;
  border-radius: 12px;
  padding: .6rem 1rem;
}

.footer-logo img { height: 40px; }

.footer small { display: block; margin-top: 1.6rem; text-align: center; opacity: .55; font-size: .82rem; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- Responsivita ---------- */

@media (max-width: 1080px) {
  .timeline-h { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.2rem; }
  .timeline-h::before { display: none; }
  .th-item::before { top: 2px; }
  .th-item { padding-top: 0; padding-left: 2rem; }
  .th-item::before { left: 0; }
}

@media (max-width: 960px) {
  .hero-inner, .service-hero, .contact-wrap, .monitor-grid, .automation-inner { grid-template-columns: 1fr; }
  .service-hero.flip .service-hero-visual { order: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 7rem; }
  .timeline-h { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero h1 br, .br-desk { display: none; }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 64px;
    background: #fff;
    flex-direction: column;
    padding: 1.6rem;
    gap: 1.1rem;
    box-shadow: 0 20px 40px rgba(13,58,102,.15);
    transform: translateY(-130%);
    transition: transform .3s;
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .nav { background: rgba(255,255,255,.95); }
  .section, .service-section, .monitor { padding: 4rem 0; }
  .automation { padding: 3rem 0; }
  .timeline-h { grid-template-columns: 1fr; }
}
