/* Real Estate App — 02 App-first & appointment */

.cw-real-estate-app-shift {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-real-estate-app-shift__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cw-real-estate-app-shift__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.cw-real-estate-app-shift__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-real-estate-app-shift__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-real-estate-app-shift__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.cw-real-estate-app-shift__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
}

.cw-real-estate-app-shift__kicker {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}

.cw-real-estate-app-shift__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
}

.cw-real-estate-app-shift__stat {
  background: #f3efe7;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-real-estate-app-shift__stat-val {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #0b6b4f;
}

.cw-real-estate-app-shift__stat-desc {
  font-size: 13.5px;
  line-height: 1.5;
}

.cw-real-estate-app-shift__form-wrap {
  min-width: 0;
  position: sticky;
  top: 90px;
}

.cw-real-estate-app-shift__booking[hidden],
.cw-real-estate-app-shift__success[hidden] {
  display: none !important;
}

.cw-real-estate-app-shift__form,
.cw-real-estate-app-shift__success {
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.cw-real-estate-app-shift__form-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-real-estate-app-shift__form-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.cw-real-estate-app-shift__form-sub {
  margin: 0;
  font-size: 14px;
  color: #a39c90;
}

.cw-real-estate-app-shift__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-real-estate-app-shift__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.cw-real-estate-app-shift__field {
  min-width: 0;
}

.cw-real-estate-app-shift__input,
.cw-real-estate-app-shift__textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(243, 239, 231, 0.2);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: #f3efe7;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.cw-real-estate-app-shift__input:focus-visible,
.cw-real-estate-app-shift__textarea:focus-visible {
  border-color: #7cf5c8;
}

.cw-real-estate-app-shift__textarea {
  resize: vertical;
  min-height: 88px;
}

.cw-real-estate-app-shift__input::placeholder,
.cw-real-estate-app-shift__textarea::placeholder {
  color: rgba(243, 239, 231, 0.45);
}

.cw-real-estate-app-shift__slot-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8e877c;
}

.cw-real-estate-app-shift__days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 480px) {
  .cw-real-estate-app-shift__days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cw-real-estate-app-shift__day {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 14px;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-real-estate-app-shift__day.is-active {
  border-color: #7cf5c8;
  background: #7cf5c8;
  color: #141210;
}

.cw-real-estate-app-shift__day-w {
  font-size: 11px;
}

.cw-real-estate-app-shift__day-n {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.cw-real-estate-app-shift__times {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-real-estate-app-shift__time {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-real-estate-app-shift__time.is-active {
  border-color: #7cf5c8;
  background: #7cf5c8;
  color: #141210;
}

.cw-real-estate-app-shift__time:disabled {
  color: #5a534a;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.85;
}

.cw-real-estate-app-shift__submit {
  border: 0;
  background: #7cf5c8;
  color: #141210;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}

.cw-real-estate-app-shift__submit:hover,
.cw-real-estate-app-shift__submit:focus-visible {
  background: #fff;
}

.cw-real-estate-app-shift__error {
  margin: 0;
  font-size: 14px;
  color: #ff8a80;
}

.cw-real-estate-app-shift__success-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #7cf5c8;
}

.cw-real-estate-app-shift__success-body {
  margin: 0;
  font-size: 14.5px;
  color: #cfc9be;
}

.cw-real-estate-app-shift__rebook {
  align-self: flex-start;
  margin-top: 8px;
  border: 1px solid rgba(243, 239, 231, 0.25);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.cw-real-estate-app-shift__rebook:hover,
.cw-real-estate-app-shift__rebook:focus-visible {
  border-color: #7cf5c8;
  color: #7cf5c8;
}

.cw-real-estate-app-shift__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
