* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.continuum-booking-page {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

.booking-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.booking-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 12, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.booking-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.booking-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.booking-brand .continuum-brand-lockup {
  display: block;
  width: 154px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.booking-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.booking-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.booking-nav a:hover,
.booking-nav a:focus-visible {
  color: var(--ink);
}

.booking-nav .booking-nav-cta {
  min-height: 42px;
  padding: 11px 15px;
  border: 1px solid var(--continuum-primary-line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 138, 99, 0.26), rgba(63, 211, 154, 0.12));
  color: var(--ink);
}

.booking-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.booking-nav-toggle svg {
  width: 24px;
  height: 24px;
}

.booking-hero {
  padding: 88px 0 92px;
}

.booking-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: start;
}

.booking-intro,
.booking-form-card {
  min-width: 0;
}

.booking-kicker {
  margin: 0 0 14px;
  color: var(--continuum-primary-bright) !important;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}

.booking-intro h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em !important;
}

.booking-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.65;
}

.booking-brief {
  max-width: 650px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.booking-brief h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.15rem;
}

.booking-brief ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-brief li {
  position: relative;
  padding-left: 25px;
  color: var(--text);
  line-height: 1.55;
}

.booking-brief li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--continuum-primary-bright);
  box-shadow: 0 0 16px rgba(63, 211, 154, 0.58);
}

.booking-brief p {
  margin: 17px 0 0;
  color: var(--muted);
}

.booking-direct {
  display: grid;
  gap: 10px;
  width: fit-content;
  margin-top: 27px;
}

.booking-direct a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: rgba(63, 211, 154, 0.48);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.booking-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--continuum-primary-line);
  border-radius: 18px;
  background:
    radial-gradient(560px 300px at 0% 0%, rgba(63, 211, 154, 0.1), transparent 70%),
    linear-gradient(145deg, rgba(7, 24, 19, 0.96), rgba(4, 12, 11, 0.97));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.booking-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #0f8a63, #3fd39a, #9ff5d1);
}

.booking-form-card h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.booking-form-step {
  margin: -4px 0 9px;
  color: var(--muted) !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.booking-form,
.booking-grid {
  display: grid;
  gap: 16px;
}

.booking-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-field {
  display: grid;
  gap: 8px;
}

.booking-field-full {
  grid-column: 1 / -1;
}

.booking-field label {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 750;
}

.booking-field label span,
.booking-field small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: rgba(1, 8, 6, 0.64);
  color: var(--ink);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.booking-field textarea {
  min-height: 170px;
  resize: vertical;
}

.booking-field select:disabled {
  cursor: default;
  opacity: 0.82;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: rgba(150, 185, 173, 0.54);
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--continuum-primary-bright);
  background: rgba(3, 18, 13, 0.82);
  box-shadow: var(--ring);
}

.booking-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.booking-submit,
.booking-calendar-fallback {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(159, 245, 209, 0.42) !important;
  border-radius: 8px;
  background: linear-gradient(90deg, #09513f 0%, #0f8a63 52%, #3fd39a 100%) !important;
  color: #f7fff9 !important;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.booking-submit:hover,
.booking-calendar-fallback:hover {
  filter: brightness(1.08);
}

.booking-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.booking-form-note,
.booking-status {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.79rem;
  line-height: 1.55;
  text-align: center;
}

.booking-status[data-tone="success"] {
  color: var(--continuum-primary-bright) !important;
}

.booking-status[data-tone="error"] {
  color: #ff9d9d !important;
}

.booking-success[hidden],
.booking-calendar[hidden],
.booking-calendar-fallback[hidden] {
  display: none;
}

.booking-success {
  display: grid;
  gap: 16px;
  min-height: 430px;
  align-content: center;
}

.booking-success h3 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.05;
}

.booking-success > p:not(.booking-kicker) {
  max-width: 58ch;
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.booking-calendar {
  overflow: hidden;
  min-height: 720px;
  border: 1px solid var(--continuum-primary-line);
  border-radius: 12px;
  background: #fff;
}

.booking-calendar iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #fff;
}

.booking-success .booking-success-note {
  color: var(--muted) !important;
  font-size: 0.78rem;
}

.booking-next {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.booking-next h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(7, 24, 19, 0.78), rgba(4, 12, 11, 0.9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.booking-steps li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--continuum-primary-bright);
}

.booking-steps span {
  color: var(--continuum-primary-bright);
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.booking-steps h3 {
  margin: 38px 0 9px;
  color: var(--ink);
  font-size: 1.2rem;
}

.booking-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.booking-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .booking-hero-inner,
  .booking-steps {
    grid-template-columns: 1fr;
  }

  .booking-steps h3 {
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .booking-header-inner {
    min-height: 68px;
  }

  .booking-nav-toggle {
    display: inline-flex;
  }

  .booking-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 9, 12, 0.98);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
  }

  .booking-nav.open {
    display: grid;
  }

  .booking-nav a {
    padding: 11px 12px;
  }

  .booking-nav .booking-nav-cta {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .booking-shell {
    width: min(100% - 24px, 1180px);
  }

  .booking-hero,
  .booking-next {
    padding: 58px 0 62px;
  }

  .booking-intro h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-form-card {
    padding: 26px 20px;
    border-radius: 10px;
  }

  .booking-calendar,
  .booking-calendar iframe {
    min-height: 780px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
