/* ============================================================
   SESSIONS - "HOW BOOKING WORKS"
   Scoped to .ses-book / .ses-cal. The calendar replicates the
   become-a-mentor availability card visual in a booking context.
   ============================================================ */

.ses-book {
  background: var(--bg-grey);
  padding-block: 72px;
}

/* Two-column grid: steps left, calendar right */
.ses-book__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
}

/* ------------------------------------------------------------
   Left: copy + steps
   ------------------------------------------------------------ */
.ses-book__eyebrow {
  display: block;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
  -webkit-font-smoothing: antialiased;
}
.ses-book__headline {
  font-family: 'Inter Display', Inter, -apple-system, sans-serif;
  font-size: var(--fs-h2);
  font-weight: var(--fw-heading);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--blue);
  max-width: 18ch;
  margin: 0 0 2rem;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
}

.ses-book__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ses-book__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ses-book__num {
  font-family: 'Inter Display', Inter, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--purple);
  flex-shrink: 0;
  min-width: 28px;
}
.ses-book__step-title {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 2px;
  -webkit-font-smoothing: antialiased;
}
.ses-book__step-desc {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Right: booking calendar (replicates become-a-mentor card)
   ------------------------------------------------------------ */
.ses-book__visual {
  display: flex;
  justify-content: center;
}

.ses-cal-panel {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.ses-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.ses-cal-week {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(50, 74, 109, 0.5);
}

/* Grid — fades up on scroll (matches become-a-mentor calendar) */
.ses-cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  flex: 1;
}
.ses-cal-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: stretch;
}
.ses-cal-day {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(50, 74, 109, 0.45);
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 2px;
}
.ses-cal-slot {
  height: 24px;
  border-radius: 3px;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ses-cal-slot--available {
  background: var(--purple);
  color: #ffffff;
  font-weight: 500;
}
.ses-cal-slot--booked {
  background: rgba(50, 74, 109, 0.15);
  color: rgba(50, 74, 109, 0.4);
}

.ses-cal-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  flex-shrink: 0;
}
.ses-cal-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 9px;
  color: rgba(50, 74, 109, 0.5);
}
.ses-cal-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.ses-cal-swatch--purple { background: var(--purple); }
.ses-cal-swatch--grey   { background: rgba(50, 74, 109, 0.15); }

/* ============================================================
   RESPONSIVE — stack, steps on top, calendar below
   ============================================================ */
@media (max-width: 900px) {
  .ses-book__grid {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .ses-book {
    padding-block: 56px;
  }
  .ses-book__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ses-book__visual {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .ses-book {
    padding-block: 48px;
  }
}
