.wrap {
  width: 1371px;
  margin: 0 auto;
}
.wrap p {
  white-space: inherit !important;
  line-height: 161% !important;
  padding-bottom: 3rem;
}
.abs {
  position: absolute;
}
body.light--theme {
  background-color: #eef7fc;
  color: black;
}
body {
  background-size: 100% auto;
  background-repeat: no-repeat;
}
section#cases {
  padding-top: 27px;
}
.light--theme #main {
  color: white;
}
body.dark--theme {
  background-color: #202328;
  color: white;
}
header .wrap.flex {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 26px 0;
}
header {
  border-bottom: thin solid #848484;
}
header nav span {
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 24px;
  cursor: pointer;
}
span.open-modal.callback {
  color: #f85151;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}
a.phone {
  display: block;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}
.phone {
  text-align: right;
}
section#main {
  background-size: cover;
  padding-top: 126px;
  background-repeat: no-repeat;
  padding-bottom: 384px;
  margin-bottom: -206px;
  background-position-y: -100px;
}
.pre-title {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.7px;
  margin-bottom: 25px;
}
.title {
  font-size: 40px;
  white-space: inherit;
  font-weight: 500;
  margin-bottom: 33px;
  line-height: 130%;
  text-transform: uppercase;
}
h1.title {
  font-size: 56px;
}
.title + p,
.pre-title + p {
  white-space: pre-line;
  line-height: 161%;
  font-weight: 100;
  color: #96999c;
  max-width: 45rem;
}
.btn.main-btn {
  margin-top: 50px;
}
.btn {
  letter-spacing: 0.3px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ff5454),
    to(#ff3a3a)
  );
  background: -o-linear-gradient(top, #ff5454 0%, #ff3a3a 100%);
  background: linear-gradient(180deg, #ff5454 0%, #ff3a3a 100%);
  -webkit-box-shadow: 0px 4px 0px #e13030, 0px 5px 68px rgb(255 58 58 / 50%),
    0px 5px 24px rgb(0 0 0 / 10%), inset 0px 3px 16px #ff7272;
  box-shadow: 0px 4px 0px #e13030, 0px 5px 68px rgb(255 58 58 / 50%),
    0px 5px 24px rgb(0 0 0 / 10%), inset 0px 3px 16px #ff7272;
  border-radius: 8px;
  display: inline-block;
  max-width: 100%;
  cursor: pointer;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 38px 68px;
}
.btn:hover {
  -webkit-box-shadow: 0px 4px 0px #e13030, inset 0px 3px 16px #ff7272;
  box-shadow: 0px 4px 0px #e13030, inset 0px 3px 16px #ff7272;
}
.btn:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.trigger p,
.case-info-item p {
  font-weight: 600;
  font-size: 14px;
  line-height: 171%;
  color: #96999c;
  font-weight: 400;
  margin-top: 19px;
  white-space: pre-line;
}

.trigger span.big-one,
.case-info-item span.big-one {
  font-size: 48px;
  letter-spacing: normal;
  margin-bottom: 20px;
}

.trigger span,
.case-info-item span {
  font-size: 16px;
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tr-wrap {
  right: 0;
  top: 121px;
}
.trigger {
  background: rgba(34, 38, 43, 0.4);
  border: 1px solid #313539;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  margin-bottom: 20px;
  border-radius: 4px 0px 0px 4px;
  width: 370px;
  padding: 44px 41px;
}
.cases-wrap {
  margin-top: 59px;
  margin-bottom: 42px;
}
.case-item {
  background: rgba(49, 53, 57, 0.16);
  width: 100%;
  border: 2px solid #697d91;
  margin-bottom: 16px;
}
.logo {
  border: 2px solid #313539;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  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;
  border-radius: 50%;
  color: #f85151;
  font-size: 32px;
  font-weight: bold;
  margin-right: 24px;
}
.case-name p {
  white-space: pre-line;
  font-size: 32px;
  font-weight: normal;
  line-height: 150%;
  text-transform: uppercase;
}
.case-main.flex {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 46px 43px;
}
.case-name.flex {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* flex-grow: 1; */
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  width: 42%;
  padding-right: 2%;
}
.case-info-item:nth-child(4) {
  width: 13.6%;
}
.case-info-item:nth-child(3) {
  width: 18.6%;
  padding-right: 3%;
}
.case-info-item:nth-child(2) {
  width: 21%;
}
.more-info {
  color: #f85151;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  left: 43px;
  top: 186px;
}
.more-info:after {
  content: ">";
  font-family: monospace;
  /* margin-left: 13px; */
  -webkit-transform: rotate(-270deg);
  -ms-transform: rotate(-270deg);
  transform: rotate(-270deg);

  display: inline-block;
  font-size: 16px;
  position: absolute;
  right: -25px;
  top: -3px;
}
.more-info.active:after {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
.table-row.table-header {
  height: 48px;
  border: none;
  background: #2d3033;
  color: #96999c;
  font-size: 12px;
  text-align: left;
  margin-top: 9px;
}
.table-row .table-col:nth-child(1) {
  width: 13%;
}
.table-row .table-col:nth-child(1) span {
  padding-left: 43px;
}
.table-row .table-col:nth-child(2) {
  width: 6.9%;
}
.table-row .table-col span {
  padding-left: 11px;
  border-bottom: thin solid #cee6f3;
}
.table-row .table-col:nth-child(3) {
  width: 5.6%;
}
.table-row .table-col:nth-child(4) {
  width: 4.8%;
}
.table-row .table-col:nth-child(5) {
  width: 8.5%;
}
.table-row .table-col:nth-child(6) {
  width: 10.5%;
}
.table-row .table-col:nth-child(7) {
  width: 13.3%;
  border-right: thin solid #cee6f3;
}
.table-row .table-col:nth-child(8) {
  width: 9.56%;
}
.table-row .table-col:nth-child(9) {
  width: 8.56%;
}
.table-row .table-col:nth-child(8) span,
.table-row .table-col:nth-child(9) span {
  padding-left: 24px;
}
.table-row .table-col:nth-child(10) {
  width: 8.6%;
}
.table-row .table-col:nth-child(11) {
  width: 10.4%;
}
.table-row .table-col:nth-child(9) span,
.table-row .table-col:nth-child(10) span,
.table-row .table-col:nth-child(11) span {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(240, 85, 85, 0.08)),
    to(rgba(240, 85, 85, 0))
  );
  background: -o-linear-gradient(
    top,
    rgba(240, 85, 85, 0.08) 0%,
    rgba(240, 85, 85, 0) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(240, 85, 85, 0.08) 0%,
    rgba(240, 85, 85, 0) 100%
  );
  color: #d74444;
}
.table-row.table-header .table-col:nth-child(9) span,
.table-row.table-header .table-col:nth-child(10) span,
.table-row.table-header .table-col:nth-child(11) span,
.table-row.main-row .table-col:nth-child(9) span:nth-last-child(1),
.table-row.main-row .table-col:nth-child(10) span:nth-last-child(1),
.table-row.main-row .table-col:nth-child(11) span:nth-last-child(1) {
  background: #d74444;
  color: white;
}
.table-row.table-header span:nth-child(7) {
  border-color: transparent;
}

.table-row:nth-last-child(1) {
  font-weight: 500;
  -webkit-box-shadow: 0px -8px 12px rgba(0, 0, 0, 0.1);
  box-shadow: 0px -8px 12px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}
.table-row.table-header .table-col:nth-child(7) {
  border: none;
}
.table-row.table-header span {
  font-weight: 500;
}
.table-row {
  /* height: 72px; */
  border-bottom: thin solid #cee6f3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background: white;
  color: black;
  font-size: 14px;
}
.table-row.table-header span {
  padding-top: 18px;
  padding-bottom: 18px;
}
.table-row span {
  padding-top: 31px;
  width: 100%;
  font-weight: 100;
  display: block;
  text-align: left;
  padding-bottom: 31px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.table-row .table-col {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  align-items: flex-start;
}
.table-row.table-header .table-col {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.table-row.main-row.flex {
  align-items: flex-start;
}
.table-row.main-row .table-col span:nth-last-child(1) {
  /* background: #FFFFFF; */
  box-shadow: 0px -9px 15px -10px rgb(0 0 0 / 24%);
  font-weight: 500;
}
section#work {
  padding-top: 27px;
  background-position-y: -42px;
  padding-bottom: 210px;
  margin-top: 50px;
}
.work-info.flex {
  margin-top: 78px;
}
.work-item.flex.flex-wrap {
  width: 32%;
  -ms-flex-item-align: self-start;
  -ms-grid-row-align: self-start;
  align-self: self-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.work-item.flex.flex-wrap b {
  width: calc(100% - 104px);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 162%;
  padding-right: 76px;
}
.work-item.flex.flex-wrap p {
  font-weight: normal;
  color: #96999c;
  /* line-height: 150%; */
  font-size: 16px;
  padding-right: 14%;
  line-height: 161%;
  margin-top: 25px;
  margin-bottom: 33px;
}
.work-item.flex.flex-wrap p small {
  font-size: 12px;
  display: inline-block;
  line-height: 160%;
}
section#form {
  padding-top: 76px;
}
.radio-block {
  margin-top: 90px;
  width: 53%;
}
.radio-block b {
  font-size: 18px;
  display: block;
  margin-bottom: 20px;
}
.radio {
  width: 50%;
}
.radio input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.radio span {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  padding: 19px 0 19px 55px;
  font-size: 18px;
}
.radio span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  background: rgba(120, 164, 187, 0.04);
  border: 1px solid rgba(61, 117, 147, 0.24);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.radio input:checked + span:before {
  background: rgb(17 172 255 / 50%);
}
form.custom-form.abs {
  right: 0;
  top: 43px;
  width: 41%;
}
form.custom-form input {
  width: 100%;
  background: rgba(49, 53, 57, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 4px;
  height: 88px;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 40px;
  font-size: 18px;
  margin-bottom: 18px;
}
p.polit-descr {
  font-size: 12px;
  color: #96999c;
  line-height: 150%;
  margin-top: 28px;
}
p.polit-descr a {
  color: #f85151;
  text-decoration: underline;
}
section#form {
  padding-top: 76px;
  padding-bottom: 0px;
}
footer {
  background: #22252a;
  padding: 49px 0 20px;
}
footer a.polit {
  white-space: pre-line;
  line-height: 167%;
  color: #f85151;
  font-weight: normal;
  font-size: 14px;
  text-decoration: underline;
}
footer p small {
  display: block;
  text-transform: none;
  color: #96999c;
  font-size: 13px;
}
.foot-descr.wrap.flex {
  border-top: thin solid #5b5b5b;
  margin-top: 41px;
  padding-top: 20px;
  font-size: 14px;
  color: #96999c;
}
.foot-descr.wrap.flex span:nth-child(1) {
  width: 39%;
}
.radio-wrap.flex.flex-wrap {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
  height: 228px;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.table-row.table-header span,
.table-row:nth-last-child(1) span {
  border: none;
}

/* popup */
.modal_form {
  z-index: 9999;
  max-width: 512px;
  width: 98%;
  height: 27px;
  position: fixed;
  padding: 0;
  top: -11px;
  font-family: monospace;
  right: 0;
  margin: 0 auto;
  left: 0;
  display: none;
  padding: 0;
  font-weight: 300;
  color: black;
}
.modal_form.active {
  display: block;
  top: 10%;
}
.overlay {
  z-index: 11;
  position: fixed;
  background-color: #000;
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}
.overlay.active {
  display: block;
}
.top-form.popup {
  background: white;
  border-radius: 9px;
  width: 100%;
  z-index: 20;
  margin: 0 auto;
}
.close {
  position: absolute;
  right: 21px;
  top: 10px;
  z-index: 10;
  color: grey;
  font-size: 33px;
  cursor: pointer;
  padding: 10px;
  font-weight: 100;
}
.close:hover {
  opacity: 0.8;
}
form.custom-form.modal-form {
  padding: 39px 61px;
}
.modal-title {
  font-weight: 500;
  font-size: 26px;
  white-space: pre-line;
  line-height: 123%;
  margin-bottom: 27px;
}
.modal-form .btn {
  width: 100%;
  color: white;
  margin-bottom: 0;
  text-align: center;
}
form.custom-form.modal-form input {
  background: #eef7fc;
  color: #78a4bb;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
section#main.thx {
  margin-bottom: 0;
  padding-bottom: 291px;
}
section#work {
  background-size: cover;
}
.cases-wrap .case-item:nth-child(n + 8) {
  display: none;
}

/* light theme */

.light--theme #main header {
  margin-bottom: 120px;
  border-bottom: thin solid #3a3a3a5c;
}
.light--theme #main {
  color: white;
  padding-top: 0;
  background-repeat: no-repeat;
  padding-bottom: 657px;
  margin-bottom: -449px;
  background-position-y: 0;
}
#cases .pre-title,
#cases .title {
  color: white;
}
.light--theme .title + p,
.light--theme .pre-title + p,
.light--theme .trigger p {
  color: #cee6f3;
}
.light--theme .case-item {
  background: white;
  border: 1px solid #cee6f3;
}
.light--theme .case-name p {
  font-weight: 500;
}
.light--theme .logo {
  border: 1px solid #c8e1f3;
  color: #3876ef;
}
.light--theme .case-info-item span.big-one,
.light--theme .more-info {
  color: #3876ef;
}
.light--theme .case-info-item p {
  color: #78a4bb;
}
.light--theme .more-info:after {
  border-color: #3876ef;
}
.light--theme .table-row.table-header {
  background: #cee6f3;
  color: black;
}
.light--theme .table-row.table-header span:nth-child(9),
.light--theme .table-row.table-header span:nth-child(10),
.light--theme .table-row.table-header span:nth-child(11),
.light--theme .table-row .table-col:nth-child(9) span:nth-last-child(1),
.light--theme .table-row .table-col:nth-child(10) span:nth-last-child(1),
.light--theme .table-row .table-col:nth-child(11) span:nth-last-child(1) {
  background: #3876ef;
  color: white;
}
.light--theme .table-row .table-col:nth-child(9) span,
.light--theme .table-row .table-col:nth-child(10) span,
.light--theme .table-row .table-col:nth-child(11) span {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(56, 118, 239, 0.08)),
    to(rgba(56, 118, 239, 0))
  );
  background: -o-linear-gradient(
    top,
    rgba(56, 118, 239, 0.08) 0%,
    rgba(56, 118, 239, 0) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(56, 118, 239, 0.08) 0%,
    rgba(56, 118, 239, 0) 100%
  );
  color: #3876ef;
}
.light--theme .btn {
  color: white;
}
.light--theme .pre-title {
  color: #78a4bb;
}
.light--theme #main .pre-title {
  color: white;
}
.light--theme .radio-block b {
  color: #78a4bb;
}
.light--theme p.polit-descr a {
  color: #3876ef;
}
.light--theme span.open-modal.callback {
  color: #3876ef;
}
.light--theme #main span.open-modal.callback {
  color: white;
}
.light--theme form.custom-form input {
  background: #eef7fc;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.light--theme .foot-descr.wrap.flex {
  color: #78a4bb;
  border-color: #78a4bb;
}
.light--theme section#form,
.light--theme footer {
  background: white;
}
.work-item.flex.inline.flex-wrap {
  width: 100%;
  padding: 24px 44px;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  background: white;
  margin-bottom: 16px;
}
.work-item.inline.flex.flex-wrap b {
  width: 60%;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 151%;
  padding-right: 76px;
  margin-left: 42px;
}
.work-item.inline.flex.flex-wrap p {
  font-weight: normal;
  color: #96999c;
  /* line-height: 150%; */
  font-size: 16px;
  padding-right: 14%;
  line-height: 161%;
  margin-top: 25px;
  margin-bottom: 24px;
  color: #475d68;
  padding-left: 160px;
  padding-right: 28%;
}
.work-item.inline.flex.flex-wrap .btn {
  margin-left: 160px;
  padding: 22px 38px;
}
.work-item.inline.flex.flex-wrap p small {
  font-size: 16px;
  display: inline-block;
  line-height: 160%;
}
.light--theme section#work {
  padding-top: 27px;
  background-position-y: 0;
  padding-bottom: 100px;
}
.light--theme .tr-wrap {
  right: 0;
  top: 181px;
}
.radio input:checked + span:before {
  background: rgb(248 81 81);
}
h1.title.title-big {
  font-size: 68px;
  max-width: 50rem;
}
.sety #form .title {
  margin: 0rem auto 4rem;
  max-width: 62rem;
  text-align: center;
}
.boss-image {
  height: 40rem;
  flex: 0 0 50%;
  width: 50%;
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}
.boss-image img {
  width: auto;
  height: 100%;
}
#form .wrap {
  border-bottom: thin solid #3a3a3a5c;
}
.sety #form .wrap {
  display: flex;
}
.block-name {
  position: absolute;
  right: 0;
  bottom: 0rem;
  background: white;
  border: 1px solid #cee6f3;
  padding: 1rem 2rem;
  text-align: left;
  color: #78a4bb;
  margin-bottom: 0px;
}
.custom-form .message-tooltip,
.custom-form .message-error {
  position: absolute;
  right: 0;
  top: auto;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  font-weight: var(--f1w);
  font-weight: var(--f1w);
  line-height: 1.2;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10;
  color: #f5f6f8;
  font-size: 0.8rem;
  max-width: 80%;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgb(0 0 0 / 30%);
}
.custom-form .message-tooltip::before,
.custom-form .message-error::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1rem 1rem 0 0;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent;
  right: 1rem;
  bottom: -1rem;
}
label.lab {
  position: absolute;
  background-color: var(--color_6);
  left: 16px;
  top: 39px;
}
.lab.label-none {
  display: none;
}
input {
  position: relative;
}
