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

:root {
  --gold: #C9A84C;
  --gold-light: #E8C878;
  --gold-dark: #9B7A2E;
  --cream: #F5F0E8;
  --charcoal: #1A1A1A;
  --charcoal-mid: #2C2C2C;
  --charcoal-light: #3D3D3D;
  --gray-muted: #8A8A8A;
  --gray-border: #333333;
  --text-light: #D0CEC9;
}

html { scroll-behavior: smooth; }

body {
  background: #f0f0f0;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV LOGO (shared) ── */
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.12em;
  color: var(--gold); text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--cream); }

/* ── LANG SWITCHER ── */
.lang-switcher { display: flex; gap: 0.35rem; align-items: center; }
.lang-btn {
  width: 34px; height: 24px; padding: 0;
  border: 2px solid transparent; background: none;
  cursor: pointer; border-radius: 3px; overflow: hidden;
  opacity: 0.45; transition: opacity 0.2s, border-color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.lang-btn svg { width: 100%; height: 100%; display: block; }
.lang-btn:hover { opacity: 0.85; }
.lang-btn.active { opacity: 1; border-color: var(--gold); }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label {
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-muted); font-weight: 500;
}
input, select, textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--cream); padding: 0.6rem 0.9rem;
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  outline: none; width: 100%;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none; border-radius: 3px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
select option { background: var(--charcoal-mid); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: var(--charcoal);
  border: none; padding: 1rem 2.4rem;
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-next {
  background: var(--gold); color: var(--charcoal);
  border: none; padding: 0.75rem 2rem;
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-next:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-next:disabled { background: var(--charcoal-light); color: var(--gray-muted); cursor: not-allowed; transform: none; }

.error-msg { font-size: 0.75rem; color: #E74C3C; margin-top: 0.3rem; display: none; }
.error-msg.show { display: block; }

/* ── BOOKING PAGE LAYOUT ── */
.booking-page { background: var(--charcoal); min-height: 100vh; max-width: 1100px; margin: 0 auto; }

.bk-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(26,26,26,0.97);
  border-bottom: 1px solid var(--gray-border);
  backdrop-filter: blur(10px);
  height: 56px;
}
.bk-back-btn {
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0; transition: opacity 0.2s;
}
.bk-back-btn:hover { opacity: 0.75; }

.bk-main {
  max-width: 860px; margin: 0 auto;
  padding: 5rem 2rem 5.5rem;
}
.bk-header { margin-bottom: 1.2rem; }
.bk-tag {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.25rem;
}
.bk-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.08em; color: var(--cream); line-height: 1.05;
}

/* ── STEP INDICATORS ── */
.booking-steps { display: flex; align-items: center; margin-bottom: 1.4rem; }
.step-item { display: flex; flex-direction: column; align-items: center; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
  border: 2px solid var(--gray-border);
  color: var(--gray-muted); background: var(--charcoal-mid);
  transition: all 0.3s; flex-shrink: 0;
}
.step-dot.active { border-color: var(--gold); color: var(--gold); }
.step-dot.done { border-color: var(--gold); background: var(--gold); color: var(--charcoal); }
.step-line { flex: 1; height: 1px; background: var(--gray-border); transition: background 0.3s; }
.step-line.done { background: var(--gold); }
.step-label {
  font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gray-muted);
  text-align: center; margin-top: 0.3rem; white-space: nowrap;
}

/* ── BOOKING STEPS ── */
.booking-step { display: none; padding-top: 0.2rem; }
.booking-step.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── FIXED FOOTER BAR ── */
.bk-footer-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(20,20,20,0.98); border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 2rem; backdrop-filter: blur(12px);
}
.bk-footer-total { display: flex; flex-direction: column; }
.bk-footer-label { font-size: 0.7rem; color: var(--gray-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.bk-footer-price { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold); letter-spacing: 0.04em; line-height: 1.1; }
.bk-footer-btn {
  background: var(--gold); color: var(--charcoal); border: none; border-radius: 4px;
  padding: 0.9rem 1.8rem; font-family: 'Inter', sans-serif; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; white-space: nowrap; flex-shrink: 0;
}
.bk-footer-btn:hover { background: var(--gold-light); }

/* ── SERVICE LIST ── */
.svc-cat-tabs { display: flex; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.svc-tab {
  background: none; border: none; color: var(--gray-muted);
  font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.65rem 1.2rem;
  cursor: pointer; position: relative; transition: color 0.2s;
}
.svc-tab::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s; }
.svc-tab.active { color: var(--gold); }
.svc-tab.active::after { transform: scaleX(1); }

.svc-list { display: flex; flex-direction: column; margin-bottom: 0.5rem; }
.svc-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer; transition: background 0.15s; border-radius: 3px;
}
.svc-row:hover { background: rgba(255,255,255,0.03); }
.svc-row.selected { background: rgba(201,168,76,0.05); }
.svc-check-circle {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: transparent; flex-shrink: 0; transition: all 0.2s;
}
.svc-row.selected .svc-check-circle { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.svc-row-info { flex: 1; }
.svc-row-name { font-size: 0.9rem; font-weight: 500; color: var(--cream); line-height: 1.3; }
.svc-row-dur { font-size: 0.72rem; color: var(--gray-muted); margin-top: 0.1rem; }
.svc-row-price { font-size: 0.9rem; font-weight: 600; color: var(--cream); white-space: nowrap; flex-shrink: 0; }

/* ── BARBER DROPDOWN ── */
.barber-select-row {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  padding: 0.7rem 1rem; border-radius: 4px; margin-bottom: 0.9rem; transition: border-color 0.2s;
}
.barber-select-row:focus-within { border-color: rgba(201,168,76,0.4); }
.barber-select-icon { font-size: 1rem; color: var(--gold); flex-shrink: 0; }
.barber-dropdown {
  flex: 1; background: none; border: none; color: var(--cream);
  font-family: 'Inter', sans-serif; font-size: 0.88rem; cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
}
.barber-dropdown option { background: #242424; color: var(--cream); }

/* ── DATE STRIP ── */
.date-strip-wrapper { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.strip-arrow {
  background: none; border: 1px solid var(--gray-border); color: var(--gray-muted);
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem; flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s; display: flex; align-items: center; justify-content: center;
}
.strip-arrow:hover { border-color: var(--gold); color: var(--gold); }
.date-strip {
  display: flex; gap: 0.35rem; flex: 1;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.day-card {
  flex: 1 0 40px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 0.45rem 0.3rem;
  cursor: pointer; border: 1.5px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04); border-radius: 4px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.day-card:hover:not(.day-disabled) { border-color: var(--gold-dark); background: rgba(201,168,76,0.08); transform: translateY(-2px); }
.day-card.day-selected { border-color: var(--gold); background: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,168,76,0.3); }
.day-card.day-disabled { opacity: 0.25; cursor: not-allowed; }
.day-card.day-today:not(.day-selected) { border-color: rgba(201,168,76,0.5); }
.day-name { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-muted); margin-bottom: 0.15rem; }
.day-card.day-selected .day-name { color: var(--charcoal); }
.day-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; line-height: 1; color: var(--cream); }
.day-card.day-selected .day-num { color: var(--charcoal); }
.day-month { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-muted); margin-top: 0.1rem; }
.day-card.day-selected .day-month { color: var(--charcoal); }
.time-slots-label { font-size: 0.72rem; color: var(--gray-muted); letter-spacing: 0.05em; margin-bottom: 0.5rem; text-align: center; }

/* ── TIME SLOTS ── */
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-top: 0.4rem; }
.time-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-light); padding: 0.45rem 0.3rem;
  font-size: 0.78rem; cursor: pointer; text-align: center;
  border-radius: 3px; transition: all 0.15s;
}
.time-btn:hover:not(.unavail) { border-color: var(--gold-dark); color: var(--cream); background: rgba(201,168,76,0.08); }
.time-btn.selected { border-color: var(--gold); background: rgba(201,168,76,0.15); color: var(--gold); font-weight: 600; box-shadow: 0 0 10px rgba(201,168,76,0.2); }
.time-btn.unavail { opacity: 0.2; cursor: not-allowed; text-decoration: line-through; }
.time-btn.past { opacity: 0.22; cursor: not-allowed; color: var(--gray-muted); text-decoration: line-through; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.5rem; }

/* ── INLINE SUMMARY ── */
.inline-summary { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 1rem 1.1rem; margin: 0.85rem 0; }
.is-datetime { font-weight: 600; color: var(--cream); font-size: 0.92rem; margin-bottom: 0.2rem; }
.is-barber { font-size: 0.76rem; color: var(--gray-muted); margin-bottom: 0.6rem; }
.is-row { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.84rem; color: var(--text-light); gap: 1rem; }
.is-total { display: flex; justify-content: space-between; padding: 0.55rem 0 0; font-weight: 700; color: var(--cream); }
.is-total strong { color: var(--gold); font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.04em; }

/* ── CONFIRMATION SCREEN ── */
.confirm-box { text-align: center; padding: 3rem 2rem; }
.confirm-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(201,168,76,0.12); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.5rem;
}
.confirm-box h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.confirm-box p { color: var(--gray-muted); font-size: 0.92rem; line-height: 1.7; max-width: 400px; margin: 0 auto 2rem; }
.confirm-detail { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 1.5rem; max-width: 420px; margin: 0 auto 2rem; text-align: left; }
.summary-row { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid var(--gray-border); font-size: 0.84rem; gap: 1rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row .key { color: var(--gray-muted); flex-shrink: 0; }
.summary-row .val { color: var(--cream); font-weight: 500; text-align: right; }

/* ── FULL-WIDTH CONFIRM BUTTON ── */
.bk-confirm-full { width: 100%; margin-top: 1.2rem; padding: 1rem; font-size: 0.88rem; letter-spacing: 0.12em; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .bk-topbar { padding: 0 1.2rem; height: 52px; }
  .bk-footer-bar { padding: 0.85rem 1.2rem; }
  .bk-footer-price { font-size: 1.65rem; }
  .bk-main { padding: 4rem 1rem 5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .time-grid { grid-template-columns: repeat(4, 1fr); gap: 0.35rem; }
  .time-btn { font-size: 0.73rem; padding: 0.42rem 0.2rem; }
  .step-label { display: none; }
}
@media (max-width: 480px) {
  .bk-topbar { padding: 0 0.9rem; height: 50px; }
  .bk-footer-bar { padding: 0.7rem 0.9rem; }
  .bk-footer-price { font-size: 1.45rem; }
  .bk-footer-btn { padding: 0.7rem 1rem; font-size: 0.75rem; letter-spacing: 0.06em; }
  .bk-main { padding: 3.8rem 0.75rem 5rem; }
  .bk-title { font-size: 2rem; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-arrow { width: 28px; height: 28px; font-size: 0.85rem; }
  .date-strip { gap: 0.25rem; }
  .day-card { flex: 1 0 36px; padding: 0.4rem 0.15rem; }
  .svc-tab { padding: 0.55rem 0.8rem; font-size: 0.72rem; }
  .svc-row { gap: 0.6rem; padding: 0.8rem 0.1rem; }
}
