/* About page sections. */

.about-story {
  min-height: 0;
  padding-block: 60px;
}

.about-story__head h2,
.about-values__head h2 {
  margin-top: 19px;
}

.about-story__grid {
  display: grid;
  gap: 31px;
  margin-top: 32px;
}

.about-story__media {
  width: 100%;
  height: 240px;
  border-radius: 8px;
  background: #e5e5e5;
}

.about-story__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: rgba(2, 28, 76, .8);
  font-size: 15px;
  line-height: 22px;
}

.about-values {
  min-height: 0;
  padding-block: 60px;
  background: var(--light-gray);
}

.about-values__grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  min-height: 144px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
}

.value-card__bar {
  width: 40px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--yellow);
}

.value-card h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 32px;
}

.value-card p {
  margin-top: 4px;
  color: rgba(2, 28, 76, .8);
  font-size: 15px;
  line-height: 20px;
}

.about-cta {
  position: relative;
  min-height: 444px;
  margin-top: 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.about-cta::before,
.about-cta::after {
  position: absolute;
  inset: 0;
  content: '';
}

.about-cta::before {
  background: url('../img/photos/contact-cta-bg.jpg') center / cover no-repeat;
}

.about-cta::after {
  background: rgba(0, 51, 153, .82);
}

.about-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 690px;
  padding-block: 70px;
  flex-direction: column;
  align-items: center;
}

.about-cta h2 {
  margin-top: 19px;
}

.about-cta .section-label,
.about-cta .is-muted {
  color: var(--white);
}

.about-cta__inner > p:not(.section-label) {
  max-width: 390px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 20px;
}

.about-cta .btn {
  margin-top: 32px;
}

@media (min-width: 992px) {
  .about-story {
    height: auto;
    min-height: 668px;
    padding-block: 96px;
  }

  .about-story__head h2,
  .about-values__head h2 {
    margin-top: 18px;
  }

  .about-story__grid {
    margin-top: 28px;
    grid-template-columns: 588px 588px;
    gap: 64px;
  }

  .about-story__media {
    height: 360px;
  }

  .about-story__text {
    padding-top: 8px;
    gap: 16px;
    font-size: 16px;
    line-height: 26px;
  }

  .about-values {
    height: auto;
    min-height: 396px;
    padding-block: 40px;
  }

  .about-values__grid {
    margin-top: 28px;
    grid-template-columns: repeat(3, 405px);
    gap: 24px;
  }

  .value-card p {
    font-size: 16px;
    line-height: 24px;
  }

  .about-cta {
    height: auto;
    min-height: 444px;
  }

  .about-cta__inner {
    width: 690px;
    margin-right: 0;
    margin-left: calc(50vw - 345px);
    padding-block: 96px;
  }

  .about-cta h2 {
    margin-top: 24px;
  }

  .about-cta__inner > p:not(.section-label) {
    max-width: 640px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
  }

  .about-cta .btn {
    margin-top: 40px;
  }
}
