/* Кастомные цвета */
  :root {
    --color-primary: #03753a;
    --color-secondary: #01a652;
    --color-accent: #3989ad;
    --color-accent-light: #49b1e3;
    --color-warning: #ffd50057;
    --color-warning-light: #ffd380;
  }
/*заголовок(h1)--------------------------*/
  .lh-1{
      letter-spacing: 2px;
    line-height: 1.3 !important;
  }
  /*птичка-------------------------------------------*/
  .container.my-5{
    position: relative;
  }
  .calibration__video{
  transform: scaleX(-1) translate(0%, -20px);
  position: absolute;
  top: -90px;
  right: 4%;
}
.calibration__video video{
  width: 300px;
  height: 300px;
}
/*первая секция----------------------------*/
.stage-card {
    padding: 30px;
    margin: 20px 0;
    border: 5px double #ff810091;
    border-radius: 26px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    height: 100%;
    max-height: -webkit-fill-available;
}
.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(253, 126, 20, 0.1);
}
.stage-icon {
    width: 70px;
    height: 70px;
    background: #fd7e14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
    transition: transform 0.3s ease;
}
.stage-number {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #fd7e14;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.stage-title {
    color: #2d2d2d;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.stage-description {
    color: #6c757d;
    line-height: 1.6;
}

/*таблица----------------------------------------------------*/
.pricing-nine {
 border: 1px solid #EDEDED;
 margin-bottom: 30px;
 border-radius: 10px;
 overflow: hidden;
}

.pricing-nine thead tr th {

 vertical-align: middle;
 text-align: center;
}

.pricing-nine i.icon-red {
 color: #f55039;
}

.pricing-nine i.icon-green {
 color: #00E025;
}
/*убираю нижний поддончик из таблицы----------------------*/
    table.table{
      margin-bottom: 0;
    }
tbody td {
    text-align: center !important;
  }
  .bk-color-one {
    background-color: var(--color-primary);
  }

  .bk-color-two {
    background-color: var(--color-accent);
  }

  .bk-color-three {
    background-color: var(--color-secondary);
  }
  .button-color-one {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
  }
  .button-color-one:hover,
  .button-color-one:focus {
    background-color: var(--color-secondary);
  }
  .button-color-two {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
  }
  .button-color-two:hover,
  .button-color-two:focus {
    background-color: var(--color-accent-light);
  }
  .button-color-three {
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
  }
  .button-color-three:hover,
  .button-color-three:focus {
    background-color: var(--color-primary);
  }
  .width-perticular {
    max-width: 300px;
    text-align: left !important;
  }

  /* Стили для выделения столбца "Стандарт" */
  .highlight-column {
    background-color: var(--color-warning-light) !important;
    transform: scale(1.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .highlight-column th,
  .highlight-column td {
    background-color: var(--color-warning-light) !important;
  }

  .highlight-column th {
    background-color: var(--color-warning) !important;
  }

  .highlight-column:hover {
    transform: scale(1.03);
    background-color: var(--color-warning) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
  }

  .btn-custom {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  .btn-custom:hover {
    background-color: var(--color-secondary);
  }

  /*div таблица---------------*/
  div.table.table-hover{
    display: none;
  }
  div.table.table-hover h3{
    text-align: center;
    margin: 15px 0 0px 0;
  }
  div.table.table-hover div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
    margin-bottom: 5px;
  }
  div.table.table-hover p{
    font-weight: 500;
    margin-bottom: 0;
  }
  div.table.table-hover .btn.button-color-two{
    margin-left: 69px;
  }
@media(max-width: 1200px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .stage-card {
        padding: 10px;
    }
    /*перелёт калибри*/
    .calibration__video {
        top: -100px;
        right: 0;
    }
}

@media(max-width: 1128px) {
    /*улёт калибри из потока*/
    .calibration__video {
        display: none;
    }
}

/*контейнер футера и его img........................*/
@media(max-width: 991px) {
    /*обёртка столбиков*/
    .row.position-relative {
        justify-content: center;
    }

    .mb-4 {
        margin-bottom: 0rem !important;
    }

    /*4 столбика в автоматизации*/
    .col-md-3.mb-4 {
        width: 45%;
        border-radius: 10px;
    }

    /*обёртка элементов в столбцах*/
    .stage-card {
        background: aliceblue;
        margin: 10px 0px;
        height: 100%;
        max-height: -webkit-fill-available;
    }
}

@media (max-width: 768px) {

    /*подтягиваем заголовок к header*/
    .my-5 {
        margin-top: 2rem !important;
    }

    /*заголовок(акция)*/
    .lh-1 {
        font-size: clamp(1.1rem, 5.7vw, 3.5rem);
        line-height: 1.1 !important;
        text-align: center;
    }

    /*подзоголовок-------------*/
    .lead {
        font-size: clamp(1rem, 2.9vw, 1.25rem);
        text-align: center;
        line-height: 115%;
    }

    /*улёт калибри из потока*/
    .calibration__video {
        display: none;
    }

    /*сближение 4 элементов находящихся в рамках*/
    .col-md-3.mb-4 {
        padding: 0 0.5%;
    }

    .stage-card {
        margin: 6px 0;
    }

    /*подъём текста*/
    .text-center.mt-5 {
        margin-top: 1rem !important;
    }

    /*центрируем элементы в колонках*/
    .stage-card>h4,
    .stage-card>p {
        text-align: center;
    }
}

@media (max-width: 553px) {
  .pricing-nine{
    margin-bottom: 0;
  }
  table.table.table-hover{
    display: none;
  }
  div.table.table-hover{
    display: block;
  }
}

@media (max-width: 477px) {

    /*подтягиваем заголовок к header/и footer приближаем*/
    .my-5 {
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }

    /*приближаем акцию к шапке*/
    .lh-1 {
        margin-top: 1rem !important;
    }

    /*приближаем окна к секции*/
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /*ставим 4 окна в колоки*/
    .row.position-relative {
        flex-direction: column;
    }

    /*расширяем их*/
    .col-md-3.mb-4 {
        width: 100%;
    }

    /*центрируем элементы в колонках*/
    .stage-card>h4,
    .stage-card>p {
        text-align: center;
    }

    div.table.table-hover div{
      padding: 0 30px;
    }
  div.table.table-hover .btn.button-color-two{
    margin-left: 29px;
  }
}

@media (max-width: 350px) {
    div.table.table-hover div{
      padding: 0 10px;
    }
  div.table.table-hover .btn.button-color-two{
    margin-left: 10px;
    padding: 2px 8px;
  }
  .btn.btn-custom.btn-lg{
    padding: 4px 10px;
  }
}