.footer-outer {
  padding: 120px 8px 8px;

  background-color: #1d191f;
}

.footer-card {
  padding: 56px 16px 48px;
  border-radius: 16px;

  background-color: #e4e1e6;

  @media (min-width: 768px) {
    padding: 56px 24px;
  }

  @media (min-width: 1024px) {
    padding: 64px 24px;
    border-radius: 24px;
  }
}
.footer-container {
  max-width: 1920px;
  margin: 0 auto;
}

.footer-column {
  @media (min-width: 1024px) {
    display: flex;
    gap: clamp(40px, calc(27.78vw - 210px), 300px);
  }
}

.footer-nav {
  margin-bottom: 40px;

  @media (min-width: 768px) {
    margin-bottom: 48px;
  }

  @media (min-width: 1024px) {
    margin-bottom: 0;
    width: 50%;
  }
}

.footer-nav__dot {
  display: inline-block;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  margin-right: 8px;

  background-color: #ff4d00;
}

.footer-nav__label,
.footer-company-details__label,
.footer-socials__label {
  margin-bottom: 24px;
  color: #3b393d;
  font-weight: 600;
  line-height: 1.4;

  @media (min-width: 768px) {
    margin-bottom: 32px;
  }

  @media (min-width: 1024px) {
    margin-bottom: 40px;
  }
}

.footer-nav__item {
  background-image: radial-gradient(circle, #949097 1px, transparent 1px);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
  transition: background-color 0.3s;

  @media (min-width: 768px) {
    background-size: 11px 2px;
  }
}

.footer-nav__item:hover {
  @media (hover: hover) {
    background-color: #ffffff;
  }
}

.footer-nav__item:has(.footer-nav__link:focus-visible),
.footer-nav__item:has(.footer-nav__link:active) {
  background-color: #ffffff;
}

.footer-nav__link {
  position: relative;
  display: flex;
  justify-content: space-between;

  padding: 8px 18px 18px 0;

  color: #949097;

  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 29px;
  line-height: 1;
  text-decoration: none;

  transition:
    padding 0.3s,
    color 0.3s;

  @media (min-width: 768px) {
    font-size: 48px;
  }
}

.footer-nav__link:hover {
  @media (hover: hover) {
    padding-left: 12px;

    color: #4b4cff;
  }

  @media (hover: hover) and (min-width: 1024px) {
    padding-left: 18px;
  }
}

.footer-nav__link:focus-visible,
.footer-nav__link:active {
  padding-left: 12px;
  outline: none;

  color: #4b4cff;

  @media (min-width: 1024px) {
    padding-left: 18px;
  }
}

.footer-nav__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  display: inline-block;

  height: 20px;
  width: 20px;

  color: #e4e1e6;

  transition: color 0.3s;
}

.footer-nav__link:hover .footer-nav__icon {
  @media (hover: hover) {
    color: #ffffff;
  }

  @media (hover: hover) and (min-width: 1024px) {
    color: #4b4cff;
  }
}

.footer-nav__link:focus-visible .footer-nav__icon,
.footer-nav__link:active .footer-nav__icon {
  color: #ffffff;

  @media (min-width: 1024px) {
    color: #4b4cff;
  }
}

.footer-column__right {
  @media (min-width: 1024px) {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
}

.footer-column__right-inside {
  padding-bottom: 42px;

  border-bottom: 1px dashed #ff4d00;

  @media (min-width: 768px) and (max-width: 1023px) {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  @media (min-width: 1024px) {
    display: flex;

    align-items: flex-start;
    gap: clamp(35px, 12.5vw - 90px, 220px);
    flex: 1;
    width: fit-content;
  }
}

.footer-company-details {
  margin-bottom: 32px;

  @media (min-width: 768px) {
    margin-bottom: 0;
  }
}

.footer-company-details__label {
  margin-bottom: 16px;

  @media (min-width: 768px) {
    margin-bottom: 24px;
  }
}
.footer-company-details__text,
.footer-company-details__link {
  display: block;

  color: #949097;

  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-company-details__link {
  margin-bottom: 8px;
}

.footer-company-details__link:hover {
  @media (hover: hover) {
    color: #4b4cff;
  }
}

.footer-lang--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .footer-lang--desktop {
    display: flex;
  }
  .footer-lang--mobile {
    display: none;
  }
}

.footer-lang__list {
  display: flex;
  align-items: center;
  gap: 20px;

  @media (min-width: 768px) {
    margin-bottom: 0;
    margin-top: 49px;
  }

  @media (min-width: 1024px) {
    margin-bottom: 0;
    margin-top: 41px;
  }
}

.footer-lang__item {
  position: relative;
}

.footer-lang__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: calc(50% - 5px / 2);
  right: -12.5px;

  height: 5px;
  width: 5px;
  border-radius: 50%;

  background-color: #949097;
}

.footer-lang__link,
.footer-lang__current {
  color: #949097;

  font-size: 18px;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.3s;

  @media (min-width: 1024px) {
    font-size: 15px;
    line-height: 1.1;
  }
}

.footer-lang__link:hover {
  @media (hover: hover) {
    color: #4b4cff;
  }
}

.footer-lang__current {
  color: #333134;
}

.footer-socials {
  margin-bottom: 32px;

  @media (min-width: 768px) {
    margin-bottom: 0;
  }
}

.footer-socials__label {
  margin-bottom: 24px;
}

.footer-socials__list {
  width: fit-content;

  @media (max-width: 767px) {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 12px 24px;
  }
}

@media (min-width: 768px) {
  .footer-socials__item:not(:last-child) {
    margin-bottom: 12px;
  }
}

.footer-socials__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: #949097;

  text-decoration: none;
  font-size: 15px;
  line-height: 1.3;
  transition: color 0.3s;
}

.footer-socials__icon {
  display: inline-block;
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}

.footer-socials__link:hover {
  @media (hover: hover) {
    color: #4b4cff;
  }
}

.footer-professional {
  align-self: flex-start;

  margin-top: 8px;
}

.footer-professional__title {
  color: #949097;

  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 18px;
  text-transform: uppercase;

  @media (min-width: 768px) {
    margin-bottom: 24px;
  }

  @media (min-width: 1024px) {
    font-size: 15px;
    line-height: 1.1;
  }
}

.footer-professional__text {
  margin-bottom: 16px;

  color: #333134;

  font-size: 12px;
  line-height: 1.2;
}

.footer-professional__link {
  display: inline-block;

  color: #241f27;

  font-size: 12px;
  line-height: 1.2;
}

.footer-professional__item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-professional__icon {
  display: inline-block;

  height: 24px;
  width: 24px;
}

.footer-professional__phrase {
  color: #333134;

  font-size: 12px;
  line-height: 1.2;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 24px 0;

  @media (min-width: 768px) {
    margin-top: 40px;
    margin-bottom: 48px;
  }

  @media (min-width: 1024px) {
    margin-top: 56px;
    margin-bottom: 48px;
  }
}
.footer-divider__line {
  flex: 1;

  height: 1px;

  background-color: #949097;
}
.footer-divider__dot {
  margin: 0 3px;
  height: 6px;
  width: 6px;
  border-radius: 50%;

  background-color: #949097;

  @media (min-width: 1024px) {
    margin: 0 4px;
    height: 5px;
    width: 5px;
  }
}

.footer-legal {
  @media (min-width: 768px) {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 37px;
  }
  @media (min-width: 1024px) {
    gap: 56px;
  }
}

.footer-legal__list {
  @media (min-width: 768px) {
    display: flex;
    align-items: center;
    gap: 37px;
  }

  @media (min-width: 1024px) {
    gap: 56px;
  }
}

@media (max-width: 767px) {
  .footer-legal__item {
    margin-bottom: 12px;
  }
}

.footer-legal__link,
.footer-legal__text {
  color: #949097;

  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}

.footer-legal__link {
  transition: color 0.3s;
}

.footer-legal__link:hover {
  @media (hover: hover) {
    color: #4b4cff;
  }
}
