﻿/* ==========================================================================
   About Page CSS — Единый файл стилей страницы «О компании»
   Подключает общую базу (shared-base.css) и содержит все стили страницы
   ========================================================================== */
@import url("shared-base.css");

/* ==========================================================================
   1. Хлебные крошки
   ========================================================================== */
.breadcrumbs {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumbs__link {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: var(--text-white);
}

.breadcrumbs__separator {
  color: var(--text-muted);
  user-select: none;
}

.breadcrumbs__current {
  color: var(--accent-green);
}

/* ==========================================================================
   2. Вступительный блок (Hero о компании)
   ========================================================================== */
.top-bg-wrapper {
  background: transparent;
  position: relative;
}

.about {
  padding: 120px 0 30px 0;
  position: relative;
  z-index: 5;
  background-color: transparent;
}

.about .about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
  position: relative;
}

.about .about__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

.about .about__text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 440px;
}

/* Факты */
.about .about__facts {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: auto;
  margin-bottom: 16px;
}

.about .about__fact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about .about__fact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(210, 236, 43, 0.08);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(210, 236, 43, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about .about__fact:hover .about__fact-icon {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(210, 236, 43, 0.4);
}

.about .about__fact-info {
  display: flex;
  flex-direction: column;
}

.about .about__fact-number {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.about .about__fact-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 190px;
}

.about .about__facts-divider {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.12);
}

.about .about__image-wrap {
  position: relative;
  z-index: 1;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  display: flex;
  min-height: 380px;
  margin-left: -120px;
  width: calc(100% + 120px);
}

.about .about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   3. Текстовый блок-описание компании
   ========================================================================== */
.about-description {
  padding: 15px 0 10px 0;
  background-color: transparent;
}

.about-description__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 100%;
}

.about-description__text:last-child {
  margin-bottom: 0;
}

.about-description__text strong {
  color: var(--text-white);
  font-weight: 600;
}

/* ==========================================================================
   4. Универсальные текстовые секции о компании
   ========================================================================== */
.about-section {
  padding: 40px 0;
  background-color: var(--bg-main);
}

.about-section__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.about-section__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 100%;
}

.about-section__text:last-child {
  margin-bottom: 0;
}

.about-section__text strong {
  color: var(--text-white);
  font-weight: 600;
}

.about-section__subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 24px;
  margin-bottom: 12px;
}

.about-section__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.about-section__list li {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.about-section__list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.about-section__block {
  margin-bottom: 16px;
}

.about-section__block-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  display: inline;
}

.about-section__block-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   5. Галереи
   ========================================================================== */
.about-gallery {
  padding: 10px 0;
  background-color: var(--bg-main);
}

.about-gallery .container {
  max-width: 1120px;
  width: 80%;
  padding: 0;
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.about-gallery__item:hover {
  border-color: rgba(210, 236, 43, 0.2);
}

.about-gallery__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-gallery__item:hover .about-gallery__img {
  transform: scale(1.03);
}

.about-gallery__item--mobile-only {
  display: none;
}

/* ==========================================================================
   Адаптивные стили для страницы «О компании»
   ========================================================================== */
@media (max-width: 992px) {
  .breadcrumbs {
    padding-top: 0;
    margin-bottom: 16px;
  }

  .breadcrumbs .container,
  .about .about__container,
  .about-description .container,
  .about-section .container,
  .about-gallery .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .about {
    padding: 110px 0 30px 0;
  }

  .about .about__container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about .about__text {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .about .about__image-wrap {
    display: none;
  }

  .about-page__title {
    font-size: 28px;
  }

  .about-section {
    padding: 30px 0;
  }

  .about-section__title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .about-gallery__img {
    height: 220px;
  }
}

@media (max-width: 767px) {
  div.top-bg-wrapper.top-bg-wrapper {
    background: url("../img/hero-bg.webp") no-repeat 10% top;
    background-size: 200% auto;
  }
}

@media (max-width: 576px) {
  .breadcrumbs {
    padding-top: 0;
    margin-bottom: 12px;
  }

  .about {
    padding: 95px 0 30px 0;
  }

  .breadcrumbs__list {
    font-size: 11px;
  }

  .about-page {
    padding: 0 0 30px 0;
  }

  .about-page__title {
    font-size: 24px;
  }

  .about .about__facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about .about__facts-divider {
    display: none;
  }

  .about .about__fact-number {
    font-size: 32px;
  }

  .breadcrumbs .container,
  .about .about__container,
  .about-description .container,
  .about-section .container,
  .about-gallery .container {
    padding: 0 16px;
  }

  .about .about__image-wrap {
    display: none;
  }

  .about-section {
    padding: 24px 0;
  }

  .about-section__title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .about-section__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-section__list li {
    font-size: 16px;
  }

  .about-description {
    padding: 20px 0 10px 0;
  }

  .about-description__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-gallery__img {
    height: 200px;
  }

  .about-gallery {
    padding: 8px 0;
  }
}

@media (max-width: 992px) {

  .about-gallery--desktop-only,
  .about-gallery__item--desktop-only {
    display: none;
  }

  .about-gallery__item--mobile-only {
    display: block;
    margin-top: 16px;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-gallery__item--mobile-only .about-gallery__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
}
