@font-face {
  font-family: "Fredoka";
  src: url("Fredoka-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Fredoka";
}
body.active {
  pointer-events: none;
  overflow: hidden;
}
:root {
  --mainColor: #1a1a1a;
  --secondColor: #c7ae6a;
  --whiteColor: #fbfdfc;
}
.main-color {
  color: var(--mainColor);
}
.second-color {
  color: var(--secondColor);
}
.white-color {
  color: var(--whiteColor);
}
.section-light {
  background-color: var(--whiteColor);
  color: var(--secondColor);
}
.section-light p {
  color: var(--mainColor);
}
.section-dark {
  background-color: var(--mainColor);
  color: var(--secondColor);
}
.section-dark p {
  color: var(--whiteColor);
}
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
h1 {
  font-size: 3.9rem;
  line-height: 4.5rem;
  font-weight: 600;
  margin-bottom: 50px;
}
h2 {
  font-size: 6rem;
  line-height: 7rem;
  font-weight: 600;
}
p {
  font-size: 1.8rem;
  line-height: 2.8rem;
  font-weight: 500;
}
img {
  width: auto;
  max-height: 100%;
  height: auto;
  max-width: 100%;
}
.wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
section,
header,
footer {
  padding: 100px 16px;
  overflow: hidden;
}
.header-row {
  gap: 100px;
}
.header-row-content {
  max-width: 530px;
  width: 100%;
}
.square-wrapper {
  margin-top: 150px;
}
.square-wrapper img {
  filter: invert(30%) sepia(80%) saturate(4000%) hue-rotate(15deg)
    brightness(90%) contrast(90%);
  height: 45px;
  object-fit: cover;
}
.square {
  width: 100px;
  min-width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--secondColor) 2px, transparent 2px);
  background-size: 13px 13px;
  top: -80%;
  left: 24%;
}
form {
  width: 100%;
  max-width: 490px;
}
form p {
  margin-bottom: 50px;
}
.form-row {
  width: 100%;
  position: relative;
}

.form-content {
  gap: 30px;
}

.form-row input,
.form-row textarea {
  border: unset;
  outline: unset;
  background: transparent;
  font-size: 2rem;
  line-height: 2rem;
  color: var(--whiteColor);
  border-bottom: 3px solid var(--secondColor);
  width: 100%;
  font-weight: 500;
  padding: 5px 0;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  font-size: 2rem;
  line-height: 2rem;
  color: rgb(251, 253, 252, 0.5);
}
.form-row .error {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: max-content;
  background: #fff;
  padding: 10px;
  color: #000;
  border-radius: 4px;
  color: #ff0000;
  font-size: 12px;
  line-height: 12px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: 0.4s;
  z-index: 3;
}
footer .form-row .error {
  background: var(--mainColor);
}
.form-row .error.visible {
  opacity: 1;
  visibility: visible;
}
.form-row .error:after {
  border: 6px solid transparent;
  border-bottom-color: #fff;
  content: "";
  height: 0;
  left: 15%;
  position: absolute;
  top: -12px;
  width: 0;
}
footer .form-row .error:after {
  border-bottom-color: var(--mainColor);
}
.form-row textarea {
  resize: none;
  height: 85px;
}
.checkbox-wrap {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 1.3rem;
  font-weight: 500;
}

.checkbox-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid var(--secondColor);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  background-color: var(--whiteColor);
  transition: all 0.3s ease;
}

.checkbox-wrap input[type="checkbox"]:checked + .custom-checkbox {
  background-color: var(--secondColor);
  border-color: var(--secondColor);
}

.checkbox-wrap input[type="checkbox"]:checked + .custom-checkbox::after {
  content: "✓";
  color: var(--whiteColor);
  font-size: 16px;
  font-weight: 600;
  position: absolute;
  top: 47%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.input-button input {
  width: 100%;
  max-width: 260px;
  height: 50px;
  background: transparent;
  padding: 0 20px;
  color: var(--whiteColor);
  border: 3px solid var(--secondColor);
  transition: 0.3s;
  cursor: pointer;
  border-radius: 20px;
  outline: unset;
  font-size: 2rem;
  font-weight: 500;
}
.input-button input:hover {
  background-color: var(--secondColor);
  color: var(--whiteColor);
  box-shadow: 0 0 10px rgba(185, 154, 69, 0.5);
}
.rows {
  gap: 200px;
}
.rows::before {
  position: absolute;
  content: "";
  top: 0;
  left: -24px;
  background: transparent;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 3px solid var(--secondColor);
  z-index: 2;
}
.row-title {
  max-width: 260px;
  width: 100%;
  z-index: 3;
}
.row-content {
  gap: 50px;
  z-index: 3;
}
.row-content-box > p {
  color: var(--secondColor);
}
.row-wrap {
  gap: 20px;
  margin-bottom: 20px;
}
.row-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  background: var(--mainColor);
  border-radius: 50%;
}

.row-content-box > p {
  font-size: 1.8rem;
  max-width: 567px;
  width: 100%;
}
section.pb-more {
  padding-bottom: 370px;
}
.rows img.pos-a {
  object-fit: cover;
  height: 400px;
  bottom: -155px;
  left: 150px;
  z-index: 1;
}
.row-trust {
  top: 211px;
  left: 330px;
}
.row-trust .square {
  left: -90px;
  top: 60px;
  z-index: 2;
}
.row-trust p {
  font-size: 2.4rem;
  line-height: 3.5rem;
  font-weight: 500;
  text-align: right;
}
.rows2 {
  background: var(--whiteColor);
  padding: 100px;
  border-radius: 16px;
}
.rows2 .square {
  width: 400px;
  min-width: 400px;
  height: 141px;
  top: 44px;
  right: 76px;
  left: unset;
  transform: unset;
}
.rows2-title {
  gap: 200px;
}
.rows2-title-img {
  max-width: 300px;
  z-index: 2;
}
.rows2-cols {
  gap: 50px;
}
.row2-col {
  flex-grow: 1;
  width: 20%;
}
.row2-col-text {
  font-size: 3rem;
  line-height: 3.6rem;
  color: var(--mainColor) !important;
  padding-bottom: 20px;
  width: 100%;
  border-bottom: 2px solid var(--secondColor);
  margin-bottom: 30px;
}
.row2-col p:nth-child(2) {
  color: var(--mainColor) !important;
}
.row3 {
  gap: 50px;
  margin-top: 20px;
}
.row3-content {
  max-width: 550px;
  width: 100%;
  margin-top: 50px;
}
.row3-content p {
  padding-top: 20px;
}
.row3-content p::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  max-width: 140px;
  background: var(--secondColor);
}
.row3-img {
  width: 100%;
  margin-top: -20px;
}
.row3-img img {
  height: 400px;
  object-fit: cover;
}
.accordion-title {
  padding: 27px 0;
  gap: 20px;
  cursor: pointer;
}
.accordion-title p {
  color: var(--secondColor) !important;
  font-size: 3rem;
  line-height: 3.8rem;
  font-weight: 600;
}
.accordion-row:first-child {
  border-top: 1px solid var(--secondColor);
}
.accordion-row {
  border-bottom: 1px solid var(--secondColor);
  transition: 0.3s ease-in-out;
}
.accordion-row:hover .accordion-icon {
  background: var(--mainColor);
}
.accordion-icon {
  padding: 8px;
  border-radius: 50%;
  background: transparent;
  transition: 0.3s ease-in-out;
}
.accordion-icon svg {
  width: 35px;
  height: 35px;
  transform: rotate(45deg);
  transition: 0.3s ease-in-out;
}
.accordion-row.active .accordion-icon svg {
  transform: rotate(0);
}
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
}
.accordion-row.active {
  padding-bottom: 27px;
}
.accordion-row.active .accordion-content {
  grid-template-rows: 1fr;
}
.text-slide-wrapper {
  gap: 20px;
}
.text-slide {
  gap: 20px;
  width: max-content;
  min-width: max-content;
  margin-top: 100px;
  animation: scroll 100s linear infinite;
}
.text-slide p {
  font-size: 7rem;
  line-height: 7rem;
  letter-spacing: 5px;
}
.footer-alert {
  gap: 20px;
  margin-bottom: 100px;
}
.footer-alert p {
  font-size: 1.5rem;
  line-height: 2.4rem;
  font-weight: 600;
}
.footer-alert p span {
  color: var(--secondColor);
}
.footer-rows {
  gap: 200px;
  margin-top: 100px;
}
.footer-row {
  max-width: 500px;
  width: 100%;
}
.footer-row-title {
  font-size: 6rem;
  line-height: 6rem;
  color: var(--secondColor) !important;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-row-title span {
  color: var(--mainColor) !important;
}
.footer-row-text {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--mainColor) !important;
  font-weight: 500;
  max-width: 375px;
  width: 100%;
  margin-bottom: 50px;
}
.footer-row-phone {
  font-size: 2.2rem;
  line-height: 2.2rem;
  color: var(--secondColor) !important;
  font-weight: 500;
  margin-bottom: 5px;
}
.footer-row-mail {
  font-size: 2.2rem;
  line-height: 2.2rem;
  color: var(--mainColor) !important;
  font-weight: 500;
  margin-bottom: 50px;
}
.footer-row img {
  filter: brightness(0) saturate(100%) invert(10%) sepia(3%) saturate(500%)
    hue-rotate(0deg);
  height: 45px;
  object-fit: cover;
}
.terms {
  font-size: 1.8rem;
  line-height: 2.2rem;
  font-weight: 500;
  color: var(--mainColor) !important;
  margin-top: 50px;
  margin-bottom: 50px;
  text-decoration: none;
}
.footer-copy {
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-weight: 500;
  color: var(--secondColor) !important;
}
footer form p {
  color: var(--secondColor) !important;
}
footer .form-row input,
footer .form-row textarea {
  color: var(--mainColor);
  border-bottom: 3px solid var(--mainColor);
}
footer .form-row input::placeholder,
footer .form-row textarea::placeholder {
  color: rgb(26, 26, 26, 0.5);
}
footer .checkbox-wrap {
  color: var(--mainColor) !important;
}
footer .input-button input {
  color: var(--mainColor);
  border: 3px solid var(--secondColor);
}
section.pb {
  padding: 30px;
  gap: 20px;
}
section.pb p {
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-weight: 500;
  color: var(--whiteColor) !important;
}
section.pb p a {
  text-decoration: none;
  color: var(--secondColor) !important;
}
.form-succes {
  position: fixed;
  width: max-content;
  right: 20px;
  top: 20px;
  z-index: 20;
  background: #fff;
  border-radius: 4px;
  border-left: 5px solid rgb(16, 206, 35);
  padding: 20px;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}
.form-succes.form-error {
  border-left: 5px solid rgb(255, 0, 0);
}
.terms {
  cursor: pointer;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scroll {
  to {
    transform: translateX(-100%);
  }
}
.animation {
  opacity: 0;
  transform: translateY(50%);
  transition: 0.4s 0.1s ease;
}
.animation.anim-active {
  opacity: 1;
  transform: translateY(0);
}
.privacy-popup {
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  height: 100%;
  z-index: 20;
  background: rgba(0, 0, 0, 0.8);
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.privacy-popup.active,
.privacy-popup.active .privacy-popup-content {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
  transform: translateY(0);
}
.privacy-popup-content {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  transform: translateY(-20%);
  transition: 0.3s 0.2s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  height: 812px;
}
.privacy-popup-content svg {
  right: 20px;
  top: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}
.privacy-popup-content h2 {
  margin-bottom: 20px;
  padding-right: 70px;
}
.privacy-popup-content ul:first-of-type {
  margin-bottom: 20px;
}
.privacy-popup-content ul {
  list-style-type: disc;
  padding: 0 0 0 20px;
  gap: 10px;
}
.privacy-popup-content ul li::marker {
  font-size: 2rem;
  color: var(--secondColor);
}
.privacy-popup-content ul li strong {
  font-weight: 600;
  color: var(--secondColor);
}
nav {
  background: var(--whiteColor);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
nav h1 {
  margin-bottom: unset;
}
.nav-wrapper a:first-child {
  text-decoration: none;
  color: inherit;
}
.nav-wrapper {
  max-width: 1272px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px;
  transition: 0.3s;
}
.nav-wrapper h1 span {
  color: var(--secondColor);
}
.menu-items {
  gap: 20px;
}
.menu-items a {
  display: block;
  text-decoration: unset;
  color: var(--mainColor);
  transition: 0.3s;
}
.menu-items a:hover,
.menu-items a.active-spy {
  color: var(--secondColor);
}
.bars {
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  display: none;
}

.bars span {
  display: block;
  height: 4px;
  background: var(--secondColor);
  border-radius: 4px;
  transition: 0.4s;
}

.bars.active span:nth-child(1) {
  transform: rotate(45deg) translate(12px, 6px);
}

.bars.active span:nth-child(2) {
  opacity: 0;
}

.bars.active span:nth-child(3) {
  transform: rotate(-45deg) translate(12px, -6px);
}
