.oy-footer {
  background: var(--oy-color-navy);
  color: var(--oy-color-white);
  padding-top: 0;
  padding-bottom: 0;
  padding-inline: 0;
  overflow-x: hidden;
}

.oy-footer__inner {
  width: min(calc(100% - (var(--oy-container-pad) * 2)), var(--oy-container-max));
  margin-inline: auto;
  padding-inline: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  row-gap: 0;
  min-height: auto;
  box-sizing: border-box;
}

.oy-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 190px) minmax(0, 190px) minmax(0, 392px);
  gap: 28px;
  align-items: start;
  grid-row: 1;
  margin: 30px 0 24px;
}

.oy-footer__top > * {
  min-width: 0;
}

.oy-footer__left {
  display: contents;
}

.oy-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.oy-footer__heading {
  color: var(--oy-color-white);
  font-size: 17px;
  font-weight: 600;
  line-height: 25px;
}

.oy-footer__heading--center {
  text-align: center;
}

.oy-footer__centered {
  align-items: center;
}

.oy-footer__heading + .oy-footer__list,
.oy-footer__heading + .oy-footer__socials {
  margin-top: 4px;
}

.oy-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #F1F1F3;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.oy-footer__list--center {
  text-align: center;
  align-items: center;
}

.oy-footer__link {
  color: #F1F1F3;
  text-decoration: none;
  transition: opacity .15s ease;
}

.oy-footer__link:hover {
  opacity: 0.9;
}

.oy-footer__social {
  width: 100%;
  align-items: center;
}

.oy-footer__social .oy-footer__heading {
  width: 100%;
  text-align: center;
}

.oy-footer__socials {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
}

.oy-footer__social-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F8;
  border-radius: 12px;
  box-shadow: -15px 10px 11px rgba(124, 127, 131, 0.14);
  outline: 1px #F1F1F3 solid;
  outline-offset: -1px;
  color: var(--oy-color-primary);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.oy-footer__social-btn:hover {
  transform: translateY(-2px);
  box-shadow: -18px 14px 16px rgba(124, 127, 131, 0.18);
  background: var(--oy-color-primary);
  color: var(--oy-color-white);
}

.oy-footer__social-btn i {
  font-size: 17px;
  line-height: 1;
}

.oy-footer__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.oy-footer__brand {
  display: flex;
  align-items: center;
}

.oy-footer__logo {
  height: 52px;
  width: auto;
  display: block;
}

.oy-footer__contact {
  width: 100%;
  max-width: 392px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.oy-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-radius: 6px;
}

.oy-footer__contact-icon {
  color: var(--oy-color-primary);
  font-size: 16px;
  width: 18px;
  text-align: center;
  transition: color .18s ease;
}

.oy-footer__contact-item:hover .oy-footer__contact-icon {
  color: var(--oy-color-white);
}

.oy-footer__contact-label,
.oy-footer__contact-sep,
.oy-footer__contact-value {
  color: var(--oy-color-white);
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
}

.oy-footer__contact-item:hover .oy-footer__contact-label,
.oy-footer__contact-item:hover .oy-footer__contact-sep,
.oy-footer__contact-item:hover .oy-footer__contact-value {
  color: var(--oy-color-white);
}

.oy-footer__contact-value {
  text-decoration: none;
  opacity: 0.98;
  word-break: break-word;
  text-align: start;
}

.oy-footer__contact-value:hover {
  opacity: 1;
  text-decoration: underline;
}

.oy-footer__divider {
  display: none;
  width: 100%;
  background: rgba(241, 241, 243, 0.35);
  opacity: 1;
  grid-row: 2;
  margin: 0;
}

.oy-footer__bottom {
  color: var(--oy-color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  background: var(--oy-color-primary);
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: max(
    var(--oy-container-pad),
    calc((100vw - var(--oy-container-max)) / 2)
  );
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  grid-row: 3;
}

.oy-footer__bottom-link {
  color: var(--oy-color-white);
  text-decoration: none;
}

.oy-footer__bottom-link:hover {
  color: var(--oy-color-white);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .oy-footer__contact-item,
  .oy-footer__social-btn {
    transition: none !important;
  }

  .oy-footer__contact-item:hover,
  .oy-footer__social-btn:hover {
    transform: none !important;
  }
}

@media (min-width: 1025px) {
  .oy-footer {
    padding-inline: 0 !important;
  }

  .oy-footer__inner {
    width: min(calc(100% - (var(--oy-container-pad) * 2)), var(--oy-container-max)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }

  .oy-footer__top {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2.4vw, 48px) !important;
    width: 100% !important;
  }

  .oy-footer__top #contact {
    justify-self: start !important;
    text-align: start !important;
  }

  .oy-footer__top .oy-footer__right {
    justify-self: center !important;
    text-align: center !important;
    align-items: center !important;
  }

  .oy-footer__top .oy-footer__right .oy-footer__heading {
    text-align: center !important;
  }

  .oy-footer__top .oy-footer__right .oy-footer__socials {
    justify-content: center !important;
    width: 100% !important;
  }

  .oy-footer__top .oy-footer__quick,
  .oy-footer__top .oy-footer__locations {
    justify-self: center !important;
  }
}

@media (max-width: 1280px) {
  .oy-footer__contact {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .oy-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 24px;
    grid-template-areas:
      "contact contact"
      "quick locations"
      "social social";
  }

  #contact {
    grid-area: contact;
    justify-self: center;
    text-align: center;
  }

  .oy-footer__quick {
    grid-area: quick;
    justify-self: center;
  }

  .oy-footer__locations {
    grid-area: locations;
    justify-self: center;
  }

  .oy-footer__right {
    grid-area: social;
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .oy-footer__brand {
    justify-content: center;
  }

  .oy-footer__contact {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    align-items: center;
  }

  .oy-footer__contact-item {
    justify-content: center;
  }

  .oy-footer__contact-value {
    text-align: center;
  }

  .oy-footer__socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .oy-footer {
    padding-top: 0;
    padding-bottom: 0;
  }

  .oy-footer__inner {
    row-gap: 0;
    min-height: auto;
  }

  .oy-footer__top {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
    text-align: center;
    grid-template-areas:
      "contact"
      "quick"
      "locations"
      "social";
  }

  #contact {
    grid-area: contact;
  }

  .oy-footer__quick {
    grid-area: quick;
  }

  .oy-footer__locations {
    grid-area: locations;
  }

  .oy-footer__right {
    grid-area: social;
  }

  .oy-footer__col,
  .oy-footer__right {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .oy-footer__contact {
    max-width: 100%;
    align-items: center;
  }

  .oy-footer__contact-item {
    justify-content: center;
  }

  .oy-footer__contact-value {
    text-align: center;
  }

  .oy-footer__socials {
    justify-content: center;
  }

  .oy-footer__top .oy-footer__quick,
  .oy-footer__top .oy-footer__locations,
  .oy-footer__top .oy-footer__right {
    border-top: 1px solid rgba(241, 241, 243, 0.18);
    padding-top: 24px;
    width: 100%;
  }

  .oy-footer__bottom {
    margin-top: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
}