/* Pricing Page: Needs + Plans Block */

.pricing-page-needs {
  padding-top: 72px;
}

.pricing-page-needs__heading {
  margin: 0;
  max-width: 670px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.9vw, 44px);
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: #075056;
}

/* Statements */

.pricing-page-needs__statements {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 26px;
}

.pricing-page-needs__statement {
  min-height: 0;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
  border-radius: 10px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 20px;
  line-height: 25px;
  color: #053D42;
  display: flex;
  align-items: flex-start;
  transition: border-color .15s ease;
}

.pricing-page-needs__statement:hover,
.pricing-page-needs__statement.is-active {
  border-color: #F15B22;
}

/* Plans grid */

.pricing-page-needs__plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.pricing-page-needs__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
}

.pricing-page-needs__tab--self {
  order: 1;
  background: #F1F0F0;
  color: #053D42;
}

.pricing-page-needs__tab--service {
  order: 4;
  margin-top: 30px;
  background: #053D42;
  color: #FFFFFF;
}

.pricing-page-needs__plan {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 45px 25px 19px;
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
  border-radius: 10px;
  transition: border-color .2s ease;
}

.pricing-page-needs__plan.is-active {
  border-color: #F15B22;
}

.pricing-page-needs__plan--0 { order: 2; }
.pricing-page-needs__plan--1 { order: 3; }
.pricing-page-needs__plan--2 { order: 5; }

.pricing-page-needs__plan-title {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 25px;
  color: #053D42;
}

.pricing-page-needs__plan-desc {
  margin: 30px 0 0;
  min-height: 36px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #596A6B;
}

.pricing-page-needs__plan-btns {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 16px;
}

.pricing-page-needs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  width: 100%;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter .15s ease, background-color .15s ease, color .15s ease;
}

.pricing-page-needs__btn:hover,
.pricing-page-needs__btn:focus-visible {
  filter: brightness(.95);
}

.pricing-page-needs__btn--primary {
  background: #F1F0F0;
  color: #053D42;
}

.pricing-page-needs__plan.is-active .pricing-page-needs__btn--primary {
  background: #F15B22;
  color: #FFFFFF;
}

.pricing-page-needs__btn--outline {
  background: #FFFFFF;
  color: #053D42;
  border-color: #D8D8D8;
}

.pricing-page-needs__plan-rule {
  width: 100%;
  margin: 20px 0 0;
  border: 0;
  border-top: 1px solid #D8D8D8;
}

.pricing-page-needs__plan-label {
  margin-top: 18px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #596A6B;
}

.pricing-page-needs__plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 0;
}

.pricing-page-needs__plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  font-size: 13px;
  line-height: 13px;
  text-transform: uppercase;
  color: #596A6B;
}

.pricing-page-needs__icon {
  display: block;
  flex: none;
}

.pricing-page-needs__icon--check-sm {
  width: 12px;
  height: 12px;
  color: #596A6B;
}

.pricing-page-needs__icon--arrow {
  width: 6px;
  height: 7.2px;
  color: #596A6B;
}

.pricing-page-needs__plan-link {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 12px;
  line-height: 35px;
  color: #596A6B;
  align-self: flex-start;
}

.pricing-page-needs__plan-link:hover {
  color: #053D42;
}

/* Tablet: statements + plans become 3-column grids */

@media (min-width: 768px) {
  .pricing-page-needs {
    padding-top: 106px;
  }

  .pricing-page-needs__statement {
    font-size: 22px;
    line-height: 27px;
  }

  .pricing-page-needs__plan-title {
    font-size: 22px;
    line-height: 27px;
  }
}

@media (min-width: 861px) {
  .pricing-page-needs__statements {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-page-needs__statement {
    min-height: 135px;
    padding: 28px 24px;
  }

  .pricing-page-needs__plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "self self service"
      "pro  bus  man";
    column-gap: 10px;
    row-gap: 44px;
    margin-top: 16px;
  }

  .pricing-page-needs__tab--self {
    grid-area: self;
    order: initial;
  }

  .pricing-page-needs__tab--service {
    grid-area: service;
    order: initial;
    margin-top: 0;
  }

  .pricing-page-needs__plan--0 { grid-area: pro; order: initial; }
  .pricing-page-needs__plan--1 { grid-area: bus; order: initial; }
  .pricing-page-needs__plan--2 { grid-area: man; order: initial; }

  .pricing-page-needs__plan {
    min-height: 529px;
  }

  .pricing-page-needs__plan-link {
    padding-top: 24px;
  }

  .pricing-page-needs__btn {
    max-width: 282px;
  }

  .pricing-page-needs__plan-rule {
    max-width: 294px;
  }
}
