/* #book — Exact rebuild of appointment / after-you-book composition */
#book {
  position: relative;
  isolation: isolate;
  padding-top: clamp(28px, 3.2vw, 44px);
  padding-bottom: clamp(36px, 4vw, 56px);
  overflow: hidden;
}
#book::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 18% 78%, rgba(63, 169, 245, 0.14) 0%, transparent 62%),
    radial-gradient(circle at 88% 42%, rgba(11, 127, 199, 0.05) 0%, transparent 38%),
    radial-gradient(rgba(11, 61, 92, 0.05) 1px, transparent 1.2px);
  background-size: auto, auto, 18px 18px;
  background-position: center, center, 70% 20%;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 85% 70% at 70% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 70% 45%, #000 20%, transparent 78%);
}
#book .book-stack {
  position: relative;
  z-index: 1;
  gap: clamp(22px, 2.6vw, 34px);
}

#book .book-lede {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto;
  max-width: 52rem;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy, #0b3d5c);
}
#book .book-lede-star {
  display: inline-flex;
  color: #0092BC;
  flex: 0 0 auto;
}
#book .book-lede-accent {
  color: #0092BC;
  font-weight: 800;
}

#book .book-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.2vw, 48px);
  align-items: stretch;
}

#book .book-card {
  margin: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--hairline, #d7e0ea);
  border-radius: var(--radius-card, 14px);
  background: #fff;
  box-shadow: 0 18px 42px rgba(11, 61, 92, 0.08);
  height: 100%;
  box-sizing: border-box;
}
#book .book-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
  border-radius: 14px;
  background: #e8f5fd;
  color: var(--navy, #0b3d5c);
}
#book .book-card-kicker {
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal, #0b7fc7);
}
#book .book-card-title {
  margin: 0 0 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--navy, #0b3d5c);
  text-wrap: balance;
}

#book .book-form {
  display: grid;
  gap: 12px;
}
#book .book-field {
  position: relative;
  display: block;
  margin: 0;
}
#book .book-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #8aa0b4;
  pointer-events: none;
}
#book .book-field input,
#book .book-field select {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px 0 46px;
  border: 1px solid var(--hairline, #d7e0ea);
  border-radius: 14px;
  background: #fff;
  color: var(--ink, #0c1b2a);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}
#book .book-field input::placeholder {
  color: #8aa0b4;
}
#book .book-field select {
  color: var(--ink, #0c1b2a);
  padding-right: 42px;
  cursor: pointer;
}
#book .book-field select:invalid {
  color: #8aa0b4;
}
#book .book-field input:focus,
#book .book-field select:focus {
  border-color: color-mix(in srgb, var(--signal, #0b7fc7) 55%, var(--hairline, #d7e0ea));
  box-shadow: 0 0 0 3px rgba(11, 127, 199, 0.12);
}
#book .book-field-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8aa0b4;
  pointer-events: none;
  display: grid;
  place-items: center;
}

#book .book-submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin: 4px 0 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffd34e 0%, #f0b429 100%);
  color: var(--navy, #0b3d5c);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(240, 180, 41, 0.28);
}
#book .book-submit:hover {
  filter: brightness(0.98);
}
#book .book-submit svg {
  flex: 0 0 auto;
}
#book #book-status {
  margin: 4px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--muted, #5a6b7c);
}
#book .book-card-note {
  margin: 14px 0 0;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8aa0b4;
  line-height: 1.45;
}

#book .book-after {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: clamp(8px, 1vw, 14px) 0 0;
  box-sizing: border-box;
}
#book .book-after-title {
  margin: 0 0 22px;
  max-width: 18ch;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: var(--navy, #0b3d5c);
  text-wrap: balance;
}

#book .book-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 0;
  position: relative;
  min-height: 0;
}
#book .book-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: color-mix(in srgb, var(--signal, #0b7fc7) 28%, #d7e0ea);
}
#book .book-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  flex: 1 1 0;
  padding: clamp(14px, 1.6vw, 22px) 0;
  min-height: 0;
}
#book .book-step-num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f5fd;
  color: var(--signal, #0b7fc7);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
#book .book-step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, #fff 0%, #e8f5fd 72%);
  color: var(--signal, #0b7fc7);
  box-shadow: 0 0 0 8px rgba(11, 127, 199, 0.06);
}
#book .book-step-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink, #0c1b2a);
}
#book .book-step-copy b {
  color: var(--navy, #0b3d5c);
  font-weight: 800;
}

#book .book-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--hairline, #d7e0ea);
  border-radius: 14px;
  background: #f4f8fb;
  color: var(--navy, #0b3d5c);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  flex: 0 0 auto;
}
#book .book-confirm-check {
  display: inline-flex;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  #book .book-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  #book .book-after {
    height: auto;
    min-height: 0;
  }
  #book .book-steps {
    flex: none;
    justify-content: flex-start;
    gap: 4px;
  }
  #book .book-step {
    flex: none;
    padding: 12px 0;
  }
  #book .book-after-title {
    max-width: none;
  }
  #book::before {
    opacity: 0.55;
  }
}
