/* =====================================================
   sales-hero.css — BuddieSpace Sales Hero Section
   Matches Figma node 55:1079 (file wpkxELWVlzeoRjthUL7RQ4)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;900&display=swap');

/* ---- Wrapper ---- */
.sales-hero-wrapper {
  background-color: #59acf8;
  overflow: hidden;
}

/* ---- Section layout: side-by-side flex row ---- */
.sales-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 728px;
  padding-left: clamp(24px, 6.67vw, 96px);
  position: relative;
}

/* ---- Left content ---- */
.sales-hero__content {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: clamp(48px, 6.94vw, 100px);
  padding-bottom: clamp(48px, 6.94vw, 100px);
  padding-right: clamp(24px, 4vw, 64px);
}

/* ---- Heading block ---- */
.sales-hero__heading-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sales-hero__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 3.89vw, 56px);
  color: #21254a;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.sales-hero__subheading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.22vw, 32px);
  color: #21254a;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
}

/* ---- Body text ---- */
.sales-hero__body-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sales-hero__body-block p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  color: #21254a;
  line-height: 1.55;
  letter-spacing: 0;
  margin: 0;
}

/* ---- CTA button ---- */
.sales-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #21254a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  line-height: normal;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  align-self: flex-start;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.sales-hero__cta:hover,
.sales-hero__cta:focus {
  opacity: 0.88;
  color: #ffffff;
  text-decoration: none;
}

/* ---- Right image: fixed 728×728 square, flush to right edge ---- */
.sales-hero__image-wrap {
  flex-shrink: 0;
  width: clamp(300px, 50.56vw, 728px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  align-self: stretch;
}

.sales-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- Responsive: tablet — stack at 1024px ---- */
@media (max-width: 1024px) {
  .sales-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: unset;
    padding-left: 0;
  }

  .sales-hero__content {
    padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 48px);
    padding-right: clamp(24px, 5vw, 48px);
  }

  .sales-hero__image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 480px;
  }

  .sales-hero__cta {
    align-self: flex-start;
  }
}

/* ---- Responsive: mobile — tighten at 599px ---- */
@media (max-width: 599px) {
  .sales-hero__content {
    padding: 40px 20px;
    gap: 24px;
  }

  .sales-hero__heading-block {
    gap: 12px;
  }

  .sales-hero__cta {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }

  .sales-hero__image-wrap {
    max-height: 320px;
  }
}
