@font-face {
  font-family: "Aeroport";
  src: url("../fonts/Aeroport-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Aeroport";
  src: url("../fonts/Aeroport.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aeroport";
  src: url("../fonts/Aeroport-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Aeroport";
  src: url("../fonts/Aeroport-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #101012;
  --dark: #212124;
  --muted: #505759;
  --red: #ea2a2a;
  --pale: #eef3fb;
  --soft: #f3f3f3;
  --shell: 1472px;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--pale);
  font-family: "Aeroport", Arial, sans-serif;
  font-weight: 400;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
button, input { font: inherit; }

.scale-viewport {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.scale-canvas {
  width: 1600px;
  min-width: 1600px;
  flex: 0 0 1600px;
  transform: scale(var(--page-scale, 1));
  transform-origin: top center;
}

.landing {
  overflow: hidden;
  background: var(--pale);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 764px;
  padding: 16px 64px 0;
}

.site-header {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  flex: none;
  overflow: hidden;
  padding: 16px 0;
}
.site-header,
.hero-card {
  max-width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}
.brand { width: 114px; height: 40px; flex: none; }
.brand img { width: 100%; height: 100%; }
.brand-light { display: none; }
.nav { display: flex; align-items: center; gap: 32px; margin-right: auto; margin-left: 48px; font-size: 20px; line-height: 24px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  background: var(--red);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
}
.phone { padding: 8px 12px; color: var(--ink); background: #fff; }
.button-small { padding: 8px 12px; }
.button span { margin-left: 8px; opacity: .72; font-weight: 400; }

.menu-toggle, .mobile-menu { display: none; }

.hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 652px;
  flex: none;
  overflow: hidden;
  border-radius: 64px;
  padding: 36px 64px;
  background: #fff;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; height: 580px; }
.hero-copy h1 {
  max-width: 672px;
  font-size: 64px;
  line-height: 64px;
  letter-spacing: -4px;
}
.hero-copy p {
  max-width: 672px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 24px;
}
.hero-copy .button { align-self: flex-start; margin-top: 40px; }
.hero-gallery { position: relative; height: 580px; }
.gallery-col {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 294px;
}
.gallery-col img {
  width: 294px;
  height: 340px;
  flex: none;
  border-radius: 24px;
  object-fit: cover;
  background: var(--soft);
}
.gallery-one { left: 64px; top: -316px; }
.gallery-two { left: 378px; top: -156px; }

@media (min-width: 901px) {
  .gallery-one {
    animation: gallery-scroll-down 20s linear infinite;
    will-change: transform;
  }

  .gallery-two {
    animation: gallery-scroll-up 20s linear infinite;
    will-change: transform;
  }
}

@keyframes gallery-scroll-down {
  from { transform: translate3d(0, -1068px, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes gallery-scroll-up {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -1068px, 0); }
}

@keyframes gallery-scroll-right-mobile {
  from { transform: translate3d(-486px, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes gallery-scroll-left-mobile {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-486px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-col {
    animation: none;
    will-change: auto;
  }
}

.section-block { margin-top: 64px; }
.section-surface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  border-radius: 64px;
  padding: 64px;
  background: #fff;
}
.section-surface > h2, .contacts > h2 {
  width: 100%;
  max-width: var(--max);
  font-size: 64px;
  line-height: 64px;
  letter-spacing: -4px;
  text-align: center;
}
.card {
  overflow: hidden;
  border-radius: 32px;
  padding: 36px;
  background: var(--soft);
}
.card h3 {
  font-size: 32px;
  line-height: 32px;
  letter-spacing: -1px;
}
.card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
  line-height: 24px;
}

.calculation { height: 736px; }
.calculation .section-surface { height: 736px; }
.calculation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 224px 248px;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
}
.calc-docs { grid-column: 1 / span 4; display: flex; justify-content: space-between; }
.calc-label { grid-column: 5 / span 2; }
.calc-customs { grid-column: 1 / span 2; }
.calc-logistics { grid-column: 3 / span 4; display: flex; justify-content: space-between; }
.calc-docs > div, .calc-logistics > div { flex: 1; min-width: 0; }
.calc-docs img { width: 176px; height: 152px; flex: none; object-fit: contain; }
.calc-logistics img { width: 176px; height: 176px; flex: none; object-fit: contain; }

.advantages { height: 1048px; padding: 0 64px; }
.advantages .section-surface {
  max-width: var(--shell);
  height: 1048px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 64px;
  padding-left: 64px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 168px);
  gap: 24px;
  width: 100%;
  max-width: 1344px;
}
.advantages-photo { grid-row: 1 / span 4; overflow: hidden; border-radius: 32px; background: var(--muted); }
.advantages-photo img { width: 100%; height: 100%; object-fit: cover; }
.icon-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.icon-card > div { flex: 1; min-width: 0; }
.icon-card b {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 16px;
  background: var(--red);
}
.icon-card b img { width: 48px; height: 48px; }

.tasks { height: 632px; }
.tasks .section-surface { height: 632px; }
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 168px 200px;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
}
.task-law { grid-column: 1 / span 3; }
.task-customs { grid-column: 4 / span 3; }
.task-profit { grid-column: 1 / span 2; }
.task-label { grid-column: 3 / span 2; }
.task-control { grid-column: 5 / span 2; }

.guarantees { height: 576px; padding: 0 64px; }
.guarantees .section-surface {
  max-width: var(--shell);
  height: 576px;
  margin-right: auto;
  margin-left: auto;
}
.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 144px 168px;
  gap: 24px;
  width: 100%;
  max-width: 1344px;
}

.workflow { height: 537px; }
.workflow .section-surface { height: 537px; }
.workflow-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1248px;
  height: 64px;
}
.workflow-track i {
  --step-progress: 25%;
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border: 2px dashed var(--dark);
  border-radius: 50%;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
}
.workflow-track i::after,
.workflow-mobile-step::after {
  position: absolute;
  z-index: 1;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--red) 0 var(--step-progress), transparent var(--step-progress) 100%);
  content: "";
  pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  transform: rotate(90deg);
}
.workflow-track i:nth-of-type(2) { --step-progress: 50%; }
.workflow-track i:nth-of-type(3) { --step-progress: 75%; }
.workflow-track i:nth-of-type(4) { --step-progress: 100%; }
.workflow-track span { height: 0; flex: 1; border-top: 2px dashed var(--dark); }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; max-width: var(--max); height: 200px; margin-top: -15px; }
.workflow-grid .card { padding: 24px; text-align: center; }
.workflow-mobile-step { display: none; }

.consultation { height: 480px; padding: 0 64px; }
.consultation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  height: 480px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  border-radius: 32px;
  padding-left: 36px;
  background: #fff;
}
.consultation-copy { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 36px 0; overflow: hidden; }
.consultation-copy h2 { font-size: 48px; line-height: 48px; letter-spacing: -2px; }
.lead-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(120,120,128,.16);
  border-radius: 12px;
  padding: 0 16px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}
.lead-form input:focus { border-color: rgba(234,42,42,.55); }
.form-consent { display: none; }
.lead-form .button { align-self: flex-start; margin-top: 14px; }
.consultation-image { height: 480px; }
.consultation-image img { width: 100%; height: 100%; object-fit: cover; }

.footer {
  height: 1000px;
  margin-top: 64px;
  overflow: hidden;
  border-radius: 64px 64px 0 0;
  padding: 0 64px 32px;
  color: #fff;
  background: var(--dark);
}
.contacts { display: flex; flex-direction: column; justify-content: flex-end; gap: 48px; max-width: var(--max); height: 760px; margin: 0 auto; padding: 64px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 328px 160px; gap: 24px; }
.contact-grid article { overflow: hidden; border-radius: 32px; padding: 32px; text-align: center; background: rgba(255,255,255,.08); }
.contact-grid h3 { font-size: 32px; line-height: 32px; font-weight: 700; }
.contact-grid p { margin-top: 16px; color: rgba(255,255,255,.72); font-size: 20px; line-height: 24px; }
.footer-bottom { display: flex; flex-direction: column; gap: 32px; width: 100%; max-width: var(--shell); height: 208px; margin-right: auto; margin-left: auto; border-radius: 48px; padding: 32px; background: rgba(255,255,255,.08); }
.footer-main { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.footer-logo { width: 136px; height: 48px; }
.footer-main nav { display: flex; gap: 32px; font-size: 20px; line-height: 24px; }
.socials { display: flex; gap: 16px; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.socials img { width: 24px; height: 24px; object-fit: contain; }
.footer-legal { display: flex; align-items: flex-end; justify-content: space-between; height: 48px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 20px; }
.footer-legal > div { display: flex; gap: 32px; }
.footer-legal > img { width: 188px; height: 48px; object-fit: contain; }

@media (max-width: 900px) {
  .scale-canvas {
    width: 375px;
    min-width: 375px;
    flex-basis: 375px;
  }

  .menu-open .scale-canvas { transform: none; }

  .desktop-nav { display: none; }
  .hero {
    gap: 16px;
    height: auto;
    padding: 0 16px;
  }
  .site-header {
    height: 80px;
    padding: 16px;
    overflow: visible;
  }
  .brand { width: 136px; height: 48px; }
  .menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 5px 4px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle i {
    display: block;
    height: 3.333px;
    margin: 5px 0;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .mobile-menu {
    position: fixed;
    z-index: 6;
    inset: 0;
    display: block;
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 133px 16px 31px;
    color: #fff;
    background: var(--dark);
  }
  .mobile-menu-inner { display: flex; flex-direction: column; height: 100%; }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 32px; font-size: 24px; font-weight: 500; line-height: 32px; }
  .menu-phone { display: grid; place-items: center; height: 49px; margin-top: auto; border-radius: 16px; padding: 12px; text-align: center; background: #505759; font-size: 16px; font-weight: 500; line-height: 24px; }
  .mobile-menu .button { margin-top: 12px; border-radius: 16px; }
  .menu-open .mobile-menu { transform: translateX(0); }
  .menu-open .site-header { position: fixed; top: 0; right: 16px; left: 16px; width: auto; color: #fff; }
  .menu-open .brand-dark { display: none; }
  .menu-open .brand-light { display: block; }
  .menu-open .menu-toggle { position: relative; z-index: 8; }
  .menu-open .menu-toggle i { width: 28px; margin-left: 2px; background: #fff; }
  .menu-open .menu-toggle i:nth-child(1) { transform: translateY(8.33px) rotate(45deg); }
  .menu-open .menu-toggle i:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle i:nth-child(3) { transform: translateY(-8.33px) rotate(-45deg); }
  .menu-toggle:focus, .menu-toggle:focus-visible { outline: none; }

  .hero-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    border-radius: 24px;
    padding: 24px 16px 0;
  }
  .hero-copy { height: auto; }
  .hero-copy h1 {
    max-width: none;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -1px;
  }
  .hero-copy p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.25px;
  }
  .hero-copy .button { align-self: stretch; margin-top: 24px; }
  .hero-gallery { height: 417px; margin: 24px -16px 0; }
  .gallery-col { flex-direction: row; gap: 16px; width: auto; }
  .gallery-col img { width: 146px; height: 168px; border-radius: 16px; }
  .gallery-one { left: -16px; top: 32px; }
  .gallery-two { left: -89px; top: 216px; }

  @media (prefers-reduced-motion: no-preference) {
    .gallery-one {
      animation: gallery-scroll-right-mobile 10s linear infinite;
      will-change: transform;
    }

    .gallery-two {
      animation: gallery-scroll-left-mobile 10s linear infinite;
      will-change: transform;
    }
  }

  .section-block { height: auto; margin-top: 36px; padding: 0; }
  .section-surface {
    height: auto !important;
    gap: 24px;
    border-radius: 24px;
    padding: 36px 16px;
  }
  .section-surface > h2, .contacts > h2 {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -1px;
  }
  .card { border-radius: 32px; padding: 24px; }
  .card h3 { font-size: 24px; line-height: 24px; letter-spacing: -.5px; }
  .card p { font-size: 16px; line-height: 24px; letter-spacing: -.25px; }

  .calculation-grid, .tasks-grid, .guarantees-grid, .workflow-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
  }
  .calc-docs, .calc-logistics { display: block; }
  .calc-docs img, .calc-logistics img { display: none; }
  .calc-label { order: 1; height: 208px; flex: none; }
  .calc-logistics { order: 2; height: 184px; flex: none; }
  .calc-customs { order: 3; height: 184px; flex: none; }
  .calc-docs { order: 4; height: 208px; flex: none; }

  .advantages { padding: 0 16px; }
  .advantages .section-surface { padding: 36px 16px; }
  .advantages-grid { display: flex; flex-direction: column; gap: 10px; }
  .advantages-photo { order: 5; width: 100%; height: 360px; flex: none; }
  .advantages-grid .icon-card:nth-of-type(1) { height: 256px; flex: none; }
  .advantages-grid .icon-card:nth-of-type(2) { height: 296px; flex: none; }
  .advantages-grid .icon-card:nth-of-type(3) { height: 272px; flex: none; }
  .advantages-grid .icon-card:nth-of-type(4) { height: 272px; flex: none; }
  .advantages-photo { height: 339px; }
  .icon-card { align-items: flex-start; flex-direction: column; }
  .icon-card b { width: 48px; height: 48px; border-radius: 8px; }
  .icon-card b img { width: 24px; height: 24px; }

  .tasks .icon-card, .guarantees .icon-card { min-height: 0; }
  .tasks .icon-card b { display: none; }
  .tasks .icon-card { display: block; }
  .task-law { height: 160px; flex: none; }
  .task-customs { height: 136px; flex: none; }
  .task-profit { height: 136px; flex: none; }
  .task-label { height: 160px; flex: none; }
  .task-control { height: 136px; flex: none; }
  .guarantees { padding: 0 16px; }
  .guarantees-grid .icon-card:nth-child(1),
  .guarantees-grid .icon-card:nth-child(2) { height: 184px; flex: none; }
  .guarantees-grid .icon-card:nth-child(3) { height: 232px; flex: none; }
  .guarantees-grid .icon-card:nth-child(4) { height: 256px; flex: none; }

  .workflow .section-surface {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 24px;
    align-items: center;
  }
  .workflow .section-surface > h2 { grid-column: 1 / -1; }
  .workflow-track {
    display: flex;
    align-self: center;
    flex-direction: column;
    gap: 16px;
    width: 64px;
    max-width: none;
    height: auto;
  }
  .workflow-track i {
    width: 64px;
    height: 64px;
    font-size: 24px;
    line-height: 32px;
  }
  .workflow-track span {
    width: 0;
    height: 96px;
    flex: none;
    border-top: 0;
    border-left: 2px solid var(--dark);
  }
  .workflow-grid {
    grid-column: 2;
    gap: 24px;
    width: 100%;
    margin-top: 0;
    padding-left: 0;
  }
  .workflow-grid .card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
  .workflow-mobile-step { display: none; }
  .workflow-grid .card:not(:last-child)::after { content: none; }
  .workflow-grid .card:nth-child(1),
  .workflow-grid .card:nth-child(2) { height: 160px; flex: none; }
  .workflow-grid .card:nth-child(3),
  .workflow-grid .card:nth-child(4) { height: 184px; flex: none; }

  .consultation { padding: 0 16px; }
  .consultation-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    height: 900px;
    border-radius: 24px;
    padding: 0;
  }
  .consultation-copy { height: 516px; gap: 36px; padding: 36px 16px 0; }
  .consultation-copy h2 { font-size: 32px; line-height: 32px; letter-spacing: -1px; }
  .lead-form { gap: 0; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .lead-form > input { margin-top: 10px; }
  .form-consent { display: flex; align-items: flex-start; gap: 12px; height: 40px; margin-top: 16px; font-size: 16px; line-height: 20px; }
  .form-consent input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--red); }
  .lead-form .button { align-self: stretch; margin-top: 16px; }
  .consultation-image { height: 360px; }

  .footer {
    height: 1980px;
    margin-top: 36px;
    border-radius: 32px 32px 0 0;
    padding: 0 16px 32px;
  }
  .contacts { height: auto; gap: 48px; padding: 32px 0; }
  .contact-grid { display: flex; flex-direction: column; gap: 24px; }
  .contact-grid article { border-radius: 32px; padding: 24px; text-align: center; }
  .contact-grid h3 { font-size: 24px; line-height: 32px; }
  .contact-grid p { font-size: 20px; line-height: 24px; }
  .footer-bottom { height: auto; border-radius: 48px; padding: 24px; }
  .footer-main { display: flex; align-items: flex-start; flex-direction: column; gap: 32px; height: auto; }
  .footer-main nav { display: flex; align-items: flex-start; flex-direction: column; gap: 32px; font-size: 16px; line-height: 24px; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 32px; height: auto; line-height: 20px; }
  .footer-legal > div { align-items: flex-start; flex-direction: column; gap: 32px; }
  .footer-legal > img { width: 157px; height: 40px; }
}
