.services-tabs__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-tabs__btn {
    background-color: transparent;
}
.services-tabs__btn:hover {
    background-color: color-mix(in srgb, var(--bs-secondary-color) 6%, transparent);
}
.services-tabs__btn.is-active {
    border-color: var(--bs-primary) !important;
    background-color: color-mix(in srgb, var(--bs-primary) 8%, transparent) !important;
}

/* v25 - chat bubble speech tail (border-triangle trick has no TW/BS utility) */
[data-chat-bubble] {
    position: relative;
}

/* fixed max-widths matching the TW max-w-3xl / max-w-2xl utilities (no BS equivalent) */
.dialogue-thread__wrap {
    max-width: 48rem;
}

.dialogue-thread__subtitle-max {
    max-width: 42rem;
}

/* fixed avatar size matching TW w-8 h-8 (no BS utility beyond 25/50/75/100%) */
.dialogue-thread__avatar {
    width: 2rem;
    height: 2rem;
}

/* fixed bubble max-width matching TW max-w-md (no BS equivalent) */
.dialogue-thread__bubble {
    max-width: 28rem;
}

[data-bubble-side="left"] [data-chat-bubble]::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: -0.5rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-right: 0.5rem solid currentColor;
    color: inherit;
    opacity: 0.15;
}

[data-bubble-side="right"] [data-chat-bubble]::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: -0.5rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-left: 0.5rem solid currentColor;
    color: inherit;
    opacity: 0.15;
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-mindmap__corners {
    display: contents;
}

.whyus-mindmap__wave {
    pointer-events: none;
}

.whyus-mindmap {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-6xl {
    max-width: 72rem !important;
}

.whyus-mindmap__wave--a {
    bottom: -1.5rem;
    inset-inline-start: 0;
    height: 10rem;
}

.whyus-mindmap__wave--b {
    top: 2.5rem;
    inset-inline-end: 0;
    width: 66.666667%;
    height: 8rem;
    --bs-text-opacity: 0.15;
}

.whyus-mindmap__wave--c {
    bottom: 0;
    inset-inline-start: 0;
    width: 50%;
    height: 6rem;
}

.whyus-mindmap__title {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.whyus-mindmap__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2.5rem;
    row-gap: 3rem;
    align-items: start;
}

.whyus-mindmap__watermark {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    opacity: 0.05;
}

.whyus-mindmap__panel {
    position: relative;
    margin: 0;
    padding: 1.5rem;
}

.whyus-mindmap__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.whyus-mindmap__chrome-text,
.whyus-mindmap__num {
    font-size: 0.75rem;
}

.whyus-mindmap__media {
    aspect-ratio: 16 / 9;
}

.whyus-mindmap__panel-title {
    font-size: 1.5rem;
}

.whyus-mindmap__cta {
    padding: 0.625rem 1.25rem;
    transition: transform 150ms ease;
}

/* hover — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:scale-105 wins there */
:where(.whyus-mindmap__cta):hover {
    transform: scale(1.05);
}

.whyus-mindmap__branches {
    gap: 1.5rem;
}

.whyus-mindmap__branch {
    padding-inline-start: 1.25rem;
}

.whyus-mindmap__branch-title {
    font-size: 1rem;
}

.whyus-mindmap__branch-desc {
    font-size: 0.875rem;
}

.whyus-mindmap__corner {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .whyus-mindmap {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-mindmap__title {
        font-size: 1.5rem;
        margin-bottom: 3.5rem;
    }

    .whyus-mindmap__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .whyus-mindmap__col--main {
        grid-column: span 7 / span 7;
    }

    .whyus-mindmap__col--side {
        grid-column: span 5 / span 5;
    }

    .whyus-mindmap__watermark {
        font-size: 8rem;
    }

    .whyus-mindmap__panel {
        position: sticky;
        top: 2rem;
        padding: 2rem;
    }

    .whyus-mindmap__panel-title {
        font-size: 1.875rem;
    }

    .whyus-mindmap__branches {
        gap: 2rem;
    }

    .whyus-mindmap__branch {
        padding-inline-start: 1.5rem;
    }

    .whyus-mindmap__branch-title,
    .whyus-mindmap__branch-desc {
        font-size: 1rem;
    }

    .whyus-mindmap__branch-title {
        font-size: 1.125rem;
    }
}

/* whyus v28 — mind-map spotlight panel with open branch text blocks */

/* Spotlight panel — clip-path wipe reveal on load (single play, no BS analog) */
@keyframes whyusMindmapWipe {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.whyus-mindmap__panel {
    animation: whyusMindmapWipe 900ms ease-out both;
}

/* Corner brackets — four marks pinned to the spotlight frame's corners */
.whyus-mindmap__corner {
    position: absolute;
    line-height: 1;
}

.whyus-mindmap__corner--tl {
    top: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--tr {
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-mindmap__corner--bl {
    bottom: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--br {
    bottom: -0.5rem;
    right: -0.5rem;
}

/* faq v22 — three-column bento */
.faq-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 768px) {
  .faq-bento__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.faq-bento__col {
  min-width: 0;
}

.faq-bento__cell {
  width: 100%;
}

.faq-bento__cell--tall {
  min-height: 16rem;
}

.faq-bento__cell--medium {
  min-height: 11rem;
}

.faq-bento__cell--short {
  min-height: 7rem;
}

/* Cards — shadow lift on hover (no colors) */
.faq-bento__card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.faq-bento__card:hover {
  transform: translateY(-0.35rem);
}

/* Animated background mesh */
.faq-bento__mesh--a {
  width: 20rem;
  height: 20rem;
  filter: blur(52px);
}

.faq-bento__mesh--b {
  width: 24rem;
  height: 24rem;
  filter: blur(64px);
}

.faq-bento__mesh--c {
  width: 14rem;
  height: 14rem;
  filter: blur(44px);
  transform: translateX(-50%);
}

.faq-bento__mesh--pulse {
  animation: faq-bento-mesh-pulse-seq 6s ease-in-out infinite;
}

@keyframes faq-bento-mesh-pulse-seq {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes faq-bento-mesh-drift-a-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2rem, 1.5rem) scale(1.05);
  }
}

.faq-bento__mesh--a {
  animation: faq-bento-mesh-drift-a-seq 22s ease-in-out infinite;
}

@keyframes faq-bento-mesh-drift-b-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2rem, -1.25rem) scale(1.07);
  }
}

.faq-bento__mesh--b {
  animation: faq-bento-mesh-drift-b-seq 26s ease-in-out infinite;
}

@keyframes faq-bento-mesh-drift-c-seq {
  0%,
  100% {
    transform: translate(-50%, 0) rotate(0deg);
  }
  50% {
    transform: translate(-50%, 1rem) rotate(8deg);
  }
}

.faq-bento__mesh--c {
  animation: faq-bento-mesh-drift-c-seq 18s ease-in-out infinite;
}

.faq-bento__mesh--delay-2 {
  animation-delay: 2s;
}

.faq-bento__mesh--delay-3 {
  animation-delay: 0.9s;
}

.faq-bento__mesh--delay-5 {
  animation-delay: 1.5s;
}

.faq-bento__dot--a {
  top: 4rem;
  left: 2.5rem;
  width: 0.75rem;
  height: 0.75rem;
}

.faq-bento__dot--b {
  top: 7rem;
  right: 4rem;
  width: 0.5rem;
  height: 0.5rem;
}

.faq-bento__dot--c {
  bottom: 6rem;
  left: 30%;
  width: 0.625rem;
  height: 0.625rem;
}

@keyframes faq-bento-flare-throb-seq {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.faq-bento__flare--throb {
  animation: faq-bento-flare-throb-seq 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes faq-bento-flare-rebound-seq {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-28%);
  }
}

.faq-bento__flare--rebound {
  animation: faq-bento-flare-rebound-seq 1.3s ease-in-out infinite;
}

@keyframes faq-bento-flare-ping-seq {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.faq-bento__flare--ping {
  animation: faq-bento-flare-ping-seq 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (max-width: 767px) {
  .faq-bento__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .faq-bento__col {
    display: contents;
  }

  .faq-bento__cell--tall,
  .faq-bento__cell--medium,
  .faq-bento__cell--short {
    min-height: 0;
  }

  .faq-bento__cell--order-0 { order: 0; }
  .faq-bento__cell--order-1 { order: 1; }
  .faq-bento__cell--order-2 { order: 2; }
  .faq-bento__cell--order-3 { order: 3; }
  .faq-bento__cell--order-4 { order: 4; }
  .faq-bento__cell--order-5 { order: 5; }
  .faq-bento__cell--order-6 { order: 6; }
  .faq-bento__cell--order-7 { order: 7; }
}

