/* Book Consultation — MentorMinds (conversion page) */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-light: #FF8A33;
  --orange-glow: rgba(255, 107, 0, 0.2);
  --navy: #0A1F44;
  --white: #FFFFFF;
  --light: #F4F6F9;
  --text: #1A1A2E;
  --muted: #6B7280;
  --error: #DC2626;
  --success: #16A34A;
  --whatsapp: #25D366;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(10, 31, 68, 0.1);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
fieldset { border: none; min-width: 0; }
legend { padding: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Header ───────────────────────────────────── */
.bk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.bk-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bk-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
}

.bk-logo-text span:first-child { font-family: var(--ff); font-weight: 700; font-size: 20px; color: var(--navy); }
.bk-logo-text span:last-child { font-family: var(--ff); font-weight: 700; font-size: 20px; color: var(--orange); }

.bk-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bk-header-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: none;
}

.bk-header-link i { color: var(--orange); margin-right: 6px; }

.bk-header-back {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid rgba(10, 31, 68, 0.12);
  transition: var(--transition);
}

.bk-header-back:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media (min-width: 576px) {
  .bk-header-link { display: inline-flex; align-items: center; }
}

/* ── Hero ─────────────────────────────────────── */
.bk-hero {
  background: var(--orange);
  color: var(--white);
  padding: 28px 24px 32px;
  text-align: center;
}

.bk-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.bk-hero h1 {
  font-family: var(--ff);
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.bk-hero-sub {
  font-size: clamp(14px, 2.5vw, 16px);
  opacity: 0.95;
  margin-bottom: 18px;
}

.bk-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  list-style: none;
}

.bk-trust li {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.bk-trust-icon { font-size: 12px; }

/* ── Form section ─────────────────────────────── */
.bk-form-section {
  padding: 32px 20px 48px;
}

.bk-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

/* Progress */
.bk-progress {
  margin-bottom: 24px;
}

.bk-progress-track {
  height: 4px;
  background: rgba(10, 31, 68, 0.1);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bk-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 50px;
  transition: width 0.4s ease;
}

.bk-steps-indicator {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 8px;
}

.bk-step-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.bk-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 700;
  background: var(--white);
  color: var(--muted);
  border: 2px solid rgba(10, 31, 68, 0.12);
  transition: var(--transition);
}

.bk-step-label {
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
  transition: var(--transition);
}

.bk-step-dot.is-active .bk-step-circle,
.bk-step-dot.is-done .bk-step-circle {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.bk-step-dot.is-active .bk-step-label,
.bk-step-dot.is-done .bk-step-label {
  color: var(--navy);
}

.bk-step-dot.is-done .bk-step-circle {
  background: var(--navy);
  border-color: var(--navy);
}

/* Card */
.bk-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  border: 1px solid rgba(10, 31, 68, 0.05);
}

/* Panels */
.bk-panel {
  display: none;
  animation: bkFadeIn 0.35s ease;
}

.bk-panel.is-active { display: block; }

@keyframes bkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bk-panel-title {
  font-family: var(--ff);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.bk-label,
.bk-field > label {
  display: block;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.bk-req { color: var(--orange); }

.bk-field { margin-bottom: 20px; }

.bk-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.bk-field-row .bk-field { margin-bottom: 0; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  background: var(--light);
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
  background: var(--white);
}

input.is-invalid,
select.is-invalid {
  border-color: var(--error);
  background: #FEF2F2;
}

.bk-phone-wrap {
  display: flex;
  align-items: stretch;
}

.bk-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(10, 31, 68, 0.06);
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.bk-phone-wrap input {
  border-radius: 0 10px 10px 0;
  flex: 1;
}

.bk-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
  min-height: 18px;
}

/* Service grid */
.bk-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bk-service-opt input { position: absolute; opacity: 0; pointer-events: none; }

.bk-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: 12px;
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.bk-service-card i {
  font-size: 20px;
  color: var(--orange);
}

.bk-service-card span:last-child {
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.bk-service-opt input:checked + .bk-service-card,
.bk-service-card:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.06);
  box-shadow: 0 0 0 2px var(--orange-glow);
}

/* Consultants */
.bk-consultants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bk-consultant input { position: absolute; opacity: 0; pointer-events: none; }

.bk-consultant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: 12px;
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.bk-consultant-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
}

.bk-consultant-name {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.bk-consultant-spec {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
}

.bk-consultant input:checked + .bk-consultant-card,
.bk-consultant-card:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.06);
  box-shadow: 0 0 0 2px var(--orange-glow);
}

/* Time slots */
.bk-slots { display: flex; flex-direction: column; gap: 16px; }

.bk-slot-period {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.bk-slot-period i { color: var(--orange); }

.bk-slot-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bk-slot-btn {
  padding: 10px 18px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--light);
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: 50px;
  transition: var(--transition);
}

.bk-slot-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.bk-slot-btn.is-selected {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* Meeting type */
.bk-meeting-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bk-meeting-opt input { position: absolute; opacity: 0; pointer-events: none; }

.bk-meeting-opt span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: 12px;
  background: var(--light);
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.bk-meeting-opt span i { font-size: 18px; color: var(--orange); }

.bk-meeting-opt input:checked + span,
.bk-meeting-opt span:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.06);
}

/* Buttons */
.bk-actions { margin-top: 28px; }

.bk-actions-split {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bk-actions-split .bk-btn-primary { flex: 1; min-width: 140px; }

.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
}

.bk-btn-primary {
  background: var(--orange);
  color: var(--white);
  width: 100%;
}

.bk-btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.bk-btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10, 31, 68, 0.15);
}

.bk-btn-ghost:hover {
  border-color: var(--navy);
}

.bk-btn-full { width: 100%; flex: 1; }

/* Confirmation */
.bk-confirm {
  text-align: center;
  animation: bkFadeIn 0.4s ease;
}

.bk-confirm-icon {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--success), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bk-confirm-title {
  font-family: var(--ff);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.bk-confirm-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.bk-summary {
  text-align: left;
  background: var(--light);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.bk-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
}

.bk-summary > div:last-child { border-bottom: none; }

.bk-summary dt {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.bk-summary dd {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}

.bk-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.bk-btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid rgba(10, 31, 68, 0.15);
  width: 100%;
}

.bk-btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.bk-btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  width: 100%;
}

.bk-btn-whatsapp:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.bk-wa-note {
  font-size: 14px;
  color: var(--muted);
}

.bk-wa-note a {
  color: var(--whatsapp);
  font-weight: 600;
}

.bk-wa-note a:hover { text-decoration: underline; }

/* Footer */
.bk-footer {
  text-align: center;
  padding: 20px 24px 28px;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 640px) {
  .bk-card { padding: 24px 18px; }
  .bk-field-row { grid-template-columns: 1fr; gap: 0; }
  .bk-field-row .bk-field { margin-bottom: 20px; }
  .bk-service-grid { grid-template-columns: repeat(2, 1fr); }
  .bk-consultants { grid-template-columns: 1fr; }
  .bk-meeting-types { grid-template-columns: 1fr; }
  .bk-step-label { font-size: 10px; }
  .bk-actions-split { flex-direction: column-reverse; }
  .bk-actions-split .bk-btn { width: 100%; }
}

@media (max-width: 400px) {
  .bk-trust { flex-direction: column; align-items: center; gap: 6px; }
}
