/* Built Journey — conversational discovery */

.built-journey-body {
  background: #f6f4f1;
}

.bj-page {
  color: #111;
  font-size: 15px;
  line-height: 1.5;
}

.bj-eyebrow {
  display: inline-block;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--accent, #e60910);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bj-hero {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(8, 0, 1, 0.94)),
    url("/assets/images/services/built/built-systems-hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 48px 20px 40px;
}

.bj-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.bj-hero h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 12px 0 14px;
  line-height: 1.05;
}

.bj-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: #d8d8d8;
}

.bj-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.bj-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bj-link-muted {
  color: #bdbdbd;
  font-weight: 600;
}

.bj-shell {
  max-width: 1080px;
  margin: -28px auto 56px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.bj-panel,
.bj-side {
  background: #fff;
  border: 1px solid #e6e1da;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.bj-panel {
  padding: 18px;
}

.bj-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(58vh, 560px);
  overflow-y: auto;
  padding: 4px 2px 12px;
}

.bj-msg {
  display: flex;
}

.bj-msg-user {
  justify-content: flex-end;
}

.bj-bubble {
  max-width: min(92%, 560px);
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3efe9;
  color: #111;
  white-space: pre-wrap;
}

.bj-msg-user .bj-bubble {
  background: #111;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bj-msg-assistant .bj-bubble {
  border-bottom-left-radius: 4px;
}

.bj-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}

.bj-chip {
  border: 1px solid #d9d2c8;
  background: #faf8f5;
  color: #222;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bj-chip:hover {
  border-color: #111;
}

.bj-composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  border: 1px solid #d9d2c8;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #111;
  background: #fff;
}

.bj-composer textarea:focus {
  outline: 2px solid rgba(230, 9, 16, 0.25);
  border-color: #111;
}

.bj-composer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.bj-send {
  appearance: none;
  border: 0;
  background: var(--accent, #e60910);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 18px;
  cursor: pointer;
}

.bj-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

.bj-text-btn {
  border: 0;
  background: transparent;
  color: #666;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.bj-status {
  margin: 10px 0 0;
  color: #a10;
  font-size: 13px;
  font-weight: 700;
}

.bj-side {
  padding: 18px;
  position: sticky;
  top: 88px;
}

.bj-rec h2 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
  line-height: 1.15;
}

.bj-rec h3 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 16px 0 6px;
  color: #666;
}

.bj-rec p,
.bj-rec-understanding {
  margin: 0;
  color: #222;
}

.bj-rec ul {
  margin: 0;
  padding-left: 18px;
}

.bj-rec li {
  margin: 4px 0;
}

.bj-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #ebe5dc;
}

.bj-contact h3 {
  font-family: Montserrat, Arial, sans-serif;
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.bj-contact > p {
  margin: 0 0 14px;
  color: #555;
  font-size: 13px;
}

.bj-contact label {
  display: block;
  margin-bottom: 10px;
}

.bj-contact label span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bj-contact label em {
  font-style: normal;
  font-weight: 500;
  color: #888;
}

.bj-contact input {
  width: 100%;
  border: 1px solid #d9d2c8;
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
}

.bj-contact .bj-send {
  width: 100%;
  margin-top: 4px;
}

.bj-contact .bj-link {
  display: inline-block;
  margin-top: 12px;
  color: #666;
  font-size: 13px;
}

.bj-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bj-typing .bj-bubble::after {
  content: "…";
  animation: bj-pulse 1s infinite;
}

@keyframes bj-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .bj-shell {
    grid-template-columns: 1fr;
    margin-top: -18px;
  }

  .bj-side {
    position: static;
  }

  .bj-thread {
    max-height: 46vh;
  }
}
