/* MotorCart About Us — matches web and mobile designs */

.about-us-page {
  background-color: #ffffff;
  min-height: 100vh;
  font-family: var(--font-body);
}

.about-us-page *,
.about-us-page *::before,
.about-us-page *::after {
  box-sizing: border-box;
}

.about-split__title,
.about-driveway__title,
.about-help__title {
  scroll-margin-top: 100px;
}

/* Shared section titles */
.about-split__title,
.about-driveway__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 20px;
}

.about-split__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--color-brand);
  margin: 12px auto 0;
}

.about-split__paragraph,
.about-driveway__paragraph {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #333333;
  margin: 0 0 16px;
}

.about-split__paragraph:last-child,
.about-driveway__paragraph:last-child {
  margin-bottom: 0;
}

.about-split__paragraph strong {
  font-weight: 700;
  color: var(--color-brand-dark);
}

/* Image + text sections (hero and purpose) */
.about-split {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.about-split__media {
  width: 100%;
}

.about-split__media .static-picture,
.about-split__media img,
.about-split__img {
  display: block;
  width: 100%;
  height: auto;
}

.about-split__text {
  padding: 32px 20px 48px;
  text-align: center;
}

/* Driveway overlay: copy sits on the pale area of the source image */
.about-driveway {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.about-driveway__media {
  order: 2;
  width: 100%;
}

.about-driveway__media .static-picture,
.about-driveway__media img,
.about-driveway__img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center bottom;
}

.about-driveway__text {
  position: relative;
  order: 1;
  padding: 32px 20px 8px;
  text-align: center;
}

.about-driveway__title {
  display: inline-block;
}

.about-driveway__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--color-brand);
  margin: 12px auto 0;
}

.about-driveway__paragraph {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 8px;
}

/* Contact / help */
.about-help {
  background: var(--color-brand-accent);
  padding: 56px 20px;
  color: #ffffff;
}

.about-help__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.about-kicker::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: #ffffff;
  margin: 10px auto 0;
}

.about-help__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 18px 0 36px;
}

.about-help__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.about-help__card {
  background: var(--color-brand);
  border-radius: 12px;
  padding: 28px 20px;
}

.about-help__icon,
.about-help__row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 14px;
}

.about-help__icon {
  background: #ffffff;
  color: var(--color-brand);
}

.about-help__row-icon {
  background: var(--color-brand);
  color: #ffffff;
}

.about-help__icon svg,
.about-help__row-icon svg {
  width: 22px;
  height: 22px;
}

.about-help__label,
.about-help__row-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px;
}

.about-help__value,
.about-help__row-value {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  word-break: break-word;
}

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

.about-help__row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-help__row-icon {
  margin-bottom: 12px;
  flex: 0 0 auto;
}

.about-help__row-value {
  font-weight: 400;
  line-height: 1.6;
}

.about-help__address {
  font-style: normal;
}

.about-help__address p {
  margin: 0;
}

@media (min-width: 768px) {
  .about-split__text,
  .about-driveway__text {
    padding-left: 48px;
    padding-right: 48px;
  }

  .about-split__title,
  .about-driveway__title {
    font-size: 34px;
  }

  .about-split__paragraph,
  .about-driveway__paragraph {
    font-size: 16px;
  }

  .about-split__title::after,
  .about-driveway__title::after {
    width: 120px;
    margin: 14px auto 0;
  }

  .about-driveway__media .static-picture,
  .about-driveway__media img,
  .about-driveway__img {
    height: 360px;
  }

  .about-help {
    padding: 72px 40px;
  }

  .about-help__title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .about-help__cards {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
  }

  .about-help__card {
    flex: 1 1 220px;
    max-width: 280px;
    padding: 32px 24px;
  }

  .about-help__rows {
    max-width: calc(280px * 2 + 24px);
    margin: 0 auto;
    gap: 28px;
  }

  .about-help__row {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .about-help__row-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .about-split {
    flex-direction: row;
    align-items: center;
    gap: 72px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 88px 48px;
  }

  .about-split--purpose {
    flex-direction: row-reverse;
  }

  .about-split__media,
  .about-split__text {
    flex: 1 1 0;
    min-width: 0;
  }

  .about-split__text {
    padding: 0;
    text-align: left;
  }

  .about-split__title::after,
  .about-driveway__title::after {
    width: 180px;
    margin: 16px auto 0;
  }

  .about-split__title::after {
    margin-left: 0;
    margin-right: 0;
  }

  .about-split__title,
  .about-driveway__title {
    font-size: 44px;
  }

  .about-driveway {
    display: block;
  }

  .about-driveway__media {
    order: unset;
  }

  .about-driveway__media .static-picture,
  .about-driveway__media img,
  .about-driveway__img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .about-driveway__text {
    position: absolute;
    top: auto;
    bottom: 12%;
    left: 50%;
    right: auto;
    z-index: 1;
    order: unset;
    padding: 0;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 80px));
  }

  .about-help {
    padding: 88px 24px;
  }
}

@media (prefers-contrast: high) {
  .about-split__media img,
  .about-driveway__media img {
    border: 2px solid #000;
  }
}

@media print {
  .about-split__media,
  .about-driveway__media {
    display: none;
  }

  .about-help {
    background: #ffffff;
    color: #000000;
  }
}
