
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Анимация полосок при открытии меню (полоски трансформируются в крестик) */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Скрываем основное меню и показываем только при активном классе */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 16px;
        z-index: 1000;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav {
        position: relative;
        flex-wrap: wrap;
    }
    .btn-primary {
        width: 100%;
        text-align: center;
    }

    /* Остальные ваши адаптивные стили */
    .about-intro .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .chart-container {
        min-height: 400px;
        padding: 16px;
        margin-top: 40px;
    }
    .chart-header {
        flex-direction: column;
        gap: 15px;
    }
    .chart-value {
        text-align: left;
    }
    .chart-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .chart-stats {
        align-self: stretch;
        justify-content: space-between;
    }
}
/* Стили для графика */
.chart-container {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 650px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.chart-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.chart-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.chart-value {
    text-align: right;
}

.current-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.value-change {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
}

.value-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.value-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.chart-wrapper {
    position: relative;
    flex: 1;
    min-height: 400px;
    margin: 20px 0;
}

#performanceChart {
    width: 100%;
    height: 100%;
}

.chart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.timeframe-selector {
    display: flex;
    gap: 8px;
}

.timeframe-btn {
    padding: 6px 12px;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeframe-btn:hover {
    background: #f9f9f9;
}

.timeframe-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.chart-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Анимация для плавного обновления графика */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.chart-value.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Анимация переключения временных интервалов */
@keyframes timeframeSwitch {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.timeframe-switching {
    animation: timeframeSwitch 0.3s ease-out;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .about-intro .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .chart-container {
        min-height: 400px;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .chart-value {
        text-align: left;
    }
    
    .chart-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .chart-stats {
        align-self: stretch;
        justify-content: space-between;
    }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

/* Контейнер */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Хедер и навигация */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Improved navigation layout and spacing */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 40px;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1a1a1a;
}

/* Кнопки */
.btn-primary {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: #1a1a1a;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Герой секция */
.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1a1a1a;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: #4a4a4a;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Секция с особенностями */
.features {
  padding: 100px 0;
  background-color: #ffffff;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

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

.feature-card {
  padding: 40px 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-number {
  font-size: 48px;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.feature-card p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6;
}

/* Секция с изображением */
.image-section {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.image-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-text h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
  line-height: 1.3;
}

.image-text p {
  font-size: 17px;
  color: #4a4a4a;
  margin-bottom: 32px;
  line-height: 1.7;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Статистика */
.stats {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: #b3b3b3;
  line-height: 1.4;
}

/* CTA секция */
.cta {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.cta-content p {
  font-size: 18px;
  color: #4a4a4a;
  margin-bottom: 32px;
}

/* Страница Hero */
.page-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.page-hero p {
  font-size: 20px;
  color: #4a4a4a;
}

/* Услуги */
.services-section {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  gap: 60px;
}

.service-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.service-card:nth-child(even) {
  grid-template-columns: 1fr 400px;
}

.service-card:nth-child(even) .service-image {
  order: 2;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.service-content p {
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  padding-left: 0;
}

.service-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #4a4a4a;
  font-size: 15px;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a1a1a;
  font-weight: 700;
}

/* Процесс работы */
.process {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.process-step {
  text-align: center;
  padding: 40px 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.process-step h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.process-step p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6;
}

/* О компании */
.about-intro {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.about-text p {
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Ценности */
.values {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.value-card {
  padding: 40px 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.value-card p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6;
}

/* Команда */
.team {
  padding: 80px 0;
}

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

.team-member {
  text-align: center;
}

.member-photo {
  margin-bottom: 20px;
}

.member-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.member-position {
  font-size: 15px;
  color: #666666;
  margin-bottom: 12px;
  font-weight: 500;
}

.member-bio {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* Достижения */
.achievements {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.achievements-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.achievement-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.achievement-item {
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
}

.achievement-item:last-child {
  border-bottom: none;
}

.achievement-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.achievement-item p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* Контакты */
.contact-section {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1a1a1a;
}

.contact-item {
  margin-bottom: 32px;
}

.contact-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.contact-item p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.6;
}

.contact-image {
  margin-top: 40px;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Форма */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.form-group textarea {
  resize: vertical;
}


/* Футер */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section p {
  font-size: 14px;
  color: #b3b3b3;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333333;
}

.footer-bottom p {
  font-size: 14px;
  color: #b3b3b3;
}

/* Аккордион */
.accordion-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Black button with white text for accordion headers */
.accordion-header {
  width: 100%;
  padding: 24px 32px;
  background-color: #1a1a1a;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.3s ease;
  text-align: left;
}

.accordion-header:hover {
  background-color: #333333;
}

.accordion-icon {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  transition: transform 0.3s ease;
}

/* White background for accordion content */
.accordion-content {
  background-color: #ffffff;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Ссылка на PDF */
.pdf-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.pdf-link:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.pdf-link svg {
  flex-shrink: 0;
  color: #1a1a1a;
}

.pdf-link span:nth-child(2) {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
}

.pdf-size {
  font-size: 14px;
  color: #666666;
  font-weight: 400;
}

/* Адаптивность */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .image-content,
  .about-content,
  .achievements-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) .service-image {
    order: 0;
  }

  .section-title {
    font-size: 32px;
  }
}