﻿.pe-page {
  background: #ffffff;
  color: #2f506a;
}

.pe-page main {
  overflow: hidden;
}

.pe-hero {
  background-color: #e9f2f9;
  background-image: linear-gradient(
      90deg,
      rgba(233, 242, 249, 0.95) 0%,
      rgba(233, 242, 249, 0.9) 42%,
      rgba(233, 242, 249, 0.45) 64%,
      rgba(233, 242, 249, 0.12) 100%
    ),
    url("../img/pay-for-large-expence/hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid #d9e5ee;
  padding-top: 136px;
  padding-bottom: 84px;
}

.pe-hero-grid {
  display: grid;
}

.pe-hero-content {
  max-width: 460px;
}

.pe-hero-content h1 {
  margin: 0;
  color: #123b5e;
  font-size: clamp(34px, 3.7vw, 54px);
  line-height: 1.06;
  font-weight: 900;
}

.pe-hero-meta {
  margin: 10px 0 0;
  color: #6a8194;
  font-size: 13px;
  line-height: 1.55;
}

.pe-hero-copy {
  margin: 8px 0 0;
  color: #49667d;
  font-size: 17px;
  line-height: 1.62;
}

.pe-hero-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.pe-primary-btn,
.pe-outline-btn,
.pe-light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

.pe-primary-btn {
  border: 0;
  min-width: 165px;
  background: linear-gradient(180deg, #0f89cd 0%, #0a73ae 100%);
  color: #ffffff;
  padding: 0 22px;
  box-shadow: 0 8px 18px rgba(7, 93, 145, 0.24);
}

.pe-primary-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.pe-calc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3e6885;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pe-calc-link img {
  width: 16px;
  height: 16px;
}

.pe-calc-link:hover {
  color: #0f7bb7;
}

.pe-easy,
.pe-specialties,
.pe-plans,
.pe-love {
  padding-top: 76px;
  padding-bottom: 76px;
}

.pe-easy {
  background: #ffffff;
}

.pe-specialties,
.pe-plans {
  background: #edf4f9;
}

.pe-love {
  background: #ffffff;
}

.pe-section-title {
  margin: 0;
  text-align: center;
  color: #123b5e;
  font-size: clamp(32px, 2.7vw, 48px);
  line-height: 1.1;
  font-weight: 900;
}

.pe-easy-card,
.pe-specialty-card,
.pe-point-card {
  height: 100%;
  text-align: center;
  padding: 8px 12px;
}

.pe-easy-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 10px;
}

.pe-easy-card p {
  margin: 0;
  color: #5a7387;
  font-size: 15px;
  line-height: 1.55;
}

.pe-specialty-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.pe-specialty-card h3 {
  margin: 10px 0 6px;
  color: #133d5f;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
}

.pe-specialty-card p {
  margin: 0;
  color: #5a7387;
  font-size: 15px;
  line-height: 1.58;
}

.pe-outline-btn {
  min-width: 178px;
  border: 1.5px solid #1792d2;
  color: #0e7cb7;
  background: #ffffff;
  padding: 0 24px;
}

.pe-outline-btn:hover {
  background: #0f87c8;
  border-color: #0f87c8;
  color: #ffffff;
}

.pe-non-medical {
  background: #143f67;
  padding-top: 54px;
  padding-bottom: 54px;
}

.pe-non-medical h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 2.4vw, 40px);
  font-weight: 900;
}

.pe-non-medical p {
  margin: 8px 0 16px;
  color: #d4e5f3;
  font-size: 16px;
}

.pe-light-btn {
  min-width: 150px;
  background: #6bc5ea;
  color: #123b5e;
  padding: 0 24px;
  border: 0;
}

.pe-light-btn:hover {
  color: #123b5e;
  background: #7bd1f2;
}

.pe-subtitle {
  text-align: center;
  margin: 8px 0 0;
  color: #6b8396;
  font-size: 15px;
}

.pe-point-card img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-bottom: 10px;
}

.pe-point-card p {
  margin: 0;
  color: #4f6b81;
  font-size: 15px;
  line-height: 1.56;
}

.pe-stars {
  display: flex;
  gap: 5px;
  color: #f8ba26;
  font-size: 20px;
  margin-bottom: 14px;
}

.pe-quote {
  margin: 0;
  color: #4c6880;
  font-size: 18px;
  line-height: 1.72;
}

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

.pe-review-wrap {
  display: flex;
  justify-content: center;
}

.pe-review-image {
  width: min(430px, 100%);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(14, 44, 65, 0.2);
}

.pe-questions {
  background: #143f67;
  padding-top: 60px;
  padding-bottom: 60px;
}

.pe-questions h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 2.4vw, 40px);
  font-weight: 900;
}

.pe-questions p {
  margin: 8px 0 0;
  color: #cfe0ef;
  font-size: 16px;
}

.pe-questions a {
  color: #cfe0ef;
  text-decoration: underline;
}

.pe-questions a:hover {
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .pe-hero {
    padding-top: 126px;
    padding-bottom: 72px;
    background-image: linear-gradient(
        90deg,
        rgba(233, 242, 249, 0.97) 0%,
        rgba(233, 242, 249, 0.9) 50%,
        rgba(233, 242, 249, 0.52) 78%,
        rgba(233, 242, 249, 0.22) 100%
      ),
      url("../img/pay-for-large-expence/hero-bg.jpg");
    background-position: 64% top;
  }

  .pe-easy,
  .pe-specialties,
  .pe-plans,
  .pe-love {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .pe-section-title {
    font-size: clamp(30px, 5.2vw, 44px);
  }

  .pe-easy-card p,
  .pe-specialty-card p,
  .pe-point-card p,
  .pe-quote {
    font-size: 16px;
  }

  .pe-specialty-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 767.98px) {
  .pe-hero {
    padding-top: 112px;
    padding-bottom: 62px;
    background-image: linear-gradient(
        180deg,
        rgba(233, 242, 249, 0.95) 0%,
        rgba(233, 242, 249, 0.86) 42%,
        rgba(233, 242, 249, 0.58) 72%,
        rgba(233, 242, 249, 0.35) 100%
      ),
      url("../img/pay-for-large-expence/hero-bg.jpg");
    background-position: 68% top;
  }

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

  .pe-hero-actions {
    align-items: stretch;
  }

  .pe-calc-link {
    justify-content: center;
  }

  .pe-review-image {
    border-radius: 14px;
  }
}
