:root {
  --contacts-black: #000000;
  --contacts-text: #303030;
  --contacts-muted: #424242;
  --contacts-light: #c2c2c2;
  --contacts-border: #dfdfdf;
  --contacts-blue: #2395ff;
  --contacts-brand: #1634f0;
  --contacts-telegram: #25baf4;
  --contacts-mail: #f44336;
  --contacts-max: #5533ee;
  --contacts-surface: #ffffff;
  --contacts-card: #fafafa;
  --contacts-brand-soft: rgba(22, 52, 240, 0.05);
  --contacts-font: "Helvetica Neue", Arial, sans-serif;
}


.contacts-page {
  min-height: 100vh;
  padding: 40px 20px;
}

.contacts-info {
  display: flex;
  width: min(100%, 849px);
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.contacts-info__title {
  height: 16px;
  margin: 0;
  color: var(--contacts-black);
  font-size: 20px;
  font-weight: 550;
  line-height: 1.1;
}

.contact-pill:focus-visible,
.accounting-mail a:focus-visible,
.copy-button:focus-visible {
  outline: 2px solid var(--contacts-brand);
  outline-offset: 3px;
}

.df-about__brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.df-about__logo,
.df-about__photo {
  display: block;
  max-width: none;
  height: auto;
}

.df-about__photos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.df-about__photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.contacts-info__lead {
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.3;
}

.support-hours {
  display: flex;
  width: fit-content;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.support-hours__title,
.contacts-block__title {
  margin: 0;
  color: var(--contacts-text);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.support-hours__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--contacts-black);
  font-size: 16px;
  font-weight: 550;
  line-height: normal;
}

.contacts-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.contacts-icon--time {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  color: #ff1c72;
}

.contacts-icon svg {
  width: 100%;
  height: 100%;
}

.contacts-icon circle,
.contacts-icon rect,
.contacts-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-icon--max {
  border-radius: 50%;
  color: #fff;
/*   background: linear-gradient(233deg, #9933dd 12%, #5533ee 56%, #44ccff 79%); */
  font-size: 14px;
  font-weight: 700;
}

.contacts-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

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

.contacts-block:first-child {
  width: 230px;
  flex: 0 0 230px;
}

.contacts-block:last-child {
  flex: 1;
}

.contacts-block__title {
  color: var(--contacts-black);
  font-weight: 550;
  line-height: 1.3;
}

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

.contact-pill {
  display: flex;
  max-width: 239px;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--pill-color, var(--contacts-border));
  border-radius: 999px;
  color: var(--contacts-black);
  background: var(--contacts-surface);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.contact-pill--phone {
  --pill-color: var(--contacts-blue);
  color: var(--contacts-blue);
}

.contact-pill--telegram {
  --pill-color: var(--contacts-telegram);
  color: var(--contacts-telegram);
}

.contact-pill--max {
  --pill-color: var(--contacts-max);
  color: var(--contacts-max);
  order: 3;
}

.contact-pill--mail {
  --pill-color: var(--contacts-mail);
}

.contact-pill--disabled {
  color: var(--contacts-light);
  --pill-color: var(--contacts-light);
  order: 4;
}

.contact-pill__main {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.contact-pill__arrow {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: var(--pill-color, currentColor);
}

.contact-pill__arrow::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.accounting-mail {
  display: flex;
  width: fit-content;
  gap: 12px;
  padding: 20px;
  border: 1px dashed var(--contacts-brand);
  border-radius: 8px;
  background: var(--contacts-brand-soft);
}

.accounting-mail__icon {
  width: 28px;
  height: 22px;
  flex-basis: 28px;
  color: var(--contacts-brand);
}

.accounting-mail__content {
  display: flex;
  width: 159px;
  flex-direction: column;
  gap: 3px;
}

.accounting-mail h3,
.accounting-mail a {
  margin: 0;
  line-height: 1.1;
}

.accounting-mail h3 {
  font-size: 13px;
  font-weight: 400;
}

.accounting-mail a {
  color: var(--contacts-brand);
  font-size: 16px;
  font-weight: 550;
  text-decoration: none;
}

.bank-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 61px 20px;
  border: 1px solid var(--contacts-border);
  border-radius: 12px;
  background: var(--contacts-card);
}

.bank-details__title {
  margin: 0;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.3;
}

.bank-details__grid {
  display: flex;
  gap: 12px;
  margin: 0;
}

.bank-details__column {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bank-details__row {
  display: flex;
  gap: 8px;
}

.bank-details dt {
  width: 160px;
  flex: 0 0 160px;
  color: var(--contacts-muted);
  font-size: 14px;
  font-weight: 300;
}

.bank-details dd {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  color: var(--contacts-black);
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.copy-button {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  color: #636363;
  background: transparent;
  cursor: pointer;
}

.copy-button:hover {
  color: var(--contacts-brand);
}

.copy-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: currentColor;
}

.copy-icon::before,
.copy-icon::after {
  content: "";
  position: absolute;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}

.copy-icon::before {
  top: 1px;
  left: 4px;
  width: 8px;
  height: 10px;
}

.copy-icon::after {
  top: 4px;
  left: 2px;
  width: 8px;
  height: 9px;
  background: var(--contacts-card);
}

.copy-button.is-copied {
  color: var(--contacts-brand);
}

.copy-button.is-copied .copy-icon::before {
  display: none;
}

.copy-button.is-copied .copy-icon::after {
  top: 1px;
  left: 3px;
  width: 7px;
  height: 11px;
  border-top: 0;
  border-left: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg);
}

@media (max-width: 480px) {
  .contacts-page {
    padding: 24px 20px;
  }

  .contacts-info {
    width: min(100%, 320px);
    gap: 12px;
  }

  .contacts-info__lead {
    font-size: 14px;
  }

  .df-about__brand {
    gap: 8px;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .df-about__logo--word {
    width: 104px;
  }

  .df-about__logo--mark {
    width: 59px;
  }

  .df-about__photos {
    gap: 3px;
    flex: 0 0 auto;
  }

  .df-about__photo {
    width: 28px;
    height: 28px;
  }

  .contacts-grid {
    flex-direction: column;
    gap: 20px;
  }

  .contacts-block,
  .contacts-block:first-child,
  .contacts-block:last-child {
    width: 100%;
    flex: none;
    gap: 12px;
  }

  .contact-pill {
    width: 100%;
    max-width: none;
  }

  .contact-pill--max {
    --pill-color: var(--contacts-max);
    order: 4;
    color: var(--contacts-max);
  }

  .contact-pill--disabled {
    order: 3;
  }

  .accounting-mail {
    width: 100%;
  }

  .bank-details {
    gap: 8px;
    padding: 16px;
  }

  .bank-details__grid,
  .bank-details__column {
    flex-direction: column;
    gap: 12px;
  }

  .bank-details__row {
    flex-direction: column;
    gap: 4px;
  }

  .bank-details dt {
    width: auto;
    flex: none;
  }
}
