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

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

.booking-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(33, 48, 33, 0.08);
  color: var(--gw-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(17, 20, 24, 0.05);
}

.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-intro {
  max-width: 720px;
  margin: -8px auto 0;
  color: #4c5056;
  font-size: 17px;
  line-height: 1.65;
}

.booking-trust-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.booking-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(17, 20, 24, 0.06),
    0 10px 24px rgba(17, 20, 24, 0.04);
  color: var(--gw-green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.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;
  transform-origin: left center;
  animation: booking-underline-draw 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes booking-underline-draw {
  0% {
    opacity: 0;
    transform: scaleX(0.2) translateY(6px) rotate(-1.5deg);
  }

  65% {
    opacity: 1;
    transform: scaleX(1.04) translateY(0) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: scaleX(1) translateY(0) rotate(0deg);
  }
}

@media (max-width: 1024px) {
  .booking-title {
    font-size: clamp(36px, 5vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-title-highlight::after {
    animation: none;
  }
}

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

.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: 2px solid rgba(33, 48, 33, 0.18);
  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: rgba(33, 48, 33, 0.1);
  border-color: var(--gw-green);
}

@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: 0;
}

.booking-panel-banner {
  background: linear-gradient(180deg, #f6f2ea 0%, #f1ece3 100%);
  color: #34363a;
  border-radius: 28px 28px 0 0;
  padding: 22px 28px 28px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  border: 1px solid rgba(17, 20, 24, 0.06);
  border-bottom: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 22px rgba(17, 20, 24, 0.035);
}

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

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

.booking-card-grid-with-banner .booking-field-card {
  border-radius: 0 0 28px 28px;
}

.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:
    inset 0 0 0 1px rgba(17, 20, 24, 0.05),
    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-group-dog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.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-field-stack .booking-service-label {
  margin-bottom: 14px;
}

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

.booking-field-card input,
.booking-field-card textarea {
  width: 100%;
  border: 2px solid rgba(33, 48, 33, 0.18);
  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: #f8f5ef;
}

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

.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);
  box-shadow:
    inset 0 0 0 1px rgba(17, 20, 24, 0.05),
    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: 2px solid rgba(33, 48, 33, 0.18);
  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: #f8f5ef;
}

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

.booking-toggle-indicator {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(33, 48, 33, 0.28);
  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: var(--gw-green);
  background: rgba(33, 48, 33, 0.12);
}

.booking-toggle-option input:checked + .booking-toggle-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gw-green);
}


.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: 2px solid rgba(33, 48, 33, 0.28);
  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: rgba(33, 48, 33, 0.12);
  border-color: var(--gw-green);
}

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

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

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

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

.booking-next-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: #6a6d72;
}

.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);
  }
}
