@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

:focus {
  outline: 0;
}

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

body {
  line-height: 1.2;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
  display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0; /* 1 */
  -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0; /* 1 */
  padding: 0;
  white-space: normal; /* 2 */
  *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%; /* 1 */
  margin: 0; /* 2 */
  vertical-align: baseline; /* 3 */
  *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
  *overflow: visible; /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
  *height: 13px; /* 3 */
  *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield; /* 1 */ /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto; /* 1 */
  vertical-align: top; /* 2 */
}

/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
button,
input,
select,
textarea {
  color: #222;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* Плавный скролл на якорь */
html {
  scroll-behavior: smooth;
}

/* Блоки */
.box,
.wrapper > header,
.wrapper > footer,
.wrapper > section,
.wrapper > div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Кнопка */
.btn {
  display: inline-block;
  cursor: pointer;
  background: #007777;
  padding: 16px 20px 12px;
  color: #FFFFFF;
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  opacity: 0.9;
}

/* Для скриптов */
.hidden {
  display: none !important;
}

/* Дебаг */
.pass {
  display: block;
  width: 100%;
  height: 80px;
}

.pass_grey {
  background: gray;
}

body {
  background: #f2f3f4;
}

.btn {
  text-transform: uppercase;
  padding: 12px 20px;
  line-height: 24px;
  background: #1c436a;
}
.btn > * {
  display: inline-block;
  vertical-align: top;
}
.btn__icon {
  width: 18px;
  height: 18px;
  margin-left: 16px;
}
.btn__icon_link {
  background: url("/img/btn_icon_link.svg") center no-repeat;
  background-size: contain;
}
.btn__icon_partner {
  background: url("/img/btn_icon_partner.svg") center no-repeat;
  background-size: contain;
}
.btn__icon_cases {
  background: url("/img/btn_icon_cases.svg") center no-repeat;
  background-size: contain;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  display: block;
  line-height: 24px;
  text-transform: uppercase;
  color: #1c436a;
  padding-top: 20px;
  padding-bottom: 40px;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  display: block;
  line-height: 24px;
}
h2.upper {
  text-transform: uppercase;
  color: #1c436a;
  padding-top: 60px;
  padding-bottom: 40px;
}

.wrapper section.info {
  margin-bottom: 40px;
}

.sitemap ul {
  padding-left: 16px;
}

.sitemap li {
  padding: 4px 0;
}

.sitemap a {
  color: #1c436a;
  color: #052e55;
}

.sitemap a:hover {
  text-decoration: none;
}

article ul {
  list-style: disc;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.5;
}

article h2 {
    margin-bottom: 20px;
}

@media (max-width: 600px) {
  h2.upper {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .btn {
    font-size: 14px;
  }
}
header {
  height: 100px;
}
header .logo {
  display: block;
  width: 200px;
  height: 72px;
  background: url("/img/logo_full.png") no-repeat center;
  background-size: contain;
}
header .right {
  text-align: right;
}
header .right .menu_btn {
  display: none;
  background: url("/img/ico_menu.svg") center no-repeat;
  background-size: contain;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
header .right .menu_btn:hover {
  opacity: 0.5;
}
header .right .contacts > a {
  display: inline-block;
  vertical-align: bottom;
  height: 24px;
  text-decoration: none;
  font-weight: bold;
  color: #333333;
  line-height: 24px;
  font-size: 18px;
}
header .right .contacts > a.phone {
  margin-right: 12px;
}
header .right .soc {
  width: 24px;
  margin-left: 4px;
}
header .right .soc_tg {
  background: url("/img/soc_tg.svg") center no-repeat;
  background-size: contain;
}
header .right .soc_wa {
  background: url("/img/soc_wa.svg") center no-repeat;
  background-size: contain;
}
header .right .soc_fb {
  background: url("/img/soc_fb.svg") center no-repeat;
  background-size: contain;
}
header .right .lang {
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
}
header .right .lang_menu {
  display: none;
  position: absolute;
  background: white;
  padding: 8px 0;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.431372549);
  border-radius: 4px;
  text-align: left;
  z-index: 1000;
}
header .right .lang:hover > .lang_menu {
  display: block;
}
header .right .lang span {
  margin-top: 12px;
  border-bottom: 1px dashed;
  display: inline-block;
  padding-left: 20px;
  background: url("/img/ico_lang.svg") 0 0 no-repeat;
  background-size: 16px;
  padding-bottom: 4px;
  line-height: 16px;
}
header .right .lang li {
  padding: 4px 12px;
}
header .right .lang li:hover {
  background: #DDDDDD;
}

.lang a {
  color: #222;
  text-decoration: none;
}

@media (max-width: 800px) {
  header {
    height: 60px;
  }
  header .logo {
    height: 60px;
    background-size: 140px;
    background-position-x: left;
  }
  header .right {
    display: flex;
    flex-direction: row-reverse;
  }
  header .right .menu_btn {
    display: block;
  }
  header .right a.soc {
    display: none;
  }
  header .right .lang span {
    margin-top: 4px;
    margin-right: 12px;
  }
}
@media (max-width: 600px) {
  header .right .contacts > a.phone {
    display: none;
  }
}
nav {
  background: #1c436a;
  margin: 0 auto 20px;
}

.menu ul {
  display: flex;
  justify-content: space-between;
}
.menu ul li {
  flex-grow: 1;
}
.menu ul a {
  display: block;
  text-align: center;
  line-height: 54px;
  font-weight: bold;
  color: #FFFFFF;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.menu ul a:hover {
  background: #052e55;
}
.menu ul a.consult {
  background: #ea7f06;
}
.menu ul a.consult:hover {
  background: #ea7f06;
  opacity: 0.9;
}

@media (max-width: 1000px) {
  .menu ul a {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  nav {
    margin: 0;
  }
  .menu {
    display: none;
  }
  .menu.open_menu {
    display: block;
  }
  .menu ul {
    flex-direction: column;
    position: absolute;
    right: 0;
    z-index: 1000;
    background: #1c436a;
  }
  .menu ul a {
    padding: 0px 20px;
  }
}
.tns-outer [hidden] {
  display: none !important;
}

.tns-outer [aria-controls], .tns-outer [data-action] {
  cursor: pointer;
}

.tns-slider {
  transition: all 0s;
}

.tns-slider > .tns-item {
  box-sizing: border-box;
}

.tns-horizontal.tns-subpixel {
  white-space: nowrap;
}

.tns-horizontal.tns-subpixel > .tns-item {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

.tns-horizontal.tns-no-subpixel:after {
  content: "";
  display: table;
  clear: both;
}

.tns-horizontal.tns-no-subpixel > .tns-item {
  float: left;
}

.tns-horizontal.tns-carousel.tns-no-subpixel > .tns-item {
  margin-right: -100%;
}

.tns-no-calc {
  position: relative;
  left: 0;
}

.tns-gallery {
  position: relative;
  left: 0;
  min-height: 1px;
}

.tns-gallery > .tns-item {
  position: absolute;
  left: -100%;
  transition: transform 0s, opacity 0s;
}

.tns-gallery > .tns-slide-active {
  position: relative;
  left: auto !important;
}

.tns-gallery > .tns-moving {
  transition: all 0.25s;
}

.tns-autowidth {
  display: inline-block;
}

.tns-lazy-img {
  transition: opacity 0.6s;
  opacity: 0.6;
}

.tns-lazy-img.tns-complete {
  opacity: 1;
}

.tns-ah {
  transition: height 0s;
}

.tns-ovh {
  overflow: hidden;
}

.tns-visually-hidden {
  position: absolute;
  left: -10000em;
}

.tns-transparent {
  opacity: 0;
  visibility: hidden;
}

.tns-fadeIn {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 0;
}

.tns-normal, .tns-fadeOut {
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -1;
}

.tns-vpfix {
  white-space: nowrap;
}

.tns-vpfix > div, .tns-vpfix > li {
  display: inline-block;
}

.tns-t-subp2 {
  margin: 0 auto;
  width: 310px;
  position: relative;
  height: 10px;
  overflow: hidden;
}

.tns-t-ct {
  width: 2333.3333333%;
  width: -moz-calc(100% * 70 / 3);
  width: 2333.3333333333%;
  position: absolute;
  right: 0;
}

.tns-t-ct:after {
  content: "";
  display: table;
  clear: both;
}

.tns-t-ct > div {
  width: 1.4285714%;
  width: -moz-calc(100% / 70);
  width: 1.4285714286%;
  height: 10px;
  float: left;
}

.tns-nav {
  text-align: center;
  margin: 20px 0;
}

.tns-nav > button {
  background: #d2dfeb;
  border: none;
  border-radius: 24px;
  width: 12px;
  height: 12px;
  margin: 0 4px;
}

.tns-nav > button.tns-nav-active {
  background: #2d6aa1;
}

.slide {
  height: 400px;
  font-size: 0px;
}
.slide p {
  background: #8da7f4;
  font-size: 16px;
  padding: 16px 32px;
  display: inline-block;
}

.slide > div { 
  margin-top: 100px;
  margin-left: 30px;
}
.slide > div p {
  font-size: 36px;
  background: white;
  font-weight: bold;
}
.slide > p {
  background: #ce2f4d;
  margin-left: 30px;
  margin-top: 12px;
  padding: 10px 32px;
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.tns-nav > button {
  border-radius: 0;
}

.tns-nav > button.tns-nav-active {
  background: #ea7f06;
}

@media (max-width: 900px) {
  .slide {
    height: 300px;
  }
  .slide > div p {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .wrapper > .tns-outer {
    padding: 0;
    margin-bottom: -30px;
  }
  .slide {
    height: 240px;
  }
  .slide p {
    font-size: 14px;
    padding: 8px 12px;
  }
  .slide > div p {
    font-size: 20px;
  }
}
.directions__block {
  background: #FFFFFF;
  display: flex;
  height: 360px;
  margin-bottom: 40px;
}
.directions__block .btn {
  margin-left: 20px;
}
.directions__block > div > p {
  padding: 30px 0;
  font-size: 18px;
  line-height: 20px;
}
.directions__block img {
  width: 540px;
}
.directions__block > div {
  flex-grow: 1;
  padding: 30px 20px 20px 60px;
}
.directions__block h2 {
  font-size: 24px;
  font-weight: bold;
}
.directions__block ol {
  list-style-type: disc;
  padding: 20px;
  font-size: 18px;
}
.directions__block:nth-child(odd) {
  flex-direction: row-reverse;
}

@media (max-width: 1100px) {
  .directions__block {
    height: 280px;
  }
  .directions__block img {
    width: 360px;
  }
}
@media (max-width: 900px) {
  .directions__block {
    height: auto;
  }
  .directions__block img {
    display: none;
  }
}
@media (max-width: 540px) {
  .directions__block {
    margin-bottom: 0;
  }
  .directions__block > div {
    padding: 30px 40px 10px;
  }
  .directions__block > div:last-child {
    padding-bottom: 30px;
  }
}
@media (max-width: 420px) {
  .directions__block > div {
    padding: 30px 20px;
  }
  .directions__block > div li {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .directions__block > div h2 {
    font-size: 20px;
  }
}
.about article {
  background: #FFFFFF;
  padding: 40px;
}
.about article .btn {
  display: block;
  margin: 12px auto;
}
.about p {
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 20px;
  color: #404040;
}

@media (max-width: 600px) {
  .about p {
    font-size: 16px;
  }
}
.cases__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  gap: 20px;
}
.cases__wrap.cases_page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.cases__item {
  background: #FFFFFF;
  padding: 30px;
  font-weight: bold;
  color: #404040;
  text-decoration: none;
}
.cases__item img {
  width: 100%;
  padding-bottom: 20px;
}
.cases .btn {
  margin: 40px auto 80px;
  display: block;
}

@media (max-width: 680px) {
  .cases__item {
    padding: 15px;
  }
  .cases__item:last-child {
    display: none;
  }
  .cases_page .cases__item:last-child {
    display: block;
  }
  .cases__wrap.cases_page {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .wrapper .cases__wrap {
    display: flex;
    flex-direction: column;
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery__item {
  transition: all 0.3s ease;
}
.gallery__item:hover {
  opacity: 0.8;
}
.gallery__item img {
  width: 100%;
}

#glightbox-body {
  max-width: none;
}

@media (max-width: 680px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
.wrapper > .callback {
  max-width: 100%;
  background: rgb(2, 0, 36);
  background: linear-gradient(90deg, #020509 20%, #1c436a 80%);
  padding: 0;
}
.wrapper > .callback form {
  padding: 80px 20px;
  display: flex;
  justify-content: space-between;
  color: #FFFFFF;
}
.wrapper > .callback form div {
  max-width: 480px;
  width: 100%;
}
.wrapper > .callback form div:nth-child(2) {
  max-width: 400px;
  padding-left: 40px;
}
.wrapper > .callback form h4 {
  text-transform: uppercase;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  padding-bottom: 24px;
}
.wrapper > .callback form p {
  font-size: 20px;
  color: #DDD;
}
.wrapper > .callback form input {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: white;
  border-bottom: 1px solid #AAA;
  padding: 8px 16px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.wrapper > .callback form input:focus {
  border-bottom-color: #FFFFFF;
}
.wrapper > .callback form .cb_send {
  width: 100%;
  margin-top: 16px;
  background: #ea7f06;
}

@media (max-width: 900px) {
  .wrapper > .callback > form h4 {
    font-size: 24px;
  }
}
@media (max-width: 640px) {
  .wrapper > .callback form {
    display: block;
    text-align: center;
  }
  .wrapper > .callback form > div {
    margin: 0 auto;
  }
  .wrapper > .callback form > div:nth-child(2) {
    padding-left: 0;
    padding-top: 40px;
  }
}
.wrapper > footer {
  display: flex;
  justify-content: space-between;
  color: #404040;
  padding: 20px;
}
.wrapper > footer .phone {
  font-weight: bold;
}
.wrapper > footer a.sitemap {
  color: #404040;
  text-decoration: none;
}

@media (max-width: 480px) {
  .wrapper > footer {
    flex-direction: column-reverse;
    text-align: center;
    gap: 8px;
  }
}
#modal {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  background: rgba(0, 0, 0, 0.2509803922);
  font-size: 16px;
}

.modal > div {
  align-self: center;
  background: white;
  padding: 24px;
  border-radius: 4px;
  min-width: 400px;
}
.modal__close-button {
  text-align: right;
  margin: -20px;
}
.modal__close-button div {
  display: inline-block;
  line-height: 32px;
  width: 32px;
  height: 32px;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  color: gray;
  transition: all 0.3s ease;
}
.modal__close-button div:hover {
  transform: rotate(90deg);
  color: black;
}
.modal__title {
  text-align: center;
  border-bottom: 1px solid lightgray;
  margin-bottom: 20px;
  font-weight: bold;
  padding: 12px 20px;
}
.modal__content {
  text-align: center;
}
.modal__content input, .modal__content textarea {
  display: block;
  width: 100%;
  border-radius: 4px;
  border: 1px solid lightgray;
  margin-bottom: 12px;
  padding: 12px;
  box-sizing: border-box;
}
.modal__content input:focus, .modal__content textarea:focus {
  border-color: black;
}
.modal__content p {
  margin-bottom: 12px;
}

@media (max-width: 400px) {
  .modal > div {
    min-width: 320px;
  }
}



.directions__block ol a {
  color: #ce2f4d;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px dashed;
}
.directions__block ol a:hover {  
    border-bottom: 1px solid;
}