/* ====== fonts (как у тебя) ====== */
@font-face {
  font-family: "opensans-r";
  src: local("Open Sans Regular"), local("Open-Sans-Regular"),
    url("https://multisoft.ru/font/OpenSans-Regular/OpenSans-Regular.woff2") format("woff2"),
    url("https://multisoft.ru/font/OpenSans-Regular/OpenSans-Regular.woff") format("woff"),
    url("https://multisoft.ru/font/OpenSans-Regular/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "opensans-b";
  src: local("Open Sans Bold"), local("Open-Sans-Bold"),
    url("https://multisoft.ru/font/OpenSans/OpenSans-Bold.woff2") format("woff2"),
    url("https://multisoft.ru/font/OpenSans/OpenSans-Bold.woff") format("woff"),
    url("https://multisoft.ru/font/OpenSans/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "opensans-r", "Arial"; text-decoration: none; }

/* ====== header (градиент как в образце) ====== */
.header {
  position: relative;
  padding-top: 16px;
  padding-bottom: 28px;
  background: radial-gradient(at center, rgba(14, 121, 190, 1), rgba(4, 43, 71, 1));
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { width: 250px; display: block; }
.logo-img img, .logo-img svg { display: block; width: 100%; height: auto; }

.menu { display: flex; align-items: center; }
.menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-link {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "opensans-r", "Arial";
  font-size: 14px;
  color: #fff;
}
.menu-link:hover { text-decoration: underline; }

.content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 18px;
}

.description { flex: 1 1 60%; }
.photo {
  flex: 0 0 480px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.photo__img {
  height: 280px;
  width: auto;
  max-width: 100%;
  display: block;
}

.title {
  margin: 0;
  padding-top: 44px;
  font-family: "opensans-b", "Arial";
  font-size: 40px;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
}

.title2 {
  margin: 10px 0 0;
  font-family: "opensans-b", "Arial";
  font-size: 26px;
  line-height: 1.2;
  text-align: left;
  color: #001d35;
}

.title3 {
  margin: 10px 0 0;
  font-family: "opensans-b", "Arial";
  font-size: 28px;
  line-height: 1.2;
  text-align: left;
  color: #01182d;
}

.title4 {
  margin: 14px 0 0;
  font-family: "opensans-r", "Arial";
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  color: #fff;
  max-width: 720px;
}

.cert-line { margin-top: 12px; }
.cert-link {
  color: #5fb6ff;
  text-decoration: underline;
}
.cert-link:hover { opacity: .9; }

/* ====== sections (тёмная подложка как в образце) ====== */
.wrapper_section {
  background-color: #001d35;
  padding: 32px 0;
}

.section-title {
  margin: 0 0 12px;
  font-family: "opensans-b", "Arial";
  font-size: 34px;
  line-height: 1.15;
  text-align: left;
  color: #fff;
}

/* ====== cards/grid ====== */
.grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--full { grid-template-columns: repeat(4, 1fr); }

.card {
  background-color: rgba(255, 255, 255, 0.07);
  padding: 26px;
  border-radius: 6px;
}
.card:hover { background-color: rgba(255, 255, 255, 0.12); }

.card--span-all { grid-column: 1 / -1; }

.head {
  margin: 0 0 12px;
  font-family: "opensans-b", "Arial";
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  text-align: left;
}

.text {
  margin: 0;
  font-family: "opensans-r", "Arial";
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  text-align: left;
}

.text + .text { margin-top: 6px; }

.ul {
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  color: #fff;
}
.ul li { margin: 6px 0; }

/* ====== footer/contact (если нужно оставить как в других страницах) ====== */
.contact {
  width: 100%;
  background-color: #001d35;
  padding: 16px 15px;
  text-align: center;
  color: #fff;
}
.text2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

/* ====== responsive ====== */
@media (max-width: 1100px) {
  .content { flex-direction: column; }

  /* было flex-start — меняем на центр */
  .photo {
    flex: 0 0 auto;
    justify-content: center;
  }

  /* на всякий — чтобы img точно центрировался */
  .photo__img {
    height: 200px;
    margin: 0 auto;
  }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--full { grid-template-columns: 1fr; }
  .card--span-all { grid-column: auto; }

  .title { font-size: 46px; padding-top: 28px; }
  .section-title { font-size: 30px; }
}

@media (max-width: 560px) {
  .menu-list { gap: 14px; }
  .logo-img { width: 200px; }

  .title { font-size: 36px; }
  .title2 { font-size: 20px; }
  .title3 { font-size: 22px; }

  .grid--4 { grid-template-columns: 1fr; }

  /* можно продублировать, но уже не обязательно */
  .photo { justify-content: center; }
  .photo__img { margin: 0 auto; }
}


/* mobile/tablet: center hero image */
@media (max-width: 1100px) {
  .photo {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    width: 100%;
  }

  .photo__img {
    display: block;
    margin: 0 auto !important;
  }
}

/* ===== loader ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 29, 53, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.page-loader__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__spinner { animation: none; }
}

/* показываем лоадер и прячем контент, пока грузится */
html.is-loading .page-loader {
  opacity: 1;
  visibility: visible;
}

html.is-loading body {
  overflow: hidden;
}

/* скрываем всё, кроме лоадера — чтобы не было "сначала страница, потом лоадер" */
html.is-loading body > :not(.page-loader) {
  visibility: hidden;
}
