/* Homepage About section — clean split layout */
.about-home {
  position: relative;
  overflow: hidden;
}

.about-home__media {
  position: relative;
  padding-inline-end: 24px;
  padding-block-end: 24px;
}

.about-home__image-wrap {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(5, 26, 37, 0.12);
}

.about-home__image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.about-home__image-wrap:hover .about-home__image {
  transform: scale(1.04);
}

.about-home__accent {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  width: 72%;
  height: 72%;
  border-radius: 24px;
  background: var(--theme-color-light);
  z-index: 0;
}

.about-home__stat-card {
  position: absolute;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--theme-color-white);
  border: 1px solid rgba(131, 38, 30, 0.12);
  box-shadow: 0 12px 32px rgba(5, 26, 37, 0.1);
}

.about-home__stat-number {
  font-family: var(--style-font);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--theme-color1);
}

.about-home__stat-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--theme-color-gray);
  letter-spacing: -0.01em;
}

.about-home__content {
  padding-inline-start: clamp(0px, 2vw, 24px);
}

.about-home__title {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 100%;
  line-height: 1.25;
}

.about-home__text {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(34, 34, 34, 0.78);
  max-width: 540px;
}

.about-home__text p:last-child {
  margin-bottom: 0;
}

.about-home__actions {
  margin-top: 32px;
}

@media (max-width: 991.98px) {
  .about-home__media {
    padding-inline-end: 16px;
    padding-block-end: 16px;
    margin-top: 8px;
  }

  .about-home__content {
    padding-inline-start: 0;
  }

  .about-home__stat-card {
    inset-inline-start: 16px;
    inset-block-end: 16px;
    padding: 16px 20px;
  }
}

@media (max-width: 575.98px) {
  .about-home__image {
    min-height: 280px;
  }

  .about-home__text {
    font-size: 16px;
  }
}

/* RTL adjustments */
html[dir="rtl"] .about-home__actions .theme-btn .icon {
  transform: scaleX(-1);
}
