
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f3;
    color: #222;
}
.mobile-slide-menu{
  display: none;
}

.breadcrumbs{
    max-width:1200px;
    margin:25px auto;
    padding:0 20px;
    font-size:15px;
    color:#777;
    margin-top: 190px;
}

.breadcrumbs a{
    color:#777;
    text-decoration:none;
}

.breadcrumbs a:hover{
    color:#000;
}

.breadcrumbs span{
    color:#222;
}

.breadcrumbs .sep{
    margin:0 8px;
    color:#bbb;
}

@media(max-width:768px){
    .breadcrumbs{
        margin:15px auto;
        font-size:14px;
        margin-top: 70px;
    }
}
/* =========================
   HEADER
========================= */
.header{
    width:100%;
    min-height:166px;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;
}

.header-top{
    max-width:1320px;      /* или 1400px */
    margin:0 auto;
    padding:0 40px;        /* отступы слева и справа */
    height:110px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.header-bottom{
    max-width:1920px;
    height:56px;
    margin:0 auto;
    padding:0 50px;
    display:flex;
    align-items:center;
    border-top:1px solid #ececec;
}


/* =========================
LOGO
========================= */

/* Логотип */

.header-logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.header-logo img{
    width:293px;
    height:38px;
    display:block;
    object-fit:contain;
}
.header-contact{
    display:flex;
    flex-direction:column;
    align-items:center;   /* центрируем весь блок */
}

/* Иконка + номер */

.phone-row{
    display:flex;
    align-items:center;
    justify-content:center; /* центрируем содержимое */
    gap:8px;
}

/* Контейнер иконки */

.phone-icon{
    width:20px;
    height:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;
}

/* Изображение */

.phone-icon img{
    width:16.61px;
    height:16.56px;
    display:block;
}

/* Телефон */

.header-phone{
    font-family:Arial, sans-serif;
    font-weight:700;
    font-size:17px;
    line-height:100%;
    letter-spacing:0;

    color:#000;
    text-decoration:none;
    white-space:nowrap;
}

.header-phone:hover{
    color:#d18d3f;
}

/* График */

.header-time{
    margin-top:6px;

    font-family:Arial, sans-serif;
    font-weight:700;
    font-size:14px;
    line-height:100%;
    letter-spacing:0;
    text-transform:uppercase;

    color:#000;
    text-align:center; /* текст тоже по центру */
}
/* =========================
SOCIAL
========================= */
/* =========================
SOCIALS
========================= */

.header-socials{
    display:flex;
    align-items:center;
    gap:8px;
}

/* VK и Telegram */

.social-item{
    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.25s;
}

.social-item img{
    width:32px;
    height:32px;
    display:block;
}

.social-item:hover{
    transform:translateY(-2px);
}

/* MAX */

.social-max img{

    display:flex;
    align-items:center;
    justify-content:center;


    background:#fff;

    font-family:Arial, sans-serif;
    font-size:24px;
    font-weight:700;
    color:#6E4A32;

    text-decoration:none;

    transition:.25s;

    width: 95px;
height: 62px;
top: 63px;
left: 1119px;
angle: 0 deg;
opacity: 1;
border-radius: 58.5px;

}

.social-max:hover{
    opacity:.8;
}
/* =========================
BUTTON
========================= */

.bankrupt-btn{
    background:#DFAC62;
    color:#fff !important;
    border:none;
    padding:14px 28px;
    cursor:pointer;
    transition:.3s;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:270px;


    width: 344;
height: 55;
top: 40px;
left: 1273px;
angle: 0 deg;
opacity: 1;
border-radius: 8.17px;

}

.bankrupt-btn span{
    font-size:15px;
    font-weight:700;
}

.bankrupt-btn small{
    font-size:12px;
    margin-top:4px;
}


/* =========================
   НИЖНЕЕ МЕНЮ
========================= */

.header-bottom{
    height:56px;
    border-top:1px solid #E8E8E8;
    background:#fff;
}

.header-bottom-inner{
    max-width:1320px;
    height:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    padding:0;
}

/* Город */

.city-switch{
    display:flex;
    align-items:center;
    flex-shrink:0;
    margin-right:28px;
}

.city-icon{
    width:15px;
    height:15px;
    margin-right:8px;
}

.city-switch select{
    border:none;
    background:transparent;
    outline:none;
    cursor:pointer;
    appearance:none;

    font-family:Arial;
    font-weight:700;
    font-size:14px;
    line-height:100%;
    letter-spacing:0;
    color:#2B2B2B;
}

/* Навигация */

.header-nav{
    display:flex;
    align-items:center;
    gap:28px; /* расстояние между пунктами */
    flex:1;
}

.header-nav a{
    display:flex;
    align-items:center;
    height:56px;

    font-family:Arial, sans-serif;
    font-weight:700;
    font-size:14px !important; /* было 14px */
    line-height:100%;
    letter-spacing:0;

    color:#2B2B2B;
    text-decoration:none;
    white-space:nowrap;

    transition:.2s;
}

.header-nav .subcategory-item:hover{
    color:#B07B39;
}




/* ==========================
   MOBILE HEADER
========================== */

.mobile-header{
    display:none;
}

@media (max-width:768px){

/* Скрываем десктопную шапку */

.header{
    display:none;
}



/* Показываем мобильную */

.mobile-header{

    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;
    height:48px;

    padding:0 12px;
    box-sizing:border-box;

    background:#fff;

    position:fixed;
    top:0;
    left:0;
    right:0;
   

    z-index:9999;

}

/* ---------- Логотип ---------- */

.mobile-info {
    line-height: 1;
}

.mobile-time {
    margin: 0 !important;
    line-height: 1.1 !important;
}

.mobile-socials {
    margin: 0 !important;
    line-height: 1 !important;
}

.mobile-phone {
    margin: 0 !important;
    line-height: 1.1 !important;
}

.mobile-logo{
    display:block !important;
    width:165px !important;
    flex:none !important;
        overflow:hidden;

}

.mobile-logo img{
    display:block !important;
    width:165px !important;
    height:auto !important;
    visibility:visible !important;
    opacity:1 !important;
}
.mobile-logo img{
    margin-top: 10px!important;
}
/* ---------- Центральный блок ---------- */

.mobile-info{
    flex:1;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    margin:0 6px;
}

/* Время */

.mobile-time{

    font-family:Arial,sans-serif;
    font-weight:700;
    font-size:6px;
    line-height:100%;

    text-transform:uppercase;

    color:#5C3D2A;

    margin-bottom:3px;

    white-space:nowrap;
}

.mobile-city-switch{
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px 20px;
    border-bottom:1px solid #eee;
}

.mobile-city-switch .city-icon{
    width:18px;
    height:18px;
}

.mobile-city-switch select{
    width:100%;
    padding:8px 10px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    background:#fff;
}

/* Соцсети */

.mobile-socials{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:4px;

    margin-bottom:3px;
}

.mobile-socials img{
    display:block;
}

.mobile-socials img:not(.max){
    width:16px;
    height:16px;
}

.mobile-socials .max{
    width:44px;
    height:auto;
}

/* Телефон */

.mobile-phone{

    display:flex;
    align-items:center;

    gap:3px;

    text-decoration:none;

    font-family:Arial,sans-serif;
    font-weight:700;
    font-size:7px;

    color:#5C3D2A;
}

.mobile-phone img{

    width:7px;
    height:7px;
}

/* ---------- Бургер ---------- */

.mobile-menu-btn{

    width:24px;
    height:18px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    gap:3px;

    border:none;
    background:none;
    padding:0;

    cursor:pointer;

    flex-shrink:0;
}

.mobile-menu-btn span{

    width:24px;
    height:2px;

    background:#6A4A34;

    border-radius:2px;
}

}


@media (max-width:768px){

.mobile-slide-menu{
    position:fixed;
    top:0;
    right:-280px;

    width:280px;
    height:100vh;

    background:#fff;

    transition:.35s;

    z-index:99999;

    padding-top:70px;

    box-shadow:-5px 0 20px rgba(0,0,0,.2);

    display:flex;
    flex-direction:column;
}

.mobile-slide-menu.active{
    right:0;
}

.mobile-slide-menu a{
    padding:16px 20px;
    text-decoration:none;
    color:#333;
    font-weight:700;
    border-bottom:1px solid #eee;
}

.menu-overlay{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:99998;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

}
.question-agree a {
    color: #c89b4d; /* ваш золотой цвет */
    text-decoration: underline;
    font-weight: 600;
}

.question-agree a:hover {
    opacity: 0.8;
}

.back-link{
  margin-left:20px;
  margin-right:30px;
  text-decoration:none;
  font-size:18px;
  color:#888;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:6px;
  transition:.3s;
}
/* =========================
   ПОДКАТЕГОРИИ
========================= */

.subcategories {
    width: 100%;
    background: #fff;

    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3;

    padding: 14px 0;
}

/* контейнер */

.subcategories-inner {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 14px;

    padding-left: 150px; /* двигаем под логотип */
}

/* категории */

.subcategory-item {
    position: relative;

    text-decoration: none;

    color: #444;

    font-size: 14px;
    font-weight: 600;

    padding: 10px 16px;

    border-radius: 10px;

    transition: all 0.25s ease;
}

/* hover */

.subcategory-item:hover {
    background: #faf7f2;
    color: #c58b3e;
}

/* золотая линия */

.subcategory-item::after {
    content: "";

    position: absolute;

    left: 16px;
    bottom: 6px;

    width: 0;
    height: 2px;

    background: #d6a15d;

    transition: 0.25s ease;
}

.subcategory-item:hover::after {
    width: calc(100% - 32px);
}

/* MOBILE */

@media (max-width: 768px) {

    .subcategories {
        padding: 10px 0;
    }

    .subcategories-inner {

        padding-left: 12px;

        overflow-x: auto;
        scrollbar-width: none;

        gap: 8px;
    }

    .subcategories-inner::-webkit-scrollbar {
        display: none;
    }

    .subcategory-item {
        flex: 0 0 auto;

        font-size: 13px;

        padding: 8px 12px;
    }
}
.back-link:hover{
  color:#000;
}

.mobile-back{
  display:none;
}



/* HEADER */
.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.qa-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.qa-header p {
  color: #666;
}

.qa-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa-logo img {
  width: 470px; /* подгони под макет */
  height: auto;
}
/* ПОИСК */
.qa-search {
  position: relative;
  margin: 20px 0;
}

.qa-search input {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.qa-search img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
}

.consultation {
  padding: 20px;
  margin-top: 50px;
}

.consultation-box {
  max-width: 1300px;
  margin: 0 auto;

  background: #fff;
  border: 2px solid #41240C;

  padding: 28px;

  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.consultation-left {
  flex: 1;
}

.consultation-left h1 {
  font-size: 42px;
  color: #5b3925;
  margin-bottom: 22px;
  line-height: 1.1;
}

.consultation-text {
  font-size: 22px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 28px;
}

.consultation-question {
  font-size: 26px;
  color: #5b3925;
  line-height: 1.5;
  margin-bottom: 30px;
}

.consultation-bottom {
  display: flex;
  align-items: center;
  gap: 25px;
}

.consultation-btn {
  background: #8b5a36;
  color: #fff;

  border: none;
  border-radius: 8px;

  height: 62px;
  padding: 0 28px;

  font-size: 22px;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 18px;

  cursor: pointer;
  transition: .25s;
}

.consultation-btn span {
  width: 28px;
  height: 28px;

  border: 2px solid #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.consultation-btn:hover {
  background: #744827;
}

.consultation-note {
  max-width: 320px;
  font-size: 22px;
  line-height: 1.4;
  color: #5b3925;
  font-weight: 600;
}

.consultation-image {
  display: flex;
  align-items: flex-start;
}

.consultation-image img {
  width: 450px;
  height: 265px;
  object-fit: cover;
margin-left: -10px;
  margin-top: 8px;
}
.consultation-left {
  flex: 1;
  padding-right: 5px;
}
/* OVERLAY */
.question-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.55);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* МОДАЛКА */
.question-modal {
  width: 620px;
  max-width: 95%;

  background: #f3f3f3;

  border-radius: 10px;

  padding: 22px;

  position: relative;
}

/* КРЕСТИК */
.question-close {
  position: absolute;
  top: 14px;
  right: 16px;

  font-size: 20px;
  cursor: pointer;
  color: #555;
}

/* TITLE */
.question-modal h2 {
  margin: 0 0 18px;
  font-size: 38px;
  color: #222;
}

/* INPUTS */
.question-modal input,
.question-modal textarea {
  width: 100%;

  border: 1px solid #9d9d9d;
  border-radius: 5px;

  padding: 14px;

  font-size: 15px;

  margin-bottom: 12px;

  background: #fff;
}

/* TEXTAREA */
.question-modal textarea {
  height: 120px;
  resize: none;
}

/* BUTTON */
.question-modal button {
  width: 300px;
  height: 56px;

  display: block;
  margin: 8px auto 18px;

  border: none;
  border-radius: 6px;

  background: #6b4127;
  color: #fff;

  font-size: 18px;
  font-weight: 500;

  cursor: pointer;
  transition: .25s;
}

.question-modal button:hover {
  background: #5b341d;
}

/* CHECKBOX */
.question-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  font-size: 13px;
  line-height: 1.35;

  color: #333;
}

.question-agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;

  accent-color: #6b4127;
}

.categories {
  padding: 20px 0 10px;
}

.categories-container {
  max-width: 1100px;
  margin: 0 auto;

  background: #fff;
  border: 1px solid #cfcfcf;

  padding: 18px 20px;
}

.categories-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #222;
}

/* СПИСОК */
/* Контейнер списка категорий — 4 колонки */
.categories-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ровно 4 кнопки в ряду */
    gap: 12px 16px; /* вертикальный и горизонтальный отступ */
    margin-bottom: 28px;
}

/* Каждая кнопка категории */
.category-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f5f5f5;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.category-btn:hover {
    background: #efefef;
}

.category-btn.active {
    background: #d89c4a;
    color: #000;
}


/* HOVER */
.category-btn:hover {
  background: #efefef;
}

/* SEARCH */
.categories-search {
  position: relative;
}

.categories-search input {
  width: 100%;
  height: 46px;

  border: 1px solid #bdbdbd;
  border-radius: 6px;

  padding: 0 55px 0 18px;

  font-size: 16px;
}

.categories-search button {
  position: absolute;
  right: 14px;
  top: 50%;

  transform: translateY(-50%);

  border: none;
  background: transparent;

  font-size: 24px;
  cursor: pointer;
}

.categories-search button {
  position: absolute;
  right: 14px;
  top: 50%;

  transform: translateY(-50%);

  border: none;
  background: transparent;

  cursor: pointer;

  padding: 0;
}

.categories-search button img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.popular-articles {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  font-family: sans-serif;
  border: 1px solid #ccc; /* рамка вокруг блока */
  border-radius: 8px;     /* скругление углов */
  background-color: #fff;
}

.popular-articles .header1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.popular-articles .header h2 {
  font-size: 24px;
  font-weight: bold;
}

.navigation button {
  border: 1px solid #000;
  background: none;
  padding: 5px 15px;
  margin-left: 5px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.article-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
  transition: transform 0.2s;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-card p {
  padding: 10px;
  font-size: 16px;
  line-height: 1.4;
}

.popular-articles .article-card {
  color: inherit;          /* наследует цвет текста, вместо синего */
  text-decoration: none;   /* убирает подчеркивание */
  cursor: pointer;         /* можно оставить курсор указателя */
}

/* Если нужно, чтобы при наведении ничего не менялось */
.popular-articles .article-card:hover {
  color: inherit;
  text-decoration: none;
}

.header1 a {
      color: inherit;          /* наследует цвет текста, вместо синего */
  text-decoration: none;   /* убирает подчеркивание */
  cursor: pointer
}







/* ===== FOOTER ===== */
/* ПОДКЛЮЧИ ЭТОТ ШРИФТ — ОЧЕНЬ ВАЖНО */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

.footer {
  background: #efefef;
  padding: 38px 0 28px;
  font-family: 'Montserrat', sans-serif;
  color: #2d2d2d;
}

/* контейнер как в макете */
.footer__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* ===== TOP ===== */
.footer__top {
  display: grid;
  grid-template-columns: 260px 220px 260px 200px;
  align-items: center;
  column-gap: 40px;
  margin-bottom: 32px;
}

/* ЛОГО */
.footer__logo img {
  width: 284px;
  height: 37px;
}

/* СОЦСЕТИ */
.footer__socials {
margin-top: 20px;
    margin-left: 100px;
  display: flex;
  gap: 12px;
}

.icon-max {
  height: 56px;
  width: auto;
  margin-top: 3px;
}

.footer__socials img.icon-max {
  height: 66px;
  width: auto;
  margin-top: -13px;
}

.footer__socials img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* ТЕЛЕФОН */
.footer__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  margin-left: 100px;
  white-space: nowrap;

}

.footer__phone img {
  width: 26px;
  height: 26px;
}

/* КНОПКА */
.footer__btn {
  width: 175px;
  height: 50px;
  background: #d89c4a;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 100px;
  white-space:nowrap;

}

/* ===== MIDDLE ===== */
.footer__middle {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  font-size: 18px;
  color: #444;
  margin-bottom: 28px;
}

.footer__col--center {
  line-height: 1.6;
}

.footer__col{
    margin-left: 70px;

}

/* ===== TEXT ===== */
.footer__text {
  text-align: center;
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  max-width: 880px;
  margin: 0 auto 22px;
}

/* ===== POLICY ===== */
.footer__policy {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.footer__policy a{
  color: black; /* цвет текста как у обычного текста */
  text-decoration: none; /* убрать подчёркивание */
  cursor: pointer; /* курсор-указатель при наведении */
}

.footer__polic a:hover {
  text-decoration: underline; /* подчёркивание при наведении (опционально) */
}

.footer__policy a{
  color: black; /* цвет текста как у обычного текста */
  text-decoration: none; /* убрать подчёркивание */
  cursor: pointer; /* курсор-указатель при наведении */
}

.footer__polic a:hover {
  text-decoration: underline; /* подчёркивание при наведении (опционально) */
}


.header a{
  font-size: 24px;
  color: black; /* цвет текста как у обычного текста */
  text-decoration: none; /* убрать подчёркивание */
  cursor: pointer; /* курсор-указатель при наведении */
}

.header a:hover {
  text-decoration: underline; /* подчёркивание при наведении (опционально) */
}

/* окно больше */
.callback-modal {
  background: #fff;
  width: 500px;              /* ⬅️ больше */
  max-width: 95%;
  padding: 45px 40px;       /* ⬅️ больше воздуха */
  border-radius: 14px;
  text-align: center;
  position: relative;
}
.callback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.callback-close {
  position: absolute;
  top: 15px;     /* отступ сверху */
  right: 15px;   /* отступ справа */
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* заголовок */
.callback-title {
  font-size: 32px;
  margin-bottom: 12px;
}

/* текст под заголовком */
.callback-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* инпуты */
.callback-modal input[type="text"],
.callback-modal input[type="tel"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

/* чекбокс блок */
.callback-agree {
  display: flex;
  align-items: center;   /* ⬅️ ключевое: по центру */
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: left;
}

/* чекбокс фикс */
.callback-agree input {
  margin: 0;             /* ⬅️ убираем кривые отступы */
  width: 16px;
  height: 16px;
  flex-shrink: 0;
   accent-color: #e6a85c;
}

/* текст */
.callback-agree span {
  display: inline;
}

/* ссылка */
.callback-agree a {
  color: #e6a85c;
  text-decoration: underline;
}

/* кнопка */
.callback-modal button {
  width: 100%;
  padding: 16px;
  background: #e6a85c;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

/* низ */
.callback-bottom {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

/* БЛОК С ВОПРОСАМИ */
.questions-section {
  padding: 30px 0 60px;
  background: #f7f7f7;
}

.questions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* КАРТОЧКА ВОПРОСА */
.question-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* ШАПКА */
.question-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}

.question-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #2f2f2f;
}

.question-card__date {
  font-size: 13px;
  color: #9b9b9b;
  white-space: nowrap;
}

/* ТЕКСТ ВОПРОСА */
.question-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 16px;
}

/* ТЕГИ */
.question-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.question-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #d59a4a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}

/* НИЖНЯЯ ЧАСТЬ */
.question-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #f1f1f1;
  padding-top: 14px;
}

.question-card__answer {
  font-size: 14px;
  color: #8a8a8a;
}

.question-card__link {
  font-size: 14px;
  font-weight: 600;
  color: #7a5634;
  text-decoration: none;
  transition: 0.2s;
}

.question-card__link:hover {
  color: #d59a4a;
}

/* OVERLAY */

.answer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999;
  padding: 20px;
}

/* ACTIVE */

.answer-overlay.active {
  display: flex;
}

/* MODAL */

.answer-modal {
  width: 100%;
  max-width: 760px;

  background: #efefef;
  border-radius: 8px;

  position: relative;

  padding: 18px;

  font-family: 'Montserrat', sans-serif;

  box-shadow: 0 15px 40px rgba(0,0,0,0.25);

  animation: modalFade .2s ease;
}

/* CLOSE */

.answer-close {
  position: absolute;
  top: 12px;
  right: 14px;

  border: none;
  background: none;

  font-size: 22px;
  cursor: pointer;

  color: #fff6f6;
}

/* HEADER */

.answer-top {
  margin-bottom: 18px;
}

.answer-title-wrap {
  background: #6b4128;

  border-radius: 6px;

  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.question-card__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.question-tag {
  background: #d79b4b;
  color: #fff;
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.answer-title {
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.answer-date {
  color: #f1d8c8;
  font-size: 14px;
  white-space: nowrap;
}

/* SPECIALIST */

.answer-specialist {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 18px;
}

.answer-specialist-icon {
  width: 52px;
  height: 52px;

  flex-shrink: 0;
}

.answer-specialist-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.answer-specialist-name {
  font-size: 24px;
  font-weight: 500;
  color: #222;
}

/* CONTENT */

.answer-content {
  background: #fff;

  border: 1px solid #d8d8d8;
  border-radius: 14px;

  padding: 22px;

  font-size: 18px;
  line-height: 1.8;

  color: #2b2b2b;

  max-height: 60vh;
  overflow-y: auto;

  white-space: pre-line;

  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

/* АБЗАЦЫ */
.answer-content p {
  margin: 0 0 18px;
}

/* СПИСКИ */
.answer-content ul,
.answer-content ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.answer-content li {
  margin-bottom: 10px;
}

/* ВЫДЕЛЕНИЕ */
.answer-content strong {
  color: #6b4128;
  font-weight: 700;
}

/* ЗАГОЛОВКИ */
.answer-content h3 {
  font-size: 22px;
  margin: 25px 0 15px;
  color: #6b4128;
}

/* ЦИТАТА */
.answer-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;

  border-left: 4px solid #d79b4b;

  background: #faf7f2;

  color: #555;
}

/* ANIMATION */

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* АДАПТИВ */
@media (max-width: 768px) {
  .question-card {
    padding: 18px;
    border-radius: 20px;
  }
  .mobile-back{
    display:block;
    padding: 10px 12px 0;
    background:#f3f3f3;
  }

  .mobile-back a{
    display:inline-flex;
    align-items:center;
    gap:6px;

    font-size:18px;
    font-weight:500;

    color:#222;
    text-decoration:none;

    font-family:'Montserrat', sans-serif;
  }

  .question-card__header,
  .question-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .question-card__date {
    white-space: normal;
  }
}



@media (max-width: 768px) {

  .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 10px;
  }

  /* ЛОГО */
  .logo {
    order: 1;
  }

  .logo img {
    width: 91px;
    height: auto;
    margin: 0;
  }

  /* ТЕЛЕФОН — теперь перед иконками */
  .header-phone {
    order: 2;
    margin: 0;
    gap: 4px;
  }

  .header-phone img {
    width: 14px;
    height: 14px;
  }

  .header-phone span {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* СОЦСЕТИ — самые правые */
  .header-socials {
    order: 3;
    margin: 0;
    gap: 6px;
    display: flex;
    align-items: center;
  }

  .header-socials img {
    width: 22px;
    height: 22px;
  }

  /* MAX — делаем больше и аккуратнее */
  .social-max img {
    margin-left: -10px;
    height: 36px;
    width: auto;
  }

  /* КНОПКУ УБИРАЕМ */
  .footer__btn {
    display: none;
  }


    .faq-hero {
    margin: 20px 10px;
    border-radius: 16px;
  }

  /* КАРТИНКА */
  .faq-hero__image {
    height: 140px;
    border-radius: 16px;
  }

  /* УБИРАЕМ FLEX В СТРОКУ */
  .faq-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  /* ЛЕВАЯ ЧАСТЬ */
  .faq-left {
    margin: 0;
  }

  /* ЗАГОЛОВОК */
  .faq-hero h1 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  /* ТЕКСТ */
  .faq-hero p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  /* ПОИСК */
  .faq-search {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .faq-search input {
    width: 100%;
    padding: 16px 50px 16px 16px;
    font-size: 15px;
    border-radius: 12px;
  }

  .search-btn {
    right: 10px;
    width: 36px;
    height: 36px;
  }

  /* ТЕГИ */
  .faq-tags {
    margin: 10px 0 0;
    gap: 8px;
    height: auto;
    padding: 0 16px 16px;
  }

  .faq-tags button {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 20px;
  }

  .articles-list {
    padding: 0 10px;
  }

  /* КАРТОЧКА */
  .article-card {
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: 14px;
    margin: 20px 0;
    border-radius: 16px;
    gap: 12px;
  }

  /* КАТЕГОРИЯ СВЕРХУ */
  .card-category-wrap {
    justify-content: center;
    gap: 10px;
  }

  .category-logo {
    width: 36px;
    height: 36px;
  }

  .card-category {
    width: auto;
    height: 36px;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 20px;
  }

  /* КАРТИНКА */
  .card-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
  }

  /* КОНТЕНТ */
  .card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* ЗАГОЛОВОК */
  .card-content h2 {
    font-size: 20px;
    line-height: 1.3;
    margin: 5px 0;
  }

  /* ТЕКСТ */
  .card-content p {
    font-size: 14px;
    margin-bottom: 5px;
  }

  /* МЕТА (иконки в ряд) */
  .card-meta {
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
  }

  .meta-item {
    gap: 5px;
  }

  .meta-item img {
    width: 16px;
    height: 16px;
  }

  .card-meta span {
    font-size: 13px;
  }

  /* КНОПКА */
  .show-more-btn {
    width: calc(100% - 20px);
    margin: 10px auto 20px;
    font-size: 14px;
    padding: 12px;
    border-radius: 12px;
  }

    .qa-section {
    width: 90%; /* вместо 1100px */
    margin: 30px auto; /* уменьшаем отступы */
  }

  .qa-header {
    flex-direction: column; /* складываем элементы друг под другом */
    align-items: flex-start;
  }

  .qa-header h2, .qa-header p {
    margin-bottom: 10px;
  }

  .qa-logo img {
    width: 100%; /* лого занимает всю ширину */
    max-width: 300px; /* ограничение по ширине */
  }
   .qa-search input {
    padding: 10px; /* уменьшаем отступы внутри поля */
    font-size: 16px; /* увеличиваем шрифт для удобства */
  }

  .qa-search img {
    width: 22px; /* чуть увеличиваем иконку лупы */
  }
   .qa-grid {
    grid-template-columns: 1fr; /* один столбец */
    gap: 15px; /* увеличиваем отступы между карточками */
  }

  .qa-card img {
    height: auto; /* убираем фиксированную высоту */
    min-height: 200px; /* минимальная высота */
  }
    .qa-filters {
    flex-direction: column; /* кнопки друг под другом */
    gap: 8px; /* увеличиваем отступы между кнопками */
  }

  .qa-filters button {
    padding: 10px 0; /* уменьшаем отступы внутри кнопок */
    font-size: 16px; /* увеличиваем шрифт */
  }
   .show-more-articles {
    width: 100%; /* занимает всю ширину экрана */
    padding: 12px;
    font-size: 18px;
  }

   .consult__inner {
    flex-direction: column; /* элементы теперь идут друг под другом */
    align-items: center; /* центрируем содержимое по горизонтали */
    padding: 20px; /* уменьшаем отступы для компактности */
  }

  /* Адаптация левой части (форма) */
  .consult__left {
    width: 100%; /* занимает всю ширину экрана */
    text-align: center; /* текст по центру */
  }

  .consult__left h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .consult__left p {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
  }

  .consult__left input {
    width: 100%;
    max-width: none; 
    height: 50px;
    padding: 0 12px; 
    margin-bottom: 10px;
  }

  .consult__left button {
    width: 100%;
    height: 45px;
    font-size: 16px;
  }

  .consult__policy {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.3;
    text-align: center;
  }

  .consult__right {
    margin-top: 20px; 
  }

  .consult__right img {
    width: 100%;
    max-width: 320px; 
    height: auto; 
    border-radius: 8px; 
  }

   .consult__left h2 {
    font-size: 20px;
  }

  .consult__left p {
    font-size: 14px;
  }

  .consult__left button {
    height: 40px;
  }

  .consult__policy {
    font-size: 11px;
  }

   .footer {
    padding: 20px 0 15px;
  }

  .footer__container {
    padding: 0 10px;
  }

  .footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* отступы между элементами */
    margin-bottom: 20px;
  }

  .footer__logo img {
    width: 280px; /* масштабируем относительно контейнера */
    max-width: 200px; /* ограничение по ширине */
  }

  .footer__socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-left: 0; /* убираем левый отступ */
  }

  .footer__socials img {
    height: 30px;
  }

 .back-link{
    display:none;
  }
  .footer__phone {
    font-size: 18px;
    margin-left: 0; /* убираем левый отступ */
  }

  .footer__btn {
    width: 80%; /* занимает 80% ширины экрана */
    height: 45px; /* чуть меньше для компактности */
    margin-left: 0; /* убираем левый отступ */
  }

  .footer__middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer__col {
    margin-left: 0;
    text-align: center; /* центрируем текст */
  }

  .footer__text {
    font-size: 12px;
    line-height: 1.5;
    max-width: none; /* убираем ограничение по ширине */
  }

  .footer__policy {
    font-size: 14px;
  }

  .footer__phone span {
    font-size: 16px;
  }

  .footer__text {
    font-size: 11px;
  }

  .footer__btn {
    font-size: 13px;
  }

  .icon-max{
    margin-top: -20px;
    margin-left: -10px;
  }
  /* Блок консультации — вертикально, центрируем текст */
  
  .consultation-box {
    flex-direction: column;
    align-items: center; /* центрируем всё */
    text-align: center;  /* текст по центру */
    padding: 20px;
    gap: 15px;
  }

  .consultation-left {
    width: 100%;
    padding: 0;
  }

  .consultation-left h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .consultation-text {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .consultation-question {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .consultation-bottom {
    flex-direction: column; /* кнопка сверху, текст снизу */
    align-items: center;
    gap: 8px; /* расстояние между кнопкой и текстом */
    width: 100%;
  }

  /* Кнопка */
  .consultation-btn {
    width: 100%;
    max-width: 300px; /* ограничение ширины кнопки */
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    background: #6b4127; /* цвет кнопки */
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
  }

  .consultation-btn span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .consultation-btn:hover {
    background: #5b341d;
  }

  /* Текст под кнопкой */
  .consultation-note {
    font-size: 16px;
    color: #5b3925;
    font-weight: 600;
    line-height: 1.4;
  }

  /* Изображение под текстом */
  .consultation-image {
    margin-top: 15px;
    justify-content: center;
  }

  .consultation-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Модалка формы адаптирована под экран */
  .question-modal {
    width: 95%;
    padding: 20px;
    text-align: left; /* форма оставляем левый текст */
  }

  .question-modal h2 {
    font-size: 22px;
  }

  .question-modal input,
  .question-modal textarea {
    font-size: 14px;
    padding: 10px;
  }

  .question-modal button {
    width: 100%;
    font-size: 16px;
    height: 45px;
  }

  .question-agree {
    font-size: 12px;
  }

  /* Категории — компактно */
  .categories-list {
    gap: 8px;
    justify-content: flex-start;
  }

  .category-btn {
    flex: 1 1 48%;
    font-size: 14px;
    padding: 6px 10px;
  }

    .categories-container {
    padding: 15px 10px;
  }

  /* Заголовок по центру */
  .categories-title {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 12px;
  }

  /* Список категорий — горизонтальный скролл */
  .categories-list {
    display: flex;
    overflow-x: auto;      /* горизонтальный скролл */
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: thin; /* тонкий скролл в Firefox */
  }

  /* Прячем скролл для Webkit */
  .categories-list::-webkit-scrollbar {
    display: none;
  }

  /* Кнопки категорий */
  .category-btn {
    flex: 0 0 auto;       /* кнопка не сжимается */
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 22px;
    background: #f5f5f5;
    color: #222;
    border: none;
    cursor: pointer;
    white-space: nowrap;  /* текст не переносится */
  }

  .category-btn.active {
    background: #d89c4a;
    color: #000;
  }

  /* Поиск */
  .categories-search {
    margin-top: 10px;
    position: relative;
    width: 100%;
  }

  .categories-search input {
    width: 100%;
    height: 40px;
    padding: 0 45px 0 12px;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
    font-size: 14px;
  }

  .categories-search button img {
    width: 20px;
    height: 20px;
 }

   .popular-articles {
    padding: 15px;
    margin: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }

  /* Заголовок по центру */
  .popular-articles .header1 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .popular-articles .header1 h2 {
    font-size: 20px;
    text-align: center;
  }

  /* Сетка статей: две колонки */
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .article-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    transition: transform 0.2s;
  }

  .article-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .article-card p {
    font-size: 14px;
    padding: 8px;
    line-height: 1.3;
  }

  /* Ссылка “Смотреть все” под карточками, как кнопка */
  .navigation {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
  }

  .navigation a.all {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #6b4127;
    border-radius: 30px;
    background: #fff;
    color: #6b4127;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
  }

  .navigation a.all:hover {
    background: #6b4127;
    color: #fff;
  }

  /* Скрываем стрелки на мобильных */
  .navigation button.prev,
  .navigation button.next {
    display: none;
  }

  .answer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  padding: 10px;
}

.answer-overlay.active {
  display: flex;
}

/* МОДАЛКА */
.answer-modal {
  width: 100%;
  max-width: 520px;   /* ⬅️ уже */
  background: #fff;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 12px 40px rgba(0,0,0,0.25);

  animation: pop .2s ease;
}

/* HEADER */
.answer-top {
  background: #6b4128;
  padding: 14px 14px 12px;
}

.answer-title {
  color: #fff;
  font-size: 16px;   /* ⬅️ меньше */
  font-weight: 600;
  line-height: 1.35;
}

.answer-date {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}

/* CLOSE */
.answer-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 30px;
  height: 30px;

  border: none;
  border-radius: 50%;

  background: rgba(255,255,255,0.15);
  color: #fff;

  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* SPECIALIST */
.answer-specialist {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;

  border-bottom: 1px solid #eee;
}

.answer-specialist-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
}

.answer-specialist-name {
  font-size: 13px;
  font-weight: 600;
}

/* CONTENT */
.answer-content {
  padding: 12px 14px;

  font-size: 14px;   /* ⬅️ меньше */
  line-height: 1.55;

  max-height: 50vh;  /* ⬅️ меньше */
  overflow-y: auto;
}

/* ANIMATION */
@keyframes pop {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* MOBILE ЕЩЁ КОМПАКТНЕЕ */
@media (max-width: 768px) {

  .answer-modal {
    max-width: 92%;
    border-radius: 14px;
  }

  .answer-content {
    max-height: 55vh;
  }

  .answer-title {
    font-size: 15px;
  }
}
}
.pagination {
  display: flex;
  gap: 10px;

  margin-top: 60px;
  margin-left: 1410px;
}

.pagination button {
  min-width: 36px;
  height: 36px;

  padding: 0 12px;

  border: none;
  border-radius: 999px;

  background: #d89b4b;

  color: #fff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.2s ease;
}

.pagination button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.pagination button.active {
  background: #cc9a58;
}

.question-answer {
  display: none;

  margin-top: 18px;

  border-radius: 20px;

  overflow: hidden;

  background: #f6f7f9;

  border: 1px solid #ececec;
}

.question-answer.active {
  display: block;
}

.question-answer__title {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 14px 20px;

  background: #d9a15b;

  color: #fff;

  font-size: 16px;

  font-weight: 700;

  min-height: auto;
}

.question-answer__icon {
  display: none;
}

.question-answer__box {
  padding: 20px 24px;

  font-size: 15px;

  line-height: 1.7;

  color: #24324a;

  background: #f6f7f9;

  border-left: 3px solid #d9a15b;
}

.question-card__link {
  color: #c58b42;

  font-weight: 700;

  text-decoration: none;

  transition: .2s;
}

.question-card__link:hover {
  opacity: .7;
}