@charset "UTF-8";
:root {
  --primary: #6b3fd6;
  --primary-dark: #4b2aa6;
  --primary-light: #a58cf0;
  --text-muted: #8f8f96;
  --bg-top: #f7f4ff;
  --bg-bottom: #e5dff3;
  --phone-green: #25d366;
}
html {
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: clamp(78px, 10vw, 104px);
}

.no-scroll {
  overflow: hidden;
}

*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(var(--bg-top)),
    to(var(--bg-bottom))
  );
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  padding-top: 0;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #fff;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--primary-light);
  border-radius: 5px;
}

main {
  margin-top: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

section[id] {
  scroll-margin-top: clamp(78px, 10vw, 104px);
}

a {
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

:is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  line-height: 1.15;
}

h1,
h2 {
  font-size: clamp(30px, 4.6vw, 55px);
}

h3 {
  font-size: clamp(26px, 3.6vw, 44px);
}

h4 {
  font-size: clamp(22px, 3vw, 35px);
}

h5 {
  font-size: clamp(20px, 2.4vw, 28px);
}

h6 {
  font-size: clamp(18px, 2vw, 23px);
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 clamp(16px, 4vw, 40px);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.no__click {
  pointer-events: none;
}

.cursor-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1999;
}

.cursor-trail__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  -webkit-transform: translate3d(-9999px, -9999px, 0);
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform, opacity;
}

@media (max-width: 767px) {
  main {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-trail {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.fixed__phone {
  opacity: 1;
  position: fixed;
  right: 20px;
  bottom: 50px;
  width: 64px;
  height: 64px;
  -webkit-box-shadow: 0 8px 22px rgba(26, 76, 158, 0.2);
  box-shadow: 0 8px 22px rgba(26, 76, 158, 0.2);
  border-radius: 50%;
  z-index: 995;
  -webkit-transition: none;
  transition: none;
  cursor: pointer;
}
.fixed__phone svg {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.fixed__phone-btn {
  width: 100%;
  height: 100%;
  border: none;
  padding: 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 50%;
  background: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
}
.fixed__phone-btn img {
  width: 48px;
  height: 48px;
  display: block;
}
.fixed__phone .fixed__popup {
  position: absolute;
  top: 50%;
  right: 74px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 64px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  background: #fff;
  z-index: -1;
  border-radius: 999px;
  -webkit-box-shadow: 0 8px 22px rgba(26, 76, 158, 0.2);
  box-shadow: 0 8px 22px rgba(26, 76, 158, 0.2);
  overflow: hidden;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: calc(100vw - 110px);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateY(-50%) scaleX(0.4);
  transform: translateY(-50%) scaleX(0.4);
  -webkit-transform-origin: right center;
  transform-origin: right center;
}
.fixed__phone .fixed__popup.active {
  padding: 8px 16px;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(-50%) scaleX(1);
  transform: translateY(-50%) scaleX(1);
}
.fixed__phone .fixed__popup a {
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.fixed__phone .fixed__popup a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.fixed__phone .fixed__popup a img {
  display: block;
  width: 42px;
  height: 42px;
  -o-object-fit: contain;
  object-fit: contain;
}
.fixed__phone .fixed__popup a:hover {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .fixed__phone {
    width: 80px;
    height: 80px;
    z-index: 999;
  }
}
@media (max-width: 782px) {
}
@media (max-width: 767px) {
  .fixed__phone {
    right: 10px;
    width: 70px;
    height: 70px;
  }
  .fixed__phone .fixed__popup {
    gap: 15px;
  }
  .fixed__phone .fixed__popup.active {
    padding-left: 15px;
    padding-right: 40px;
  }
  .fixed__phone.left .fixed__popup.active {
    padding-left: 40px;
    padding-right: 15px;
  }
}

@media (max-width: 475px) {
  .fixed__phone {
    width: 62px;
    height: 62px;
    bottom: 34px;
  }

  .fixed__phone-btn img {
    width: 40px;
    height: 40px;
  }

  .fixed__phone .fixed__popup {
    right: 66px;
    height: 54px;
    gap: 8px;
    max-width: calc(100vw - 96px);
  }

  .fixed__phone .fixed__popup.active {
    padding: 6px 10px;
  }

  .fixed__phone .fixed__popup a {
    width: 40px;
    height: 40px;
  }

  .fixed__phone .fixed__popup a img {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 420px) {
  .fixed__phone {
    width: 56px;
    height: 56px;
    bottom: 32px;
  }

  .fixed__phone-btn img {
    width: 36px;
    height: 36px;
  }

  .fixed__phone .fixed__popup {
    right: 60px;
    height: 50px;
    gap: 6px;
    max-width: calc(100vw - 90px);
  }

  .fixed__phone .fixed__popup.active {
    padding: 5px 8px;
  }

  .fixed__phone .fixed__popup a {
    width: 36px;
    height: 36px;
  }

  .fixed__phone .fixed__popup a img {
    width: 28px;
    height: 28px;
  }
}
