/* Герой-баннер для страницы "О компании" */
#about-hero-banner {
  position: relative;
  margin-top: 0;
  height: 90vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  transition: all 0.5s ease;
  position: absolute;
  z-index: 1;
}

#about-content-block {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

/* Стили для заголовка */
#about-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.3s forwards;
}

/* Стили для подзаголовка */
#about-hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  max-width: 800px;
  margin: 0 auto 2rem;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeIn 0.8s 0.5s forwards;
}

/* Затемнение фона */
#about-hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Эффекты при наведении */
#about-hero-banner:hover #about-hero-image {
  filter: brightness(0.5);
  transform: scale(1.02);
}

/* Адаптивность */
@media (max-width: 768px) {
  #about-hero-banner {
    height: 70vh;
    min-height: 500px;
  }
  
  #about-content-block {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  #about-hero-banner {
    height: 60vh;
    min-height: 400px;
  }
  
  #about-hero-title {
    margin-bottom: 1rem;
  }
  
  #about-hero-subtitle {
    margin-bottom: 1.5rem;
  }
}

/* Общие анимации (можно вынести в отдельный раздел) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* О компании*/
/* Основные стили секции */
#about-company-section {
  background-color: var(--light-color);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

#about-company-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue);
  opacity: 0.03;
  z-index: 0;
}

#about-company-card {
  background: white;
  border-radius: 1.5rem;
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  border: 1px solid var(--light-gray);
  overflow: hidden;
}

#about-company-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.04;
  z-index: -1;
}

/* Стили для изображения */
.about-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 380px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateZ(0);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  z-index: 1;
}

/* Бейдж */
#about-company-badge {
  margin-bottom: 1.75rem;
}

.badge-text {
  display: inline-block;
  background: var(--gradient-blue);
  color: white;
  padding: 0.6rem 1.75rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

/* Заголовок */
#about-company-heading {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 2.25rem;
  line-height: 1.25;
}

.highlight-text {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 100%;
  height: 0.45rem;
  background: var(--accent-blue);
  opacity: 0.25;
  z-index: -1;
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}

/* Основной текст */
#about-company-content {
  max-width: 100%;
}

.about-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
  padding-left: 1.75rem;
  border-left: 4px solid var(--primary-light);
}

/* Блок с фичей */
#about-feature {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: white;
  padding: 2.25rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#about-feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.feature-text {
  flex-grow: 1;
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.feature-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--dark-medium);
}

/* Анимации и эффекты */
.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

#about-feature:hover .feature-icon-wrapper {
  transform: rotate(10deg) scale(1.1);
}

.highlight-text:hover::after {
  opacity: 0.4;
  height: 0.55rem;
}

.badge-text:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Адаптация для планшетов */
@media (max-width: 1199px) {
  #about-company-heading {
    font-size: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 991px) {
  #about-company-section {
    padding: 5rem 0;
  }
  
  #about-company-card {
    padding: 3rem;
  }
  
  #about-company-heading {
    font-size: 2.25rem;
    margin-bottom: 2rem;
  }
  
  .about-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.4rem;
  }
  
  .feature-description {
    font-size: 1.1rem;
  }
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
  #about-company-section {
    padding: 4rem 0;
  }
  
  #about-company-card {
    padding: 2.5rem 1.5rem;
  }
  
  #about-company-heading {
    font-size: 2rem;
    margin-bottom: 1.75rem;
  }
  
  .about-description {
    font-size: 1.1rem;
    padding-left: 1.25rem;
    border-left-width: 3px;
    margin-bottom: 2rem;
  }
  
  #about-feature {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  
  .feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .feature-description {
    font-size: 1rem;
  }
  
  .about-image-wrapper {
    min-height: 280px;
  }
}

@media (max-width: 575px) {
  #about-company-heading {
    font-size: 1.8rem;
  }
  
  .badge-text {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .highlight-text::after {
    height: 0.4rem;
    bottom: 0.15rem;
  }
}

/*услуги*/
.services-accordion {
  --primary-color: #2563eb;
  --primary-light: rgba(37, 99, 235, 0.1);
  --dark-color: #0f172a;
  --dark-medium: #1e293b;
  --light-gray: #e2e8f0;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  max-width: 900px;
  margin: 3rem auto;
}

.service-card {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.service-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.service-header:hover {
  background: #f8fafc;
}

.service-header.collapsed .service-arrow i {
  transform: rotate(0deg);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.service-title {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-title h3 {
  margin: 0;
  color: var(--dark-color);
  font-size: 1.25rem;
  font-weight: 600;
}

.service-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  transition: var(--transition);
}

.service-arrow i {
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}


.service-content {
  background: white;
}

.service-body {
  padding: 0 1.5rem 1.5rem 5.5rem;
}

.service-point {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.service-point:last-child {
  border-bottom: none;
}

.point-marker {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  margin-top: 0.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.service-point p {
  margin: 0;
  color: var(--dark-medium);
  line-height: 1.6;
}

/* Анимация раскрытия */
.collapse:not(.show) {
  display: none;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .services-accordion {
    margin: 2rem auto;
  }
  
  .service-header {
    padding: 1.25rem;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    font-size: 1rem;
  }
  
  .service-title h3 {
    font-size: 1.1rem;
  }
  
  .service-body {
    padding: 0 1rem 1rem 4rem;
  }
  
  .service-point {
    padding: 0.8rem 0;
  }
  
  .service-point p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .service-header {
    padding: 1rem;
  }
  
  .service-body {
    padding: 0 0.5rem 1rem 3.5rem;
  }
  
  .point-marker {
    margin-right: 0.75rem;
  }
}

/* Блок преимуществ */
.advantages-section {
  --primary-color: #2563eb;
  --primary-light: rgba(37, 99, 235, 0.1);
  --dark-color: #0f172a;
  --dark-medium: #1e293b;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.advantages-card {
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.advantages-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

.advantages-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.02) 100%);
  z-index: 0;
}

.advantage-item {
  padding: 1.5rem;
  border-radius: 1rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.advantage-item:hover {
  background: rgba(248, 250, 252, 0.7);
}

.advantage-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--primary-light);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
  background: rgba(37, 99, 235, 0.2);
  transform: scale(1.05);
}

.advantage-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
  position: relative;
}

.advantage-content h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  opacity: 0.3;
  border-radius: 2px;
  transition: var(--transition);
}

.advantage-item:hover .advantage-content h4::after {
  width: 60px;
  opacity: 0.6;
}

.advantage-content p {
  color: var(--dark-medium);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Анимация при появлении */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
  .advantages-card {
    padding: 2.5rem;
  }
  
  .advantage-item {
    padding: 1.25rem;
  }
  
  .advantage-icon {
    width: 4rem;
    height: 4rem;
    font-size: 1.3rem;
    margin-right: 1.25rem;
  }
  
  .advantage-content h4 {
    font-size: 1.2rem;
  }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .advantages-card {
    padding: 2rem;
  }
  
  .advantage-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .advantage-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.2rem;
    margin-right: 1rem;
  }
  
  .advantage-content h4 {
    font-size: 1.1rem;
  }
  
  .advantage-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .advantages-card {
    padding: 1.5rem;
  }
  
  .advantage-icon {
    width: 3rem;
    height: 3rem;
  }
}