.lp-contacts-page {
  margin: 0;
  background: #f3f7fb;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.lp-contacts {
  --lp-contacts-paper: #ffffff;
  --lp-contacts-paper-soft: #f8fbff;
  --lp-contacts-line: #d8e6f3;
  --lp-contacts-line-strong: #bfd6ed;
  --lp-contacts-ink: #1d2b3f;
  --lp-contacts-muted: #62748a;
  --lp-contacts-blue: #197fe0;
  --lp-contacts-blue-deep: #0d62b6;
  --lp-contacts-blue-soft: #eef7ff;
  --lp-contacts-green: #0c9150;
  --lp-contacts-green-soft: #e4f7ec;
  --lp-contacts-gold: #f7b91a;
  --lp-contacts-gold-soft: #fff5d6;
  --lp-contacts-shadow: 0 12px 28px rgba(24, 52, 86, 0.075);
  --lp-contacts-shadow-hover: 0 16px 36px rgba(24, 52, 86, 0.12);
  --lp-contacts-radius-xl: 20px;
  --lp-contacts-radius-lg: 18px;
  --lp-contacts-radius-md: 16px;
  --lp-contacts-radius-sm: 12px;
  position: relative;
  padding: 8px 0 38px;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  color: var(--lp-contacts-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

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

.lp-contacts a {
  color: inherit;
  text-decoration: none;
}

.lp-contacts svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.lp-contacts__container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 14px;
}

.lp-contacts__section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--lp-contacts-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--lp-contacts-blue-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.lp-contacts__section-title,
.lp-contacts__info-title,
.lp-route-card__title,
.lp-route-card__subtitle,
.lp-store-card__title {
  margin: 0;
  color: var(--lp-contacts-ink);
  font-weight: 700;
}

.lp-contacts__section {
  margin-top: 20px;
}

.lp-contacts__container > .lp-contacts__section:first-child {
  margin-top: 0;
}

.lp-contacts__section-head {
  max-width: 760px;
  margin-bottom: 8px;
}

.lp-contacts__section-head--split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.lp-contacts__section-title {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.24;
}

.lp-contacts__section-text {
  margin: 10px 0 0;
  color: var(--lp-contacts-muted);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.lp-contacts__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.lp-contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 142px;
  padding: 13px;
  border: 1px solid var(--lp-contacts-line);
  border-radius: var(--lp-contacts-radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(24, 52, 86, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lp-contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 127, 224, 0.28);
  box-shadow: var(--lp-contacts-shadow-hover);
}

.lp-contact-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--lp-contacts-blue-deep);
}

.lp-contact-card__icon svg {
  width: 18px;
  height: 18px;
}

.lp-contact-card__icon--location {
  background: var(--lp-contacts-blue-soft);
}

.lp-contact-card__icon--phone {
  background: var(--lp-contacts-green-soft);
  color: var(--lp-contacts-green);
}

.lp-contact-card__icon--mail {
  background: var(--lp-contacts-gold-soft);
  color: #966800;
}

.lp-contact-card__icon--clock {
  background: #edf1f6;
  color: #4d627a;
}

.lp-contact-card__title {
  margin: 11px 0 0;
  font-size: 15px;
  line-height: 1.24;
  font-weight: 700;
}

.lp-contact-card__text {
  display: grid;
  gap: 3px;
  margin: 7px 0 0;
  color: var(--lp-contacts-muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.lp-contact-card__text a {
  width: fit-content;
  color: var(--lp-contacts-ink);
  font-weight: 700;
  transition: color 0.2s ease;
}

.lp-contact-card__text a:hover,
.lp-contact-card__link:hover,
.lp-contacts__map-link:hover,
.lp-store-card__item--mail:hover,
.lp-store-card__phone:hover {
  color: var(--lp-contacts-blue);
}

.lp-contact-card__link {
  width: fit-content;
  margin-top: auto;
  padding-top: 9px;
  color: var(--lp-contacts-blue-deep);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.lp-stores {
  display: grid;
  gap: 8px;
}

.lp-store-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(200px, 280px);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--lp-contacts-line);
  border-radius: var(--lp-contacts-radius-lg);
  background: var(--lp-contacts-paper);
  box-shadow: 0 10px 28px rgba(24, 52, 86, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lp-store-card:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 127, 224, 0.26);
  box-shadow: var(--lp-contacts-shadow-hover);
}

.lp-store-card__media {
  display: block;
  width: 96px;
  height: 68px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--lp-contacts-blue-soft);
}

.lp-store-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.lp-store-card:hover .lp-store-card__media img {
  transform: scale(1.04);
}

.lp-store-card__title {
  font-size: 14px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.lp-store-card__body,
.lp-store-card__aside {
  min-width: 0;
}

.lp-store-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 7px;
}

.lp-store-card__item {
  position: relative;
  color: var(--lp-contacts-muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.lp-store-card__item::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lp-contacts-blue);
  vertical-align: 1px;
}

.lp-store-card__item--closed {
  color: #e00000;
}

.lp-store-card__item--closed::before {
  background: #e00000;
}

.lp-store-card__item--mail {
  color: var(--lp-contacts-blue-deep);
  font-weight: 700;
  transition: color 0.2s ease;
}

.lp-store-card__aside {
  display: grid;
  justify-items: end;
  gap: 9px;
  min-width: 0;
}

.lp-store-card__phone {
  color: var(--lp-contacts-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.lp-store-card__phone span {
  color: var(--lp-contacts-muted);
  font-weight: 400;
}

.lp-store-card__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.lp-store-card__payments span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef1f4;
  color: var(--lp-contacts-ink);
  font-size: 11px;
  line-height: 1;
}

.lp-contacts__form-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--lp-contacts-line);
  border-radius: var(--lp-contacts-radius-xl);
  background: var(--lp-contacts-paper);
  box-shadow: var(--lp-contacts-shadow);
}

.lp-contacts__form-panel {
  min-width: 0;
}

.lp-contact-form {
  margin-top: 12px;
}

.lp-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lp-contact-form__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lp-contact-form__field--wide {
  grid-column: 1 / -1;
}

.lp-contact-form__label {
  color: var(--lp-contacts-muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.lp-contact-form__control {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--lp-contacts-line-strong);
  border-radius: var(--lp-contacts-radius-sm);
  background: #ffffff;
  color: var(--lp-contacts-ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-contact-form__control::placeholder {
  color: #8aa0b8;
}

.lp-contact-form__control:focus {
  border-color: rgba(25, 127, 224, 0.78);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(25, 127, 224, 0.12);
  outline: none;
}

.lp-contact-form__control--textarea {
  min-height: 88px;
  padding-top: 10px;
  resize: vertical;
}

.lp-contact-form__field:focus-within .lp-contact-form__label {
  color: var(--lp-contacts-blue-deep);
}

.lp-contact-form__field.is-invalid .lp-contact-form__control {
  border-color: rgba(215, 64, 64, 0.78);
  box-shadow: 0 0 0 3px rgba(215, 64, 64, 0.1);
}

.lp-contact-form__field.is-invalid .lp-contact-form__label,
.lp-contact-form__field.is-invalid .lp-contact-form__error {
  color: #b42323;
}

.lp-contact-form__field.is-filled .lp-contact-form__control {
  background: var(--lp-contacts-paper-soft);
}

.lp-contact-form__error {
  min-height: 14px;
  color: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

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

.lp-contacts__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lp-contacts__button:hover {
  transform: translateY(-1px);
}

.lp-contacts__button:focus-visible {
  outline: 3px solid rgba(25, 127, 224, 0.22);
  outline-offset: 2px;
}

.lp-contacts__button--primary {
  background: linear-gradient(180deg, #2088e8 0%, #0d68c2 100%);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(25, 127, 224, 0.18);
}

.lp-contact-form__submit {
  min-width: 150px;
}

.lp-contact-form__notice {
  max-width: 420px;
  margin: 0;
  color: var(--lp-contacts-muted);
  font-size: 12px;
  line-height: 1.4;
}

.lp-contact-form__status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--lp-contacts-green);
  font-size: 13px;
  font-weight: 700;
}

.lp-contacts__info-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 14px;
  border-radius: var(--lp-contacts-radius-lg);
  background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 58%, #fff9e8 100%);
}

.lp-contacts__info-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--lp-contacts-blue-deep);
  font-size: 11px;
  font-weight: 700;
}

.lp-contacts__info-title {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.lp-contacts__info-text {
  margin: 9px 0 0;
  color: var(--lp-contacts-muted);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.lp-contacts__benefits {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lp-contacts__benefit {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.lp-contacts__benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lp-contacts-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.lp-contacts__benefit:nth-child(2) .lp-contacts__benefit-icon {
  background: var(--lp-contacts-green);
}

.lp-contacts__benefit:nth-child(3) .lp-contacts__benefit-icon {
  background: var(--lp-contacts-gold);
  color: #5b4100;
}

.lp-contacts__benefit b,
.lp-contacts__benefit small {
  display: block;
}

.lp-contacts__benefit b {
  font-size: 12px;
  line-height: 1.25;
}

.lp-contacts__benefit small {
  margin-top: 3px;
  color: var(--lp-contacts-muted);
  font-size: 11px;
  line-height: 1.35;
}

.lp-contacts__map-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--lp-contacts-line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--lp-contacts-blue-deep);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-contacts__map-link:hover {
  border-color: rgba(25, 127, 224, 0.34);
  box-shadow: 0 8px 18px rgba(25, 57, 106, 0.08);
}

.lp-contacts__map-card {
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--lp-contacts-line);
  border-radius: var(--lp-contacts-radius-xl);
  background: #ffffff;
  box-shadow: var(--lp-contacts-shadow);
}

.lp-contacts__map {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 16px;
  background: var(--lp-contacts-blue-soft);
}

.lp-contacts__route-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: stretch;
}

.lp-route-card {
  min-height: 104px;
  padding: 13px;
  border: 1px solid var(--lp-contacts-line);
  border-radius: var(--lp-contacts-radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(24, 52, 86, 0.06);
}

.lp-route-card--accent {
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.lp-route-card__title {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.lp-route-card__subtitle {
  font-size: 15px;
  line-height: 1.25;
}

.lp-route-card__text {
  margin: 7px 0 0;
  color: var(--lp-contacts-muted);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.lp-requisites {
  overflow: hidden;
  border: 1px solid var(--lp-contacts-line);
  border-radius: var(--lp-contacts-radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(24, 52, 86, 0.06);
}

.lp-requisites__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
}

.lp-requisites__summary::-webkit-details-marker {
  display: none;
}

.lp-requisites__summary b {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.25;
}

.lp-requisites__icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lp-contacts-blue-soft);
}

.lp-requisites__icon::before,
.lp-requisites__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--lp-contacts-blue-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.lp-requisites__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lp-requisites[open] .lp-requisites__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.lp-requisites__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 15px 15px;
}

.lp-requisites__item {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(195, 216, 237, 0.72);
  border-radius: 12px;
  background: var(--lp-contacts-paper-soft);
}

.lp-requisites__item--wide {
  grid-column: 1 / -1;
}

.lp-requisites__item dt {
  margin: 0 0 5px;
  color: var(--lp-contacts-muted);
  font-size: 12px;
  font-weight: 700;
}

.lp-requisites__item dd {
  margin: 0;
  color: var(--lp-contacts-ink);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

  .lp-store-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .lp-store-card__media {
    width: 82px;
  }

  .lp-store-card__aside {
    grid-column: 2;
    justify-items: start;
  }

  .lp-store-card__phone {
    text-align: left;
  }

  .lp-store-card__payments {
    justify-content: flex-start;
  }

  .lp-contacts__route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-route-card--accent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .lp-contacts {
    padding-bottom: 42px;
  }

  .lp-contacts__form-card {
    grid-template-columns: 1fr;
  }

  .lp-contacts__info-panel {
    padding: 13px;
  }

  .lp-contacts__section {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .lp-contacts {
    padding: 8px 0 36px;
  }

  .lp-contacts__container {
    padding: 0 12px;
  }

  .lp-contacts__section-head--split,
  .lp-contact-form__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .lp-contacts__section-title {
    font-size: 19px;
  }

  .lp-contacts__cards,
  .lp-contact-form__grid,
  .lp-contacts__route-grid,
  .lp-requisites__grid {
    grid-template-columns: 1fr;
  }

  .lp-contact-card {
    min-height: 0;
    padding: 12px;
  }

  .lp-store-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .lp-store-card__media {
    width: 72px;
    height: 62px;
  }

  .lp-store-card__aside {
    grid-column: 2;
  }

  .lp-store-card__meta {
    display: grid;
    gap: 5px;
  }

  .lp-contacts__form-card {
    padding: 13px;
    border-radius: 16px;
  }

  .lp-contacts__info-title,
  .lp-route-card__title {
    font-size: 17px;
  }

  .lp-contact-form__submit,
  .lp-contacts__button,
  .lp-contacts__map-link {
    width: 100%;
  }

  .lp-contact-form__notice {
    max-width: none;
    text-align: center;
  }

  .lp-contacts__map {
    height: 260px;
    border-radius: 14px;
  }

  .lp-contacts__map-card {
    border-radius: 18px;
  }

  .lp-route-card {
    min-height: 0;
    padding: 13px;
  }

  .lp-requisites__summary {
    padding: 13px;
  }

  .lp-requisites__grid {
    padding: 0 13px 13px;
  }
}

@media (max-width: 420px) {
  .lp-contacts__form-card,
  .lp-contacts__info-panel {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-contacts *,
  .lp-contacts *::before,
  .lp-contacts *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
