/* about.css — Home about section */

.about {
  max-width: 1440px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--page-px);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__heading {
  font-size: 42px;
  font-weight: var(--fw-light);
  line-height: 51px;
  letter-spacing: -0.21px;
  color: var(--color-forest);
}

.about__layout {
  display: flex;
  gap: clamp(40px, 10vw, 133px);
  align-items: flex-start;
}

/* ---- Left image ---- */
.about__img {
  flex: 1 1 0;
  min-width: 0;
  height: 565px;
  overflow: hidden;
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---- Right content ---- */
.about__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__subheading {
  font-size: 36px;
  font-weight: var(--fw-extralight);
  line-height: 45px;
  letter-spacing: -0.72px;
  color: var(--color-forest);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.about__body p {
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 27px;
  color: var(--color-forest);
}

.about__content .btn {
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFFFFF;
  align-self: flex-start;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .about__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .about__layout {
    gap: 60px;
  }

  .about__img {
    height: 450px;
  }

  .about__subheading {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .about__heading {
    font-size: 26px;
    line-height: 34px;
  }

  .about__layout {
    flex-direction: column;
    gap: var(--space-md);
  }

  .about__img {
    flex: none;
    width: 100%;
    height: 300px;
  }

  .about__subheading {
    font-size: 24px;
    line-height: 32px;
  }

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