/**
 * KALIPSO — страница «О компании»
 * Соответствует стилю проекта, золотой акцент точечно
 */

/* ========== Заголовки секций (золотая линия) ========== */
.about-section__title {
  margin: 0 0 var(--s-2);
  padding-bottom: var(--s-2);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  border-bottom: 3px solid var(--gold-accent);
  display: inline-block;
}

/* ========== 1. Hero ========== */
.about-hero {
  padding-block: 80px;
  background: var(--bg);
}
@media (max-width: 768px) {
  .about-hero { padding-block: 56px; }
}
.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 900px) {
  .about-hero__inner { grid-template-columns: 1fr; }
}
.about-hero__title {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.about-hero__lead {
  margin: 0 0 var(--s-5);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--muted);
  max-width: 560px;
}
.about-hero__bullets {
  margin: 0 0 var(--s-5);
  padding: 0;
  list-style: none;
}
.about-hero__bullets li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: var(--s-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
}
.about-hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-accent);
}
.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}
.about-hero__actions .btn-outline:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}
.about-hero__hint {
  width: 100%;
  margin: var(--s-2) 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.about-hero__visual {
  min-height: 320px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.about-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}
.about-hero-slider .swiper-slide {
  height: auto;
}
.about-hero-slide {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-100);
}
.about-hero-slide img {
  flex: 1;
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.about-hero-slide__cap {
  padding: var(--s-2) var(--s-3);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.about-hero-slider__pagination {
  position: absolute;
  bottom: 2.75rem;
  left: 0;
  right: 0;
  z-index: 2;
}
.about-hero-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}
.about-hero-slider .swiper-pagination-bullet-active {
  background: var(--gold-accent);
}

/* ========== 2. Готовые проекты ========== */
.about-section__sub {
  margin: 0 0 var(--s-6);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}
.about-complete__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s-6);
}
.about-complete-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-complete-card:hover {
  border-color: rgba(11, 61, 145, 0.2);
  box-shadow: var(--shadow-sm);
}
.about-complete-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.about-complete-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-complete-card__body {
  padding: var(--s-5);
}
.about-complete-card__title {
  margin: 0 0 var(--s-2);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
.about-complete-card__meta {
  margin: 0 0 var(--s-3);
  font-size: 0.75rem;
  color: var(--gold-accent);
  font-weight: 600;
}
.about-complete-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ========== 3. Факты о компании (карточки с картинками) ========== */
.about-facts {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.about-facts .about-section__title {
  margin-bottom: var(--s-6);
}
.about-facts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
@media (max-width: 768px) {
  .about-facts__grid { grid-template-columns: 1fr; }
}
.about-facts-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-facts-card:hover {
  border-color: rgba(11, 61, 145, 0.2);
  box-shadow: var(--shadow-sm);
}
.about-facts-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.about-facts-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-facts-card__body {
  padding: var(--s-5);
  flex: 1;
}
.about-facts-card__title {
  margin: 0 0 var(--s-3);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
.about-facts-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ========== 3. Принципы — карточки короче ========== */
.about-principles {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.about-principles .card-soft__title {
  min-height: auto;
}

/* ========== 4. Что мы строим ========== */
.about-pools {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.about-pools__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-7) var(--s-8);
}
@media (max-width: 768px) {
  .about-pools__grid { grid-template-columns: 1fr; }
}
.about-pool-type__title {
  margin: 0 0 var(--s-4);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
.about-pool-type__list {
  margin: 0;
  padding: 0 0 0 1.2em;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}
.about-pool-type__list li {
  margin-bottom: var(--s-2);
  position: relative;
}
.about-pool-type__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-accent);
}

/* ========== 5. Как проходит работа ========== */
.about-process {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.about-process__list {
  margin: 0;
  padding-left: 1.4em;
  max-width: 640px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}
.about-process__list li {
  margin-bottom: var(--s-3);
}
.about-process__list li:last-child { margin-bottom: 0; }

/* ========== 6. Доказательства ========== */
.about-proofs {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.about-proofs .card-soft__title {
  min-height: auto;
}
