/* ==========================================================================
   TheCBD.ru — Страница «Контакты» (/contact/ и /contacts/, Figma 7529:2911)
   ========================================================================== */

.cbd-contact-page {
  background-color: #ffffff;
  color: #202c25;
  font-family: var(--font-base, 'Montserrat', sans-serif);
}

/* Хлебные крошки */
.cbd-contact-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 24px;
}

.cbd-contact-crumbs a {
  color: #aeaeae;
  text-decoration: none;
  transition: color 0.18s ease;
}

.cbd-contact-crumbs a:hover {
  color: #3f892c;
}

.cbd-contact-crumbs__sep {
  color: rgba(25, 25, 25, 0.2);
}

.cbd-contact-crumbs__current {
  color: #191919;
}

/* Вводный блок */
.cbd-contact-hero {
  padding: 56px 0 24px;
}

.cbd-contact-hero__title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: #202c25;
  margin: 0;
}

/* Основная секция контактов и карты (Figma 7306:23270) */
.cbd-contact-section {
  padding: 36px 0 64px;
}

.cbd-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 587px) minmax(0, 603px);
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.cbd-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 257px));
  column-gap: 73px;
  row-gap: 32px;
}

.cbd-contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cbd-contact-item--full {
  grid-column: 1 / -1;
}

.cbd-contact-item__label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #3f892c;
  margin: 0 0 18px;
}

.cbd-contact-item__link {
  font-size: 21px;
  font-weight: 400;
  line-height: 28px;
  color: #000000;
  text-decoration: none;
  transition: color 0.18s ease;
}

.cbd-contact-item__link:hover {
  color: #3f892c;
}

.cbd-contact-item__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 24.3px;
  color: #000000;
  font-style: normal;
  margin: 0;
}

/* Круглые кнопки соцсетей 44×44 (Figma 7306:23279) */
.cbd-contact-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 8px;
}

.cbd-contact-socials__btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.cbd-contact-socials__btn:hover {
  border-color: #3f892c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(63, 137, 44, 0.14);
}

/* Правая колонка с Яндекс Картой 603×412 (Figma 7306:23308) */
.cbd-contact-map {
  position: relative;
  width: 100%;
  height: 412px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f4f6f3;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cbd-contact-map__seo-link {
  position: absolute;
  left: 0;
  color: #eeeeee;
  font-size: 12px;
  line-height: 14px;
  text-decoration: none;
  pointer-events: none;
  z-index: 0;
}

.cbd-contact-map__seo-link--top {
  top: 0;
}

.cbd-contact-map__seo-link--sub {
  top: 14px;
  font-size: 10px;
}

.cbd-contact-map__iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 412px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Адаптивность (1024px, 768px, 390px)
   ========================================================================== */

@media (max-width: 1199px) {
  .cbd-contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .cbd-contact-list {
    column-gap: 32px;
  }
}

@media (max-width: 991px) {
  .cbd-contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cbd-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

@media (max-width: 767px) {
  .cbd-contact-hero {
    padding: 28px 0 12px;
  }

  .cbd-contact-hero__title {
    font-size: 24px;
  }

  .cbd-contact-section {
    padding: 20px 0 40px;
  }

  .cbd-contact-list {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .cbd-contact-item__label {
    margin-bottom: 10px;
  }

  .cbd-contact-item__link {
    font-size: 19px;
  }

  .cbd-contact-item__text {
    font-size: 16px;
  }

  .cbd-contact-socials {
    padding-left: 0;
  }

  .cbd-contact-map,
  .cbd-contact-map__iframe {
    height: 340px;
  }
}
