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

.bg-ab-hero .bg-breadcrumbs {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.bg-ab-hero .bg-breadcrumbs a {
  color: inherit;
}

/* Миссия */
.bg-ab-mission {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(72px, 10vw, 112px);
  background: #f7f3f0;
  overflow: hidden;
}

.bg-ab-mission__decor {
  position: absolute;
  inset: 0;
  background: var(--bg-ab-mission-bg, transparent) left center / cover no-repeat;
  pointer-events: none;
}

.bg-ab-mission__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.bg-ab-mission__title {
  margin: 0;
  max-width: 520px;
  font-family: var(--bg-font-heading);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--bg-text);
}

.bg-ab-mission__lead {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 640px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--bg-text);
}

.bg-ab-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.bg-ab-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.bg-ab-value__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-ab-value__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(54%) sepia(18%) saturate(839%) hue-rotate(354deg) brightness(93%) contrast(89%);
}

.bg-ab-value__text {
  min-width: 0;
}

.bg-ab-value h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bg-text);
}

.bg-ab-value p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bg-muted);
}

/* Цифры */
.bg-ab-numbers {
  padding: clamp(48px, 6vw, 72px) 0;
  background: #fff;
  border-bottom: 1px solid var(--bg-border);
}

.bg-ab-numbers__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.bg-ab-numbers__title {
  margin: 0;
  text-align: left;
  font-family: var(--bg-font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bg-ab-numbers__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 24px;
}

.bg-ab-number {
  text-align: left;
}

.bg-ab-number strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bg-text);
}

.bg-ab-number span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--bg-muted);
}

/* Производство */
.bg-ab-production {
  padding: clamp(64px, 8vw, 88px) 0;
  background: #f9f4f0;
}

.bg-ab-production__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.bg-ab-production__content h2 {
  margin: 0 0 16px;
  font-family: var(--bg-font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bg-ab-production__content > p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--bg-muted);
}

.bg-ab-production__content ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bg-ab-production__content li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--bg-text);
}

.bg-ab-production__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: center/10px 8px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath fill='none' stroke='%23B99272' stroke-width='1.6' d='M1 4.5 4.2 7.5 11 1.5'/%3E%3C/svg%3E") var(--bg-beige-light);
}

.bg-ab-production__content .bg-btn--primary {
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 10px;
}

.bg-ab-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: clamp(300px, 30vw, 400px);
}

.bg-ab-gallery__item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-border);
  min-height: 0;
}

.bg-ab-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg-ab-gallery__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.bg-ab-gallery__item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.bg-ab-gallery__item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.bg-ab-gallery__item:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.bg-ab-gallery__item:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

/* Как мы работаем */
.bg-ab-steps {
  padding: clamp(64px, 8vw, 88px) 0;
  background: #fff;
}

.bg-ab-steps__title {
  margin: 0 0 clamp(32px, 4vw, 44px);
  font-family: var(--bg-font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bg-ab-steps__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.bg-ab-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 6px;
}

.bg-ab-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #f3ebe3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-ab-step__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(54%) sepia(18%) saturate(839%) hue-rotate(354deg) brightness(93%) contrast(89%);
}

.bg-ab-step__num {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #b5b0a8;
  letter-spacing: 0.04em;
}

.bg-ab-step h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bg-text);
}

.bg-ab-step p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--bg-muted);
}

.bg-ab-step__arrow {
  flex: 0 0 auto;
  align-self: center;
  margin-top: 20px;
  color: #d0ccc4;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

/* Команда */
.bg-ab-team {
  padding: 72px 0;
  background: var(--bg-section);
}

.bg-ab-team__title {
  margin: 0 0 32px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
}

.bg-ab-team__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.bg-ab-team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bg-border);
}

.bg-ab-team-card__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #e8e4df, #d5cfc8);
  overflow: hidden;
}

.bg-ab-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-ab-team-card__body {
  padding: 16px;
}

.bg-ab-team-card__body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

.bg-ab-team-card__body span {
  display: block;
  font-size: 13px;
  color: var(--bg-muted);
  line-height: 1.4;
}

.bg-ab-team-card__body em {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
  color: var(--bg-accent);
}

.bg-ab-team-card--join {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 20px;
  background: var(--bg-beige-light);
  min-height: 100%;
}

.bg-ab-team-card--join h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.bg-ab-team-card--join a {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg-accent);
  text-decoration: none;
}

.bg-ab-team-card--join a:hover {
  color: var(--bg-beige-hover);
}

/* Проекты — слайдер */
.bg-ab-projects {
  padding: 72px 0;
  background: #fff;
}

.bg-ab-projects__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.bg-ab-projects__head h2 {
  margin: 0;
  font-family: var(--bg-font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bg-ab-projects__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-accent);
  text-decoration: none;
  white-space: nowrap;
}

.bg-ab-projects__link:hover {
  color: var(--bg-accent-hover);
}

.bg-ab-projects-wrap {
  position: relative;
  padding: 0 48px;
}

.bg-ab-projects-prev,
.bg-ab-projects-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid #e0ddd6;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bg-ab-projects-prev {
  left: 0;
}

.bg-ab-projects-next {
  right: 0;
}

.bg-ab-projects-prev::after,
.bg-ab-projects-next::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border: solid #666;
  border-width: 0 1.5px 1.5px 0;
}

.bg-ab-projects-prev::after {
  transform: rotate(135deg);
}

.bg-ab-projects-next::after {
  transform: rotate(-45deg);
}

.bg-ab-projects-slider {
  overflow: hidden;
}

.bg-ab-projects-slider .swiper-slide {
  width: min(300px, calc((100vw - 180px) / 4));
  height: auto;
  box-sizing: content-box;
  padding-right: 20px;
}

.bg-ab-projects .bg-sv-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f9f7f2;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ece8e1;
  box-shadow: 0 4px 20px rgba(30, 30, 30, 0.05);
}

.bg-ab-projects .bg-sv-project-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bg-ab-projects .bg-sv-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bg-ab-projects .bg-sv-project-card:hover .bg-sv-project-card__media img {
  transform: scale(1.03);
}

.bg-ab-projects .bg-sv-project-card__body {
  padding: 20px 22px 24px;
  flex: 1;
}

.bg-ab-projects .bg-sv-project-card__body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.bg-ab-projects .bg-sv-project-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.bg-ab-projects .bg-sv-project-card__meta {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
  color: #8a8a8a;
}

.bg-ab-projects .bg-sv-project-card__label {
  margin: 14px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-text);
}

.bg-ab-projects .bg-sv-project-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #8a8a8a;
}


/* Боковой заголовок + контент */
.bg-ab-sideblock {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.bg-ab-sideblock__aside h2 {
  margin: 0 0 24px;
  max-width: 240px;
  font-family: var(--bg-font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bg-ab-sideblock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--bg-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease;
}

.bg-ab-sideblock__btn:hover {
  background: var(--bg-accent-hover);
  color: #fff;
}

/* Сертификаты */
.bg-ab-certs {
  padding: clamp(56px, 7vw, 80px) 0;
  background: #f5f5f5;
}

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

.bg-ab-cert {
  text-align: left;
}

.bg-ab-cert__img {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e6e1;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(30, 30, 30, 0.05);
}

.bg-ab-cert__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-ab-cert span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--bg-text);
}

/* Партнёры */
.bg-ab-partners {
  padding: clamp(56px, 7vw, 80px) 0;
  background: #fff;
}

.bg-ab-partners .bg-ab-sideblock__aside h2 {
  margin-bottom: 0;
}

.bg-ab-partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 20px;
  min-height: 72px;
}

.bg-ab-partner {
  flex: 1 1 0;
  min-width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-ab-partner img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.bg-ab-partner__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #8a8a8a;
  text-align: center;
  line-height: 1.1;
}

.bg-ab-partner__text strong {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #8a8a8a;
}

.bg-ab-partner__text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a8a8a8;
}

.bg-ab-partner--pik .bg-ab-partner__text strong {
  font-size: clamp(18px, 1.8vw, 24px);
}

.bg-ab-partner--a101 .bg-ab-partner__text strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #b5b0a8;
  border-radius: 50%;
  font-size: 15px;
}

.bg-ab-partner--setl .bg-ab-partner__text strong {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Форма заявки */
.bg-ab-contact {
  padding: 48px 0 72px;
  background: #f3f2ef;
}

.bg-ab-contact .bg-prj-contact__card {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.bg-ab-contact .bg-prj-contact__fields {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: auto auto auto;
  align-items: start;
}

.bg-ab-contact .bg-prj-contact__field-name {
  grid-column: 1;
  grid-row: 1;
}

.bg-ab-contact .bg-prj-contact__field-phone {
  grid-column: 2;
  grid-row: 1;
}

.bg-ab-contact .bg-prj-contact__field-message {
  grid-column: 2;
  grid-row: 2;
}

.bg-ab-contact .bg-prj-contact__field-message textarea {
  width: 100%;
  min-height: 112px;
  border: 1px solid #e0ddd6;
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  background: #fff;
  color: var(--bg-text);
  resize: vertical;
  box-sizing: border-box;
}

.bg-ab-contact .bg-prj-contact__field-message textarea::placeholder {
  color: #9a9a9a;
}

.bg-ab-contact .bg-prj-contact__field-message textarea:focus {
  outline: none;
  border-color: var(--bg-accent);
}

.bg-ab-contact .bg-prj-contact__submit {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
}

.bg-ab-contact .bg-prj-contact__agree {
  grid-column: 1;
  grid-row: 3;
  margin-top: 0;
}

@media (max-width: 1200px) {
  .bg-ab-numbers__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bg-ab-numbers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bg-ab-projects-slider .swiper-slide {
    width: min(300px, calc((100vw - 140px) / 2.5));
  }

  .bg-ab-team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bg-ab-certs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bg-ab-sideblock {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bg-ab-sideblock__aside h2 {
    max-width: none;
  }

  .bg-ab-steps__track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 8px;
  }

  .bg-ab-step {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 140px;
  }

  .bg-ab-step__arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .bg-ab-mission__layout,
  .bg-ab-production__grid {
    grid-template-columns: 1fr;
  }

  .bg-ab-values {
    grid-template-columns: 1fr;
  }

  .bg-ab-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .bg-ab-gallery__item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }

  .bg-ab-gallery__item:nth-child(2),
  .bg-ab-gallery__item:nth-child(3),
  .bg-ab-gallery__item:nth-child(4),
  .bg-ab-gallery__item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 140px;
  }

  .bg-ab-projects-slider .swiper-slide {
    width: min(280px, calc(100vw - 96px));
    padding-right: 16px;
  }

  .bg-ab-contact .bg-prj-contact__fields {
    grid-template-columns: 1fr;
  }

  .bg-ab-contact .bg-prj-contact__field-name,
  .bg-ab-contact .bg-prj-contact__field-phone,
  .bg-ab-contact .bg-prj-contact__field-message,
  .bg-ab-contact .bg-prj-contact__submit,
  .bg-ab-contact .bg-prj-contact__agree {
    grid-column: 1;
    grid-row: auto;
  }

  .bg-ab-partners__logos {
    justify-content: flex-start;
    gap: 20px 16px;
  }

  .bg-ab-partner {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 100px;
  }

  .bg-ab-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bg-ab-gallery__item {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 140px;
  }

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

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

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

  .bg-ab-steps__track {
    grid-template-columns: 1fr;
  }
}
