

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f3;
    color: #222;
             padding-top:136px;

}

.pagination{
    display:flex;
    justify-content:center;
    gap:8px;
    margin:40px 0;
}

.pagination button{
    width:42px;
    height:42px;
    border:none;
    border-radius:6px;
    background:#ececec;
    cursor:pointer;
    font-weight:700;
}

.pagination button.active{
    background: #8f6646;
    color:#fff;
}

.breadcrumbs{
    max-width:1200px;
    margin:25px auto;
    padding:0 20px;
    font-size:15px;
    color:#777;
             padding-top:36px;

}

.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: -80px;
    }
}
.mobile-slide-menu{
  display: none;
}

/* =========================
   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;
    
}

@media (max-width:768px){

.mobile-slide-menu{
    position:fixed;
    top:0;
    right:-280px;

    width:280px;
    height:100vh;

    background:#fff !important;

    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 !important;
}

.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;
}

}

.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: 344px;
height: 55px;
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;
        margin-left: 10px;
            margin-top: -5px!important;


}

.mobile-logo img{
    display:block !important;
    width:165px !important;
    height:auto !important;
    visibility:visible !important;
    opacity:1 !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-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;
    margin-top: -10px !important;
    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;
}

}

.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;
}

.back-link:hover{
  color:#000;
}
.mobile-back{
  display:none;
}

/* ===== Кнопка просмотра ответа ===== */
.gz-review-answer-wrapper {
  margin-top: 18px;
}

.gz-review-answer-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  padding: 14px 18px;
  border: none;
  border-radius: 14px;

  background: linear-gradient(135deg, #f0f6ff, #e6f0ff);
  color: #174ea6;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;

  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(23, 78, 166, 0.08);
}

.gz-review-answer-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 78, 166, 0.12);
}

.gz-review-answer-toggle.active {
  background: linear-gradient(135deg, #e6a85c, #e6a85c);
  color: #fff;
}

.gz-review-answer-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.gz-review-answer-toggle.active .gz-review-answer-arrow {
  transform: rotate(180deg);
}

/* ===== Блок ответа ===== */
.gz-review-answer-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    margin-top 0.35s ease,
    padding 0.35s ease;

  margin-top: 0;
  padding: 0 22px;

  background: #f8fbff;
  border-left: 4px solid #e6a85c;
  border-radius: 0 0 14px 14px;
}

.gz-review-answer-text.active {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
  padding: 20px 22px;
}

.gz-review-answer-title {
  font-size: 14px;
  font-weight: 700;
  color: #e6a85c;
  margin-bottom: 10px;
}

.gz-review-answer-content {
  font-size: 15px;
  line-height: 1.7;
  color: #2f3a4a;
}

/* 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;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #ece7e1;
    font-family: Arial, sans-serif;
    color: #5b4332;
}

.cases{
    background:
    linear-gradient(rgba(244,239,234,.9), rgba(244,239,234,.9)),
    url("../journal/fon.jpg") center center/cover no-repeat;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Заголовок */

h1{
    text-align: center;
    font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 45px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

/* Кнопки сверху */

.tabs{
   display:flex;
    justify-content:space-between;
    gap:0;
    width:100%;
    margin-bottom:25px;
    
}

.tab{
    margin-top: 60px;
  font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

.tabs button{
width: 305;
height: 76;
top: 310px;
left: 1315px;
border-radius: 12px;
border-width: 2px;
border-color: #5A3A27;
angle: 0 deg;
opacity: 1;
background: #FFFFFF;

}

.tabs button:hover{
    background: #FFFFFF;
}

.tabs .active{
    background: #E7E3DE;
}

/* Количество дел */

h2{
    margin-bottom: 40px;
    font-size: 38px;
    margin-left: 500px;
    font-family: Montserrat;
font-weight: 500;
font-style: Medium;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

h2 span{
    font-weight: bold;
}

/* Основной блок */

.content{
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* Левая колонка */

.sidebar{
    width: 240px;
}

/* Блок фильтра */

.filter{
    background: #FFFFFF;
    border: 1px solid #624432;
    padding: 18px;
    margin-bottom: 18px;
    width: 305px;
border-radius: 12px;
border-width: 2px;
angle: 0 deg;
opacity: 1;

}



.filter-title{
    text-align:center;

    font-family:Montserrat,sans-serif;
    font-weight:500;
    font-size:18px;
    line-height:100%;
    color:#5A3A27;

    margin-bottom:16px; /* расстояние до поля */
}

.filter select {
  margin-top: 20px;
    width: 100%;
    height: 44px;

    padding: 0 40px 0 12px;

    border: 1px solid #c7b8ab;
    border-radius: 10px;

    background: #fff;

    font-size: 14px;
    color: #5b4332;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b4332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
/* Поля */



input,
select{
    width: 100%;
    height: 42px;
    border: 1px solid #624432;
    border-radius: 8px;
    padding: 0 12px;
    margin-bottom: 10px;
    background: #E7E3DE;
    margin-top: 2px;

}
.filter select {
    height: 44px !important;

    border-radius: 10px !important;
    border: 1px solid #c7b8ab !important;

    background: #E7E3DE !important;

    color: #5b4332 !important;
    font-size: 14px;

    padding: 0 40px 0 12px !important;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b4332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;

    cursor: pointer;
}

/* Чекбоксы */

label{
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: Inter;
font-weight: 500;
font-style: Medium;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

label input{
    width: auto;
    height: auto;
    margin-right: 8px;
}

/* Кнопка */

.show-btn{
 width: 310px;
height: 49px;
top: 1947px;
left: 298px;
border-radius: 10px;
angle: 0 deg;
opacity: 1;
border-color: #5A3A27;
}

.show-btn:hover{
    background: #d9c8ba;
    border-radius: 1px;
}

/* Карточки */

.cards{
    flex: 1;

    display: grid;

    grid-template-columns: repeat(2, 450px);

    gap: 55px;

    justify-content: center;
 
}

.card{
    width: 460px;
    height: 365px;

    background: #fff;

    border: 2px solid #5A3A27;
    border-radius: 10px;

    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
       margin-left: 60px;
}

.card h3{
font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;



}


.more-btn{
  font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 22px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

.case-number{
   font-family: Montserrat;
font-weight: 400;
font-style: Regular;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

.item{
  font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 22px;
leading-trim: NONE;
line-height: 1.5;
letter-spacing: 0%;
text-align: center;

}

.item strong{
    display: block;
    font-size: 20px;
    color: #5b4332;
    font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
leading-trim: NONE;
line-height: 1.5;
text-align: center;

}

.card a{
    text-align: center;
    text-decoration: none;
    color: #7a6456;
    transition: .3s;
}

.card a:hover{
    color: #3f2d22;
}

/* Адаптив */













/* ===== 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 {
  background: #d89c4a;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 80px;
  white-space:nowrap;
width: 175;
height: 48.850433349609375;
opacity: 1;
padding-top: 15px;
padding-right: 25px;
padding-bottom: 15px;
padding-left: 25px;
gap: 10px;

}

.footer__btn p{
  font-family: Mulish;
font-weight: 600;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
vertical-align: middle;

}

/* ===== 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;
  margin-left: -10px;
}

/* текст под заголовком */
.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;
}




@media (max-width: 768px) {

  * {
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
    
  }

  

  .footer__btn {
    width: 100%;
    height: 52px;
    font-size: 18px;
    border-radius: 12px;
  }

  /* HERO */

  .reviews-section-custom {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .reviews-title-custom {
    font-size: 34px;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 30px;
  }

  .reviews-wrapper-custom {
    position: relative;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .reviews-btn-custom {
    width: 100%;
    max-width: 320px;
    height: 72px;
    border-radius: 14px;
    font-size: 20px;
    z-index: 2;
  }

  /* ИКОНКИ */

 .review-icon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.review-icon img {
  display: block;
  object-fit: contain;
}

/* ЛЕВАЯ СТОРОНА */

.review-icon-1 {
  display: none
}


.review-icon-2 {
  top: -32px;
  left: 125px;
}

.review-icon-2 img {
  width: 80px;
}

.review-icon-3 {
  top: -46px;
  left: 52px;
}

.review-icon-3 img {
  width: 140px;
}

.review-icon-4 {
  display: none
}

.review-icon-4 img {
display: none}

/* ПРАВАЯ СТОРОНА */

.review-icon-5 {
  top: -32px;
  right: 110px;
}

.review-icon-5 img {
  width: 80px;
}

.review-icon-6 {
  top: -42px;
  right: 62px;
}

.review-icon-6 img {
  width: 140px;
}

.review-icon-7 {
  bottom: -6px;
  right: 52px;
}

.review-icon-7 img {
  width: 56px;
}

.review-icon-8 {
  bottom: 18px;
  right: -12px;
}

.review-icon-8 img {
  width: 50px;
}

  /* FILTER */

  .gz-reviews-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 16px;
    margin-top: 40px;
  }

  .gz-reviews-title {
    font-size: 34px;
  }

  .gz-city-filter {
    width: 100%;
    height: 52px;
    font-size: 18px;
    border-radius: 12px;
  }

  /* LIST */

  .gz-reviews-list {
    padding: 0 16px 50px;
  }

  /* CARD */

  .gz-review-card {
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 18px;
  }

  .gz-review-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .gz-review-user {
    width: 100%;
  }

  .gz-review-avatar {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .gz-review-name {
    font-size: 22px;
  }

  .gz-review-meta {
    font-size: 15px;
  }

  .gz-review-stars {
    font-size: 24px;
  }

  .gz-review-text {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.5;
  }

  /* MODAL */

  .gz-review-modal-box {
    width: calc(100% - 20px);
    padding: 24px 18px;
    border-radius: 18px;
  }

  .gz-review-title {
    font-size: 28px;
  }

  .gz-review-field input,
  .gz-review-field textarea,
  .gz-review-field select {
    height: 54px;
    font-size: 17px;
    border-radius: 12px;
  }

  .gz-review-field textarea {
    height: 120px;
    padding-top: 14px;
  }

  .gz-review-submit {
    width: 100%;
    height: 56px;
    font-size: 18px;
    border-radius: 12px;
  }

html, body {
  overflow-x: hidden;
}
}
/* =========================================
   MOBILE HEADER EXACT
========================================= */

@media (max-width: 768px) {


  /* КНОПКУ УБИРАЕМ */

  .header .footer__btn {
    display: none;
  }

   .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;
  }

  .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;
  }

}


.mobile-filters{
    display:none;
}

@media (max-width:768px){

    .sidebar{
        display:none;
    }

    .tabs{
        display:none;
    }

    .mobile-filters{
        display:flex;
        flex-direction:column;
        gap:5px;

        margin-top: -0px;
    }

    .filter-btn{
        width:100%;
        height:55px;

        display:flex;
        justify-content:space-between;
        align-items:center;

        padding:0 20px;

        border:1px solid #8c6344;
        border-radius:12px;
        background:#fff;

        font-size:18px;
        cursor:pointer;
    }

    .filter-content{
        display:none;

        margin-top:8px;
        padding:20px;

        border:1px solid #8c6344;
        border-radius:12px;
        background:white;
    }

    .filter-content.open{
        display:block;
    }

    .debt-box{
        display:none;
        gap:5px;
    }

    .debt-box input{
        width:100%;
    }
}

@media (max-width:768px){

 .mobile-filters{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
}

.filter-content .tab{
    width:100%;
    min-height:52px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#fff;
    border:1px solid #8a5c3b;
    border-radius:0;

    color:#5a3721;
    font-size:18px;

    margin-bottom:0;
}

    /* последний блок во всю ширину */
    .mobile-filter:last-child{
        grid-column:1/-1;
    }

    .filter-btn{
        width:100%;
        min-height:52px;
        padding:10px 15px;

        display:flex;
        align-items:center;
        justify-content:space-between;

        background:#fff;
        border:1px solid #8a5c3b;
        border-radius:0px;

        font-size:18px;
        color:#5a3721;
    }

  .filter-content{
    padding:8px;
    border:1px solid #8a5c3b;
    border-radius:0px;
    background:#fff;
}


.filter-content .tab:last-child{
    margin-bottom:0;
}
}

@media (max-width:768px){

    .mobile-filters{
        margin-bottom:30px; /* расстояние между фильтрами и делами */
    }

     .cards{
        margin-top:50px;
    }

      .content{
        margin-top:40px;
    }

}

@media (max-width:768px){

    .content{
        display:block;
    }

    .cards{
        width:100%;
        margin-top:30px;
    }

    .card{
        width:100%;
        max-width:none;
        margin-bottom:20px;
    }

}


/* =========================
   BURGER
========================= */

.mobile-menu-btn {
    display: none;
}

/* MOBILE */

@media (max-width: 768px) {

    /* бургер */

    .mobile-menu-btn {
        width: 34px;
        height: 34px;
        margin-top: -30px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        cursor: pointer;

        margin-left: auto;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;

        background: #333;

        border-radius: 10px;

        transition: 0.3s;
    }

    /* анимация */

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* меню */

    .subcategories {
        position: fixed;

        top: 3px;
        left: 0;

        width: 100%;

        background: #fff;

        padding: 15px;

        box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.3s ease;


        z-index: 999;
    }

    .subcategories.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .subcategories-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;

        padding: 0;
    }

    .subcategory-item {
        font-size: 16px;
        padding: 0;

        width: 100%;
    }
}

@media (max-width: 768px) {

    .cards{
        grid-template-columns: repeat(2,1fr);
    }

    .tabs button{
        width: 240px;
    }

.card{
  width: 200px;
height: 183;
top: 301px;
left: 15px;
border-radius: 3.92px;
border-width: 1px;
angle: 0 deg;
opacity: 1;
margin-left: 10px;
gap: 5px;

}
    .card h3{
      font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 10.97px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
    }

    .case-number{
font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 10.97px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }

    .item{
      font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 10.97px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }
 .item strong{
  font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 10.97px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

 }

.more-btn{
  font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 8.62px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

    .cases h1{
font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;


    }

    .cases h2{
font-family: Montserrat;
font-weight: 600;
font-style: SemiBold;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
margin-left: -10px;
    }

     .cases h2{
      order: 2;
     }

     .mobile-filter{
      order: 1;
     }

.header-phone span{
  font-family: Mulish;
font-weight: 700;
font-style: Bold;
font-size: 14px;
leading-trim: NONE;
margin-left: 4px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

.header-phone img{
  display: none
}
}
/* МОБИЛКА */
@media (max-width: 768px) {




    /* скрываем левую колонку */
    .sidebar {
        display: none;
    }

    .mobile-filters {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .mobile-filter-btn {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px 15px;
        font-size: 15px;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,0,0,.08);
    }

    .content {
        display: block;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card {
        background: #fff;
        border: 1px solid #8c6546;
        border-radius: 6px;
        padding: 15px 10px;
        text-align: center;
        min-height: 260px;
    }

    .card h3 {
        font-size: 17px;
        line-height: 1.3;
        color: #6b4b36;
        margin-bottom: 10px;
    }

    .case-number {
        font-size: 15px;
        margin-bottom: 12px;
        color: #5a3d2b;
    }

    .item {
        font-size: 15px;
        margin-bottom: 10px;
        color: #5a3d2b;
    }

    .item strong {
        display: block;
        margin-top: 4px;
        font-weight: 700;
    }

    .more-btn {
        display: inline-block;
        margin-top: 10px;
        font-size: 14px;
        color: #6b4b36;
        text-decoration: none;
    }
}

.mobile-filters {
    display: none;
}

/* показываем только на мобильных */
@media (max-width: 768px) {
    .mobile-filters {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .mobile-filters{
    display:none;
}

.filter-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:9998;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.filter-overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-sidebar{
    position:fixed;
    top:0;
    left:-340px;
    width:320px;
    height:100vh;
    background:#fff;
    overflow-y:auto;
    z-index:9999;
    transition:.3s;
    box-shadow:0 0 20px rgba(0,0,0,.2);
}

.mobile-sidebar.active{
    left:0;
}

.mobile-sidebar-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    border-bottom:1px solid #ddd;
}

.mobile-sidebar-head button{
    background:none;
    border:none;
    font-size:24px;
    cursor:pointer;
}

.mobile-sidebar-content{
    padding:15px;
}

@media(max-width:768px){

    .sidebar{
        display:none;
    }

    .mobile-filters{
        display:flex;
        margin-bottom:15px;
    }

    .filter-category{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.filter-category input{
    display:none;
}

.filter-category span{
    display:flex;
    align-items:center;

    width:100%;
    height:48px;

    padding:0 14px;

    background:#fff;
    border:1px solid #ddd;
    border-radius:6px;
    color:#333;

    cursor:pointer;
    box-sizing:border-box;

    transition:.2s;


    font-family: Montserrat;
font-weight: 500;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

.filter-category span:hover{
    border-color:#E7E3DE;
}

.filter-category input:checked + span{
    border-color:#624432;
    background:#E7E3DE;
    color:#624432;
    font-weight:600;
}

.mobile-sidebar{

    position:fixed;
    top:0;
    left:-100%;

    width:340px;
    max-width:90%;

    height:100vh;

    background:#fff;

    transition:left .3s ease;

    overflow-y:auto;

    z-index:1001;

}

.mobile-sidebar.active{

    left:0;

}

.filter-overlay{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:1000;

}

.filter-overlay.active{

    opacity:1;
    visibility:visible;

}
}
}

.mobile-sidebar-content .show-btn{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100%;
    height:50px;
    background:#8f6646;
    color:#fff;
    border:none;
}


@media(max-width:768px){

    .cases{
        padding:20px 10px;
    }


    .cards{
        width:100%;
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:15px;
        justify-content:center;
    }


    .card{
        width:100%;
        height:auto;
        min-height:260px;
        margin-left:0;
        padding:12px;
        border-radius:10px;
    }


    .card h3{
        font-size:15px;
        line-height:1.2;
    }


    .case-number{
        font-size:14px;
    }


    .item{
        font-size:13px;
        line-height:1.3;
    }


    .item strong{
        font-size:14px;
    }


    .more-btn{
        font-size:13px;
        display:block;
        padding:8px 0;
    }

}


@media(max-width:768px){

    .cases{
        padding:20px 12px;
        margin-top:0;
    }

    h1{
        font-size:28px;
        margin-top:20px;
    }

    .tabs{
        flex-direction:column;
        gap:12px;
        margin-bottom:20px;
    }

    .tabs button{
        width:100%;
        height:55px;
    }

    h2{
        margin:20px 0;
        text-align:center;
        font-size:24px;
    }

    .content{
        display:block;
    }


    .sidebar{
        width:100%;
    }


    .filter{
        width:100%;
    }


    .cards{
        display:grid;
        grid-template-columns:1fr 1fr; /* 2 карточки в ряд */
        gap:15px;
        width:100%;
    }


    .card{
        width:100%;
        height:auto;
        min-height:260px;
        margin-left:0;
        padding:15px;
    }


    .card h3{
        font-size:16px;
    }


    .case-number{
        font-size:16px;
    }


    .item{
        font-size:14px;
    }


    .item strong{
        font-size:14px;
    }


    .more-btn{
        font-size:15px;
    }

}




