/* ============================================================
   SkillBeings – Who Is This For Widget Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ---- VARIABLES ---- */
.sb-who-section {
  --sb-green:     #1b5e42;
  --sb-green-mid: #17362a;
  --sb-lime:      #6fcf97;
  --sb-orange:    #e8692a;
  --sb-white:     #ffffff;
  --sb-text:      #1a1a1a;
  --sb-muted:     #6b7280;
  --sb-serif:     'Playfair Display', Georgia, serif;
  --sb-sans:      'DM Sans', system-ui, sans-serif;

  font-family: var(--sb-sans);
  background-color: #f5f3ef;
  width: 100%;
  box-sizing: border-box;
}

/* ---- WRAPPER ---- */
.sb-who-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ---- BG BLOBS ---- */
.sb-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.sb-blob-green {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(111,207,151,0.12) 0%, transparent 70%);
}
.sb-blob-orange {
  width: 350px; height: 350px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(232,105,42,0.08) 0%, transparent 70%);
}

/* ---- HEADER FLEXBOX ---- */
.sb-header-flex {
  display: flex;
  flex-direction: row;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.sb-header-full {
  width: 100%;
}

/* ---- EYEBROW ---- */
.sb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sb-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sb-green);
  background-color: rgba(27,94,66,0.08);
  border: 1px solid rgba(27,94,66,0.18);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 20px;
  line-height: 1;
}
.sb-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background-color: #6fcf97;
  animation: sb-pulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes sb-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.4); }
}

/* ---- HEADLINE ---- */
.sb-headline {
  font-family: var(--sb-serif) !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--sb-text);
  letter-spacing: -0.02em;
  margin: 0;
}
.sb-headline em {
  font-style: italic;
  color: var(--sb-green);
}

/* ---- DESCRIPTION ---- */
.sb-desc {
  font-size: 15px;
  font-weight: 400;
  color: var(--sb-muted);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 24px 0;
}

/* ---- STATS ROW ---- */
.sb-stats-row {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
}
.sb-stat-val {
  font-family: var(--sb-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sb-orange);
  line-height: 1;
}
.sb-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--sb-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================================
   CARDS GRID – FLEXBOX
   ============================================================ */
.sb-cards-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

/* ---- CARD BASE ---- */
.sb-card {
  flex: 1 1 0;
  position: relative;
  background-color: var(--sb-white);
  border-radius: 20px;
  padding: 36px 32px 32px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2), box-shadow .35s ease;
  box-sizing: border-box;
}
.sb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

/* Card corner accent */
.sb-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 0 20px 0 80px;
  transition: all .4s ease;
  pointer-events: none;
}
.sb-c1::before { background: rgba(111,207,151,0.15); }
.sb-c2::before { background: rgba(232,105,42,0.12); }
.sb-c3::before { background: rgba(27,94,66,0.10); }
.sb-card:hover::before {
  width: 100%; height: 100%;
  border-radius: 20px;
  opacity: .07;
}

/* Featured card */
.sb-c2 {
  border-color: rgba(27,94,66,0.20) !important;
  box-shadow: 0 4px 24px rgba(27,94,66,0.12) !important;
}

/* ---- CARD NUMBER ---- */
.sb-card-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--sb-serif);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  opacity: .07;
  color: var(--sb-text);
  transition: opacity .3s, transform .3s;
  user-select: none;
  pointer-events: none;
}
.sb-card:hover .sb-card-num {
  opacity: .12;
  transform: scale(1.1);
}

/* ---- ICON WRAP ---- */
.sb-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(.22,.68,0,1.2);
  flex-shrink: 0;
}
.sb-card:hover .sb-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}
.sb-c1 .sb-icon-wrap { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.sb-c2 .sb-icon-wrap { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.sb-c3 .sb-icon-wrap { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.sb-icon-top { margin-top: 18px; }
.sb-icon-wrap svg {
  width: 38px; height: 38px;
}

/* ---- POPULAR BADGE ---- */
.sb-popular-badge {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  background-color: var(--sb-green);
  color: #fff;
  font-family: var(--sb-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
}

/* ---- CARD TAG ---- */
.sb-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sb-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 14px;
  width: fit-content;
  position: relative;
  z-index: 1;
}
.sb-c1 .sb-card-tag { background-color: rgba(232,105,42,0.10); color: #c45a1e; }
.sb-c2 .sb-card-tag { background-color: rgba(27,94,66,0.10);   color: #1b5e42; }
.sb-c3 .sb-card-tag { background-color: rgba(59,130,246,0.10); color: #1d4ed8; }

/* ---- CARD TITLE ---- */
.sb-card-title {
  font-family: var(--sb-serif) !important;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sb-text);
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
}

/* ---- CARD BODY ---- */
.sb-card-body {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--sb-muted);
  line-height: 1.65;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

/* ---- CHIPS ---- */
.sb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.sb-chip {
  font-family: var(--sb-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
  transition: transform .2s;
}
.sb-c1 .sb-chip { background-color: rgba(232,105,42,0.08); color: #b85515; border: 1px solid rgba(232,105,42,0.15); }
.sb-c2 .sb-chip { background-color: rgba(27,94,66,0.08);   color: #1b5e42; border: 1px solid rgba(27,94,66,0.15); }
.sb-c3 .sb-chip { background-color: rgba(59,130,246,0.08); color: #1d4ed8; border: 1px solid rgba(59,130,246,0.15); }
.sb-card:hover .sb-chip { transform: translateY(-1px); }

/* ---- CARD LINK ---- */
.sb-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sb-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .2s;
  position: relative;
  z-index: 1;
}
.sb-c1 .sb-card-link { color: #e8692a; }
.sb-c2 .sb-card-link { color: #1b5e42; }
.sb-c3 .sb-card-link { color: #1d4ed8; }
.sb-card:hover .sb-card-link { gap: 10px; }

/* ============================================================
   CTA BOTTOM BAR
   ============================================================ */
.sb-bottom-bar {
  margin-top: 56px;
  padding: 28px 36px;
  background-color: #17362a;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
}
.sb-bottom-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.sb-bar-content { position: relative; z-index: 1; }
.sb-bar-title {
  font-family: var(--sb-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.sb-bar-title em { font-style: italic; color: #6fcf97; }
.sb-bar-sub {
  font-family: var(--sb-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.sb-bar-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e8692a;
  color: #fff;
  font-family: var(--sb-sans);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color .18s, transform .15s;
}
.sb-bar-btn:hover {
  background-color: #cf5a1e;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .sb-header-flex { gap: 0 48px; }
}

/* Tablet portrait */
@media (max-width: 860px) {
  .sb-header-flex { margin-bottom: 44px; }

  .sb-cards-grid {
    flex-wrap: wrap;
  }
  .sb-card {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  .sb-c3 {
    flex: 1 1 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .sb-blob { display: none; }
  .sb-who-wrap { padding-left: 20px; padding-right: 20px; }

  .sb-headline { font-size: 2rem !important; }
  .sb-stats-row { gap: 20px; }

  .sb-cards-grid { flex-direction: column; }
  .sb-card { flex: none; width: 100%; max-width: 100%; }
  .sb-c3 { max-width: 100%; }
  .sb-card { padding: 28px 22px 24px; }

  .sb-bottom-bar {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
    margin-top: 40px;
  }
  .sb-bar-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .sb-headline { font-size: 1.75rem !important; }
  .sb-stat-val { font-size: 1.4rem; }
}
