:root {
  --nav-h: 82px;
  --bg: #05070c;
  --bg-2: #091018;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #a4acb8;
  --accent: #c6ff00;
  --accent-2: #dfff72;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  --container-x: 20px;
  --viewport-section-h: calc(100svh - var(--nav-h));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  scrollbar-gutter: stable both-edges;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(198, 255, 0, 0.08), transparent 60%),
    radial-gradient(900px 600px at 85% 80%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #06090e 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.35), rgba(5, 7, 12, 0.7));
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { padding-inline: var(--container-x); }

.navbar, main, section, footer {
  position: relative;
  z-index: 2;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  padding: 0.8rem 0;
  background: rgba(7, 10, 16, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-brand img { height: 38px; }

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.84);
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: none !important;
}

.btn {
  min-height: 50px;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary-custom {
  color: #000;
  border: 0;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  box-shadow: 0 10px 26px rgba(198, 255, 0, 0.16);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav-phone:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(198, 255, 0, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  color: #fff;
}
.nav-phone-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
}
.nav-phone-number {
  letter-spacing: 0.01em;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.hero,
.home-section {
  min-height: var(--viewport-section-h);
  height: var(--viewport-section-h);
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero .container,
.home-section .container {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
}

section[id],
footer[id] {
  scroll-margin-top: var(--nav-h);
}

.hero {
  text-align: center;
  min-height: var(--viewport-section-h);
  height: var(--viewport-section-h);
  padding-bottom: 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 50% 18%, rgba(198, 255, 0, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.35), rgba(5, 7, 12, 0.82));
}

.hero-inner,
.section-shell,
.logo-box {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 24px;
}

.hero-down {
  position: absolute;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 30px;
  z-index: 2;
}

.badge-custom,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.metric strong,
.footer-title,
.service-number,
.feature-icon {
  font-family: 'Exo 2', sans-serif;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-highlight { color: var(--accent); }

.subtitle {
  max-width: 820px;
  margin: 0 auto 32px;
  color: #c9d0d8;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.hero-cta,
.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-cta { margin-bottom: 26px; }

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
}

.section-shell,
.logo-box {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top left, rgba(198, 255, 0, 0.05), transparent 42%);
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 18px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead,
.text-muted-custom {
  color: var(--muted);
  line-height: 1.75;
}

.section-lead {
  margin: 0;
  font-size: 1rem;
}

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

.service-card,
.metric,
.about-process,
.adv-card,
.realizace-info,
.realizace-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: var(--shadow-soft);
}

.service-card {
  height: 100%;
  min-height: 390px;
  padding: 24px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
}

.service-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.service-number,
.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(198, 255, 0, 0.11);
  border: 1px solid rgba(198, 255, 0, 0.24);
  color: var(--accent);
  font-weight: 800;
}

.service-title {
  margin: 0 0 4px;
  font: 800 1.3rem/1.15 'Exo 2', sans-serif;
}

.service-subtitle { color: var(--muted); }

.service-text {
  color: #d8dee5;
  line-height: 1.72;
  margin-bottom: 20px;
}

.service-list {
  margin-top: auto;
  padding: 18px 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.service-list li + li { margin-top: 7px; }

.about-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: stretch;
}

.realizace-partner-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  align-items: stretch;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.metric {
  border-radius: 20px;
  padding: 22px;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.about-process {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.process-title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 700;
}

.divider-soft {
  height: 1px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.10);
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.process-step + .process-step { margin-top: 16px; }

.advantages-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 10px;
}

.adv-card {
  border-radius: 24px;
  padding: 24px;
  height: 100%;
}

.adv-card.big {
  grid-row: span 2;
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(198, 255, 0, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.icon-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.realizace-copy,
.realizace-side,
.partner-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.realizace-list {
  display: grid;
  gap: 14px;
}

.realizace-item {
  border-radius: 20px;
  padding: 20px 22px;
}

.realizace-info {
  border-radius: var(--radius-lg);
  padding: 28px;
}


.realizace-note {
  border-radius: 18px;
  border: 1px solid rgba(198, 255, 0, 0.12);
  background: rgba(198, 255, 0, 0.05);
  color: #dbe3ea;
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  line-height: 1.55;
}

 .realizace-home .section-shell {
  max-width: 1240px;
  padding: 26px 28px;
}

 .realizace-home .realizace-partner-layout {
  gap: 22px;
  align-items: center;
}

 .realizace-home .realizace-copy,
 .realizace-home .partner-side {
  gap: 14px;
}

 .realizace-home .section-kicker {
  margin-bottom: 12px;
}

 .realizace-home .section-title {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
}

 .realizace-home .section-lead {
  max-width: 44rem;
  line-height: 1.55;
}

 .realizace-home .realizace-list {
  gap: 10px;
}

 .realizace-home .realizace-item {
  padding: 16px 18px;
  border-radius: 18px;
}

 .realizace-home .partner-box {
  padding: 18px;
}

 .realizace-home .partner-title {
  margin-bottom: 4px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

 .realizace-home .partner-intro {
  font-size: 0.9rem;
  line-height: 1.4;
}

 .realizace-home .partner-grid {
  gap: 10px;
  margin-top: 12px;
}

 .realizace-home .partner-card {
  min-height: 68px;
  border-radius: 16px;
  padding: 12px;
}

 .realizace-home .partner-card img {
  max-height: 26px;
}

 .realizace-home .partner-card--cta {
  font-size: 0.92rem;
}

.partner-box {
  height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.partner-card {
  min-height: 80px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.partner-card img {
  max-width: 100%;
  max-height: 30px;
  opacity: 0.9;
}

.partner-card--cta {
  font: 700 1rem/1.2 'Exo 2', sans-serif;
  text-align: center;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(198, 255, 0, 0.08), rgba(198, 255, 0, 0.03));
}


.partner-card--animated {
  position: relative;
  isolation: isolate;
}

.partner-card--animated::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(18deg) translateX(-180%);
  opacity: 0;
  pointer-events: none;
}

.partner-title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: 'Exo 2', sans-serif;
}

.partner-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}


.eshop-about-layout {
  grid-template-columns: 0.92fr 1.08fr;
}

.eshop-metrics-grid .metric strong {
  font-size: 1.2rem;
}

.eshop-note-small {
  max-width: 420px;
}

.eshop-shell {
  max-width: 1180px;
}

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

.eshop-promo-card {
  min-height: 420px;
  height: 100%;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top left, rgba(198, 255, 0, 0.06), transparent 42%);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eshop-card-title {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
}

.eshop-promo-list {
  margin-top: auto;
}

.eshop-card-footer {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.eshop-card-footer .btn {
  justify-self: start;
}



.footer {
  min-height: auto;
  display: flex;
  align-items: flex-end;
  scroll-margin-top: 0;
  padding: 24px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 10, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer .container {
  width: 100%;
}

.footer-title {
  margin-bottom: 10px;
  font: 800 1.08rem/1.2 'Exo 2', sans-serif;
}

.footer-text,
.footer-links li,
.footer-bottom {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li { margin-top: 8px; }

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom__left,
.footer-bottom__right {
  min-width: 0;
}

.footer-bottom__right {
  text-align: right;
}

.footer-bottom__right a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom__right a:hover,
.footer-bottom__right a:focus-visible {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.reveal.from-left { transform: translate3d(-70px, 0, 0); }
.reveal.from-right { transform: translate3d(70px, 0, 0); }
.reveal.from-bottom { transform: translate3d(0, 40px, 0); }

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@media (max-width: 1199.98px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .adv-card.big {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) {
  .section-shell,
  .logo-box {
    max-width: 1300px;
  }

   .realizace-home .section-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
  }
}

@media (max-width: 991.98px) {
  :root { --nav-h: 76px; }
  .nav-phone {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  .navbar-collapse {
    margin-top: 14px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(11, 15, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .home-section,
  .footer {
    height: auto;
    min-height: auto;
    padding: 76px 0;
    overflow: visible;
  }

  .hero {
    min-height: var(--viewport-section-h);
    height: var(--viewport-section-h);
    padding: 76px 0;
    overflow: hidden;
  }

  .about-layout,
  .realizace-partner-layout,
  .advantages-grid,
  .eshop-dual-grid {
    grid-template-columns: 1fr;
  }

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

  .partner-card {
    min-height: 88px;
  }

  .partner-card img {
    max-height: 32px;
  }

  .partner-intro {
    font-size: 0.95rem;
  }


   .realizace-home .section-shell {
    padding: 24px 22px;
  }

   .realizace-home .realizace-partner-layout {
    gap: 18px;
  }

  .eshop-promo-card {
    min-height: auto;
    padding: 24px 22px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --nav-h: 72px;
    --container-x: 16px;
  }

  .navbar-brand img { height: 32px; }
  h1 { font-size: clamp(2.15rem, 8.8vw, 3.2rem); }

  .hero-inner {
    padding: 20px 0 calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
    margin-inline: auto;
    gap: 12px;
    margin-bottom: 0;
  }

  .hero-down {
    width: 52px;
    height: 52px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    font-size: 28px;
  }

  .hero-cta .btn,
  .hero-meta span { width: 100%; }

  .section-shell,
  .logo-box { padding: 22px; }

  .services-grid,
  .metrics-grid { grid-template-columns: 1fr; }

  .service-card { min-height: auto; }

  .eshop-promo-card {
    border-radius: 22px;
    padding: 22px 20px;
  }

  .eshop-card-footer .btn {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 399.98px), (max-width: 767.98px) and (max-height: 740px) {
  .badge-custom {
    font-size: 11px;
    padding: 8px 14px;
  }

  h1 {
    margin: 14px 0 12px;
    font-size: clamp(1.95rem, 8.6vw, 2.8rem);
  }

  .subtitle {
    margin-bottom: 20px;
    line-height: 1.55;
  }

  .hero-inner {
    padding-top: 14px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .btn {
    min-height: 48px;
    padding: 10px 20px;
  }
}





.partner-mobile-stack {
  display: none;
}

@media (max-width: 991.98px) {
  .partner-grid--desktop { display: none; }
  .partner-mobile-stack {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }
}

@media (min-width: 992px) {
  .partner-mobile-stack { display: none; }
}

.partner-mobile-showcase {
  position: relative;
  min-height: 96px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.partner-mobile-showcase::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(18deg) translateX(-180%);
  animation: partnerMobileSheen 12.5s ease-in-out infinite;
  pointer-events: none;
}

.partner-mobile-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.96);
  animation: partnerMobileLogoCycle 12.5s ease-in-out infinite;
}

.partner-mobile-logo img {
  max-width: 100%;
  max-height: 34px;
  opacity: 0.96;
}

.partner-mobile-logo:nth-child(1) { animation-delay: 0s; }
.partner-mobile-logo:nth-child(2) { animation-delay: 2.5s; }
.partner-mobile-logo:nth-child(3) { animation-delay: 5s; }
.partner-mobile-logo:nth-child(4) { animation-delay: 7.5s; }
.partner-mobile-logo:nth-child(5) { animation-delay: 10s; }
.partner-mobile-logo:nth-child(1) { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

.partner-card--mobile-cta {
  min-height: 82px;
}

@keyframes partnerMobileLogoCycle {
  0%, 16% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  20%, 100% {
    opacity: 0;
    transform: translate3d(0, -12px, 0) scale(0.98);
  }
}

@keyframes partnerMobileSheen {
  0%, 8%, 100% {
    opacity: 0;
    transform: rotate(18deg) translateX(-180%);
  }
  12%, 18% {
    opacity: 0.72;
  }
  24% {
    opacity: 0;
    transform: rotate(18deg) translateX(300%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .partner-mobile-showcase::after,
  .partner-mobile-logo {
    animation: none !important;
  }
  .partner-mobile-logo {
    opacity: 0;
    transform: none;
  }
  .partner-mobile-logo:first-child {
    opacity: 1;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.from-bottom {
    opacity: 1 !important;
    transform: none !important;
  }
}


@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom__right {
    text-align: left;
  }
}


/* ===== MOBILE OVERFLOW SAFEGUARDS ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
footer,
.container,
.row,
[class*="col-"],
.hero-inner,
.section-shell,
.logo-box,
.service-card,
.metric,
.about-process,
.adv-card,
.realizace-info,
.realizace-item,
.partner-box,
.partner-card,
.services-grid > *,
.about-layout > *,
.realizace-partner-layout > *,
.advantages-grid > *,
.partner-grid > * {
  min-width: 0;
}

.hero-title,
.section-title,
.service-title,
.process-title,
.partner-title,
.footer-title,
.footer-links li,
.footer-bottom__left,
.footer-bottom__right,
.section-lead,
.service-text,
.realizace-note {
  overflow-wrap: anywhere;
  word-break: normal;
}

.footer-pill {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .nav-phone {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .section-kicker,
  .footer-pill,
  .hero-meta span {
    white-space: normal;
  }
}
