/* ============================================================
   sales-modules.css — Sales Modules section
   Pixel-faithful to Figma node 55:1145
   Breakpoints: 1024px (tablet), 599px (mobile)
   ============================================================ */

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

/* ---- Section shell ---------------------------------------- */
.bs-sales-modules {
  background: #ffffff;
  padding: clamp(56px, 6.25vw, 100px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 3.5vw, 56px);
}

/* ---- Section heading -------------------------------------- */
.bs-sales-modules__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.375vw, 54px);
  color: #21254a;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
  width: 100%;
  max-width: 1268px;
}

/* ---- Module list ------------------------------------------ */
.bs-sales-modules__list {
  width: 100%;
  max-width: 1268px;
  display: flex;
  flex-direction: column;
  gap: 39px;
  margin: 0 auto;
}

/* ---- Each module row -------------------------------------- */
/*
  Figma layout per row:
    flex-direction: row, gap: 56px, align-items: stretch
    padding-right: 40px (content side)
    image: 406px wide, self-stretch (full row height)
    content: flex-1, padding: 56px 0
*/
.bs-sales-modules__row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 56px;
  padding-right: 40px;
  overflow: hidden;
}

/* Odd rows — blue background (modules 1, 3, 5) */
.bs-sales-modules__row:nth-child(odd) {
  background: #59acf8;
}

/* Even rows — white background with blue border (modules 2, 4, 6) */
.bs-sales-modules__row:nth-child(even) {
  background: #ffffff;
  border: 1px solid #59acf8;
}

/* ---- Image column ---------------------------------------- */
.bs-sales-modules__image-wrap {
  width: 406px;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  position: relative;
}

.bs-sales-modules__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Text column ----------------------------------------- */
.bs-sales-modules__content {
  flex: 1 0 0;
  min-width: 0;
  padding: clamp(32px, 3.5vw, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

/* ---- Module title ---------------------------------------- */
.bs-sales-modules__module-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 24px);
  color: #000000;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
}

/* ---- Bullet list ----------------------------------------- */
.bs-sales-modules__bullets {
  list-style: disc;
  padding-left: 33px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bs-sales-modules__bullets li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.375vw, 22px);
  color: #000000;
  line-height: 1.55;
}

/* ============================================================
   RESPONSIVE — 1024px (tablet): narrower, image stays left
   ============================================================ */
@media (max-width: 1024px) {
  .bs-sales-modules {
    padding: clamp(48px, 5vw, 80px) clamp(20px, 4vw, 64px);
  }

  .bs-sales-modules__row {
    gap: 32px;
    padding-right: 24px;
  }

  .bs-sales-modules__image-wrap {
    width: clamp(180px, 30vw, 320px);
  }
}

/* ============================================================
   RESPONSIVE — 599px (mobile): image stacks above text
   ============================================================ */
@media (max-width: 599px) {
  .bs-sales-modules {
    padding: 48px 20px;
    gap: 24px;
  }

  .bs-sales-modules__row {
    flex-direction: column;
    gap: 0;
    padding-right: 0;
  }

  /* Image sits on top at mobile */
  .bs-sales-modules__image-wrap {
    width: 100%;
    height: 240px;
    flex-shrink: 0;
    position: relative;
    align-self: auto;
  }

  .bs-sales-modules__image {
    position: absolute;
  }

  .bs-sales-modules__content {
    padding: 28px 20px;
  }

  .bs-sales-modules__module-name {
    font-size: 18px;
  }

  .bs-sales-modules__bullets li {
    font-size: 15px;
  }
}
