/* Call tracking rewrites the link's textContent, so the icon must live in a pseudo-element */
.header__btn_call::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: #f4f5f9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.41112 -0.000150635C2.07615 0.000197239 1.74488 0.0708263 1.43847 0.205904C1.13204 0.341012 0.856708 0.538075 0.630852 0.785006C0.405037 1.03194 0.232891 1.32365 0.125969 1.64047C0.0191515 1.95723 -0.0203821 2.29297 0.0097578 2.62583C0.40587 6.34833 1.67549 9.92544 3.71484 13.0672C5.56754 15.977 8.0395 18.4438 10.9551 20.2928C14.0889 22.3211 17.6559 23.5874 21.3691 23.9901C21.7038 24.0202 22.0411 23.9803 22.3594 23.8729C22.6777 23.7654 22.9702 23.5928 23.2178 23.3661C23.4652 23.1394 23.6623 22.8636 23.7969 22.5565C23.9315 22.2492 24.0004 21.9172 23.999 21.5819V17.9686C24.0137 17.378 23.8103 16.8031 23.4277 16.3524C23.045 15.9016 22.51 15.6068 21.9238 15.5243C20.7653 15.3718 19.628 15.0882 18.5332 14.6805C18.1013 14.5185 17.6319 14.4839 17.1807 14.5799C16.7296 14.6759 16.3153 14.8989 15.9873 15.2225L14.4541 16.7528C11.433 15.0384 8.93168 12.5413 7.21386 9.52622L8.74706 7.99692C9.07138 7.66951 9.2944 7.25578 9.39062 6.80551C9.48681 6.35525 9.4523 5.88686 9.29003 5.4559C8.88156 4.36341 8.59812 3.22818 8.4453 2.07211C8.36335 1.49343 8.07285 0.963961 7.6289 0.582857C7.18486 0.201744 6.61687 -0.00590302 6.03124 -0.000150635H2.41112Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.41112 -0.000150635C2.07615 0.000197239 1.74488 0.0708263 1.43847 0.205904C1.13204 0.341012 0.856708 0.538075 0.630852 0.785006C0.405037 1.03194 0.232891 1.32365 0.125969 1.64047C0.0191515 1.95723 -0.0203821 2.29297 0.0097578 2.62583C0.40587 6.34833 1.67549 9.92544 3.71484 13.0672C5.56754 15.977 8.0395 18.4438 10.9551 20.2928C14.0889 22.3211 17.6559 23.5874 21.3691 23.9901C21.7038 24.0202 22.0411 23.9803 22.3594 23.8729C22.6777 23.7654 22.9702 23.5928 23.2178 23.3661C23.4652 23.1394 23.6623 22.8636 23.7969 22.5565C23.9315 22.2492 24.0004 21.9172 23.999 21.5819V17.9686C24.0137 17.378 23.8103 16.8031 23.4277 16.3524C23.045 15.9016 22.51 15.6068 21.9238 15.5243C20.7653 15.3718 19.628 15.0882 18.5332 14.6805C18.1013 14.5185 17.6319 14.4839 17.1807 14.5799C16.7296 14.6759 16.3153 14.8989 15.9873 15.2225L14.4541 16.7528C11.433 15.0384 8.93168 12.5413 7.21386 9.52622L8.74706 7.99692C9.07138 7.66951 9.2944 7.25578 9.39062 6.80551C9.48681 6.35525 9.4523 5.88686 9.29003 5.4559C8.88156 4.36341 8.59812 3.22818 8.4453 2.07211C8.36335 1.49343 8.07285 0.963961 7.6289 0.582857C7.18486 0.201744 6.61687 -0.00590302 6.03124 -0.000150635H2.41112Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header__btn_call:hover::before {
  animation: shake 0.5s 1 forwards;
}

/* On screens up to 1024px, hide the feedback scroll button, show the call button, and scale down header fonts to fit */
@media (max-width: 1024px) {
  .header {
    font-size: 14px;
    letter-spacing: -0.6px;
  }

  .header .content {
    padding: 0 24px;
  }

  .header__right {
    gap: 12px;
  }

  .header__open_popup {
    display: none;
  }

  .header__btn_call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    letter-spacing: -0.6px;
    white-space: nowrap;
  }

  .header__btn_call::before {
    width: 18px;
    height: 18px;
  }

  .header .header__projects.brend_btn span {
    font-size: 14px;
    letter-spacing: -0.6px;
  }

  .header__burger_menu div:first-child {
    font-size: 14px;
    letter-spacing: -0.6px;
  }
}

/* On mobile (max-width: 768px), style the call button as an icon button */
@media (max-width: 768px) {
  .header__btn_call {
    position: relative;
    width: 76px;
    height: 68px;
    padding: 0;
    gap: 0;
    background-image: url("../images/border.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
  }

  .header__btn_call::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .header__btn_call {
    width: 46px;
    height: 40px;
  }

  .header__btn_call::before {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 360px) {
  .header .content {
    padding: 0 10px;
  }

  .header__right {
    gap: 6px;
  }

  .lang_wrapper {
    font-size: 13px;
    gap: 4px;
  }
}

/* Call tracking drops the inner span, so the link carries the span's styles */
.footer__contacts_item a.iptel-calltracking-number {
  position: relative;
  align-self: flex-start;
  font-size: 40px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -2.4px;
  color: #68d23f;
}

.footer__contacts_item a.iptel-calltracking-number::after {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: 0.25s ease-in-out;
}

@media (min-width: 1024px) {
  .footer__contacts_item a.iptel-calltracking-number:hover::after {
    transform: scaleX(1);
  }
}

@media (max-width: 1300px) {
  .footer__contacts_item a.iptel-calltracking-number {
    font-size: 32px;
    letter-spacing: -1.92px;
  }
}

/* Call tracking rewrites the link's textContent, so the widget icon must live in a pseudo-element */
.social-btn--tel {
  position: relative;
  overflow: hidden;
  font-size: 0;
  color: transparent;
}

.social-btn--tel::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px;
  height: 30px;
  background-color: #f9f2eb;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3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 36 36'%3E%3Cpath d='M24.4 34c.8.3 1.7.5 2.6.5.5 0 .9-.1 1.4-.4.2-.1.4-.2.5-.4l1.1-1.2c.2-.2.3-.4.3-.6.1-.2.1-.4.1-.7 0-.2-.1-.4-.2-.6-.1-.2-.3-.3-.5-.4l-4-2c-.3-.1-.6-.2-.9-.1-.3.1-.6.2-.8.5l-.8.8c-.1.1-.1.1-.2.1s-.2 0-.2-.1L21 27.9c-.6-.5-1.1-1.1-1.6-1.7-.1-.1-.1-.1-.1-.2s0-.2.1-.2l.6-.8c.2-.2.4-.5.4-.9 0-.3 0-.6-.2-.9l-2.4-3.8c-.1-.2-.3-.3-.5-.5-.2-.1-.4-.2-.6-.2-.2 0-.5 0-.7.1-.2.1-.4.2-.6.4l-1.1 1.2c-.9.9-.9 2.5 0 4.4.8 1.8 2.3 3.7 4.2 5.4 2 1.8 4 3.2 5.9 3.8zM33 24h-1c0-1.1-.2-2.1-.6-3.1-.4-1-1-1.8-1.7-2.6-.7-.7-1.6-1.3-2.6-1.7-1-.4-2-.6-3.1-.6v-1c1.2 0 2.3.2 3.4.7 1.1.5 2.1 1.1 2.9 2 .8.8 1.5 1.8 2 2.9.5 1.1.7 2.2.7 3.4z'/%3E%3Cpath d='M30 24h-1c0-.7-.1-1.3-.4-1.9-.3-.6-.6-1.2-1.1-1.6s-1-.8-1.6-1.1c-.6-.3-1.2-.4-1.9-.4v-1c.8 0 1.6.2 2.3.5.7.3 1.4.7 1.9 1.3.6.6 1 1.2 1.3 1.9.3.7.5 1.5.5 2.3zm-3 0h-1c0-.3-.1-.5-.2-.8-.1-.2-.2-.5-.4-.6-.2-.2-.4-.3-.6-.4-.3-.1-.5-.2-.8-.2v-1c.4 0 .8.1 1.1.2.4.2.7.4 1 .7.3.3.5.6.7 1 .1.3.2.7.2 1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.4s;
}

.social-btn--tel:hover::before {
  transform: rotate(360deg);
}

@media screen and (min-width: 768px) {
  .social-btn--tel::before {
    width: 50px;
    height: 50px;
  }
}

[href*="zohobookings.com"],
[onclick*="zohobookings.com"],
.flat_info__buttons,
.flat_info__buttons_bottom {
  display: none !important;
}
