@import url(variables.css);
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

html {
  height: 100%;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  height: 100%;
  color: var(--text-primary);
  background-color: var(--white);
  font-weight: 400;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  box-sizing: border-box;
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.loading {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999;
}

.main {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.main__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 763px;
  margin: 0 auto;
}

.main__heading {
  display: flex;
  flex-direction: column;
  gap: 0px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  line-height: 2rem;
  color: var(--text-secondary);
  margin: 0px 0.5px;
}

.main__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex: 1;
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 0 0 2px #e36a00;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96.2deg,
      rgba(255, 232, 142, 0) 0.36%,
      #e36a00 99.64%);
  opacity: 0;
  border-radius: 8px;
}

.contact-card:hover::before {
  opacity: 0.6;
}

.contact-card__content {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.contact-card__icon {
  width: 20px;
  height: 20px;
  color: var(--white);
  padding: 8px;
  border-radius: 100%;
  background-color: var(--bg-secondary);
}

.contact-card__img-map-mobile {
  position: absolute;
  top: 0;
  right: 0;
}

.contact-card__content img {
  user-select: none;
  pointer-events: none;
}

.contact-card__img-mobile {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  user-select: none;
  pointer-events: none;
}

.contact-card__protect {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.contact-card__label {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.25rem;
}

.protect {
  margin: 0 !important;
}

.contact-card__badge {
  font-weight: 400;
  font-size: 11px;
  background-color: #FF0000;
  color: #F7F4F2;
  padding: 2px 8px;
  border-radius: 100px;
}

.contact-card__value {
  margin-top: 2px;
  color: #7e8d9d;
  font-size: 16px;
  line-height: 1.25rem;
}

.main__info {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 10px 10px 115px;
  border-radius: 8px;
  background-color: var(--bg-secondary);
  position: relative;
}

.support {
  border-radius: 8px;
  position: relative;
  width: 100%;
  height: 100%;
}

.support__content {
  width: 141px;
  gap: 16px;
  display: flex;
  flex-direction: column;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}


.support__title {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #F7F4F2;

}

.support__btn {
  display: flex;
  align-items: center;

  gap: 4px;
  border: 1px solid #F7F4F2;
  padding: 8px 12px;
}

.support__btn span {
  display: flex;
  align-items: center;
}

.support__btn--title {
  color: #F7F4F2;
  font-size: 14px;
  font-weight: 500;

}



.support img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.5);
}

.location-img-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 8px;
  mix-blend-mode: soft-light;
  user-select: none;
  pointer-events: none;
}

.main__info-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 2.5rem;
  color: var(--white);
}

.main__info-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 1;
}

.location__item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--white);
}

.location__label {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5625rem;
  font-weight: 600;
}

.location__value {
  color: var(--white);
  font-size: 14px;
  line-height: 1.375rem;
  font-weight: 400;
  max-width: 292px;
}

.location__map-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  border: 1px solid var(--bg-primary);
  color: var(--bg-primary);
  padding: 11px;
  min-width: 78px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.25rem;
  background: transparent;
  gap: 4px;
}

.location__map-btn svg {
  display: none;
}

.location__contacts {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location__contacts .location__label {
  font-weight: 400;
  color: var(--bg-primary);
  font-size: 14px;
  line-height: 1.375rem;
}

.worktime {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.worktime__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.worktime__label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5rem;
  color: var(--white);
}

.worktime__value-wrapper {
  display: flex;
  align-items: center;
  gap: 44px;
}

.worktime__value-block {
  display: inline-flex;
  gap: 8px;
  align-items: stretch;
}

.worktime__value-line {
  background-color: #ffc251;
  width: 2px;
  min-height: 44px;
  height: 100%;
}

.worktime__value-details {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.worktime__value-label,
.worktime__value {
  color: var(--bg-primary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.375rem;
}

.worktime__value {
  font-weight: 400;
}

.time-receive-wrapper {
  gap: 24px;
}

.location__address {
  flex-direction: column;
  align-items: flex-start;
}

.location-img-desktop,
.contact-card__img-map-desktop,
.contact-card__img-desktop {
  display: none;
  height: 100%;
  user-select: none;
  object-fit: cover;
  pointer-events: none;
}

.worktime__desc {
  display: block;
  font-size: 12px;
  color: var(--white);
  line-height: 0.9375rem;
}

.worktime__heading {
  padding-top: 4px;
  padding-bottom: 4px;
}

.block-qr {
  width: 100%;
  display: flex;
  justify-content: center;
}

#qrcode {
  margin: 40px auto;
  width: 200px;
  height: 200px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .main__info-content {
    flex-direction: row;
  }

  .worktime__desc {
    display: block;
  }

  .worktime {
    gap: 20px;
  }

  .block-qr {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #qrcode {
    margin: 40px auto;
    width: 200px;
    height: 200px;
  }

  .support {
    border-radius: 8px;
    position: relative;
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .main {
    padding-top: 68px;
    padding-bottom: 68px;
    gap: 68px;
  }

  .main-title {
    gap: 12px;
  }

  .main__heading {
    gap: 12px;
    font-size: 32px;
    line-height: 2.4375rem;
  }

  .main__subtitle {
    font-size: 32px;
    max-width: 100%;
    line-height: 2.4375rem;
  }

  .location__contacts {
    margin-top: 24px;
  }

  .block-qr {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #qrcode {
    margin: 40px auto;
    width: 200px;
    height: 200px;
  }

  .main__contacts {
    flex-direction: row;
    gap: 20px;
  }

  .contact-card {
    padding: 20px 30px;
  }

  .contact-card__icon {
    width: 24px;
    height: 24px;
  }

  .location__address .location__value {
    line-height: 1.0625rem;
  }

  .location__map-btn {
    padding: 7px 11px;
    min-width: 90px;
  }

  .main__info {
    padding: 58.5px 68px;
    max-height: 280px;
    gap: 0px;
  }

  .support {
    border-radius: 8px;
    position: relative;
    width: 280px;
    height: 280px;
  }

  .support img {
    border-radius: 8px;
    height: 100%;
    width: 280px;
    max-height: 280px;
    object-fit: cover;
    filter: brightness(0.5);
  }

  .main__info-title {
    z-index: 1;
    margin-top: 20px;
  }

  .location-img-mobile {
    display: none;
  }

  .main__info-content {
    min-height: 333px;
    z-index: 1;
    flex-direction: row;
    gap: 36px;
  }

  .location {
    margin-top: 29px;
    margin-left: 46px;
  }

  .worktime {
    margin-top: 29px;
    margin-bottom: 28px;
    gap: 20px;
  }

  .location__label {
    font-size: 20px;
    line-height: 1.375rem;
    font-weight: 600;
  }

  .worktime__label {
    font-size: 20px;
    line-height: 1.5rem;
  }

  .location-img-desktop {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
    mix-blend-mode: soft-light;
  }

  .contact-card__label {
    font-size: 16px;
    line-height: 1.5rem;
    margin-top: 12px;
  }

  .contact-card__value {
    margin-top: 3px;
    font-size: 20px;
    line-height: 1.375rem;
  }

  .contact-card__img-map-mobile,
  .contact-card__img-mobile {
    display: none;
    pointer-events: none;
  }

  .contact-card__img-map-desktop,
  .contact-card__img-desktop {
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
  }

  .contact-card__contact-desktop {
    top: auto;
    bottom: 0;
  }

  .location {
    width: 414px;
  }

  .worktime__value-wrapper {
    gap: 24px;
  }

  .worktime__desc {
    display: block;
  }

  .worktime__heading {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .location__map-btn svg {
    display: block;
  }
}