/* EQX Labs — booking-wizard.css | Guided booking wizard: goal grid, service cards, modal */

/* ===== SHARED WIZARD STEP STRUCTURE ===== */
.wizard-step {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.wizard-step.hidden {
  display: none !important;
}

/* ===== PROGRESS INDICATOR ===== */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.wizard-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.wizard-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--eqx-border-light);
  background: var(--eqx-dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  color: var(--eqx-text-muted);
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.wizard-progress-step.active .wizard-progress-dot {
  border-color: var(--eqx-accent);
  background: rgba(195, 181, 159, 0.15);
  color: var(--eqx-accent);
}

.wizard-progress-step.done .wizard-progress-dot {
  border-color: var(--eqx-accent);
  background: var(--eqx-accent);
  color: var(--eqx-dark-bg);
}

.wizard-progress-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eqx-text-muted);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.wizard-progress-step.active .wizard-progress-label {
  color: var(--eqx-accent);
}

.wizard-progress-connector {
  width: 80px;
  height: 1px;
  background: var(--eqx-border-light);
  margin: 0 4px;
  margin-bottom: 28px;
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.wizard-progress-connector.done {
  background: var(--eqx-accent);
}

/* ===== STEP 1: GOAL SELECTION GRID ===== */
.wizard-question {
  text-align: center;
  margin-bottom: 48px;
}

.wizard-question-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eqx-accent);
  display: block;
  margin-bottom: 12px;
}

.wizard-question h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--eqx-text-light);
  line-height: 1.2;
  margin-bottom: 14px;
}

.wizard-question h2 span {
  color: var(--eqx-accent);
}

.wizard-question p {
  font-size: 0.95rem;
  color: var(--eqx-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Goal Button Grid — 3 columns, 2 rows */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.goal-card {
  background: var(--eqx-dark-card);
  border: 1.5px solid var(--eqx-border-light);
  border-radius: 16px;
  padding: 32px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.goal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(195, 181, 159, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.goal-card:hover {
  border-color: var(--eqx-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(195, 181, 159, 0.08);
  transform: translateY(-3px);
}

.goal-card:hover::before {
  opacity: 1;
}

.goal-card.selected {
  border-color: var(--eqx-accent);
  background: rgba(195, 181, 159, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(195, 181, 159, 0.15);
}

.goal-card-icon {
  font-size: 2rem;
  line-height: 1;
  display: block;
}

.goal-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--eqx-text-light);
  line-height: 1.3;
}

.goal-card-desc {
  font-size: 0.82rem;
  color: var(--eqx-text-muted);
  line-height: 1.5;
}

.goal-card-price {
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--eqx-accent);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid rgba(195, 181, 159, 0.12);
  width: 100%;
}

@media (max-width: 768px) {
  .goal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .goal-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== STEP 2: SERVICE PACKAGE CARDS ===== */
.wizard-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.back-btn {
  background: none;
  border: 1px solid var(--eqx-border-light);
  color: var(--eqx-text-muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.back-btn:hover {
  border-color: var(--eqx-accent);
  color: var(--eqx-accent);
  background: rgba(195, 181, 159, 0.06);
}

.step2-title-block {
  text-align: center;
  margin-bottom: 40px;
}

.step2-selected-goal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(195, 181, 159, 0.1);
  border: 1px solid rgba(195, 181, 159, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eqx-accent);
  margin-bottom: 16px;
}

.step2-selected-goal .goal-pill-icon {
  font-size: 1rem;
}

.step2-title-block h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--eqx-text-light);
  margin-bottom: 10px;
}

.step2-title-block h2 span {
  color: var(--eqx-accent);
}

.step2-title-block p {
  font-size: 0.9rem;
  color: var(--eqx-text-muted);
}

/* Package Card Grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--eqx-dark-card);
  border: 1.5px solid var(--eqx-border-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--eqx-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.service-card-photo {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.service-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(12, 14, 13, 0.85) 100%);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.service-card-duration {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--eqx-accent);
  display: inline-block;
  background: color-mix(in srgb, var(--eqx-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--eqx-accent) 25%, transparent);
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

.service-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--eqx-text-light);
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.83rem;
  color: var(--eqx-text-muted);
  line-height: 1.55;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(195, 181, 159, 0.1);
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.service-card-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--eqx-text-light);
}

.select-service-btn {
  padding: 8px 18px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
}

@media (max-width: 600px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .wizard-step-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== AIRBNB LISTING PREVIEW CARD (Studio & Stay step) ===== */
.airbnb-preview-block {
  grid-column: 1 / -1;
  margin-bottom: 12px;
}

.airbnb-listing-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(195, 181, 159, 0.2);
  background: var(--eqx-dark-card);
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.airbnb-listing-card:hover {
  border-color: rgba(195, 181, 159, 0.4);
}

.airbnb-listing-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.airbnb-listing-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(12, 14, 13, 0.6) 100%);
}

.airbnb-listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 90, 95, 0.35);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.airbnb-listing-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.airbnb-listing-location {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eqx-accent);
}

.airbnb-listing-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--eqx-text-light);
  line-height: 1.25;
}

.airbnb-listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.airbnb-meta-item {
  font-size: 0.85rem;
  color: var(--eqx-text-muted);
}

.airbnb-meta-dot {
  color: var(--eqx-border-light);
}

.airbnb-listing-desc {
  font-size: 0.87rem;
  color: var(--eqx-text-muted);
  line-height: 1.6;
  max-width: 460px;
  margin-top: 4px;
}

.airbnb-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF5A5F;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 8px;
  margin-top: 8px;
  width: fit-content;
  transition: background 0.25s ease, transform 0.2s ease;
}

.airbnb-view-btn:hover {
  background: #e04a4f;
  transform: translateY(-1px);
}

.airbnb-deposit-label {
  grid-column: 1 / -1;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eqx-text-muted);
  text-align: center;
  padding: 4px 0 12px;
}

/* Inquiry CTA strip below the Airbnb card */
.studio-inquiry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(195, 181, 159, 0.05);
  border: 1.5px solid rgba(195, 181, 159, 0.15);
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.studio-inquiry-cta-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--eqx-text-light);
  margin-bottom: 8px;
}

.studio-inquiry-cta-desc {
  font-size: 0.86rem;
  color: var(--eqx-text-muted);
  line-height: 1.6;
  max-width: 520px;
}

.studio-inquiry-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .airbnb-listing-card {
    grid-template-columns: 1fr;
  }
  .airbnb-listing-photo {
    min-height: 200px;
  }
  .airbnb-listing-info {
    padding: 24px;
  }
  .studio-inquiry-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .studio-inquiry-btn {
    width: 100%;
    text-align: center;
  }
}
