/* БлагоГрад — страница «Контакты» 2026 */

.bg-contacts-page .bg-page-hero {
  margin-bottom: 0;
}

.bg-contacts-page .bg-page-hero__title,
.bg-contacts-page .bg-page-hero__text {
  color: #fff;
}

.bg-contacts-page .bg-page-hero__text {
  color: rgba(255, 255, 255, 0.92);
}

.bg-contacts-page .bg-page-hero__overlay {
  background: linear-gradient(
    100deg,
    rgba(30, 30, 30, 0.52) 0%,
    rgba(30, 30, 30, 0.18) 50%,
    transparent 72%
  );
}

/* Быстрые контакты */
.bg-ct-bar {
  background: var(--bg-section);
  border-bottom: 1px solid var(--bg-border);
}

.bg-ct-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0;
}

.bg-ct-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bg-ct-bar__icon {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.bg-ct-bar__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bg-ct-bar__item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bg-muted);
}

.bg-ct-bar__item a {
  color: var(--bg-text);
  text-decoration: none;
}

.bg-ct-bar__item a:hover {
  color: var(--bg-accent);
}

.bg-ct-bar__item small {
  font-size: 13px;
  color: var(--bg-muted);
}

/* Локации и карта */
.bg-ct-locations {
  padding: 64px 0;
}

.bg-ct-locations__title {
  margin: 0 0 32px;
  font-family: var(--bg-font-heading);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bg-ct-locations__grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.bg-ct-locations__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bg-ct-loc {
  padding: 20px 22px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bg-ct-loc:hover,
.bg-ct-loc.is-active {
  border-color: var(--bg-accent);
  box-shadow: 0 8px 24px rgba(30, 30, 30, 0.06);
}

.bg-ct-loc h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.bg-ct-loc p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--bg-muted);
}

.bg-ct-loc__meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--bg-text);
}

.bg-ct-locations__route {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-accent);
  text-decoration: none;
}

.bg-ct-locations__route:hover {
  text-decoration: underline;
}

.bg-ct-map {
  position: relative;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8e4df;
}

.bg-ct-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bg-ct-map__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.bg-ct-map__pin {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--bg-accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
}

.bg-ct-map__pin.is-active {
  opacity: 1;
  transform: scale(1.15);
}

/* Офис и производство */
.bg-ct-facilities {
  padding: 0 0 64px;
}

.bg-ct-facilities__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.bg-ct-facility__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.bg-ct-facility h2 {
  margin: 24px 0 16px;
  font-family: var(--bg-font-heading);
  font-size: 24px;
  font-weight: 700;
}

.bg-ct-facility ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.bg-ct-facility li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.bg-ct-facility li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-accent);
}

/* Отделы */
.bg-ct-deps {
  padding: 64px 0;
  background: var(--bg-section);
}

.bg-ct-deps__title {
  margin: 0 0 32px;
  font-family: var(--bg-font-heading);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
}

.bg-ct-deps__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.bg-ct-dep {
  padding: 22px 20px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
}

.bg-ct-dep h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.bg-ct-dep > p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--bg-muted);
}

.bg-ct-dep a {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--bg-text);
  text-decoration: none;
}

.bg-ct-dep a:hover {
  color: var(--bg-accent);
}

.bg-ct-dep__messengers {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.bg-ct-dep__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 10px;
  background: var(--bg-section);
}

.bg-ct-dep__messengers img {
  width: 20px;
  height: 20px;
}

/* Нижний блок */
.bg-ct-bottom {
  padding: 64px 0 80px;
  background: var(--bg-section);
}

.bg-ct-bottom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.bg-ct-req h3,
.bg-ct-side h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
}

.bg-ct-req dl {
  margin: 0 0 24px;
}

.bg-ct-req dt {
  font-size: 13px;
  color: var(--bg-muted);
  margin-bottom: 2px;
}

.bg-ct-req dd {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

.bg-ct-req .bg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bg-ct-req .bg-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.bg-ct-form {
  position: relative;
  padding: 28px 28px 32px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  overflow: hidden;
}

.bg-ct-form h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
}

.bg-ct-form__fields {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.bg-ct-form__fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--bg-muted);
}

.bg-ct-form__fields input,
.bg-ct-form__fields textarea {
  padding: 12px 14px;
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  font: inherit;
  color: var(--bg-text);
  background: var(--bg-white);
}

.bg-ct-form__full {
  grid-column: 1 / -1;
}

.bg-ct-form__attach {
  grid-column: 1 / -1;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  cursor: pointer;
  color: var(--bg-accent) !important;
  font-weight: 600;
}

.bg-ct-form__attach input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.bg-ct-form__agree {
  grid-column: 1 / -1;
  margin: 4px 0 0;
}

.bg-ct-form__fields .bg-btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}

.bg-ct-form__decor {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 55%;
  height: 70%;
  background: right bottom/contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.bg-ct-side__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.bg-ct-side__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
}

.bg-ct-side__socials img {
  max-width: 22px;
  max-height: 22px;
}

.bg-ct-faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bg-ct-faq-list li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-border);
}

.bg-ct-faq-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.bg-ct-faq-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-text);
  text-decoration: none;
  line-height: 1.4;
}

.bg-ct-faq-list a:hover {
  color: var(--bg-accent);
}

.bg-ct-side__all {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-accent);
  text-decoration: none;
}

.bg-ct-side__all:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .bg-ct-deps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bg-ct-bottom__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bg-ct-bottom__grid .bg-ct-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .bg-ct-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bg-ct-locations__grid {
    grid-template-columns: 1fr;
  }

  .bg-ct-map {
    min-height: 320px;
  }

  .bg-ct-facilities__grid {
    grid-template-columns: 1fr;
  }

  .bg-ct-deps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bg-ct-bottom__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bg-ct-bar__grid,
  .bg-ct-deps__grid,
  .bg-ct-form__fields {
    grid-template-columns: 1fr;
  }

  .bg-contacts-page .bg-page-hero__grid {
    grid-template-columns: 1fr;
  }
}
