h1 {
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 24px;
  text-align: center;
  margin-top: 48px;
}

.sub {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 40px;
  max-width: 800px;
  font-weight: 400;
  font-size: 24px;
}
h2 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 16px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 400;
  color: #787878;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  cursor: grab;
}

.breadcrumbs:active {
  cursor: grabbing;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumb-item {
  white-space: nowrap;
}

.breadcrumb-icon {
  flex-shrink: 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  display: flex;
  flex-direction: column;

  border: 2px solid #6e000080;
  border-radius: 16px;
  padding: 32px 24px 40px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
  height: 100%;
}

.plan-card.active {
  background: #6e0000;
  border: 2px solid #ff9898;
  color: #fff;
}

.plan-desc {
  color: #787878;
  margin-bottom: 24px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
}

.plan-card.active .plan-desc {
  color: #fff;
}

.plan-price {
  margin-bottom: 24px;
}

.price-main {
  font-size: 48px;
  font-weight: 700;
  color: #6e0000;
}

.plan-card.active .price-main {
  color: #fff;
}

.price-period {
  font-size: 20px;
  font-weight: 400;
  color: #787878;
}

.plan-card.active .price-period {
  color: #fff;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  flex-grow: 1;
}

.plan-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 400;
}

.plan-list img {
  width: 24px;
  height: 24px;
}

.plan-btn {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: #6e0000;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-top: auto;
}

.plan-card.active .plan-btn {
  background: #ff9898;
  color: #2b2727;
}

@media (max-width: 800px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plans {
    padding-inline: 160px;
  }
}
.plan-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.plan-popup.active {
  display: block;
}
.plan-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.plan-popup.active {
  display: block;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.popup-content {
  position: relative;
  max-width: 600px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  margin: 10vh auto;
  z-index: 2;
}

#popupTitle {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0;
}

#popupTitle strong {
  color: #6e0000;
}

.error-message {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #ff0000;
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.form-group input {
  height: 48px;
  border-radius: 16px;
  border: 1px solid #6e0000;
  padding: 0 16px;
  font-size: 16px;
}

.form-group input::placeholder {
  color: #d4d4d4;
}

.popup-submit {
  margin-top: 16px;
  text-align: center;
  border-radius: 16px;
  border: none;
  background: #6e0000;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  max-width: 290px;
  padding: 16px 24px;
  width: 100%;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.thankyou-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.thankyou-text {
  text-align: left;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

.thankyou-text strong {
  font-weight: 700;
}

.thankyou-sign {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #6e0000;
  text-align: left;
}

.thankyou {
  position: relative;
}

.thankyou-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
@media (max-width:768px) {
  .plans {
    padding-inline: 80px;
  }
}
@media (max-width: 600px) {
  .plans {
    padding-inline: 0px;
  }
  .popup-content {
    max-width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
  }
  h2 {
    font-size: 24px;
  }
  .plan-desc {
    font-size: 16px;
  }
  .price-period {
    font-size: 16px;
  }
  .plan-list li {
    font-size: 16px;
  }

  .price-main {
    font-size: 40px;
  }
  .plan-list img {
    width: 20px;
    height: 20px;
  }
  .popup-close {
    top: 20px;
    right: 20px;
  }

  #popupTitle {
    font-size: 28px;
  }

  .thankyou-title {
    font-size: 28px;
  }

  .thankyou-text,
  .thankyou-sign {
    font-size: 20px;
  }
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  main {
    padding: 40px 40px;

    padding-bottom: 0;
  }
  h1 {
    font-size: 32px;
  }
  .sub {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  main {
    padding: 40px 16px;
    padding-bottom: 0;
  }
  h1 {
    font-size: 28px;
  }
  .sub {
    font-size: 16px;
  }
}
