:root {
  --red: #c9151b;
  --red-dark: #a90f15;
  --black: #15171c;
  --ink: #24272f;
  --muted: #6e737c;
  --line: #e7e9ed;
  --soft: #f6f7f9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 20, 28, 0.08);
  --shadow-soft: 0 12px 30px rgba(16, 20, 28, 0.06);
  --container: 1180px;
  --container-wide: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #14243f #edf1f6;
  scrollbar-width: thin;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #edf1f6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0d1a31, #1f3556);
  border: 3px solid #edf1f6;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #152b4b, #28456e);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 233, 237, 0.78);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 24px rgba(16, 20, 28, 0.05);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand img {
  width: 210px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav > a:not(.btn) {
  position: relative;
  padding: 18px 0;
  color: var(--black);
}

.main-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 12px 22px rgba(201, 21, 27, 0.22);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  color: var(--red);
  background: transparent;
  border-color: rgba(201, 21, 27, 0.45);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn-ghost {
  color: var(--red);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(201, 21, 27, 0.32);
  box-shadow: 0 12px 26px rgba(16, 20, 28, 0.06);
}

.btn-ghost:hover {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-light {
  color: var(--red);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 15px 34px rgba(80, 0, 0, 0.12);
}

.btn-light:hover {
  color: var(--black);
}

.nav-cta {
  min-height: 44px;
  padding-inline: 22px;
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #f2f3f5;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.28) 62%),
    linear-gradient(0deg, rgba(235, 237, 240, 0.22), rgba(235, 237, 240, 0.22));
  content: "";
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: #eef0f3;
  background-image: var(--slide-image);
  background-position: center right;
  background-size: min(1500px, 92vw) auto;
  background-repeat: no-repeat;
  filter: grayscale(0.72) saturate(0.36) contrast(1.06) brightness(1.08);
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slider-dots {
  position: absolute;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-slider-dots span {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: 0 1px 8px rgba(16, 20, 28, 0.18);
  transition: width 0.28s ease, background-color 0.28s ease;
}

.hero-slider-dots span.is-active {
  width: 46px;
  background: var(--red);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 640px;
  align-items: center;
  padding: 72px 0;
}

.hero-content {
  width: min(620px, 100%);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--black);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 900;
  line-height: 1.05;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-content > p {
  max-width: 435px;
  margin: 28px 0 34px;
  color: #2f333b;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.stats {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.stat-item {
  display: grid;
  min-height: 150px;
  grid-template-columns: 52px 1fr;
  align-content: center;
  align-items: center;
  column-gap: 20px;
  padding: 34px 18px;
  border-right: 1px solid rgba(231, 233, 237, 0.85);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

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

.stat-item:hover {
  z-index: 1;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1px rgba(201, 21, 27, 0.18), 0 12px 28px rgba(16, 20, 28, 0.06);
  transform: translateY(-1px);
}

.stat-item svg {
  width: 36px;
  height: 36px;
  color: var(--red);
  stroke-width: 1.8;
}

.stat-item strong {
  display: block;
  color: var(--red);
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.stat-item span {
  display: block;
  max-width: 190px;
  margin-top: 10px;
  color: #343943;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.94), rgba(255, 255, 255, 0.98)),
    var(--soft);
}

.section-head {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 42px;
}

.section-head > div {
  min-width: 0;
}

.section-line {
  width: 38px;
  height: 3px;
  flex: 0 0 38px;
  margin-top: 23px;
  background: var(--red);
}

.section-head h2 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

#sluzby .container,
#realizace .container,
#proces .container {
  width: min(var(--container-wide), calc(100% - 56px));
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  overflow: hidden;
  padding: 42px 38px 34px;
  background: var(--white);
  border: 1px solid rgba(231, 233, 237, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.service-card:hover {
  border-color: rgba(201, 21, 27, 0.34);
  box-shadow: 0 24px 52px rgba(16, 20, 28, 0.12);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card > svg {
  width: 46px;
  height: 46px;
  margin-bottom: 36px;
  color: var(--red);
  stroke-width: 1.7;
  transition: color 0.26s ease, transform 0.26s ease, filter 0.26s ease, stroke-width 0.26s ease;
}

.service-card:hover > svg {
  color: var(--red-dark);
  filter: drop-shadow(0 12px 20px rgba(201, 21, 27, 0.16));
  stroke-width: 1.95;
  transform: translateY(-3px) scale(1.05);
}

.service-card h3,
.project-card h3,
.process-step h3 {
  margin: 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.service-card h3 {
  transition: color 0.26s ease;
}

.service-card p {
  margin: 12px 0 28px;
  color: #555b65;
  font-size: 15px;
  line-height: 1.65;
  transition: color 0.26s ease;
}

.service-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: color 0.26s ease, transform 0.26s ease;
}

.service-arrow svg {
  width: 17px;
  height: 17px;
}

.service-card:hover .service-arrow {
  color: var(--red-dark);
  transform: translateX(3px);
}

.service-card:focus-visible {
  border-color: rgba(201, 21, 27, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 21, 27, 0.1), 0 24px 52px rgba(16, 20, 28, 0.12);
  outline: none;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.projects-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
}

.project-card {
  display: block;
  min-width: 0;
}

.project-card:focus-visible {
  outline: 3px solid rgba(201, 21, 27, 0.35);
  outline-offset: 6px;
}

.project-media {
  position: relative;
  overflow: hidden;
  background: #111318;
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(16, 20, 28, 0.11);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  filter: grayscale(1) saturate(0.05) contrast(1.08) brightness(0.62);
  transform: scale(1.01);
  transition: filter 0.34s ease, transform 0.42s ease, opacity 0.34s ease;
}

.project-card:hover img {
  filter: grayscale(0) saturate(0.98) contrast(1.03) brightness(1.04);
  transform: scale(1.045);
}

.project-card h3 {
  margin-top: 18px;
  font-size: 20px;
}

.project-card > p {
  margin: 10px 0 0;
  color: #59606b;
  font-size: 15px;
  line-height: 1.6;
}

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

.project-card-large .project-media {
  border-radius: 8px;
}

.project-card-large img {
  aspect-ratio: 1.42;
}

.project-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 28px 0 0;
  border-radius: 8px;
  filter: saturate(0.92) contrast(1.03);
  box-shadow: 0 18px 38px rgba(16, 20, 28, 0.1);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 249, 251, 0.99) 100%);
}

.process-layout {
  display: block;
}

.process-head {
  display: flex;
  max-width: 760px;
  margin-bottom: 44px;
}

.process-head .section-line {
  margin-top: 23px;
}

.process-timeline {
  position: relative;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(151, 156, 164, 0.22);
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 42px;
  padding-top: 32px;
}

.timeline-track::before {
  position: absolute;
  top: 32px;
  right: calc(10% - 13px);
  left: calc(10% - 13px);
  height: 1px;
  background: rgba(151, 156, 164, 0.32);
  content: "";
}

.timeline-track [data-process-trigger] {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0;
  color: #a0a3a8;
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.timeline-track [data-process-trigger]::before {
  width: 20px;
  height: 20px;
  order: 2;
  background: #a0a3a8;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.82);
  content: "";
  transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.timeline-track b {
  display: block;
  min-height: 22px;
  color: #a0a3a8;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.timeline-track [data-process-trigger]:hover::before,
.timeline-track [data-process-trigger].is-active::before {
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(201, 21, 27, 0.07);
  transform: scale(1.08);
}

.timeline-track [data-process-trigger]:hover b,
.timeline-track [data-process-trigger].is-active b {
  color: var(--red);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.process-step {
  position: relative;
  min-width: 0;
  height: 280px;
  overflow: hidden;
  padding: 42px 24px 28px;
  text-align: center;
  background: #f4f5f6;
  border: 1px solid rgba(231, 233, 237, 0.72);
  border-radius: 18px;
  cursor: pointer;
  color: var(--red);
  box-shadow: 0 16px 34px rgba(16, 20, 28, 0.045);
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.process-step::before {
  position: absolute;
  top: -31px;
  left: 50%;
  width: 56px;
  height: 56px;
  background: inherit;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.process-step:hover,
.process-step:focus-visible,
.process-step.is-hovered {
  z-index: 2;
  background: var(--white);
  border-color: rgba(201, 21, 27, 0.34);
  box-shadow: 0 22px 48px rgba(16, 20, 28, 0.1);
  transform: translateY(-5px) scale(1.025);
}

.process-step strong {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.process-step svg {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  color: var(--red);
  stroke-width: 1.35;
  transition: color 0.24s ease, transform 0.24s ease;
}

.process-step h3 {
  min-height: 54px;
  margin: 0;
  color: currentColor;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.22;
  transition: color 0.24s ease;
}

.process-step:hover svg,
.process-step:focus-visible svg,
.process-step.is-hovered svg {
  color: var(--red-dark);
  transform: translateY(-4px);
}

.process-step-text {
  display: block;
  min-height: 82px;
  margin: 14px auto 0;
  overflow: hidden;
  opacity: 0;
  color: #5a606b;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.48;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.28s ease;
}

.process-step:hover .process-step-text,
.process-step:focus-visible .process-step-text,
.process-step.is-hovered .process-step-text {
  opacity: 1;
  transform: translateY(0);
}

.trust-section {
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(231, 233, 237, 0.74);
  border-bottom: 1px solid rgba(231, 233, 237, 0.74);
}

.trust-item {
  display: grid;
  justify-items: center;
  min-height: 250px;
  padding: 42px 42px 38px;
  text-align: center;
  border-right: 1px solid rgba(151, 156, 164, 0.32);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

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

.trust-item:hover {
  z-index: 1;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1px rgba(201, 21, 27, 0.14), 0 12px 28px rgba(16, 20, 28, 0.06);
  transform: translateY(-1px);
}

.trust-item svg {
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  color: var(--red);
  stroke-width: 1.55;
  transition: filter 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.trust-item:hover svg {
  color: var(--red-dark);
  filter: drop-shadow(0 10px 18px rgba(201, 21, 27, 0.14));
  transform: translateY(-2px);
}

.trust-item h2 {
  margin: 0;
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-item span {
  width: 34px;
  height: 2px;
  margin: 16px 0 18px;
  background: var(--red);
}

.trust-item p {
  max-width: 260px;
  margin: 0;
  color: #24272f;
  font-size: 16px;
  line-height: 1.45;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--red), #d71920);
  color: var(--white);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 178px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
}

.cta-inner p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.cta-bolt {
  position: absolute;
  right: 8%;
  bottom: -72px;
  color: rgba(140, 0, 0, 0.24);
  transform: rotate(8deg);
}

.cta-bolt svg {
  width: 260px;
  height: 260px;
  stroke-width: 1.2;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 84% 42%, rgba(201, 21, 27, 0.08) 0, rgba(201, 21, 27, 0.04) 17%, transparent 38%),
    linear-gradient(115deg, #ffffff 0%, #f7f8fa 42%, #e8ebef 100%);
  border-bottom: 1px solid var(--line);
}

.subpage-hero::after {
  position: absolute;
  right: 8%;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(201, 21, 27, 0.12);
  border-radius: 50%;
  content: "";
}

.subpage-hero .container {
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--black);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.05;
}

.service-hero h1 {
  color: var(--black);
  font-size: clamp(34px, 4.2vw, 50px);
}

.subpage-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #343943;
  font-size: 19px;
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.page-split .section-head {
  margin-bottom: 0;
}

.page-copy {
  display: grid;
  gap: 18px;
  color: #4e5561;
  font-size: 18px;
}

.page-copy p {
  margin: 0;
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 42px 0 42px;
  background: linear-gradient(115deg, #ffffff 0%, #f7f8fa 48%, #e8ebef 100%);
  border-bottom: 1px solid var(--line);
}

.about-hero::after {
  display: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  max-width: 520px;
  margin: 10px 0 14px;
  color: var(--black);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.about-hero h2 {
  max-width: 640px;
  margin: 0;
  color: var(--black);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 930;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-hero h2 span {
  display: block;
  color: var(--red);
}

.about-hero blockquote {
  display: grid;
  max-width: 610px;
  grid-template-columns: 24px 1fr 24px;
  gap: 12px;
  align-items: start;
  margin: 24px 0 0;
  color: #343943;
}

.about-hero blockquote span {
  color: var(--red);
  font-size: 34px;
  font-weight: 900;
  line-height: 0.9;
}

.about-hero blockquote p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.42;
}

.about-system-section {
  background:
    radial-gradient(circle at 84% 38%, rgba(15, 23, 42, 0.026), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.about-system {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(54px, 5.8vw, 88px);
  align-items: start;
}

.about-system > * {
  min-width: 0;
}

.about-map-card {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-map-card:hover {
  transform: none;
}

.about-map-card .section-line {
  display: none;
}

.about-map-card .eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-map-card h2 {
  max-width: 540px;
  margin: 0;
  color: var(--black);
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 950;
  line-height: 1.04;
}

.coverage-title {
  max-width: 650px;
  margin: 0;
  color: var(--black);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.22;
}

.about-map-card p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #5c626d;
  font-size: clamp(18px, 1.22vw, 20px);
  line-height: 1.7;
}

.coverage-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.coverage-areas li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: #2f3540;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(151, 156, 164, 0.16);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

.coverage-areas li::before {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

.coverage-map {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  aspect-ratio: 980 / 572;
  width: min(105%, 760px);
  min-height: 0;
  margin: 8px 0 0 -3%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.coverage-map img,
.coverage-map-object,
.coverage-map .czech-region-map {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: none;
  opacity: 0.98;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.coverage-map img {
  object-fit: contain;
}

.coverage-map-object {
  border: 0;
}

.about-map-card:hover .coverage-map img,
.about-map-card:hover .coverage-map-object,
.about-map-card:hover .coverage-map .czech-region-map {
  opacity: 1;
  transform: none;
}

.about-system-list {
  display: grid;
  gap: 28px;
  padding-left: clamp(38px, 4vw, 58px);
  border-left: 1px solid rgba(151, 156, 164, 0.22);
}

.about-system-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  transition: transform 0.24s ease;
}

.about-system-list article:hover {
  transform: translateX(4px);
}

.about-system-list svg {
  width: 44px;
  height: 44px;
  color: var(--red);
  stroke-width: 1.55;
  transition: transform 0.24s ease;
}

.about-system-list article:hover svg {
  transform: scale(1.06);
}

.about-system-list h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.22;
}

.about-system-list p {
  margin: 0;
  color: #5a606b;
  font-size: 16px;
  line-height: 1.62;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.service-detail-card,
.service-aside-card {
  background: var(--white);
  border: 1px solid rgba(231, 233, 237, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.service-detail-card {
  padding: clamp(30px, 4.4vw, 52px);
}

.service-detail-card > i {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--red);
  stroke-width: 1.55;
}

.service-detail-card h2 {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.18;
}

.service-detail-card p {
  margin: 0;
  color: #4e5561;
  font-size: 17px;
  line-height: 1.75;
}

.service-detail-card p + p {
  margin-top: 16px;
}

.service-detail-card h3 {
  margin: 38px 0 18px;
  color: var(--black);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.service-detail-card h2 + h3 {
  margin: -4px 0 20px;
  color: var(--red);
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.22;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  min-height: 58px;
  padding: 16px 18px 16px 42px;
  color: #343943;
  background: #f7f8fa;
  border: 1px solid rgba(231, 233, 237, 0.86);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.service-points li::before {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

.service-aside-card {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 22px;
  padding: 30px;
}

.service-aside-card h2 {
  margin: 0;
  color: var(--black);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.service-aside-card p {
  margin: 0;
  color: #555b65;
}

.service-aside-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-aside-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #343943;
  font-size: 14px;
  line-height: 1.45;
}

.service-aside-list svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  stroke-width: 1.8;
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.service-back svg {
  width: 16px;
  height: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid rgba(231, 233, 237, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.contact-card {
  padding: 30px;
}

.contact-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--red);
  stroke-width: 1.7;
}

.contact-card h2,
.contact-form h2 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.contact-card p {
  margin: 0;
  color: #555b65;
}

.contact-card a {
  color: var(--black);
  font-weight: 750;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #3c414b;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--black);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  padding: 13px 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: rgba(201, 21, 27, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 21, 27, 0.08);
}

.career-hero .btn {
  margin-top: 30px;
}

.career-benefits-section {
  border-bottom: 1px solid var(--line);
}

.career-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.career-benefits article {
  min-height: 238px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s ease;
}

.career-benefits article:last-child {
  border-right: 0;
}

.career-benefits article:hover {
  background: #f7f8fa;
}

.career-benefits svg {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: var(--red);
  stroke-width: 1.65;
}

.career-benefits h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.career-benefits p {
  margin: 0;
  color: #59606c;
  font-size: 15px;
  line-height: 1.65;
}

.jobs-list {
  display: grid;
  gap: 16px;
}

.job-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 20, 28, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.job-card[open],
.job-card:hover {
  border-color: rgba(201, 21, 27, 0.28);
  box-shadow: var(--shadow-soft);
}

.job-card summary {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.job-card summary::-webkit-details-marker {
  display: none;
}

.job-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: #fff5f5;
  border-radius: 6px;
}

.job-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}

.job-heading {
  display: grid;
  gap: 4px;
}

.job-heading strong {
  color: var(--black);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
}

.job-heading small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.job-toggle {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--red);
  border: 1px solid rgba(201, 21, 27, 0.24);
  border-radius: 50%;
}

.job-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.job-card[open] .job-toggle svg {
  transform: rotate(180deg);
}

.job-content {
  padding: 4px 28px 30px 104px;
  border-top: 1px solid var(--line);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.job-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #444a55;
  background: #f5f6f8;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 750;
}

.job-meta svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.job-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-bottom: 28px;
}

.job-columns h3 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 17px;
  font-weight: 900;
}

.job-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-columns li {
  position: relative;
  padding-left: 17px;
  color: #565d68;
  font-size: 14px;
  line-height: 1.55;
}

.job-columns li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

.recruitment-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruitment-steps::before {
  position: absolute;
  top: 58px;
  right: 11%;
  left: 11%;
  height: 1px;
  background: var(--line);
  content: "";
}

.recruitment-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0 14px;
  text-align: center;
}

.recruitment-steps li > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.recruitment-steps svg {
  z-index: 1;
  width: 54px;
  height: 54px;
  margin: 12px 0 18px;
  padding: 13px;
  color: var(--red);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.recruitment-steps h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
}

.recruitment-steps p {
  margin: 0;
  color: #5c636f;
  font-size: 14px;
}

.career-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 36px;
  align-items: start;
}

.career-form-aside {
  position: sticky;
  top: 122px;
  padding: 34px;
  color: var(--white);
  background: #15171c;
  border-radius: 8px;
}

.career-form-aside h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
}

.career-form-aside > p {
  margin: 0 0 26px;
  color: #c7ccd4;
}

.career-form-figure {
  overflow: hidden;
  margin: 0 0 26px;
  background: transparent;
  border: 0;
}

.career-form-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 38%;
}

.career-documents {
  display: grid;
  gap: 10px;
}

.career-documents a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.career-documents a svg {
  flex: 0 0 auto;
  width: 18px;
  color: var(--red);
}

.career-contact {
  display: grid;
  gap: 6px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.career-contact strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.career-contact a {
  color: #d9dde4;
  font-size: 14px;
}

.career-form {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

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

.career-form label {
  display: grid;
  gap: 8px;
  color: #3c414b;
  font-size: 14px;
  font-weight: 800;
}

.career-form input,
.career-form select,
.career-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--black);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.career-form textarea {
  min-height: 140px;
  resize: vertical;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  background: var(--white);
  border-color: rgba(201, 21, 27, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 21, 27, 0.08);
}

.career-form.was-validated input:invalid,
.career-form.was-validated select:invalid,
.career-form.was-validated textarea:invalid,
.contact-form.was-validated input:invalid,
.contact-form.was-validated textarea:invalid {
  border-color: var(--red);
}

.form-span {
  grid-column: 1 / -1;
}

.file-field {
  cursor: pointer;
}

.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-control {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  color: #3d444f;
  background: #f7f8fa;
  border: 1px dashed #cbd0d8;
  border-radius: 6px;
  font-weight: 750;
}

.file-control svg {
  width: 20px;
  color: var(--red);
}

.file-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.form-consents {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.form-consents label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-weight: 650;
  line-height: 1.5;
}

.form-consents input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-consents a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.career-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #8a1015;
  background: #fff1f1;
  border: 1px solid #f2c5c7;
}

.form-status.is-success {
  color: #155f38;
  background: #effaf4;
  border: 1px solid #bfe5cf;
}

.career-submit {
  width: 100%;
}

.career-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-endpoint-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.career-cta {
  color: var(--white);
  background: var(--red);
}

.career-cta-inner {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.career-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.career-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.career-cta .btn-light {
  flex: 0 0 auto;
  color: var(--red);
  background: var(--white);
  border-color: var(--white);
}

.site-footer {
  color: #d9dde4;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #171a20, #101216 72%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 0.9fr;
  gap: 68px;
  padding: 58px 0 48px;
}

.footer-brand img {
  width: 158px;
  height: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-brand p {
  max-width: 280px;
  margin: 0;
  color: #c8cdd5;
}

.footer-brand .footer-company {
  margin-top: 18px;
  color: #9da5b2;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer h3 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 850;
}

.footer-list,
.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: #c8cdd5;
  font-size: 14px;
}

.footer-list svg {
  width: 18px;
  height: 18px;
  color: var(--white);
  stroke-width: 1.8;
}

.footer-list a,
.footer-links a,
.footer-bottom a {
  color: #c8cdd5;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #14171d;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.socials a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 16px 32px rgba(201, 21, 27, 0.24);
  transform: translateY(-3px);
}

.socials span {
  font-size: 18px;
  transform: translateY(-1px);
}

.socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.socials .instagram-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #9da5b2;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 42px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9da5b2;
  white-space: nowrap;
}

.footer-credit span {
  color: #9da5b2;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.footer-credit:hover span {
  color: var(--white);
}

.legal-hero {
  background:
    radial-gradient(circle at 84% 42%, rgba(201, 21, 27, 0.08) 0, rgba(201, 21, 27, 0.04) 17%, transparent 38%),
    linear-gradient(115deg, #ffffff 0%, #f7f8fa 42%, #e8ebef 100%);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-meta,
.legal-card {
  background: var(--white);
  border: 1px solid rgba(231, 233, 237, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.legal-meta {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 10px;
  padding: 28px;
  color: #555b65;
  font-size: 14px;
  line-height: 1.55;
}

.legal-meta strong {
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.legal-meta a {
  color: var(--red);
  font-weight: 800;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--black);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.2;
}

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

.legal-card p {
  margin: 0;
  color: #4e5561;
  font-size: 16px;
  line-height: 1.75;
}

.legal-note {
  padding: 18px 20px;
  background: #f7f8fa;
  border-left: 3px solid var(--red);
  border-radius: 6px;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 16px;
  }

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

  .projects-row {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-head {
    max-width: 720px;
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 88px;
  }

  .brand img {
    width: 168px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .main-nav > a:not(.btn) {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav > a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .hero,
  .hero-inner {
    min-height: 590px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 54%, rgba(255, 255, 255, 0.5) 100%),
      linear-gradient(0deg, rgba(235, 237, 240, 0.2), rgba(235, 237, 240, 0.2));
  }

  .hero-slide {
    background-position: center right;
  }

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

  .stat-item:nth-child(2) {
    border-right: 0;
  }

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

  .process-step::before {
    display: none;
  }

  .timeline-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .projects-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-row {
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .project-card {
    scroll-snap-align: none;
  }

  .timeline-track b {
    font-size: 14px;
    white-space: normal;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .page-split,
  .about-system,
  .contact-layout,
  .service-detail-layout,
  .legal-layout,
  .career-form-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .career-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-benefits article:nth-child(2) {
    border-right: 0;
  }

  .career-benefits article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .career-form-aside {
    position: static;
  }

  .about-system-list {
    order: 1;
    padding-left: 0;
    border-left: 0;
  }

  .about-system {
    display: flex;
    flex-direction: column;
  }

  .about-map-card {
    order: 2;
    position: static;
    width: 100%;
    max-width: none;
  }

  .legal-meta,
  .service-aside-card {
    position: static;
  }
}

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

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    padding: 52px 0;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 34%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.58) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0.44) 100%);
  }

  .hero-slide {
    background-size: 620px auto;
    background-position: 64% 92%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.2vw, 44px);
  }

  .hero-content > p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .stats-grid,
  .services-grid,
  .projects-overview-grid,
  .process-grid,
  .trust-grid,
  .footer-grid,
  .career-benefits,
  .job-columns,
  .recruitment-steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .career-benefits article,
  .career-benefits article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .career-benefits article:last-child {
    border-bottom: 0;
  }

  .job-card summary {
    grid-template-columns: 46px minmax(0, 1fr) 30px;
    gap: 13px;
    padding: 20px 18px;
  }

  .job-icon {
    width: 44px;
    height: 44px;
  }

  .job-heading strong {
    font-size: 18px;
  }

  .job-content {
    padding: 4px 18px 24px;
  }

  .job-columns {
    gap: 22px;
  }

  .recruitment-steps {
    gap: 28px;
  }

  .recruitment-steps::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 26px;
    width: 1px;
    height: auto;
  }

  .recruitment-steps li {
    grid-template-columns: 54px minmax(0, 1fr);
    justify-items: start;
    gap: 4px 16px;
    padding: 0;
    text-align: left;
  }

  .recruitment-steps li > span {
    grid-column: 2;
  }

  .recruitment-steps svg {
    grid-row: 1 / 4;
    grid-column: 1;
    margin: 0;
  }

  .recruitment-steps h3,
  .recruitment-steps p {
    grid-column: 2;
  }

  .career-form,
  .career-form-aside {
    padding: 24px;
  }

  .form-span {
    grid-column: auto;
  }

  .career-cta-inner {
    min-height: 260px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 42px 0;
  }

  .stat-item {
    min-height: 124px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .subpage-hero {
    padding: 72px 0 60px;
  }

  .subpage-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 46px);
    overflow-wrap: anywhere;
  }

  .subpage-hero p {
    font-size: 16px;
  }

  .about-hero {
    min-height: 0;
    padding: 38px 0 36px;
    background: linear-gradient(115deg, #ffffff 0%, #f7f8fa 48%, #e8ebef 100%);
  }

  .about-hero h1 {
    margin-top: 10px;
    font-size: clamp(40px, 12vw, 56px);
  }

  .about-hero h2 {
    max-width: 620px;
    font-size: clamp(17px, 5vw, 22px);
  }

  .about-hero blockquote {
    grid-template-columns: 24px 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .about-hero blockquote span {
    font-size: 30px;
  }

  .about-hero blockquote span:last-child {
    display: none;
  }

  .about-hero blockquote p {
    font-size: 15px;
  }

  .about-map-card {
    position: static;
    padding: 24px;
  }

  .coverage-map {
    min-height: 220px;
    padding: 0;
  }

  .about-system-list {
    gap: 24px;
  }

  .about-system-list article {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .about-system-list svg {
    width: 38px;
    height: 38px;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .section-line {
    width: 28px;
    flex-basis: 28px;
    margin-top: 19px;
  }

  .service-card {
    min-height: 218px;
  }

  #sluzby .container,
  #realizace .container,
  #proces .container {
    width: min(100% - 32px, var(--container));
  }

  .process-head {
    margin-bottom: 30px;
  }

  .process-step {
    min-height: 210px;
  }

  .trust-item {
    min-height: 220px;
    padding: 34px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(151, 156, 164, 0.22);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .contact-card,
  .contact-form,
  .service-detail-card,
  .service-aside-card {
    padding: 24px;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .cta-bolt {
    right: -54px;
    bottom: -46px;
  }

  .cta-bolt svg {
    width: 190px;
    height: 190px;
  }

  .cta-bolt {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }

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

  .footer-credit {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-slide {
    transform: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .main-nav {
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }

  .nav-cta {
    width: 100%;
  }

  .subpage-hero,
  .about-hero {
    scroll-margin-top: 88px;
  }

  .about-system {
    gap: 42px;
  }

  .about-map-card {
    width: 100%;
    max-width: 760px;
  }

  .coverage-map {
    width: min(100%, 680px);
  }

  .service-detail-card h2 {
    font-size: clamp(28px, 6.4vw, 42px);
  }

  .career-form-figure img {
    height: min(360px, 62vw);
    object-position: center 32%;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 76px;
    gap: 14px;
  }

  .brand img {
    width: 154px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .main-nav {
    right: 16px;
    left: 16px;
    padding: 10px;
  }

  .main-nav > a:not(.btn) {
    padding: 15px 10px;
    font-size: 13px;
  }

  .btn {
    min-height: 46px;
    padding-inline: 18px;
    white-space: normal;
    text-align: center;
  }

  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero-inner {
    align-items: flex-start;
    padding: 58px 0 180px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1.02;
  }

  .hero-content > p {
    max-width: 330px;
    margin: 22px 0 28px;
    line-height: 1.55;
  }

  .hero-slide {
    background-size: 760px auto;
    background-position: 70% 100%;
  }

  .hero-slider-dots {
    right: 16px;
    bottom: 18px;
  }

  .stats-grid {
    gap: 0;
  }

  .stat-item {
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
    padding: 28px 8px;
  }

  .trust-grid {
    border-top: 1px solid rgba(231, 233, 237, 0.74);
  }

  .service-card {
    min-height: 0;
    padding: 30px 26px 58px;
  }

  .service-card > svg {
    width: 40px;
    height: 40px;
    margin-bottom: 28px;
  }

  .projects-row {
    overflow: visible;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .project-card {
    scroll-snap-align: none;
  }

  .project-card img {
    aspect-ratio: 16 / 10;
  }

  .project-card h3 {
    margin-top: 12px;
    font-size: 19px;
  }

  .timeline-track {
    display: none;
  }

  .process-timeline {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .process-grid {
    gap: 16px;
  }

  .process-step {
    height: auto;
    min-height: 0;
    padding: 30px 24px;
  }

  .process-step h3 {
    min-height: 0;
    font-size: 20px;
  }

  .process-step-text {
    min-height: 0;
    opacity: 1;
    transform: none;
  }

  .subpage-hero {
    padding: 54px 0 48px;
  }

  .subpage-hero h1 {
    font-size: clamp(34px, 10.4vw, 44px);
    line-height: 1.08;
  }

  .service-hero h1 {
    font-size: clamp(32px, 9.4vw, 40px);
  }

  .service-detail-card h2 {
    font-size: clamp(28px, 9.4vw, 38px);
    line-height: 1.12;
  }

  .service-detail-card h3 {
    font-size: 22px;
  }

  .about-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .about-hero h2 {
    font-size: clamp(16px, 4.7vw, 20px);
  }

  .about-system-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  }

  .about-map-card {
    gap: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .about-map-card h2 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 44px);
  }

  .coverage-title {
    max-width: 100%;
    font-size: 21px;
    line-height: 1.22;
  }

  .about-map-card p:not(.eyebrow) {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.65;
  }

  .coverage-areas {
    gap: 8px;
  }

  .coverage-areas li {
    max-width: 100%;
    padding: 9px 13px;
    font-size: 14px;
  }

  .coverage-map {
    width: 100%;
    min-height: 0;
    aspect-ratio: 980 / 640;
    margin-top: 12px;
  }

  .coverage-map .czech-region-map {
    width: 100%;
    height: auto;
  }

  .about-system-list article {
    align-items: start;
  }

  .about-system-list h3 {
    font-size: 22px;
    line-height: 1.18;
  }

  .about-system-list p {
    font-size: 15px;
    line-height: 1.62;
  }

  .contact-layout,
  .service-detail-layout,
  .career-form-layout,
  .legal-layout {
    gap: 24px;
  }

  .contact-form button,
  .career-submit,
  .service-aside-card .btn {
    width: 100%;
  }

  .career-benefits article {
    padding: 28px 24px;
  }

  .job-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .job-meta span {
    width: 100%;
  }

  .career-form-figure img {
    height: 300px;
  }

  .form-consents label {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .footer-grid {
    gap: 32px;
    padding: 48px 0 34px;
  }

  .footer-brand img {
    width: 148px;
    margin-bottom: 18px;
  }

  .footer-list li {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .footer-list a,
  .footer-list span,
  .footer-bottom p,
  .footer-bottom a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .container,
  #sluzby .container,
  #realizace .container,
  #proces .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 146px;
  }

  .hero,
  .hero-inner {
    min-height: 590px;
  }

  .hero-inner {
    padding-bottom: 170px;
  }

  .hero-slide {
    background-size: 700px auto;
    background-position: 72% 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2 {
    font-size: clamp(30px, 10.5vw, 38px);
  }

  .about-system {
    gap: 34px;
  }

  .about-system-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .about-system-list svg {
    width: 34px;
    height: 34px;
  }

  .coverage-areas li {
    padding: 8px 11px;
    font-size: 12px;
  }

  .coverage-map {
    aspect-ratio: 980 / 700;
  }

  .career-form,
  .career-form-aside,
  .contact-card,
  .contact-form,
  .service-detail-card,
  .service-aside-card,
  .legal-card,
  .legal-meta {
    padding: 22px;
  }

  .service-detail-card > i {
    width: 32px;
    height: 32px;
  }

  .footer-bottom {
    gap: 14px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .project-card:hover img,
  .trust-item:hover,
  .stat-item:hover,
  .career-benefits article:hover,
  .process-step:hover {
    transform: none;
  }
}
