/*Footer.scss Start*/
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-inline: 16px;
  padding: 24px 40px 40px 24px;
  margin-top: 16px;
  margin-bottom: 18px;
  border-radius: 24px;
  overflow: hidden;
}
.footer-header {
  position: relative;
  display: flex;
  flex-direction: column;
}
.footer-header-logo {
  position: relative;
  margin-bottom: 16px;
  z-index: 1;
}
.footer-header-logo svg {
  display: block;
  width: 13rem;
  height: auto;
}
.footer-header-socials {
  position: relative;
  margin-bottom: 32px;
  z-index: 1;
}
.footer-header-links {
  position: relative;
  padding-bottom: 24px;
  z-index: 1;
}
.footer-header::before {
  content: "";
  position: absolute;
  display: block;
  top: -49px;
  left: -100vw;
  width: 200vw;
  height: calc(100% + 3.0625rem);
  background-color: #072f63;
  z-index: 0;
  pointer-events: none;
}
.footer-bottom {
  position: relative;
  padding-top: 40px;
}
.footer-bottom-links,
.footer-bottom-logos,
.footer-bottom-reserved {
  position: relative;
  z-index: 1;
}
.footer-bottom-reserved {
  position: relative;
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 500;
  color: #101828;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: -100vw;
  width: 200vw;
  height: calc(100% + 2.5rem);
  background-color: #e8f1ff;
  z-index: 0;
  pointer-events: none;
}
/*Footer End*/
/*FooterContacts.scss Start*/
.footer-contacts {
  position: relative;
}
.footer-contacts-title {
  position: relative;
  font-size: 1.5rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 700;
  margin-bottom: 11px;
  background-color: #072f63;
  color: #ffffff;
}
.footer-contacts-columns {
  display: flex;
  flex-direction: column;
}
.footer-contacts-column {
  display: flex;
  align-items: flex-start;
}
.footer-contacts-description {
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 400;
  color: #ffffff;
  background-color: #072f63;
  flex: 1;
}
.footer-contacts-description p {
  margin: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 400;
  color: #ffffff;
  background-color: #072f63;
}
.footer-contacts-description p:last-of-type {
  margin-bottom: 0;
}
.footer-contacts-description a {
  color: #ffffff;
  background-color: #072f63;
  text-decoration: underline;
  transition: all 0.3s ease;
}
.footer-contacts-description a:hover {
  color: #ffffff;
  background-color: #072f63;
}
/*FooterContacts.scss End*/
/*FooterLinks.scss Start*/
.footer-links-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}
.footer-links-container-item {
  position: relative;
  display: block;
}
.footer-links-container-item .link {
  position: relative;
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  height: 1.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #101828;
}
/*FooterLinks.scss End*/

/*FooterLogos.scss Start*/
.footer-logos {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  align-items: center;
}
.footer-logos :nth-child(1) img {
  display: block;
  width: 3.3125rem;
  height: auto;
}
.footer-logos :nth-child(2) img {
  position: relative;
  display: block;
  width: 3.25rem;
  height: 1.3125rem;
}
.footer-logos :nth-child(3) img {
  display: block;
  width: 5.9375rem;
  height: auto;
}
.footer-logos-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
/*FooterLogos.scss End*/

/*FooterSocials.scss End*/
.footer-social-links {
  position: relative;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.footer-social-links .social-link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 100%;
  border: 2px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}
.footer-social-links .social-link .common-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-social-links .social-link .common-image img {
  display: block;
  width: 1.125rem;
  height: auto;
  max-height: 1.125rem;
}
.footer-social-links .social-link:hover {
  border-color: transparent;
  background-color: rgba(255, 255, 255, 0.04);
}
/*FooterSocials.scss End*/

/*FooterUtilLinks.scss Start*/
.util-links-container {
  position: relative;
}
.util-links-container__left-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.util-links-container__left-content .nav-links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.util-links-container__left-content .nav-links-item {
  position: relative;
  display: block;
}
.util-links-container__left-content .nav-links-item-title {
  position: relative;
  font-size: 2rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  height: 3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  background-color: #072f63;
}
.util-links-container__left-content .util-links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.util-links-container__left-content .util-links-item {
  position: relative;
  display: block;
}
.util-links-container__left-content .util-links-item-title {
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-montserrat);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  height: 1.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  background-color: #072f63;
}
/*FooterUtilLinks.scss End*/

@media screen and (min-width: 768px) {
  /*Footer Start*/
  .footer {
    padding: 48px 40px 32px 40px;
    margin-inline: 44px;
    margin-bottom: 40px;
  }
  .footer-header {
    row-gap: 38px;
  }
  .footer-header-logo-social {
    display: flex;
  }
  .footer-header-logo {
    margin-bottom: unset;
    height: 0;
  }
  .footer-header-socials {
    display: flex;
    align-items: center;
    margin-bottom: unset;
    margin-left: auto;
  }
  .footer-header-links {
    grid-column: 1 / span 2;
    padding-bottom: 16px;
  }
  .footer-bottom {
    padding-top: 24px;
  }
  /*Footer End*/
  /*FooterContacts.scss Start*/
  .footer-contacts-title {
    margin-bottom: 24px;
  }
  .footer-contacts-description {
    display: flex;
    gap: 32px;
  }
  .footer-contacts-columns {
    flex-direction: row;
    gap: 20px;
  }
  /*FooterContacts.scss End*/
  /*FooterLinks.scss Start*/
  .footer-links-container {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  /*FooterLinks.scss End*/
  /*FooterLogos.scss Start*/
  .footer-logos {
    margin-bottom: 40px;
  }
  .footer-logos :nth-child(1) img {
    width: 4.75rem;
  }
  .footer-logos :nth-child(2) img {
    width: 4.625rem;
    height: auto;
  }
  .footer-logos :nth-child(3) img {
    width: 8.5625rem;
  }
  /*FooterLogos.scss End*/
  /*FooterUtilLinks.scss Start*/
  .util-links-container__left-content {
    gap: 16px;
  }
  .util-links-container__left-content .nav-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 40px;
    row-gap: 16px;
  }
  .util-links-container__left-content .util-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
  }
  /*FooterUtilLinks.scss End*/
}
@media screen and (min-width: 1200px) {
  /*Footer Start*/
  .footer {
    width: calc(100% - 4.8125rem - 4.875rem - 5rem - 5rem);
    max-width: 105.25rem;
    padding: 34px 77px 22px 78px;
    margin-bottom: 61px;
    margin-top: 24px;
    margin-inline: auto;
  }
  .footer-header {
    display: flex;
    grid-template-columns: auto auto auto;
    column-gap: unset;
    row-gap: unset;
    padding-bottom: 32px;
  }
  .footer-header-logo {
    margin-right: 12px;
    width: fit-content;
    height: 0;
  }
  .footer-header-logo svg {
    width: 12.6875rem;
  }
  .footer-header-socials {
    height: 100%;
    align-items: flex-start;
    padding-top: 16px;
  }
  .footer-header-links {
    grid-row: 1 / span 1;
    grid-column: 2 / span 1;
    padding-bottom: unset;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: auto auto;
    padding-top: 16px;
  }
  .footer-bottom-logos {
    grid-row: 1 / span 2;
    grid-column: 2 / span 1;
    margin-left: auto;
  }
  /*Footer End*/
  /*FooterContacts.scss Start*/
  .footer-contacts {
    display: flex;
    margin-top: unset;
    gap: 22px;
    align-items: baseline;
  }
  .footer-contacts-columns {
    width: 100%;
    gap: 20px;
  }
  .footer-contacts-title {
    width: 19.125rem;
    height: 3.625rem;
  }
  .footer-contacts-title span {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    line-height: 1.5;
    font-family: var(--font-montserrat);
    font-weight: 500;
  }
  .footer-contacts-description {
    padding-inline-start: 6px;
    width: 100%;
  }
  .footer-contacts-description p:last-of-type {
    margin-bottom: 0;
  }
  /*FooterContacts.scss End*/
  /*FooterLinks.scss Start*/
  .footer-links-container {
    margin-right: 20px;
    margin-bottom: 19px;
    column-gap: 40px;
    row-gap: 12px;
  }
  .footer-links-container-item .link {
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-montserrat);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
  }
  .footer-links-container-item:hover .link {
    text-decoration: underline;
  }
  /*FooterLinks.scss End*/
  /*FooterLogos.scss Start*/
  .footer-logos {
    gap: 37px;
    margin-bottom: unset;
  }
  .footer-logos :nth-child(1) img {
    width: 5.5625rem;
  }
  .footer-logos :nth-child(2) img {
    width: 5.4375rem;
  }
  .footer-logos :nth-child(3) img {
    width: 10.125rem;
  }
  /*FooterLogos.scss End*/
  /*FooterUtilLinks.scss Start*/
  .util-links-container {
    display: flex;
    flex-direction: row;
    gap: 47px;
    justify-content: space-between;
    padding-top: 16px;
  }
  .util-links-container__left-content {
    display: flex;
    gap: 24px;
    flex-direction: column;
  }
  .util-links-container__left-content .nav-links {
    gap: 52px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .util-links-container__left-content .nav-links-item-title {
    transition: all 0.3s ease;
  }
  .util-links-container__left-content .nav-links-item:hover .nav-links-item-title {
    text-decoration: underline;
  }
  .util-links-container__left-content .util-links {
    margin-bottom: 0px;
  }
  .util-links-container__left-content .util-links-item-title {
    transition: all 0.3s ease;
  }
  .util-links-container__left-content .util-links-item:hover .util-links-item-title {
    text-decoration: underline;
  }
  /*FooterUtilLinks.scss End*/
}
@media screen and (min-width: 1600px) {
  /*Footer Start*/
  .footer-header {
    display: grid;
    grid-template-columns: auto 60% auto;
    column-gap: unset;
    row-gap: unset;
    padding-bottom: 32px;
  }
  .footer-header-logo {
    width: 220px;
  }
  .footer-header .util-links-container {
    padding-top: 8px;
  }
  .footer-header-socials {
    padding-top: 2px;
    z-index: 2;
    height: fit-content;
  }
  /*Footer End*/
}
