.pricing-page {
  background: #f5f5f0;
  padding: 150px 0 150px;
}

.pricing-panel {
  width: min(100%, 1420px);
  margin-inline: auto;
  padding: 80px 70px 70px;
  background: #174c4a;
  border-radius: 30px;
  box-shadow: inset 0 5px 80px rgba(255, 255, 255, 0.12);
}

.pricing-duration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.duration-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.duration-badge {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 64px;
  padding: 6px 10px;
  background: #f5c542;
  color: #0d2a29;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.duration-btn {
  min-width: 180px;
  min-height: 74px;
  padding: 0 28px;
  color: #fff;
  background: transparent;
  border: 2px solid #e6e6e6;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.duration-btn.is-active {
  color: #174c4a;
  background: #fff;
  border-color: #fff;
}

.duration-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 50px 40px 40px;
  background: #fff;
  border-radius: 30px;
  text-align: center;
}

.plan-card__title {
  margin: 0 0 18px;
  color: #174c4a;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.plan-card__price {
  margin: 0 0 8px;
  color: #174c4a;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.plan-card__subprice {
  margin: 0 0 20px;
  color: rgba(13, 42, 41, 0.55);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.plan-card__economy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 48px;
  margin: 0 0 28px;
  padding: 0 22px;
  color: #174c4a;
  background: #ececec;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.plan-card__divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 28px;
}

.plan-card__divider::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: #e6e6e6;
}

.plan-card__divider span {
  position: relative;
  z-index: 1;
  padding: 0 14px;
  color: #b0b0b0;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #0d2a29;
  font-size: 18px;
  line-height: 1.25;
}

.plan-card__features li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.5 9.2L7.2 12.8L14.5 5.2' stroke='%23174C4A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px 18px no-repeat;
}

.plan-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 90px;
  margin-top: auto;
  color: #fff;
  background: #174c4a;
  border-radius: 20px;
  font-size: 20px;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.plan-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

@media (max-width: 1200px) {
  .pricing-page {
    padding: 90px 0;
  }

  .pricing-panel {
    padding: 60px 30px 30px;
  }

  .pricing-duration {
    flex-wrap: wrap;
    gap: 40px 12px;
  }

  .duration-btn {
    min-width: 150px;
    min-height: 64px;
    font-size: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .pricing-page {
    padding: 70px 0;
  }

  .pricing-panel {
    padding: 56px 16px 16px;
  }

  .pricing-duration {
    gap: 36px 10px;
  }

  .duration-btn {
    min-width: calc(50vw - 36px);
    min-height: 56px;
    padding: 0 14px;
    font-size: 16px;
  }

  .duration-badge {
    top: -30px;
    font-size: 14px;
  }

  .plan-card {
    padding: 36px 24px 24px;
  }

  .plan-card__title,
  .plan-card__price {
    font-size: 28px;
  }

  .plan-card__features li {
    font-size: 16px;
  }

  .plan-card__btn {
    min-height: 72px;
  }
}
