:root {
  --bg: #0d0d0d;
  --panel: #161616;
  --panel-soft: #121212;
  --text: #f8f5ef;
  --muted: #beb5a8;
  --accent: #d8a05f;
  --accent-strong: #e7b47c;
  --border: rgba(255, 255, 255, 0.12);
  --danger: #ff8f8f;
  --ok: #8de9b5;
  --ui-speed: 0.2s;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(1200px 520px at 8% 0%, rgba(216, 160, 95, 0.18), transparent 55%),
    radial-gradient(900px 400px at 100% 100%, rgba(216, 160, 95, 0.1), transparent 65%),
    linear-gradient(180deg, #141414 0%, var(--bg) 45%, #0a0a0a 100%);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body.audience-women {
  --accent: #d780b4;
  --accent-strong: #ef9cc8;
  --muted: #cdb8c8;
}

.booking-main {
  min-height: 100dvh;
  padding: clamp(1rem, 2.4vw, 2.2rem);
}

.booking-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 2 * clamp(1rem, 2.4vw, 2.2rem));
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: stretch;
}

.booking-info,
.booking-card {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(4px);
  box-shadow:
    0 16px 46px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--ui-speed) ease, border-color var(--ui-speed) ease, box-shadow var(--ui-speed) ease;
}

.booking-info {
  padding: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.booking-card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  overflow: hidden;
}

body.audience-women .booking-info {
  background: linear-gradient(160deg, rgba(215, 128, 180, 0.16), rgba(255, 255, 255, 0.03));
}

body.audience-women .booking-card {
  background:
    radial-gradient(540px 260px at 104% 0%, rgba(239, 156, 200, 0.17), transparent 62%),
    linear-gradient(180deg, #1a141b 0%, #130f15 100%);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: 0.035em;
  line-height: 0.95;
}

.intro {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.7;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.1rem;
}

.trust-row span {
  border: 1px solid rgba(216, 160, 95, 0.35);
  color: #e8dbc8;
  font-size: 0.77rem;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  background: rgba(216, 160, 95, 0.08);
}

body.audience-women .trust-row span {
  border-color: rgba(239, 156, 200, 0.46);
  background: rgba(239, 156, 200, 0.14);
}

.benefits {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.benefits li {
  color: #e4dbcc;
  font-size: 0.95rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.65rem;
}

.card-title {
  margin: 0 0 0.9rem;
  color: #f4ece0;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
}

.booking-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
}

.toggle-btn {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0f0f0f;
  color: #d9cfbf;
  font-weight: 700;
  padding: 0.62rem 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.toggle-btn.is-active {
  border-color: rgba(216, 160, 95, 0.55);
  background: rgba(216, 160, 95, 0.12);
  color: #f5e8d4;
}

body.audience-women .toggle-btn {
  background: #18121a;
  color: #ebd8e8;
}

body.audience-women .toggle-btn.is-active {
  border-color: rgba(239, 156, 200, 0.65);
  background: rgba(239, 156, 200, 0.2);
  color: #fff1f8;
}

.toggle-btn:hover {
  border-color: rgba(216, 160, 95, 0.4);
}

.toggle-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 160, 95, 0.24);
}

form {
  display: grid;
  gap: 0.86rem;
}

label {
  display: grid;
  gap: 0.42rem;
  font-size: 0.9rem;
  color: #e4dece;
  font-weight: 500;
  transition: color var(--ui-speed) ease;
}

label:focus-within {
  color: #f1e5d2;
}

.field-hint {
  color: #9c9488;
  font-size: 0.77rem;
  font-weight: 400;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0f0f0f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.phone-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 160, 95, 0.18);
}

.phone-code {
  color: #d7c9b4;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.72rem 0.65rem 0.72rem 0.78rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(216, 160, 95, 0.08);
}

body.audience-women .phone-code {
  color: #f0cfe5;
  border-right-color: rgba(255, 255, 255, 0.12);
  background: rgba(239, 156, 200, 0.14);
}

input,
select,
button {
  width: 100%;
  font: inherit;
}

input,
select {
  border: 1px solid var(--border);
  background: #0f0f0f;
  color: var(--text);
  padding: 0.72rem 0.78rem;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  box-sizing: border-box;
}

input[readonly] {
  background: #1a1a1a;
  color: #c9c0b4;
  cursor: not-allowed;
  opacity: 0.92;
}

input[type="date"],
select {
  height: 44px;
  min-height: 44px;
}

input[type="date"] {
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  padding-top: 0;
  padding-bottom: 0;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.phone-field input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.phone-field input:focus {
  border-color: transparent;
  box-shadow: none;
}

input::placeholder {
  color: #8e877d;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 160, 95, 0.18);
}

input:invalid:not(:placeholder-shown),
select:invalid {
  border-color: rgba(255, 143, 143, 0.65);
}

input:valid:not(:placeholder-shown) {
  border-color: rgba(141, 233, 181, 0.35);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  align-items: start;
}

.row-fields {
  row-gap: 0.42rem;
}

.row-fields .row-hint {
  grid-column: 1 / -1;
  margin: 0;
}

.booking-preview {
  border: 1px solid rgba(216, 160, 95, 0.22);
  background: rgba(216, 160, 95, 0.06);
  border-radius: 8px;
  padding: 0.68rem 0.75rem;
}

body.audience-women .booking-preview {
  border-color: rgba(239, 156, 200, 0.35);
  background: rgba(239, 156, 200, 0.1);
}

.preview-title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #e2b77f;
  font-weight: 700;
}

body.audience-women .preview-title {
  color: #f3acd4;
}

.preview-grid {
  display: grid;
  gap: 0.42rem;
}

.preview-grid p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
}

.preview-grid span {
  color: #b8af9f;
  font-size: 0.84rem;
}

.preview-grid strong {
  color: #f7efe2;
  font-size: 0.84rem;
  max-width: 62%;
  text-align: right;
  overflow-wrap: anywhere;
}

button {
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #1b140b;
  font-weight: 700;
  padding: 0.86rem 1rem;
  cursor: pointer;
  margin-top: 0.2rem;
  transition: transform 0.15s ease, filter 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

button:active {
  transform: translateY(0);
}

button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 160, 95, 0.24);
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin: 0;
  min-height: 1.3em;
  color: var(--muted);
  font-size: 0.86rem;
}

.status.status-error {
  color: var(--danger);
}

.status.status-success {
  color: var(--ok);
}

.tiny-note {
  margin: 0.35rem 0 0;
  color: #9d9588;
  font-size: 0.79rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .booking-shell {
    grid-template-columns: 1fr;
    width: min(740px, 100%);
  }

  .booking-info {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  .row {
    grid-template-columns: 1fr;
  }

  .booking-main {
    padding: 0.75rem;
  }

  .booking-shell {
    min-height: auto;
  }

  .booking-card,
  .booking-info {
    padding: 0.92rem;
    border-radius: 10px;
  }

  button,
  input,
  select,
  .toggle-btn {
    min-height: 44px;
  }

  .trust-row {
    gap: 0.35rem;
  }

  .trust-row span {
    font-size: 0.72rem;
    padding: 0.24rem 0.45rem;
  }

  .booking-toggle {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(18, 18, 18, 0.9));
    padding: 0.35rem 0;
    margin: 0 0 0.8rem;
  }

  .preview-grid strong {
    max-width: 58%;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .booking-main {
    padding: 0.55rem;
  }

  h1 {
    line-height: 0.98;
  }

  .intro {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .benefits li {
    font-size: 0.9rem;
  }

  .field-hint {
    font-size: 0.74rem;
  }

  .preview-grid p {
    gap: 0.5rem;
  }
}

@media (max-height: 740px) and (orientation: landscape) {
  .booking-main {
    padding: 0.6rem;
  }

  .booking-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .booking-info {
    gap: 0.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .booking-info:hover,
  .booking-card:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 160, 95, 0.3);
    box-shadow:
      0 20px 52px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
