/* =========================
   BOOK APPOINTMENT PAGE
   (colours, fonts and buttons come from base.css)
   ========================= */

.book-page {
  padding: 104px 48px 136px;
  background: var(--cream);
}

.book-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 104px;
  align-items: start;
}

/* Intro column */
.book-intro {
  position: sticky;
  top: 132px;
}

.book-title {
  margin: 0 0 26px;
  font-size: 60px;
  line-height: 1.05;
  color: var(--text);
}

.book-lede {
  max-width: 360px;
  margin: 0 0 48px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.book-info {
  border-top: 1px solid var(--line);
}

.book-info-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.book-info-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.book-info-item p.book-info-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-info-item a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 33, 21, 0.25);
  transition: border-color 0.3s ease;
}

.book-info-item a:hover {
  border-color: var(--gold);
}

/* Form */
.book-form {
  margin: 0;
}

.form-section {
  padding: 0 0 56px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.form-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 36px;
  font-size: 32px;
  line-height: 1.15;
  color: var(--text);
}

.form-step span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.field:last-child {
  margin-bottom: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.field-row .field {
  margin-bottom: 0;
}

.field label,
.field-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Option labels (checkboxes / title chips) are plain text, not field labels */
.field label.check,
.field label.chip {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.hint {
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.85;
}

/* Underlined inputs */
.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea,
.conditional input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(63, 33, 21, 0.28);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder,
.conditional input::placeholder {
  color: rgba(63, 33, 21, 0.35);
}

.field input:focus,
.field textarea:focus,
.conditional input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.field input[type="date"],
.field input[type="time"] {
  min-height: 46px;
}

/* Title options (Tn / Ny / Nn / Dr) */
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 11px 18px;
  box-sizing: border-box;
  border: 1px solid rgba(63, 33, 21, 0.25);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.chip:hover span {
  border-color: var(--text);
}

.chip input:checked + span {
  background: var(--text);
  border-color: var(--text);
  color: var(--cream);
}

.chip input:focus-visible + span {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* Checkboxes */
.check-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.check {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
}

.check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid rgba(63, 33, 21, 0.4);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check input:checked {
  border-color: var(--text);
  background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F9EEDF' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.check input:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.conditional {
  padding-left: 32px;
}

/* Submit */
.book-submit {
  width: 100%;
  padding: 19px 24px;
  cursor: pointer;
}

.book-submit .wa-icon {
  width: 16px;
  height: 16px;
}

.small-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  color: var(--ink-mute);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1000px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .book-intro {
    position: static;
  }

  .book-lede {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .book-page {
    padding: 64px 24px 96px;
  }

  .book-title {
    font-size: 42px;
  }

  .form-step {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-section {
    padding-bottom: 44px;
    margin-bottom: 40px;
  }
}
