.artek-footer,
.artek-footer * {
  box-sizing: border-box;
}

.artek-footer-decor {
  display: block;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
}

.artek-footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 32px;
  color: #fff;
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.artek-footer-main {
  position: relative;
  overflow: hidden;
  padding: 32px 20px 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(264.67deg, #174d98 2.31%, #10a3d6 85.56%);
}

.artek-footer-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 32px clamp(0px, 1.25vw, 32px) 0;
  row-gap: 24px;
  column-gap: 48px;
}

.artek-footer-eagle {
  position: absolute;
  z-index: 0;
  left: clamp(-220px, -10vw, -72px);
  bottom: -125px;
  width: clamp(360px, 30vw, 581px);
  max-width: none;
  pointer-events: none;
}

.artek-footer-grid {
  display: contents;
}

.artek-footer-brand,
.artek-footer-nav,
.artek-footer-contacts,
.artek-footer-actions {
  position: relative;
  z-index: 2;
}

.artek-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 48px;
}

.artek-footer-brand a {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.artek-footer-brand__logo {
  width: 112px;
  min-height: 84px;
}

.artek-footer-brand__logo img,
.artek-footer-brand__logo svg,
.artek-footer-brand__logo .app-logo-mark,
.artek-footer-brand__mark {
  display: block;
  width: 112px;
  height: auto;
  min-height: 84.328px;
  overflow: visible;
}

.artek-footer-brand__divider {
  width: 1px;
  height: 44px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.2);
}

.artek-footer-brand__ministry {
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.artek-footer-brand__ministry img,
.artek-footer-brand__ministry svg {
  display: block;
  width: 64px;
  height: auto;
}

.artek-footer-nav {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-left: 48px;
}

.artek-footer-nav a,
.artek-footer-nav span {
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.artek-footer-nav a:hover,
.artek-footer-nav a:focus {
  opacity: 0.72;
}

.artek-footer-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-left: 48px;
}

.artek-footer-contact {
  display: flex;
  align-items: flex-start;
  min-height: 28px;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
}

.artek-footer-contact--address {
  min-height: 56px;
}

.artek-footer-contact__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  margin-right: 8px;
  color: #fff;
}

.artek-footer-contact__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.artek-footer-contact a {
  color: inherit;
  text-decoration: none;
}

.artek-footer-contact small {
  display: block;
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  line-height: 16px;
}

.artek-footer-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 360px;
}

.artek-footer-brand,
.artek-footer-contacts,
.artek-footer-actions {
  flex: 1 1 280px;
  max-width: 100%;
}

.artek-footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
}

.artek-footer-social {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.artek-footer-social:hover,
.artek-footer-social:focus {
  transform: scale(1.12);
  box-shadow: 0 12px 26px rgba(11, 29, 56, 0.18);
}

.artek-footer-social svg {
  width: 30px;
  height: 30px;
}

.artek-footer-social--telegram {
  background: linear-gradient(222deg, #3d8cff 0%, #50afff 100%);
}

.artek-footer-social--vk {
  background: #2787f5;
}

.artek-footer-social--rutube {
  background: #0b1d38;
}

.artek-footer-social--ok {
  background: #ee712b;
}

.artek-footer-to-top {
  display: none;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.artek-footer-to-top:hover,
.artek-footer-to-top:focus {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.artek-footer-to-top svg {
  width: 30px;
  height: 30px;
}

.artek-footer-bottom {
  position: relative;
  z-index: 2;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 31px;
  padding: 25px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  line-height: 20px;
}

.artek-footer-bottom p {
  margin: 0;
  white-space: nowrap;
}

.artek-footer-bottom button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 0.25s ease;
}

.artek-footer-bottom button:hover,
.artek-footer-bottom button:focus {
  color: #fff;
}

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

.artek-privacy-modal[hidden] {
  display: none;
}

.artek-privacy-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  color: #0b1d38;
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.artek-privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 56, 0.8);
}

.artek-privacy-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(80vw, 1120px);
  height: min(80vh, 760px);
  flex-direction: column;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: #fff;
  padding: clamp(24px, 4vw, 64px);
  box-shadow: 0 30px 80px rgba(11, 29, 56, 0.3);
  outline: 0;
}

.artek-privacy-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  color: #0b1d38;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.artek-privacy-modal h2 {
  margin: 0 42px 24px;
  color: #0b1d38;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.25;
  text-align: center;
}

.artek-privacy-modal__content {
  overflow-y: auto;
  padding-right: 12px;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.65;
}

.artek-privacy-modal__content a {
  color: #10a3d6;
}

body.artek-modal-open {
  overflow: hidden;
}

@media (min-width: 1800px) {
  .artek-footer-container {
    align-items: stretch;
  }

  .artek-footer-nav {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }

  .artek-footer-brand,
  .artek-footer-contacts,
  .artek-footer-actions {
    flex: 1 1 0;
    min-width: 0;
  }

  .artek-footer-contacts {
    display: block;
  }

  .artek-footer-to-top {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .artek-footer-decor {
    position: relative;
    height: 839px;
    overflow: visible;
    pointer-events: none;
  }

  .artek-footer-decor__sky {
    position: absolute;
    right: 0;
    bottom: 120px;
    left: 0;
    height: 839px;
    overflow: hidden;
  }

  .artek-footer-decor__sky svg {
    display: block;
    width: 100%;
    min-width: 1280px;
    height: 100%;
  }

  .artek-footer-decor__illustration {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
  }

  .artek-footer-decor__illustration img {
    position: relative;
    left: 50%;
    display: block;
    width: 100%;
    min-width: 2560px;
    max-width: none;
    transform: translateX(-50%);
    animation: artek-footer-float 8s ease-in-out infinite;
  }

  .artek-footer {
    margin-top: -160px;
  }

  .artek-footer-main {
    padding-right: 0;
    padding-left: 0;
    padding-top: 192px;
    border-radius: 0;
  }
}

@media (min-width: 1920px) {
  .artek-footer-main {
    padding-top: 240px;
  }
}

@media (min-width: 769px) and (max-width: 1799px) {
  .artek-footer-bottom {
    margin-top: 33px;
  }

  .artek-footer-brand,
  .artek-footer-contacts,
  .artek-footer-actions {
    flex: 1 1 30%;
    padding-left: 0;
  }

  .artek-footer-brand {
    overflow: visible;
  }

  .artek-footer-actions {
    align-items: flex-start;
    min-height: auto;
  }

  .artek-footer-socials {
    justify-content: flex-start;
  }

  .artek-footer-to-top {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .artek-footer {
    margin-top: -32px;
  }

  .artek-footer-main {
    padding: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .artek-footer-container {
    flex-direction: column;
    width: 100%;
    max-width: none;
    row-gap: 0;
    column-gap: 0;
    padding: 20px 20px 1px;
  }

  .artek-footer-brand,
  .artek-footer-contacts,
  .artek-footer-actions {
    flex: 0 0 auto;
    width: 100%;
  }

  .artek-footer-brand {
    margin-bottom: 20px;
    padding-left: 0;
    overflow: visible;
  }

  .artek-footer-contacts {
    display: block;
    padding-top: 24px;
    margin-top: 16px;
    margin-bottom: 0;
    padding-left: 0;
    gap: 0;
  }

  .artek-footer-contact + .artek-footer-contact {
    margin-top: 16px;
  }

  .artek-footer-nav a,
  .artek-footer-nav span {
    font-size: 14px;
    line-height: 20px;
  }

  .artek-footer-actions {
    align-items: flex-start;
    min-height: auto;
    gap: 0;
    margin-top: 12px;
  }

  .artek-footer-socials {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .artek-footer-eagle {
    display: none;
  }

  .artek-footer-nav {
    display: none;
  }

  .artek-footer-contact {
    font-size: 14px;
    line-height: 20px;
  }

  .artek-footer-contact__icon {
    margin-top: 0;
  }

  .artek-footer-brand__logo {
    width: 67px;
    min-height: 51px;
  }

  .artek-footer-brand__logo img,
  .artek-footer-brand__logo svg,
  .artek-footer-brand__logo .app-logo-mark,
  .artek-footer-brand__mark {
    width: 67px;
    min-height: 51px;
    height: auto;
    max-height: none;
  }

  .artek-footer-bottom {
    display: block;
    margin-top: 0;
    padding: 16px 0;
    font-size: 12px;
    line-height: 16px;
  }

  .artek-footer-bottom p {
    margin: 0;
  }

  .artek-footer-bottom p,
  .artek-footer-bottom button {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .artek-footer-bottom p + button,
  .artek-footer-bottom button + p {
    margin-top: 8px;
  }

  .artek-privacy-modal__dialog {
    width: calc(100vw - 32px);
    height: calc(100vh - 48px);
    padding: 28px 18px;
  }

  .artek-privacy-modal h2 {
    margin: 16px 34px 20px;
  }
}

@media (max-width: 480px) {
  .artek-footer-bottom {
    row-gap: 12px;
    padding-bottom: 16px;
  }
}

@media (max-width: 375px) {
  .artek-footer {
    margin-top: 0;
  }

  .artek-footer-bottom {
    padding-bottom: 16px;
  }
}

@keyframes artek-footer-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}
