/* ============================================================
   BOOKING SYSTEM — Floating Button + Modal Wizard
   ============================================================ */

/* Floating Book Now Button */
.book-now-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1050;
  background: #4a4c22;
  color: #f3eee8;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(74, 76, 34, 0.4);
  transition: background 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  animation: fabPulse 3s ease-in-out infinite;
}
.book-now-fab:hover {
  background: #3d3e1c;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 40px rgba(74, 76, 34, 0.55);
  animation: none;
}
.book-now-fab svg {
  flex-shrink: 0;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(74, 76, 34, 0.4); }
  50%      { box-shadow: 0 8px 40px rgba(74, 76, 34, 0.65); }
}

/* Booking Modal Container */
.booking-modal-content {
  background: #f3eee8;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}
#bookingModal .modal-xl {
  max-width: 800px;
}
#bookingModal .modal-body {
  min-height: 500px;
}
.booking-modal-header {
  background: #4a4c22;
  color: #f3eee8;
  border: none;
  padding: 1.2rem 1.5rem;
  position: relative;
  display: block;
  text-align: center;
}
.booking-close-btn {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}
.booking-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.booking-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.2rem;
}
.booking-studio-name {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.booking-modal-header .modal-title {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0;
}
.booking-modal-body {
  padding: 1.5rem;
}

/* Form controls */
.booking-modal-body .form-label {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a4c22;
  margin-bottom: 0.35rem;
}
.booking-modal-body .form-control,
.booking-modal-body .form-select {
  border: 1px solid rgba(74, 76, 34, 0.25);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  background: #ffffff;
  color: #040404;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.booking-modal-body .form-control:focus,
.booking-modal-body .form-select:focus {
  border-color: #4a4c22;
  box-shadow: 0 0 0 0.2rem rgba(74, 76, 34, 0.15);
}
.booking-modal-body textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Submit button */
.booking-submit-btn {
  background: #4a4c22;
  color: #f3eee8;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 2rem;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s;
}
.booking-submit-btn:hover {
  background: #3d3e1c;
  color: #f3eee8;
}
.booking-submit-btn:disabled {
  opacity: 0.7;
}

/* Validation */
.booking-modal-body .was-validated .form-control:invalid,
.booking-modal-body .form-control.is-invalid {
  border-color: #dc3545;
}
.booking-modal-body .invalid-feedback {
  font-size: 0.8rem;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
}
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(243, 238, 232, 0.3);
  transition: background 0.4s, transform 0.3s;
}
.step-dot.active {
  background: #f3eee8;
  transform: scale(1.2);
}

/* Wizard Steps */
.wizard-step {
  display: none;
  animation: fadeSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.wizard-step.active {
  display: block;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #4a4c22;
  margin-bottom: 1.2rem;
}

.booking-welcome-text {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  color: #4a4c22;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 0;
  padding: 0 1rem;
}

.booking-step1-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}
.booking-step1-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.booking-step1-studio-name {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #4a4c22;
  margin-bottom: 1rem;
}
.booking-divider {
  border: none;
  border-top: 1px solid rgba(74, 76, 34, 0.2);
  margin: 0.5rem 0 1.2rem;
}

/* Step 1 — Consultation Cards */
.consultation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}
.consultation-list::-webkit-scrollbar { width: 5px; }
.consultation-list::-webkit-scrollbar-thumb { background: rgba(74,76,34,0.25); border-radius: 10px; }

.consult-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(74, 76, 34, 0.15);
  border-radius: 0;
  padding: 1.2rem 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.consult-card:nth-child(odd) {
  border-right: 1px solid rgba(74, 76, 34, 0.15);
}
.consult-card:hover {
  background: rgba(74, 76, 34, 0.04);
}
.consult-card.selected {
  background: rgba(74, 76, 34, 0.08);
}

.consult-card-body { flex: 1; }

.consult-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.consult-card-name {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #040404;
}
.consult-card-arrow {
  color: #4a4c22;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.consult-card-desc {
  margin: 0.5rem 0 0;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.82rem;
  color: #726658;
  line-height: 1.5;
}

/* Step 2 — Summary + Calendar */
.step2-summary {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(74, 76, 34, 0.1);
}
.step2-summary .eyebrow { margin-bottom: 0.5rem; display: block; }
.summary-name {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #040404;
  margin: 0 0 0.5rem;
}
.summary-price {
  display: inline-block;
  background: #4a4c22;
  color: #f3eee8;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.summary-desc {
  margin: 0;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.85rem;
  color: #726658;
  line-height: 1.6;
}
.summary-detail {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.9rem;
  color: #040404;
  margin-top: 0.5rem;
}

/* Time slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.time-slot {
  background: #ffffff;
  border: 1px solid rgba(74, 76, 34, 0.2);
  border-radius: 6px;
  padding: 0.5rem;
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.85rem;
  color: #040404;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}
.time-slot:hover {
  border-color: #4a4c22;
  background: rgba(74, 76, 34, 0.04);
}
.time-slot.selected {
  background: #4a4c22;
  color: #f3eee8;
  border-color: #4a4c22;
  font-weight: 600;
}

/* Eyebrow label */
.eyebrow {
  font-family: "Cabinet Grotesk", Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #726658;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 575.98px) {
  .book-now-fab {
    bottom: 1rem;
    right: 1rem;
    padding: 12px 18px;
    font-size: 13px;
  }
  .book-now-fab span { display: none; }
  .book-now-fab { border-radius: 50%; padding: 14px; }
  .booking-modal-body { padding: 1rem; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .step2-summary { padding: 1rem; }
  .consultation-list { grid-template-columns: 1fr; }
  .consult-card { padding: 0.8rem; }
  .consult-card:nth-child(odd) { border-right: none; }
  .consult-card-header { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ============================================================
   FIX: Remove white line caused by Bootstrap CSS conflicts
   ============================================================ */
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background-color: #f3eee8 !important;
}
body::before,
body::after {
  display: none !important;
  content: none !important;
}

/* Preserve Webflow nav layout — override Bootstrap */
.navigation-main {
  background-color: var(--bage) !important;
  -webkit-text-fill-color: inherit;
  background-clip: padding-box;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 30px 20px 0 !important;
  display: flex !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
}
.navigation-main::before,
.navigation-main::after {
  display: none !important;
  content: none !important;
}
.w-nav {
  z-index: 1000 !important;
  background: transparent !important;
  position: relative !important;
}
.w-nav::before,
.w-nav::after {
  display: none !important;
  content: none !important;
}

/* Prevent Bootstrap from styling bare nav/element tags */
nav {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Remove the beige line between nav and hero */
.top-content {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  margin-top: 0 !important;
}

/* Kill the Webflow w-nav bottom line */
.navigation-main::after {
  display: none !important;
  content: none !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 0 !important;
  border-bottom: none !important;
}

/* No gap between nav and hero */
.page-content {
  display: flex !important;
  flex-direction: column !important;
}
.page-content > .navigation-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.page-content > .top-content {
  margin-top: 0 !important;
}
nav::before,
nav::after {
  display: none !important;
  content: none !important;
}

/* Prevent Bootstrap img border */
img {
  border: 0 !important;
  outline: none !important;
  vertical-align: middle !important;
  max-width: 100% !important;
  display: inline-block !important;
}

/* Kill any Bootstrap hr showing as white line */
hr {
  margin: 0 !important;
  border: 0 !important;
  border-top: none !important;
  opacity: 0 !important;
  height: 0 !important;
}
hr.booking-divider {
  opacity: 1 !important;
  height: auto !important;
  border-top: 1px solid rgba(74, 76, 34, 0.2) !important;
}

figure, .figure {
  margin: 0 !important;
}

/* Nuclear: kill all Bootstrap pseudo-elements on nav-related wrappers */
.page-content > .navigation-main,
.page-content > .navigation-main + * {
  margin-top: 0 !important;
}

/* Ensure nav-menu doesn't get Bootstrap .nav styles */
.nav-menu {
  background-color: transparent !important;
  display: flex !important;
  grid-column-gap: 9px !important;
  grid-row-gap: 9px !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav-menu::before,
.nav-menu::after {
  display: none !important;
  content: none !important;
}
.nav-menu.first {
  order: -1 !important;
  display: flex !important;
}

.last-item-second {
  grid-column-gap: 9px !important;
  grid-row-gap: 9px !important;
  order: 1 !important;
  display: flex !important;
  border: none !important;
}

/* Bootstrap button/form control overrides inside nav */
.navigation-main button,
.navigation-main input,
.navigation-main select,
.navigation-main textarea {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Remove any Bootstrap-generated border-bottom on nav containers */
.navbar, .navbar-expand-lg, .navbar-light, .bg-light {
  background-color: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Ensure body and page-content have no gaps */
.page-content {
  margin: 0 !important;
  padding: 0 !important;
}
.page-content > *:first-child {
  margin-top: 0 !important;
}

/* Restore marquee .h1 size — Bootstrap overrides it */
.h1 {
  font-size: 10vw !important;
  line-height: 10vw !important;
  color: #4a4c22 !important;
}

/* Booking stability only: preserves existing visual design. */
html, body { max-width: 100%; overflow-x: hidden; }
.book-now-fab { position: fixed !important; right: 8px !important; bottom: 8px !important; left: auto !important; top: auto !important; transform: none !important; z-index: 2147483000 !important; max-width: calc(100vw - 16px) !important; }
#bookingModal { z-index: 2147482000 !important; }
#bookingModal .modal-dialog { max-width: 800px; }
#bookingModal .consultation-list { overflow-y: auto; }
@media (max-width: 575.98px) { .book-now-fab { right: 8px !important; bottom: 8px !important; max-width: calc(100vw - 16px) !important; } }
