
.az-whyaz-section {
  width: 100%;
  padding: 30px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-whyaz-section *,
.az-whyaz-section *::before,
.az-whyaz-section *::after {
  box-sizing: border-box;
}

.az-whyaz-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.az-whyaz-heading {
  max-width: 880px;
  margin: 0 0 43px;
}

.az-whyaz-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #162a9f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
}

.az-whyaz-heading h2 {
  margin: 0 0 15px;
  color: #0d164e;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.az-whyaz-heading p {
  max-width: 790px;
  margin: 0;
  color: #5b6684;
  font-size: 16px;
  line-height: 1.75;
}

.az-whyaz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.az-whyaz-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  min-height: 145px;
  overflow: hidden;
  padding: 23px;
  background: #ffffff;
  border: 1px solid rgba(22, 42, 159, 0.15);
  border-radius: 19px;
  box-shadow: 0 11px 28px rgba(13, 22, 78, 0.07);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.az-whyaz-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  background: radial-gradient(
    circle at top right,
    rgba(77, 109, 255, 0.13),
    transparent 70%
  );
  pointer-events: none;
}

.az-whyaz-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -44px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(22, 42, 159, 0.08);
  border-radius: 50%;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.az-whyaz-card:hover {
  border-color: rgba(22, 42, 159, 0.38);
  box-shadow: 0 19px 40px rgba(13, 22, 78, 0.12);
  transform: translateY(-4px);
}

.az-whyaz-card:hover::after {
  border-color: rgba(207, 38, 51, 0.22);
  transform: scale(1.25);
}

.az-whyaz-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  border-radius: 17px;
  box-shadow: 0 10px 22px rgba(22, 42, 159, 0.22);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition:
    background 0.3s ease,
    border-radius 0.3s ease,
    transform 0.3s ease;
}

.az-whyaz-card:hover .az-whyaz-number {
  background: linear-gradient(135deg, #e54651, #a90e1b);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.az-whyaz-card-content {
  position: relative;
  z-index: 1;
}

.az-whyaz-card-content small {
  display: block;
  margin-bottom: 6px;
  color: #4d6dff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.2px;
}

.az-whyaz-card-content h3 {
  margin: 0 0 8px;
  color: #0d164e;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.az-whyaz-card-content p {
  margin: 0;
  color: #64708b;
  font-size: 12.5px;
  line-height: 1.62;
}

.az-whyaz-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 26px 28px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.55),
      transparent 34%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
  border-radius: 20px;
  box-shadow: 0 18px 39px rgba(13, 22, 78, 0.17);
}

.az-whyaz-summary-title {
  flex: 0 1 350px;
}

.az-whyaz-summary-title span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.3px;
}

.az-whyaz-summary-title strong {
  display: block;
  font-size: 16px;
  line-height: 1.42;
}

.az-whyaz-summary-flow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.az-whyaz-summary-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 9px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 11px;
  font-size: 10px;
  font-weight: 800;
}

.az-whyaz-summary-flow i {
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
  font-style: normal;
}

@media (max-width: 860px) {
  .az-whyaz-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .az-whyaz-summary-title {
    flex: none;
  }

  .az-whyaz-summary-flow {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .az-whyaz-section {
    padding: 42px 16px;
  }

  .az-whyaz-heading {
    margin-bottom: 31px;
  }

  .az-whyaz-heading h2 {
    font-size: 29px;
  }

  .az-whyaz-heading p {
    font-size: 14px;
    line-height: 1.7;
  }

  .az-whyaz-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .az-whyaz-card {
    grid-template-columns: 49px minmax(0, 1fr);
    gap: 14px;
    min-height: 125px;
    padding: 19px 17px;
    border-radius: 17px;
  }

  .az-whyaz-card:hover {
    transform: none;
  }

  .az-whyaz-number {
    width: 49px;
    height: 49px;
    border-radius: 14px;
    font-size: 11px;
  }

  .az-whyaz-card-content h3 {
    font-size: 15px;
  }

  .az-whyaz-card-content p {
    font-size: 12px;
  }

  .az-whyaz-summary {
    gap: 19px;
    margin-top: 20px;
    padding: 22px 17px;
    border-radius: 17px;
  }

  .az-whyaz-summary-title strong {
    font-size: 14px;
  }

  .az-whyaz-summary-flow {
    gap: 6px;
  }

  .az-whyaz-summary-flow span {
    min-height: 35px;
    padding: 8px 9px;
    font-size: 9px;
  }

  .az-whyaz-summary-flow i {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-whyaz-card,
  .az-whyaz-card::after,
  .az-whyaz-number {
    transition: none;
  }
}
