/* ============ BOOKING PAGE ============ */

.book-hero {
  padding: calc(var(--header-h) + 60px) 0 40px;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.9), rgba(10,10,11,1)),
    radial-gradient(circle at 20% 20%, rgba(200,16,46,0.15), transparent 40%);
  border-bottom: 1px solid var(--border);
}
.book-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 20px;
}
.book-sub {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 620px;
  line-height: 1.6;
}

/* Nav active state */
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after { width: 100%; }

/* ============ FORM LAYOUT ============ */
.book-form-section {
  padding: 60px 0 100px;
  background: var(--bg);
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .book-grid {
    grid-template-columns: 1.7fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.book-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
@media (min-width: 640px) {
  .book-form-wrap { padding: 44px 40px; }
}

.book-form { display: flex; flex-direction: column; gap: 32px; }

.form-section { padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { padding-bottom: 0; border-bottom: 0; }

.form-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-red);
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
}
.form-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--tx-red);
}

.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row:last-child { margin-bottom: 0; }
.form-row-2 { grid-template-columns: 1fr; }
.form-row-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 0.6fr 1.2fr 1.2fr; }
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.req { color: var(--tx-red); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Inter', sans-serif;
}
.form-field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
.form-field input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--tx-red);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
}
.form-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(200,16,46,0.5);
}

/* Form actions */
.form-actions { margin-top: 8px; }
.btn-block { width: 100%; justify-content: center; }
.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}
.form-note strong { color: var(--ink-2); }

/* Loading state */
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.btn.loading::after {
  content: "";
  position: absolute;
  right: 20px;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ SUCCESS STATE ============ */
.book-success {
  text-align: center;
  padding: 24px 0;
  animation: fadeUp 0.4s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.success-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tx-red), var(--tx-red-2));
  color: white;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(200,16,46,0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.book-success h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}
.book-success p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 20px;
}
.success-cta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.book-success .btn { margin-bottom: 24px; }

/* ============ ASIDE ============ */
.book-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 899px) {
  .book-aside { position: static; }
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.aside-card h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--tx-red);
  margin-bottom: 14px;
}
.aside-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 8px;
}
.aside-phone {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.aside-phone:hover { color: var(--tx-red); }
.aside-muted {
  color: var(--ink-3);
  font-size: 13px !important;
}
.aside-tips .steps-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.aside-tips .steps-list li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 40px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.aside-tips .steps-list li:last-child { border-bottom: 0; }
.aside-tips .steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 10px;
  width: 26px; height: 26px;
  background: var(--tx-red);
  color: white;
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aside-callout {
  background: linear-gradient(135deg, rgba(200,16,46,0.12), rgba(26,58,117,0.08));
  border-color: rgba(200,16,46,0.3);
}
.aside-callout p { color: var(--ink); font-size: 14px; }
.aside-callout strong { color: var(--tx-red); }
