/* =============================================================================
   Why choose us — Framer-style band inside .trusted-section
   ============================================================================= */

.why-choose {
  --why-ink: #0a0a0a;
  --why-muted: rgba(10, 10, 10, 0.6);
  --why-card: #ffffff;
  --why-radius: 18px;
  color: var(--why-ink);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.25rem);
  width: 100%;
}

.why-choose-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 52rem;
}

.why-choose-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.why-choose-label p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--why-ink);
}

.why-choose-plus,
.why-cta-plus {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50px;
  background: var(--why-ink);
  flex-shrink: 0;
}

.why-choose-plus span,
.why-cta-plus span {
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.why-choose-plus span:first-child,
.why-cta-plus span:first-child {
  width: 8px;
  height: 1.5px;
}

.why-choose-plus span:last-child,
.why-cta-plus span:last-child {
  width: 1.5px;
  height: 8px;
}

.why-choose-heading {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: var(--why-ink);
}

.why-choose-heading span {
  color: var(--why-muted);
}

.why-choose-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 2.2fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

/* Left CTA image card */
.why-cta {
  position: relative;
  display: block;
  border-radius: var(--why-radius);
  overflow: hidden;
  min-height: clamp(360px, 52vw, 520px);
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

.why-cta-bg {
  position: absolute;
  inset: 0;
}

.why-cta-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-cta-blackout {
  position: absolute;
  inset: 0;
  background: var(--why-ink);
  opacity: 0.2;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.why-cta-plus {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease;
}

.why-cta:hover .why-cta-plus,
.why-cta:focus-visible .why-cta-plus {
  transform: rotate(90deg);
}

.why-cta-plus span:first-child {
  width: 10px;
  height: 1.75px;
}

.why-cta-plus span:last-child {
  width: 1.75px;
  height: 10px;
}

.why-cta-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 10, 0.72) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-cta-hover p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  max-width: 16rem;
}

.why-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.45rem 0.45rem 0.45rem 0.9rem;
  border-radius: 50px;
  background: var(--why-ink);
  color: #fff;
}

.why-cta-btn-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.why-cta-btn-dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50px;
  background: #fff;
}

.why-cta:hover .why-cta-bg img,
.why-cta:focus-visible .why-cta-bg img {
  transform: scale(1.04);
}

.why-cta:hover .why-cta-blackout,
.why-cta:focus-visible .why-cta-blackout {
  opacity: 0.35;
}

.why-cta:hover .why-cta-hover,
.why-cta:focus-visible .why-cta-hover {
  opacity: 1;
  transform: none;
}

.why-cta:focus-visible {
  outline: 2px solid var(--why-ink);
  outline-offset: 3px;
}

/* Right column */
.why-choose-items {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  min-width: 0;
}

.why-choose-copy {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--why-muted);
}

.why-choose-copy strong {
  color: var(--why-ink);
  font-weight: 600;
}

.why-metric-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  flex: 1;
  align-items: stretch;
}

.why-metric {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-metric:hover {
  transform: translateY(-3px);
}

.why-metric-top,
.why-metric-bottom {
  background: var(--why-card);
  border-radius: var(--why-radius);
  padding: 1.15rem 1.2rem;
  transition: box-shadow 0.45s ease;
}

.why-metric:hover .why-metric-top,
.why-metric:hover .why-metric-bottom {
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.06);
}

.why-metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 5.5rem;
}

.why-metric-num {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 2.8125rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
  color: var(--why-ink);
}

.why-metric-idx {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.1;
  color: #090909;
  opacity: 0.5;
  padding-top: 0.2rem;
}

.why-metric-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.why-metric-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
  text-align: right;
  color: var(--why-ink);
}

.why-metric-desc {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--why-ink);
  opacity: 0.6;
}

.why-metric-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  filter: grayscale(1);
  opacity: 0.75;
}

.why-metric-logos img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 5.5rem;
  object-fit: contain;
}

@media (max-width: 980px) {
  .why-choose-content {
    grid-template-columns: 1fr;
  }

  .why-cta {
    min-height: 320px;
    max-height: 420px;
  }

  .why-cta-hover {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .why-metric-cards {
    grid-template-columns: 1fr;
  }

  .why-metric-title {
    text-align: left;
  }

  .why-metric-logos {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-cta-bg img,
  .why-cta-hover,
  .why-cta-blackout {
    transition: none;
  }

  .why-cta:hover .why-cta-bg img,
  .why-cta:focus-visible .why-cta-bg img {
    transform: none;
  }
}
