/* ========== Переменные ========== */
:root {
  --slide-padding-horizontal: max(10%, 100px);
  --slide-aspect-ratio: 1.88;
  --overlay-color: rgba(0, 0, 0, 0.3);
  --button-size: 40px;
  --button-bg: #fff;
  --button-radius: 50%;
  --button-icon-size: 16px;
  --pagination-color: #fff;
  --pagination-size: 8px;
  --breakpoint-md: 992px;
  --breakpoint-sm: 768px;
	
  /* ========== Типографика (добавлено) ========== */
  --font-family-base: "Open Sans", Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --h1-size: 2.5rem;   /* 40px */
  --h2-size: 2rem;     /* 32px */
  --h3-size: 1.75rem;  /* 28px */
  --h4-size: 1.5rem;   /* 24px */
  --h5-size: 1.25rem;  /* 20px */
  --h6-size: 1rem;     /* 16px */
}

/* ========== Глобальные типографические правила ========== */
html {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-family: var(--font-family-base);
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  font-weight: var(--font-weight-normal);
  background-color: #fff;
}

/* Заголовки */
h1, .h1 { font-size: var(--h1-size); line-height: 1.2; font-weight: var(--font-weight-bold); margin: 0 0 0.5em; }
h2, .h2 { font-size: var(--h2-size); line-height: 1.3; font-weight: var(--font-weight-bold); margin: 0 0 0.5em; }
h3, .h3 { font-size: var(--h3-size); line-height: 1.3; font-weight: var(--font-weight-bold); margin: 0 0 0.5em; }
h4, .h4 { font-size: var(--h4-size); line-height: 1.4; font-weight: var(--font-weight-bold); margin: 0 0 0.5em; }
h5, .h5 { font-size: var(--h5-size); line-height: 1.4; font-weight: var(--font-weight-bold); margin: 0 0 0.5em; }
h6, .h6 { font-size: var(--h6-size); line-height: 1.5; font-weight: var(--font-weight-bold); margin: 0 0 0.5em; }

/* Абзацы и списки */
p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: var(--line-height-base);
}
ul, ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}
li {
  margin-bottom: 0.5em;
}

/* Ссылки */
a {
  color: #0066cc;
  text-decoration: none;
  transition: color .3s;
}
a:hover,
a:focus {
  color: #004999;
  text-decoration: underline;
}

/* ========== Общие настройки ========== */
.inner-slide-m {
  position: relative;
  padding: 0 var(--slide-padding-horizontal);
  width: 100%;
  aspect-ratio: var(--slide-aspect-ratio);
  display: flex;
  align-items: center;
  background-size: cover;
  cursor: pointer;
}

.inner-slide-m::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--overlay-color), var(--overlay-color));
  pointer-events: none;
  z-index: 0;
}

.inner-slide-m span {
  position: relative;
  z-index: 1;
}

.row.blog-recent.columns-1 {
  word-wrap: break-word;
}

.title {
  z-index: 2;
}

/* ========== Картинки ========== */
.nectar-post-grid-item-bg,
.post-featured-img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.8);
}

/* ========== Ссылки в слайде ========== */
.swiper-slide a {
  position: relative;
  z-index: 1;
  font-size: 30px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 2px rgba(0,0,0,0.7);
  transition: opacity .3s;
}

.swiper-slide a:hover {
  opacity: 0.8;
}

/* ========== Навигационные кнопки ========== */
.swiper-button-next:after,
.swiper-button-prev:after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--button-size);
  height: var(--button-size);
  background-color: var(--button-bg);
  border-radius: var(--button-radius);
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev:after {
  background-image: url('data:image/svg+xml,...left-arrow...');
}

.swiper-button-next:after {
  background-image: url('data:image/svg+xml,...right-arrow...');
}

.go-onclick {
  cursor: pointer;
}

/* ========== Пагинация ========== */
.swiper-pagination {
  position: absolute;
  right: max(3.45%, 27px);
  bottom: max(3.45%, 27px);
  text-align: right;
  width: auto;
}

.swiper-pagination-bullet {
  position: relative;
  width: 26px;
  height: 26px;
  margin: 0;
  background: none;
  opacity: 1;
}

.swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--pagination-size);
  height: var(--pagination-size);
  background: var(--pagination-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ========== Footer reveal fix ========== */
body[data-footer-reveal="1"] #footer-outer {
  position: absolute !important;
}

/* ========== Адаптив ========== */
@media (max-width: var(--breakpoint-md)) {
  a > .sf-sub-indicator {
    padding: 0 !important;
  }
}

@media (max-width: var(--breakpoint-sm)) {
  .swiper-slide a {
    font-size: 18px !important;
  }
  .inner-slide-m {
    padding: 0 max(10%, 65px);
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    width: 30px;
    height: 30px;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: max(3.5%, 16px) !important;
  }
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: max(3.5%, 16px) !important;
  }
  body[data-footer-reveal="1"] #footer-outer {
    position: unset !important;
  }
}

/* ========== Дополнительные мелочи ========== */
.row_col_wrap_12_inner {
  z-index: 2;
}
#header-outer #top .active_mob_menu {
  display: block !important;
  transform: none !important;
  z-index: 999999 !important;
  position: absolute;
  top: 0;
  right: -24px;
  opacity: 1 !important;
}

/* 1) Hero-секция */
.vc_custom_hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: url('URL_фонового_изображения.jpg') center/cover no-repeat;
  padding: 80px 5%;
  position: relative;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.nectar-btn.accent {
  background-color: #00154f;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
}
.images-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 2) Сетка преимуществ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.adv-item {
  background-color: #f7f7f7;
  padding: 1rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
}

/* 3) Сетка услуг */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-item ul {
  list-style: disc inside;
  color: #555;
}

/* Адаптив */
@media (max-width: 992px) {
  .hero-title { font-size: 2.4rem; }
  .vc_custom_hero { padding: 60px 5%; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .advantages-grid, .services-grid {
    grid-template-columns: 1fr;
  }
}