@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

/* === Variables === */
:root {
  --indigo: #12153F;
  --wisteria: #7F95D1;
  --coral: #EE6352;
  --sandy: #FCB07E;
  --green: #B7CE63;
  --azure: #EAFFFD;
  --smoke: #EFEFED;
  --porcelain: #FBFBF9;
  --text2: #5a5d7a;
  --text3: #8b8ea6;
}

/* === Base === */
.mock-wrap {
  font-family: 'Inter', system-ui, sans-serif;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 0.5px solid #e0e0e0;
  overflow: hidden;
}

/* === Header === */
.mock-header {
  background: var(--indigo);
  padding: 20px 24px 16px;
  color: #fff;
}
.mock-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  opacity: .5;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.mock-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.mock-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* === Step Indicators === */
.steps-bar {
  display: flex;
  align-items: center;
  padding: 20px 24px 0;
  background: #fff;
}
.step-ind {
  display: flex;
  align-items: center;
  flex: 1;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--smoke);
  color: var(--text3);
  background: #fff;
  transition: all .3s;
  flex-shrink: 0;
}
.step-dot.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}
.step-dot.done {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.step-line {
  flex: 1;
  height: 2px;
  background: var(--smoke);
  margin: 0 6px;
  transition: background .3s;
}
.step-line.done {
  background: var(--green);
}
.step-labels {
  display: flex;
  justify-content: space-between;
  padding: 6px 24px 0;
}
.step-label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text3);
  text-align: center;
  width: 25%;
  letter-spacing: .03em;
}
.step-label.active {
  color: var(--indigo);
}

/* === Panels === */
.panel {
  padding: 20px 24px 24px;
  min-height: 360px;
  display: none;
}
.panel.active {
  display: block;
}
.panel-q {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 16px;
}

/* === Bubbles === */
.bubble-field {
  position: relative;
  height: 260px;
}
.bub {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s cubic-bezier(.23, 1, .32, 1);
  user-select: none;
  text-align: center;
  line-height: 1.2;
}
.bub:hover {
  transform: scale(1.08);
}
.bub.sel {
  color: #fff !important;
}
.bub.c1 { background: rgba(127, 149, 209, .12); color: var(--indigo); }
.bub.c1.sel { background: var(--wisteria); }
.bub.c2 { background: rgba(238, 99, 82, .1); color: #9e3a2a; }
.bub.c2.sel { background: var(--coral); }
.bub.c3 { background: rgba(252, 176, 126, .12); color: #8a5a2e; }
.bub.c3.sel { background: var(--sandy); color: var(--indigo); }
.bub.c4 { background: rgba(183, 206, 99, .12); color: #4a6418; }
.bub.c4.sel { background: var(--green); color: var(--indigo); }
.bub.c5 { background: rgba(18, 21, 63, .06); color: var(--text2); }
.bub.c5.sel { background: var(--indigo); }

/* === Chips === */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 24px 20px;
  min-height: 36px;
}
.chip {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--smoke);
  color: var(--indigo);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover {
  border-color: var(--coral);
}
.chip .x {
  font-size: 12px;
  color: var(--text3);
}

/* === Navigation Buttons === */
.nav-btns {
  display: flex;
  gap: 10px;
  padding: 0 24px 24px;
}
.nb {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.23, 1, .32, 1);
  border: none;
}
.nb-back {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--smoke);
}
.nb-back:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.nb-next {
  background: var(--indigo);
  color: #fff;
  flex: 1;
}
.nb-next:hover {
  transform: translateY(-1px);
}
.nb-next:disabled {
  opacity: .3;
  cursor: default;
  transform: none;
}
.nb-cta {
  background: var(--coral);
  color: #fff;
  flex: 1;
}
.nb-cta:hover {
  transform: translateY(-1px);
}
.nb-cta:disabled {
  opacity: .3;
  cursor: default;
  transform: none;
}

/* === Date Tabs === */
.date-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.date-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--smoke);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
  min-width: 56px;
}
.date-tab:hover {
  border-color: var(--wisteria);
}
.date-tab.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.dt-weekday {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .6;
}
.date-tab.active .dt-weekday {
  opacity: .7;
}
.dt-day {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.dt-month {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 500;
  opacity: .5;
}

/* === Time Slots === */
.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.time-slot {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--smoke);
  background: #fff;
  color: var(--indigo);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.time-slot:hover {
  border-color: var(--coral);
  background: rgba(238, 99, 82, .05);
}
.time-slot.sel {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.no-slots {
  font-size: 13px;
  color: var(--text3);
  text-align: center;
  padding: 30px 0;
}

/* === Loading Skeleton === */
.slots-loading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
}
.skeleton-line {
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--smoke) 25%, #e8e8e6 50%, var(--smoke) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-line:nth-child(2) { width: 80%; }
.skeleton-line:nth-child(3) { width: 60%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === Error State === */
.slots-error {
  text-align: center;
  padding: 30px 0;
}
.slots-error p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 12px;
}

/* === Consent Notice === */
.consent-notice {
  text-align: center;
  padding: 40px 20px;
}
.consent-notice p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* === Calendly Embed === */
#on-cal-embed {
  min-height: 650px;
  margin: 0 -24px;
}
#on-cal-embed .calendly-inline-widget {
  min-height: 650px;
}

/* === Final Card / Success === */
.final-card {
  text-align: center;
  padding: 30px 10px;
}
.final-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.final-h {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--indigo);
  margin-bottom: 8px;
}
.final-p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}
.stag {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(127, 149, 209, .1);
  color: var(--indigo);
}

/* === Announcement Bar === */
.ann {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 16px 24px;
  background: var(--azure);
  text-align: center;
  color: var(--indigo);
  letter-spacing: .02em;
}
.ann span {
  color: var(--coral);
}

/* === Responsive === */
@media (max-width: 480px) {
  .mock-wrap {
    border-radius: 0;
    max-width: 100%;
  }
  .mock-title {
    font-size: 19px;
  }
  .bubble-field {
    height: 240px;
  }
  .bub {
    transform: scale(0.9);
  }
  .time-slots {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
  }
  #on-cal-embed {
    min-height: 580px;
  }
}

/* === Contact Form === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 8px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-field label {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--indigo);
}
.field-hint {
  font-weight: 400;
  color: var(--text3);
}
#on-calendly-root .contact-field input[type="text"],
#on-calendly-root .contact-field input[type="email"],
#on-calendly-root .contact-field input[type="tel"] {
  font-family: inherit !important;
  font-size: inherit !important;
  padding: 8px 0 10px !important;
  border: none !important;
  border-bottom: 1.5px solid #d0d3e0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--indigo) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s;
  width: 100% !important;
  box-sizing: border-box !important;
}
#on-calendly-root .contact-field input[type="text"]:focus,
#on-calendly-root .contact-field input[type="email"]:focus,
#on-calendly-root .contact-field input[type="tel"]:focus {
  border-bottom-color: var(--indigo) !important;
  box-shadow: none !important;
}
#on-calendly-root .contact-field input::placeholder {
  color: var(--text3);
}

/* === Booking Error === */
.booking-error {
  font-size: 13px;
  color: var(--coral);
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(238, 99, 82, .08);
  border: 1px solid rgba(238, 99, 82, .2);
}

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