:root {
  --blue-black: #06162a;
  --deep: #0b2341;
  --muted: #878b92;
  --purple: #5d1ec9;
  --footer: #232733;
  --accent: #694fe9;
  --red: #ff3a2d;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--blue-black);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

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

.page-frame {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
  overflow: hidden;
}

.social-rail {
  position: fixed;
  left: 40px;
  top: 228px;
  z-index: 40;
  display: grid;
  gap: 18px;
}

.social {
  width: 50px;
  height: 49px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 4px;
  font: 700 31px/1 Arial, sans-serif;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.social-facebook {
  background: #3b5998;
}

.social-twitter {
  background: #1da1f2;
}

.social-youtube {
  background: #d72027;
}

.social-twitter span {
  transform: rotate(-12deg);
  font-style: italic;
}

.play {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #ffffff;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 774px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 246, 238, 0.35), rgba(255, 255, 255, 0.02) 42%, rgba(30, 16, 35, 0.2)),
    url("images/hero/business-cargo-cargo-container-c-1-scaled.jpg");
  background-position: center center;
  background-size: cover;
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 10;
  width: min(1080px, calc(100% - 64px));
  max-width: none;
  min-height: 77px;
  padding: 8px 24px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 150px;
  background: rgba(255, 255, 255, 0.56);
  border-radius: 8px;
}

.brand img {
  width: 154px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.main-nav a {
  color: #000000;
  font-size: 31px;
  line-height: 1;
  font-weight: 400;
}

.hero-copy {
  position: absolute;
  z-index: 6;
  top: 298px;
  left: 134px;
  width: 560px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 60px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 2px 2px 30px rgba(58, 58, 58, 0.65);
}

.hero-copy p {
  margin: 18px 0 36px;
  color: #000000;
  font-size: 23px;
  line-height: 1.3;
}

.hero-button {
  position: relative;
  left: -41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 53px;
  padding: 0 24px;
  border: 2px solid var(--red);
  border-radius: 50px;
  color: #000000;
  font-size: 15px;
  background: rgba(255, 255, 255, 0);
}

.hero-shape,
.hero-line,
.hero-ring {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.hero-shape,
.hero-ring {
  animation: hero-float 7s ease-in-out infinite;
}

.hero-triangle-small {
  width: 42px;
  top: 228px;
  left: 116px;
  opacity: 0.85;
  --float-x: 10px;
  --float-y: -14px;
  --float-rotate: 0deg;
  animation-duration: 6.8s;
}

.hero-triangle-large {
  width: 88px;
  top: 555px;
  left: 585px;
  opacity: 0.85;
  --float-x: -12px;
  --float-y: 11px;
  --float-rotate: -18deg;
  animation-duration: 8.2s;
  animation-delay: -1.6s;
}

.hero-circle-striped {
  width: 275px;
  top: 118px;
  right: -90px;
  opacity: 0.72;
  --float-x: -18px;
  --float-y: 10px;
  --float-rotate: 4deg;
  animation-duration: 9.5s;
  animation-delay: -2.1s;
}

.hero-circle-soft {
  width: 116px;
  left: 150px;
  bottom: 43px;
  opacity: 0.85;
  --float-x: 12px;
  --float-y: -10px;
  --float-rotate: 0deg;
  animation-duration: 7.8s;
  animation-delay: -0.9s;
}

.hero-line {
  width: 1320px;
  height: 1px;
  top: 120px;
  left: 230px;
  background: rgba(67, 220, 212, 0.55);
  transform: rotate(22deg);
  transform-origin: left center;
}

.hero-ring {
  border-radius: 999px;
  border: 5px solid rgba(255, 255, 255, 0.9);
}

.hero-ring-left {
  width: 112px;
  height: 112px;
  left: 151px;
  bottom: 46px;
  --float-x: 13px;
  --float-y: -9px;
  --float-rotate: 0deg;
  animation-duration: 8.6s;
}

.hero-ring-mid {
  width: 48px;
  height: 48px;
  left: 330px;
  bottom: 137px;
  border-color: rgba(82, 222, 202, 0.9);
  --float-x: -8px;
  --float-y: 14px;
  --float-rotate: 0deg;
  animation-duration: 6.2s;
  animation-delay: -1.4s;
}

.hero-ring-right {
  width: 46px;
  height: 46px;
  right: 332px;
  bottom: 82px;
  --float-x: 9px;
  --float-y: -12px;
  --float-rotate: 0deg;
  animation-duration: 7.2s;
  animation-delay: -2.4s;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--float-rotate, 0deg));
  }

  50% {
    transform: translate3d(var(--float-x, 10px), var(--float-y, -10px), 0) rotate(var(--float-rotate, 0deg));
  }
}

.group-section {
  padding: 50px 0 30px;
}

.section-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 54px;
}

.group-grid {
  grid-template-columns: 48% 1fr;
  align-items: center;
}

.group-image {
  padding-top: 10px;
}

.group-image img {
  width: 100%;
}

.group-copy h2,
.partners-copy h2,
.contact-form-wrap h2 {
  margin: 0 0 18px;
  color: var(--blue-black);
  font-size: 35px;
  line-height: 45px;
  font-weight: 700;
  letter-spacing: 0;
}

.group-copy > p,
.partners-copy p,
.contact-form-wrap p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 28px;
}

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

.accordion-item {
  position: relative;
  padding-left: 34px;
}

.accordion-item::before,
.accordion-item::after {
  content: "";
  position: absolute;
  background: #1a1c26;
}

.accordion-item::before {
  left: 5px;
  top: 15px;
  width: 15px;
  height: 2px;
}

.accordion-item::after {
  left: 11px;
  top: 9px;
  width: 2px;
  height: 15px;
}

.accordion-item h3 {
  margin: 0 0 4px;
  color: #1a1c26;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

.accordion-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 28px;
}

.accordion-item a {
  color: var(--accent);
}

.companies-section {
  padding: 70px 0 90px;
}

.companies-panel {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 30px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 0 13px rgba(0, 0, 0, 0.5);
}

.company-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 118px;
}

.company-item img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 6px;
}

.company-item h3 {
  margin: 0 0 4px;
  color: var(--deep);
  font-size: 21px;
  line-height: 30px;
  font-weight: 700;
}

.company-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 28px;
}

.partners-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 0 80px;
}

.partners-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 45px;
}

.partners-image img {
  width: 100%;
  border-style: groove;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.partner-slider {
  position: relative;
  margin-top: 38px;
  padding-top: 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.partner-logo-viewport {
  overflow: hidden;
  scroll-behavior: smooth;
}

.partner-logo-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  min-width: 100%;
}

.partner-logo-strip img {
  flex: 0 0 180px;
  max-height: 82px;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0.35);
  opacity: 0.42;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-logo-strip img:hover,
.partner-logo-strip img:focus {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

.partner-slide-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 22, 42, 0.22);
  border-radius: 4px;
  background: #ffffff;
  color: #06162a;
  font: 400 24px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.partner-slide-button:hover {
  border-color: #694fe9;
  background: #694fe9;
  color: #ffffff;
}

.products-section {
  padding: 14px 0 86px;
}

.product-carousel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}

.product-carousel + .product-carousel {
  margin-top: 28px;
}

.product-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: max-content;
  animation: carousel-shift 34s linear 2s infinite alternate;
}

.product-carousel-bottom .product-track {
  animation-duration: 30s;
  animation-delay: 3s;
}

.product-track img {
  width: 210px;
  height: 158px;
  object-fit: cover;
  border-radius: 6px;
}

.product-carousel-bottom img {
  height: 210px;
}

@keyframes carousel-shift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-360px);
  }
}

.contact-section {
  padding: 20px 0 90px;
}

.map-visual {
  position: relative;
  max-width: var(--container);
  margin: 42px auto 0;
  height: 360px;
  overflow: hidden;
  border-radius: 4px;
  background: #f2f2f2;
}

.map-visual iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.25);
}

.map-address {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1c26;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.contact-panel {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  padding: 80px 60px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
  margin: 0 0 14px;
  color: #1a1c26;
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
}

.contact-details ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.contact-details li {
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
}

.separator {
  display: block;
  width: 58px;
  height: 3px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, #8c43fd, #602bff);
}

.static-form {
  display: grid;
  gap: 12px;
}

.static-form label {
  display: block;
}

.static-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.static-form input,
.static-form textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #f7f5fa;
  color: #444756;
  padding: 14px 15px 12px 20px;
  font: 400 15px/1.4 Tahoma, Arial, sans-serif;
  outline: 0;
  resize: vertical;
}

.static-form button {
  justify-self: start;
  border: 0;
  border-radius: 4px;
  padding: 12px 31px 10px;
  color: #ffffff;
  background: linear-gradient(to right, #8c43fd, #602bff);
  font: 700 15px/1.4 Tahoma, Arial, sans-serif;
  cursor: default;
}

.site-footer {
  min-height: 62px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 35.644% 1fr;
  align-items: center;
  background: var(--footer);
}

.site-footer p {
  margin: 0;
  color: #98a2aa;
  font-size: 16px;
  line-height: 22px;
}

.site-footer nav {
  justify-self: end;
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: #ffffff;
  font-size: 16px;
}

@media (max-width: 1280px) {
  .site-header {
    width: calc(100% - 56px);
    gap: 54px;
  }

  .main-nav {
    gap: 24px;
  }

  .main-nav a {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .page-frame {
    max-width: 100%;
  }

  .hero {
    width: 100%;
    min-height: 690px;
  }

  .site-header {
    width: calc(100% - 56px);
    max-width: none;
    min-height: 72px;
    gap: 30px;
  }

  .brand img {
    width: 140px;
  }

  .main-nav a {
    font-size: 24px;
  }

  .hero-copy {
    left: 55px;
    top: 278px;
  }

  .section-grid,
  .companies-panel,
  .partners-section,
  .product-carousel,
  .contact-panel {
    max-width: calc(100% - 48px);
  }

  .group-grid,
  .partners-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .partner-logo-strip {
    gap: 34px;
  }

  .partner-logo-strip img {
    flex-basis: 165px;
  }

  .social-rail {
    left: 20px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .social-rail {
    display: none;
  }

  .hero {
    min-height: 590px;
    background-position: 58% center;
  }

  .site-header {
    left: 50%;
    right: auto;
    top: 15px;
    width: calc(100% - 30px);
    max-width: none;
    padding: 12px;
    display: block;
    min-height: 0;
  }

  .brand img {
    width: 142px;
    margin: 0 auto 10px;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 290px;
    margin: 0 auto;
    gap: 8px 14px;
    white-space: normal;
  }

  .main-nav a {
    font-size: 16px;
  }

  .hero-copy {
    top: 265px;
    left: 22px;
    right: 22px;
    width: auto;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.05;
    white-space: normal;
  }

  .hero-copy p {
    font-size: 18px;
    margin-bottom: 28px;
  }

  .hero-circle-striped {
    width: 165px;
    top: 112px;
    right: -46px;
  }

  .hero-triangle-large {
    left: auto;
    right: 70px;
    top: 470px;
    width: 64px;
  }

  .hero-line {
    width: 520px;
    top: 246px;
    left: 20px;
  }

  .hero-ring-left {
    left: 45px;
    bottom: 42px;
  }

  .group-section {
    padding-top: 40px;
  }

  .section-grid,
  .companies-panel,
  .partners-section,
  .product-carousel,
  .contact-panel {
    max-width: calc(100% - 30px);
  }

  .group-copy h2,
  .partners-copy h2,
  .contact-form-wrap h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .companies-panel {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .company-item {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .company-item img {
    width: 72px;
    height: 72px;
  }

  .company-item h3 {
    font-size: 18px;
    line-height: 25px;
  }

  .partner-logo-strip {
    gap: 22px;
  }

  .partner-slider {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .partner-logo-strip img {
    flex-basis: 132px;
    max-height: 66px;
  }

  .partner-slide-button {
    width: 26px;
    height: 26px;
    font-size: 20px;
  }

  .product-track img {
    width: 176px;
    height: 132px;
  }

  .product-carousel-bottom img {
    height: 176px;
  }

  .map-visual {
    height: 300px;
  }

  .contact-panel {
    padding: 52px 24px;
  }

  .map-visual {
    max-width: calc(100% - 30px);
    height: 300px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 15px;
    text-align: center;
  }

  .site-footer nav {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }
}
