/* ================= Contact page: book the free 30-minute call (Wingz booking) ================= */
#custom-book.aw-bk {
  position: relative;
  z-index: 2;
  padding: 170px 24px 130px;
  background: #f5e9d6;
  color: var(--aw-ink);
  font-family: var(--aw-font);
}
#custom-book :is(h2, h3, p, a, span, li, ul, label, button, input, textarea) { font-family: var(--aw-font); }
#custom-book .aw-bk__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
#custom-book .aw-bk__pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin: 0 0 26px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--aw-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}
#custom-book .aw-bk__title {
  margin: 0;
  font-size: min(112px, 7.6vw);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--aw-ink);
}
#custom-book .aw-bk__accent { color: var(--aw-orange); }
#custom-book .aw-bk__intro { max-width: 52ch; margin: 26px 0 0; font-size: 17px; font-weight: 500; line-height: 1.55; color: rgba(18, 17, 51, 0.72); }

/* the card */
#custom-book .aw-bk__card {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 260px;
  max-width: 1160px;
  min-height: 560px;
  margin: 70px auto 0;
  border-left: 3px solid var(--aw-orange);
  background: #fff;
  box-shadow: 0 30px 70px -40px rgba(18, 17, 51, 0.35);
}
#custom-book .aw-bk__card[data-step="form"],
#custom-book .aw-bk__card[data-step="done"] { grid-template-columns: 300px minmax(0, 1fr); }

/* left: who and what */
#custom-book .aw-bk__info { padding: 40px 34px; border-right: 1px solid rgba(18, 17, 51, 0.1); }
#custom-book .aw-bk__face { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
#custom-book .aw-bk__who { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: rgba(18, 17, 51, 0.6); }
#custom-book .aw-bk__svc { margin: 6px 0 0; font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--aw-ink); }
#custom-book .aw-bk__meta { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
#custom-book .aw-bk__meta li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--aw-ink); }
#custom-book .aw-bk__meta svg { flex: none; width: 20px; height: 20px; color: var(--aw-orange); }
#custom-book .aw-bk__desc { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid rgba(18, 17, 51, 0.1); font-size: 15px; font-weight: 500; line-height: 1.6; color: rgba(18, 17, 51, 0.72); }
#custom-book .aw-bk__when { display: none; margin: 22px 0 0; padding: 14px 16px; background: #f5e9d6; font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--aw-ink); }
#custom-book .aw-bk__card:is([data-step="form"], [data-step="done"]) .aw-bk__when { display: block; }

/* middle: the month */
#custom-book .aw-bk__cal { padding: 40px 36px; }
#custom-book .aw-bk__step { margin: 0 0 22px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aw-orange); }
#custom-book .aw-bk__month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
#custom-book .aw-bk__month-name { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--aw-ink); }
#custom-book .aw-bk__nav { display: flex; gap: 8px; }
#custom-book .aw-bk__arrow {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(18, 17, 51, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--aw-ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
#custom-book .aw-bk__arrow:hover:not(:disabled) { border-color: var(--aw-ink); }
#custom-book .aw-bk__arrow:disabled { opacity: 0.3; cursor: default; }
#custom-book .aw-bk__arrow svg { width: 16px; height: 16px; }
#custom-book .aw-bk__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
#custom-book .aw-bk__dow { padding-bottom: 8px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(18, 17, 51, 0.45); }
#custom-book .aw-bk__day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: rgba(18, 17, 51, 0.3);
}
#custom-book .aw-bk__day.is-open {
  background: rgba(242, 104, 40, 0.1);
  color: var(--aw-ink);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
#custom-book .aw-bk__day.is-open:hover { background: rgba(242, 104, 40, 0.22); }
#custom-book .aw-bk__day.is-today::after { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
#custom-book .aw-bk__day.is-picked { background: var(--aw-orange); color: #fff; }
#custom-book .aw-bk__day:focus-visible, #custom-book .aw-bk__time:focus-visible, #custom-book .aw-bk__arrow:focus-visible { outline: 2px solid var(--aw-indigo); outline-offset: 2px; }
#custom-book .aw-bk__zone { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; font-size: 13px; font-weight: 600; color: rgba(18, 17, 51, 0.6); }
#custom-book .aw-bk__zone svg { width: 16px; height: 16px; }

/* right: the times for the day */
#custom-book .aw-bk__times { display: flex; flex-direction: column; padding: 40px 28px; border-left: 1px solid rgba(18, 17, 51, 0.1); }
#custom-book .aw-bk__day-name { margin: 0 0 18px; font-size: 17px; font-weight: 800; color: var(--aw-ink); }
#custom-book .aw-bk__list { display: grid; gap: 10px; align-content: start; max-height: 420px; overflow-y: auto; margin: 0 -6px; padding: 2px 6px; }
#custom-book .aw-bk__time {
  height: 50px;
  border: 1px solid rgba(242, 104, 40, 0.5);
  border-radius: 999px;
  background: #fff;
  color: var(--aw-orange-deep);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
#custom-book .aw-bk__time:hover { border-color: var(--aw-orange); background: var(--aw-orange); color: #fff; }
#custom-book .aw-bk__hint { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.55; color: rgba(18, 17, 51, 0.6); }

/* the details step */
#custom-book .aw-bk__form { display: grid; align-content: start; gap: 18px; padding: 40px 40px 44px; }
#custom-book .aw-bk__form[hidden], #custom-book .aw-bk__done[hidden], #custom-book [hidden] { display: none !important; }
#custom-book .aw-bk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#custom-book .aw-bk__field { display: grid; gap: 8px; }
#custom-book .aw-bk__field > span { font-size: 13px; font-weight: 700; color: var(--aw-ink); }
#custom-book .aw-bk__field > span em { font-style: normal; font-weight: 500; color: rgba(18, 17, 51, 0.5); }
#custom-book .aw-bk__field :is(input, textarea) {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid rgba(18, 17, 51, 0.18);
  border-radius: 4px;
  background: #fff;
  color: var(--aw-ink);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#custom-book .aw-bk__field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
#custom-book .aw-bk__field :is(input, textarea):focus { border-color: var(--aw-indigo); box-shadow: 0 0 0 3px rgba(46, 44, 121, 0.12); }
#custom-book .aw-bk__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
#custom-book .aw-bk__confirm {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--aw-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
#custom-book .aw-bk__confirm:hover:not(:disabled) { background: var(--aw-orange-deep); transform: translateY(-1px); }
#custom-book .aw-bk__confirm:disabled { opacity: 0.6; cursor: progress; }
#custom-book .aw-bk__back { padding: 0; border: 0; background: none; color: var(--aw-ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#custom-book .aw-bk__error { margin: 0; padding: 12px 14px; background: rgba(242, 104, 40, 0.1); color: #a23d0d; font-size: 14px; font-weight: 600; line-height: 1.5; }
#custom-book .aw-bk__small { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.5; color: rgba(18, 17, 51, 0.55); }

/* booked */
#custom-book .aw-bk__done { display: grid; align-content: center; justify-items: start; gap: 16px; padding: 50px 48px; }
#custom-book .aw-bk__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--aw-aqua); color: #fff; }
#custom-book .aw-bk__tick svg { width: 28px; height: 28px; }
#custom-book .aw-bk__done-title { margin: 6px 0 0; font-size: 44px; font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; color: var(--aw-ink); }
#custom-book .aw-bk__done p { margin: 0; max-width: 46ch; font-size: 16px; font-weight: 500; line-height: 1.6; color: rgba(18, 17, 51, 0.72); }

/* loading and unavailable */
#custom-book .aw-bk__card[data-step="loading"] :is(.aw-bk__grid, .aw-bk__list) { opacity: 0.35; }
#custom-book .aw-bk__off { grid-column: 2 / -1; display: grid; align-content: center; justify-items: start; gap: 16px; padding: 48px; }
#custom-book .aw-bk__off p { margin: 0; max-width: 44ch; font-size: 16px; font-weight: 500; line-height: 1.6; color: rgba(18, 17, 51, 0.72); }
#custom-book .aw-bk__off a { color: var(--aw-ink); font-weight: 800; }

@media (max-width: 1080px) {
  #custom-book .aw-bk__card, #custom-book .aw-bk__card[data-step] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #custom-book .aw-bk__info { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(18, 17, 51, 0.1); }
  #custom-book .aw-bk__card:is([data-step="form"], [data-step="done"]) :is(.aw-bk__form, .aw-bk__done) { grid-column: 1 / -1; }
  #custom-book .aw-bk__off { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  #custom-book.aw-bk { padding: 130px 16px 90px; }
  #custom-book .aw-bk__title { font-size: 15vw; }
  #custom-book .aw-bk__card, #custom-book .aw-bk__card[data-step] { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 48px; }
  #custom-book .aw-bk__info { padding: 28px 22px; }
  #custom-book .aw-bk__svc { font-size: 26px; }
  #custom-book .aw-bk__cal { padding: 28px 18px 10px; }
  #custom-book .aw-bk__times { padding: 24px 18px 30px; border-left: 0; border-top: 1px solid rgba(18, 17, 51, 0.1); }
  #custom-book .aw-bk__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
  #custom-book .aw-bk__form { padding: 28px 22px 32px; }
  #custom-book .aw-bk__row { grid-template-columns: 1fr; }
  #custom-book .aw-bk__done { padding: 36px 22px; }
  #custom-book .aw-bk__done-title { font-size: 34px; }
  #custom-book .aw-bk__off { padding: 32px 22px; }
}
