@charset "UTF-8";
.footer_2_main_footer {
  display: flex;
  background-color: #4d0d1d;
  color: #fff;
  padding: 40px 20px 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer_2_main_footer > div {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.footer_2_footer_first {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-gap: 24px;
}
.footer_2_footer_first section h3 {
  font-size: 24px;
  margin-bottom: 15px;
  padding: 0 0 12px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer_2_footer_first section p {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
}
.footer_2_footer_first section ul {
  list-style: none;
  padding: 0;
}
.footer_2_footer_first section ul li {
  margin-bottom: 10px;
}
.footer_2_footer_first section ul li a {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.footer_2_footer_first section ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.footer_2_footer_first section ul li a:hover {
  color: #ccc;
}
.footer_2_footer_first section ul li a:hover::after {
  transform: scaleX(1);
}
.footer_2_footer_first .phone,
.footer_2_footer_first .email {
  padding: 0 0 0 32px;
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 600;
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 20px;
}
.footer_2_footer_first .phone.phone,
.footer_2_footer_first .email.phone {
  background-image: url(..//img/phone_white_icon.svg);
}
.footer_2_footer_first .phone.email,
.footer_2_footer_first .email.email {
  background-image: url(..//img/email_white_icon.svg);
}
.footer_2_footer_first .phone span,
.footer_2_footer_first .email span {
  color: #fff;
}

.footer_2_footer_last {
  color: #fff;
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.footer_2_footer_last .copyright {
  font-size: 14px;
  margin: 0;
}
.footer_2_footer_last .copyright p {
  margin: 0;
}
.footer_2_footer_last .to_top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #14100c;
  border-radius: 50%;
  line-height: 40px;
  font-size: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.footer_2_footer_last .to_top a:hover {
  background-color: #000;
  color: #fff;
}
.footer_2_footer_last .to_top a:before {
  content: "↑";
  display: block;
  font-size: 24px;
  color: #fff;
  line-height: 1;
  font-weight: bold;
  transform: translateY(-2px);
}

.footer_2_cookie_popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 500px;
  z-index: 1000;
}
.footer_2_cookie_popup .footer_2_cookie_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.footer_2_cookie_popup .footer_2_cookie_content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.footer_2_cookie_popup .footer_2_cookie_content p a {
  color: #ffffff;
  text-decoration: underline;
}
.footer_2_cookie_popup .footer_2_cookie_content p a:hover {
  color: #fff;
}
.footer_2_cookie_popup .footer_2_cookie_content .footer_2_btn_accept {
  background-color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 15px;
}
.footer_2_cookie_popup .footer_2_cookie_content .footer_2_btn_accept:hover {
  background-color: #fff;
  color: #333;
}
.footer_2_cookie_popup.hidden {
  display: none;
}

@media (min-width: 240px) and (max-width: 1023px) {
  .footer_2_footer_first {
    grid-template-columns: 1fr;
  }
  .footer_2_footer_first section h3 {
    font-size: 18px;
  }
  .footer_2_footer_first .phone, .footer_2_footer_first .email {
    font-size: 18px;
  }
}
