@font-face {
  font-family: 'Prata';
  src: url('../fonts/Prata.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Thin.ttf');
  font-weight: 100;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraLight.ttf');
  font-weight: 200;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Light.ttf');
  font-weight: 300;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.ttf');
  font-weight: 500;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.ttf');
  font-weight: 600;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.ttf');
  font-weight: 700;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraBold.ttf');
  font-weight: 800;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Black.ttf');
  font-weight: 900;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h2 {
  font-weight: 400;
  font-size: 28px;
  line-height: 43px;
}

body {
  font-family: 'Montserrat';
  font-weight: 400;
}

img {
  width: 100%;
}

.container {
  width: 1100px;
  margin: 0 auto;
}

.row {
  display: flex;
  align-items: center;
}

.main {
  overflow: hidden;
}

.header__nav a {
  text-decoration: none;
  font-size: 24px;
  line-height: 37px;
  color: #000000;
  margin-left: 20px;
}

.main__left {
  padding-top: 60px;
  padding-left: 60px;
  width: 45%;
}

.main__left a {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

.main__right {
  width: 55%;
}

.main__right img {
  margin-top: -120px;
  scale: 1.2;
}

.main__right img:last-child {
  display: none;
}

.main h1 {
  font-size: 28px;
  line-height: 43px;
  font-weight: 400;
}

.main h1 span {
  font-family: 'Prata';
  font-size: 130px;
  line-height: 202px;
  display: block;
}

.main__subtitle {
  font-size: 28px;
  line-height: 43px;
}

.btn {
  text-decoration: none;
  color: #000000;
  border: 2px solid #000000;
  font-size: 20px;
  line-height: 1.55;
  padding: 14px 50px;
  display: block;
  width: max-content;
  transition: .3s;
  background: #ffffff;
  cursor: pointer;
}

.btn:hover {
  background: #fbcbf9;
}

.about {
  margin-top: 60px;
  background: #fbcbf9;
  padding: 110px 0 60px 0;
}

.about__left {
  width: 30%;
}

.about__right {
  width: 70%;
  padding-left: 100px;
  margin-top: -80px;
}

.about .row {
  align-items: flex-start;
}

.about__title {
  margin-bottom: 30px;
}

.about__subtitle {
  font-size: 20px;
  line-height: 31px;
  padding-right: 110px;
}

.about__list {
  font-size: 20px;
  font-weight: 400;
  list-style: none;
  margin-top: 40px;
  padding-left: 40px;
}

.about__list li {
  position: relative;
}

.about__list li:before {
  content: '';
  background: url(../images/list.png) no-repeat;
  width: 28px;
  height: 28px;
  position: absolute;
  background-size: contain;
  left: -40px;
  top: 0;
}

.about__list li:not(:last-child) {
  margin-bottom: 20px;
}

.services {
  padding: 50px 0;
}

.services__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.services__title {
  text-align: center;
}

.services__element {
  padding: 0 20px;
  text-decoration: none;
  color: #000000;
}

.services__subtitle {
  font-size: 24px;
  text-align: center;
  margin-top: -40px;
}

.why {
  background: #FBCCF9;
  padding: 40px 0;
  border-radius: 0 130px 0 130px;
}

.why__group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-top: 30px;
}

.why__title {
  text-align: center;
}

.why__element {
  text-align: center;
}

.why__subtitle {
  font-size: 20px;
  line-height: 31px;
  text-align: center;
}

.why__element img {
  width: 10vw;
  height: 10vw;
  object-fit: contain;
  object-position: center;
  max-width: 150px;
  max-height: 150px;
}

.gallery {
  padding: 60px 0;
}

.gallery__title {
  text-align: center;
}

.gallery__slider {
  padding: 0 100px;
  margin-top: 30px;
}

.gallery__slider img {
  height: 500px;
  object-fit: cover;
}

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 7px;
  border-radius: 100%;
  cursor: pointer;
}

.slick-prev {
  left: 0;
}

.slick-next {
  right: 0;
}

.slick-next svg {
  width: 20px;
  height: 20px;
}

.slick-prev svg {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

.form-group {
  display: inline-flex;
  flex-direction: column;
}

.request {
  padding: 50px 0;
  background: #fcccf94f url(../images/request.png) no-repeat;
  background-size: contain;
  background-position: right;
}

.request form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  row-gap: 30px;
  margin-top: 50px;
  width: 50%;
}

.request select, .request input {
  height: 50px;
  font-size: 18px;
  padding: 0 10px;
}

.form-group label {
  margin-bottom: 10px;
  font-size: 20px;
}

.contacts__title {
  text-align: center;
  margin-bottom: 30px;
}

.contacts__subtitle {
  text-align: center;
  font-size: 20px;
  margin-bottom: 30px;
  padding: 0 110px;
}

.contacts__left {
  width: 50%;
}

.contacts__right {
  width: 50%;
}

.contacts__info {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  line-height: 30px;
}

.contacts .row {
  gap: 40px;
}

.contacts {
  padding: 50px 0;
}

.contacts b {
  font-weight: 600;
}

.contacts__phone a {
  color: #000000;
  text-decoration-color: #fcccf9;
}

.footer {
  padding-bottom: 20px;
}

.footer img {
  width: 75px;
  border-right: 2px solid #000000;
  margin-right: 15px;
}

.footer p {
  width: 160px;
}

.main-success {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.main-success .btn {
  display: inline-block;
  margin: 0 auto;
}

.price {
  margin-bottom: 30px;
}

.price__group {
  background-color: #FFE2FA;
  padding: 40px 60px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: none;
  margin-top: 20px;
}

#radio_1:checked~#content-1,
#radio_2:checked~#content-2,
#radio_3:checked~#content-3,
#radio_4:checked~#content-4 {
  display: block;
}

.price__main-title {
  text-align: center;
  font-family: 'Montserrat';
  margin-bottom: 50px;
  font-weight: 500;
  font-size: 40px;
}

.price__title {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

.price__tabs-group input {
  display: none;
}

.price__tabs-group input:checked + label {
  background-color: #fbcbf9;
}

.price__tabs-group label {
  border: 1px solid #fbcbf9;
  padding: 10px 20px;
  display: inline-block;
  cursor: pointer;
}

.price__subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 30px;
}

.price__list {
  list-style: none;
}

.price__list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}

.price__list span {
  background-color: #FFE2FA;
}

.price__list span:last-child {
  font-weight: 600;
}

.price__list li:before {
  content: '';
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #000000;
  position: absolute;
  bottom: 0;
  left: 0;
}

.price__description {
  font-style: italic;
  margin-bottom: 20px;
}

.footer__row {
  justify-content: space-between;
}

.footer__link {
  color: #000000;
  text-decoration-color: #fcccf9;
}

.form-group--policy {
  flex-direction: row;
  align-items: center;
  grid-column: span 2;
}

.form-group--policy input {
  height: 20px;
  width: 20px;
  margin-right: 10px;
}

.form-group--policy label {
  font-size: 14px;
  margin-bottom: 0;
}

.form-group--policy a {
  font-weight: bold;
  color: #000000;
}

.policy {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f39fef;
  display: flex;
  padding: 10px 20px;
  gap: 40px;
}

.policy__btn {
  width: 400px;
  background: #ffffff;
  border: 2px solid black;
  cursor: pointer;
  transition: .3s;
  font-size: 18px;
}

.policy__btn:hover {
  background: #ffeffd;
}

.policy__text {
  font-weight: 500;
}

.hidden {
  display: none;
}

@media (max-width: 1225px) {
  .why__group {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .container {
    width: 768px;
  }

  .header__nav a {
    font-size: 20px;
  }

  .header img {
    width: 75px;
  }

  .main h1 {
    font-size: 26px;
  }

  .main__left {
    width: 50%;
  }

  .main__right {
    width: 50%;
  }

  .main__subtitle {
    font-size: 26px;
    line-height: 39px;
  }

  .main h1 span {
    font-size: 120px;
    line-height: 190px;
    position: relative;
    z-index: 2;
  }

  .main__right img {
    margin-top: 43px;
    scale: 1.4;
  }

  .about__subtitle {
    padding-right: 40px;
    font-size: 18px;
    line-height: 29px;
  }

  .about__list {
    font-size: 18px;
  }

  .about__list li:not(:last-child) {
    margin-bottom: 15px;
  }

  .about__list li:before {
    width: 18px;
    height: 18px;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
  }

  .about__list {
    padding-left: 30px;
  }

  .services__subtitle {
    font-size: 20px;
  }

  .why__subtitle {
    font-size: 18px;
  }

  .gallery__slider img {
    height: 400px;
  }

  .contacts__subtitle {
    font-size: 18px;
    padding: 0 40px;
    line-height: 24px;
  }

  .contacts__info {
    font-size: 18px;
  }
}

@media (max-width: 1020px) {
  .request {
    background-image: url(../images/pink-bg.png);
  }
}

@media (max-width: 768px) {
  .container {
    width: 500px;
  }

  .header__nav a {
    font-size: 16px;
    margin-left: 15px;
  }

  .header .row {
    justify-content: space-between;
  }

  .main__right img:first-child {
    display: none;
  }

  .main__right img:last-child {
    display: block;
  }

  .main__right img {
    scale: 2;
  }

  .main__subtitle {
    position: relative;
    z-index: 2;
  }

  .main__left a {
    position: relative;
    z-index: 2;
  }

  .main__left {
    padding-top: 30px;
    padding-left: 20px;
  }

  .btn {
    padding: 12px 40px;
    font-size: 18px;
  }

  .main__subtitle {
    font-size: 24px;
    line-height: 35px;
  }

  .main h1 {
    font-size: 24px;
  }

  .about__right {
    padding-left: 20px;
  }

  .about {
    padding: 45px 0 45px 0;
  }

  .about__subtitle {
    padding-right: 0;
    font-size: 16px;
    line-height: 27px;
  }

  .about__list {
    font-size: 16px;
    margin-top: 20px;
  }

  .about__list li:not(:last-child) {
    margin-bottom: 10px;
  }

  .about__title {
    margin-bottom: 0;
  }

  .about__right {
    margin-top: -12px;
  }

  .services__subtitle {
    font-size: 18px;
    margin-top: -25px;
  }

  .why__group {
    gap: 30px;
  }

  .why__subtitle {
    padding: 0 10px;
  }

  .gallery__slider {
    padding: 0 40px;
  }

  .contacts .row {
    flex-direction: column;
  }

  .contacts__left, .contacts__right {
    width: 100%;
  }

  .price__tabs-group label {
    margin-bottom: 5px;
  }

  .price__group {
    padding: 20px;
  }

  .price__list span {
    width: 65%;
  }

  .price__list span:last-child {
    width: 35%;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
  }

  .footer__row {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 15px;
  }

  .policy {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .policy__text {
    font-size: 14px;
  }

  .policy__btn {
    width: 50%;
    height: 40px;
  }
}

@media (max-width: 500px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }

  .header__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
  }

  .header__nav a {
    margin-left: 0px;
    line-height: 25px;
  }

  .main .row {
    flex-direction: column;
  }

  .main__left {
    width: 100%;
  }

  .main__right {
    display: none;
  }

  .main h1 span {
    font-size: 25vw;
    line-height: 50vw;
  }

  .main h1 {
    font-size: 7vw;
  }

  .main__subtitle {
    font-size: 7vw;
    line-height: 9vw;
  }

  .about .row {
    flex-direction: column-reverse;
  }

  .about__right {
    padding-left: 0;
    width: 100%;
  }

  .about__left {
    width: 50%;
    margin: 25px auto 0 auto;
  }

  .services {
    padding: 30px 0;
  }

  h2 {
    font-size: 8vw !important;
    line-height: 9vw !important;
  }

  .about__title {
    margin-bottom: 5px;
  }

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

  .why__subtitle {
    font-size: 4vw;
    line-height: 5vw;
  }

  .gallery__slider img {
    height: 280px;
  }

  .request form {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .request {
    background-position: 50vw 0;
    background-size: cover;
  }

  .price__tabs-group label {
    width: 100%;
  }

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

  .form-group--policy {
    grid-column: span 1;
  }
}

@media (max-width: 365px) {
  .contacts__info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contacts__subtitle {
    margin-bottom: 15px;
  }
}
