/* === BOOK PAGE === */

.book-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.book-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.book-header-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.book-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

.book-success {
  text-align: center;
  padding: 80px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid rgba(232, 197, 71, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  margin: 0 auto 32px;
}

.book-success h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.book-success p {
  color: var(--fg-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.book-success .btn-primary,
.book-success .btn-ghost {
  display: inline-block;
  margin: 0 8px;
}

.book-intro {
  margin-bottom: 48px;
}

.book-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 16px;
  margin-bottom: 16px;
}

.book-subtext {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === FORM ERROR === */
.form-error {
  background: rgba(220, 60, 60, 0.1);
  border: 1px solid rgba(220, 60, 60, 0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: #f87171;
  margin-bottom: 32px;
}

/* === FORM SECTIONS === */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-section {}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.optional {
  font-weight: 400;
  color: var(--fg-muted);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: rgba(232, 197, 71, 0.5);
}

.form-input::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.form-select {
  cursor: pointer;
  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='%238a8680' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {}

/* === SERVICE SELECT GRID === */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.service-option input[type="radio"] {
  display: none;
}

.service-option:hover {
  border-color: rgba(232, 197, 71, 0.3);
}

.service-option.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.service-option-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-option-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* === SUBMIT === */
.form-submit {
  text-align: center;
  padding-top: 8px;
}

.submit-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
  letter-spacing: -0.01em;
}

.btn-primary:hover { opacity: 0.88; }

.btn-primary.btn-large {
  padding: 16px 48px;
  font-size: 17px;
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(232, 197, 71, 0.3);
}

/* === MOBILE === */
@media (max-width: 640px) {
  .book-header { padding: 16px 20px; }
  .book-main { padding: 40px 20px 80px; }
  .service-select-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .book-success h1 { font-size: 36px; }
}
