/* Extra styles for «جلسة تحليل العلاقة» (coaching.html). */

.topbar { position: static; }   /* scrolls away with the page, like /maktaba */
.hero h1 { margin-top: 6px; }
.kicker { display: table; margin: 0 auto 6px; padding: 4px 14px 3px; border-radius: 99px; background: var(--red); color: #fff; font-size: var(--fs-xs); font-weight: 800; line-height: 1.5; }
/* «السعر الافتتاحي» next to the price */
.price .opening { background: var(--red); color: #fff; border-radius: 6px; padding: 5px 9px 4px; font-size: var(--fs-xs); font-weight: 800; line-height: 1.2; white-space: nowrap; }
.hero .lead { color: var(--ink); max-width: 360px; margin: 10px auto 0; line-height: 1.7; text-wrap: balance; }
.hero .lead b { color: var(--red); }
.topics { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 6px; margin-top: 14px; }   /* 2 × 2 on phones */
.topics li { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px 4px; font-size: 13px; font-weight: 800; line-height: 1.4; color: var(--ink); }

/* hero card: what the session is */
.session { position: relative; max-width: 300px; margin: 34px auto 26px; }
.session-card { background: var(--card); border: 2px solid var(--red); border-radius: 20px; padding: 20px 20px 18px; box-shadow: var(--shadow); }
.sc-time { display: grid; justify-items: center; color: var(--muted); font-size: var(--fs-sm); font-weight: 800; line-height: 1.2; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); }
.sc-time b { font: 800 56px/1 var(--num); color: var(--red); }
.session-card ul { display: grid; gap: 10px; text-align: start; }
.session-card li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 800; line-height: 1.4; }
.session-card svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.session .sticker { top: -22px; left: -14px; rotate: -10deg; }

/* 4 trust items: 2 × 2, a divider only between the two items of a row (same as /maktaba) */
.assure { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; row-gap: 8px; }
.assure li + li { border-inline-start: 0; }
.assure li:nth-child(even) { border-inline-start: 1px solid #e6bcc1; }

/* what she gets: 3 cards */
.gets { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }
.gets li { background: var(--card); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.gets b { display: block; color: var(--red); font-size: var(--fs-md); }

/* how to book: numbered steps */
.steps { counter-reset: step; display: grid; gap: 12px; max-width: 460px; margin: 0 auto; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 46px; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-content: center; background: var(--red); color: #fff; font: 800 16px/1 var(--num);
}
.steps b { display: block; color: var(--ink); font-size: var(--fs-md); }

/* «الالتزام بالموعد» */
.commit { max-width: 460px; margin: 20px auto 0; padding: 16px 18px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.commit-title { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; font: 800 var(--fs-md)/1.4 Tajawal, system-ui, sans-serif; color: var(--red); }
.commit-title svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.commit ul { display: grid; gap: 8px; }
.commit li { position: relative; padding-inline-start: 18px; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.commit li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.offer-title { font: 700 26px/1.3 var(--display); color: var(--red); }
.offer-sub { font-size: var(--fs-sm); color: var(--muted); margin: 2px 0 14px; }
.sticky-len { color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 860px) {
  .hero .lead { margin-inline: 0; max-width: 400px; }
  .hero .kicker { margin-inline: 0; }
  .hero .topics { display: flex; justify-content: flex-start; }   /* one row on desktop */
  .hero .session { grid-column: 2; grid-row: 1 / span 7; width: 100%; max-width: 340px; margin: 0 auto; }
  .gets { max-width: 760px; grid-template-columns: repeat(3, 1fr); }
  .steps { max-width: 760px; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 18px; }
}

/* «المواعيد المتاحة» under the steps */
.avail {
  max-width: 460px; margin: 20px auto 0; padding: 12px 16px; text-align: center; line-height: 1.7; font-size: var(--fs-sm);
  color: var(--muted); border: 2px dashed var(--line); border-radius: 16px;
}
.avail b { display: block; color: var(--red); font-size: var(--fs-md); }

/* «المواعيد المتاحة»: month calendar of the coach's live free times (read from her Calendly), tap 2 */
.see-times { display: block; width: fit-content; margin: 12px auto 0; font-size: var(--fs-sm); font-weight: 800; color: var(--red); text-underline-offset: 4px; }
@media (min-width: 860px) { .hero .see-times { margin-inline: 0; } }
.times .sub { margin-bottom: 14px; }
.slots-loading { padding: 24px 0; text-align: center; color: var(--muted); }
.calbox { max-width: 460px; margin: 0 auto; padding: 16px 14px 18px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { font: 800 var(--fs-lg)/1.3 Tajawal, system-ui, sans-serif; color: var(--ink); }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--red); font: 800 18px/1 Tajawal, system-ui, sans-serif; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-wd { margin-bottom: 6px; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.cal-day {
  aspect-ratio: 1; display: grid; place-content: center; padding: 0; position: relative; cursor: pointer;
  font: 800 15px/1 var(--num); border-radius: 10px; border: 1.5px solid transparent;
}
.cal-day.free { background: #fff; color: var(--red); border-color: #e9b9be; }
.cal-day.busy { background: #f4e6e8; color: #b9a4a7; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cal-day:disabled { background: transparent; color: #d6c7c9; text-decoration: none; cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--muted); }
.cal-day.sel { background: var(--red); border-color: var(--red); color: #fff; text-decoration: none; }
.cal-day.busy.sel { background: #b9a4a7; border-color: #b9a4a7; }
.cal-day.has-pick::after { content: ""; position: absolute; bottom: 5px; left: 50%; translate: -50% 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.cal-day:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .cal-day.free:not(.sel):hover { border-color: var(--red); } }
.cal-legend { display: flex; justify-content: center; gap: 14px; margin: 12px 0 4px; font-size: var(--fs-xs); color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 5px; }
.cal-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; }
.lg-free::before { background: #fff; border: 1.5px solid #e9b9be; }
.lg-busy::before { background: #f4e6e8; }
.lg-pick::before { background: var(--red); }
.day-times { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.day-title { margin-bottom: 10px; text-align: center; font-weight: 800; font-size: var(--fs-sm); }
.slot-times { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.slot {
  min-width: 84px; padding: 9px 10px; cursor: pointer; font: 800 15px/1.2 Tajawal, system-ui, sans-serif; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 10px;
}
.slot[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot.off { background: #f4e6e8; border-color: #f4e6e8; color: #b9a4a7; text-decoration: line-through; cursor: default; }
.slot:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .slot:not(.off):hover { border-color: var(--red); } }
.chosen { max-width: 460px; margin: 16px auto 0; padding: 16px; text-align: center; background: var(--card); border: 2px solid var(--red); border-radius: 16px; box-shadow: 0 10px 30px #a90f1630; }
.chosen-title { font-weight: 800; color: var(--red); }
.chosen ul { display: grid; gap: 2px; margin: 4px 0; font-weight: 800; font-size: var(--fs-sm); }
.chosen-note { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 10px; }
