/* "من نحن" teaser on the home page (partials/sections/about_us.html).
   Mirrors the hero of the about page (css/pages/about.css) at section size. */

.home-about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-block: var(--space-6);
  color: var(--text-dark);
}

.home-about-title {
  font-size: 32px;
  font-weight: var(--font-bold);
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--text-dark);
}

.home-about-lead {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.home-about-since {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: var(--font-bold);
  margin-bottom: var(--space-5);
}

.home-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 2px 16px;
  background-color: var(--button);
  color: var(--bg-white);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.home-about-btn:hover {
  color: var(--bg-white);
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.home-about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px 32px 4px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Phones: one column, image on top */
@media (max-width: 767.98px) {
  .home-about {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .home-about-media {
    order: -1;
  }

  .home-about-text {
    text-align: center;
  }

  .home-about-since {
    justify-content: center;
  }

  .home-about-title {
    font-size: 26px;
  }

  .home-about-lead {
    font-size: 16px;
  }

  .home-about-since {
    font-size: 16px;
  }
}
