@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap");

.approval-trust {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 5%, rgba(200, 155, 60, 0.13), transparent 20rem),
    linear-gradient(180deg, #fffaf4 0%, #f3ecdc 100%);
  color: #0d2f23;
}

.approval-trust .container-pad {
  max-width: 78rem;
}

.approval-trust__header {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.approval-trust__eyebrow,
.approval-trust__bank-eyebrow {
  margin: 0;
  color: #0d5a40;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1.2;
  text-transform: uppercase;
}

.approval-trust h2 {
  margin: 0.9rem auto 0;
  color: #062b1f;
  font-family: "Cormorant Garamond", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.approval-trust__rule {
  display: block;
  width: 6.4rem;
  height: 1px;
  margin: 1.65rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 60, 0.84), transparent);
}

.approval-trust__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.approval-trust__card {
  min-height: 8.35rem;
  border: 1px solid rgba(200, 155, 60, 0.18);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.45rem 1.2rem;
  text-align: center;
  box-shadow: 0 1.5rem 3.5rem rgba(13, 47, 35, 0.08);
}

.approval-trust__seal {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.95rem;
  place-items: center;
  color: #c89b3c;
}

.approval-trust__seal svg {
  width: 2.35rem;
  height: 2.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.approval-trust__card h3 {
  margin: 0;
  color: #082f24;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.approval-trust__card p {
  margin: 0.5rem auto 0;
  max-width: 13rem;
  color: rgba(23, 34, 28, 0.58);
  font-size: 0.76rem;
  line-height: 1.5;
}

.approval-trust__mobile-reference {
  display: none;
}

.approval-trust__banks-panel {
  margin-top: 2rem;
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  box-shadow: 0 1.35rem 3.2rem rgba(13, 47, 35, 0.08);
}

.approval-trust__banks-panel h3 {
  margin: 0.65rem 0 0;
  color: #0d2f23;
  font-family: "Cormorant Garamond", Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
}

.approval-trust__banks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.55rem;
}

.approval-trust__bank {
  position: relative;
  display: flex;
  min-height: 5.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  border: 1px solid rgba(13, 47, 35, 0.1);
  border-radius: 0.55rem;
  background: #fff;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.approval-trust__bank-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}

.approval-trust__bank--hdfc .approval-trust__bank-logo {
  transform: translate(-50%, -75%);
}

.approval-trust__bank-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.approval-trust__bank-name {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.approval-trust__bank--sbi .approval-trust__bank-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #00a9e0;
}

.approval-trust__bank--sbi .approval-trust__bank-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.approval-trust__bank--sbi .approval-trust__bank-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.36rem;
  height: 1.2rem;
  background: #fff;
  transform: translateX(-50%);
}

.approval-trust__bank--sbi .approval-trust__bank-name {
  color: #2b2480;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

.approval-trust__bank--hdfc .approval-trust__bank-mark {
  width: 3.15rem;
  height: 3.15rem;
  background: #ed1c24;
  box-shadow: inset 0 0 0 0.38rem #fff, inset 0 0 0 0.82rem #004b93;
}

.approval-trust__bank--hdfc .approval-trust__bank-mark::before,
.approval-trust__bank--hdfc .approval-trust__bank-mark::after {
  content: "";
  position: absolute;
  background: #fff;
}

.approval-trust__bank--hdfc .approval-trust__bank-mark::before {
  left: 50%;
  top: 0.8rem;
  width: 0.34rem;
  height: 1.55rem;
  transform: translateX(-50%);
}

.approval-trust__bank--hdfc .approval-trust__bank-mark::after {
  left: 0.8rem;
  top: 50%;
  width: 1.55rem;
  height: 0.34rem;
  transform: translateY(-50%);
}

.approval-trust__bank--hdfc .approval-trust__bank-name {
  border: 0.18rem solid #004b93;
  background: #fff;
  padding: 0.2rem 0.34rem;
  color: #004b93;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  letter-spacing: 0.02em;
}

.approval-trust__bank--pnb {
  background: #8d2040;
}

.approval-trust__bank--pnb .approval-trust__bank-mark {
  width: 2.45rem;
  height: 2.45rem;
  border-left: 0.34rem solid #f3cf39;
  border-bottom: 0.34rem solid #f3cf39;
  border-radius: 0 0 0 0.55rem;
  transform: rotate(-8deg);
}

.approval-trust__bank--pnb .approval-trust__bank-mark::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.15rem;
  width: 0.66rem;
  height: 1.4rem;
  border-left: 0.34rem solid #f3cf39;
  border-bottom: 0.34rem solid #f3cf39;
  border-radius: 0 0 0 0.45rem;
}

.approval-trust__bank--pnb .approval-trust__bank-name {
  color: #fff;
  font-size: clamp(0.9rem, 2.3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
}

.approval-trust__note {
  margin: 1.5rem 0 0;
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem 1.2rem;
  color: rgba(23, 34, 28, 0.62);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .approval-trust__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approval-trust__banks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .approval-trust__header {
    margin-bottom: 2.25rem;
  }

  .approval-trust h2 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .approval-trust__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .approval-trust__card {
    min-height: 9rem;
    padding: 1rem 0.55rem;
  }

  .approval-trust__card:nth-child(n + 3) {
    display: none;
  }

  .approval-trust__card > p:not(.approval-trust__mobile-reference) {
    display: none;
  }

  .approval-trust__card h3 {
    font-size: 0.84rem;
  }

  .approval-trust__mobile-reference {
    display: block;
    margin-top: 0.55rem;
    color: rgba(8, 47, 36, 0.72);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .approval-trust__bank {
    min-height: 5.2rem;
    justify-content: flex-start;
  }
}
