/* ═══════════════════════════════════════════════════
   NEXT STEP EVOLUTION — Booking Page
   Dark Black & Yellow — same system as assessment
   ═══════════════════════════════════════════════════ */

:root {
  --bg:            #0f0f0f;
  --bg-card:       #181818;
  --bg-card2:      #1f1f1f;
  --panel:         rgba(255,255,255,0.03);
  --panel-s:       rgba(255,255,255,0.06);
  --border:        rgba(255,255,255,0.08);
  --border-s:      rgba(255,255,255,0.14);

  --text:     #ffffff;
  --text-dim: #b0b0b0;
  --muted:    #666666;

  --yellow:      #f2c030;
  --yellow-d:    #c99a1a;
  --yellow-soft: rgba(242,192,48,0.10);
  --yellow-glow: rgba(242,192,48,0.20);

  --danger:      #e05a4a;
  --danger-soft: rgba(224,90,74,0.10);

  --shadow-xl: 0 24px 80px rgba(0,0,0,0.85);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);

  --r-xl: 12px;
  --r-lg: 8px;
  --r-md: 6px;
  --r-sm: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── Background glows ── */

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.glow-a {
  width: 55rem; height: 55rem;
  top: -22rem; right: -22rem;
  background: rgba(242,192,48,0.035);
}
.glow-b {
  width: 40rem; height: 40rem;
  bottom: -14rem; left: -14rem;
  background: rgba(242,192,48,0.022);
}

/* ── Site header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 680px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.01em;
}

.site-logo { height: 44px; width: auto; display: block; }

.header-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242,192,48,0.28);
  background: var(--yellow-soft);
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Page layout ── */

.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  display: grid;
  gap: 20px;
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 40px 0 8px;
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Video embed ── */

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-md);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Card ── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-xl);
}

.card-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.card-sub {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

/* ── Form fields ── */

.field {
  margin-bottom: 22px;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: var(--bg-card2);
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 150ms;
  appearance: none;
  -webkit-appearance: none;
}

.field-input::placeholder { color: var(--muted); }
.field-input:focus { border-color: var(--yellow); }

.field-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-select option { background: #1f1f1f; }

/* ── Phone row ── */

.phone-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.code-wrap {
  position: relative;
  flex-shrink: 0;
}

.code-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 12px;
  background: var(--bg-card2);
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 150ms;
  user-select: none;
}
.code-btn:hover { border-color: rgba(255,255,255,0.22); }
.code-btn.is-open { border-color: var(--yellow); }

.chevron {
  width: 10px;
  height: 6px;
  color: var(--muted);
  transition: transform 150ms;
}
.code-btn.is-open .chevron { transform: rotate(180deg); }

.code-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  width: 260px;
  max-height: 280px;
  overflow-y: auto;
  background: #202020;
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  list-style: none;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.code-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 100ms;
}
.code-dropdown li:hover { background: rgba(255,255,255,0.06); }
.code-dropdown li.is-selected { background: var(--yellow-soft); color: var(--yellow); }

.code-dropdown li .cd-name { flex: 1; color: var(--text-dim); }
.code-dropdown li .cd-dial { font-weight: 700; flex-shrink: 0; }

.phone-input { flex: 1; }

/* ── Contact method ── */

.method-row {
  display: flex;
  gap: 10px;
}

.method-opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  background: var(--bg-card2);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 150ms, background 150ms;
  user-select: none;
}

.method-opt:hover { border-color: rgba(255,255,255,0.22); }
.method-opt.is-selected {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--yellow);
}

.method-icon { font-size: 1.15rem; line-height: 1; }
.method-label { font-size: 0.9rem; }

/* ── Time slots ── */

.slots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  background: var(--bg-card2);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 150ms, background 150ms, color 150ms;
}
.slot-btn:hover { border-color: rgba(255,255,255,0.22); color: var(--text); }
.slot-btn.is-selected {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--yellow);
}

.slot-icon { font-size: 1.3rem; }
.slot-sub  { font-size: 0.7rem; font-weight: 500; opacity: 0.7; }

/* ── Days ── */

.days-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-s);
  border-radius: var(--r-md);
  background: var(--bg-card2);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: border-color 150ms, background 150ms, color 150ms;
  user-select: none;
}
.day-chip input { display: none; }
.day-chip:hover { border-color: rgba(255,255,255,0.22); color: var(--text); }
.day-chip.is-checked {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--yellow);
}

/* ── Error message ── */

.err-msg {
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--danger-soft);
  border: 1px solid rgba(224,90,74,0.25);
  color: #e88a7e;
  font-size: 0.84rem;
  margin-bottom: 16px;
}

/* ── Submit button ── */

.submit-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, var(--yellow-d), var(--yellow));
  color: #0f0f0f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 150ms, transform 80ms;
  box-shadow: 0 4px 24px rgba(242,192,48,0.25);
}
.submit-btn:hover   { opacity: 0.9; }
.submit-btn:active  { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ── Success card ── */

.success-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px 32px 48px;
  box-shadow: var(--shadow-xl);
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow-soft);
  border: 1px solid rgba(242,192,48,0.28);
  color: var(--yellow);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.success-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.success-body {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-s);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 150ms, color 150ms;
}
.back-link:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }

/* ══════════════════════════════
   Mobile — 480px and below
══════════════════════════════ */

@media (max-width: 600px) {
  .page-wrap {
    padding: 28px 14px 60px;
  }

  .hero {
    padding-top: 24px;
  }

  .card {
    padding: 24px 18px 22px;
  }

  .slots-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .slot-btn {
    padding: 12px 4px;
    font-size: 0.8rem;
  }

  .slot-icon { font-size: 1.1rem; }
  .slot-sub  { display: none; }

  .days-row {
    gap: 6px;
  }

  .day-chip {
    width: 40px;
    height: 40px;
    font-size: 0.78rem;
  }

  .method-row {
    gap: 8px;
  }

  .header-badge {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .code-dropdown {
    width: 230px;
  }
}
