/* Основные стили для bi.html */

.bi-hero,
.bi-benefits-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  min-width: 100vw;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.bi-hero-inner,
.bi-benefits-inner {
  padding: 60px 0 0 0;
}

.bi-hero-left,
.bi-benefits-inner > div:first-child {
  flex: 1 1 420px;
  min-width: 320px;
  max-width: 600px;
  align-self: flex-start;
}

.bi-hero-right,
.bi-benefits-inner > div:last-child {
  flex: 1 1 480px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-self: flex-start;
}

.bi-hero-cards {
  background: #e5e5e5;
  border-radius: 15px;
  padding: 66px 66px 66px 40px;
  width: 100%;
  max-width: 520px;
  min-height: 400px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.bi-hero-cards:hover {
  box-shadow: 0 8px 48px rgba(0,0,0,0.20);
  transform: translateY(-5px);
}

.bi-hero-cards button {
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 18px;
}

.bi-hero-cards hr,
.bi-benefits-inner hr {
  margin: 18px 0;
  border: none;
  border-top: 1px solid #bdbdbd;
}

.bi-hero-cards > div,
.bi-benefits-inner > div > div {
  color: #232323;
}

.bi-hero-cards > div,
.bi-benefits-inner > div > div {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
}

.bi-benefits1-img{
  max-width: 35%;
  margin: 30px auto;
  display: block;
}

.bi-benefits2-img,
.bi-benefits3-img {
  max-width: 40%;
  margin: 30px auto;
  display: block;
}

.bi-benefits-simple {
  background: #000;
  color: #fff;
  padding: 80px 0 40px 0;
}

.bi-benefits-simple .bi-benefits-simple-inner {
  display: grid;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  min-width: 100vw;
  box-sizing: border-box;
  align-items: flex-start;
}

.bi-benefits-simple h2 {
  font-size: 3.6em;
  font-weight: bold;
  margin-bottom: 72px;
}

.bi-benefits-simple .desc {
  font-size: 2em;
  font-weight: 100;
  margin-bottom: 72px;
}

.bi-benefits-title {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 1.35em;
  font-weight: bold;
  margin-bottom: 12px;
}

/* Мобильные стили для .bi-benefits-title */
@media screen and (max-width: 900px) {
  .bi-benefits-title {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.2em;
  }
}

@media screen and (max-width: 600px) {
  .bi-benefits-title {
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    font-size: 1.1em;
  }
}

.bi-benefits-section {
  display: flex;
  align-items: flex-start;
  column-gap: 18px;
  margin-bottom: 36px;
}

/* Мобильные стили для .bi-benefits-section */
@media screen and (max-width: 900px) {
  .bi-benefits-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 600px) {
  .bi-benefits-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
}

.bi-benefits-section:last-child {
  margin-bottom: 0;
}

.bi-check {
  width: 44px;
  height: 44px;
  vertical-align: middle;
  margin-top: 0;
  flex-shrink: 0;
}

/* Мобильные стили для .bi-check */
@media screen and (max-width: 900px) {
  .bi-check {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 600px) {
  .bi-check {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
}

.bi-benefits-section > .bi-check + div > .bi-benefits-title {
  margin-bottom: 8px;
}

.bi-benefits-section ul {
  margin-top: 0;
}

/* Исправление цвета для всех текстов внутри правой части */
.bi-benefits-inner > div:last-child,
.bi-benefits-inner > div:last-child * {
  color: #fff;
}

.bi-benefits-inner ul {
  margin: 0 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 1.08em;
}

.bi-benefits-inner li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 40px;
}

.bi-benefits-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url('../img/bi/caret-right-fill.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bi-benefits-inner h3 {
  font-size: 2.3em;
  font-weight: bold;
  margin-bottom: 32px;
}

hr.bi-divider {
  border: none;
  border-top: 2px solid #444;
  margin: 48px 0 40px 0;
}

@media screen and (max-width: 900px) {
  .bi-hero,
  .bi-benefits-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0 0 0;
  }
  
  .bi-hero-left,
  .bi-benefits-inner > div:first-child,
  .bi-hero-right,
  .bi-benefits-inner > div:last-child {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 0 5vw;
  }
  
  .bi-hero img,
  .bi-benefits-inner img {
    margin: 32px auto 0 auto;
    display: block;
    max-width: 50vw;
  }
  
  .bi-benefits1-img {
    max-width: 30%;
    margin: 25px auto;
  }
  
  .bi-benefits2-img,
  .bi-benefits3-img {
    max-width: 35%;
    margin: 25px auto;
  }
  
  /* Улучшения для планшетов */
  .bi-hero-left h1 {
    font-size: 2.5em;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-benefits-inner h3 {
    font-size: 1.8em;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-benefits-simple h2 {
    font-size: 2.6em;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-benefits-simple .desc {
    font-size: 1.6em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-dashboards-title, .bi-steps-title, .bi-tasks-title, .bi-consult-title {
    font-size: 2.4em;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media screen and (max-width: 600px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  
  /* Основные контейнеры */
  .bi-hero, .bi-benefits-simple, .bi-dashboards-block, .bi-steps-block, .bi-tasks-block, .bi-consult-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  }
  
  .bi-hero-inner, .bi-benefits-inner, .bi-dashboards-inner, .bi-steps-inner, .bi-tasks-grid, .bi-consult-inner {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }
  
  /* Заголовки - уменьшаем размеры */
  .bi-hero-left h1 {
    font-size: 1.8em !important;
    line-height: 1.2;
    margin-bottom: 20px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-benefits-inner h3 {
    font-size: 1.4em !important;
    line-height: 1.2;
    margin-bottom: 16px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-dashboards-title, .bi-steps-title, .bi-tasks-title, .bi-consult-title {
    font-size: 1.8em !important;
    line-height: 1.2;
    margin-bottom: 16px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Карточки и контейнеры */
  .bi-hero-cards, .bi-task-card, .bi-task-card--dark, .bi-task-card--wide, .bi-consult-right {
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px !important;
    margin-bottom: 16px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-hero-cards:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
  }
  
  /* Изображения - адаптивные размеры */
  .bi-hero-cursor, .bi-consult-rocket, .bi-dashboard-img, .bi-step-img {
    max-width: 50vw !important;
    width: 100%;
    height: auto;
    margin: 0 auto 16px auto !important;
    display: block;
    border-radius: 8px;
  }
  
  .bi-hero img {
    max-width: 60vw !important;
    margin: 0 auto 16px auto !important;
    border-radius: 8px !important;
    height: auto !important;
    display: block !important;
  }
  
  .bi-benefits-inner img {
    max-width: 50vw !important;
    margin: 0 auto 16px auto !important;
    height: auto !important;
    display: block !important;
  }
  
  .bi-benefits1-img {
    max-width: 45vw !important;
    margin: 20px auto !important;
  }
  
  .bi-benefits2-img,
  .bi-benefits3-img {
    max-width: 50vw !important;
    margin: 20px auto !important;
  }
  
  /* Текст и списки */
  .bi-benefits-section ul, .bi-benefits-inner ul, .bi-task-card-desc, .bi-consult-desc, .bi-step-desc {
    font-size: 1.1em !important;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-benefits-inner ul {
    font-size: 0.85em !important;
  }
  
  .bi-benefits-inner li {
    padding-left: 30px;
    margin-bottom: 8px;
  }
  
  .bi-benefits-inner li::before {
    width: 18px;
    height: 18px;
  }
  
  /* Кнопки */
  .bi-task-card-btn, .bi-consult-btn {
    width: 100%;
    font-size: 0.9em;
    padding: 12px 0;
    border-radius: 8px;
    margin-top: 12px;
  }
  
  .bi-commercial-btn {
    font-size: 0.9em;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
  }
  
  .bi-commercial-btn-container {
    justify-content: stretch;
    width: 100%;
  }
  
  /* Форма */
  .bi-consult-form input, .bi-consult-form textarea {
    font-size: 0.9em;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .bi-consult-checkbox {
    font-size: 0.8em;
    gap: 6px;
    padding-left: 30px;
    line-height: 1.3;
  }
  
  .bi-consult-checkbox span::before {
    left: -30px;
    width: 16px;
    height: 16px;
  }
  
  .bi-consult-checkbox span::after {
    left: -24px;
    top: 1px;
    width: 4px;
    height: 8px;
  }
  
  .bi-task-card-img {
    max-width: 40vw !important;
    border-radius: 8px;
    margin: 0 0 0 auto !important;
    display: block;
    position: static !important;
    align-self: flex-end;
  }
  
  /* Отступы */
  .bi-hero,
  .bi-benefits-inner {
    padding: 20px 0 0 0;
  }
  
  .bi-hero-left,
  .bi-benefits-inner > div:first-child,
  .bi-hero-right,
  .bi-benefits-inner > div:last-child {
    padding: 0 4vw;
  }
  
  .bi-benefits-simple {
    padding: 30px 0 15px 0;
  }
  
  .bi-benefits-simple h2 {
    font-size: 1.8em;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-benefits-simple .desc {
    font-size: 1.2em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-check {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
  }
  
  /* Footer */
  .footer-content, .footer-left, .footer-center, .footer-right {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
    box-sizing: border-box;
  }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media screen and (max-width: 480px) {
  .bi-hero-inner, .bi-benefits-inner, .bi-dashboards-inner, .bi-steps-inner, .bi-tasks-grid, .bi-consult-inner {
    padding-left: 3vw !important;
    padding-right: 3vw !important;
  }
  
  .bi-hero-left h1 {
    font-size: 1.6em !important;
  }
  
  .bi-benefits-inner h3 {
    font-size: 1.2em !important;
  }
  
  .bi-dashboards-title, .bi-steps-title, .bi-tasks-title, .bi-consult-title {
    font-size: 1.6em !important;
  }
  
  .bi-benefits-simple h2 {
    font-size: 1.5em;
  }
  
  .bi-benefits-simple .desc {
    font-size: 1.1em;
  }
  
  .bi-hero-cards, .bi-task-card, .bi-task-card--dark, .bi-task-card--wide, .bi-consult-right {
    padding: 12px !important;
  }
  
  .bi-hero-cards:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
  }
  
  .bi-hero img, .bi-benefits-inner img {
    max-width: 40vw !important;
  }
  
  .bi-benefits1-img {
    max-width: 60vw !important;
    margin: 15px auto !important;
  }
  
  .bi-benefits2-img,
  .bi-benefits3-img {
    max-width: 65vw !important;
    margin: 15px auto !important;
  }
  
  .bi-hero-cursor, .bi-consult-rocket, .bi-dashboard-img, .bi-step-img {
    max-width: 60vw !important;
  }
  
  .bi-task-card-img {
    max-width: 50vw !important;
  }
  
  .bi-benefits-section ul, .bi-benefits-inner ul, .bi-task-card-desc, .bi-consult-desc, .bi-step-desc {
    font-size: 1em !important;
  }
  
  .bi-benefits-inner ul {
    font-size: 0.8em !important;
  }
  
  .bi-consult-form input, .bi-consult-form textarea {
    font-size: 0.85em;
    padding: 8px 6px;
  }
  
  .bi-consult-checkbox {
    font-size: 0.75em;
  }
  
  .bi-hero-left p {
    font-size: 1em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-task-card--wide img {
    max-width: 40vw;
  }
}

/* 6 блок: фон черный, контент в светлом контейнере с закруглением */
.bi-dashboards-block {
  background: #000;
  padding: 48px 0 48px 0;
}
.bi-dashboards-inner {
  background: #e5e5e5;
  border-radius: 15px;
  padding: 48px 94px;
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
}
.bi-dashboards-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 116px;
  color: #232323;
}
.bi-dashboards-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.bi-dashboard-card {
  display: flex;
  justify-content: space-between;
  background: none;
  border-radius: 18px;
  padding: 0;
}
.bi-dashboard-card-left {
  flex: 1 1 120px;
  min-width: 260px;
  max-width: 520px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* Мобильные стили для .bi-dashboard-card-left */
@media screen and (max-width: 900px) {
  .bi-dashboard-card-left {
    flex: none;
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .bi-dashboard-card-left {
    flex: none;
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
}
.bi-dashboard-num {
  font-size: 1.4em;
  font-weight: bold;
  border: 2px solid #232323;
  border-radius: 5px;
  width: 36px;
  height: 36px;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  background: #fff;
  color: #232323;
  margin: 0 0 10px 0;
}
.bi-dashboard-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Увеличенная ширина контента в карточках дашбордов */
.bi-dashboard-content {
  min-width: 650px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* Мобильные стили для .bi-dashboard-content */
@media screen and (max-width: 900px) {
  .bi-dashboard-content {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .bi-dashboard-content {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
}
.bi-dashboard-header {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #232323;
}
.bi-dashboard-desc {
  font-size: 1.3em;
  color: #232323;
  line-height: 1.4;
}
.bi-dashboard-card-right {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.bi-dashboard-placeholder {
  width: 320px;
  height: 140px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bdbdbd;
  font-size: 1.3em;
  font-weight: 500;
  border: 2px dashed #bdbdbd;
}
.bi-dashboard-img-container {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.bi-dashboard-img-container:hover {
  transform: scale(1.02);
}

.bi-dashboard-img {
  object-fit: contain;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  transition: filter 0.3s ease;
}

.bi-dashboard-img-container:hover .bi-dashboard-img {
  filter: brightness(0.7);
}

.bi-dashboard-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.bi-dashboard-img-container:hover .bi-dashboard-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.bi-dashboard-zoom-icon svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 900px) {
  .bi-dashboards-inner {
    max-width: 98vw;
    padding: 32px 4vw;
    transform: none;
    left: auto;
    right: auto;
    position: static;
    min-width: auto;
  }
  .bi-dashboard-card {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .bi-dashboard-card-right {
    justify-content: center;
  }
  .bi-dashboard-placeholder {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    height: 120px;
    font-size: 1em;
  }
}
@media (max-width: 600px) {
  .bi-dashboards-block {
    padding: 24px 0 24px 0;
  }
  
  .bi-dashboards-title {
    font-size: 1.4em;
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-dashboard-num {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }
  
  .bi-dashboard-header {
    font-size: 1.1em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-dashboard-desc {
    font-size: 0.9em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-dashboard-placeholder {
    height: 70px;
    font-size: 0.9em;
  }
  
  .bi-dashboards-inner {
    padding: 16px 4vw;
    border-radius: 10px;
    transform: none;
    left: auto;
    right: auto;
    position: static;
    min-width: auto;
  }
  
  .bi-dashboard-zoom-icon {
    width: 50px;
    height: 50px;
  }
  
  .bi-dashboard-zoom-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* 7 блок: Внедрение бизнес-аналитики с нуля */
.bi-steps-block {
  background: #e5e5e5;
  padding: 48px 0 48px 0;
}
.bi-steps-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}
.bi-steps-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 26px;
  margin-bottom: 66px;
  color: #232323;
}
.bi-steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.bi-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 32px;
}
.bi-step-cell {
  background: #C0C0C0;
  border-radius: 18px;
  padding: 32px 32px 32px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  position: relative;
}
.bi-step-cell-1 {
  grid-column: 1 / 3;
}
.bi-step-cell-2 {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.bi-step-cell-3 {
  grid-column: 2 / 3;
}
.bi-step-cell-4 {
  grid-column: 2 / 3;
}
.bi-step-cell-5 {
  grid-column: 1 / 3;
}
.bi-step-headline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.bi-step-num {
  font-size: 1.3em;
  font-weight: bold;
  border: 2px solid #232323;
  border-radius: 5px;
  width: 36px;
  height: 36px;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  background: #fff;
  color: #232323;
  margin-bottom: 0;
  flex-shrink: 0;
}
.bi-step-cell-2 .bi-step-num {
  margin-bottom: 0;
  margin-right: 18px;
}
.bi-step-cell-1 .bi-step-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.bi-step-cell-1 .bi-step-logos {
  margin-left: 32px;
  min-width: 320px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bi-step-cell-1 .bi-step-content > *:not(.bi-step-logos) {
  flex: 1;
}
.bi-step-header {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 0;
  color: #232323;
}
.bi-step-desc {
  font-size: 1em;
  color: #232323;
  line-height: 1.4;
}
.bi-step-logo {
  max-width: 180px;
  max-height: 80px;
  margin-right: 20px;
  margin-bottom: 10px;
  vertical-align: middle;
}
.bi-step-logo:last-child {
  margin-right: 0;
}
.bi-step-img {
  max-width: 320px;
  height: auto;
  margin: 24px auto 0 auto;
  display: block;
}
.bi-step-cell-1 .bi-step-content-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) {
  .bi-steps-inner {
    max-width: 98vw;
    padding: 0 4vw;
  }
  .bi-steps-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 18px;
  }
  .bi-step-cell-1, .bi-step-cell-2, .bi-step-cell-3, .bi-step-cell-4, .bi-step-cell-5 {
    grid-column: 1 / 2 !important;
    grid-row: auto !important;
  }
  .bi-step-cell-2 {
    flex-direction: column;
    align-items: flex-start;
  }
  .bi-step-cell-1 .bi-step-content {
    flex-direction: column;
  }
  .bi-step-cell-1 .bi-step-logos {
    margin-left: 0;
    margin-top: 18px;
    min-width: 0;
    justify-content: flex-start;
  }
  .bi-step-img-placeholder {
    margin-left: 0;
    margin-top: 18px;
    width: 120px;
    height: 120px;
    font-size: 0.9em;
  }
  .bi-step-logos {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .bi-step-logo-placeholder {
    width: 90px;
    height: 32px;
    font-size: 0.9em;
  }
}
@media (max-width: 600px) {
  .bi-steps-block {
    padding: 24px 0 24px 0;
  }
  
  .bi-steps-title {
    font-size: 1.4em;
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-step-num {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }
  
  .bi-step-header {
    font-size: 1.1em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-step-desc {
    font-size: 0.9em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-step-img-placeholder {
    width: 70px;
    height: 70px;
    font-size: 0.8em;
  }
}

/* --- BI Hero Block (первый блок) --- */
.bi-hero {
  background: black url(../img/bi/background_first_block_bi2.png) no-repeat left top;
  background-size: 100%;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Мобильные стили для .bi-hero */
@media screen and (max-width: 900px) {
  .bi-hero {
    min-height: auto;
    padding: 40px 0;
    background-size: cover;
    background-position: center;
  }
}

@media screen and (max-width: 600px) {
  .bi-hero {
    min-height: auto;
    padding: 20px 0;
    background-size: cover;
    background-position: center;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.bi-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.bi-hero > * {
  position: relative;
  z-index: 2;
}

.bi-hero-inner {
  display: grid;
  grid-template-columns: 1fr .4fr;
  gap: 40px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  min-width: 100vw;
  box-sizing: border-box;
  padding: 0 94px;
  align-items: flex-start;
}

/* Мобильные стили для .bi-hero-inner */
@media screen and (max-width: 900px) {
  .bi-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 5vw;
  }
}

@media screen and (max-width: 600px) {
  .bi-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 4vw;
  }
}

.bi-hero-left {
  flex: 1 1 420px;
  min-width: 720px;
  max-width: 900px;
  color: #fff;
  align-self: flex-start;
  position: relative;
}

/* Мобильные стили для .bi-hero-left */
@media screen and (max-width: 900px) {
  .bi-hero-left {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .bi-hero-left {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

.bi-hero-left h1 {
  font-size: 3.8em;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 74px;
}

.bi-hero-left p {
  font-size: 2em;
  line-height: 1.2;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Мобильные стили для текста в hero */
@media screen and (max-width: 900px) {
  .bi-hero-left p {
    font-size: 1.4em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media screen and (max-width: 600px) {
  .bi-hero-left p {
    font-size: 1.1em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.bi-hero-left .bi-hero-left-desc::after {
  content: "";
  position: absolute;
  left: -12px;
  top: -8px;
  width: calc(100% + 24px);
  height: calc(100% + 16px);
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.bi-hero-left .bi-hero-left-desc:hover::after {
  opacity: 1;
}

.bi-hero-left p:hover {
  color: #fff;
}

.bi-hero-right {
  flex: 1 1 350px;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

/* Мобильные стили для .bi-hero-right */
@media screen and (max-width: 900px) {
  .bi-hero-right {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    align-items: flex-start;
  }
}

@media screen and (max-width: 600px) {
  .bi-hero-right {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    align-items: flex-start;
  }
}

.bi-hero-cursor {
  width: 220px;
  max-width: 60vw;
  position: absolute;
  right: -80px;
  bottom: -115px;
  z-index: 2;
  pointer-events: none;
  animation: cursorFloat 3s ease-in-out infinite;
}

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

/* Мобильные стили для .bi-hero-cursor */
@media screen and (max-width: 900px) {
  .bi-hero-cursor {
    position: static;
    width: 180px;
    max-width: 50vw;
    margin: 20px auto 0 auto;
    display: block;
    animation: cursorFloatMobile 4s ease-in-out infinite;
  }
}

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

@media screen and (max-width: 600px) {
  .bi-hero-cursor {
    position: static;
    width: 120px;
    max-width: 40vw;
    margin: 16px auto 0 auto;
    display: block;
    animation: cursorFloatSmall 5s ease-in-out infinite;
  }
}

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

.bi-hero-left .bi-hero-left-desc-text {
  position: relative;
  z-index: 2;
  background: none;
  display: inline;
}

.bi-hero-cards > div:first-child {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 18px;
  color: #232323;
}

.bi-hero-cards > div:nth-child(4),
.bi-hero-cards > div:nth-child(7) {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #232323;
}

.bi-hero-badge {
  background: #fff;
  border: 2px solid #232323;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 18px;
  display: inline-block;
  color: #232323;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bi-hero-badge:hover {
  background: #232323;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 35, 35, 0.3);
}

/* --- 8 блок: задачи meteorIT --- */
.bi-tasks-block {
  background: #ededed;
  padding: 48px 0 48px 0;
}
.bi-tasks-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 66px;
  margin-top: 26px;
  color: #232323;
  width: 100vw;
  min-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-left: 94px;
  padding-right: 94px;
}
.bi-tasks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  align-items: flex-start;
}
.bi-tasks-left, .bi-tasks-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bi-task-card {
  background: #C0C0C0;
  border-radius: 14px;
  padding: 28px 28px 20px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bi-task-card--dark {
  background: #000000;
  color: #fff;
  position: relative;
  min-height: 412px;
  justify-content: flex-start;
  padding-right: 0;
  padding-bottom: 0;
}
.bi-task-card-title {
  font-size: 1.35em;
  font-weight: bold;
  margin-bottom: 14px;
  color: #232323;
}
.bi-task-card--dark .bi-task-card-title {
  color: #fff;
}
.bi-task-card-desc {
  font-size: 1em;
  color: #232323;
  margin-bottom: 24px;
  line-height: 1.5;
}
.bi-task-card--dark .bi-task-card-desc {
  color: #fff;
}
.bi-task-card-badge {
  background: #fff;
  border: 2px solid #232323;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 1em;
  font-weight: bold;
  margin-top: auto;
  display: block;
  color: #232323;
  max-width: 240px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bi-task-card-badge:hover {
  background: #232323;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 35, 35, 0.3);
}

.bi-task-card--dark .bi-task-card-badge {
  background: #ededed;
  color: #232323;
  border: 2px solid #ededed;
  margin-top: 24px;
  margin-bottom: 24px;
}

.bi-task-card--dark .bi-task-card-badge:hover {
  background: #fff;
  color: #232323;
  border: 2px solid #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}
.bi-task-card-btn {
  background: #ededed;
  color: #232323;
  border: none;
  border-radius: 6px;
  padding: 15px 24px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 34px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.2s;
  max-width: 240px;
  width: 100%;
  display: block;
  margin-left: 0;
  margin-right: 0;
}
.bi-task-card-btn:hover {
  background: #fff;
}
.bi-task-card-img {
  width: 100%;
  max-width: 220px;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  border-radius: 0 0 12px 0;
  z-index: 1;
}
@media (max-width: 900px) {
  .bi-tasks-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 4vw;
  }
  .bi-task-card--dark {
    min-height: 260px;
  }
  .bi-task-card-img {
    position: static;
    margin: 24px auto 0 auto;
    display: block;
    max-width: 60vw;
  }
}
@media (max-width: 600px) {
  .bi-tasks-block {
    padding: 24px 0 24px 0;
  }
  
  .bi-tasks-title {
    font-size: 1.4em;
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-task-card-title {
    font-size: 1.1em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-task-card-desc {
    font-size: 0.9em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-task-card-img {
    max-width: 70vw;
  }
}

.bi-task-card--wide {
  grid-column: 1 / -1;
  background: #C4CCD4;
  color: #232323;
  border: 2px solid #232323;
  min-height: 180px;
  font-size: 1.1em;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  width: 100%;
  margin: 0;
  align-self: stretch;
  padding: 28px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
}
.bi-tasks-block > .bi-task-card--wide {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (max-width: 900px) {
  .bi-task-card--wide {
    padding: 18px 8px 12px 8px;
    font-size: 1em;
  }
  .bi-tasks-block > .bi-task-card--wide {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media (max-width: 600px) {
  .bi-tasks-grid {
    padding: 0 2vw;
  }
  .bi-task-card--wide {
    padding: 10px 2vw 8px 2vw;
    font-size: 1em;
  }
}

/* === 9 блок: Консультация по внедрению BI-аналитики === */
.bi-consult-block {
  background: #000;
  padding: 94px 0 94px 0;
}
.bi-consult-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.bi-consult-left {
  flex: 1 1 380px;
  min-width: 320px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}
.bi-consult-title {
  font-size: 3.8em;
  font-weight: bold;
  margin-bottom: 32px;
  line-height: 1.1;
}
.bi-consult-desc {
  font-size: 2em;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 720px;
}
.bi-consult-rocket {
  width: 340px;
  height: auto;
  position: relative;
  margin-top: 32px;
  margin-left: 20%;
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
  animation: rocketFloat 6s ease-in-out infinite;
}

@keyframes rocketFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
.bi-consult-right {
  flex: 1 1 380px;
  min-width: 320px;
  background: #ededed;
  border-radius: 16px;
  padding: 48px 40px 40px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 540px;
}
.bi-consult-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bi-consult-form label {
  font-size: 1em;
  color: #232323;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bi-consult-form-row {
  display: flex;
  gap: 16px;
  min-width: 0;
}
.bi-consult-form-row label {
  flex: 1 1 0;
  min-width: 0;
}
.bi-consult-form input,
.bi-consult-form textarea {
  background: none;
  border: none;
  border-bottom: 2px solid #232323;
  font-size: 1em;
  padding: 8px 0 6px 0;
  color: #232323;
  outline: none;
  resize: none;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}
.bi-consult-form textarea {
  min-height: 48px;
  max-width: 100%;
}
.bi-consult-checkbox {
  font-size: 0.98em;
  font-weight: 400;
  color: #232323;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.bi-consult-checkbox {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.bi-consult-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.bi-consult-checkbox span {
  position: relative;
}

/* Custom Checkbox Styling */
.bi-consult-checkbox span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -35px;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #232323;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* On mouse-over, add a grey background color */
.bi-consult-checkbox:hover input ~ span::before {
  background-color: #f5f5f5;
}

/* When the checkbox is checked, add a dark background */
.bi-consult-checkbox input:checked ~ span::before {
  background-color: #232323;
  border-color: #232323;
}

/* Create the checkmark/indicator (hidden when not checked) */
.bi-consult-checkbox span::after {
  content: "";
  position: absolute;
  display: none;
  left: -28px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

/* Show the checkmark when checked with smooth animation */
.bi-consult-checkbox input:checked ~ span::after {
  display: block;
  animation: checkmarkAppear 0.3s ease-in-out;
}

/* Animation for checkmark appearance */
@keyframes checkmarkAppear {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
  50% {
    opacity: 0.7;
    transform: rotate(45deg) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

/* Animation for checkmark disappearance */
.bi-consult-checkbox input:not(:checked) ~ span::after {
  animation: checkmarkDisappear 0.2s ease-in-out;
}

@keyframes checkmarkDisappear {
  0% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
}
.bi-consult-checkbox a {
  color: #232323;
  text-decoration: underline;
}
.bi-consult-btn {
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px 0;
  font-size: 0.82em;
  font-weight: 400;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.2s;
  width: 120px;
}
.bi-consult-btn:hover {
  background: #444;
}
.bi-commercial-btn-container {
  display: flex;
  justify-content: end;
  margin-top: 20px;
  width: 100%;
}
.bi-commercial-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  width: 540px;
  min-width: 300px;
}
.bi-commercial-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}
@media (max-width: 900px) {
  .bi-consult-inner {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    padding: 0 4vw;
  }
  .bi-consult-left, .bi-consult-right {
    min-width: 0;
    max-width: 100vw;
  }
  .bi-consult-right {
    padding: 28px 8vw 24px 8vw;
  }
  .bi-consult-title {
    font-size: 2.4em;
  }
  .bi-consult-rocket {
    width: 160px;
    margin-top: 24px;
  }
  
  .bi-commercial-btn {
    width: 100%;
    max-width: 100%;
  }
  
  .bi-commercial-btn-container {
    justify-content: stretch;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .bi-consult-block {
    padding: 32px 0 32px 0;
  }
  
  .bi-consult-inner {
    gap: 18px;
    padding: 0 4vw;
  }
  
  .bi-consult-title {
    font-size: 1.8em;
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-consult-desc {
    font-size: 1.2em;
    margin-bottom: 18px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .bi-consult-right {
    padding: 18px 4vw 14px 4vw;
    border-radius: 10px;
  }
  
  .bi-consult-rocket {
    width: 100px;
    margin-top: 12px;
  }
  
  .bi-commercial-btn {
    padding: 12px 25px;
    font-size: 0.9em;
    width: 100%;
    max-width: 100%;
  }
  
  .bi-commercial-btn-container {
    margin-top: 15px;
    justify-content: stretch;
    width: 100%;
  }
}
/* === END 9 блок === */

/* --- Стили для 3-го и последующих блоков: отступы по краям как у первых двух блоков --- */
.bi-benefits-inner {
  width: 100vw;
  min-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-left: 94px;
  padding-right: 94px;
  padding-bottom: 94px;
}

@media screen and (max-width: 900px) {
  .bi-benefits-inner {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media screen and (max-width: 600px) {
  .bi-benefits-inner {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
} 
/* Стили для 6 блока   */
/* Удалены дублирующиеся стили для .bi-dashboards-inner - используются основные стили выше */

/* --- Стили для 7-9 блоков: одинаковые боковые отступы, как у первых блоков --- */
.bi-steps-inner,
.bi-tasks-grid,
.bi-consult-inner {
  width: 100vw;
  min-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-left: 94px;
  padding-right: 94px;
}

@media screen and (max-width: 900px) {
  .bi-steps-inner,
  .bi-tasks-grid,
  .bi-consult-inner {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media screen and (max-width: 600px) {
  .bi-steps-inner,
  .bi-tasks-grid,
  .bi-consult-inner {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
} 

/* Картинка справа в .bi-task-card--wide */
.bi-task-card--wide > div {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.bi-task-card--wide img {
  align-self: flex-end;
  margin-left: 32px;
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .bi-task-card--wide > div {
    flex-direction: column;
    gap: 18px;
  }
  .bi-task-card--wide img {
    margin-left: 0;
    margin-top: 18px;
    max-width: 40vw;
    align-self: center;
  }
}
@media (max-width: 600px) {
  .bi-task-card--wide img {
    max-width: 50vw;
  }
} 
