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

:root {
  --font-family: "Raleway", sans-serif;
  --second-family: "Montserrat", sans-serif;
  --third-family: "Open Sans", sans-serif;
  --belyy: #fefefe;
  --siniy: #151515;
  --chernyy: #1e1e1e;
  --krasnyy: #d40202;
  --zelenyy: #18cd00;
}

html {
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

section:not(#main, #single-main) {
  padding: 60px 0;
}

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

.tel-logo {
  display: none;
}

.header-wrapper {
  display: flex;
  align-items: center;
  padding: 20px;
  justify-content: space-between;
  box-shadow: 0 4px 10px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
  border-radius: 0 0 6px 6px;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-header img {
  width: 140px;
}

.btn-mdl {
  cursor: pointer;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-links a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: var(--chernyy);
  text-decoration: none;
}

.header-links a img {
  width: 40px;
  height: 40px;
}

.btn-modal {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #660000;
  border-radius: 6px;
  padding: 10px 36px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  cursor: pointer;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.header-menu li a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: var(--chernyy);
  text-decoration: none;
}

.main-wrapper {
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 660px;
  position: relative;
}

.main-wrapper h1 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 45px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: var(--siniy);
}

.main-wrapper h1 span {
  font-weight: 900;
  color: var(--krasnyy);
}

.main-wrapper p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: var(--chernyy);
  margin: 30px 0 40px 0;
  width: 520px;
}

.swipe-icon {
  width: 30px;
  animation: swipe 3s linear infinite;
  display: none;
}

@keyframes swipe {
  0% {
    transform: translateX(-40px);
  }

  50% {
    transform: translateX(0px);
  }

  100% {
    transform: translateX(-40px);
  }
}

.main-img img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 1000px;
  width: 100%;
  pointer-events: none;
}

.mobile-img {
  display: none;
}

.main-btn {
  border-radius: 6px;
  padding: 16px 40px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  cursor: pointer;
  color: #fff;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

.title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 130%;
  text-transform: uppercase;
  text-align: center;
  color: var(--siniy);
}

.title span {
  font-weight: 700;
  color: var(--krasnyy);
}

.quiz-wrapper {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.quiz-item {
  max-width: 1000px;
  width: 100%;
  height: 600px;
  border-radius: 6px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
  padding: 80px 0 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-item h5 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 36px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--siniy);
}

.quiz-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.quiz-item-text h5 span {
  font-weight: 700;
  color: var(--krasnyy);
}

.quiz-item-text p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: var(--chernyy);
  margin-top: 40px;
}

.quiz-item-text button {
  padding: 16px 40px;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  margin-top: auto;
  max-width: 290px;
  width: 100%;
  cursor: pointer;
}

.advantages-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 60px;
}

.advantages-items {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.advantages-item {
  border-radius: 6px;
  padding: 40px;
  max-width: 376px;
  width: 100%;
  height: 372px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.advantages-item img {
  width: 100px;
  height: 100px;
  filter: hue-rotate(153deg) contrast(1.8);
}

.advantages-item h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  color: var(--siniy);
}

.advantages-item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: var(--chernyy);
}

.works-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 60px;
}

.works-items {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.works-item {
  border-radius: 6px;
  max-width: 580px;
  width: 100%;
  height: 500px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
  padding: 60px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-image: url(../img/tr.png);
  /* background-size: contain; */
  background-repeat: no-repeat;
  background-position: right bottom;
  position: relative;
}

.works-item h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  color: var(--siniy);
}

.works-item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  color: var(--chernyy);
  margin-top: 30px;
}

.works-item a {
  margin-top: auto;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 22px;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  text-decoration: none;
  padding: 16px 60px;
  max-width: 258px;
  width: 100%;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

.works-item img {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.masters-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.masters-items {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.masters-item {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
  border-radius: 6px;
}

.masters-item div {
  border-radius: 20px;
  max-width: 296px;
  width: 100%;
  height: 260px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  overflow: hidden;
}

.masters-item div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masters-item h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  color: var(--siniy);
}

.masters-item p {
  max-width: 290px;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: var(--chernyy);
}

.masters-wrapper a {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 28px;
  line-height: 140%;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  padding: 20px 40px;
  max-width: 398px;
  width: 100%;
  text-decoration: none;
}

.documents-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.documents-data {
  display: flex;
  align-items: start;
  width: 100%;
  gap: 40px;
}

.documents-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.docunets-imgs {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.docunets-imgs div {
  border-radius: 20px;
  max-width: 237px;
  width: 100%;
  height: 335px;
  overflow: hidden;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
}

.docunets-imgs div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.documents-text h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  color: var(--siniy);
}

.documents-text p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
  color: var(--chernyy);
}

.documents-dop-data {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 30px;
  margin-top: -20px;
}

.documents-dop-data-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.documents-dop-data-item div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.documents-dop-data-item div h5 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  color: var(--siniy);
}

.documents-dop-data-item div h5 span {
  font-weight: 700;
  color: var(--krasnyy);
}

.documents-dop-data-item div p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
  color: var(--chernyy);
}

.documents-dop-data img {
  max-width: 419px;
  width: 100%;
}

.faq-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/*  */

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.faq-list-item {
  width: 100%;
  border: 1px solid var(--siniy);
  border-radius: 6px;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
}

.mob {
  display: none;
}

.faq-list-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.faq-list-item-title button {
  border: none;
  background: initial;
  transition: 0.3s linear;
  cursor: pointer;
}

.faq-list-item-title button img {
  width: 50px;
  height: 50px;
  filter: hue-rotate(153deg) contrast(1.8);
}

.faq-list-item-title p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  color: var(--siniy);
}

.faq-item-content p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
  color: var(--chernyy);
}

.faq-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
}

.questions-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.questions-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 17px 0 20px 0;
}

.questions-links a img {
  width: 60px;
  height: 60px;
}

.questions-data {
  max-width: 592px;
  width: 100%;
}

.questions-data p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 26px;
  line-height: 130%;
  color: var(--chernyy);
}

.questions-content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-top: 15px;
  position: relative;
}

.form input {
  width: 100%;
  padding: 30px;
  border: 1px solid var(--siniy);
  border-radius: 6px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  color: var(--chernyy);
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form button {
  width: 100%;
  padding: 25px 40px;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  cursor: pointer;
}

#map {
  border: 1px solid var(--siniy);
  border-radius: 6px;
  max-width: 560px;
  width: 100%;
  height: 513px;
  overflow: hidden;
}

#map iframe {
  width: 100%;
  height: 100%;
}

.form span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  text-align: center;
  color: var(--siniy);
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -8px;
}

.footer-wrapper {
  padding: 30px 0 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid var(--siniy);
  position: relative;
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
}

.footer-list li p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--chernyy);
}

.footer-list li a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: var(--siniy);
  text-decoration: none;
  /* padding-top: 10px; */
}

.footer-list li:has(a) {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  list-style: none;
  gap: 10px;
}

.footer-links li a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-align: right;
  color: var(--siniy);
}

.footer-links li p {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  text-align: right;
  color: var(--chernyy);
}

.footer-logo-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo-btn img {
  max-width: 183px;
  width: 100%;
}

.footer-logo-btn button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  padding: 16px 0;
  width: 220px;
  cursor: pointer;
}

.quiz-items {
  width: 100%;
  display: flex;
  justify-content: center;
}

.quiz-contents {
  max-width: 1000px;
  width: 100%;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
  padding: 80px 40px;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.quiz-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  position: relative;
}

.quiz-finish {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.quiz-finish p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--chernyy);
  width: 100%;
  text-align: center;
}

.quiz-head {
  display: flex;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}

.quiz-head h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--chernyy);
  max-width: 555px;
  width: 100%;
}

.quiz-head p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--chernyy);
}

.quiz-head p span {
  font-weight: 700;
  color: var(--krasnyy);
}

.quiz-chooce-items {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
}

.quiz-chooce-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 293px;
  width: 100%;
}

.quiz-chooce-item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: var(--chernyy);
}

.quiz-chooce-img-wrapper {
  position: relative;
}

.quiz-chooce-img-wrapper.checked:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 40px;
  height: 40px;
  background-image: url(../img/check.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.quiz-chooce-img {
  border-radius: 20px;
  overflow: hidden;
  max-width: 133px;
  width: 100%;
  height: 129px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
}

.quiz-chooce-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-btns {
  margin-top: auto;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.nav-btns button {
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  padding: 16px 40px;
  max-width: 291px;
  width: 100%;
  justify-content: center;
  align-items: center;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

#policy {
  padding-top: 130px !important;
  padding-bottom: 130px !important;
}

.policy-wrapper h1 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 130%;
  text-transform: uppercase;

  color: var(--siniy);
}

.policy-wrapper h2,
.policy-wrapper h3,
.policy-wrapper h4,
.policy-wrapper h5,
.policy-wrapper h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  margin: 10px 0;
  color: var(--siniy);
}

.policy-wrapper p,
.policy-wrapper div div {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  text-transform: uppercase;

  color: var(--siniy);
}

.policy-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.text-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 30px 0 10px 0;
  gap: 20px;
}

.quiz-content-item,
.quiz-content-wraper {
  width: 100%;
}

.quiz-content-item {
  display: none;
}

.active {
  display: block;
}

.text-area p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: var(--chernyy);
}

.text-area textarea {
  max-width: 630px;
  width: 100%;
  height: 200px;
  border: 1px solid #1e1e1e40;
  border-radius: 20px;
  box-shadow: inset 0 0 20px 0 rgb(30 30 30 / 16%);
  background: var(--belyy);
  /* opacity: 0.2; */
  outline: none;
  padding: 20px;
  resize: none;
}

.list-el {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  list-style: none;
  margin-top: 34px;
}

.list-el li {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.list-el li p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: var(--chernyy);
}

.list-el li .check-item {
  width: 24px;
  height: 24px;
  border-radius: 50px;
  border: 1px solid var(--chernyy);
  position: relative;
}

.list-el li .check-item-second {
  width: 24px;
  height: 24px;
  border-radius: 50px;
  border: 1px solid var(--chernyy);
  position: relative;
}

.click:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #18cd00;
  transform: translate(-50%, -50%);
}

.finally-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}

.gift-l {
  position: absolute;
  top: 50%;
  left: 0;
  width: 130px;
  transform: translate(0, -50%);
}

.gift-r {
  position: absolute;
  top: 50%;
  right: 0;
  width: 130px;
  transform: translate(0, -50%);
}

.finally-content h5 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: var(--chernyy);
}

.finally-content p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: var(--chernyy);
  margin: 16px 0 35px 0;
}

.finally-content p span {
  font-weight: 700;
  color: var(--krasnyy);
}

.finally-content > span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  color: var(--chernyy);
}

.quiz-form {
  display: flex;
  align-items: center;
  max-width: 750px;
  width: 100%;
  justify-content: center;
  gap: 40px;
  margin: 50px auto 0 auto;
}

.quiz-form input {
  width: 100%;
  padding: 30px;
  border: 1px solid var(--siniy);
  border-radius: 25px;
  outline: none;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  text-align: left;
  color: var(--chernyy);
}

.quiz-form input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  text-align: left;
  color: var(--chernyy);
  opacity: 0.5;
}

.send-btn {
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  padding: 16px 40px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  cursor: pointer;
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
}

#single-main {
  padding: 192px 0 0 0;
  height: 800px;
}

.single-main-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.single-main-text h1 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 45px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--siniy);
}

.single-main-text h1 span {
  font-weight: 900;
  color: var(--krasnyy);
}

.single-main-text p {
  max-width: 600px;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 25px;
  line-height: 130%;
  color: var(--chernyy);
  margin: 40px 0 85px 0;
}

.single-main-text a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 398px;
  height: 80px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

#single-main .container {
  height: 100%;
}

.single-main-wrapper {
  height: 100%;
  display: flex;
  position: relative;
}

.single-main-img {
  position: absolute;
  bottom: 0;
  right: 75px;
  max-width: 360px;
  width: 100%;
}

.single-models-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 60px;
}

.single-items-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.single-items {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.single-item {
  border-radius: 6px;
  padding: 40px;
  max-width: 376px;
  width: 100%;
  height: 432px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px 0 rgba(30, 30, 30, 0.25);
  background: var(--belyy);
}

.single-item h5 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  color: var(--siniy);
}

.single-item div {
  max-width: 235px;
  width: 100%;
  height: 315px;
}

.single-item div img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-show-all-models {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  max-width: 506px;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

.all-single-items {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  height: 275px;
  list-style: none;
}

.all-single-items li {
  max-width: 300px;
  width: 100%;
  height: 55px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  color: var(--siniy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  border: 2px solid var(--siniy);
  padding: 8px;
  text-align: left;
}
th:nth-child(1),
td:nth-child(1) {
  width: 300px;
}
th:nth-child(2),
td:nth-child(2) {
  width: 600px;
}
th:nth-child(3),
td:nth-child(3) {
  width: 300px;
}

td {
  padding: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: var(--chernyy);
}

tr:nth-child(1) th {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  color: var(--siniy);
}

td:nth-child(3) {
  font-weight: 600;
  text-align: right;
}

.mob-tel {
  display: none;
}

.burger-btn {
  display: none;
}

.burger-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000a3;
  z-index: 999;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.open-burger {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.burger-panel {
  max-width: 200px;
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: 0.3s linear;
  transform: translateX(300px);
}

.burger-panel-open {
  transition: 0.3s linear;
  transform: translateX(0);
}

.burger-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 16px;
  padding-left: 8px;
  margin-top: 20px;
}

.burger-menu li a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: var(--chernyy);
  text-decoration: none;
}

.burger-logo {
  padding-left: 8px;
}

.burger-logo img {
  width: 110px;
}

.close-burger {
  position: absolute;
  top: 20px;
  right: 26px;
  background: initial;
  border: none;
}

.burger-panel .mdl-btn {
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

.close-burger svg {
  filter: hue-rotate(153deg) contrast(1.8);
}

.mdl-btn {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
  padding: 10px 0;
  width: 100%;
  margin-top: auto;
}

.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000a3;
  z-index: 999;
  display: flex;
  justify-content: center;
  padding-top: 180px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.modal-wrapper-open {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.modal-panel {
  max-width: 440px;
  width: 100%;
  height: fit-content;
  padding: 50px 40px 40px 40px;
  border-radius: 6px;
  background: var(--belyy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.send-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: var(--chernyy);
  background: #fff;
  border: 1px solid var(--chernyy);
  border-radius: 12px;
  box-shadow: 0 0 12px -4px black;
  opacity: 0;
  visibility: hidden;
}

.open-message {
  opacity: 1;
  visibility: visible;
}

.send-messages {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: var(--chernyy);
  background: #fff;
  border: 1px solid var(--chernyy);
  border-radius: 12px;
  box-shadow: 0 0 12px -4px black;
  opacity: 0;
  visibility: hidden;
}

.open-message {
  opacity: 1;
  visibility: visible;
}

.modal-panel h6 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--siniy);
}

.modal-panel p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: var(--chernyy);
}

.modal-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.modal-form input {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--siniy);
  border-radius: 6px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--chernyy);
  outline: none;
}

.modal-form input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--chernyy);
  opacity: 0.5;
}

.modal-form button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  color: var(--belyy);
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  border: 1px solid #660000;
  border-radius: 6px;
  box-shadow: 0 2px 0 0 #660000, inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    #d40707 0%,
    #160000 49.46% 49.46%,
    #d40707 100%
  );
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: initial;
  border: none;
  cursor: pointer;
}

.close-modal svg {
  filter: hue-rotate(153deg) contrast(1.8);
}

.single-main-img-mob {
  display: none;
}

.policy-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-form span {
  margin: 0;
}

.checkbox {
  width: 24px;
  height: 24px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.checkbox.checked:after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: #c7c7c7;

  border-radius: 4px;
}

.checkbox input {
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.modal-form span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  text-align: left;
  color: var(--siniy);
  display: flex;
  justify-content: center;
  width: 100%;
}

.cookies-wrapper {
  position: fixed;
  bottom: 4%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: 0 0 12px -5px #000;
  border-radius: 20px;
  padding: 20px;
}

.cookies-wrapper p {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  text-align: left;
  color: var(--siniy);
}

.cookies-wrapper span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  text-align: left;
  color: var(--siniy);
}

.close-cookie {
  position: absolute;
  top: 20px;
  right: 20px;
  background: initial;
  border: none;
}

.close-cookie svg {
  width: 20px;
  filter: hue-rotate(159deg);
}

.cookies-wrapper > div {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.cookies-wrapper > div button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 36px;
  border-radius: 6px;
  border: 1px solid var(--krasnyy);

  box-shadow: 0 2px 0 0 var(--krasnyy),
    inset 0 15px 15px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    134deg,
    var(--krasnyy) 0%,
    var(--chernyy) 49.46% 49.46%,
    var(--krasnyy) 100%
  );
  cursor: pointer;
}
.serv-text {
  display: none;
}
