:root {
  /* Основные цвета */
  --color-primary: #003478;       /* Основной фирменный синий */
  --color-secondary: #0047A0;     /* Вторичный синий (hover, иконки) */
  --color-accent: #E10600;        /* Акцентный красный (CTA) */
  --color-background: #FFFFFF;    /* Основной фон */
  --color-surface: #F7F9FA;       /* Светлый фон блоков/секций */

  /* Текст */
  --color-text-primary: #222222;  /* Основной текст */
  --color-text-secondary: #555555;/* Вторичный текст */
  --color-border: #E0E0E0;        /* Линии, карточки, секции */

  /* Навигация */
  --color-nav-link: #555555;      /* Цвет ссылок в тёмной шапке */

  /* Кнопки */
   --color-button-primary: #E10600;
  --color-button-primary-hover: #A50024;
  --color-button-outline: #003478;

/*
  --black: #000000;
  --blue: #003478;
  --blue-second: #0047A0;
  --color-accent: #E10600; 
  --color-accent-second: #C1121F;


  --text-primary: #222;
  --text-secondary: #555; */
/* Синий-серый-оранж */
  /* --main-clr: #003478;
  --text-clr: #333;
  --clr-30: #0047A0;
  --color-accent: #C60C30;
  --h-clr: #0047A0;
  --color-background: #FFFFFF;
  --navlink: #ffffff; */
}

/* Базовые настройки */
body {
  background-color: var(--color-background);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  margin: 0;
}
.text-red{
  color: var(--color-accent);
}
h1,
h2,
h3,
h4 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0;
}
.nav-link {
  font-size: 0.95rem;
  color: var(--color-nav-link);
}
.nav-link:hover {
  color: var(--color-accent);
}
p,
a,
li {
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}
a.nav-link.text-muted:hover {
  color: var(--color-accent);
}
section {
  padding: 5rem 0;
}

.container-lg {
  max-width: 1200px !important;
  padding: 0 20px;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 0px;
  border: none;
  cursor: pointer;
}

.btn-red {
  background-color: var(--color-accent);
  color: var(--color-background);
  border: none;
  border-radius: 8px;
}

.btn-red:hover {
  background-color: var(--color-button-primary-hover); /* чуть темнее красного */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.btn-outline-light {
  border: 1px solid var(--color-background);
  color: var(--color-background);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--color-background);
  color: var(--dark-gray);
}

.btn-outline-red {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline-red:hover {
  background: var(--color-accent);
  color: var(--color-background);
}
.bg-hero{
/* background-image: linear-gradient(to bottom right, #111111, #8a1c1c); */
background-image: linear-gradient(to bottom right, #0f0f0f, #5c1e1e);
  min-height: 90vh; 
  display: flex; 
  align-items: center;
}
.hero-fullscreen {
background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
  display: flex;
  align-items: center;
  /* padding-top: var(--navbar-height, 0); Подстраивается под высоту навбара */
  box-sizing: border-box; /* Чтобы padding не увеличивал общую высоту */
  /* background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%); */
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero-fullscreen{
    height: calc(90vh);
  }
}
/* @media (max-width: 767.98px) {
  .hero-fullscreen {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
      url('../img/bg-mobile2.webp') center/cover no-repeat;
      .hero-fullscreen {
    min-height: 90vh; 
    background-position: top center; 
  }
  }
} */

strong{
  color: var(--color-accent)
}

/* Карточки и блоки */
.card {
  background: var(--color-background);
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 30px;
}

.card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.feature-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--color-accent);
}

/* .icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(178, 22, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
} */
.icon-wrapper {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* Текст */
.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-cta {
  color: var(--color-accent);
}
.link-cta {
  color: var(--color-accent);
}

/* Отзывы */
.testimonial-card {
  background: var(--color-background);
  border-left: 4px solid var(--color-accent);
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-footer {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0.1;
  font-size: 40px;
}

/* Сетка */
/* .row {
  margin-left: -10px;
  margin-right: -10px;
} */

/* .col-md-4,
.col-md-3,
.col-lg-6,
.col-lg-7 {
  padding-left: 10px;
  padding-right: 10px;
} */

/* Адаптив */
@media (max-width: 992px) {
  section {
    padding: 3rem 0;
  }

  .hero-fullscreen {
    height: auto;
    /* padding: 120px 0; */
  }

  .display-3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .btn {
    padding: 12px 24px;
  }
}

/* Шаги */
.step-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-radius: 0;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(178, 22, 18, 0.2);
}

.step-card .icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(178, 22, 18, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.step-card:hover .icon-box {
  background-color: var(--color-accent);
  color: var(--color-background);
}

.step-card h4 {
  font-weight: 600;
}

@media (max-width: 768px) {
  .step-card {
    margin-bottom: 1rem;
  }
}
.gallery-img {
  border-radius: 4px;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.left-column {
  position: sticky;
  top: 100px;
}

@media (max-width: 991.98px) {
  .left-column {
    position: static; /* Сброс sticky */
    top: auto; /* Сброс top */
  }
}
/* Дополнительные стили для галереи */
.gallery-container {
  position: relative;
}
.gallery-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Для плавного скролла на iOS */
  white-space: nowrap;
  padding: 10px 0;
  margin: 0 -15px;
}
.gallery-item {
  display: inline-block;
  width: 300px;
  margin-right: 15px;
  vertical-align: top;
  white-space: normal;
}
.gallery-item:last-child {
  margin-right: 0;
}
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}
.gallery-img:hover {
  transform: scale(1.03);
}
/* Скрываем стандартный скроллбар */
.gallery-scroll::-webkit-scrollbar {
  display: none;
}
/* Кнопки навигации */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-btn-left {
  left: 10px;
}
.scroll-btn-right {
  right: 10px;
}
.contact-card {
  border-left: 3px solid var(--color-accent);
  transition: transform 0.3s;
}
.contact-card:hover {
  transform: translateY(-5px);
}
#map {
  height: 400px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.video-section {
  background-color: #f8f9fa;
}

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.video-caption {
  border-top: 1px solid #eee;
}
.img-blog {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
}
.footer-heading{
  font-size: 1.2rem;
  font-weight: 600;
}

@media (max-width: 576px) {
  img.img-fluid{
    border-radius: 12px;
    margin-bottom: 1rem;
  }
}