.elka-contacts {
  color: #20262a;
  margin-top: -14px;
}

.elka-contacts__container {
  width: min(1170px, calc(100vw - 32px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.elka-contacts__title {
  margin: 0 0 18px;
  font-size: clamp(2.125rem, 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #11223c;
}

.elka-contacts__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.elka-contacts__info-card,
.elka-contacts__map-card,
.elka-contacts__pickup-item {
  border: 1px solid #d9e5dd;
  border-radius: 20px;
  background: #fff;
}

.elka-contacts__info-card {
  padding: 24px;
}

.elka-contacts__card-title,
.elka-contacts__pickup-title {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.15;
  font-weight: 800;
  color: #1a2433;
}

.elka-contacts__intro {
  margin: 12px 0 24px;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #56626b;
}

.elka-contacts__contact-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.elka-contacts__contact-item,
.elka-contacts__service-item {
  display: flex;
  gap: 14px;
}

.elka-contacts__icon,
.elka-contacts__service-icon,
.elka-contacts__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.elka-contacts__icon,
.elka-contacts__service-icon {
  width: 46px;
  height: 46px;
  background: transparent;
  box-shadow: none;
}

.elka-contacts__icon img,
.elka-contacts__service-icon img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.elka-contacts__label {
  font-size: 0.875rem;
  line-height: 1.3;
  color: #77818a;
  margin-bottom: 4px;
}

.elka-contacts__value {
  display: inline-block;
  text-decoration: none;
  color: #1f2a34;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 800;
  font-size: 0.82rem;
}


.elka-contacts__value:hover,
.elka-contacts__value:focus-visible,
.elka-contacts__value--email:hover,
.elka-contacts__value--email:focus-visible {
  color: #0d9a46;
  text-decoration: none;
}

.elka-contacts__value--email {
  font-size: 1.125rem;
}

.elka-contacts__meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #77818a;
}

.elka-contacts__service-list {
  border-top: 1px solid #e5ece7;
  padding-top: 24px;
  display: grid;
  gap: 16px;
}

.elka-contacts__service-title {
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #1f2a34;
}

.elka-contacts__service-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6c777f;
}

.elka-contacts__content {
  min-width: 0;
  display: grid;
  grid-template-rows: 340px auto;
  gap: 16px;
}

.elka-contacts__map-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #edf3ef;
}

.elka-contacts__map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.elka-contacts__map-caption {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: none;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(430px, calc(100% - 32px));
  padding: 9px 12px;
  border: 1px solid rgba(205, 222, 210, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(38, 54, 44, 0.10);
  color: #1d2c35;
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 700;
  pointer-events: none;
}

.elka-contacts__map-caption-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #8fd09e;
  background: #f6fbf7;
  color: #0d9a46;
  font-weight: 800;
}

.elka-contacts__pickup-block {
  min-width: 0;
}

.elka-contacts__pickup-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

button.elka-contacts__pickup-item {
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

button.elka-contacts__pickup-item:hover,
button.elka-contacts__pickup-item:focus-visible {
  border-color: #8bcf9b;
  background: #fbfefb;
  box-shadow: 0 6px 16px rgba(28, 73, 46, 0.06);
  outline: none;
}

button.elka-contacts__pickup-item.is-active {
  border-color: #79c78d;
  background: linear-gradient(180deg, #fbfefc 0%, #f4fbf6 100%);
  box-shadow: 0 8px 20px rgba(28, 73, 46, 0.08);
}

.elka-contacts__badge {
  width: 34px;
  height: 34px;
  border: 1px solid #9ed6a9;
  background: #f5fbf6;
  color: #0d9a46;
  font-size: 0.95rem;
  font-weight: 800;
}

.elka-contacts__pickup-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 3px;
}

.elka-contacts__pickup-main {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: #1f2a34;
  white-space: normal;
  overflow-wrap: anywhere;
}

.elka-contacts__pickup-sub {
  font-size: 0.94rem;
  line-height: 1.35;
  color: #5f6971;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .elka-contacts {
    margin-top: -8px;
  }

  .elka-contacts__container {
    width: min(100%, calc(100vw - 28px));
  }

  .elka-contacts__grid {
    grid-template-columns: 1fr;
  }

  .elka-contacts__content {
    grid-template-rows: 280px auto;
  }

  .elka-contacts__map-card,
  .elka-contacts__map-frame {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .elka-contacts__title {
    margin-bottom: 14px;
    font-size: 2rem;
  }

  .elka-contacts__info-card {
    padding: 20px;
  }

  .elka-contacts__card-title,
  .elka-contacts__pickup-title {
    font-size: 1.35rem;
  }

  .elka-contacts__value {
    font-size: 1.25rem;
  }

  .elka-contacts__value--email {
    font-size: 1rem;
  }

  .elka-contacts__content {
    grid-template-rows: 250px auto;
  }

  .elka-contacts__map-card,
  .elka-contacts__map-frame {
    min-height: 250px;
  }

  .elka-contacts__map-caption {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    top: 10px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  button.elka-contacts__pickup-item {
    min-height: 66px;
    padding: 10px 12px;
  }

  .elka-contacts__pickup-main,
  .elka-contacts__pickup-sub {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .elka-contacts__icon,
  .elka-contacts__service-icon,
  .elka-contacts__icon img,
  .elka-contacts__service-icon img {
    width: 46px;
    height: 46px;
  }
}
