/* =========================================================
   12. Trust + Delivery
   ========================================================= */

.hi-trust-delivery-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 70px;
  background:
    radial-gradient(
      circle at top center,
      rgba(0, 105, 255, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 91, 232, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, #061f55 0%, #05163c 48%, #03102d 100%);
}

.hi-trust-delivery-section,
.hi-trust-delivery-section * {
  box-sizing: border-box;
}

.hi-trust-delivery-section::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 35px;
  width: 160px;
  height: 120px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px
  );
  background-size: 13px 13px;
  pointer-events: none;
}

.hi-trust-delivery-section::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  width: 180px;
  height: 140px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.13) 2px,
    transparent 2px
  );
  background-size: 13px 13px;
  pointer-events: none;
}

.hi-trust-header {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto 34px;
}

.hi-trust-kicker {
  gap: 13px;
  margin-bottom: 15px;
  color: #ff6a00;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hi-trust-kicker span {
  width: 46px;
  height: 2px;
  background: #ff6a00;
}

.hi-trust-header h2 {
  font-size: clamp(40px, 5vw, 44px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hi-trust-header p {
  max-width: 900px;
  margin: 18px auto 0;
  color: rgba(218, 235, 255, 0.82);
  font-size: 18px;
  line-height: 1.4;
}

.hi-trust-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hi-trust-card {
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
  min-height: 198px;
  padding: 26px 28px;
  border: 1px solid rgba(76, 159, 255, 0.48);
  border-radius: 12px;
  background:
    radial-gradient(
      circle at left center,
      rgba(0, 112, 255, 0.16),
      transparent 36%
    ),
    rgba(0, 54, 125, 0.23);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.hi-trust-icon {
  place-items: center;
  width: 110px;
  height: 110px;
  background: rgba(70, 148, 255, 0.14);
  font-size: 50px;
}

.hi-trust-icon span {
  right: 12px;
  bottom: 22px;
  place-items: center;
  color: #ff6a00;
  font-size: 27px;
}

.hi-trust-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hi-trust-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 16px;
  line-height: 1.55;
}

.hi-trust-proof-strip {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr 1.2fr;
  min-width: 0;
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid rgba(76, 159, 255, 0.48);
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(0, 54, 125, 0.25),
    rgba(0, 42, 105, 0.18)
  );
  backdrop-filter: blur(10px);
}

.hi-trust-cta {
  position: relative;
  z-index: 2;
  grid-template-columns: 150px 1.15fr 1fr auto;
  gap: 30px;
  min-width: 0;
  margin-top: 20px;
  padding: 24px 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at left, rgba(0, 132, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  color: #061a45;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.hi-trust-cta-text,
.hi-trust-cta-title,
.hi-trust-cta-points,
.hi-trust-cta-points span {
  min-width: 0;
}

/* =========================================================
   Trust + Delivery Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .hi-trust-header h2 {
    font-size: 32px !important;
  }

  .hi-trust-header p {
    font-size: 15px !important;
  }

  .hi-trust-cta-btn {
    font-size: 14px !important;
  }

  .hi-trust-card p {
    font-size: 14px !important;
  }

  .hi-trust-cta-title h3 {
    font-size: 22px !important;
  }

  .hi-trust-card h3 {
    font-size: 16px !important;
  }

  .hi-trust-cta-text p,
  .hi-trust-cta-points span {
    font-size: 15px !important;
  }

  .hi-trust-icon {
    font-size: 34px !important;
  }

  .hi-trust-cta-icon {
    font-size: 42px !important;
  }

  .hi-trust-cta-points i {
    font-size: 18px !important;
  }
}

@media (max-width: 1199px) {
  .hi-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hi-trust-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .hi-proof-item {
    justify-content: flex-start;
  }

  .hi-proof-item:nth-child(2),
  .hi-proof-item:nth-child(4) {
    border-right: 0;
  }

  .hi-trust-cta {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .hi-trust-cta-text,
  .hi-trust-cta-btn {
    grid-column: 2;
  }

  .hi-trust-cta-points {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .hi-trust-cta{
    display: flex !important;
    flex-direction: column !important;
  }
}

@media (max-width: 991px) {
  .hi-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hi-trust-card {
    min-height: auto;
  }

  .hi-trust-proof-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hi-proof-item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .hi-proof-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .hi-trust-delivery-section {
    padding: 42px 0;
    overflow-x: hidden;
  }

  .hi-trust-delivery-section::before {
    left: -40px;
    width: 120px;
    height: 90px;
  }

  .hi-trust-delivery-section::after {
    right: -50px;
    width: 130px;
    height: 100px;
  }

  .hi-trust-header {
    width: 100%;
    max-width: 100%;
    margin-bottom: 26px;
  }

  .hi-trust-kicker {
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px !important;
  }

  .hi-trust-kicker span {
    width: 28px;
  }

  .hi-trust-header h2 {
    font-size: 22px !important;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .hi-trust-header p {
    margin-top: 13px;
    font-size: 14px !important;
    line-height: 1.55;
  }

  .hi-trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hi-trust-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    min-width: 0;
    padding: 22px;
  }

  .hi-trust-icon {
    width: 82px;
    height: 82px;
    font-size: 34px !important;
  }

  .hi-trust-icon span {
    right: 8px;
    bottom: 14px;
    font-size: 21px;
  }

  .hi-trust-card h3 {
    margin-bottom: 8px;
    font-size: 16px !important;
  }

  .hi-trust-card p,
  .hi-trust-card-description {
    font-size: 14px !important;
    line-height: 1.55;
  }

  .hi-trust-proof-strip {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    margin-top: 16px;
    padding: 8px 20px;
  }

  .hi-proof-item {
    width: 100%;
    min-width: 0;
    padding: 15px 0;
  }

  .hi-proof-item strong {
    font-size: 16px !important;
  }

  .hi-proof-item span {
    font-size: 13px !important;
  }

  .hi-trust-cta {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 16px;
    padding: 26px 20px;
    text-align: center;
    overflow: hidden;
  }

  .hi-trust-cta-icon {
    flex: 0 0 auto;
    margin: 0 auto;
    font-size: 40px !important;
  }

  .hi-trust-cta-title,
  .hi-trust-cta-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hi-trust-cta-title h3 {
    font-size: 20px !important;
    line-height: 1.25;
  }

  .hi-trust-cta-text p {
    margin-bottom: 0;
    font-size: 14px !important;
    line-height: 1.5;
  }

  .hi-trust-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    padding: 12px 16px;
    font-size: 14px !important;
    line-height: 1.3;
    white-space: normal !important;
    text-align: center;
  }

  .hi-trust-cta-points {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .hi-trust-cta-points span {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.4;

    /* Overrides Bootstrap text-nowrap */
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hi-trust-cta-points i {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 17px !important;
  }
}

@media (max-width: 374px) {
  .hi-trust-delivery-section {
    padding: 36px 0;
  }

  .hi-trust-card {
    padding: 20px 18px;
  }

  .hi-trust-cta {
    padding: 24px 16px;
  }

  .hi-trust-cta-title h3 {
    font-size: 18px !important;
  }

  .hi-trust-cta-points span {
    font-size: 13px !important;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}
