.contacts-page {
  color: #29282d;
  letter-spacing: 0;
}

.contacts-page *,
.contacts-page *::before,
.contacts-page *::after {
  box-sizing: border-box;
}

.contacts-page__header {
  max-width: 820px;
  padding: 34px 0 30px;
}

.contacts-page__eyebrow {
  margin: 0 0 8px;
  color: #807408;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.contacts-page__title {
  margin: 0;
  color: #242329;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
}

.contacts-page__lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: #65636a;
  font-size: 17px;
  line-height: 1.6;
}

.contacts-page__methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 42px;
}

.contact-method {
  display: flex;
  min-width: 0;
  min-height: 174px;
  padding: 24px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 37, 45, 0.06);
}

.contact-method__icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 16px;
  border-radius: 6px;
  background: #f7f1c2;
  color: #8b7d00;
}

.contact-method__icon--message {
  background: #e6f3ef;
  color: #1f745f;
}

.contact-method__icon--mail {
  background: #e8eef8;
  color: #315b91;
}

.contact-method__icon .svg-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-method__body {
  min-width: 0;
}

.contact-method__title {
  margin: 0 0 10px;
  color: #35333a;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.contact-method__value {
  display: block;
  max-width: 100%;
  color: #1f1e22;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-method__value:hover,
.contact-method__value:focus {
  color: #9b8900;
}

.contact-method__value--email {
  font-size: 16px;
}

.contact-method__note {
  margin: 8px 0 0;
  color: #77747c;
  font-size: 13px;
  line-height: 1.45;
}

.contact-method__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-method__messenger {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  color: #444149;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.contact-method__messenger i {
  margin-right: 6px;
  font-size: 16px;
}

.contact-method__messenger--whatsapp i {
  color: #168b58;
}

.contact-method__messenger--telegram i {
  color: #2786bd;
}

.contact-method__messenger--viber i {
  color: #665cac;
}

.contact-method__messenger--wechat i {
  color: #168b58;
}

.contact-method__messenger:hover,
.contact-method__messenger:focus {
  border-color: #9d930f;
  color: #242329;
  text-decoration: none;
}

.contact-method__form-link {
  display: inline-block;
  margin-top: 12px;
  color: #6d6408;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.contacts-page__locations {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  gap: 34px;
  padding: 44px 0;
  border-top: 1px solid #e3e6ea;
  border-bottom: 1px solid #e3e6ea;
}

.contacts-page__section-heading {
  margin-bottom: 24px;
}

.contacts-page__section-heading h2,
.contacts-page__next-step h2 {
  margin: 0;
  color: #242329;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.contacts-page__section-heading > p:last-child,
.contacts-page__next-step p {
  margin: 10px 0 0;
  color: #6c6971;
  font-size: 15px;
  line-height: 1.55;
}

.pickup-point {
  display: flex;
  min-width: 0;
  padding: 20px 0;
  border-top: 1px solid #e4e7eb;
}

.pickup-point:last-child {
  padding-bottom: 0;
}

.pickup-point__icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 15px;
  border-radius: 6px;
  background: #f7f1c2;
  color: #8b7d00;
}

.pickup-point__icon--warehouse {
  background: #edf0f3;
  color: #56545b;
}

.pickup-point__icon .svg-icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.pickup-point__body {
  min-width: 0;
}

.pickup-point__label {
  margin-bottom: 5px;
  color: #7b777f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.pickup-point__title {
  margin: 0;
  color: #2d2b31;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.pickup-point__meta,
.pickup-point__hours {
  margin: 6px 0 0;
  color: #69666e;
  font-size: 14px;
  line-height: 1.5;
}

.pickup-point__route {
  display: inline-block;
  margin-top: 10px;
  color: #6c6204;
  font-size: 14px;
  font-weight: 600;
}

.pickup-point__route i {
  margin-left: 4px;
  font-size: 12px;
}

.contacts-live-map {
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce1e6;
  border-radius: 6px;
  background: #fff;
}

.contacts-live-map__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 20px;
}

.contacts-live-map__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #dcc500;
  color: #2f2d31;
  font-size: 21px;
}

.contacts-live-map__eyebrow {
  margin: 0 0 4px;
  color: #817500;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contacts-live-map__header h3 {
  margin: 0;
  color: #2d2b31;
  font-size: 24px;
  line-height: 1.25;
}

.contacts-live-map__header p:last-child {
  max-width: 570px;
  margin: 8px 0 0;
  color: #69666e;
  font-size: 14px;
  line-height: 1.55;
}

.contacts-live-map__frame {
  position: relative;
  min-height: 390px;
  border-top: 1px solid #e4e7eb;
  border-bottom: 1px solid #e4e7eb;
  background: #edf0f2;
}

.contacts-live-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-live-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px 22px;
}

.contacts-page__wayfinding {
  padding: 44px 0;
  border-bottom: 1px solid #e3e6ea;
}

.contacts-page__section-heading--wide {
  max-width: 840px;
  margin-bottom: 26px;
}

.contacts-page__wayfinding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-visual {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 34, 39, 0.08);
}

.route-visual__media {
  position: relative;
  overflow: hidden;
  background: #f2f4f5;
}

.route-visual__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-visual--scheme .route-visual__media {
  aspect-ratio: 1341 / 680;
}

.route-visual--entrance .route-visual__media {
  aspect-ratio: 1850 / 850;
}

.route-map-destination {
  position: absolute;
  top: 78.2%;
  left: 58.2%;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 20%;
  min-height: 15%;
  padding: 7px 12px 7px 14px;
  border: 1px solid #dfe3e8;
  border-left: 4px solid #d4bd00;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(31, 34, 39, 0.12);
  color: #2d2b31;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.route-map-destination span,
.route-map-destination strong {
  display: inline;
}

.route-map-destination strong {
  margin-left: 4px;
  color: #7f7300;
  font-weight: 700;
}

.route-visual__caption {
  flex: 1 1 auto;
  display: block;
  min-height: 104px;
  padding: 18px 20px 20px;
  border-top: 2px solid #d4bd00;
}

.route-visual__caption strong,
.route-visual__caption span {
  display: block;
}

.route-visual__caption strong {
  margin-bottom: 6px;
  color: #2d2b31;
  font-size: 17px;
  line-height: 1.35;
}

.route-visual__caption span {
  color: #69666e;
  font-size: 14px;
  line-height: 1.5;
}

.contacts-route-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  background: #dfe3e8;
  list-style: none;
}

.contacts-route-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: #f7f8f9;
}

.contacts-route-steps li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2d2c30;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.contacts-route-steps strong {
  display: block;
  color: #2d2b31;
  font-size: 15px;
  line-height: 1.35;
}

.contacts-route-steps p {
  margin: 5px 0 0;
  color: #69666e;
  font-size: 13px;
  line-height: 1.45;
}

.contacts-page__next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}

.contacts-page__next-step > div:first-child {
  max-width: 680px;
}

.contacts-page__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.contacts-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.contacts-page__button i {
  margin-right: 8px;
  font-size: 16px;
}

.contacts-page__button:hover,
.contacts-page__button:focus {
  text-decoration: none;
}

.contacts-page__button--primary {
  border-color: #c7b600;
  background: #d8c600;
  color: #252319;
}

.contacts-page__button--primary:hover,
.contacts-page__button--primary:focus {
  border-color: #ac9d00;
  background: #c5b500;
  color: #1f1e19;
}

.contacts-page__button--secondary {
  border-color: #cfd4da;
  background: #fff;
  color: #35333a;
}

.contacts-page__button--secondary:hover,
.contacts-page__button--secondary:focus {
  border-color: #9ca3ab;
  color: #242329;
}

.contacts-page__details {
  padding: 0 0 44px;
}

.company-details {
  border-top: 1px solid #e1e4e8;
  border-bottom: 1px solid #e1e4e8;
}

.company-details summary {
  position: relative;
  padding: 19px 42px 19px 0;
  color: #35333a;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.company-details summary::-webkit-details-marker {
  display: none;
}

.company-details summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  color: #807408;
  content: "+";
  font-size: 23px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.company-details[open] summary::after {
  content: "−";
}

.company-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
  padding: 2px 0 24px;
}

.company-details__list {
  margin: 0;
}

.company-details__list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #eceef1;
}

.company-details__list dt,
.company-details__list dd {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.company-details__list dt {
  color: #77747c;
  font-size: 13px;
}

.company-details__list dd {
  color: #343238;
  font-size: 14px;
  font-weight: 600;
}

.contacts-page__comments {
  margin-bottom: 40px;
}

.contacts-page a:focus,
.company-details summary:focus {
  outline: 2px solid #8c8000;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .contacts-page__methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-method:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .contacts-page__locations {
    grid-template-columns: minmax(300px, 0.9fr) minmax(400px, 1.1fr);
    gap: 24px;
  }

  .contacts-page__next-step {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .contacts-page__header {
    padding-top: 26px;
  }

  .contacts-page__title {
    font-size: 31px;
  }

  .contacts-page__lead {
    font-size: 16px;
  }

  .contacts-page__methods,
  .contacts-page__locations,
  .contacts-page__wayfinding-grid,
  .contacts-route-steps {
    grid-template-columns: 1fr;
  }

  .contacts-live-map__frame {
    min-height: 420px;
  }

  .route-visual__caption {
    min-height: 0;
  }

  .contact-method:last-child {
    grid-column: auto;
  }

  .company-details__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  #jivo-iframe-container,
  #jvLabelWrap,
  #jcont {
    display: none !important;
  }

  .contacts-page__header {
    padding: 22px 0 24px;
  }

  .contacts-page__title {
    font-size: 28px;
  }

  .contacts-page__lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .contacts-page__methods {
    gap: 12px;
    padding-bottom: 30px;
  }

  .contact-method {
    min-height: auto;
    padding: 18px;
  }

  .contact-method__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    margin-right: 13px;
  }

  .contact-method__value {
    font-size: 18px;
  }

  .contact-method__value--email {
    font-size: 14px;
  }

  .contacts-page__locations {
    gap: 24px;
    padding: 34px 0;
  }

  .contacts-page__section-heading h2,
  .contacts-page__next-step h2 {
    font-size: 23px;
  }

  .pickup-point {
    padding: 18px 0;
  }

  .pickup-point__title {
    font-size: 16px;
  }

  .pickup-point__hours span {
    display: none;
  }

  .pickup-point__hours strong:nth-of-type(2) {
    display: inline-block;
    margin-left: 6px;
  }

  .contacts-live-map__header {
    gap: 12px;
    padding: 20px 16px 18px;
  }

  .contacts-live-map__brand {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .contacts-live-map__header h3 {
    font-size: 21px;
  }

  .contacts-live-map__frame {
    min-height: 360px;
  }

  .contacts-live-map__actions {
    flex-direction: column;
    padding: 16px;
  }

  .contacts-live-map__actions .contacts-page__button {
    width: 100%;
  }

  .contacts-page__wayfinding {
    padding: 34px 0;
  }

  .route-visual__caption {
    padding: 16px;
  }

  .route-map-destination {
    min-width: 24%;
    padding: 5px 8px;
    border-left-width: 3px;
    font-size: 10px;
  }

  .route-map-destination span {
    display: none;
  }

  .route-map-destination strong {
    margin-left: 0;
  }

  .contacts-route-steps li {
    padding: 15px;
  }

  .contacts-page__next-step {
    padding: 28px 0;
  }

  .contacts-page__actions {
    width: 100%;
    flex-direction: column;
  }

  .contacts-page__button {
    width: 100%;
  }

  .company-details__list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media print {
  .contacts-page__methods {
    grid-template-columns: repeat(3, 1fr);
  }

  .contacts-page__locations {
    grid-template-columns: 1fr;
  }

  .contacts-live-map,
  .contacts-page__wayfinding,
  .contacts-page__actions {
    display: none;
  }

  .company-details:not([open]) .company-details__grid {
    display: grid;
  }
}
