@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-feature-settings: "pnum" on, "lnum" on;
}

body,
html {
  scroll-behavior: smooth;
  background: #f0f4fa;
  scroll-padding-top: 90px;
}

.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

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

.col {
  flex: 1 1 auto;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  font-feature-settings: "pnum" on, "lnum" on;
  padding: 8px 24px;
  border-radius: 8px;
  text-decoration: none;
  max-width: fit-content;
  border: none;
  cursor: pointer;
}

.btn-primary {
  color: #ffffff;
  background: #0080ff;
}

.btn:hover {
  text-decoration: none;
  transition: all 0.3s linear;
}

.btn-primary:hover {
  background: #06c;
}

.btn-lg {
  padding: 16px 48px;
  font-size: 32px;
  border-radius: 16px;
}

header {
  position: sticky;
  z-index: 99;
  top: 0;
  background: #fff;
  padding: 12px 24px;
  border: 1px solid #e3eaf7;
  box-shadow: 0px 4px 38.3px rgba(9, 50, 90, 0.09);
  backdrop-filter: blur(100px);
}

header .container {
  max-width: 100%;
}

header .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

header .nav a {
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  font-feature-settings: "pnum" on, "lnum" on;
  color: #4d5f7d;
}

header .nav a.btn {
  color: #fff;
}

header .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero {
  padding: 60px 0 90px;
}

.hero__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero__title h2 {
  font-family: "Raleway";
  font-weight: 500;
  font-size: 35px;
  line-height: 125%;
  color: #4d5f7d;
  margin: 0 0 16px;
}
.hero__title img {
  margin: 0 0 60px;
}

.hero__title .hero__title-img {
  margin: 30px 0 0;
}

.hero__content {
  padding: 48px;
  border-radius: 12px;
  background: #fff;
  margin: -40px 0 0;
}

.hero__content p {
  margin: 0 0 32px;
  font-family: "Raleway";
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  font-feature-settings: "pnum" on, "lnum" on;
  color: #4d5f7d;
}

.hero__content p:last-of-type {
  margin: 0;
}

.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 32px;
}
.title h1 {
  font-weight: 600;
  font-size: 40px;
  line-height: 125%;
  color: #070e18;
}

.dropdown {
  position: relative;
}
.dropdown-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
}
.dropdown-title p {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #10334f;
}
.dropdown-title img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.dropdown-nav {
  position: absolute;
  top: 120%;
  right: 0;
  padding: 24px 24px 8px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #134;
  min-width: 250px;
  display: none;
}
.dropdown-nav:before {
  /*content: url("/tms/tm_30/img/arrow.svg");*/
  position: absolute;
  top: 4px;
  right: 4px;
}
.dropdown ul {
  list-style-type: none;
}
.dropdown ul li {
  margin: 0 0 16px;
}
.dropdown ul li a {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  text-decoration-line: underline;
  color: #4d5f7d;
}
.dropdown ul li a:hover {
  text-decoration: none;
}

.reviews__rating {
  margin: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.reviews__rating ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.reviews__rating ul li {
  background: url("../img/star-b.svg") center no-repeat;
  background-size: contain;
  width: 60px;
  height: 60px;
}
.reviews__rating ul li.rating-active {
  background: url("../img/star-a.svg") center no-repeat;
  background-size: contain;
}
.reviews__rating ul li.rating-half {
  background: url("../img/star-half.svg") center no-repeat;
  background-size: contain;
}

.reviews__rating p {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 0 0 0 24px;
}

.reviews {
  background: #e3eaf7;
  padding: 60px 0;
}

.reviews__item {
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  margin: 0 0 28px;
}

.reviews__item-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 24px;
}

.reviews__item-title img {
  width: 64px;
  height: 64px;
  border-radius: 64px;
  margin: 0 24px 0 0;
  object-fit: cover;
}

.reviews__item-title strong {
  display: inline-block;
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 20px;
  line-height: 125%;
  color: #070e18;
}

.reviews__item-title p {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #7992b2;
}

.reviews__item-content {
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviews__item-content.showen {
  -webkit-line-clamp: 40;
}

.reviews__item-content p {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #4d5f7d;
}

.reviews__item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviews__item-footer .rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style-type: none;
}

.reviews__item-footer .rating-item {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url("../img/star.svg") center no-repeat;
}

.reviews__item-footer .rating-item {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url("../img/star.svg") center no-repeat;
}

.reviews__item-footer .rating-active {
  background: url("../img/star-a.svg") center no-repeat;
}

.reviews__item-footer .rating-half {
  background: url("../img/star-half.svg") center no-repeat;
}

.reviews__item-footer div {
  display: flex;
  align-items: center;
}

.reviews__item-footer .action span {
  font-weight: 400;
  font-size: 13px;
  line-height: 140%;
  color: #7992b2;
  margin: 0 0 0 16px;
}
.reviews__item-footer .btn:before {
  content: "Читать подробнее";
}
.showen + .reviews__item-footer .btn:before {
  content: "Скрыть";
}

.pagination {
  margin: 60px 0 0;
}

.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style-type: none;
  margin: 0 0 24px;
  gap: 20px;
}

.pagination .dots {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
}

.pagination .dots:hover {
  background: #f0f4fa;
}

.pagination .dots.active {
  background: #0080ff;
}

.pagination .counter {
  text-align: center;
  font-size: 24px;
  color: #4d5f7d;
  line-height: 1.25;
}

.form {
  padding: 60px 0 80px;
}

.form form {
  margin: 60px 0 0;
}
.form form h3 {
  color: #4d5f7d;
  font-size: 24px;
  margin: 0 0 24px;
  line-height: 1.2;
}
.form form p {
  color: #4d5f7d;
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 40px;
}
.form form fieldset {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
  padding: 0;
  border: none;
  margin: 0 0 16px;
}
.form form .label {
  padding: 16px;
  width: 200px;
  flex: 0 0 200px;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #ffffff;
  background: #007aff;
  border-radius: 16px;
}

[type="text"] {
  width: 100%;
  height: 62px;
  padding: 0 32px;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 500;
}

textarea {
  width: 100%;
  height: 62px;
  padding: 20px 32px;
  height: 300px;
  resize: none;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 500;
}

[type="file"] {
  width: 100%;
  height: 62px;
  padding: 0 32px 0 16px;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 500;
  background: #fff;
  line-height: 62px;
  color:#FFF;
}

input[type="file" i]::-webkit-file-upload-button {
  padding: 0;
  border: none;
  font-size: 1px;
  text-indent: -999999px;
  background: url("../img/file.svg") center no-repeat;
  width: 40px;
  height: 40px;
  vertical-align: super;
  margin: 0 16px 0 0;
  display: inline-block;
}

.required {
  position: relative;
}

.required:before {
  content: "*";
  position: absolute;
  color: #e00;
  right: -40px;
  top: 8px;
  font-size: 48px;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

form .list {
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  width: 100%;
}
form .list label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 8px;
}
[type="checkbox"], [type="radio"] {
  width: 28px;
  height: 28px;
  accent-color: #007aff;
  -webkit-appearance: none;
  display: flex;
  align-content: center;
  justify-content: center;
  border: 2px solid #007aff;
  border-radius: 8px;
  flex: 0 0 28px;
}
input[type="checkbox"]::before, input[type="radio"]::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  clip-path: polygon(
    6.55% 56.55%,
    38.5% 68.78%,
    86.59% 19.74%,
    95.96% 15.12%,
    40.68% 85.28%,
    4.36% 55.67%
  );
  background-color: #fff;
  transform: scale(0);
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
  background: #007aff;
}
input[type="checkbox"]:checked::before, input[type="radio"]:checked::before {
  transform: scale(1);
}

form .list p {
  margin: 0 0 0 12px;
  font-size: 16px;
  line-height: 42px;
  color: #333;
  font-weight: 500;
}
form .list [type="text"] {
  background: #f0f4fa;
  margin: 0 0 0 20px;
  height: 42px;
  padding: 0 16px;
  font-size: 16px;
  border-radius: 40px;
}

form .rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
form .rating label input {
  display: none;
}
form .rating label p {
  display: inline-block;
  cursor: pointer;
  width: 64px;
  height: 64px;
  margin: 0;
  background: url("../img/star-border.svg") center no-repeat;
}

form .rating label input:checked + p {
  background: url("../img/star-fill.svg") center no-repeat;
}

.flex-wrap {
  flex-wrap: wrap;
  gap: 12px !important;
  margin: 0 0 80px !important;
}

.checkboxes {
  width: 100%;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
}
.form .checkboxes p {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.form .btn {
  margin: 0 auto;
}

footer {
  padding: 80px 0 80px;
  background: #e3eaf7;
}

footer .col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

footer .left {
  flex: 0 0 33%;
}
footer .right {
  flex: 0 0 67%;
}
footer .left .logo {
  margin: 0 0 80px;
  display: inline-block;
  height: 80px;
}
footer .col > div > div {
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
footer .col > div > div strong {
  display: inline-block;
  margin: 0 0 20px;
  font-weight: 600;
  font-size: 20px;
  line-height: 125%;
  color: #070e18;
  width: 70%;
}
footer .left > div a {
  margin: 0 0 8px;
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  color: #0080ff;
}

footer .right .social {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  list-style-type: none;
  margin: 0 0 80px;
  gap: 28px;
}

footer .right .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #fff;
}

footer .right .social a:hover {
  background: #0080ff;
}

footer .right .social a:hover img {
  filter: brightness(0) invert(1);
}

footer .col .right div strong {
  width: 100%;
}

footer .right .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 0 0 80px;
}

footer .right .grid div {
  display: flex;
  flex-direction: column;
}

footer .right .grid a {
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  color: #0080ff;
  margin: 0 0 20px;
  text-decoration: underline;
}

footer .right .grid a:hover {
  text-decoration: none;
}

footer .right .grid p {
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  color: #0080ff;
  margin: 0 0 20px;
}

footer .right .full ul {
  list-style: none;
  columns: 2;
  column-gap: 80px;
}

footer .right .full li {
  margin: 0 0 4px;
}

footer .right .full a {
  font-weight: 600;
  font-size: 15px;
  line-height: 125%;
  color: #0080ff;
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
  .hero__title img {
    max-width: 100%;
  }
  .hero__title .hero__title-img {
    max-width: 50%;
  }
  .btn-lg {
    font-size: 24px;
  }
  .form form .label {
    font-size: 18px;
    height: 62px;
    flex: 0 0 140px;
    line-height: 30px;
  }
  .form form fieldset {
    gap: 16px;
  }
  .required:before {
    right: -10px;
  }
}

@media (max-width: 990px) {
  .hero__content p {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  .form form fieldset {
    flex-direction: column;
    gap: 4px;
  }
  header .nav a {font-size:12px;}
  .form form .label {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    background: none;
    color: #333;
    line-height: 1;
    height: auto;
    margin: 0 0 8px;
    font-size: 21px;
  }
  .title h2 {
    font-size: 24px;
  }
  .form form {
    margin: 28px 0 0;
  }
  .form form h3 {
    font-size: 21px;
  }
  .form form p {
    font-size: 16px;
    line-height: 1.6;
  }
  .pagination ul {
    gap: 12px;
  }
  .reviews__rating ul li {
    width: 32px;
    height: 32px;
    background-size: contain;
    margin: 0 8px 0 0;
  }
  .reviews__rating p {
    font-size: 16px;
    margin: 0 0 0 16px;
  }
  .hero__title .hero__title-img {
    display: none;
  }
  .hero__content {
    padding: 24px;
    margin: 20px 0 0;
  }
  header .nav a.btn {
    display: none;
  }
  .dropdown-title p {
    display: none;
  }
  .reviews__item-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .reviews__item {
    padding: 18px;
  }
  .reviews__item-footer .btn {
    font-size: 14px;
    padding: 12px 16px;
  }
  .pagination .prev {
    display: none;
  }
  .pagination .next {
    display: none;
  }
  form .rating label p {
    width: 48px;
    height: 48px;
    background-size: contain !important;
  }
  form .list label:last-of-type {
    flex-wrap: wrap;
  }
  form .list [type="text"] {
    margin: 20px 0 0;
  }
  .form .btn {
    margin: 40px 0 0;
    font-size: 21px;
    width: 100%;
    padding: 16px 24px;
    max-width: 100%;
  }
  .flex-wrap {
    margin: 0 0 40px !important;
  }
  footer .right .social {
    gap: 16px;
    margin: 0 0 40px;
  }

  .hero .btn {
    font-size: 21px;
    width: 100%;
    padding: 16px 24px;
    max-width: 100%;
  }
  header {
    padding: 12px 0;
  }
  footer {
    padding: 40px 0 0;
  }
  footer .left .logo {
    margin: 0 0 40px;
  }
  footer .col {
    flex-direction: column;
  }
  footer .left,
  footer .right {
    flex: 0 0 100%;
    width: 100%;
  }
  footer .col > div > div strong {
    margin: 0 0 8px;
    font-size: 18px;
    width: 100%;
  }

  footer .right .grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }
  footer .right .full ul {
    columns: 1;
  }
}
