/* ============================================
   ОСНОВНЫЕ СТИЛИ
   ============================================ */

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* Переменные */
:root {
  /* Цветовая палитра */
  --primary-color: #1a1d29;
  --secondary-color: #D4AF37;
  --accent-color: #C9A961;
  --accent-light: #E5D5A1;
  --text-color: #FFFFFF;
  --text-secondary: #B8BCC8;
  --background-color: #1a1d29;
  --background-secondary: #252936;
  --card-color: rgba(37, 41, 54, 0.95);
  --card-hover: rgba(45, 49, 64, 0.98);
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
  --gradient-dark: linear-gradient(135deg, #1a1d29 0%, #252936 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 169, 97, 0.05) 100%);
  
  /* Тени */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.25);
  
  /* Анимации */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-color: rgba(212, 175, 55, 0.15);
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-color);
  background: var(--gradient-dark);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 29, 41, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  background: rgba(26, 29, 41, 0.98);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.header-logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--secondary-color);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-top {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.logo-building {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-logo-center {
  display: none;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

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

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.phone-link:hover {
  color: var(--secondary-color);
}

.phone-link i {
  font-size: 1.1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--background-color);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.mobile-menu-link:hover {
  color: var(--secondary-color);
  padding-left: 10px;
}

/* Главная секция с видео */
.administrative-hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 29, 41, 0.9), rgba(26, 29, 41, 0.7));
  z-index: 1;
}

.section-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }
  100% {
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
  }
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Секция услуг */
.services-section {
  background: var(--background-secondary);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.services-block {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.services-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.services-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.services-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-item {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-gold);
}

.service-item:hover::before {
  opacity: 1;
}

.service-item i {
  font-size: 1.8rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-item:hover i {
  transform: scale(1.2) rotate(10deg);
}

.service-item span {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-item:hover span {
  color: #fff;
}

/* Секция BIM */
.bim-section {
  background: var(--background-color);
  position: relative;
}

.bim-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(201, 169, 97, 0.03) 0%, transparent 50%);
  z-index: 0;
}

.bim-features {
  position: relative;
  z-index: 1;
}

.bim-subtitle {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.bim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.bim-item {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.bim-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bim-item:hover {
  transform: translateY(-8px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-xl);
}

.bim-item:hover::before {
  opacity: 1;
}

.bim-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.bim-item:hover .bim-icon {
  transform: scale(1.3) rotate(15deg);
}

.bim-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.bim-content h4 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.bim-item:hover .bim-content h4 {
  color: var(--secondary-color);
}

.bim-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: var(--transition);
}

.bim-item:hover .bim-content p {
  color: var(--text-color);
}

/* Секция отзывов */
.testimonials-section {
  background: var(--background-secondary);
  padding: 100px 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header .highlight {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.testimonials-header .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Слайдер отзывов */
.testimonials-slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.testimonials-slider-container {
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  overflow: hidden;
}

.testimonials-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

.testimonial-slide {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 0;
}

.testimonial-card-slider {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  position: relative;
}

.testimonial-card-slider:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-xl);
}

.testimonial-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.testimonial-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.testimonial-card-slider:hover .testimonial-image-wrapper img {
  transform: scale(1.05);
}

.testimonial-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: var(--shadow-gold);
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.testimonial-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 29, 41, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.testimonial-card-slider:hover .testimonial-hover-overlay {
  opacity: 1;
}

.testimonial-hover-overlay i {
  font-size: 3rem;
  color: var(--secondary-color);
}

.testimonial-hover-overlay span {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Стрелки слайдера */
.testimonials-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: var(--card-color);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.testimonials-slider-arrow:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-gold);
}

.testimonials-slider-prev {
  left: 0;
}

.testimonials-slider-next {
  right: 0;
}

/* Точечная навигация */
.testimonials-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(212, 175, 55, 0.5);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--secondary-color);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Модальное окно для документов */
.testimonial-document-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.document-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.document-modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  width: 90vw;
  max-height: 90vh;
  background: var(--card-color);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--secondary-color);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.document-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 45px;
  height: 45px;
  border: none;
  background: rgba(26, 29, 41, 0.9);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
}

.document-modal-close:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: rotate(90deg);
}

.document-modal-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 9;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.document-modal-prev,
.document-modal-next {
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(26, 29, 41, 0.9);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  pointer-events: all;
}

.document-modal-prev:hover,
.document-modal-next:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}

.document-modal-body {
  max-height: calc(90vh - 80px);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-modal-body img {
  width: 100%;
  max-height: calc(90vh - 100px);
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.document-modal-info {
  padding: 15px 25px;
  background: rgba(37, 41, 54, 0.9);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.document-modal-info h4 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.document-modal-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #E5C76B 0%, #D4AF37 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.btn:hover::before {
  opacity: 1;
}

.btn > * {
  position: relative;
  z-index: 1;
}

/* Модальное окно звонка */
.callback-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.callback-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.callback-modal-content {
  position: relative;
  background: linear-gradient(135deg, #1a1d29 0%, #252936 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  animation: modalSlideIn 0.3s ease;
  z-index: 10001;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.callback-modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.callback-modal-header i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  animation: pulseScale 2s infinite;
}

@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callback-form input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.callback-form input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.callback-submit-btn {
  background: var(--gradient-primary);
  color: var(--primary-color);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.callback-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.callback-message {
  margin-top: 15px;
  padding: 15px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}

.callback-message.success {
  display: flex;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4CAF50;
}

.callback-message.error {
  display: flex;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #F44336;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: var(--background-color);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  width: 28px;
  height: 28px;
}

.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo-top {
  font-size: 0.85rem;
}

.footer-logo .logo-building {
  font-size: 1.1rem;
}

.footer-col p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

address p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

address a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

address a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 992px) {
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .bim-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .testimonials-slider-wrapper {
    padding: 0 50px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-logo-center {
    display: flex;
    justify-content: center;
    flex: 1;
  }
  
  .nav-phone {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .services-grid,
  .services-grid-large,
  .bim-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-slide {
    flex: 0 0 100%;
  }
  
  .testimonials-slider-wrapper {
    padding: 0 40px;
  }
  
  .testimonials-slider-arrow {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .testimonial-image-wrapper {
    height: 300px;
  }
  
  .administrative-hero {
    padding: 120px 0 80px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-title,
  .bim-subtitle {
    font-size: 1.8rem;
  }
  
  .testimonials-slider-wrapper {
    padding: 0 30px;
  }
  
  .testimonials-slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .testimonial-image-wrapper {
    height: 250px;
  }
  
  .document-modal-content {
    max-width: 95vw;
    width: 95vw;
  }
  
  .callback-modal-content {
    padding: 30px 20px;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Плавная анимация появления элементов */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Эффект выделения текста */
::selection {
  background: var(--secondary-color);
  color: var(--primary-color);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--primary-color);
}