/* =============================================
   Про нас — about.css
   ============================================= */

/* ── Hero ── */
.about-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 var(--padding-x);
    margin-bottom: 192px;
}

.about-hero__content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: calc(50% - 12px);
}

.about-hero__body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-hero__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-hero__list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-hero__list-item img {
    flex-shrink: 0;
}

.about-hero__image {
    width: calc(50% - 12px);
    height: 621px;
    border-radius: 32px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* ── Feature cards ("Чому ми") ── */
.about-features {
    padding: 0 var(--padding-x);
    margin-bottom: 192px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
    align-content: flex-start;
}

.about-features__title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc((100% - 2 * 24px) / 3);
    justify-content: center;
}

.about-feature-card {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 48px;
    background: var(--bg_beige);
    border-radius: 24px;
    width: calc((100% - 2 * 24px) / 3);
}

.about-feature-card__icon {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border: 1px solid var(--light);
    border-radius: 32px;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.about-feature-card__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--black);
}

/* ── Badge — duplicate styles removed; .badge and .badge.white are in ui.css ── */

/* ── For Whom ── */
.about-forwho {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 var(--padding-x);
    margin-bottom: 192px;
}

.about-forwho__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex-shrink: 0;
    width: calc(50% - 12px);
}

.about-forwho__img {
    width: 100%;
    aspect-ratio: 402 / 302;
    object-fit: cover;
    border-radius: 24px;
}

.about-forwho__content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: calc(50% - 12px);
    justify-content: center;
}

.about-forwho__title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-forwho__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Team ── */
.about-team {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    padding: 0 var(--padding-x);
    margin-bottom: 192px;
}

.about-team__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.about-team__swiper-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.about-team__swiper {
    width: 100%;
    overflow: hidden;
}

.about-team__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-team__card-image {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
}

.about-team__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-team__card-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Team Navigation ── */
.about-team__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: fit-content;
    margin: 0 auto;
}

.about-team__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 9px;
    border-radius: 24px;
    border: 0.75px solid rgba(31, 27, 22, 0.4);
    background: transparent;
    cursor: pointer;
    box-shadow: 0 0 7.5px 0 rgba(31, 27, 22, 0.15);
    transition: border-color 0.2s, opacity 0.2s;
    box-sizing: border-box;
    flex-shrink: 0;
}

.about-team__nav-btn:hover {
    border-color: var(--black);
    opacity: 1;
}

.about-team__nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

.about-team__pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-team__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--dark_beige);
    border-radius: 999px;
    opacity: 1;
    transition: width 0.2s, background 0.2s;
}

.about-team__pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--dark);
}

/* ── Sale CTA — uses .promo-single__sale from promotions.css ──
   Load promotions.css on this page too (handled in functions.php enqueue) */

@media (max-width: 768px) {
  /* ── Hero ── */
  .about-hero {
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
    margin-bottom: 64px;
  }
  .about-hero__content,
  .about-hero__image {
    width: 100%;
  }
  .about-hero__image {
    height: 270px;
    border-radius: 16px;
  }
  .about-hero__image img {
    border-radius: 16px;
  }
  .about-hero .button {
    width: 100%;
    justify-content: center;
  }

  /* ── Feature cards ── */
  .about-features {
    flex-direction: column;
    padding: 0 16px;
    margin-bottom: 64px;
    gap: 16px;
  }
  .about-features__title,
  .about-feature-card {
    width: 100%;
  }
  .about-feature-card {
    padding: 32px 24px;
    gap: 32px;
    border-radius: 16px;
  }

  /* ── For whom ── */
  .about-forwho {
    flex-direction: column;
    padding: 0 16px;
    margin-bottom: 64px;
    gap: 32px;
  }
  .about-forwho__content {
    width: 100%;
    order: -1;
  }
  .about-forwho__images {
    width: 100%;
    gap: 12px;
  }
  .about-forwho__img {
    border-radius: 12px;
  }

  /* ── Team ── */
  .about-team {
    padding: 0 16px;
    margin-bottom: 64px;
    gap: 32px;
  }
  .about-team__card-image {
    border-radius: 16px;
  }
  .about-team__card-text {
    align-items: center;
    text-align: center;
  }
}
