:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-2: #f5f2ee;
  --text: #111827;
  --muted: #657084;
  --soft: #374151;
  --line: rgba(24, 32, 44, 0.12);
  --accent: #ff5a1f;
  --accent-2: #ff8a1d;
  --accent-soft: rgba(255, 90, 31, 0.11);
  --field: #ffffff;
  --shadow: 0 22px 55px rgba(31, 41, 55, 0.1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071019;
  --surface: #101b27;
  --surface-2: #142232;
  --text: #f8fafc;
  --muted: #9aa9bc;
  --soft: #d7dee8;
  --line: rgba(203, 213, 225, 0.14);
  --accent: #ff6a1a;
  --accent-2: #ff8a22;
  --accent-soft: rgba(255, 106, 26, 0.15);
  --field: #0b1621;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.9), rgba(7, 16, 25, 0.74)),
    url("/new-cover-image.jpg") center / cover fixed,
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.booking-page {
  display: grid;
  gap: 26px;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: 22px clamp(14px, 3vw, 34px) 44px;
}

.booking-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
}

.brand-mark {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
  text-decoration: none;
}

.brand-mark img {
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.theme-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  padding: 3px;
  width: 54px;
}

.theme-toggle span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  display: block;
  height: 22px;
  transform: translateX(22px);
  transition: transform 0.18s ease;
  width: 22px;
}

:root[data-theme="light"] .theme-toggle span {
  transform: translateX(0);
}

.booking-hero {
  color: #fff;
  display: grid;
  min-height: 172px;
}

.booking-hero-copy {
  align-self: end;
  max-width: 850px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
}

h2 {
  font-size: 22px;
}

.intro {
  color: #d7dee8;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 790px;
}

.trust-text {
  color: #f5c7ab;
  font-size: 14px;
  font-weight: 750;
  margin: 14px 0 0;
}

.booking-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
}

.booking-card {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
}

.booking-form,
.booking-confirmation,
.support-card {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

label,
legend {
  color: var(--soft);
  display: grid;
  font-size: 12px;
  font-weight: 850;
  gap: 7px;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
  text-transform: none;
  width: 100%;
}

textarea {
  line-height: 1.5;
  min-height: 108px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.slot-option:focus-visible,
.booking-button:focus-visible,
.theme-toggle:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.slot-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.slot-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 98px;
}

.slot-option {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
  min-height: 42px;
}

.slot-option:hover {
  border-color: var(--accent);
}

.slot-option[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}

.slot-empty,
.form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.form-note[data-tone="error"] {
  color: #dc2626;
}

.booking-button {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.2);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  width: fit-content;
}

.booking-button.secondary,
.booking-button.ghost {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
  color: var(--text);
}

.booking-button.ghost {
  background: transparent;
}

.booking-button:hover:not(:disabled) {
  filter: brightness(1.03);
}

.booking-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.detail-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding-bottom: 12px;
}

.detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list strong {
  color: var(--text);
}

.detail-list span,
.support-note,
.booking-confirmation p {
  color: var(--muted);
  line-height: 1.55;
}

.coverage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.coverage-grid span {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 82%, var(--text));
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.support-note {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 12px;
}

.confirmation-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.confirmation-details div {
  display: grid;
  gap: 5px;
}

.confirmation-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.confirmation-details dd {
  margin: 0;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

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

  .support-card {
    order: 2;
  }
}

@media (max-width: 600px) {
  .booking-page {
    gap: 18px;
    padding-bottom: 26px;
  }

  .booking-hero {
    min-height: 128px;
  }

  .form-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .booking-button,
  .confirmation-actions {
    width: 100%;
  }

  .confirmation-actions .booking-button {
    width: 100%;
  }
}
