/* Why Choose Us page — intro with "at a glance" card, numbered reason cards
   built from the admin-managed rich text (see core.views.split_whyus), CTA.
   Scoped to .whyus-page. */

.whyus-page {
  --wu-accent: var(--color-accent-1, #EB662B);
  --wu-accent-dark: var(--color-accent-1-dark, #CE5A25);
  --wu-dark: var(--color-dark-1, #05073C);
  --wu-muted: var(--color-text-muted, #4A4D63);
  --wu-border: #E7E6E6;
  --wu-surface: #FBF7F4;
}

/* The editor pasted a near-black inline color on every span — let the
   page's text colors apply instead. */
.whyus-page .whyus-rich [style*="color"] {
  color: inherit !important;
}

.whyus-page .whyus-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wu-accent);
}

/* ---------- Intro ---------- */

.whyus-page .whyus-intro {
  padding: 90px 0 60px;
}

.whyus-page .whyus-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.whyus-page .whyus-intro__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--wu-dark);
}

.whyus-page .whyus-intro__lead {
  margin-top: 20px;
  color: var(--wu-muted);
}

.whyus-page .whyus-intro__lead p {
  font-size: 17px;
  line-height: 1.8;
  color: inherit;
  margin: 0 0 1em;
}

.whyus-page .whyus-intro__lead p:last-child {
  margin-bottom: 0;
}

.whyus-page .whyus-glance {
  padding: 32px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(235, 102, 43, 0.35), transparent 55%),
    var(--wu-dark);
  box-shadow: 0 24px 50px rgba(5, 7, 60, 0.18);
}

.whyus-page .whyus-glance__label {
  display: block;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.whyus-page .whyus-glance__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.whyus-page .whyus-glance__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.whyus-page .whyus-glance__list i {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--wu-accent);
  font-size: 17px;
}

.whyus-page .whyus-glance__list strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
}

.whyus-page .whyus-glance__list span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Reasons ---------- */

.whyus-page .whyus-reasonsWrap {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, var(--wu-surface) 0%, #fff 100%);
}

.whyus-page .whyus-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.whyus-page .whyus-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--wu-border);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.whyus-page .whyus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--wu-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.whyus-page .whyus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 102, 43, 0.25);
  box-shadow: 0 20px 45px rgba(5, 7, 60, 0.08);
}

.whyus-page .whyus-card:hover::before {
  transform: scaleX(1);
}

.whyus-page .whyus-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.whyus-page .whyus-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 102, 43, 0.1);
  color: var(--wu-accent);
  font-size: 21px;
  transition: background 0.25s ease, color 0.25s ease;
}

.whyus-page .whyus-card:hover .whyus-card__icon {
  background: var(--wu-accent);
  color: #fff;
}

.whyus-page .whyus-card__num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(5, 7, 60, 0.08);
}

.whyus-page .whyus-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wu-dark);
}

.whyus-page .whyus-card__text {
  margin-top: 12px;
  color: var(--wu-muted);
}

.whyus-page .whyus-card__text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: inherit;
  margin: 0 0 0.8em;
}

.whyus-page .whyus-card__text p:last-child {
  margin-bottom: 0;
}

.whyus-page .whyus-card__text strong {
  color: var(--wu-dark);
}

.whyus-page .whyus-fallback {
  max-width: 860px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */

.whyus-page .whyus-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.whyus-page .whyus-btn i {
  font-size: 13px;
}

.whyus-page .whyus-btn:hover {
  transform: translateY(-2px);
}

.whyus-page .whyus-btn.-primary {
  background: var(--wu-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(235, 102, 43, 0.28);
}

.whyus-page .whyus-btn.-primary:hover {
  background: var(--wu-accent-dark);
  color: #fff;
}

.whyus-page .whyus-btn.-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.whyus-page .whyus-btn.-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- CTA ---------- */

.whyus-page .whyus-ctaWrap {
  padding: 10px 0 90px;
}

.whyus-page .whyus-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 48px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(235, 102, 43, 0.35), transparent 50%),
    var(--wu-dark);
}

.whyus-page .whyus-cta__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.whyus-page .whyus-cta .whyus-cta__text {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.whyus-page .whyus-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .whyus-page .whyus-intro {
    padding: 60px 0 40px;
  }

  .whyus-page .whyus-intro__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .whyus-page .whyus-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
  }
}

@media (max-width: 767px) {
  .whyus-page .whyus-intro__title {
    font-size: 28px;
  }

  .whyus-page .whyus-intro__lead p {
    font-size: 16px;
  }

  .whyus-page .whyus-reasonsWrap {
    padding: 50px 0 60px;
  }

  .whyus-page .whyus-reasons {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .whyus-page .whyus-card {
    padding: 26px 22px;
  }

  .whyus-page .whyus-glance {
    padding: 26px 22px;
  }

  .whyus-page .whyus-cta__title {
    font-size: 23px;
  }
}

@media (max-width: 575px) {
  .whyus-page .whyus-btn {
    width: 100%;
    justify-content: center;
  }
}
