.price {
  padding: 50px 0;
  background: #f7fbf5;
  position: relative;
}

.price__title {
  margin-top: 0;
  margin-bottom: 20px;
}

.price__description {
  margin-bottom: 20px;
}

.price__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price__card {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 38px rgba(53, 76, 99, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.price__card-flag {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 28px;
	line-height: 1;
}

.price__card-title {
	margin: 0 0 20px;
	font-size: 28px;
	color: #0d1d37;
	font-weight: 600;
	line-height: 1;
}

.price__card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 12px;
}

.price__card-image img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.price__card-text p {
  margin: 0 0 10px;
}
.price__card-text p:last-child {
  margin: 0;
}

.price__card-text ul {
  margin: 0 0 10px;
}

.price__card-text {
  position: relative;
}

.price__card-text-content {
  max-height: 236px;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.price__card:hover .price__card-text-content {
  max-height: 9999px;
}

.price__card-text a {
    word-break: break-all;
}

@media (max-width: 740px) {
  .price__card-text-content {
    max-height: none;
    overflow: visible;
  }
}

.price__card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.price__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.93rem;
  white-space: nowrap;
}

.price__btn--primary {
  background-color: #042a4c;
  color: #ffffff;
  border: none;
}

.price__btn--secondary {
  background-color: #ffffff;
  color: #042a4c;
  border: 1px solid #042a4c;
}

.price__btn--secondary:visited {
  color: #042a4c;
}

.price__btn--secondary:hover {
  color: #a36349;
}

.country-popup-body {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #1A202C;
  font-weight: 400;
}

.country-popup-form-title {
    color: #ac0707;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.label-check {
    margin: 5px 0 5px;
}
.labeltext p {
	font-size: 16px;
	line-height: 1.2;
}
.label-check .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 10px;
}
.label-check .wpcf7-list-item {
	margin: 10px 0;
}
.label-check-group p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.label-check-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.label-check-flex .order-1 {
    order: 1;
}
.label-check-flex .order-2 {
    order: 2;
}


@media (max-width: 1080px) {
  .price__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .price__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .price__cards {
    grid-template-columns: 1fr;
  }

  .price__card {
    min-height: auto;
  }
}
