.pl-page {
  background: #ffffff;
  color: #284b67;
}

.pl-page main {
  overflow: hidden;
}

.pl-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pl-hero {
  background-color: #e8f1f8;
  background-image: linear-gradient(
      90deg,
      rgba(232, 241, 248, 0.96) 0%,
      rgba(232, 241, 248, 0.88) 34%,
      rgba(232, 241, 248, 0.18) 66%,
      rgba(232, 241, 248, 0) 100%
    ),
    url("../img/personal-loans/PL_hero_desktop.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-bottom: 1px solid #d9e6f0;
  padding-top: 142px;
  padding-bottom: 94px;
}

.pl-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.pl-hero-content {
  max-width: 470px;
}

.pl-eyebrow {
  margin: 0 0 10px;
  color: #4f6f86;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.pl-hero-content h1 {
  margin: 0;
  color: #103a5a;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  font-weight: 900;
  max-width: 640px;
}

.pl-subcopy {
  margin: 14px 0 0;
  max-width: 500px;
  color: #335d79;
  font-size: 17px;
  line-height: 1.6;
}

.pl-rate-form {
  margin-top: 28px;
  max-width: 440px;
}

.pl-rate-form input,
.pl-rate-form select {
  width: 100%;
  height: 52px;
  border: 1px solid #b6ccd9;
  border-radius: 4px;
  background: #ffffff;
  color: #274d68;
  font-size: 15px;
  padding: 0 16px;
  margin-bottom: 10px;
}

.pl-rate-form select {
  cursor: pointer;
}

.pl-rate-form input:focus,
.pl-rate-form select:focus {
  border-color: #0a7dbc;
  outline: 0;
}

.pl-form-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pl-primary-btn,
.pl-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pl-primary-btn {
  border: 0;
  background: linear-gradient(180deg, #0e86cb 0%, #086ea9 100%);
  color: #ffffff;
  padding: 0 30px;
  box-shadow: 0 8px 18px rgba(7, 93, 145, 0.27);
}

.pl-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(7, 93, 145, 0.3);
  color: #ffffff;
}

.pl-mail-offer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #325b76;
  font-size: 13px;
  font-weight: 700;
}

.pl-mail-offer input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.pl-mail-offer img {
  width: 15px;
  height: 15px;
}

.pl-disclaimer {
  margin: 8px 0 0;
  color: #6c8598;
  font-size: 12px;
}

.pl-apply {
  background: #ecf3f9;
  padding-top: 96px;
  padding-bottom: 96px;
}

.pl-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pl-phone-full-image {
  width: min(360px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
}

.pl-apply-content h2,
.pl-why h2,
.pl-center-title,
.pl-faq h2 {
  color: #113a5a;
  font-size: clamp(34px, 3.1vw, 50px);
  line-height: 1.1;
  margin: 0;
  font-weight: 900;
}

.pl-apply-content ol {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.pl-apply-content li {
  margin-bottom: 19px;
}

.pl-apply-content h4 {
  margin: 0;
  color: #113a5a;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 800;
}

.pl-apply-content p {
  margin: 6px 0 0;
  color: #4b6780;
  font-size: 18px;
  line-height: 1.62;
}

.pl-outline-btn {
  min-width: 194px;
  border: 1.6px solid #1692d2;
  color: #0d7ab3;
  background: #ffffff;
  padding: 0 30px;
}

.pl-outline-btn:hover {
  background: #0f89ca;
  color: #ffffff;
  border-color: #0f89ca;
}

.pl-why {
  background: #ffffff;
  padding-top: 96px;
  padding-bottom: 96px;
}

.pl-why-side-image {
  display: block;
  width: 100%;
  margin-top: 22px;
  border-radius: 12px;
}

.pl-why p {
  color: #4d6982;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.pl-why h4 {
  color: #113a5a;
  font-size: 34px;
  margin: 24px 0 8px;
  font-weight: 800;
}

.pl-why ul {
  margin: 0 0 24px;
  padding-left: 18px;
}

.pl-why li {
  color: #4a677f;
  font-size: 17px;
  line-height: 1.7;
}

.pl-goals {
  background: #eef4f8;
  padding-top: 96px;
  padding-bottom: 124px;
}

.pl-center-title {
  text-align: center;
}

.pl-goal-card {
  height: 100%;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 24px 26px;
  box-shadow: 0 11px 25px rgba(10, 36, 55, 0.08);
}

.pl-goal-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.pl-goal-card h3 {
  margin: 18px 0 9px;
  color: #113a5a;
  font-size: 27px;
  line-height: 1.23;
  font-weight: 800;
}

.pl-goal-card p {
  margin: 0;
  color: #56718a;
  font-size: 16px;
  line-height: 1.63;
}

.pl-goal-card a {
  display: inline-block;
  margin-top: 14px;
  color: #0f7db9;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.pl-goal-card a:hover {
  color: #0a6697;
}
.pl-members {
  background: #ffffff;
  padding-top: 118px;
  padding-bottom: 96px;
}

.pl-stars {
  display: flex;
  gap: 5px;
  color: #f8b620;
  font-size: 21px;
  margin-bottom: 18px;
}

.pl-member-quote {
  max-width: 660px;
  margin: 0;
  color: #45647d;
  font-size: 20px;
  line-height: 1.75;
}

.pl-member-name {
  margin: 16px 0 22px;
  color: #133b5a;
  font-size: 18px;
  font-weight: 700;
}

.pl-metrics {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pl-metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d8e4ed;
  background: #f7fbff;
}

.pl-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d7ebf8;
  color: #0f79b1;
  font-size: 20px;
}

.pl-metric-item strong {
  display: block;
  color: #133b5a;
  font-size: 14px;
  line-height: 1.2;
}

.pl-metric-item small {
  display: block;
  color: #54718a;
  font-size: 12px;
}

.pl-member-image-wrap {
  position: relative;
  padding: 25px;
}

.pl-member-image-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 46px;
  width: 180px;
  height: 180px;
  background: #f04f2f;
  z-index: 0;
}

.pl-member-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  display: block;
  margin-left: auto;
  box-shadow: 0 13px 30px rgba(14, 44, 65, 0.22);
}

.pl-faq {
  background: #f7fbff;
  padding-top: 104px;
  padding-bottom: 104px;
}

.pl-accordion {
  border-top: 1px solid #d6e2ec;
}

.pl-accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d6e2ec;
}

.pl-accordion .accordion-button {
  background: transparent;
  color: #123b5a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  padding: 20px 4px;
  box-shadow: none;
}

.pl-accordion .accordion-button::after {
  filter: saturate(0.3);
}

.pl-accordion .accordion-button:not(.collapsed) {
  color: #0d7db8;
  background: transparent;
}

.pl-accordion .accordion-body {
  padding: 0 4px 20px;
  color: #506d85;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1199.98px) {
  .pl-hero-grid {
    gap: 0;
  }

  .pl-apply-content h2,
  .pl-why h2,
  .pl-center-title,
  .pl-faq h2 {
    font-size: clamp(30px, 5.2vw, 44px);
  }
}

@media (max-width: 991.98px) {
  .pl-hero {
    padding-top: 130px;
    padding-bottom: 78px;
    background-image: linear-gradient(
        90deg,
        rgba(232, 241, 248, 0.98) 0%,
        rgba(232, 241, 248, 0.92) 45%,
        rgba(232, 241, 248, 0.45) 70%,
        rgba(232, 241, 248, 0.15) 100%
      ),
      url("../img/personal-loans/PL_hero_desktop.png");
    background-position: 66% top;
  }

  .pl-hero-content h1 {
    font-size: clamp(32px, 8.3vw, 50px);
  }

  .pl-subcopy {
    font-size: 16px;
  }

  .pl-phone-full-image {
    width: min(330px, 100%);
  }

  .pl-apply-content h4 {
    font-size: 24px;
  }

  .pl-apply-content p,
  .pl-why p,
  .pl-why li,
  .pl-member-quote {
    font-size: 16px;
  }

  .pl-why h4 {
    font-size: 28px;
  }

  .pl-why-side-image {
    max-width: 340px;
  }

  .pl-goal-card h3 {
    font-size: 23px;
  }

  .pl-metrics {
    grid-template-columns: 1fr;
  }

  .pl-member-image-wrap::before {
    right: 22px;
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 767.98px) {
  .pl-hero {
    padding-top: 112px;
    padding-bottom: 70px;
    background-image: linear-gradient(
        180deg,
        rgba(232, 241, 248, 0.96) 0%,
        rgba(232, 241, 248, 0.8) 35%,
        rgba(232, 241, 248, 0.5) 65%,
        rgba(232, 241, 248, 0.3) 100%
      ),
      url("../img/personal-loans/PL_hero_desktop.png");
    background-position: 72% top;
  }

  .pl-rate-form {
    max-width: 100%;
  }

  .pl-form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pl-primary-btn,
  .pl-outline-btn {
    width: 100%;
  }

  .pl-phone-full-image {
    width: min(290px, 86vw);
  }

  .pl-why-side-image {
    max-width: 100%;
    margin-bottom: 8px;
  }

  .pl-accordion .accordion-button {
    font-size: 16px;
  }
}
