/* =========================================================
   WHY US SECTION
========================================================= */

.why-us {
  --why-blue: #0a64c4;
  --why-red: #d62c2c;

  --why-text: #17202a;
  --why-muted: #687482;
  --why-light-muted: #89939e;

  --why-border: #e2e7ec;
  --why-surface: #f8fafc;
  --why-white: #ffffff;

  padding: 110px 24px;
  background: var(--why-white);
  color: var(--why-text);
}

.why-us__container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

/* =========================================================
   INTRO
========================================================= */

.why-us__intro {
  max-width: 720px;
  margin-bottom: 70px;
}

.why-us__eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--why-blue);

  font-size: 13px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.04em;
}

.why-us__title {
  margin: 0;

  color: var(--why-text);

  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 600;
  line-height: 1.05;

  letter-spacing: -0.045em;
}

.why-us__title span {
  color: #246fd1;
}

.why-us__description {
  max-width: 630px;

  margin: 24px 0 0;

  color: var(--why-muted);

  font-size: 16px;
  line-height: 1.7;
}

/* =========================================================
   CONTENT
========================================================= */

.why-us__content {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  gap: 78px;

  align-items: center;
}

/* =========================================================
   VISUAL
========================================================= */

.why-us__visual {
  position: relative;
  min-width: 0;
}

.why-us__visual-card {
  position: relative;

  padding: 28px;

  overflow: hidden;

  border: 1px solid #dfe5eb;
  border-radius: 18px;

  background: var(--why-surface);
}

/* =========================================================
   VISUAL HEADER
========================================================= */

.why-us__visual-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 18px;

  border-bottom: 1px solid #e3e8ed;
}

.why-us__visual-brand {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #27313c;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.08em;
}

.why-us__brand-mark {
  position: relative;

  width: 18px;
  height: 18px;

  border-radius: 4px;

  background: var(--why-blue);
}

.why-us__brand-mark::after {
  content: "";

  position: absolute;

  right: -2px;
  bottom: -2px;

  width: 5px;
  height: 5px;

  border-radius: 1px;

  background: var(--why-red);
}

.why-us__visual-label {
  padding: 5px 8px;

  border-radius: 4px;

  background: #eaf3fb;

  color: var(--why-blue);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.04em;
}

/* =========================================================
   VISUAL MAIN
========================================================= */

.why-us__visual-main {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  gap: 30px;

  align-items: center;

  padding: 42px 0;
}

/* =========================================================
   VISUAL COPY
========================================================= */

.why-us__visual-copy {
  position: relative;
}

.why-us__visual-overline {
  display: block;

  margin-bottom: 12px;

  color: var(--why-light-muted);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.12em;
}

.why-us__visual-heading {
  display: flex;

  flex-direction: column;

  color: #1d2732;

  font-size: 36px;
  font-weight: 500;

  line-height: 0.98;

  letter-spacing: -0.05em;
}

.why-us__visual-heading strong {
  color: var(--why-blue);

  font-weight: 700;
}

.why-us__visual-description {
  max-width: 170px;

  margin-top: 15px;

  color: #78838f;

  font-size: 10px;
  line-height: 1.65;
}

.why-us__visual-button {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 19px;
  padding: 8px 10px;

  border-radius: 4px;

  background: var(--why-blue);

  color: var(--why-white);

  font-size: 8px;
  font-weight: 600;
}

.why-us__visual-button span {
  font-size: 11px;
  line-height: 1;
}

/* =========================================================
   WEBSITE WINDOW
========================================================= */

.why-us__visual-window {
  overflow: hidden;

  border: 1px solid #d9e0e7;
  border-radius: 10px;

  background: var(--why-white);
}

.why-us__window-top {
  display: flex;

  align-items: center;

  gap: 4px;

  height: 28px;

  padding: 0 9px;

  border-bottom: 1px solid #edf0f3;

  background: #fbfcfd;
}

.why-us__window-top span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #d9dfe5;
}

.why-us__window-top span:first-child {
  background: var(--why-blue);
}

.why-us__window-top span:last-child {
  background: var(--why-red);
}

/* =========================================================
   WEBSITE CONTENT
========================================================= */

.why-us__window-content {
  min-height: 180px;

  padding: 22px;

  background: var(--why-white);
}

.why-us__window-line {
  height: 8px;

  margin-bottom: 7px;

  border-radius: 2px;

  background: #26313c;
}

.why-us__window-line.large {
  width: 76%;
}

.why-us__window-line.medium {
  width: 48%;

  background: var(--why-blue);
}

/* =========================================================
   WEBSITE BLOCKS
========================================================= */

.why-us__window-blocks {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 7px;

  margin-top: 28px;
}

.why-us__window-blocks div {
  position: relative;

  height: 58px;

  border: 1px solid #e5e9ee;
  border-radius: 5px;

  background: #f7f9fb;
}

.why-us__window-blocks div:nth-child(2) {
  border-color: var(--why-blue);

  background: var(--why-blue);
}

.why-us__window-blocks div:nth-child(3)::after {
  content: "";

  position: absolute;

  right: 8px;
  bottom: 8px;

  width: 18px;
  height: 18px;

  border-radius: 3px;

  background: var(--why-red);
}

/* =========================================================
   WEBSITE FOOTER
========================================================= */

.why-us__window-footer {
  display: flex;

  justify-content: space-between;

  margin-top: 14px;
}

.why-us__window-footer span {
  width: 28%;
  height: 4px;

  border-radius: 2px;

  background: #dce2e8;
}

.why-us__window-footer span:last-child {
  width: 12%;

  background: var(--why-red);
}

/* =========================================================
   VISUAL FOOTER
========================================================= */

.why-us__visual-footer {
  display: flex;

  align-items: center;

  gap: 30px;

  padding-top: 17px;

  border-top: 1px solid #e3e8ed;
}

.why-us__footer-item {
  display: flex;

  align-items: center;

  gap: 8px;
}

.why-us__footer-icon {
  display: grid;

  place-items: center;

  width: 24px;
  height: 24px;

  border-radius: 5px;

  font-size: 9px;
  font-weight: 700;
}

.why-us__footer-icon.blue {
  background: #eaf3fb;

  color: var(--why-blue);
}

.why-us__footer-icon.red {
  background: #fbeeee;

  color: var(--why-red);
}

.why-us__footer-item div {
  display: flex;

  flex-direction: column;

  gap: 2px;
}

.why-us__footer-item strong {
  color: #35404c;

  font-size: 9px;
  font-weight: 700;
}

.why-us__footer-item small {
  color: #929ca7;

  font-size: 8px;
}

/* =========================================================
   WHY US LIST
========================================================= */

.why-us__list {
  border-top: 1px solid var(--why-border);
}

.why-us__item {
  display: grid;

  grid-template-columns: 42px 1fr;

  gap: 22px;

  padding: 25px 0;

  border-bottom: 1px solid var(--why-border);

  opacity: 1;

  transform: translateY(0);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.why-us__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0b6bc3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.why-us__item h3 {
  margin: 0 0 8px;

  color: #202933;

  font-size: 17px;
  font-weight: 600;

  line-height: 1.4;
}

.why-us__item p {
  max-width: 500px;

  margin: 0;

  color: #707b87;

  font-size: 14px;

  line-height: 1.7;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .why-us {
    padding: 90px 24px;
  }

  .why-us__content {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .why-us__visual {
    max-width: 620px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .why-us {
    padding: 70px 18px;
  }

  .why-us__intro {
    margin-bottom: 48px;
  }

  .why-us__description {
    margin-top: 20px;

    font-size: 15px;
  }

  /* Visual */

  .why-us__visual-card {
    padding: 20px;

    border-radius: 15px;
  }

  .why-us__visual-main {
    grid-template-columns: 1fr;

    gap: 30px;

    padding: 30px 0;
  }

  .why-us__visual-copy {
    max-width: 280px;
  }

  .why-us__visual-heading {
    font-size: 32px;
  }

  .why-us__visual-description {
    max-width: 220px;
  }

  .why-us__visual-window {
    width: 100%;
  }

  .why-us__window-content {
    min-height: 145px;

    padding: 17px;
  }

  .why-us__window-blocks {
    margin-top: 22px;
  }

  .why-us__window-blocks div {
    height: 46px;
  }

  /* Footer */

  .why-us__visual-footer {
    gap: 15px;
  }

  .why-us__footer-item {
    gap: 6px;
  }

  .why-us__footer-icon {
    width: 22px;
    height: 22px;
  }

  .why-us__footer-item strong {
    font-size: 8px;
  }

  .why-us__footer-item small {
    font-size: 7px;
  }

  /* List */

  .why-us__item {
    grid-template-columns: 32px 1fr;

    gap: 14px;

    padding: 22px 0;
  }

  .why-us__item h3 {
    font-size: 16px;
  }

  .why-us__item p {
    font-size: 13px;

    line-height: 1.65;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
  .why-us {
    padding-right: 15px;
    padding-left: 15px;
  }

  .why-us__visual-card {
    padding: 18px;
  }

  .why-us__visual-label {
    display: none;
  }

  .why-us__visual-heading {
    font-size: 31px;
  }

  .why-us__visual-footer {
    gap: 10px;
  }
}

/* =========================================================
   WHY US — MOTION
========================================================= */

/* Initial reveal - Always Visible By Default */

.why-us__intro {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us__visual {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us__list {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   INTRO MICRO ANIMATION
========================================================= */

.why-us__eyebrow {
  position: relative;
  overflow: hidden;
}

.why-us__eyebrow::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: #0a64c4;

  transform: translateX(-105%);

  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us.is-visible .why-us__eyebrow::after {
  transform: translateX(0);

  transition-delay: 0.25s;
}

/* =========================================================
   LIST STAGGER
========================================================= */

.why-us__item {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.why-us.is-visible .why-us__item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.why-us.is-visible .why-us__item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.why-us.is-visible .why-us__item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.why-us.is-visible .why-us__item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

/* =========================================================
   LIST HOVER
========================================================= */

.why-us__item {
  position: relative;
}

.why-us__item::before {
  content: "";

  position: absolute;

  left: -14px;
  top: 0;
  bottom: 0;

  width: 2px;

  background: #0a64c4;

  transform: scaleY(0);
  transform-origin: center;

  transition: transform 0.3s ease;
}

.why-us__item:hover::before {
  transform: scaleY(1);
}

.why-us__item:hover .why-us__number {
  color: #0a64c4;

  transition: color 0.25s ease;
}

.why-us__item h3 {
  transition: color 0.25s ease;
}

.why-us__item:hover h3 {
  color: #0a64c4;
}

/* =========================================================
   VISUAL CARD
========================================================= */

.why-us__visual-card {
  transition: border-color 0.3s ease;
}

.why-us__visual-card:hover {
  border-color: #cfd9e3;
}

/* =========================================================
   WEBSITE WINDOW
========================================================= */

.why-us__visual-window {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.why-us__visual-card:hover .why-us__visual-window {
  transform: translateY(-3px);
  border-color: #c9d8e6;
}

/* =========================================================
   WEBSITE WINDOW CONTENT
========================================================= */

.why-us__window-line.medium {
  position: relative;
  overflow: hidden;
}

.why-us__window-line.medium::after {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.25);

  transform: translateX(-100%);

  transition: transform 0.8s ease;
}

.why-us.is-visible .why-us__window-line.medium::after {
  transform: translateX(100%);

  transition-delay: 0.9s;
}

/* =========================================================
   WEBSITE BLOCKS
========================================================= */

.why-us__window-blocks div {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.why-us__window-blocks div:first-child:hover {
  transform: translateY(-3px);
  border-color: #cfd9e3;
}

.why-us__window-blocks div:nth-child(2):hover {
  transform: translateY(-3px);
  background: #0959ad;
}

.why-us__window-blocks div:nth-child(3):hover {
  transform: translateY(-3px);
}

/* =========================================================
   BUTTON
========================================================= */

.why-us__visual-button {
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.why-us__visual-button span {
  display: inline-block;

  transition: transform 0.25s ease;
}

.why-us__visual-button:hover {
  background: #0959ad;
  transform: translateY(-1px);
}

.why-us__visual-button:hover span {
  transform: translateX(3px);
}

/* =========================================================
   BRAND MARK
========================================================= */

.why-us__brand-mark {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us__visual-card:hover .why-us__brand-mark {
  transform: rotate(-5deg);
}

/* =========================================================
   FOOTER ICONS
========================================================= */

.why-us__footer-icon {
  transition: transform 0.25s ease;
}

.why-us__footer-item:hover .why-us__footer-icon {
  transform: translateY(-2px);
}

/* =========================================================
   RED ACCENT MICRO MOTION
========================================================= */

.why-us__window-blocks div:nth-child(3)::after {
  transition: transform 0.3s ease;
}

.why-us__window-blocks div:nth-child(3):hover::after {
  transform: scale(1.12);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .why-us__intro,
  .why-us__visual,
  .why-us__list,
  .why-us__item,
  .why-us__visual-window,
  .why-us__visual-button,
  .why-us__visual-button span,
  .why-us__brand-mark,
  .why-us__footer-icon,
  .why-us__window-blocks div {
    transition: none !important;
    transform: none !important;
  }
}
