:root {
  --why-blue: #1769e0;
  --why-blue-dark: #0d4fb5;
  --why-text: #172033;
  --why-muted: #667085;
  --why-border: #e7ecf3;
  --why-white: #ffffff;
  --why-soft: #f5f8ff;
  --why-green: #22a06b;
}

.why-section {
  position: relative;
  overflow: hidden;

  padding: 105px 0;

  background: #ffffff;
}

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

  position: absolute;

  width: 500px;
  height: 500px;

  right: -260px;
  top: 40px;

  border-radius: 50%;

  background: rgba(23, 105, 224, 0.035);

  pointer-events: none;
}

.why-container {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;

  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  align-items: center;

  gap: 90px;
}

.why-content {
  max-width: 610px;
}

.why-eyebrow {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--why-blue);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.4px;
}

.why-content h2 {
  margin: 0;

  color: var(--why-text);

  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.08;

  letter-spacing: -2.2px;

  font-weight: 800;
}

.why-content h2 span {
  display: block;

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

.why-description {
  max-width: 570px;

  margin: 22px 0 0;

  color: var(--why-muted);

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

.why-points {
  display: grid;

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

  gap: 26px 30px;

  margin-top: 38px;
}

.why-point {
  display: flex;
  align-items: flex-start;

  gap: 13px;
}

.why-point-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--why-soft);

  color: var(--why-blue);

  font-size: 17px;
  font-weight: 800;
}

.why-point h3 {
  margin: 1px 0 0;

  color: var(--why-text);

  font-size: 15px;
  font-weight: 750;
}

.why-point p {
  margin: 5px 0 0;

  color: var(--why-muted);

  font-size: 12px;
  line-height: 1.55;
}


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

.why-visual {
  position: relative;

  min-height: 470px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;
}

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

  position: absolute;

  width: 340px;
  height: 340px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(23, 105, 224, 0.10),
      rgba(23, 105, 224, 0.02) 65%,
      transparent 70%
    );
}

.trust-card-main {
  position: relative;
  z-index: 2;

  width: min(100%, 430px);

  padding: 38px;

  border: 1px solid var(--why-border);
  border-radius: 24px;

  background: var(--why-white);

  box-shadow:
    0 25px 65px rgba(23, 32, 51, 0.10);
}

.trust-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.trust-card-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: rgba(34, 160, 107, 0.10);

  color: var(--why-green);

  font-size: 18px;
  font-weight: 800;
}

.trust-card-top span {
  color: var(--why-green);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.2px;
}

.trust-card-main h3 {
  margin: 27px 0 0;

  color: var(--why-text);

  font-size: 32px;
  line-height: 1.18;

  letter-spacing: -1.1px;

  font-weight: 800;
}

.trust-card-main h3 span {
  display: block;

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

.trust-card-main > p {
  margin: 17px 0 0;

  color: var(--why-muted);

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

.trust-line {
  height: 1px;

  margin: 27px 0;

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

.trust-card-footer {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.trust-card-footer div {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.trust-card-footer strong {
  color: var(--why-text);

  font-size: 14px;
}

.trust-card-footer span {
  color: var(--why-muted);

  font-size: 11px;
}

.trust-floating-card {
  position: absolute;

  right: 0;
  bottom: 42px;

  z-index: 3;

  display: flex;
  align-items: center;

  gap: 10px;

  padding: 13px 17px;

  border: 1px solid var(--why-border);
  border-radius: 13px;

  background: var(--why-white);

  box-shadow:
    0 15px 35px rgba(23, 32, 51, 0.12);
}

.floating-check {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: var(--why-soft);

  color: var(--why-blue);

  font-size: 14px;
  font-weight: 800;
}

.trust-floating-card div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.trust-floating-card strong {
  color: var(--why-text);

  font-size: 12px;
}

.trust-floating-card span:not(.floating-check) {
  color: var(--why-muted);

  font-size: 10px;
}


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

@media (max-width: 950px) {

  .why-section {
    padding: 80px 0;
  }

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

    gap: 55px;
  }

  .why-content {
    max-width: 720px;
  }

  .why-visual {
    min-height: 430px;
  }
}


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

@media (max-width: 600px) {

  .why-section {
    padding: 65px 0;
  }

  .why-container {
    width: calc(100% - 28px);
  }

  .why-content h2 {
    font-size: 36px;

    letter-spacing: -1.4px;
  }

  .why-description {
    font-size: 14px;
  }

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

    gap: 20px;

    margin-top: 30px;
  }

  .why-visual {
    min-height: 390px;

    padding: 20px 5px;
  }

  .trust-card-main {
    padding: 28px;

    border-radius: 20px;
  }

  .trust-card-main h3 {
    font-size: 27px;
  }

  .trust-floating-card {
    right: 0;
    bottom: 20px;
  }
}
