@charset "UTF-8";
/*
 * main.scss - Главный файл стилей шаблона Longard
 * Bitrix 24.* | Версия 1.0.0
 * Компилировать в main.css
 */
/* ========== ПЕРЕМЕННЫЕ И КОНФИГУРАЦИЯ ========== */
/* ========== МИКСИНЫ ========== */
/* ========== RESET И БАЗОВЫЕ СТИЛИ ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

/* ========== ТИПОГРАФИКА ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #212529;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}

p {
  margin-bottom: 16px;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: #003D6E;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: rgba(0, 55, 100, 0.8980392157);
  text-decoration: underline;
}

/* ========== КОМПОНЕНТЫ LONGARD ========== */
.longard-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.longard-main {
  flex: 1 0 auto;
  padding: 24px 0;
}
body.main-page .longard-main {
  padding: 0;
}

.longard-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 16px;
}

.longard-header {
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
}
.longard-header .navbar-brand {
  color: #003D6E !important;
  font-weight: 700;
  transition: all 0.3s ease;
}
.longard-header .navbar-brand:hover {
  color: #002449 !important;
}
.longard-header .nav-link {
  font-weight: 500;
  color: #212529 !important;
  padding: 8px 16px !important;
  position: relative;
  transition: all 0.3s ease;
}
.longard-header .nav-link:hover {
  color: #003D6E !important;
}
.longard-header .nav-link.active {
  color: #003D6E !important;
}
.longard-header .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: #003D6E;
  border-radius: 50%;
}

.longard-topbar {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.longard-hero {
  background: linear-gradient(135deg, #003D6E 0%, rgba(0, 55, 100, 0.8980392157) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.longard-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"></path></svg>');
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.5;
}
.longard-hero h1 {
  color: white;
  margin-bottom: 24px;
  font-size: 48px;
}
@media (min-width: 768px) {
  .longard-hero h1 {
    font-size: 36px;
  }
}
.longard-hero .lead {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.longard-breadcrumb {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.longard-breadcrumb .breadcrumb-item {
  font-size: 14px;
}

.longard-footer {
  background: #003D6E;
  color: white;
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 32px;
}
.longard-footer .footer-title {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
  color: white;
  position: relative;
  padding-bottom: 8px;
}
.longard-footer .footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background-color: #003D6E;
  border-radius: 2px;
}
.longard-footer .list-unstyled li {
  margin-bottom: 8px;
}
.longard-footer .list-unstyled li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}
.longard-footer .list-unstyled li a:hover {
  color: white;
  padding-left: 4px;
}

/* ========== КНОПКИ ========== */
.btn {
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 61, 110, 0.2);
}
.btn.btn-primary {
  background-color: rgba(0, 55, 100, 0.8980392157);
  color: white;
}
.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active {
  background-color: #002449;
  color: white;
}
.btn.btn-outline-primary {
  color: #003D6E;
  border: 2px solid #003D6E;
}
.btn.btn-outline-primary:hover, .btn.btn-outline-primary:focus, .btn.btn-outline-primary:active {
  background-color: #003D6E;
  color: white;
  border-color: #003D6E;
}

/* ========== ФОРМЫ ========== */
.form-control,
.form-select {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: #003D6E;
  box-shadow: 0 0 0 3px rgba(0, 61, 110, 0.1);
}

.form-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #212529;
}

/* ========== КАРТОЧКИ ========== */
.card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 61, 110, 0.1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 61, 110, 0.15);
}

/* ========== ТАБЛИЦЫ ========== */
.table {
  margin-bottom: 0;
}
.table thead {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
}
.table thead th {
  color: #212529;
  font-weight: 600;
  border: none;
  padding: 16px;
}
.table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.table tbody tr:hover {
  background-color: #f8f9fa;
}

/* ========== ALERTS ========== */
.alert {
  border-radius: 8px;
  border: none;
  padding: 16px;
  font-weight: 500;
}
.alert.alert-primary {
  background-color: rgba(0, 61, 110, 0.1);
  color: #002449;
}
.alert.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: rgb(20.2898550725, 84.7101449275, 35);
}
.alert.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: rgb(109, 81.75, 0);
}
.alert.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* ========== УТИЛИТЫ ========== */
.text-primary {
  color: #003D6E !important;
}

.bg-primary {
  background-color: #003D6E !important;
}

.border-primary {
  border-color: #003D6E !important;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (min-width: 768px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
}
@media (min-width: 576px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
}
/* ========== СПЕЦИАЛЬНЫЕ СТИЛИ ========== */
.visually-hidden-focusable:focus {
  position: relative;
  z-index: 10;
}

/* Корректировка Bootstrap переменных для темы */
:root {
  --bs-primary: #003D6E;
  --bs-primary-rgb: 0, 61, 110;
  --bs-dark: #212529;
  --bs-font-sans-serif: Roboto, sans-serif;
}

/* ========== НОВЫЙ ХЕДЕР ========== */
.longard-new-header {
  position: relative;
  z-index: 1000;
}
.longard-new-header.header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /*backdrop-filter: blur(4px);*/
}

.header-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  height: 80px;
}

.menu-toggle-btn {
  width: 72px;
  height: 72px;
  background: #003D6E;
  border: none;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.menu-toggle-btn:hover {
  background: #002449;
}
.menu-toggle-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.menu-toggle-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}
.menu-toggle-btn.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.menu-line {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.commercial-offer-btn {
  width: 400px;
  height: 72px;
  background: rgba(0, 55, 100, 0.8980392157);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.commercial-offer-btn:hover {
  background: #002449;
  color: #fff;
  transform: translateY(-2px);
}

.header-contacts {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-item i {
  font-size: 24px;
  color: rgba(0, 0, 0, 0.5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info a,
.contact-info span {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  line-height: 1.3;
}
.contact-info a:hover {
  color: #003D6E;
}

.slide-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.slide-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.slide-menu {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 1999;
  transition: all 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.slide-menu.active {
  left: 0;
}

.slide-menu-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
}

.slide-menu-close {
  width: 40px;
  height: 40px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.slide-menu-close:hover {
  background: #003D6E;
  color: #fff;
}

.slide-menu-content {
  padding: 20px;
}

@media (max-width: 1400px) {
  .commercial-offer-btn {
    width: 300px;
    font-size: 16px;
  }
  .header-contacts {
    gap: 20px;
  }
}
@media (max-width: 1200px) {
  .commercial-offer-btn {
    display: none;
  }
}
@media (max-width: 992px) {
  .header-contacts {
    display: none;
  }
}
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .menu-toggle-btn {
    width: 60px;
    height: 60px;
  }
  .menu-line {
    width: 20px;
  }
}
/* ========== АНИМАЦИИ И УТИЛИТЫ ========== */
.longard-header.header-shadow,
.longard-new-header.header-shadow {
  box-shadow: 0 2px 12px rgba(0, 61, 110, 0.1);
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-control.focused,
.form-select.focused {
  border-color: #003D6E;
  box-shadow: 0 0 0 3px rgba(0, 61, 110, 0.1);
}

/*# sourceMappingURL=main.css.map */
