.footer {
  background-color: var(--grey-1);
  color: var(--white);
}

.footer a {
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  line-height: 175%;
}

@media (max-width: 1024px) {
  .footer a {
    font-size: 16px;
    line-height: 150%;
  }
}

.footer ul li a:hover,
.footer ul li a:focus-visible {
  font-weight: 400;
}

.footer__container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer__wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
  padding: 40px 40px 0;
}

@media (max-width: 1024px) {
  .footer__wrap {
    gap: 4px;
    grid-template-columns: 1fr;
    padding: 56px 18px 0;
  }
}

.footer__column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

@media (max-width: 1024px) {
  .footer__column {
    gap: 4px;
  }
}

.footer__contact {
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .footer__contact {
    display: none;
  }
}

.footer__title {
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .footer__title {
    font-size: 16px;
  }
}

.footer__address {
  font-size: 18px;
  font-weight: 300;
  line-height: 175%;
  max-width: 170px;
}

.footer__links,
.footer__list,
.footer__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links--mobile {
  display: none;
  padding: 0 18px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .footer__links--mobile {
    display: flex;
    justify-content: center;
  }

  .footer__links--mobile .footer__links {
    display: flex;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .footer__links--mobile .footer__links {
    justify-content: space-between;
  }
}

.footer__social-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__social-list li a:hover,
.footer__social-list li a:focus {
  color: var(--secondary);
}

.footer__social-list li a:hover span::after,
.footer__social-list li a:focus span::after {
  transform: scaleX(1);
}

.footer__social-list li a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer__social-list li a svg {
  width: 22px;
  height: 22px;
}

.footer__social-list li a span {
  position: relative;
}

.footer__social-list li a span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .footer__social-list li a span {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .footer__social-list {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .footer__social-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.footer__search {
  margin-top: 1rem;
}

.footer__search input {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 1024px) {
  .footer__social {
    padding: 12px 0;
    gap: 12px;
  }
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  max-width: 180px;
}

.footer__logos img {
  max-width: 137px;
  width: 100%;
  height: auto;
}

.footer__logos img:nth-child(2),
.footer__logos img:nth-child(3) {
  max-width: 77px;
}

@media (max-width: 1024px) {
  .footer__logos {
    margin-top: 12px;
    max-width: none;
    gap: 42px;
    justify-content: center;
  }

  .footer__logos img {
    max-width: 110px;
    width: 100%;
    height: auto;
  }

  .footer__logos img:nth-child(2),
  .footer__logos img:nth-child(3) {
    max-width: 47px;
  }
}

@media (max-width: 480px) {
  .footer__logos {
    justify-content: flex-start;
  }
}

.footer__bottom {
  width: 100%;
  font-size: 18px;
  font-weight: 300;
  display: flex;
  justify-content: flex-end;
  padding: 20px 40px 40px;
}

@media (max-width: 1024px) {
  .footer__bottom {
    padding: 24px 18px;
    justify-content: center;
  }
}

.footer__accordion-title {
  position: relative;
  font-size: 18px !important;
  font-weight: bold !important;
  margin-bottom: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  color: var(--white) !important;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .footer__accordion-title {
    display: flex;
    width: 100%;
  }
}

.footer__accordion-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 9px;
  pointer-events: none;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg width="16" height="9" viewBox="0 0 16 9" xmlns="http://www.w3.org/2000/svg"><path d="M15.1182 1.49315L8.24321 8.36815C8.21129 8.40011 8.17338 8.42547 8.13164 8.44277C8.08991 8.46006 8.04518 8.46897 8.00001 8.46897C7.95483 8.46897 7.9101 8.46006 7.86837 8.44277C7.82664 8.42547 7.78873 8.40011 7.7568 8.36815L0.881805 1.49315C0.849867 1.46121 0.824532 1.4233 0.807248 1.38157C0.789963 1.33984 0.781067 1.29511 0.781067 1.24995C0.781067 1.20478 0.789963 1.16006 0.807248 1.11833C0.824532 1.0766 0.849867 1.03868 0.881805 1.00674C0.946306 0.942243 1.03379 0.906006 1.12501 0.906006C1.17018 0.906006 1.2149 0.914903 1.25663 0.932187C1.29836 0.949472 1.33627 0.974806 1.36821 1.00674L8.00001 7.63854L14.6318 1.00674C14.6637 0.974806 14.7017 0.949472 14.7434 0.932187C14.7851 0.914903 14.8298 0.906006 14.875 0.906006C14.9202 0.906006 14.9649 0.914903 15.0066 0.932187C15.0484 0.949472 15.0863 0.974806 15.1182 1.00674C15.1501 1.03868 15.1755 1.0766 15.1928 1.11833C15.2101 1.16006 15.219 1.20478 15.219 1.24995C15.219 1.29511 15.2101 1.33984 15.1928 1.38157C15.1755 1.4233 15.1501 1.46121 15.1182 1.49315Z" fill="currentColor"/></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg width="16" height="9" viewBox="0 0 16 9" xmlns="http://www.w3.org/2000/svg"><path d="M15.1182 1.49315L8.24321 8.36815C8.21129 8.40011 8.17338 8.42547 8.13164 8.44277C8.08991 8.46006 8.04518 8.46897 8.00001 8.46897C7.95483 8.46897 7.9101 8.46006 7.86837 8.44277C7.82664 8.42547 7.78873 8.40011 7.7568 8.36815L0.881805 1.49315C0.849867 1.46121 0.824532 1.4233 0.807248 1.38157C0.789963 1.33984 0.781067 1.29511 0.781067 1.24995C0.781067 1.20478 0.789963 1.16006 0.807248 1.11833C0.824532 1.0766 0.849867 1.03868 0.881805 1.00674C0.946306 0.942243 1.03379 0.906006 1.12501 0.906006C1.17018 0.906006 1.2149 0.914903 1.25663 0.932187C1.29836 0.949472 1.33627 0.974806 1.36821 1.00674L8.00001 7.63854L14.6318 1.00674C14.6637 0.974806 14.7017 0.949472 14.7434 0.932187C14.7851 0.914903 14.8298 0.906006 14.875 0.906006C14.9202 0.906006 14.9649 0.914903 15.0066 0.932187C15.0484 0.949472 15.0863 0.974806 15.1182 1.00674C15.1501 1.03868 15.1755 1.0766 15.1928 1.11833C15.2101 1.16006 15.219 1.20478 15.219 1.24995C15.219 1.29511 15.2101 1.33984 15.1928 1.38157C15.1755 1.4233 15.1501 1.46121 15.1182 1.49315Z" fill="currentColor"/></svg>');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-color: var(--white);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (min-width: 1025px) {
  .footer__accordion-title::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer__accordion-title {
    width: 100%;
    font-size: 16px;
    line-height: 135%;
    font-weight: 700;
  }
}

.footer__accordion .footer__list {
  display: none;
}

@media (min-width: 1025px) {
  .footer__accordion .footer__list {
    display: block;
  }
}

.footer__accordion.open .footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}

.footer__accordion.open .footer__accordion-title::after {
  transform: rotate(180deg);
}

.footer__search-form {
  max-width: 184px;
  width: 100%;
  flex-shrink: 0;
}

.footer__search-form-close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  display: none;
}

.footer__search-form-input {
  position: relative;
  width: 100%;
}

.footer__search-form-input input {
  width: 100%;
  height: 34px;
  padding-left: 40px;
  background-color: var(--grey-3);
  font-size: 13px;
  line-height: 20px;
  font-weight: 300;
}

.footer__search-form-input input:focus {
  border: 1px solid var(--black);
}

.footer__search-form-input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M19.2655%2018.7347L14.3249%2013.794C15.7096%2012.2708%2016.4437%2010.2664%2016.3702%208.20912C16.2967%206.15187%2015.4215%204.20494%2013.9316%202.78437C12.4418%201.3638%2010.4554%200.58226%208.39699%200.60676C6.33856%200.63126%204.37135%201.45985%202.91573%202.91548C1.4601%204.37111%200.631504%206.33832%200.607004%208.39674C0.582504%2010.4552%201.36404%2012.4415%202.78461%2013.9314C4.20518%2015.4213%206.15211%2016.2964%208.20937%2016.3699C10.2666%2016.4434%2012.271%2015.7094%2013.7943%2014.3247L18.7349%2019.2653C18.8053%2019.3357%2018.9007%2019.3752%2019.0002%2019.3752C19.0997%2019.3752%2019.1952%2019.3357%2019.2655%2019.2653C19.3359%2019.1949%2019.3754%2019.0995%2019.3754%2019C19.3754%2018.9005%2019.3359%2018.805%2019.2655%2018.7347ZM1.37522%208.49998C1.37522%207.09079%201.7931%205.71324%202.576%204.54154C3.35891%203.36984%204.47168%202.45661%205.77361%201.91734C7.07553%201.37806%208.50813%201.23697%209.89024%201.51189C11.2724%201.78681%2012.5419%202.4654%2013.5384%203.46184C14.5348%204.45829%2015.2134%205.72785%2015.4883%207.10996C15.7632%208.49208%2015.6221%209.92468%2015.0829%2011.2266C14.5436%2012.5285%2013.6304%2013.6413%2012.4587%2014.4242C11.287%2015.2071%209.90942%2015.625%208.50023%2015.625C6.61117%2015.623%204.80005%2014.8717%203.46428%2013.5359C2.12852%2012.2002%201.37721%2010.389%201.37522%208.49998Z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 10;
}

.footer__search-form--mobile {
  display: none;
  max-width: none;
  padding: 24px 18px;
}

@media (max-width: 1024px) {
  .footer__search-form--mobile {
    display: block;
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .footer__search-form--mobile {
    display: block;
    max-width: none;
    margin: 0 auto;
  }
}

.footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer__accordion-title:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer__search-form-input input:focus-visible {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.footer__search-form-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer__social-list li a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer__links--mobile .footer__links li a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

