/* Book / Schedule Form Styles */

.book-page {
  background: var(--bg-alt);
  min-height: 100vh;
  padding-bottom: 5rem;
}

.book-hero {
  background: var(--bg-paper);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.bh-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.bh-title {
  font-size: clamp(1.5rem, 4.2vw, 2.5rem);
  white-space: nowrap;
  margin-bottom: 1rem;
}
@media (max-width: 480px) {
  .bh-title { white-space: normal; }
}
.bh-lead {
  font-size: 1.125rem;
  color: var(--fg-light);
}
.bh-partner {
  display: inline-block;
  margin-bottom: 1rem;
}
.bh-partner img {
  height: 64px;
  width: auto;
}

.book-section {
  padding-top: 3rem;
}
.b-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .b-grid { grid-template-columns: 1fr 1.5fr; gap: 3rem; }
}

.b-specs-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.b-spec {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--bg-paper);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.b-spec-icon {
  width: 3rem;
  height: 3rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.b-spec h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.b-spec p {
  color: var(--fg-light);
  font-size: 0.9375rem;
}

.b-form-card {
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
}
@media (max-width: 768px) {
  .b-form-card { padding: 1.5rem; }
}

.b-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.b-card-title svg { color: var(--accent); }

/* Form Elements */
.service-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-dark);
}
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  color: var(--fg-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-textarea { resize: vertical; min-height: 100px; }

.hp-field { display: none; }

.combobox { position: relative; }
.combobox__icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--fg-muted); pointer-events: none;
}
.combobox__input { padding-left: 2.75rem; padding-right: 2.5rem; }
.combobox__list {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-height: 16rem;
  overflow-y: auto;
}
.combobox__list li {
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.combobox__list li:hover,
.combobox__list li.is-active {
  background: #eef4ff;
  color: #0056d2;
}
.combobox__list li mark {
  background: none;
  color: inherit;
  font-weight: 700;
}
.combobox__chevron {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--fg-muted); pointer-events: none;
}

.form-message {
  font-size: 0.8125rem;
  color: #dc2626; /* red-600 */
  min-height: 1.2em;
}

.b-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success__icon {
  width: 4rem; height: 4rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success__icon svg { width: 2rem; height: 2rem; }
.form-success__title { font-size: 1.5rem; margin-bottom: 1rem; }
.form-success__text { color: var(--fg-light); margin-bottom: 2rem; }

.form-error-notice {
  background: #fef2f2;
  color: #991b1b;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  border: 1px solid #fecaca;
}

/* Spin animation for loading */
.spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }