.form-inner {
  max-width: 920px;
}

.booking-header {
  text-align: center;
  margin-bottom: 44px;
}

.booking-title {
  display: block;
  text-align: center;
  margin: 0 0 28px;
  font-family: var(--font-head);
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.booking-title-plain {
  color: #000;
}

.booking-title-highlight {
  position: relative;
  color: var(--yellow);
}

.booking-title-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: -8px;
  bottom: -18px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 34' fill='none'%3E%3Cpath d='M4 24C67 10 131 4 198 5c43 1 82 6 118 18' stroke='%23192419' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.booking-step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  padding: 0;
  transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.booking-step-number {
  width: 56px;
  height: 56px;
  border: 3px solid #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  background: #fff;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.booking-step.active .booking-step-number {
  background: #eadbbf;
}

@media (hover: hover) {
  .booking-step:hover .booking-step-number {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 20px rgba(17, 20, 24, 0.1);
  }
}

.booking-step:active .booking-step-number {
  transform: translateY(1px) scale(0.96);
}

.booking-step-label {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.booking-step-divider {
  width: 1px;
  height: 92px;
  background: #cfd2d6;
}

.booking-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-panel-banner {
  background: #eadbbf;
  color: #34363a;
  border-radius: 30px 30px 0 0;
  padding: 28px 32px 42px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
}

.booking-card-grid {
  display: grid;
  gap: 0;
}

.booking-card-grid-with-banner {
  margin-top: -30px;
}

.booking-card-grid-owner {
  grid-template-columns: repeat(3, 1fr);
}

.booking-card-grid-dog {
  grid-template-columns: repeat(2, 1fr);
}

.booking-field-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px 38px 30px;
  box-shadow: 0 10px 30px rgba(17, 20, 24, 0.04);
}

.booking-field-card-group {
  padding: 30px 32px;
}

.booking-field-card-wide,
.booking-field-card-full {
  grid-column: span 1;
}

.booking-field-card-full {
  grid-column: 1 / -1;
}

.booking-field-group {
  display: grid;
  gap: 24px;
}

.booking-field-group-owner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-field-stack {
  min-width: 0;
}

.booking-field-card label,
.booking-service-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #34363a;
}

.booking-help-text {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.booking-required {
  color: var(--yellow);
}

.booking-field-card input,
.booking-field-card textarea {
  width: 100%;
  border: 3px solid #111;
  border-radius: 20px;
  background: #fff;
  padding: 16px 28px;
  font-size: 16px;
  line-height: 1.2;
  color: #34363a;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.booking-field-card input:hover,
.booking-field-card textarea:hover {
  background: #f6f0e5;
}

.booking-field-card input:focus,
.booking-field-card textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #f6f0e5;
}

.booking-field-card textarea {
  min-height: 140px;
  resize: vertical;
}

.booking-service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 28px;
  padding: 22px 28px;
  box-shadow: 0 10px 30px rgba(17, 20, 24, 0.04);
}

.booking-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.booking-toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  border: 3px solid #111;
  border-radius: 18px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #34363a;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s ease;
}

.booking-toggle-option:hover {
  background: #f6f0e5;
}

.booking-toggle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-toggle-indicator {
  width: 24px;
  height: 24px;
  border: 3px solid #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.booking-toggle-option input:checked + .booking-toggle-indicator {
  border-color: #111;
  background: var(--yellow);
}

.booking-toggle-option input:checked + .booking-toggle-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
}


.booking-service-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.booking-check-option {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: #34363a;
  cursor: pointer;
}

.booking-check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-check-box {
  width: 30px;
  height: 30px;
  border: 3px solid #111;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.booking-check-option input:checked + .booking-check-box {
  background: var(--yellow);
  border-color: #111;
}

.booking-check-option input:checked + .booking-check-box::after {
  content: '';
  width: 10px;
  height: 16px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: rotate(40deg) translate(-1px, -2px);
}

.booking-actions {
  display: flex;
  align-items: center;
  margin-top: 28px;
}

.booking-actions-next {
  justify-content: center;
}

.booking-actions-final {
  justify-content: space-between;
}

.booking-next-button,
.booking-submit-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.booking-next-button .icon,
.booking-submit-button .icon {
  font-size: 18px;
}

.booking-field-card input.input-invalid,
.booking-field-card textarea.input-invalid {
  border-color: #c94040;
}

.booking-field-card-invalid,
.booking-field-stack-invalid {
  box-shadow: 0 10px 30px rgba(201, 64, 64, 0.08);
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0 0;
  color: #c94040;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  animation: fieldErrorIn 0.16s ease;
}

.field-error .icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

@keyframes fieldErrorIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
