:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --nav: rgba(22, 22, 23, 0.8);
  --white: #f5f5f7;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --radius: 28px;
}

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

html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__bar {
  width: 120px;
  height: 2px;
  background: #e8e8ed;
  border-radius: 99px;
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  animation: load 1.1s var(--ease) forwards;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: var(--nav);
  color: #f5f5f7;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.nav__links a:hover { color: #fff; }
.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 28px;
  height: 18px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
}
.nav__burger span:first-child { top: 4px; }
.nav__burger span:last-child { bottom: 4px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #161617;
  color: #f5f5f7;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px 28px;
  font-size: 28px;
  font-weight: 600;
}
.mobile-menu.is-open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 980px;
  border: 0;
  font-size: 17px;
  font-weight: 400;
  transition: background 0.2s var(--ease), color 0.2s, transform 0.2s;
}
.btn--small { padding: 6px 14px; font-size: 12px; }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-hover); }
.btn--link {
  padding: 0;
  color: var(--blue);
  background: none;
}
.btn--link::after { content: " ›"; }
.btn--link:hover { text-decoration: underline; }

.hero {
  padding: 120px 22px 40px;
  text-align: center;
  background: #000;
  color: #f5f5f7;
}
.eyebrow {
  color: var(--blue);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0;
  text-transform: none;
}
.hero .eyebrow { color: #a1a1a6; font-size: 21px; }
.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  transform: translateY(110%);
  animation: rise 0.9s var(--ease) forwards;
}
.hero__title .line:nth-child(2) { animation-delay: 0.08s; }
.hero__lead {
  max-width: 640px;
  margin: 18px auto 28px;
  color: #a1a1a6;
  font-size: 21px;
  line-height: 1.38;
}
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero__actions .btn--link { color: #2997ff; }
.hero__stage {
  max-width: 1100px;
  margin: 56px auto 0;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 48px auto 24px;
}
.hero__stats dt {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero__stats dd { color: #a1a1a6; font-size: 14px; margin-top: 4px; }

.marquee {
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 36s linear infinite;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

section { padding: 88px 22px; scroll-margin-top: 64px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2,
.split-photo h2,
.routes h2,
.contact h2,
.audience h2,
.broker h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.contact h2 {
  font-size: clamp(16px, 2.25vw, 28px);
}
.section-head p:last-child,
.split-photo p,
.routes p,
.contact p,
.audience p,
.broker p,
.platforms__card p {
  color: var(--muted);
}

.audience,
.platforms,
.process,
.faq,
.contact {
  background: var(--bg-2);
}
.why, .broker, .split-photo, .routes { background: #fff; }

.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.audience__card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.audience__card img { height: 260px; }
.audience__card > div { padding: 36px 32px 40px; }
.audience__card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.audience__card ul {
  margin: 18px 0 24px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--ink);
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.platforms__card {
  padding: 28px 24px 32px;
  border-radius: 22px;
  background: #fff;
  min-height: 210px;
  transition: transform 0.35s var(--ease);
}
.platforms__card:hover { transform: translateY(-4px); }
.platforms__card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.platforms__card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
}

.mini-steps {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.mini-steps li {
  padding-left: 44px;
  position: relative;
  color: var(--ink);
}
.mini-steps li::before {
  counter-increment: mini;
  content: counter(mini);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.split-photo__panel { counter-reset: mini; }

.broker {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}
.broker__media {
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
}
.broker__list {
  list-style: none;
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.broker__list li { padding-top: 18px; border-top: 1px solid var(--line); }
.broker__list strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 6px;
}
.broker__list span { color: var(--muted); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.why h3, .steps h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.why p, .steps p { color: var(--muted); font-size: 16px; }

.split-photo {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 22px;
  align-items: stretch;
}
.split-photo > .section-head {
  grid-column: 1 / -1;
  margin-bottom: 28px;
}
.split-photo > .section-head .eyebrow {
  color: var(--blue);
  margin-bottom: 0;
}
.split-photo > .section-head h2.eyebrow {
  font-size: 19px;
  line-height: 1.47;
  letter-spacing: 0;
  font-weight: 600;
}
.goods-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.goods-mosaic .gallery__item {
  width: 100%;
  min-width: 0;
  height: 118px;
  position: relative;
}
.goods-mosaic .gallery__item span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.split-photo__panel {
  background: var(--bg-2);
  padding: 56px 48px;
  display: grid;
  align-content: center;
  border-radius: var(--radius);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.steps li {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
}
.steps span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.routes {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.routes__media {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
}
.routes__list { list-style: none; display: grid; gap: 0; margin-top: 24px; }
.routes__list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.routes__list strong { font-size: 21px; font-weight: 600; }
.routes__list span { color: var(--blue); font-weight: 500; }
.routes__list em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.gallery__item {
  border: 0;
  background: none;
  overflow: hidden;
  border-radius: 20px;
  padding: 0;
}
.gallery__item img { transition: transform 0.7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

.why__card {
  padding: 32px;
  border-radius: 22px;
  background: var(--bg-2);
}

.faq__list { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  max-width: 1176px;
  margin: 0 auto;
  padding: 88px 22px 100px;
  background: transparent;
}
.contact__copy,
.form {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact__meta { list-style: none; margin-top: 24px; color: var(--ink); display: grid; gap: 12px; }
.contact__meta a {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  word-break: break-word;
}
.contact__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.form__submit { grid-column: 1 / -1; margin-top: 8px; }
.form__note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 22px 40px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer a { text-decoration: underline; text-underline-offset: 2px; }
.form__note a { color: var(--blue); }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 22px 80px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
  margin: 8px 0 18px;
}
.legal h2 {
  font-size: 24px;
  margin: 32px 0 10px;
}
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue); }
.footer strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto; border-radius: 18px; }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 42px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 75;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 980px;
  font-size: 14px;
}
.toast[hidden] { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeup 0.8s var(--ease) forwards;
  animation-delay: 0.2s;
}

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeup { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes load { to { width: 100%; } }

@media (max-width: 1180px) {
  .platforms__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav__links, .nav .btn { display: none; }
  .nav__burger { display: block; }
  .split-photo, .routes, .contact, .why__grid, .steps, .hero__stats, .form, .audience__grid, .platforms__grid, .broker {
    grid-template-columns: 1fr;
  }
  .broker__media { min-height: 280px; }
  .goods-mosaic { grid-template-columns: 1fr 1fr; }
  .goods-mosaic .gallery__item { height: 120px; }
  .routes__list li { grid-template-columns: 1fr; }
  .routes__list em { grid-column: 1; }
  .hero__lead { font-size: 17px; }
  .hero .eyebrow { font-size: 17px; }
  .contact { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__title .line { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
