/* ═══════════════════════════════════════════════════════════════
   Clínica Glamour — Booking Page Styles
═══════════════════════════════════════════════════════════════ */

/* ── Page base ──────────────────────────────────────────────── */
.booking-page {
  background: #F5F3EF;
  min-height: 100vh;
}

/* ── Header ─────────────────────────────────────────────────── */
.booking-header {
  background: #fff;
  border-bottom: 1px solid rgba(212,168,67,.18);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.bk-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bk-nav { display: flex; gap: 2rem; }

.bk-nav-link {
  font-size: .82rem;
  font-weight: 500;
  color: #6B6057;
  text-decoration: none;
  letter-spacing: .05em;
  transition: color .25s;
}
.bk-nav-link.active,
.bk-nav-link:hover { color: var(--gold, #D4A843); }

/* ── Main area ──────────────────────────────────────────────── */
.booking-main {
  padding: 48px 16px 80px;
}

.bk-container {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Page title ─────────────────────────────────────────────── */
.bk-title-block {
  text-align: center;
  margin-bottom: 36px;
}

.bk-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: .4rem;
}
.bk-title em {
  font-style: italic;
  color: var(--gold, #D4A843);
}

.bk-subtitle {
  font-size: .88rem;
  color: #8A7E75;
  letter-spacing: .02em;
}

/* ── Stepper ────────────────────────────────────────────────── */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8E3DC;
  color: #ABA298;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: background .3s, color .3s, box-shadow .3s;
  border: 2px solid transparent;
}

.step.active .step-icon {
  background: var(--gold, #D4A843);
  color: #1A1A1A;
  box-shadow: 0 4px 16px rgba(212,168,67,.38);
  border-color: var(--gold, #D4A843);
}

.step.done .step-icon {
  background: #1A1A1A;
  color: var(--gold, #D4A843);
  border-color: #1A1A1A;
}

.step-label {
  font-size: .72rem;
  font-weight: 500;
  color: #ABA298;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.step.active .step-label { color: var(--gold, #D4A843); font-weight: 600; }
.step.done  .step-label  { color: #1A1A1A; }

.step-line {
  flex: 1;
  height: 2px;
  background: #E0D9D1;
  min-width: 40px;
  max-width: 80px;
  margin-bottom: 22px;
  transition: background .3s;
}
.step-line.done { background: var(--gold, #D4A843); }

/* ── Card ───────────────────────────────────────────────────── */
.bk-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,.09);
  overflow: hidden;
  min-height: 360px;
}

/* ── Step content ───────────────────────────────────────────── */
.bk-step-content {
  display: none;
  padding: 36px 40px;
  animation: fadeSlide .32s ease;
}
.bk-step-content.active { display: block; }

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

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1A1A1A;
}

.btn-back {
  background: none;
  border: 1.5px solid #E0D9D1;
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-size: .8rem;
  font-weight: 500;
  color: #7A6E63;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: border-color .2s, color .2s;
}
.btn-back:hover { border-color: var(--gold, #D4A843); color: var(--gold, #D4A843); }

/* ── Professionals Grid ─────────────────────────────────────── */
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prof-card {
  border: 2px solid #EDE8E1;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.prof-card:hover {
  border-color: var(--gold, #D4A843);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,168,67,.18);
}
.prof-card.selected {
  border-color: var(--gold, #D4A843);
  background: rgba(212,168,67,.05);
}

.prof-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid #EDE8E1;
  transition: border-color .25s;
}
.prof-card:hover .prof-photo-wrap,
.prof-card.selected .prof-photo-wrap { border-color: var(--gold, #D4A843); }

.prof-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: .3rem;
}

.prof-card p {
  font-size: .78rem;
  color: #9A8E84;
}

/* ── Services List ──────────────────────────────────────────── */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.svc-card {
  border: 1.5px solid #EDE8E1;
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.svc-card:hover {
  border-color: var(--gold, #D4A843);
  background: rgba(212,168,67,.04);
  transform: translateY(-2px);
}
.svc-card.selected {
  border-color: var(--gold, #D4A843);
  background: rgba(212,168,67,.07);
}

.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .5rem;
}

.svc-name {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: #1A1A1A;
}

.svc-price {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold, #D4A843);
  white-space: nowrap;
}

.svc-desc {
  font-size: .78rem;
  color: #9A8E84;
  margin-bottom: .7rem;
  line-height: 1.5;
}

.svc-duration {
  font-size: .75rem;
  color: #B0A89E;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.svc-duration i { color: var(--gold, #D4A843); font-size: .7rem; }

/* ── Date & Time ────────────────────────────────────────────── */
.datetime-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.date-input {
  width: 100%;
  border: 1.5px solid #DDD7CF;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: #3D3327;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 14px;
}
.date-input:focus { border-color: var(--gold, #D4A843); }

.date-hints {
  list-style: disc;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.date-hints li {
  font-size: .76rem;
  color: #ABA298;
  line-height: 1.5;
}

.time-slots-wrap {
  border: 1.5px solid #EDE8E1;
  border-radius: 12px;
  min-height: 180px;
  overflow: hidden;
}

.time-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 32px 20px;
  color: #C4BBB2;
  text-align: center;
}
.time-placeholder i { font-size: 1.8rem; }
.time-placeholder p { font-size: .8rem; line-height: 1.6; }

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
}

.time-slot {
  border: 1.5px solid #EDE8E1;
  border-radius: 8px;
  padding: .5rem .3rem;
  text-align: center;
  font-size: .8rem;
  font-weight: 500;
  color: #3D3327;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.time-slot:hover {
  border-color: var(--gold, #D4A843);
  background: rgba(212,168,67,.07);
}
.time-slot.selected {
  background: var(--gold, #D4A843);
  border-color: var(--gold, #D4A843);
  color: #1A1A1A;
  font-weight: 600;
}
.time-slot.unavailable {
  background: #F5F3EF;
  color: #C4BBB2;
  cursor: not-allowed;
  text-decoration: line-through;
}

.step-footer-row {
  display: flex;
  justify-content: flex-end;
}

/* ── Client Form ────────────────────────────────────────────── */
.booking-summary {
  background: rgba(212,168,67,.08);
  border: 1.5px solid rgba(212,168,67,.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.summary-item { display: flex; flex-direction: column; gap: 2px; }
.summary-label { font-size: .72rem; color: #ABA298; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.summary-value { font-size: .9rem; color: #1A1A1A; font-weight: 600; }

.client-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: #3D3327;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid #DDD7CF;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: #3D3327;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold, #D4A843); }

.form-terms {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .78rem;
  color: #7A6E63;
}
.form-terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--gold, #D4A843);
  flex-shrink: 0;
}
.form-terms a { color: var(--gold, #D4A843); }

.confirm-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: .95rem;
  gap: .6rem;
  margin-top: 8px;
}

/* ── Success ────────────────────────────────────────────────── */
.success-block {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--gold, #D4A843);
  animation: pop .5s ease;
}
@keyframes pop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #1A1A1A;
}
.success-block > p { font-size: .88rem; color: #7A6E63; max-width: 400px; line-height: 1.7; }

.success-summary {
  background: rgba(212,168,67,.08);
  border: 1.5px solid rgba(212,168,67,.25);
  border-radius: 12px;
  padding: 18px 28px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin: .5rem 0;
}

.success-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.success-row span:first-child { font-size: .78rem; color: #ABA298; text-transform: uppercase; letter-spacing: .04em; }
.success-row span:last-child  { font-size: .9rem; font-weight: 600; color: #1A1A1A; }

.success-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }

.btn-outline-gold {
  border: 1.5px solid var(--gold, #D4A843);
  color: var(--gold, #D4A843);
  background: transparent;
  border-radius: 50px;
  padding: .75rem 1.8rem;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-outline-gold:hover {
  background: var(--gold, #D4A843);
  color: #1A1A1A;
}

/* ── Loading state ──────────────────────────────────────────── */
.loading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.skeleton {
  background: linear-gradient(90deg, #EDE8E1 25%, #F5F2EC 50%, #EDE8E1 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 14px;
  height: 140px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .bk-step-content { padding: 24px 20px; }
  .professionals-grid { grid-template-columns: 1fr 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .datetime-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .booking-summary { grid-template-columns: 1fr; }
  .stepper { gap: 0; }
  .step-line { min-width: 20px; }
  .step-label { font-size: .65rem; }
  .step-icon  { width: 36px; height: 36px; font-size: .8rem; }
}
@media (max-width: 420px) {
  .professionals-grid { grid-template-columns: 1fr; }
}
