.hero {
  position: relative;
  display: flex;
  margin: 50px 0 50px;
  border-radius: 22px;
  border: 2px solid #fff;
  box-shadow: 5px 10px 20px 0 rgba(87, 177, 199, 0.15);
  overflow: hidden;
  aspect-ratio: 1400/450;
  z-index: 1;
}
.hero-bg {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  width: 100%;
  z-index: -1;
  max-height: 100%;
  height: 100%;
}
.hero-bg img {
  height: 100%;
  object-fit: cover;
}
.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "info form";
  height: 100%;
  align-self: end;
  width: 100%;
}
.hero__info {
  grid-area: info;
  padding: 16px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

@media (max-width: 1024px) {
  .hero {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0;
    aspect-ratio: unset;
    min-height: 200px;
    border: none;
    margin: 20px 0 56px;
  }
  .hero-bg {
    border-radius: 0;
  }
  .hero .hero__info {
    padding: 16px;
  }
  .hero__container {
    grid-template-columns: 1fr;
  }
}
.price-section {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.price-group {
  background: linear-gradient(136deg, #fff 0%, rgba(255, 255, 255, 0.45) 100%);
  box-shadow: 5px 10px 20px 0 rgba(87, 177, 199, 0.15);
  border-radius: 20px;
  border: 1px solid white;
  padding: 30px;
}

.price-group-index {
  color: #57b1c7;
  font-size: 28px;
  font-weight: 500;
}

.price-group-title {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 30px 0 20px;
  color: #1f2a36;
}

.price-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.price-row:last-child {
  margin-bottom: 0;
}

.price-row-box {
  display: flex;
  gap: 20px;
  align-items: center;
  width: max-content;
}

.price-row-title {
  position: relative;
  font-weight: 250;
  font-size: 20px;
}

.price-row-value {
  color: #4b637d;
  font-weight: 500;
  font-size: 18px;
}

.price-line {
  flex: 1;
  align-self: end;
  border-bottom: 1px dashed #b3c0c4;
  margin-bottom: 6px;
}

@media (max-width: 1464px) {
  .price-section {
    padding: 0 32px;
  }
}
@media (max-width: 768px) {
  .price-section {
    padding: 0 16px;
    gap: 12px;
  }
  .price-group {
    padding: 8px 16px;
  }
  .price-group-title {
    font-size: 18px;
    margin: 16px 0;
  }
  .price-row {
    padding: 8px 0;
    margin: 0;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(87, 177, 199, 0.1);
  }
  .price-row:last-child {
    border-bottom: none;
  }
  .price-row-title {
    font-size: 16px;
  }
  .price-row-value {
    font-size: 16px;
    white-space: nowrap;
  }
  .price-row-box {
    flex-direction: column;
    gap: 4px;
    text-align: right;
  }
  .price-line {
    display: none;
  }
  .price-group-index {
    font-size: 22px;
  }
  .price-group-index {
    display: none;
  }
}
.appointment-form {
  position: relative;
  display: flex;
  gap: 50px;
  background: linear-gradient(136deg, #fff 0%, rgba(255, 255, 255, 0.4980392157) 100%);
  box-shadow: 5px 10px 20px 0 rgba(87, 177, 199, 0.15);
  margin-bottom: 150px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 56px;
}
.appointment-form__bg {
  position: absolute;
  top: 0;
  right: 0;
}
.appointment-form__image {
  max-width: 400px;
  overflow: hidden;
  height: auto;
}
.appointment-form__image img {
  aspect-ratio: 400/536;
  object-fit: cover;
  height: 100%;
}
.appointment-form-body {
  max-width: 750px;
  padding: 50px 50px 50px 0;
  z-index: 1;
}
.appointment-form-body-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 35px;
}
.appointment-form-body-head .title * {
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
  color: #19424d;
}
.appointment-form-body-head .description {
  max-width: 295px;
}
.appointment-form-body form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.appointment-form-body form .default-btn {
  flex: 0 1 calc(50% - 10px);
  min-height: 48px;
}
.appointment-form-body form .default-input {
  flex: 1 1 calc(50% - 10px);
}
.appointment-form-body form .default-input.-comment {
  flex: 1 1 100%;
}
.appointment-form-body #appointmentFormMessage .appointment-form-body__thank-message {
  max-width: 350px;
  margin-bottom: 40px;
}
.appointment-form-body #appointmentFormMessage img {
  margin: 35px 0 25px;
  max-width: 125px;
  aspect-ratio: 1/1;
}
.appointment-form.-small .appointment-form {
  margin-bottom: 0;
  margin-top: 0;
}
.appointment-form.-small .appointment-form-body {
  padding: 20px;
}
.appointment-form.-small .appointment-form-body-head {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.appointment-form.-small .appointment-form-body-head .title {
  margin-right: auto;
}
.appointment-form.-small .appointment-form-body-head .title * {
  font-size: 24px;
  font-weight: 600;
}
.appointment-form.-small .appointment-form-body form {
  flex-direction: column;
  gap: 15px;
}
.appointment-form.-small .appointment-form-body form .default-btn {
  flex-basis: 100%;
}
.appointment-form.-small .appointment-form-body form .default-input.-comment {
  height: 100px;
  background-position: left 15px top 15px;
}
.appointment-form.-small #appointmentFormMessage .appointment-form-body__thank-message {
  max-width: 200px;
  margin-bottom: 40px;
}
.appointment-form.-small #appointmentFormMessage img {
  margin: 35px auto 25px;
  max-width: 100px;
  aspect-ratio: 1/1;
}
.appointment-form.-small #appointmentFormMessage .default-btn {
  display: none;
}
@media screen and (max-width: 1199px) {
  .appointment-form__image {
    display: none;
  }
  .appointment-form-body {
    padding: 50px;
  }
}
@media screen and (max-width: 767px) {
  .appointment-form {
    margin-bottom: 56px;
    gap: 0;
    flex-direction: column;
  }
  .appointment-form__bg {
    display: none;
  }
  .appointment-form__image {
    display: block;
    max-width: 100%;
  }
  .appointment-form__image img {
    aspect-ratio: 343/200;
    object-fit: cover;
    object-position: bottom;
  }
  .appointment-form-body {
    padding: 24px 16px 16px;
  }
  .appointment-form-body-head {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
  }
  .appointment-form-body-head .title * {
    font-size: 24px;
  }
  .appointment-form-body-head .title * br {
    display: none;
  }
  .appointment-form-body form {
    gap: 8px;
  }
  .appointment-form-body form .default-btn {
    flex: 1 1 100%;
  }
  .appointment-form-body form .default-input {
    flex: 1 1 100%;
  }
}