

/* Start:/assets/css/pages/Branches.css?178431773311421*/
/* ==================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ФИЛИАЛОВ
   ================================================================== */

/* Основной контейнер */
.main-content {
  background-color: #f8f9fa;
  min-height: 100vh;
  padding-bottom: 3rem;
}

/* Заголовки секций */
.section-title {
  color: var(--dark-blue, #0a58ca);
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary, #0d6efd), var(--secondary, #1d8ce0));
  border-radius: 2px;
}

.section-title + .lead {
  color: #4a5568;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 800px;
  line-height: 1.6;
}

/* Карточка филиала */
.branch-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.branch-card:nth-child(1) { animation-delay: 0.1s; }
.branch-card:nth-child(2) { animation-delay: 0.2s; }
.branch-card:nth-child(3) { animation-delay: 0.3s; }
.branch-card:nth-child(4) { animation-delay: 0.4s; }
.branch-card:nth-child(5) { animation-delay: 0.5s; }
.branch-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.branch-card:hover {
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.1);
  transform: translateY(-3px);
}

/* Заголовок филиала (кликабельный) */
.branch-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.02), rgba(13, 110, 253, 0.05));
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.branch-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary, #0d6efd), var(--secondary, #1d8ce0));
  transition: width 0.3s ease;
}

.branch-header:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.08));
}

.branch-header:hover::before {
  width: 6px;
}

/* Название филиала */
.branch-name {
  color: var(--dark-blue, #0a58ca);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}

/* Регион обслуживания */
.branch-region {
  color: #495057;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Бейджи регионов */
.badge-region {
  background: linear-gradient(135deg, var(--primary, #0d6efd), var(--secondary, #1d8ce0));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 30px;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

.badge-region:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Директор филиала */
.branch-director {
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.branch-director::before {
  content: '👤';
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Кнопка-переключатель */
.toggle-btn {
  background: rgba(13, 110, 253, 0.1);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  color: var(--primary, #0d6efd);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  cursor: pointer;
}

.toggle-btn:hover {
  background: var(--primary, #0d6efd);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

/* Тело филиала (скрыто по умолчанию) */
.branch-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: white;
}

.branch-body.expanded {
  padding: 2rem;
  max-height: 2000px;
}

/* Контактная информация */
.contact-info {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary, #0d6efd);
  transition: all 0.3s ease;
}

.contact-info:hover {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
  transform: translateX(5px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 24px;
  color: var(--primary, #0d6efd);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Списки отделов */
.departments-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.department-item {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.department-item:last-child {
  border-bottom: none;
}

.department-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary, #0d6efd);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.department-item:hover {
  transform: translateX(5px);
  color: var(--primary, #0d6efd);
}

.department-item:hover::before {
  transform: translateY(-50%) scale(1.2);
}

/* Быстрые ссылки */
.quick-links {
  background: rgba(13, 110, 253, 0.03);
  border-radius: 16px;
  padding: 1.2rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.quick-links h6 {
  color: var(--dark-blue, #0a58ca);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-links h6 i {
  color: var(--primary, #0d6efd);
}

.quick-link {
  display: inline-block;
  background: white;
  color: var(--primary, #0d6efd);
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0.3rem;
  border-radius: 30px;
  border: 1px solid rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.quick-link:hover {
  background: var(--primary, #0d6efd);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
  border-color: transparent;
}

/* Примечание об ограничении данных */
.restricted-note {
  color: #dc3545;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(220, 53, 69, 0.05);
  border-radius: 12px;
  border-left: 4px solid #dc3545;
  line-height: 1.5;
  animation: fadeIn 0.5s ease;
}

.restricted-note i {
  color: #dc3545;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Заголовки внутри карточки */
.branch-body h5 {
  color: var(--dark-blue, #0a58ca);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.branch-body h5 i {
  color: var(--primary, #0d6efd);
  font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .section-title + .lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .branch-header {
    padding: 1.2rem 1.5rem;
  }
  
  .branch-name {
    font-size: 1.2rem;
  }
  
  .branch-body.expanded {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-title + .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .branch-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
  
  .branch-name {
    font-size: 1.1rem;
  }
  
  .branch-region {
    font-size: 0.9rem;
  }
  
  .badge-region {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .toggle-btn {
    align-self: flex-end;
  }
  
  .branch-body.expanded {
    padding: 1.2rem;
  }
  
  .contact-item {
    font-size: 0.95rem;
  }
  
  .quick-link {
    display: block;
    text-align: center;
    margin: 0.5rem 0;
  }
  
  .department-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-title + .lead {
    font-size: 1rem;
  }
  
  .branch-header {
    padding: 1rem;
  }
  
  .branch-name {
    font-size: 1rem;
  }
  
  .branch-body.expanded {
    padding: 1rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
  
  .restricted-note {
    font-size: 0.8rem;
    padding: 0.8rem;
  }
}

/* Для пользователей с чувствительностью к анимациям */
@media (prefers-reduced-motion: reduce) {
  .branch-card,
  .branch-body,
  .toggle-icon,
  .contact-info,
  .department-item,
  .quick-link {
    animation: none;
    transition: none;
  }
  
  .branch-card:hover,
  .branch-header:hover,
  .toggle-btn:hover,
  .quick-link:hover {
    transform: none;
  }
}

/* Стили для банковских реквизитов */
.contact-info p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.contact-info p strong {
  color: #2c3e50;
  min-width: 70px;
  display: inline-block;
}

/* Стили для информации о персонале */
.branch-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 1rem;
}

/* Стили для адресов */
.branch-body .contact-info p {
  margin-bottom: 0.5rem;
}

/* Анимация для иконки при открытии */
.bi-chevron-down,
.bi-chevron-up {
  transition: transform 0.3s ease;
}

/* Стили для пустого состояния */
.no-branches {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  border: 2px dashed #dee2e6;
}

.no-branches i {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.no-branches p {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
/* End */


/* Start:/assets/css/layout/page-header.css?178431773315249*/
/* ==================================================================
   ЗАГОЛОВОК СТРАНИЦЫ - УНИВЕРСАЛЬНЫЙ КОМПОНЕНТ
   ================================================================== */

/* Используем CSS custom properties для легкой настройки */
:root {
  --header-primary: #0d6efd;
  --header-secondary: #0b5ed7;
  --header-accent: #ffffff;
  --header-gradient-1: #1a2a6c;
  --header-gradient-2: #0d6efd;
  --header-gradient-3: #0b5ed7;
  --header-text-light: rgba(255, 255, 255, 0.95);
  --header-shadow: rgba(0, 0, 0, 0.2);
  --header-glow: rgba(255, 255, 255, 0.15);
}

/* Основной контейнер заголовка */
.page-header {
  position: relative;
  background: linear-gradient(135deg, 
    var(--header-gradient-1), 
    var(--header-gradient-2), 
    var(--header-gradient-3));
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  will-change: background-position;
}

/* Анимация градиента */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Фоновые элементы */
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: min(800px, 80vw);
  height: min(800px, 80vw);
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 20s ease-in-out infinite;
  z-index: 1;
  will-change: transform;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: min(600px, 60vw);
  height: min(600px, 60vw);
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 25s ease-in-out infinite reverse;
  z-index: 1;
  will-change: transform;
}

/* Анимация плавающих элементов */
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -3%) scale(1.05); }
  66% { transform: translate(-2%, 2%) scale(0.95); }
}

/* Геометрические фигуры */
.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 1;
  will-change: transform, border-radius;
}

.shape-1 {
  width: min(400px, 40vw);
  height: min(400px, 40vw);
  top: -15%;
  right: 5%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateSlow 35s linear infinite;
}

.shape-2 {
  width: min(300px, 30vw);
  height: min(300px, 30vw);
  bottom: -10%;
  left: 10%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  animation: rotateSlow 45s linear infinite reverse;
}

.shape-3 {
  width: min(200px, 20vw);
  height: min(200px, 20vw);
  top: 30%;
  left: 15%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  animation: morphShape 18s ease-in-out infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes morphShape {
  0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
  50% { border-radius: 42% 58% 38% 62% / 48% 33% 67% 52%; }
}

/* Парящие иконки */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
}

.floating-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  animation: floatIcon 18s linear infinite;
  will-change: transform;
}

.floating-icon:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 70%; right: 8%; animation-delay: 3s; }
.floating-icon:nth-child(3) { bottom: 15%; left: 12%; animation-delay: 6s; }
.floating-icon:nth-child(4) { top: 40%; right: 18%; animation-delay: 9s; }
.floating-icon:nth-child(5) { bottom: 30%; left: 35%; animation-delay: 12s; }

@keyframes floatIcon {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
  50% { transform: translateY(15px) translateX(-15px) rotate(180deg); }
  75% { transform: translateY(-25px) translateX(15px) rotate(270deg); }
  100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

/* Частицы */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  opacity: 0.4;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat 12s linear infinite;
  will-change: transform;
}

.particle:nth-child(1) { top: 15%; left: 8%; animation-duration: 10s; }
.particle:nth-child(2) { top: 75%; left: 15%; animation-duration: 14s; animation-delay: 2s; }
.particle:nth-child(3) { top: 35%; right: 12%; animation-duration: 12s; animation-delay: 4s; }
.particle:nth-child(4) { bottom: 25%; right: 20%; animation-duration: 16s; animation-delay: 1s; }
.particle:nth-child(5) { top: 85%; left: 35%; animation-duration: 13s; animation-delay: 3s; }

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-30px) translateX(15px); }
  50% { transform: translateY(20px) translateX(-20px); }
  75% { transform: translateY(-25px) translateX(12px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Контейнер с контентом */
.page-header .container {
  position: relative;
  z-index: 10;
}

.page-header .py-5 {
  padding-top: clamp(3rem, 8vh, 5rem) !important;
  padding-bottom: clamp(3rem, 8vh, 5rem) !important;
}

/* Левая часть с заголовком */
.page-header .col-lg-8 {
  animation: slideInLeft 0.7s ease-out;
  position: relative;
}

/* Заголовок */
.page-header h1 {
  position: relative;
  display: inline-block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--header-accent) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientText 8s ease infinite;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-shadow: 0 5px 15px var(--header-shadow);
  will-change: background-position;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Декоративная линия под заголовком */
.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--header-primary), #fff, var(--header-primary));
  border-radius: 2px;
  animation: expandWidth 0.8s ease-out 0.3s both;
}

@keyframes expandWidth {
  from { width: 0; opacity: 0; }
  to { width: 80px; opacity: 1; }
}

/* Подзаголовок */
.page-header .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--header-text-light);
  max-width: 90%;
  text-shadow: 0 2px 4px var(--header-shadow);
  animation: fadeInUp 0.7s ease-out 0.2s both;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--header-primary);
  font-weight: 400;
}

/* Счетчик услуг/информации */
.service-counter {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 1.5rem;
  animation: fadeInUp 0.7s ease-out 0.4s both;
  box-shadow: 0 5px 15px var(--header-shadow);
  transition: transform 0.3s ease;
}

.service-counter:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.service-counter i {
  margin-right: 0.8rem;
  color: var(--header-accent);
  font-size: 1.2rem;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Правая часть с карточкой */
.page-header .col-lg-4 {
  animation: slideInRight 0.7s ease-out 0.3s both;
}

/* Карточка */
.page-header .bg-white {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  padding: 1.5rem !important;
}

.page-header .bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2), 0 0 0 2px var(--header-primary) !important;
}

/* Декоративный элемент карточки */
.page-header .bg-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--header-primary), #fff, var(--header-primary));
  background-size: 200% 100%;
  animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Заголовок карточки */
.page-header .bg-white h6 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-header .bg-white h6 i {
  color: var(--header-primary);
  font-size: 1.2rem;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Основная кнопка */
.page-header .btn-primary {
  background: linear-gradient(135deg, var(--header-primary), var(--header-secondary));
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-header .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.page-header .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.4);
  background: linear-gradient(135deg, var(--header-secondary), var(--header-primary));
}

.page-header .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.page-header .btn-primary i {
  transition: transform 0.3s ease;
}

.page-header .btn-primary:hover i {
  transform: translateX(5px) scale(1.1);
}

/* Вторичная кнопка */
.page-header .btn-outline-primary {
  background: transparent;
  border: 2px solid var(--header-primary);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-header .btn-outline-primary:hover {
  background: var(--header-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.page-header .btn-outline-primary i {
  transition: transform 0.3s ease;
}

.page-header .btn-outline-primary:hover i {
  transform: rotate(90deg);
}

/* Анимации текста */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================================
   АДАПТИВНОСТЬ
   ================================================================== */

@media (max-width: 991.98px) {
  .page-header .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .page-header .col-lg-8,
  .page-header .col-lg-4 {
    text-align: center !important;
  }
  
  .page-header .lead {
    margin-left: auto;
    margin-right: auto;
    border-left: 4px solid var(--header-primary);
    padding-left: 1rem;
    text-align: left;
    max-width: 90%;
  }
  
  .page-header h1::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .page-header .col-lg-4 {
    margin-top: 2rem;
  }
  
  .page-header .bg-white {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .floating-icons,
  .particles,
  .shape {
    opacity: 0.2;
    animation: none;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header .lead {
    font-size: 1rem;
    padding-left: 0.8rem;
  }
  
  .page-header .bg-white h6 {
    font-size: 1rem;
  }
  
  .page-header .btn-primary,
  .page-header .btn-outline-primary {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
  
  .service-counter {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .page-header .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .page-header .bg-white {
    padding: 1.2rem !important;
    border-radius: 16px !important;
  }
  
  .floating-icons,
  .particles {
    display: none;
  }
}

/* Для пользователей, которые предпочитают уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
  .page-header,
  .page-header::before,
  .page-header::after,
  .shape,
  .floating-icon,
  .particle,
  .service-counter i,
  .page-header .btn-primary,
  .page-header .btn-outline-primary {
    animation: none !important;
    transition: none !important;
  }
  
  .page-header .bg-white:hover {
    transform: none;
  }
}
/* End */
/* /assets/css/pages/Branches.css?178431773311421 */
/* /assets/css/layout/page-header.css?178431773315249 */
