footer {
  width: 100%;
  margin-top: 0;
  padding: 100px 0 50px;
  background: linear-gradient(
      179deg,
      rgba(0, 0, 0, 0) 80px,
      #E5F2F2 calc(80px + 1px)
    ),
    linear-gradient(
      181deg,
      rgba(0, 0, 0, 0) 55px,
      #85BABC calc(55px + 1px)
    );

  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}

footer .together {
    width: 100%;
    max-width: 1210px;
    margin-left: 0px;
    float: none;
    position: relative;
    display: flex ;
    flex-direction: row;
    padding: 0px;
}

footer .together>svg g {
    transform: scale(1.9) translateY(7%); margin-top: 0px;
}

.together svg path {
    fill: #D9D9D9;
    stroke: #808080;
    transition: fill 0.3s, stroke 0.3s;
    cursor: pointer;
}

.together svg path:hover {
    fill: #0B7578;
    stroke: #0B9498;
}

@keyframes geo {
    0%, 100% { opacity: 0; transform: translateY(0); }
    25% { opacity: 1; }
    50% { transform: translateY(-5px); }
    75% { opacity: 0; }
}

.footer-map-marker {
    animation: geo 5s infinite linear both;
    animation-delay: var(--delay);
}

footer .together svg .footer-map-marker {
    fill: #0B7578;
    stroke: #808080;
}

.region-tooltip{
  position: fixed;
  display: none;
  max-width: 520px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  padding: 16px 18px;
  z-index: 2147483647;
  pointer-events: none;
}
.region-tooltip .rt-title{
  font-weight: 600;
  color: #0B7578;
  margin: 0 0 10px 0;
  font-size: 16px;
}
.region-tooltip .rt-list{
  margin: 0; padding: 0; list-style: none;
  column-count: 2; column-gap: 32px;
}
.region-tooltip .rt-list li{
  margin: 2px 0; color: #333; font-size: 15px; line-height: 1.35;
}

.region_popup {
    display: none;
}

@media (hover: hover) {
  .together svg [data-title]:hover {
    fill: #0B7578;
    stroke: #0B9498;
  }
}

.together svg [data-title].is-active {
  fill: #0B7578;
  stroke: #0B9498;
}

footer .footer-info {
    text-align: left;
    margin-top: 0px;
    width: 38%;
    float: none;
    padding-right: 0px;
    padding-left: 100px;
}

footer .footer-info a {
    color: #B35A12;
	font-weight: 600;
}

.subscribe {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 17px 17px 17px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    position: relative;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
}

.subscribe-icon {
    position: absolute;
    top: -25px;
}

.subscribe-icon img {
    width: 160px;
    height: auto;
}

.subscribe-title {
    font-size: 19px;
    font-weight: 600;
    color: #222;
    text-align: center;
    line-height: 2;
    margin-top: 77px;
}

.subscribe-form {
    margin-top: 0px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.subscribe-form input[type="email"] {
    padding: 9px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.subscribe-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    flex: 1;
    min-width: 200px;
}

.subscribe-form input:invalid {
    box-shadow: none;
}

footer .footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 20px;
    gap: 10px;
    font-weight: 500;
}

footer .footer-contact a {
    padding-left: 0;
}

footer .footer-contact>div {
    text-align: center;
    margin-right: 0px;
}

footer .footer-contact>div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-info .footer-phone {
    display: block;
    width: 100%;
    margin: 0;
    color: #B35A12;
    font-weight: 500;
    font-size: 21px;
}

footer .footer-info .footer-phone:hover {
  color: #0B7578;
}

footer .footer-info .footer-email {
    display: block;
    width: 100%;
    margin: 0;
    color: #B35A12;
    font-weight: 500;
    font-size: 20px;
}

footer .footer-info .footer-email:hover {
  color: #0B7578;
}

.title-foot-small {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

footer .footer-info .payment-block {
    justify-content: center;
}

.payment-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #D6D6D6;
}

.payment-block img,
.payment-block svg {
  height: 22px;
  width: auto;
  display: block;
}

.bottom-footer {
  background: #dcdcdc;
  padding: 0px 0;
  font-size: 14px;
  color: #333;
}

.bottom-footer .under-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bottom-footer a {
  color: #0B7578;
  text-decoration: underline;
  font-size: 14px;
}

.bottom-footer .copy {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #333;
}

.footer-email-button {
  margin-top: 5px;
}

.footer-lk {
  display: flex;
  font-size: 16px;
  gap: 6px;
  align-items: center;
  justify-self: center;
  text-align: center;
  margin-top: 30px;
}

.footer-lk img {
  width: 30px;
}

@media (max-width: 1400px) {
  footer > .together {
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }
  
  footer > .together svg {
      margin: 0 auto; max-width: 850px;
  }
  
  footer .footer-info {
      display: grid;
      grid-template-columns: repeat(2, minmax(260px, 1fr));
      gap: 24px 47px;
      width: auto;
      padding-left: 0;
      margin-top: 30px;
      text-align: left;
  }
  
  .subscribe { 
      margin-bottom: 10px;
  }
  
  footer .footer-contact {
      align-items: flex-start;
      text-align: left;
      margin-top: 0;
      padding-bottom: 0;
      justify-content: center;
      align-items: center;
  }
  
  .payment-block {
      grid-column: 1 / -1;
      margin-top: 20px;
      padding-top: 20px;
      justify-content: center;
      align-items: center;
      gap: 40px;
  }
  
  .bottom-footer .under-footer {
    flex-direction: column;
    gap: 0px;
  }
  
  .bottom-footer .copy {
      max-width: 1210px;
  }
  
  .bottom-footer .pol-pry {
      margin-top: 15px;
  }
}

@media only screen and (max-width: 1210px) {
  footer .footer-info {
      width: auto;
  }
  
  .header-lk {
    display: none;
  }

}

@media (max-width: 1200px) {
  footer > .together {
      flex-direction: column;
  }
}

@media (max-width: 1030px) {
  footer .together {
      padding-left: 20px;
      padding-right: 20px;
  }
}

@media only screen and (max-width: 992px) {
  footer {
      background: linear-gradient(178deg, rgba(0, 0, 0, 0) 80px, #F0F0F0 calc(80px + 1px)), linear-gradient(181deg, rgba(0, 0, 0, 0) 62px, #0B7578 calc(62px + 1px));
  }

  .bottom-footer .under-footer {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px 24px;
      flex-wrap: wrap;
      width: 100%;
      text-align: center;
    }
    
  .bottom-footer .pol-pry,
  .bottom-footer .copy {
      flex: 0 0 auto;
      width: auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
  .bottom-footer .pol-pry a,
  .bottom-footer .copy p {
      margin: 0;
      line-height: 1.35;
      display: inline-block;
      text-align: center;
    }

  .bottom-footer .copy {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 768px) {
  footer {
      padding: 75px 0 20px 0;
  }
  
  footer .footer-contact {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      flex-wrap: wrap;
  }
  
  footer .footer-contact > div {
      margin-right: 0;
  }
  
  footer .footer-info .payment-block {
      margin-bottom: 0;
  }
  
  footer > .together {
      margin: 0;
      width: 100%;
      padding: 25px;
  }
  
  footer .footer-info {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .payment-block {
      grid-column: 1;
      justify-content: center;
  }
  
  footer .footer-info .footer-phone {
    font-size: 19px;
  }
  
  footer .footer-info .footer-email {
    font-size: 19px;
  }
}

@media only screen and (max-width: 600px) {
  footer {
      background: linear-gradient(173deg, rgba(0, 0, 0, 0) 68px, #F0F0F0 calc(68px + 1px)), linear-gradient(186deg, rgba(0, 0, 0, 0) 57px, #85BABC calc(57px + 1px));
  }
  
  footer .footer-info, footer .together {
      width: 100%;
      padding-top: 10px;
      text-align: center;
  }
}

