@charset "utf-8";

:root {
  --ink: #1c2128;
  --muted: #5b6570;
  --line: #e3e7eb;
  --bg: #eef1f4;
  --surface: #ffffff;
  --accent: #e6b800;
  --accent-ink: #111418;
  --link: #0b62b5;
  --header: #111418;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(17, 20, 24, 0.08);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  border-top: 4px solid var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
}

.clear,
.cleaner {
  clear: both;
  height: 0;
  font-size: 0;
  overflow: hidden;
}

#container {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 32px;
}

.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 14px 4px 18px;
  position: relative;
}

.logo,
.logo h2 {
  margin: 0;
  width: auto;
  height: auto;
  position: static;
}

.logo h2 a,
.logo a {
  display: block;
  width: 149px;
  height: 62px;
  text-indent: -999px;
  overflow: hidden;
  background: url(/img/logo.png) no-repeat center / contain;
}

.logo h2 b {
  display: none;
}

.slogan {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  max-width: 280px;
}

.slogan img {
  display: none;
}

.contacts {
  margin: 0 0 0 auto;
  text-align: right;
}

.contacts img {
  display: none;
}

.contacts a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.contacts a[href^="tel"] {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.contacts a[href^="tel"]:hover,
.contacts a:last-child:hover {
  color: var(--link);
}

.contacts a:last-child {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: var(--header);
  color: #fff;
  font: 700 14px/1 inherit;
  padding: 10px 14px;
  cursor: pointer;
}

.navigation {
  background: var(--header);
  border-radius: var(--radius);
  overflow: hidden;
}

.navigation-padding,
.navigation-padding ul,
.navigation-padding li {
  background: none;
  height: auto;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  float: none;
}

.navigation-padding ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.navigation-padding li {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.navigation-padding a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.navigation-padding a:hover,
.navigation-padding .current > a,
.navigation-padding li.current a {
  background: var(--accent);
  color: var(--accent-ink);
}

.center-top-img {
  position: relative;
  margin: 18px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.center-top-img img {
  display: block;
  width: 100%;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: var(--header);
}

.hero-links a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.hero-links a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.columns {
  margin-top: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.columns-padding,
.columns-set {
  background: none;
}

.mainpage3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mainpage3cols li {
  width: auto;
  float: none;
  display: block;
  text-align: left;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 24px;
  margin: 0;
}

.mainpage3cols li:last-child {
  border-right: 0;
}

.columns-set h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 12px;
  font-weight: 700;
}

.columns-set a {
  color: var(--ink);
  text-decoration: none;
}

.mainpage3cols img {
  width: 100%;
  border-radius: 10px;
  margin: 0 0 12px;
}

.mainpage3cols li > a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0;
}

.mainpage3cols li > a:hover,
.columns-set h3 a:hover {
  color: var(--link);
}

.content {
  padding: 28px 32px 36px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.content::after {
  content: "";
  display: table;
  clear: both;
}

.content h1 {
  height: auto;
  margin: 0 0 16px;
  padding: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 750;
  color: var(--ink);
}

.content h2 {
  margin: 24px 0 10px;
  padding: 0;
  font: 700 22px/1.3 inherit;
  color: var(--ink);
}

.content p {
  margin: 0 0 12px;
  padding: 0;
}

.content ul,
.content ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.content li {
  margin: 0 0 6px;
}

.content img {
  padding: 0;
  border-radius: 10px;
}

.content iframe,
.content object,
.content embed {
  max-width: 100%;
}

.content ul ul {
  margin: 8px 0 12px;
}

.content form {
  margin: 16px 0 8px;
}

.content input[type="submit"],
.content button[type="submit"] {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--header);
  color: #fff;
  font: 700 15px/1.2 inherit;
  padding: 10px 18px;
  cursor: pointer;
}

.content input[type="submit"]:hover,
.content button[type="submit"]:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.content a {
  color: var(--link) !important;
  text-decoration: underline !important;
}

.content a:hover {
  color: #084a8a !important;
}

.content a[style*="float"] {
  float: none !important;
  display: inline-block;
  vertical-align: top;
  width: 31%;
  margin: 0 2% 24px 0;
  text-align: center;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink) !important;
}

.content a[style*="float"]:hover {
  color: var(--link) !important;
}

.content a[style*="float"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
}

ul.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  clear: both;
}

ul.thumbs li {
  float: none;
  display: block;
  width: auto;
  margin: 0 !important;
  text-align: center;
}

ul.thumbs li img {
  width: 100%;
  height: auto;
  margin: 0 0 8px;
}

.thumbscontainer,
.childscontainer {
  float: none;
  width: 100%;
}

.content table {
  width: 100%;
  max-width: 100%;
  font: inherit;
  border-collapse: collapse;
}

.content table td {
  padding: 8px;
  vertical-align: top;
}

.content .contact-table {
  width: 100%;
  max-width: 640px;
  margin: 0;
}

.content .contact-table .text-input,
.content .contact-table .textarea-input,
.content input[type="text"],
.content textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #c9d3dc;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.content .back-link {
  clear: both;
  margin-top: 24px;
  padding: 16px 0 0;
  text-align: left;
  font-family: inherit;
}

.content .back-link a {
  font-size: 14px;
  color: var(--muted);
}

.columns-set .left,
.columns-set .right {
  float: none;
  width: auto;
  margin: 0;
  padding: 24px 28px;
  border: 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.columns-set .left {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.columns-set .left img,
.columns-set .right img {
  float: none;
  margin: 0;
  padding: 0;
  width: 48px;
  height: auto;
}

.columns-set .left h3,
.columns-set .right h3 {
  margin: 0 0 8px;
}

.columns-set .left p,
.columns-set .right p {
  margin: 0 0 6px;
}

.promo-row .columns-set {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.promo-row .columns-set > br,
.promo-row .columns-set > .cleaner,
.promo-row .columns-set > .right:empty {
  display: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  height: auto;
  margin: 18px 4px 0;
  padding: 22px 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer .footer-left,
.footer .footer-right {
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  text-align: left;
}

.footer .footer-right {
  text-align: right;
}

.footer a {
  color: var(--muted);
}

.developed-ico {
  margin: 0 0 -4px 4px;
}

@media (max-width: 900px) {
  .mainpage3cols {
    grid-template-columns: 1fr;
  }

  .mainpage3cols li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promo-row .columns-set {
    grid-template-columns: 1fr;
  }

  .columns-set .left {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .contacts {
    width: 100%;
    order: 3;
    text-align: left;
    margin: 0;
  }

  .navigation {
    display: none;
  }

  .navigation.is-open {
    display: block;
    margin-top: 8px;
  }

  .navigation-padding ul {
    flex-direction: column;
  }

  .navigation-padding li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .content {
    padding: 20px 16px 28px;
  }

  .content h1 {
    font-size: 26px;
  }

  .content a[style*="float"] {
    width: 47%;
    margin: 0 3% 20px 0;
  }

  ul.thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .footer-right {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .content a[style*="float"] {
    width: 100%;
    margin: 0 0 20px;
  }

  ul.thumbs {
    grid-template-columns: 1fr;
  }
}
