/* ======================================================================
   AI OVER BI — BESPOKE SOLUTION PAGE
   Graduated off the shared partials/solution-page.blade.php (still used
   by AI Agents / White-Label) into its own fully custom page, same tier
   as Insight 360X / DecisionDesk AI / Real-time BI. All copy is the
   real content the shared partial rendered — this file only changes
   presentation. Page-scoped .aob-* classes throughout.
   ====================================================================== */

.aob-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-1);
}

.aob-eyebrow-rule {
  width: 32px;
  height: 1px;
  background: var(--accent-1);
}

.aob-section-head {
  max-width: 62ch;
}

.aob-section-title {
  max-width: 22ch;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--accent-2);
}

/* ============================ CAPABILITIES ==============================
   Six real capabilities as a swipeable card carousel. The depth lives on
   the cards themselves, not the section: each one carries its own soft
   gradient, a faded dot-grid corner (same grammar as the hero sections),
   and a low-opacity blurred glow — clipped to the card's own rounded
   corners so it reads as one self-contained object, not a background
   layer bleeding across the section. */

.aob-caps {
  padding: 100px 0 108px;
  background: #ffffff;
}

@media (max-width: 767px) {
  .aob-caps {
    padding: 76px 0 84px;
  }
}

.aob-caps-head {
  max-width: 56ch;
}

.aob-caps-lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(15, 45, 73, 0.65);
}

/* --- Carousel: each capability gets a full card, dragged or paged
   between rather than crammed into a list or a narrow column. Built on
   the same Swiper engine as the testimonials strip / About's workflow
   carousel (data-aob-caps-swiper, wired in main.js). --- */
.aob-caps-carousel {
  margin-top: 48px;
}

.aob-cap-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: auto;
  padding: 30px 28px;
  border: 1px solid #e5ebf1;
  border-radius: 20px;
  /* Flat solid tints instead of a gradient wash — no blending, so no
     risk of the muddy in-between colour the gradient attempts kept
     producing. Alternating pale gold / pale navy so six cards in a row
     don't read as one repeated tile. */
  background: #f7f4eb;
  transition: border-color 300ms ease;
}

.aob-cap-card:nth-child(even) {
  background: #eef1f5;
}

.aob-cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 45, 73, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 45, 73, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 50% at 100% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(60% 50% at 100% 0%, #000 0%, transparent 70%);
}

.aob-cap-card:hover {
  border-color: rgba(204, 191, 147, 0.6);
}

.aob-cap-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 45, 73, 0.32);
}

.aob-cap-card__tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-1);
}

.aob-cap-card__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-2);
}

.aob-cap-card__text {
  margin: 10px 0 0;
  min-height: 66px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 45, 73, 0.62);
}

.aob-cap-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f4f7;
  font-size: 12px;
  font-weight: 500;
  color: rgba(15, 45, 73, 0.6);
}

.aob-cap-card__chip strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.aob-cap-card__chip--down strong {
  color: #c0392b;
}

.aob-cap-card__chip--up strong {
  color: #178a53;
}

.aob-cap-card__spark {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 26px;
  margin-top: 16px;
}

.aob-caps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.aob-caps-counter {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
}

.aob-caps-counter__sep {
  margin: 0 3px;
  color: rgba(15, 45, 73, 0.3);
  font-weight: 400;
}

.aob-caps-nav__buttons {
  display: flex;
  gap: 10px;
}

.aob-caps-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e5ebf1;
  color: var(--accent-2);
  transition: border-color 300ms ease, background 300ms ease, color 300ms ease;
}

.aob-caps-nav-btn svg {
  width: 16px;
  height: 16px;
}

.aob-caps-nav-btn:hover {
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: #fff;
}

.aob-caps-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ============================ HOW IT WORKS ===============================
   Sticky intro (same convention as the FAQ column) beside a plain
   numbered list — no cards, no dot markers, no connecting line. */

.aob-how {
  padding: 100px 0 108px;
  background: var(--page-bg);
}

@media (max-width: 767px) {
  .aob-how {
    padding: 76px 0 84px;
  }
}

.aob-how-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .aob-how-layout {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }

  .aob-how-intro {
    position: sticky;
    top: 120px;
  }
}

.aob-how-title {
  margin: 18px 0 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--accent-2);
}

.aob-how-lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(15, 45, 73, 0.65);
}

.aob-how-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
}

.aob-how-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 300ms ease;
}

.aob-how-cta:hover svg {
  transform: translateX(3px);
}

.aob-how-list {
  display: flex;
  flex-direction: column;
}

.aob-how-row {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid #e5ebf1;
}

.aob-how-list .aob-how-row:last-child {
  border-bottom: 1px solid #e5ebf1;
}

.aob-how-row__num {
  flex: none;
  width: 44px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--accent-1);
}

.aob-how-row__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-2);
}

.aob-how-row__text {
  margin: 8px 0 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(15, 45, 73, 0.62);
}

.aob-how-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.aob-how-row__tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5ebf1;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 500;
}

/* ============================ WHO IT'S FOR ===============================
   Photo focus-cards — same grammar as About / Insight 360X / DecisionDesk
   AI / Real-time BI. */

.aob-who {
  padding: 100px 0 108px;
  background: #ffffff;
}

@media (max-width: 767px) {
  .aob-who {
    padding: 76px 0 84px;
  }
}

.aob-focus-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .aob-focus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aob-focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--accent-2);
  background-image: var(--card-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.aob-focus-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 19, 31, 0.1) 0%,
    rgba(6, 19, 31, 0.1) 30%,
    rgba(6, 19, 31, 0.72) 62%,
    rgba(6, 19, 31, 0.96) 100%
  );
}

.aob-focus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 31, 0);
  transition: background-color 360ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.aob-focus-card:hover::after {
  background: rgba(6, 19, 31, 0.16);
}

.aob-focus-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.aob-focus-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.aob-focus-card__text {
  max-width: 32ch;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================ FAQ ========================================
   Left sticky intro + right accordion — same split-column grammar used
   across the other bespoke solution pages. */

.aob-faq {
  padding: 100px 0 108px;
  background: var(--page-bg);
}

@media (max-width: 767px) {
  .aob-faq {
    padding: 76px 0 84px;
  }
}

.aob-faq-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .aob-faq-layout {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }

  .aob-faq-intro {
    position: sticky;
    top: 120px;
  }
}

.aob-faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
}

.aob-faq-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 300ms ease;
}

.aob-faq-cta:hover svg {
  transform: translateX(3px);
}

.aob-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aob-faq-item {
  border: 1px solid #e5ebf1;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 250ms ease;
}

.aob-faq-item[open] {
  border-color: rgba(204, 191, 147, 0.5);
}

.aob-faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.aob-faq-item summary::-webkit-details-marker {
  display: none;
}

.aob-faq-item__figure {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-1);
}

.aob-faq-item__question {
  flex: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-2);
}

.aob-faq-item__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-2);
  color: var(--accent-1);
}

.aob-faq-item__icon svg {
  width: 16px;
  height: 16px;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aob-faq-item[open] .aob-faq-item__icon svg {
  transform: rotate(45deg);
}

.aob-faq-answer {
  margin: 0;
  padding: 0 24px 22px 58px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(15, 45, 73, 0.65);
}

/* ============================ FINAL CTA ==================================
   Same "point of the company" navy-gradient family as Insight 360X /
   DecisionDesk AI / Products / Real-time BI, instead of the shared
   plain .fcta-section. */

.aob-point {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0;
  text-align: center;
  background: linear-gradient(160deg, var(--accent-3) 0%, var(--accent-2) 55%, #0a1e33 100%);
}

.aob-point-arc {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 1;
  height: 70px;
  pointer-events: none;
}

.aob-point-arc svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .aob-point-arc {
    height: 40px;
  }
}

.aob-point__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aob-point__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  background-color: #0f2d49;
  background-image: var(--img);
  background-position: center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.aob-point__photo-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 42, 78, 0.5) 0%, rgba(0, 20, 38, 0.25) 100%);
  mix-blend-mode: multiply;
}

.aob-point__photo--tl { top: 14%; left: 6%; width: 210px; height: 270px; }
.aob-point__photo--tr { top: 10%; right: 7%; width: 190px; height: 150px; }
.aob-point__photo--bl { bottom: 12%; left: 8%; width: 220px; height: 140px; }
.aob-point__photo--br { bottom: 16%; right: 5%; width: 200px; height: 250px; }

@media (max-width: 1279px) {
  .aob-point__photo--tl { width: 170px; height: 220px; left: 20px; }
  .aob-point__photo--tr { width: 150px; height: 120px; right: 24px; }
  .aob-point__photo--bl { width: 170px; height: 110px; left: 24px; }
  .aob-point__photo--br { width: 160px; height: 200px; right: 20px; }
}

@media (max-width: 1023px) {
  .aob-point {
    padding: 96px 0;
  }

  .aob-point__media {
    display: none;
  }
}

.aob-point__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.aob-point__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-1);
}

.aob-point__eyebrow-icon {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--accent-1);
}

.aob-point__title {
  margin: 22px auto 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.aob-point__lede {
  margin: 18px auto 0;
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.aob-point__alt {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.aob-point__alt a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aob-point__card {
  max-width: 560px;
  margin: 34px auto 0;
  text-align: left;
}

.aob-point__form-row {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

@media (min-width: 480px) {
  .aob-point__form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aob-point__field--wide {
    grid-column: span 2;
  }
}

.aob-point__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aob-point__field span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.aob-point__field input {
  min-height: 34px;
  padding: 0 0 6px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  transition: border-color 220ms ease;
}

.aob-point__field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.aob-point__field input:focus {
  outline: none;
  border-color: var(--accent-1);
}

.aob-point__submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  margin-top: 6px;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #d9cfae 0%, var(--accent-1) 100%);
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 600;
  transition: transform 300ms ease;
}

.aob-point__submit svg {
  width: 16px;
  height: 16px;
  transition: transform 300ms ease;
}

.aob-point__submit:hover {
  transform: translateY(-2px);
}

.aob-point__submit:hover svg {
  transform: translateX(3px);
}

.aob-point__assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.aob-point__assurances li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
