.booking-page {
  background:
    radial-gradient(circle at top right, rgba(24, 167, 184, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(231, 177, 78, 0.1), transparent 24%),
    #eef3f5;
}

.booking-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
  background: linear-gradient(135deg, #0b5a72 0%, #18a7b8 55%, #0d4f6a 100%);
  color: #fff;
}

.booking-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.booking-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.booking-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 0.92rem;
}

.booking-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
}

.booking-hero p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.9;
}

.booking-shell {
  margin-top: -2rem;
  padding-bottom: 4rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}

.booking-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1rem;
}

.booking-aside__card,
.booking-form-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(207, 225, 230, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(8, 72, 96, 0.12);
}

.booking-aside__card {
  padding: 1.5rem;
}

.booking-aside__card h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 1.7rem;
}

.booking-aside__card p,
.booking-aside__list li {
  color: #527184;
  line-height: 1.85;
}

.booking-aside__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.booking-aside__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #f7fbfc;
  border: 1px solid #e3f0f3;
}

.booking-aside__list a {
  color: var(--teal-deep);
  font-weight: 800;
  text-decoration: none;
}

.booking-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b5a72, #1095a9);
  color: #fff;
  line-height: 1.8;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.booking-step-btn {
  border: 0;
  background: #f4fafc;
  color: #5d7f90;
  border-radius: 16px;
  padding: 0.9rem 0.75rem;
  font-weight: 800;
  cursor: default;
  transition: all 0.25s ease;
}

.booking-step-btn span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.booking-step-btn.is-active {
  background: linear-gradient(135deg, #18a7b8, #0b5a72);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 90, 114, 0.22);
}

.booking-step-btn.is-done {
  background: #e7f7fa;
  color: var(--teal-deep);
}

.booking-form-card {
  padding: 1.5rem;
}

.booking-form-card h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.45rem;
}

.booking-form-card .step-lead {
  margin: 0 0 1.2rem;
  color: #648596;
  line-height: 1.7;
}

.booking-step-panel {
  display: none;
  animation: bookingFade 0.35s ease;
}

.booking-step-panel.is-active {
  display: block;
}

@keyframes bookingFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking-fields {
  display: grid;
  gap: 0.9rem;
}

.booking-fields--2 {
  grid-template-columns: 1fr 1fr;
}

.booking-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
  color: var(--ink);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfe1e6;
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  background: #fbfeff;
  color: #173e52;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: #18a7b8;
  box-shadow: 0 0 0 4px rgba(24, 167, 184, 0.12);
}

.booking-hint {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fcfd, #eef7fa);
  border: 1px dashed #cfe1e6;
  color: #527184;
}

.booking-hint strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.booking-hint p {
  margin: 0;
  line-height: 1.7;
}

.booking-hint__body {
  flex: 1;
  min-width: 0;
}

.booking-hint__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.35rem;
}

.booking-hint__profile {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(24, 167, 184, 0.12);
  color: #0b5a72;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.booking-hint__profile:hover {
  background: rgba(24, 167, 184, 0.2);
}

.booking-hint__lead {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
}

.booking-hint__note {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  color: #6a8796;
}

.booking-hint__empty {
  margin: 0;
}

.booking-slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.booking-slot-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c5dde4;
  color: #0b5a72;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.hint-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.booking-hint__photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(8, 72, 96, 0.16);
}

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

.booking-field-note {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: #6a8796;
  line-height: 1.6;
}

.booking-slot-preview {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #f8fafb;
  border: 1px dashed #d7e7ec;
  color: #648596;
  line-height: 1.7;
}

.booking-slot-preview.is-ready {
  background: #edf9fb;
  border-color: #9fdbe4;
  color: #0b5a72;
  font-weight: 700;
}

.contract-field {
  display: none;
}

.contract-field.is-visible {
  display: block;
}

.booking-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.summary-card {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f7fbfc;
  border: 1px solid #e3f0f3;
}

.summary-card span {
  display: block;
  color: #6a8796;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.summary-card strong {
  color: var(--ink);
  line-height: 1.6;
}

.booking-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

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

.btn-booking-primary,
.btn-booking-secondary {
  min-height: 52px;
  border-radius: 999px;
  padding: 0 1.4rem;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-booking-primary {
  background: linear-gradient(135deg, #e7b14e, #d79a2d);
  color: #4f3d18;
  box-shadow: 0 14px 30px rgba(215, 154, 45, 0.24);
}

.btn-booking-primary:hover {
  transform: translateY(-1px);
}

.btn-booking-secondary {
  background: #eef6f8;
  color: var(--teal-deep);
}

.btn-booking-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.85rem;
  text-align: center;
  font-weight: 700;
}

.form-status.is-pending { color: #0b5a72; }
.form-status.is-success { color: #0f766e; }
.form-status.is-error { color: #b42318; }

.booking-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.booking-success-panel {
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(24, 167, 184, 0.1), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(24, 167, 184, 0.2);
  box-shadow: 0 18px 40px rgba(8, 72, 96, 0.1);
}

.booking-success-panel__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b5a72, #18a7b8);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
}

.booking-success-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.booking-success-panel__ref {
  display: inline-block;
  margin: 0.35rem 0 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(11, 90, 114, 0.08);
  color: var(--teal-deep);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.booking-success-panel__note {
  margin: 0 auto 1.25rem;
  max-width: 420px;
  color: #5a7a8a;
  line-height: 1.8;
}

.booking-success-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.booking-page .main-nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.booking-page .main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.booking-mobile-strip,
.booking-mobile-head,
.booking-sticky-bar {
  display: none;
}

@media (max-width: 980px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .booking-page {
    background: #e8f1f4;
  }

  .booking-page .site-header {
    box-shadow: 0 8px 24px rgba(8, 72, 96, 0.08);
  }

  .booking-page .util-row {
    min-height: 64px;
  }

  .booking-page .brand-lockup strong {
    font-size: 1.15rem;
  }

  .booking-page .chip-gold {
    display: none;
  }

  .booking-hero {
    padding: 1.35rem 0 4.5rem;
    border-radius: 0 0 28px 28px;
  }

  .booking-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
      radial-gradient(circle at 85% 0%, rgba(231, 177, 78, 0.18), transparent 22%);
    pointer-events: none;
  }

  .booking-hero__badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }

  .booking-hero h1 {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .booking-hero p {
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.92;
  }

  .booking-mobile-strip {
    display: block;
    margin-top: -3.2rem;
    position: relative;
    z-index: 2;
  }

  .booking-mobile-strip__inner {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .booking-mobile-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .mobile-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(207, 225, 230, 0.95);
    box-shadow: 0 10px 24px rgba(8, 72, 96, 0.1);
    color: var(--teal-deep);
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-chip span {
    font-size: 1rem;
    line-height: 1;
  }

  .booking-shell {
    margin-top: 0.85rem;
    padding-bottom: 4.75rem;
  }

  .booking-page .container {
    width: min(1220px, calc(100% - 1.1rem));
  }

  .booking-aside--desktop {
    display: none;
  }

  .booking-form-card {
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    box-shadow: 0 18px 48px rgba(8, 72, 96, 0.14);
  }

  .booking-mobile-head {
    display: block;
    padding: 1rem 1rem 0.35rem;
    background: linear-gradient(180deg, #f7fcfd 0%, #fff 100%);
    border-bottom: 1px solid #e8f2f5;
  }

  .booking-mobile-progress__track {
    height: 6px;
    border-radius: 999px;
    background: #e3f0f3;
    overflow: hidden;
  }

  .booking-mobile-progress__fill {
    display: block;
    height: 100%;
    width: 33.33%;
    border-radius: inherit;
    background: linear-gradient(90deg, #18a7b8, #0b5a72);
    transition: width 0.35s ease;
  }

  .booking-mobile-progress__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    margin-top: 0.75rem;
  }

  .booking-mobile-progress__steps span {
    text-align: center;
    font-size: 0.76rem;
    font-weight: 800;
    color: #89a5b3;
    padding: 0.45rem 0.2rem;
    border-radius: 12px;
    transition: all 0.25s ease;
  }

  .booking-mobile-progress__steps span.is-active {
    color: #fff;
    background: linear-gradient(135deg, #18a7b8, #0b5a72);
    box-shadow: 0 8px 18px rgba(11, 90, 114, 0.2);
  }

  .booking-mobile-progress__steps span.is-done {
    color: var(--teal-deep);
    background: #e8f7fa;
  }

  #bookingForm {
    padding: 1rem 1rem 1.25rem;
  }

  .booking-form-card h3 {
    font-size: 1.28rem;
    margin-bottom: 0.25rem;
    color: #0b5a72;
  }

  .booking-form-card .step-lead {
    font-size: 0.92rem;
    margin-bottom: 1rem;
    color: #4f6e7e;
  }

  .booking-fields--2,
  .booking-summary {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .booking-field label {
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
  }

  .booking-field input,
  .booking-field select,
  .booking-field textarea {
    min-height: 56px;
    font-size: 16px;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .booking-hint {
    padding: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f0fafc, #fff);
    border-style: solid;
    border-color: #d4ebf0;
  }

  .booking-slot-preview {
    font-size: 0.9rem;
    border-radius: 18px;
  }

  .booking-slot-preview.is-ready {
    box-shadow: 0 10px 24px rgba(24, 167, 184, 0.12);
  }

  .summary-card {
    border-radius: 18px;
    padding: 0.85rem 0.95rem;
  }

  .booking-actions {
    display: none;
  }

  .booking-actions--split .btn-booking-primary,
  .booking-actions--split .btn-booking-secondary,
  .booking-actions .btn-booking-primary {
    flex: 1;
  }

  .booking-sticky-bar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1500;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid #dbe9ee;
    box-shadow: 0 -12px 30px rgba(8, 72, 96, 0.12);
  }

  .booking-sticky-bar:has(.booking-sticky-prev[hidden]) {
    grid-template-columns: 1fr;
  }

  .booking-sticky-prev,
  .booking-sticky-next {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
  }

  .booking-sticky-prev {
    padding: 0 1.1rem;
    background: #eef6f8;
    color: var(--teal-deep);
  }

  .booking-sticky-next {
    background: linear-gradient(135deg, #e7b14e, #d79a2d);
    color: #4f3d18;
    box-shadow: 0 8px 20px rgba(215, 154, 45, 0.22);
  }

  .booking-sticky-next:disabled {
    opacity: 0.72;
    cursor: wait;
  }

  .form-status {
    margin-bottom: 0.25rem;
    font-size: 0.92rem;
  }

  .booking-page .site-footer {
    padding-bottom: 3.9rem;
  }

  .booking-page .to-top {
    bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px));
  }

  .booking-slot-preview {
    display: none;
  }

  .booking-hint__profile {
    order: 3;
    width: fit-content;
    margin-top: 0.15rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #0b7181;
    font-size: 0.84rem;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .booking-hint__profile::after {
    content: ' ←';
  }

  .booking-hint__head {
    align-items: flex-start;
  }

  .booking-hint__note {
    margin-top: 0.7rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: #fff7df;
    border: 1px solid #efd79a;
    color: #654a13;
    font-weight: 800;
    line-height: 1.65;
  }

  .booking-hint__photo[src*="images/services/surg"] {
    width: 92px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
  }
}

@media (max-width: 420px) {
  .booking-hero h1 {
    font-size: 1.45rem;
  }

  .booking-mobile-progress__steps span {
    font-size: 0.7rem;
    padding-inline: 0.1rem;
  }
}

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  color: #315866;
  line-height: 1.7;
}

.booking-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3rem;
  flex: 0 0 auto;
}

.booking-consent a {
  color: #0b7181;
  font-weight: 700;
}

.booking-hero__actions {
  margin-top: 1rem;
}

.booking-hero__actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.booking-emergency-alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff7e6;
  border: 1px solid #efd29a;
  color: #624519;
  line-height: 1.7;
}

.booking-nearest-slot {
  width: 100%;
  margin: 0.75rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid #b7e4ea;
  border-radius: 14px;
  background: linear-gradient(135deg, #effcff, #e5f7fa);
  color: #0b5a72;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.booking-manage {
  max-width: 820px;
}

.booking-manage__form {
  margin: 0 auto;
}

.booking-summary--manage {
  margin: 1.25rem 0;
}
