.book-page {
  padding-top: var(--nav-h);
  background-color: var(--black);
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  padding: 5rem 0 6rem;
  align-items: start;
}

/* ── Form section ── */
.book-form-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.book-form-section__header {
  margin-bottom: 0.5rem;
}

.book-form-section__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.book-form-section__title em {
  font-style: normal;
  color: var(--gold);
}

.book-form-section__sub {
  font-size: 0.95rem;
  color: var(--grey);
}

/* ── Steps ── */
.form-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-step {
  display: flex;
  gap: 1.25rem;
}

.form-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  background: rgba(212, 160, 23, 0.06);
}

.form-step__body {
  flex: 1;
}

.form-step__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

/* ── Form fields ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row--single {
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-field input,
.form-field select,
.form-field textarea {
  background-color: var(--dark-2);
  border: 1px solid rgba(212, 160, 23, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(136, 136, 136, 0.55);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field select option {
  background-color: var(--dark);
  color: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-field input[type="date"] {
  color-scheme: dark;
}

.form__submit {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form__submit-note {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ── Success state ── */
#bookSuccess {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--dark);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: var(--radius);
}

#bookSuccess .success__icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

#bookSuccess .success__title {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

#bookSuccess .success__text {
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 400px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ── Sidebar ── */
.book-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.aside-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.aside-card__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.aside-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aside-card__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--grey);
}

.aside-card__item i {
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.aside-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.aside-card__contact a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--grey);
  transition: color var(--transition);
}

.aside-card__contact a:hover {
  color: var(--gold);
}

.aside-card__contact i {
  font-size: 1rem;
  color: var(--gold);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.aside-quote {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.02));
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.aside-quote__text {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.aside-quote__attr {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .book-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .aside-quote {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .book-aside {
    grid-template-columns: 1fr;
  }
}
