/* ==========================================================================
   Founder Section  —  Figma node 77:679
   Colors: bg #21254a · white #ffffff · blue accent #59acf8
   ========================================================================== */

.bs-founder {
  background-color: #21254a;
  padding: clamp(60px, 6.94vw, 100px) clamp(24px, 6.67vw, 96px);
}

.bs-founder__inner {
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 3.89vw, 56px);
}

/* ---- Main headline ---- */
/* Figma: "Built by a Physician Who Has Been There" — 54px bold, white, mixed case */
.bs-founder__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.75vw, 54px);
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}

.bs-founder__headline-accent {
  color: #59acf8;
}

/* ---- "OUR FOUNDER" label ---- */
/* Figma: 32px semibold blue, centered */
.bs-founder__label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.22vw, 32px);
  line-height: 1.3;
  text-align: center;
  color: #59acf8;
  margin: 0;
}

/* ---- Founder card (photo + name) ---- */
.bs-founder__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.11vw, 16px);
}

.bs-founder__photo-wrap {
  width: clamp(160px, 20.56vw, 296px);
  height: clamp(160px, 20.56vw, 296px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.bs-founder__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  transform: scale(1.05);
}

/* Figma: 32px semibold white */
.bs-founder__name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.22vw, 32px);
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* ---- Bio paragraph ---- */
/* Figma: 22px regular white, centered, max-width 924px */
.bs-founder__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.55;
  color: #ffffff;
  text-align: center;
  max-width: clamp(300px, 64.17vw, 924px);
  margin: 0;
}

.bs-founder__body p {
  margin: 0;
}

/* ---- CTA Button ---- */
.bs-founder__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #59acf8;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  line-height: 1;
  text-decoration: none;
  border-radius: 8px;
  padding: 16px 32px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.bs-founder__cta:hover {
  background: #3d9ef0;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ==============================================
   TABLET  (≤ 1023 px)
   ============================================== */
@media (max-width: 1023px) {
  .bs-founder__body {
    max-width: 100%;
  }
}

/* ==============================================
   MOBILE  (≤ 599 px)
   ============================================== */
@media (max-width: 599px) {
  .bs-founder {
    padding: 48px 20px 64px;
  }

  .bs-founder__inner {
    gap: 28px;
  }

  .bs-founder__headline {
    font-size: clamp(22px, 6.5vw, 36px);
  }

  .bs-founder__body {
    font-size: clamp(15px, 4.3vw, 18px);
  }
}
