:root {
  --font: 'Open Sans', Arial, Helvetica, sans-serif;
  --bd-rad: 1.5em;
  --shadow: 0px 4px 12px rgba(60, 60, 60, 0.2);
  --main: #ffcc33;
  --sub: #eee;
}

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

html {
  height: 100%;
  width: 100%;
  text-size-adjust: none;
}

body {
  position: relative;
  font: 400 13px/16px var(--font);
  background: #eee;
  color: #000;
  min-height: 100%;
  height: auto !important;
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body.blur {
  overflow: hidden;
}

a img,
img {
  border: 0;
  max-width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border-color: inherit;
}

iframe {
  border: 0;
}

.rub {
  font-family: 'Helvetica Neue', sans-serif;
}

[hidden] {
  display: none !important;
}

.hidden {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  margin: 0;
  height: 0;
  width: 0;
  padding: 0;
  border: 0;
  z-index: -1;
  pointer-events: none;
}

.clear,
.clr {
  clear: both;
  display: block;
}

.tal {
  text-align: left;
}

.tac {
  text-align: center;
}

.tar {
  text-align: right;
}

.upp {
  text-transform: uppercase;
}

.iframe-holder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.iframe-holder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.link,
a {
  color: var(--black);
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
  cursor: pointer;
}

.link:hover,
a:hover {
  color: var(--orange);
  text-decoration: none;
}

.link[href*='tel'],
a[href*='tel'] {
  color: var(--black);
  white-space: nowrap;
  text-decoration: none;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
}

.h1,
h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 0.25em;
}

.h2,
h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 0.25em;
}

.h3,
h3 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.h4,
h4 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

.h5,
h5 {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0.75em;
}

.h6,
h6 {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0.75em;
}

p {
  font-size: 16px;
  line-height: 24px;
  margin: 1em 0 0;
}

@media (max-width: 1024px) {
  .h1,
  h1 {
    font-size: 36px;
    line-height: 38px;
  }

  .h2,
  h2 {
    font-size: 30px;
    line-height: 32px;
  }

  .h3,
  h3 {
    font-size: 24px;
    line-height: 26px;
  }

  .h4,
  h4 {
    font-size: 22px;
    line-height: 26px;
  }
}

@media (max-width: 600px) {
  .h1,
  h1 {
    font-size: 30px;
    line-height: 32px;
  }

  .h2,
  h2 {
    font-size: 26px;
    line-height: 26px;
  }

  .h3,
  h3 {
    font-size: 22px;
    line-height: 24px;
  }

  .h4,
  h4 {
    font-size: 20px;
    line-height: 24px;
  }
}

.preloader-holder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 10000;
}

body > .preloader-holder {
  position: fixed;
}

.preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 50px;
  width: 50px;
  margin: -25px 0 0 -25px;
  border: 2px solid transparent;
  border-top-color: var(--black);
  border-radius: 50%;
  -webkit-animation: 2s linear infinite spin;
  animation: 2s linear infinite spin;
}

.preloader:before {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  bottom: 7px;
  left: 7px;
  border: 2px solid transparent;
  border-top-color: var(--black);
  border-radius: 50%;
  -webkit-animation: 3s linear infinite spin;
  animation: 3s linear infinite spin;
}

.preloader:after {
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border: 2px solid transparent;
  border-top-color: var(--black);
  border-radius: 50%;
  -webkit-animation: 1.5s linear infinite spin;
  animation: 1.5s linear infinite spin;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.custom-scrollbar {
  scrollbar-color: #dbdbdb #edecec;
  scrollbar-width: thin;
}

.custom-scrollbar::-webkit-scrollbar-track {
  width: 8px;
  background-color: #edecec;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  background-color: #9ba4ac;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  width: 8px;
  background-color: #9ba4ac;
}

button,
input,
select,
textarea {
  font: 400 1em/1.4em var(--font);
  box-sizing: border-box;
  margin: 0;
}

textarea {
  resize: vertical;
}

label {
  display: inline-block;
  vertical-align: top;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button {
  line-height: 1.4em;
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

.btn,
.button {
  position: relative;
  --webkit-apperance: none;
  display: inline-flex;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
  color: #000;
  background: var(--main);
  border: none;
  outline: 0;
  padding: 0.75em 1.5em;
  border-radius: var(--bd-rad);
}

.btn:hover,
.button:hover {
  opacity: 0.8;
}

.btn.disabled,
.btn[disabled],
.button.disabled,
.button[disabled] {
  cursor: default;
  opacity: 0.3;
}

.btn[href*='tel'],
.button[href*='tel'] {
  color: #000;
}

.status {
  margin: 12px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
}

.status.success {
  color: green;
}

.status.error {
  color: red;
}

.form-field {
  display: block;
  margin-bottom: 16px;
}

.form-field--buttons {
  display: flex;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 0;
}

.form-field--buttons .button {
  margin-right: 20px;
  flex-shrink: 0;
}

.form-field--flex {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.form-field--flex > * {
  margin-right: 16px;
  margin-bottom: 12px;
}

@media (max-width: 800px) {
  .form-field {
    margin-bottom: 12px;
  }

  .form-field--flex > * {
    margin-right: 8px;
    margin-bottom: 6px;
  }

  .custom-input--half {
    width: 100%;
  }
}

.form-policy {
  font-size: 12px;
  line-height: 1.4;
}

.input-group {
  margin: 0.66em 0;
}

.input-group:first-child {
  margin-top: 0;
}

.input-group:last-child {
  margin-bottom: 0;
}

.custom-input {
  padding: 1em 1.618em;
  border-radius: 32px;
  font-size: 15px;
  line-height: 1.6;
  border: 1px solid #eee;
  resize: none;
  outline: 0;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  max-width: 100%;
}

.custom-input:hover {
  border-color: #aaa;
}

.custom-input:focus {
  border-color: #9e9e9e;
}

.custom-input.error {
  border-color: red;
}

.custom-input[type='number'] {
  width: 160px;
}

.custom-input[type='text'] {
  max-width: 480px;
}

@media (max-width: 480px) {
  .custom-input {
    width: 100%;
  }
}

.custom-checkbox {
  display: flex;
  cursor: pointer;
  padding: 3px 0;
}

.custom-checkbox input {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
}

.custom-checkbox input:checked ~ .custom-checkbox__ico {
  border-color: #666;
}

.custom-checkbox input:checked ~ .custom-checkbox__ico img,
.custom-checkbox input:checked ~ .custom-checkbox__ico svg {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.custom-checkbox__ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  width: 14px;
  min-width: 14px;
  height: 14px;
  border: 1px solid #aaa;
  overflow: hidden;
  transition: border-color 0.1s ease-out, background 0.1s;
}

.custom-checkbox__ico img,
.custom-checkbox__ico svg {
  width: 10px;
  height: 10px;
  transition: transform 0.1s ease-out;
  transition: transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.custom-checkbox:hover .custom-checkbox__ico {
  border-color: #666;
}

.custom-checkbox__text {
  margin-left: 8px;
  font-size: 14px;
  line-height: 24px;
}

@media screen and (max-width: 480px) {
  .custom-checkbox__ico {
    margin-top: 1px;
  }

  .custom-checkbox__text {
    font-size: 12px;
    line-height: 1.4;
  }
}

.custom-radio {
  display: flex;
  cursor: pointer;
  padding: 3px 0;
}

.custom-radio input {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
}

.custom-radio input:checked ~ .custom-radio__ico {
  border-color: var(--main);
}

.custom-radio input:checked ~ .custom-radio__ico:after {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.custom-radio__ico {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  width: 14px;
  min-width: 14px;
  height: 14px;
  border: 1px solid #aaa;
  border-radius: 100%;
  overflow: hidden;
  transition: border-color 0.1s ease-out, background 0.1s;
}

.custom-radio__ico:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 100%;
  background-color: var(--main);
  transition: transform 0.1s ease-out;
  transition: transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.custom-radio:hover .custom-radio__ico {
  border-color: #000;
}

.custom-radio__text {
  margin-left: 8px;
  font-size: 14px;
  line-height: 24px;
}

@media screen and (max-width: 480px) {
  .custom-radio__ico {
    margin-top: 1px;
  }

  .custom-radio__text {
    font-size: 12px;
    line-height: 1.4;
  }
}

section {
  position: relative;
  z-index: 2;
}

body {
  display: flex;
  flex-direction: column;
}

.wrapper {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 50px;
}

@media screen and (max-width: 767px) {
  .wrapper {
    padding: 0 16px;
  }

  .wrapper--no-mobile {
    padding: 0;
  }
}

@media screen and (max-width: 480px) {
  .wrapper {
    padding: 0 10px;
  }

  .wrapper--no-mobile {
    padding: 0;
  }
}

.main {
  position: relative;
  width: 100%;
}

.main__title {
  margin: 1em 0;
  padding: 0 1em;
  text-align: center;
  font-size: 36px;
  line-height: 143%;
  font-weight: 700;
  color: #000;
  transition: 0.7s, opacity 0.5s;
}

@media screen and (max-width: 767px) {
  .main__title {
    font-size: 32px;
    line-height: 1.4;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .main__title {
    font-size: 24px;
  }
}

.fixed-crossbrowser-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-image: url(/svai-online/img/bg.jpg);
  opacity: 1;
  z-index: -1;
  transition: 0.5s;
}

.header-main {
  position: relative;
  z-index: 300;
  background-color: #fff;
  box-shadow: -2px -1px 15px rgba(0, 0, 0, 0.1);
  padding: 24px 0;
  margin-bottom: 24px;
}

transition > .header-main {
  opacity: 0;
}

.header-main__wrapper {
  display: flex;
  justify-content: space-between;
}

.header-main__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 23px;
  color: #000;
  margin-bottom: 3px;
}

.header-main__subname {
  font-size: 14px;
  line-height: 16px;
  color: #999;
}

.header-main__phone {
  font-size: 18px;
  line-height: 21px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  margin-bottom: 3px;
}

.header-main__address {
  font-size: 14px;
  line-height: 16px;
  color: #999;
}

.header-main__logo {
  display: flex;
  height: 100%;
}

.header-main__logo img,
.header-main__logo svg {
  margin: auto 0;
  max-height: 42px;
}

@media screen and (max-width: 767px) {
  .header-main {
    padding: 12px 0;
  }

  .header-main__wrapper {
    flex-wrap: wrap;
  }

  .header-main__contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    order: 2;
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 0.5em;
    margin-top: 0.5em;
  }
}

@media (max-width: 480px) {
  .header-main {
    text-align: center;
  }

  .header-main__wrapper {
    flex-direction: column-reverse;
  }

  .header-main__contacts {
    order: -1;
  }

  .header-main__logo {
    justify-content: center;
    margin-bottom: 0.5em;
  }
}

.popup-holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
}

.popup-holder .popup-scroller {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  overflow: auto;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  background-color: rgba(0, 0, 0, 0.66);
}

.popup-holder .popup-wrapper {
  position: relative;
  margin: auto;
  z-index: 2;
}

.popup-holder .popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index: 70;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.popup-holder .popup-close:after,
.popup-holder .popup-close:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  left: 0;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  transition: none;
}

.popup-holder .popup-close:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.popup-holder .popup-close:hover {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.popup-holder .popup-close:hover:after,
.popup-holder .popup-close:hover:before {
  background-color: red;
}

.popup-holder .popup-close--black:after,
.popup-holder .popup-close--black:before {
  background: #000;
}

.popup-holder .popup-close--inset {
  right: -16px;
  top: -16px;
}

.popup-holder .popup-close--inset:after,
.popup-holder .popup-close--inset:before {
  background-color: #fff;
}

.popup-holder .popup-close--inset:hover:after,
.popup-holder .popup-close--inset:hover:before {
  background-color: red;
}

.popup-holder .popup {
  background-color: #fff;
  padding: 48px;
  max-width: 800px;
  font-size: 20px;
  line-height: 26px;
  border-radius: 12px;
  overflow: hidden;
  font-family: Roboto, sans-serif;
}

.popup-holder .popup-form {
  height: 100%;
  overflow: hidden;
}

.popup-holder .popup .form-field {
  margin: 10px 0;
}

.popup-holder .popup .form-field--buttons {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .popup-holder .popup {
    border-radius: 0;
    padding: 24px;
  }
}

@media (max-width: 400px) {
  .popup-holder .popup .form-field--buttons {
    display: block;
  }

  .popup-holder .popup .form-policy {
    margin-top: 1em;
  }
}

transition .popup-holder {
  display: none;
}

.copy {
  position: absolute;
  bottom: 0;
  left: 100%;
  margin-left: -40px;
  background: red;
  line-height: 0;
  width: 78px;
  height: 18px;
}
.copy__container {
  position: fixed;
  bottom: 0;
  width: 100%;
}
.copy__container .wrapper {
  position: relative;
}
.copy img {
  height: 100%;
}
@media screen and (max-width: 1150px) {
  .copy {
    margin-left: 0;
    left: auto;
    right: 50px;
  }
}
@media screen and (max-width: 768px) {
  .copy {
    display: none;
  }
}

footer {
  margin-top: auto;
  background: #fff;
  padding: 1.5em 0;
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 20px;
  font-size: 1em;
  line-height: 1.2;
}

.footer__company {
  min-width: 300px;
}

.footer__links div {
  margin-bottom: 6px;
}
.footer__links div > span {
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 1px solid #000;
  transition: border 0.1s ease-in;
}
.footer__links div > span:hover {
  border-bottom: 1px solid transparent;
}

ul {
  font-size: 16px;
  line-height: 24px;
  margin: 0.5em 0 0;
}
