

@font-face {
  font-family: Exo-Black;
  src: url(../font/Exo-Black.ttf);
}


.search_foot {
  background-color: #000000;
}


.search_foot_bg {
  position: relative;
  overflow: hidden;         /* обрезаем фон по границам */
  background: none; 
  background-color: #000000;
}

.search_foot_bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/search/bg.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  /* если нужен тот же размер, что и раньше */
  background-size: 2000px 638.5px;
  transform-origin: center;
  animation: breathe_foot_search 10s ease-in-out infinite alternate;
  pointer-events: none;     /* клики будут «сквозь» */
  z-index: 0;
}

@keyframes breathe_foot_search {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.5);
  }
}


         /* ======  Inner  ======  */

    .search_foot_inner {
      display: flex;
      flex-direction: column; 
      align-items: center;      /* по вертикали */
      justify-content: center;  /* по горизонтали */
      margin: 0 auto;  /* Центрируем по горизонтали */
      max-width: 1154px;  /* Максимальная ширина */
      height: auto;
      box-sizing: border-box;  /* Включаем отступы в расчет размера */
          position: relative;
          z-index: 1;
    }
    
    /* Добавляем отступы слева и справа, но не изменяем ширину */
    @media (max-width: 1154px) {
      .search_foot_inner {
        margin-left: 40px;  /* Отступ слева */
        margin-right: 40px;  /* Отступ справа */
      }
    }


    /* =========== HEAD =========== */


         /* ======  Tag  ======  */

         .search_foot_tag {
            display: flex;
            align-items: center;
            align-items: center;       /* центрирование по вертикали */
            cursor: pointer;
            margin-top: 68px;
         }

         .search_foot_tag_square {
            width: 12px;
            height: 12px;
            border-radius: 0px;
            background-color: #d42121;
            margin-right: 9px;
            transition: width 0.3s ease; /* плавное изменение ширины */
         }
         
         .search_foot_tag:hover .search_foot_tag_square {
            width: 5px;    /* При ховере по контейнеру квадратик сжимается */
         }

         .search_foot_tag_txt {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 15.5px;
            font-weight: normal;
            color: #ffffff;
         }


         /* ======  Title  ======  */

    .search_foot_title {
      max-width: 800px;
      text-align: center;
      font-family: Exo-Black;
      font-weight: normal;
      font-size: 51px;
      line-height: 66px;
      color: #ffffff;
            margin-top: 27px;
            margin-bottom: 6px;
          box-sizing: border-box;  /* Включаем отступы в расчет размера */
    }

    .search_foot_descr {
      max-width: 800px;
      text-align: center;
      font-family: Helvetica, sans-serif; 
      font-weight: normal;
      font-size: 18px;
      line-height: 30px;
      color: #bdbdbd;
          box-sizing: border-box;  /* Включаем отступы в расчет размера */
    }



         /* ======  Form  ======  */

         .search_foot_input {
            display: flex;
            max-width: 654px; /* Максимальная ширина контейнера */
            width: 100%; /* Это гарантирует, что контейнер не будет шире заданной максимальной ширины */
            height: 57px;
            background-color: #ffffff;
            border-radius: 11px;
            margin-top: 24px;
            margin-bottom: 38px;
         }

        .search_foot_input input[type="text"] {
            width: 100%;
            width: 600px;
            height: 57px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 16.5px;
            padding-left: 18px;
            box-sizing: border-box;
            margin-right: 0px;
            border: 0px solid #757575;
            border-right: none;  /* Скрываем границу */
            border-top-left-radius: 11px;
            border-top-right-radius: 0px;
            border-bottom-left-radius: 11px;
            border-bottom-right-radius: 0px;
        }

        .search_foot_input input[type="text"]::placeholder {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 16.5px;
            font-style: normal;
            color: #888888;
        }

        .search_foot_input input[type="text"]:focus {
            outline: none;  /* Убирает синюю обводку формы */
        }


.search_foot_input button {
    width: auto;
    height: 47px;
    margin-top: 5px;
    margin-right: 5px;
    padding: 0 22px;
    background: #000000;
    border: none;
    border-radius: 11px;
      text-align: center;
      font-family: Helvetica, sans-serif; 
      font-weight: bold;
      font-size: 16.6px;
      color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search_foot_input button:hover {
    background-color: #2b2b2b;
}


         /* ======  Bubles  ======  */

    .search_foot_buble {
      display: flex;
      flex-direction: column; 
            margin-bottom: 70px;
    }

    .search_foot_buble_title {
      max-width: 800px;
      text-align: center;
      font-family: Helvetica, sans-serif; 
      font-weight: normal;
      font-size: 15px;
      letter-spacing: 0.2px;    /* Расстояние меджу буквами */
      color: #ffffff;
            margin-bottom: 20px;
          box-sizing: border-box;  /* Включаем отступы в расчет размера */
    }

.search_foot_buble_group {
  display: flex;
  flex-direction: row;   /* вместо raw */
  flex-wrap: wrap;       /* разрешаем перенос */
  gap: 12px;             /* задаёт и горизонтальный, и вертикальный отступ */
  align-items: center;   /* по вертикали внутри строки */
  justify-content: center; /* по горизонтали */
  margin: 0 auto 14px;
      max-width: 600px;
}

.search_foot_buble_item {
    display: inline-flex;             /* строковый flex-блок */
    align-items: center;              /* вертикальное центрирование */
    justify-content: center;          /* горизонтальное центрирование */
    height: 36px;
    padding: 0 16px;
    background: #272727;
    border: none;
    border-radius: 5px;               /* добавил px */
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search_foot_buble_item:hover {
    background-color: #4e4e4e;
}

.search_foot_buble_item a {
    color: inherit;                   /* наследуем цвет текста контейнера */
    text-decoration: none;
    display: block;                   /* чтобы ссылка занимала весь контейнер */
    width: 100%;
    height: 100%;
    line-height: 36px;                /* на всякий случай */
}



