/* 1. Глобальные настройки для всей страницы */
html, body {
    background-color: #021118 !important; /* Насильно ставим темный фон */
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Растягиваем фон на всю высоту экрана */
}

/* 2. Основной контейнер */
.main-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Центрируем */
    /* 120px сверху — это запас, чтобы не заезжать под шапку (100px шапка + 20px отступ) */
    box-sizing: border-box;
   background-color: #021118;  
  /*   background: cover url('../../images_fon/fon_header.jpg') no-repeat center;;   */
   padding-left:20px;
   padding-right:20px;
   padding-top:115px; 
   padding-bottom:60px

}

/* 3. Рамки блоков */
.main-container .block {
    border: 1px solid #00D4FF;
    padding: 20px;
    box-sizing: border-box;
    background-color: #021118; /* Чтобы блоки не были прозрачными */
}

/* 4. Колонки и ряды */
.content-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-column {
    flex: 1;
}

.middle-row {
    display: flex;
    gap: 20px;
}


/* 5. Изображение лисы */
.image-block {
    flex: 0 0 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-block-praw {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fox-img {
    max-width: 100%;
    height: auto;
}
.brief-img {
    max-width: 49%;
    height: auto;
}

.text-info-block {
    flex: 1;
}

/* 6. Высота формы */
.full-height-block {
    height: 100%;
}

/* 7. Адаптивность для мобильных */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding-top: 110px; /* Чуть меньше отступ на мобильных */
    }
    
    .middle-row {
        flex-direction: column;
    }
    
    .image-block {
        flex: none;
        width: 100%;
    }
}



#formStatus {
    color: #ffffff !important; /* Белый цвет текста */
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

/* Стили для элементов FAQ */
.faq-item {
    border-bottom: 1px solid rgba(0, 212, 255, 0.3); /* Тонкая разделительная линия */
    padding: 15px 0;
    transition: background 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none; /* Убираем линию у последнего вопроса */
}

/* Заголовок вопроса */
.faq-item summary {
    list-style: none; /* Убираем стандартную стрелочку */
    cursor: pointer;
    font-weight: 500;
    color: #00D4FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

/* Создаем свою стрелочку через псевдоэлемент */
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Поворачиваем плюс, когда вопрос открыт (превращаем в минус или крестик) */
.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: white;
}

/* Блок с ответом */
.faq-answer {
    padding-top: 10px;
    padding-left: 10px;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Эффект при наведении */
.faq-item summary:hover {
    color: white;
}


/*    *********   FAQ  Для контактов    ********* */
.faq {
  background: cover url('../../images_fon/fon_header.jpg') no-repeat center;; padding-left:0; padding-right:0; padding-top:10px; padding-bottom:10px
}

.faq__title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: center;
  color: #00D4FF;
}

.faq__list {
  max-width: 940px;
  background: #fff;
  margin-left: 23%;
  margin-right: 10%;
  background: url("../images_fon/fon_header.jpg") center/cover no-repeat;
  background: #021118;	
}

.faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: 0.3s;
}

.faq__item:hover {
  border-color: rgba(0,0,0,0.2);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  padding-left: 15px;
  font-size: 18px;
  color: #00D4FF;
  display: flex;
  justify-content: left;   /*  space-between; */
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq__question span {
  max-width: 90%;
}

.faq__arrow {
  width: 18px;
  height: 18px;
  stroke: #333;
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.4s ease;
  color: #fff;
}

.faq__item.active .faq__arrow {
  transform: rotate(180deg);
  color: #fff;

}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-left: 15px;
  color: #fff;
  text-align: left;
  font-family: "Trebuchet MS";
  font-size: 11pt;
 
}

.faq__answer p {
  padding-bottom: 20px;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
}


.faq__arrow {
  width: 40px;
  height: 40px;
  stroke: #fff;        /* < вот это главное */
  fill: none;          /* чтобы не было заливки */
  stroke-width: 2;
}

@media (max-width: 600px) {
  .faq__list {
    margin-left: 10%;
  margin-right: 10%;  }
}

/*    *********   Форма связи    ********* */

/* Правая колонка */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.greeting-box,
.form-box {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid #444;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
 
}

.greeting-box h2 {
  color: #4caf50;
  margin-bottom: 10px;
}

.form-box h3 {
  margin-bottom: 15px;
  text-align: center;
}



/* Форма */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  background:  #606060;                 /*   #010a10; */
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00b4d8;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 180, 216, 0.6);
}

.send-btn {
  background-color: #00b4d8;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.send-btn:hover {
  background-color: #0095b6;
  transform: translateY(-2px);
}

.send-btn:active {
  transform: translateY(0);
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

.form-status.success {
  color: #4caf50;
}

.form-status.error {
  color: #ff5252;
}