:root {
  color-scheme: dark;
  --bg: #050509;
  --surface: #0f0b1a;
  --surface-2: #171124;
  --surface-3: #201633;
  --primary: #c9a7ff;
  --primary-strong: #b78cff;
  --primary-soft: #e8d9ff;
  --text: #ffffff;
  --text-2: #d8d1e8;
  --muted: #afa6c7;
  --border: rgba(201, 167, 255, 0.22);
  --success: #8ee6b1;
  --error: #ff8e9c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 25% 0%, rgba(183, 140, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #050509 0%, #090711 48%, #050509 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(201, 167, 255, 0.2), rgba(15, 11, 26, 0.96));
  color: var(--primary-soft);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

.fallback-link {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 0;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 42px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
  background: #07050b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 9, 0.9) 0%, rgba(5, 5, 9, 0.74) 38%, rgba(5, 5, 9, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 5, 9, 0.04), rgba(5, 5, 9, 0.54));
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.44);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-soft);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: 2rem;
  line-height: 1.05;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.status-line,
footer {
  color: var(--text-2);
  line-height: 1.7;
}

.trust-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip span {
  padding: 16px 14px;
  color: var(--text-2);
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-strip span:last-child {
  border-right: 0;
}

.booking-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 64px;
  background: rgba(15, 11, 26, 0.82);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  padding: 28px;
}

.booking-topline {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.stepper {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.stepper li {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.stepper li.active {
  background: var(--primary);
  color: #140d21;
  border-color: transparent;
  font-weight: 800;
}

.booking-step {
  display: none;
}

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

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

.service-card,
.slot-card,
.review-card,
.success-panel,
.manual-panel {
  background: linear-gradient(180deg, rgba(32, 22, 51, 0.96), rgba(15, 11, 26, 0.96));
  border: 1px solid var(--border);
  border-radius: 8px;
}

.service-card {
  min-height: 230px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card:hover,
.service-card.selected {
  transform: translateY(-2px);
  border-color: rgba(232, 217, 255, 0.76);
}

.service-card.selected {
  background: linear-gradient(180deg, rgba(70, 45, 112, 0.94), rgba(20, 13, 33, 0.98));
}

.price {
  color: var(--primary-soft);
  font-size: 2.1rem;
  font-weight: 850;
  margin: 14px 0;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--text-2);
  font-weight: 700;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 5, 9, 0.86);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--primary);
  color: #140d21;
  font-weight: 850;
  cursor: pointer;
}

button.secondary {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.service-card {
  color: var(--text);
  text-align: left;
}

.service-card > span:first-child > span:not(.price) {
  display: block;
  color: var(--text-2);
  line-height: 1.55;
}

.service-card > span:last-child {
  color: var(--primary-soft);
  font-weight: 850;
}

.slot-list {
  display: grid;
  gap: 16px;
}

.date-group {
  display: grid;
  gap: 10px;
  animation: slotFade 180ms ease both;
}

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

.slot-card {
  padding: 16px;
  text-align: left;
  color: var(--text);
}

.slot-card.selected {
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 1px rgba(232, 217, 255, 0.24);
}

.review-card,
.success-panel,
.manual-panel {
  padding: 22px;
}

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

.review-grid div {
  border-bottom: 1px solid var(--border);
  padding: 0 0 10px;
}

.review-grid small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.success-panel {
  border-color: rgba(142, 230, 177, 0.45);
}

.manual-panel {
  border-color: rgba(255, 142, 156, 0.45);
}

.status-line.error {
  color: var(--error);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
}

@keyframes slotFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .site-header,
  .booking-topline,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: 360px;
    padding: 28px 20px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 9, 0.86) 0%, rgba(5, 5, 9, 0.66) 58%, rgba(5, 5, 9, 0.78) 100%);
  }

  .hero-image {
    object-position: 58% center;
  }

  .trust-strip,
  .service-grid,
  .form-grid,
  .slot-row,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

  .booking-shell {
    padding: 18px;
  }

  .actions {
    flex-direction: column-reverse;
  }

  button {
    width: 100%;
  }
}
