/* ============================================================= */
/* Section: 05-why-choose */
/* ============================================================= */
/* ===== Why choose us "We Follow the Claim Beyond the First Carrier Response" — Figma node 12183:722 =====
   1440 x 878 frame, 40px top/bottom padding, content 12183:750 (514px copy column + 660px card). */
/* Taller than its content on desktop: the stethoscope art is pinned to the bottom edge and
   needs room under the button (Figma 878px frame, plus 20px more padding each side). */
.ai-why-choose {
  position: relative;
  min-height: 918px;
  overflow: hidden;
  background: var(--ai-white);
}

/* Decorative art (12183:723 bottom-left, 12183:736 right edge), placed on the 1440 frame. */
.ai-why-choose-art {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 720px);
  width: 1440px;
  pointer-events: none;
}

.ai-why-choose-art > * {
  position: absolute;
  display: block;
  max-width: none;
}

.ai-why-choose-art-circle-lg {
  left: -36px;
  bottom: 15.72px;
  width: 168px;
  height: 168px;
}

.ai-why-choose-art-circle-sm {
  left: 475px;
  bottom: 35.72px;
  width: 62px;
  height: 62px;
}

.ai-why-choose-art-photo {
  left: -21px;
  bottom: -90.28px;
  width: 507px;
  height: 250px;
}

.ai-why-choose-art-badge {
  left: 424px;
  bottom: 66.72px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: var(--ai-white);
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.15));
}

.ai-why-choose-art-badge-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
}

.ai-why-choose-art-badge-icon img {
  position: absolute;
  left: 5.25px;
  top: 5px;
  width: 30.75px;
  height: 31.47px;
  max-width: none;
}

.ai-why-choose-art-rings {
  left: 1119.3px;
  top: 451.72px;
  width: 651.508px;
  height: 654.545px;
}

/* Layout (12183:750). */
.ai-why-choose-inner {
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.ai-why-choose-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 514px;
  flex-shrink: 0;
}

.ai-why-choose-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.ai-why-choose-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9.069px;
  background: rgba(39, 55, 117, 0.1);
  color: var(--ai-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 9.976px;
  text-align: center;
  white-space: nowrap;
}

.ai-why-choose-title {
  color: var(--ai-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
}

.ai-why-choose-accent {
  color: var(--ai-orange);
}

.ai-why-choose-copy {
  max-width: 512px;
  display: flex;
  flex-direction: column;
  gap: 29.25px;
}

.ai-why-choose-copy p {
  color: var(--ai-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 29.25px;
}

.ai-why-choose-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 50px;
  padding: 16px 32px;
  border-radius: 60px;
  background: var(--ai-orange);
  box-shadow: 0 0 19.6px -3px #fecaca, 0 4px 6px -4px #fecaca;
  color: var(--ai-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ai-ease);
}

.ai-why-choose-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  translate: -120% 0;
  pointer-events: none;
}

.ai-why-choose-btn:hover,
.ai-why-choose-btn:focus-visible {
  background: #e94a4e;
  color: var(--ai-white);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -6px rgba(252, 93, 97, 0.55);
}

.ai-why-choose-btn:hover::after {
  animation: ai-why-choose-shine 0.8s var(--ai-ease);
}

@keyframes ai-why-choose-shine {
  from { translate: -120% 0; }
  to   { translate: 320% 0; }
}

/* Right card (12183:761). */
.ai-why-choose-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 660px;
  flex-shrink: 0;
}

.ai-why-choose-card-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  height: 128px;
  padding: 32px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--ai-blue);
}

.ai-why-choose-card-ring {
  position: absolute;
  top: -28.28px;
  width: 188px;
  height: 188px;
  max-width: none;
  pointer-events: none;
}

.ai-why-choose-card-ring--1 { left: 545px; }
.ai-why-choose-card-ring--2 { left: 576px; }

.ai-why-choose-card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--ai-white);
}

.ai-why-choose-card-icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.ai-why-choose-card-title {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding-top: 4px;
  color: var(--ai-white);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

/* Accordion list (12183:776). */
.ai-why-choose-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
  background: var(--ai-white);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ai-why-choose-item {
  position: relative;
  border-bottom: 1px solid #eff2ff;
  transition: background-color 0.3s;
}

.ai-why-choose-item:last-child {
  border-bottom: 0;
}

.ai-why-choose-item:not(.is-open):hover {
  background: #f8f9ff;
}

.ai-why-choose-q {
  font: inherit;
}

.ai-why-choose-q-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 55px;
  padding: 11.5px 64px 11.5px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding 0.35s var(--ai-ease);
}

.ai-why-choose-q-btn:focus-visible {
  outline: 2px solid var(--ai-blue);
  outline-offset: -2px;
}

.ai-why-choose-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 40px;
  background: #eff2ff;
  color: var(--ai-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

/* Icons are one or more SVG parts positioned inside a 32px box (inline left/top/size). */
.ai-why-choose-icon {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  transition: transform 0.35s var(--ai-ease);
}

.ai-why-choose-icon img {
  position: absolute;
  display: block;
  max-width: none;
}

.ai-why-choose-q-text {
  flex: 1 1 0;
  min-width: 0;
  color: var(--ai-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition: color 0.3s;
}

/* Centred on the whole row, so on an open row it sits over the answer panel (later in the
   DOM): z-index keeps it on top so clicking it reaches its button and toggles the row. */
.ai-why-choose-chevron {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 2;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  cursor: pointer;
  transition: rotate 0.35s var(--ai-ease);
}

.ai-why-choose-chevron img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Rows toggle only from the chevron ([data-bh-faq-icon-only]); the rest of the row is plain:
   no pointer and no site-wide button hover dimming (style-v2.css filter: brightness(0.9)),
   so the number, icon and title don't change on hover. */
.ai-why-choose-list[data-bh-faq-icon-only] .ai-why-choose-q-btn {
  cursor: default;
}

.ai-why-choose-list[data-bh-faq-icon-only] .ai-why-choose-q-btn:hover {
  filter: none;
}

.ai-why-choose-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ai-ease), margin 0.35s var(--ai-ease);
}

.ai-why-choose-a-inner {
  min-height: 0;
  overflow: hidden;
}

.ai-why-choose-a-inner p {
  padding: 0 54px 21px 112px;
  color: var(--ai-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity 0.3s, translate 0.35s var(--ai-ease);
}

/* Open state (Figma item 01). */
.ai-why-choose-item.is-open .ai-why-choose-q-btn {
  align-items: flex-start;
  min-height: 0;
  padding-top: 20px;
  padding-bottom: 0;
}

.ai-why-choose-item.is-open .ai-why-choose-q-text {
  color: var(--ai-blue);
  font-weight: 600;
}

/* Open row: the number sits at the top (20px padding + 32px chip, centre 36px), so the
   chevron moves up to the same line instead of centring on the taller row. */
.ai-why-choose-item.is-open .ai-why-choose-chevron {
  top: 24px;
  margin-top: 0;
  rotate: 180deg;
}

.ai-why-choose-item.is-open .ai-why-choose-a {
  grid-template-rows: 1fr;
  margin-top: -8px;
}

.ai-why-choose-item.is-open .ai-why-choose-a-inner p {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.1s;
}

.ai-why-choose-item:hover .ai-why-choose-icon {
  transform: scale(1.12) rotate(-6deg);
}

/* Entrance animation. */
@keyframes ai-why-choose-pulse {
  0%, 100% { scale: 1; }
  50%      { scale: 1.06; }
}

.ai-why-choose.is-armed:not(.is-in) :is(.ai-why-choose-head > *, .ai-why-choose-copy > *, .ai-why-choose-btn, .ai-why-choose-card-head, .ai-why-choose-card-icon, .ai-why-choose-item, .ai-why-choose-num, .ai-why-choose-art > *) {
  opacity: 0;
}

.ai-why-choose.is-in .ai-why-choose-head > * { animation: ai-rise 0.7s var(--ai-ease) backwards; }
.ai-why-choose.is-in .ai-why-choose-head > :nth-child(2) { animation-delay: 0.1s; }
.ai-why-choose.is-in .ai-why-choose-head > :nth-child(3) { animation: none; }
.ai-why-choose.is-in .ai-why-choose-copy > * { animation: ai-rise 0.7s var(--ai-ease) 0.2s backwards; }
.ai-why-choose.is-in .ai-why-choose-copy > :nth-child(2) { animation-delay: 0.3s; }
.ai-why-choose.is-in .ai-why-choose-btn { animation: ai-pop 0.6s var(--ai-ease) 0.45s backwards; }

.ai-why-choose.is-in .ai-why-choose-card-head { animation: ai-slide-right 0.7s var(--ai-ease) 0.1s backwards; }
.ai-why-choose.is-in .ai-why-choose-card-icon { animation: ai-pop 0.6s var(--ai-ease) 0.45s backwards; }
.ai-why-choose.is-in .ai-why-choose-card-ring--1 { animation: ai-why-choose-pulse 6s ease-in-out 1s infinite; }
.ai-why-choose.is-in .ai-why-choose-card-ring--2 { animation: ai-why-choose-pulse 6s ease-in-out 2.5s infinite; }

.ai-why-choose.is-in .ai-why-choose-item { animation: ai-slide-right 0.6s var(--ai-ease) backwards; }
.ai-why-choose.is-in .ai-why-choose-num { animation: ai-pop 0.5s var(--ai-ease) backwards; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(1) { animation-delay: 0.25s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(2) { animation-delay: 0.32s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(3) { animation-delay: 0.39s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(4) { animation-delay: 0.46s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(5) { animation-delay: 0.53s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(6) { animation-delay: 0.60s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(7) { animation-delay: 0.67s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(8) { animation-delay: 0.74s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(1) .ai-why-choose-num { animation-delay: 0.45s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(2) .ai-why-choose-num { animation-delay: 0.52s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(3) .ai-why-choose-num { animation-delay: 0.59s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(4) .ai-why-choose-num { animation-delay: 0.66s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(5) .ai-why-choose-num { animation-delay: 0.73s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(6) .ai-why-choose-num { animation-delay: 0.80s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(7) .ai-why-choose-num { animation-delay: 0.87s; }
.ai-why-choose.is-in .ai-why-choose-item:nth-child(8) .ai-why-choose-num { animation-delay: 0.94s; }

.ai-why-choose.is-in .ai-why-choose-art-circle-lg { animation: ai-pop 0.8s var(--ai-ease) 0.3s backwards, ai-why-choose-pulse 7s ease-in-out 1.4s infinite; }
.ai-why-choose.is-in .ai-why-choose-art-circle-sm { animation: ai-pop 0.6s var(--ai-ease) 0.6s backwards, ai-float 4s ease-in-out 1.4s infinite; }
.ai-why-choose.is-in .ai-why-choose-art-photo { animation: ai-slide-left 0.9s var(--ai-ease) 0.4s backwards; }
.ai-why-choose.is-in .ai-why-choose-art-badge { animation: ai-pop 0.6s var(--ai-ease) 0.8s backwards, ai-float 5s ease-in-out 1.6s infinite; }
.ai-why-choose.is-in .ai-why-choose-art-rings { animation: ai-fade 1.2s ease 0.2s backwards; }

/* Responsive. */
@media (max-width: 1279px) {
  .ai-why-choose-panel { width: 600px; flex-shrink: 1; }
  .ai-why-choose-content { width: auto; flex: 1 1 0; min-width: 0; }
}

@media (max-width: 1199px) {
  .ai-why-choose { min-height: 0; }

  .ai-why-choose-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .ai-why-choose-content { width: 100%; }
  .ai-why-choose-copy { max-width: none; }
  .ai-why-choose-panel { width: 100%; max-width: 760px; margin: 0 auto; }
  .ai-why-choose-art { display: none; }
}

@media (max-width: 991px) {
  .ai-why-choose-title { font-size: 30px; line-height: 40px; }
  .ai-why-choose-card-title { font-size: 21px; line-height: 30px; }
}

/* Mobile — Figma node 12183:2966 (440 frame, 20px padding, 400px column).
   Copy block 40px to the button, then 50px to the card; card head and list 20px apart.
   Eyebrow 10px on one line, heading 24/35, copy 14/27 with a 27px paragraph gap,
   full-width 50px button (one line). Card head: 32px padding, 50px icon, 10px gap, 24/30 title.
   Rows: 20px side padding, 14px titles; open row 14/24 semibold title + 12/24 description,
   chevron kept on the number's line (as on WC). */
@media (max-width: 767px) {
  .ai-why-choose-inner { gap: 50px; }
  .ai-why-choose-content { gap: 40px; }

  .ai-why-choose-eyebrow { font-size: 10px; }
  .ai-why-choose-title { font-size: 24px; line-height: 35px; }
  .ai-why-choose-copy { gap: 27px; }
  .ai-why-choose-copy p { font-size: 14px; line-height: 27px; }

  .ai-why-choose-btn {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
  }

  .ai-why-choose-card-head {
    height: auto;
    padding: 32px;
    gap: 10px;
  }

  .ai-why-choose-card-icon { width: 50px; height: 50px; }

  .ai-why-choose-card-title {
    padding-top: 4px;
    font-size: 24px;
    line-height: 30px;
  }

  .ai-why-choose-q-btn { padding: 11.5px 44px 11.5px 20px; gap: 14px; }
  .ai-why-choose-q-text { font-size: 14px; }
  .ai-why-choose-chevron { right: 20px; }

  .ai-why-choose-a-inner p {
    padding: 0 54px 21px 112px;
    font-size: 12px;
  }

  /* Keep the expanded answer clear of the question when its title wraps on phones. */
  .ai-why-choose-item.is-open .ai-why-choose-a { margin-top: 8px; }
}

/* Narrow phones: give the open row's description a little more width. */
@media (max-width: 400px) {
  .ai-why-choose-card-head { padding: 28px 24px; }
  .ai-why-choose-a-inner p { padding-right: 44px; }
}
