:root {
  --bg: #f6f9fe;
  --paper: #ffffff;
  --ink: #07132f;
  --muted: #51607a;
  --muted-2: #7b879d;
  --line: #cfdaec;
  --line-dark: rgba(124, 176, 255, 0.20);
  --blue: #0877ff;
  --blue-2: #0a5fe8;
  --cyan: #2db6ff;
  --navy: #020b1f;
  --navy-2: #061a35;
  --success: #12a77f;
  /* Sjednocená elevační škála (2–3 úrovně, neutrální, tlumený blur = ostré hrany) */
  --shadow: 0 1px 2px rgba(7, 19, 47, 0.05), 0 4px 14px rgba(7, 19, 47, 0.06);
  --shadow-md: 0 6px 18px rgba(7, 19, 47, 0.10);
  --shadow-lg: 0 14px 34px rgba(7, 19, 47, 0.12);
  /* Sjednocené poloměry */
  --r-sm: 8px;
  --r-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.5;
  /* Bez faux-boldu: vynutí reálné řezy systémového fontu (Segoe UI 400/600/700)
     místo uměle ztučnělých vah 650/750 → ostré, ne rozpité písmo. */
  font-synthesis: none;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(2, 9, 27, 0.96);
  border-bottom: 1px solid rgba(130, 176, 255, 0.16);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 72px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 178px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  flex: 1;
}

.main-nav a,
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  opacity: 0.92;
}

.main-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.footer-nav a.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn svg,
.card-icon svg,
.card-arrow svg,
.hero-chips svg,
.tech-chip svg,
.contact-card svg,
.footer-contact svg {
  width: 21px;
  height: 21px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #1488ff 0%, #066cff 100%);
  box-shadow: 0 1px 2px rgba(2, 10, 28, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 10, 28, 0.4);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.btn-outline {
  color: var(--blue);
  border-color: var(--blue);
  background: #fff;
}

.btn-outline:hover {
  color: #fff;
  background: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 16, 43, 0.98), rgba(3, 16, 43, 0.88)),
    linear-gradient(180deg, #020b1f, #061b39);
  border-bottom: 1px solid rgba(124, 176, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(29, 137, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 137, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 100%);
}

.hero-head {
  position: relative;
  padding-top: 48px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.12fr;
  align-items: center;
  gap: 34px;
  min-height: 360px;
  padding: 22px 0 48px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #d9e7ff;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--cyan);
}

.breadcrumbs .slash {
  color: rgba(255, 255, 255, 0.48);
}

.hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: none;
}

.hero p {
  margin: 0;
  color: #e4ecfb;
  font-size: 19px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 44px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  color: #eaf3ff;
}

.hero-chips svg {
  color: #8fd2ff;
  padding: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 105, 218, 0.25);
}

.hero-chips b {
  max-width: 160px;
  line-height: 1.25;
}

.hero-art {
  min-width: 0;
}

.hero-art img {
  width: 100%;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.18));
}

.section {
  padding: clamp(52px, 6vw, 88px) 0;
  background: var(--paper);
}

.section-subtle {
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}

.section h2 {
  margin: 0 0 26px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.section-lead {
  max-width: 680px;
  margin: -12px auto 26px;
  text-align: center;
  color: var(--muted);
}

.card-grid,
.value-grid,
.audience-grid,
.metric-grid,
.project-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-four,
.value-grid,
.metric-grid,
.testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.feature-card {
  min-height: 154px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 119, 255, 0.32);
  box-shadow: var(--shadow-lg);
}

.feature-card.no-link:hover {
  transform: none;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  background: #edf5ff;
  margin-bottom: 18px;
  flex: 0 0 auto;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card strong {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  padding-right: 18px;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--blue);
}

.value-grid {
  gap: 0;
}

.value-item {
  text-align: center;
  padding: 10px 36px;
  border-right: 1px solid var(--line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item span,
.audience-card span,
.metric-card span,
.project-icon,
.contact-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.value-item span {
  margin: 0 auto 12px;
}

.value-item svg,
.audience-card svg {
  width: 54px;
  height: 54px;
}

.value-item strong,
.audience-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

.value-item p,
.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.audience-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.audience-card {
  min-height: 148px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.timeline-section {
  background: #fff;
  overflow: hidden;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(var(--steps), minmax(118px, 1fr));
  gap: 18px;
  position: relative;
  padding-top: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 19px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue), var(--blue) 60px, transparent 60px, transparent 72px);
}

.timeline-step {
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(2, 11, 31, 0.4);
}

.step-icon {
  display: inline-flex;
  color: var(--blue);
  margin-bottom: 8px;
}

.step-icon svg {
  width: 42px;
  height: 42px;
}

.timeline-step strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.timeline-step p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 auto;
  max-width: 172px;
}

.tech-section {
  background: linear-gradient(180deg, #f4f8ff, #fff);
}

.tech-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.tech-chip {
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.tech-chip svg {
  color: var(--blue);
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tech-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tech-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 119, 255, 0.32);
  box-shadow: var(--shadow-lg);
}

.tech-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: #eef4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tech-ic svg {
  color: var(--blue);
  width: 24px;
  height: 24px;
}

.tech-text b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.tech-text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.tech-arrow {
  display: inline-flex;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tech-arrow svg {
  width: 18px;
  height: 18px;
}

.tech-card:hover .tech-arrow {
  opacity: 1;
}

.metric-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 28px;
}

.metric-layout:not(:has(.metric-intro)) {
  display: block;
}

.metric-intro p {
  color: var(--muted);
  margin: 0 0 22px;
}

.metric-card {
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.metric-card span {
  float: left;
  width: 62px;
  height: 62px;
  margin-right: 16px;
  border-radius: 50%;
  background: #eef5ff;
}

.metric-card svg {
  width: 40px;
  height: 40px;
}

.metric-card strong {
  display: block;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.bottom-cta {
  background: var(--navy);
  color: #fff;
  padding: 0;
}

.cta-shell {
  min-height: 178px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  padding: 28px 0;
}

.cta-shell h2 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.16;
}

.cta-shell p {
  margin: 0 0 24px;
  color: #dce8fa;
  font-size: 17px;
}

.cta-shell img {
  width: 100%;
  align-self: stretch;
  object-fit: contain;
  opacity: 0.9;
}

.site-footer {
  background: #020b1f;
  color: #fff;
  border-top: 1px solid rgba(130, 176, 255, 0.18);
  padding: 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 420px;
  align-items: center;
  gap: 34px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #9fb2d4;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: #cfe0fa;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-brand img {
  width: 190px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #edf5ff;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-nav a::after {
  bottom: -14px;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}

.filter-bar button {
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.filter-bar button:last-child {
  border-right: 0;
}

.filter-bar button.active {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.reference-note {
  margin: -8px 0 24px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  position: relative;
  min-height: 232px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #061733;
  color: #fff;
  box-shadow: var(--shadow);
}

.project-card[hidden] {
  display: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 11, 31, 0.04), rgba(2, 11, 31, 0.88));
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 232px;
  object-fit: cover;
}

.project-icon {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--blue);
  color: #fff;
}

.project-copy,
.project-metric {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
}

.project-copy {
  bottom: 20px;
  right: 132px;
}

.project-copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.project-copy p {
  margin: 0;
  font-size: 13px;
  color: #d9e8ff;
}

.project-metric {
  right: 16px;
  left: auto;
  bottom: 18px;
  min-width: 102px;
  padding: 10px 12px;
  border: 1px solid rgba(95, 172, 255, 0.38);
  border-radius: var(--r-md);
  background: rgba(2, 11, 31, 0.58);
}

.project-metric strong {
  display: block;
  color: #168bff;
  font-size: 26px;
  line-height: 1;
}

.project-metric span {
  color: #dbe8fb;
  font-size: 12px;
}

.center-button {
  margin: 22px auto 0;
}

.case-study {
  display: grid;
  grid-template-columns: 180px 130px repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.case-study img {
  width: 180px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.case-study h3 {
  margin: 18px 0 8px;
}

.case-study > div > span {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf3ff;
  font-size: 13px;
  font-weight: 700;
}

.case-box {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  color: var(--muted);
}

.case-box svg {
  color: var(--blue);
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
}

.case-box strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.case-box p {
  margin: 0;
  font-size: 13px;
}

.testimonial-slider {
  position: relative;
}

.testimonial-viewport {
  overflow: hidden;
  padding: 10px 2px 16px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    transition: none;
  }
}

.testimonial {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.testimonial blockquote {
  margin: 0 0 22px;
  color: var(--muted);
}

.testimonial blockquote::before {
  content: "“";
  color: var(--blue);
  font-size: 44px;
  line-height: 0;
  margin-right: 6px;
}

.testimonial figcaption {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.testimonial figcaption span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef2f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonial small {
  color: var(--muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d5e6;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s, transform 0.2s;
}

.slider-dots button:hover {
  transform: scale(1.25);
  background: #9db4d4;
}

.slider-dots .active,
.slider-dots .active:hover {
  background: var(--blue);
}

.split-row {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 46px;
  align-items: center;
}

.split-row h2 {
  text-align: left;
}

.split-row p {
  color: var(--muted);
}

.brand-panel {
  position: relative;
  min-height: 210px;
  border-radius: var(--r-md);
  border: 1px solid rgba(77, 172, 255, 0.44);
  background:
    linear-gradient(90deg, rgba(2, 11, 31, 0.96), rgba(5, 24, 54, 0.96)),
    linear-gradient(90deg, transparent 49%, rgba(22, 139, 255, 0.3) 50%, transparent 51%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  gap: 16px;
  padding: 26px;
}

.brand-panel img {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 118px;
  justify-self: center;
  filter: drop-shadow(0 8px 20px rgba(2, 11, 31, 0.5));
}

.brand-panel span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(91, 175, 255, 0.35);
  border-radius: var(--r-md);
  background: rgba(9, 40, 86, 0.82);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.contact-form,
.contact-card,
.map-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form {
  padding: 24px;
}

.contact-form h2,
.map-card h2,
.faq-card h2 {
  text-align: left;
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8e8;
  border-radius: var(--r-sm);
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230877ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form textarea {
  min-height: 128px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 119, 255, 0.18);
}

.form-note,
.form-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}

.form-status {
  min-height: 20px;
  font-weight: 700;
}

.form-status.error {
  color: #c33333;
}

.form-status.success {
  color: var(--success);
}

/* honeypot – skryté pole pro odhalení botů, není vidět ani pro čtečky */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  min-height: 100px;
  padding: 20px;
  align-items: center;
}

.contact-card > span {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #eef5ff;
}

.contact-card > span svg {
  width: 34px;
  height: 34px;
}

.contact-card strong {
  display: block;
  font-size: 18px;
}

.contact-card a {
  display: inline-flex;
  color: var(--blue-2);
  font-weight: 700;
  margin-top: 4px;
}

.contact-value {
  display: inline-flex;
  color: var(--ink);
  font-weight: 600;
  margin-top: 4px;
}

/* Právní / textové stránky (zásady ochrany OÚ) */
.legal {
  max-width: 820px;
}

.legal h2 {
  text-align: left;
  font-size: 22px;
  margin: 30px 0 10px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.65;
}

.legal ul {
  color: var(--muted);
  margin: 0 0 14px;
  padding-left: 22px;
  line-height: 1.6;
}

.legal a {
  color: var(--blue);
  font-weight: 600;
}

.contact-card p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14px;
}

.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.map-card,
.faq-card {
  padding: 24px;
}

.cz-map {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 6px 0 18px;
  border-radius: var(--r-md);
  background: #f3f8ff;
  border: 1px solid var(--line);
  padding: 10px;
}

.map-card p,
.map-card li {
  color: var(--muted);
}

.map-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.map-card li {
  margin: 8px 0;
  padding-left: 26px;
  position: relative;
}

.map-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: 8px;
  text-align: left;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 16px;
  cursor: pointer;
}

.faq-q span {
  font-weight: 700;
}

.faq-q svg {
  color: var(--blue);
  transition: transform 0.18s ease;
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.faq-a p {
  color: var(--muted);
  margin: 0;
  padding: 0 16px 16px;
}

.faq-item.open .faq-a {
  max-height: 240px;
}

/* ===== Security / testing band (dark, prominent) ===== */
.security-band {
  background:
    linear-gradient(90deg, rgba(3, 16, 43, 0.97), rgba(3, 16, 43, 0.9)),
    linear-gradient(180deg, #061b39, #020b1f);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.security-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(29, 137, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 137, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 28%, #000, transparent 72%);
  pointer-events: none;
}

.security-band .container {
  position: relative;
}

.security-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.security-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fd2ff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.security-eyebrow svg {
  width: 18px;
  height: 18px;
}

.security-band h2 {
  color: #fff;
}

.security-head p {
  margin: 12px 0 0;
  color: #cfe0fa;
  font-size: 18px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.security-card {
  background: rgba(13, 36, 74, 0.55);
  border: 1px solid rgba(124, 176, 255, 0.22);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.security-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 151, 255, 0.55);
  background: rgba(13, 36, 74, 0.82);
}

.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 105, 218, 0.28);
  margin-bottom: 16px;
}

.security-icon svg {
  width: 26px;
  height: 26px;
  color: #8fd2ff;
}

.security-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

/* ===== Blog — výpis článků ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 119, 255, 0.32);
  box-shadow: var(--shadow-lg);
}

.blog-card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #eef5ff, #dceaff);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}

.blog-card-cat {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: #e9f2ff;
  border-radius: 999px;
  padding: 5px 12px;
}

.blog-card-body h3 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted-2);
  font-size: 13px;
}

.blog-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--blue-2);
  font-weight: 700;
  font-size: 14px;
}

.blog-card-more svg {
  width: 17px;
  height: 17px;
}

/* ===== Článek ===== */
.article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d8e8ff;
  background: rgba(14, 105, 218, 0.4);
  border-radius: 999px;
  padding: 5px 13px;
}

.article-meta-top time,
.article-meta-top .article-read {
  color: #c3d6f5;
  font-size: 14px;
}

.article-lead {
  margin-top: 18px !important;
  font-size: 20px !important;
  color: #eaf2ff !important;
  max-width: 760px !important;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 44px;
  align-items: start;
}

.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.74;
  color: #21314e;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 38px 0 14px;
  font-size: 26px;
  line-height: 1.2;
  text-align: left;
  color: var(--ink);
}

.prose h3 {
  margin: 26px 0 10px;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 9px;
}

.prose a {
  color: var(--blue-2);
  font-weight: 600;
  border-bottom: 1px solid rgba(10, 95, 232, 0.32);
}

.prose a:hover {
  border-bottom-color: var(--blue-2);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose .callout {
  display: flex;
  gap: 14px;
  background: #eef5ff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
  color: #1d2c47;
  font-size: 16px;
}

.prose .callout svg {
  width: 24px;
  height: 24px;
  color: var(--blue-2);
  flex: 0 0 auto;
  margin-top: 1px;
}

.prose .callout p {
  margin: 0;
}

.article-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.aside-card h4 {
  margin: 0 0 14px;
  font-size: 16px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.aside-links a svg {
  width: 18px;
  height: 18px;
  color: var(--blue-2);
  flex: 0 0 auto;
}

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

.aside-cta {
  background: linear-gradient(160deg, #082244, #0a2a55);
  border-color: rgba(124, 176, 255, 0.22);
  color: #fff;
}

.aside-cta h4 {
  color: #fff;
}

.aside-cta p {
  margin: 0 0 16px;
  color: #cfe0fb;
  font-size: 14px;
}

.aside-cta .btn {
  width: 100%;
  justify-content: center;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.article-tags span {
  font-size: 13px;
  color: var(--muted);
  background: #eef3fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

@media (max-width: 920px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .article-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .article-aside .aside-card {
    flex: 1 1 260px;
  }
}

@media (max-width: 620px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 23px;
  }
}

/* ===== 404 ===== */
.notfound-head {
  text-align: center;
  padding-bottom: 8px;
}

.notfound-text {
  text-align: center;
  margin: 0 auto !important;
  max-width: 560px !important;
}

.notfound-actions {
  justify-content: center;
}

.security-card p {
  margin: 0;
  color: #c7d8f3;
  font-size: 14px;
  line-height: 1.5;
}

/* center a lone orphan card in the last row of a 3-column grid (desktop only) */
@media (min-width: 901px) {
  .grid-three > :last-child:nth-child(3n - 2) {
    grid-column-start: 2;
  }
}

@media (max-width: 1120px) {
  .grid-six,
  .tech-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact,
  .footer-nav {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand img {
    width: 154px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(130, 176, 255, 0.2);
    border-radius: var(--r-md);
    background: #031027;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .hero-grid,
  .contact-grid,
  .info-split,
  .split-row,
  .cta-shell,
  .metric-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 36px 0 28px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-art {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-chips {
    margin-top: 28px;
    gap: 16px;
  }

  .grid-three,
  .grid-four,
  .value-grid,
  .audience-grid,
  .project-grid,
  .testimonial-grid,
  .testimonial-page,
  .tech-grid,
  .security-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 0;
  }

  .timeline::before {
    left: 16px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--blue), var(--blue) 46px, transparent 46px, transparent 60px);
  }

  .timeline-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    text-align: left;
    column-gap: 14px;
    align-items: start;
  }

  .step-number {
    position: static;
    transform: none;
    grid-row: span 3;
    margin-left: 1px;
  }

  .step-icon {
    display: none;
  }

  .timeline-step p {
    margin: 0;
    max-width: 100%;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-study img {
    width: 100%;
    height: 190px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 30px 0;
  }

  .section h2 {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-actions .btn,
  .bottom-cta .btn {
    width: 100%;
  }

  .btn {
    min-height: 48px;
    padding: 0 18px;
  }

  .grid-three,
  .grid-four,
  .grid-six,
  .value-grid,
  .audience-grid,
  .project-grid,
  .testimonial-grid,
  .testimonial-page,
  .metric-grid,
  .tech-row,
  .tech-grid,
  .security-grid,
  .form-row,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-bar button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-card,
  .metric-card {
    min-height: auto;
  }

  .tech-chip {
    justify-content: flex-start;
  }

  .project-copy {
    right: 18px;
    bottom: 86px;
  }

  .project-metric {
    left: 18px;
    right: auto;
  }

  .brand-panel {
    grid-template-columns: 1fr;
  }

  .brand-panel img {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
