/* === ПРАВКИ ПО ТЕХНИЧЕСКОМУ ЗАДАНИЮ === */

/* Логотип полностью скрыт в шапке (текст убран) */
.header .logo { display: none !important; }

/* Инлайн-иконки */
.ic-inline {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    color: currentColor;
}

/* Шапка — навигация занимает всю ширину */
.header > .container {
    display: flex;
    align-items: center;
    gap: 0;
}
.header__nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    flex-wrap: nowrap;
    min-width: 0;
}
.header__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.header__list li { margin: 0; }
.header__list-link {
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 6px 10px;
}

/* Социалки в шапке */
.header__social {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0 6px 0 auto;
    padding: 0;
    flex-shrink: 0;
}
.header__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: transparent !important;
    color: #111827;
    transition: background 0.18s;
    text-decoration: none;
}
.header__social-link:hover { background: #f3f4f6 !important; }
.header__social-link .ic-inline { width: 20px; height: 20px; }
.header__social-link svg { display: block; }

/* Кнопка «Заказать» — чёрная, компактная */
.header__order-btn {
    display: inline-flex !important;
    align-items: center;
    background: #111827 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap;
    margin-left: 12px;
    flex-shrink: 0;
    width: auto !important;
    min-width: 0 !important;
    transition: background 0.2s;
}
.header__order-btn:hover { background: #374151 !important; }

/* Блок «Почему мы» — иконки */
.why__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fef3c7;
    flex-shrink: 0;
    margin-bottom: 12px;
}
.why__icon svg {
    width: 26px !important;
    height: 26px !important;
    stroke: #d97706;
    fill: none;
    display: block;
}

/* FAQ — кастомный аккордеон */
.faq__item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
.faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}
.faq__question { font-weight: 600; font-size: 15px; flex: 1; }
.faq__summary .ic {
    width: 22px; height: 22px;
    flex-shrink: 0;
    stroke: #6b7280;
    fill: none;
    transition: transform 0.25s;
    display: block;
}
.faq__item.open .faq__summary .ic { transform: rotate(45deg); }
.faq__answer {
    padding: 0 20px 16px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Подвал */
.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12.5px;
    opacity: 0.75;
    margin-top: 8px;
}
.footer__contact .ic-inline { width: 18px; height: 18px; }

/* Авито — пагинация */
.avito__pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.avito__pagination .page-btn:hover {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}
.avito__pagination .page-btn.active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

@media (max-width: 900px) {
    .header__list-link { font-size: 13px !important; padding: 5px 7px; }
    .header__order-btn { padding: 7px 12px; font-size: 13px !important; }
}

/* Блок "Как мы работаем" (process steps) */
.process__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.process__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.process__num {
    font-size: 2rem;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1;
    flex-shrink: 0;
    min-width: 44px;
}
.process__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.process__title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.process__desc {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.55;
}
@media (max-width: 900px) {
    .process__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .process__list { grid-template-columns: 1fr; }
}




/* Ссылки в how-we-work и contacts с подчёркиванием */
.static-page a { text-decoration: underline; }


/* ===== HEADER: одна строка на десктопе ===== */
@media (min-width: 769px) {
  /* Превращаем мобильный overlay в обычный inline flex */
  .header__nav {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }
  /* Горизонтальный список ссылок */
  .header__list {
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
    margin-bottom: 0 !important;
    -webkit-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 0;
    flex-shrink: 1;
    min-width: 0;
  }
  .header__list-link {
    font-size: 12.5px !important;
    padding: 6px 9px !important;
    white-space: nowrap;
    color: var(--dark, #111) !important;
  }
  .header__list-link:hover { text-decoration: underline; }
  /* Кнопка Заказать */
  .header__order-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 14px !important;
  }
  /* Иконки соцсетей внутри nav — показываем */
  .header__nav .header__social {
    display: -webkit-flex !important;
    display: flex !important;
    gap: 6px !important;
    flex-shrink: 0;
  }
  /* Hamburger на десктопе — скрыт */
  .btn__menu {
    display: none !important;
  }
  /* Убираем дублирующий лого-отступ */
  .header .logo { display: none; }
}
