:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #26324b;
  --muted: #647086;
  --line: #e6ebf1;
  --soft: #f7fafc;
  --accent: #13b9d4;
  --accent-dark: #0697b4;
  --shadow: 0 22px 60px rgba(38, 50, 75, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(230, 235, 241, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 74px;
  height: 70px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a[href="#kontakt"] {
  color: var(--accent-dark);
}

.nav-links a:hover {
  background: var(--soft);
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(56px, 8vw, 112px) 0;
}

.hero.compact {
  min-height: auto;
  padding-bottom: clamp(42px, 7vw, 76px);
}

.hero-logo {
  width: min(100%, 430px);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 38px rgba(19, 185, 212, 0.12));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.12;
}

.lead {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  hyphens: auto;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.btn.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.section {
  padding: clamp(46px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 30px;
}

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

.brand-section .section-head .eyebrow {
  margin-bottom: 30px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, #f7fcfd 58%, #eefbff 100%);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(38, 50, 75, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -34% 22%;
  height: 170px;
  border-radius: 999px;
  background: rgba(19, 185, 212, 0.24);
  filter: blur(34px);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 185, 212, 0.5);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateY(-8px);
}

.service-card .number {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card .more {
  color: var(--ink);
  font-weight: 850;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.panel,
.scope-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel.soft,
.scope-card.soft {
  background: var(--soft);
}

.scope-card ul,
.panel ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.scope-card.is-collapsible {
  cursor: default;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.facts {
  display: grid;
  gap: 12px;
}

.fact {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
}

.fact span {
  color: var(--muted);
}

.brand-section {
  overflow: hidden;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #fff, var(--soft), #fff);
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 1;
  width: min(16vw, 160px);
  height: 100%;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 14px;
  animation: logo-scroll 34s linear infinite;
}

.logo-track span {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(38, 50, 75, 0.05);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.logo-track img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 5px;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.cta {
  padding: clamp(44px, 7vw, 84px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.cta .btn {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  scroll-margin-top: 120px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-content,
.footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-content {
  justify-content: space-between;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.footer-contact strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-contact a:hover {
  color: var(--accent-dark);
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 44px, 1120px);
  }

  .nav {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    min-height: 76px;
    padding: 10px 0;
  }

  .brand {
    flex-direction: row;
    gap: 10px;
    text-align: left;
  }

  .brand img {
    width: 48px;
    height: 46px;
  }

  .brand strong {
    font-size: 17px;
    letter-spacing: 0.2em;
  }

  .brand > span > span {
    display: none;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(38, 50, 75, 0.08);
    cursor: pointer;
  }

  .menu-toggle:focus {
    outline: none;
  }

  .menu-toggle:focus-visible {
    border-color: rgba(19, 185, 212, 0.65);
    box-shadow: 0 10px 24px rgba(38, 50, 75, 0.08), 0 0 0 4px rgba(19, 185, 212, 0.14);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    width: min(250px, calc(100vw - 44px));
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(38, 50, 75, 0.12);
    color: var(--ink);
    font-size: 13px;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    overflow: visible;
  }

  .nav-links a::before {
    content: none;
  }

  .nav-links a + a {
    border-top: 1px solid var(--line);
  }

  .nav-links a[href="#kontakt"] {
    display: block;
    background: transparent;
    color: var(--accent-dark);
    box-shadow: none;
  }

  .nav-links a:hover {
    background: transparent;
    color: var(--accent-dark);
  }

  .hero,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
    gap: 0;
  }

  .hero .eyebrow {
    text-align: center;
  }

  .hero-logo {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 8.8vw, 48px);
    hyphens: none;
    line-height: 1.03;
    overflow-wrap: normal;
  }

  .lead {
    max-width: 100%;
    font-size: clamp(19px, 5.2vw, 25px);
    hyphens: none;
    line-height: 1.55;
    overflow-wrap: normal;
  }

  .actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    text-align: center;
  }

  .service-grid,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

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

  .scope-card.is-collapsible {
    position: relative;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .scope-card.is-collapsible:hover,
  .scope-card.is-collapsible:focus-visible {
    border-color: rgba(19, 185, 212, 0.45);
    box-shadow: 0 16px 34px rgba(38, 50, 75, 0.08);
    outline: none;
  }

  .scope-card.is-collapsible h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
  }

  .scope-card.is-collapsible h3::after {
    content: "+";
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--accent-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
  }

  .scope-card.is-collapsible.is-open h3::after {
    content: "-";
  }

  .scope-card.is-collapsible ul {
    display: none;
  }

  .scope-card.is-collapsible.is-open ul {
    display: grid;
    margin-top: 18px;
  }

  .footer-content,
  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 42px, 1120px);
  }

  .brand img {
    width: 44px;
    height: 42px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand span {
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(31px, 8.5vw, 36px);
    line-height: 1.08;
  }

  .lead {
    font-size: clamp(18px, 4.9vw, 21px);
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .btn {
    font-size: 15px;
  }

  .section {
    padding: 40px 0;
  }
}
