:root {
    --main-color: #2E99A7;
    --dark-color: #1B1A1A;
    --grey-color: #1d1d1d;
    --font-small-size: 20px;
    --font-big-size: 48px;
    --font-bigger-size: 32px;
    --font-info-size: 24px;
    --font-extra-size: 60px;
    --b-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body{
  height: 100%;
  min-height: 100%;
  margin: 0;
  background: #1B1A1A;
  font-family: 'Montserrat', sans-serif;
}

.header {
    position: relative;
    width: 100%;
    height: 100px;
    background: var(--grey-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc((100% - 80%) / 2);
    z-index: 10;
}

/* Логотип */
.logo {
    flex-shrink: 0;
    font-weight: 500;
    font-size: 30px;
    line-height: 37px;
    letter-spacing: 0.15em;
    color: var(--main-color);
    white-space: nowrap;
}

/* Кнопка каталога (по умолчанию скрыта) */
.catalog-btn{
  display:none;
  width:44px; height:44px;
  border:1px solid rgba(255,255,255,.25);
  background:transparent;
  border-radius:10px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  cursor:pointer;
}
.catalog-btn span{
  width:22px; height:2px;
  background:#fff;
  border-radius:2px;
  display:block;
}

/* Мобилка: показываем кнопку и НЕ показываем навбар */
@media (max-width: 1060px){

  /* показываем кнопку */
  .catalog-btn{ display:flex; }

  /* nav оставляем в DOM (чтобы дропдаун существовал), но ссылки скрываем */
  .navigation{ display:block; padding:0; flex:0; } /* перебиваем твой display:none [file:170] */
  .navigation > a.nav-link{ display:none; }        /* about/services/products/order... */
  .navigation .dropdown-toggle{ display:none; }    /* скрываем текстовую кнопку каталога в nav */

  /* чуть крупнее элементы для тача */
  .category-title{ font-size: 14px; }
  .category-items a{
    font-size: 15px;
    padding: 10px 10px;
  }
}


/* Навигация */
.navigation {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex: 1;
    padding: 0 20px;
}

.nav-link {
    font-weight: 500;
    font-size: var(--font-small-size);
    line-height: var(--font-small-size);
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--main-color);
}

/* Контакты в шапке */
.contacts {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    color: var(--main-color);
    margin-bottom: 4px;
    white-space: nowrap;
    text-align: right;
}

.address {
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    text-align: right;
    color: #FFFFFF;
}


/* --- Общие стили (Utility classes) --- */
.container {
    max-width: 80%;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--main-color);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--b-radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--main-color);
    color: #fff;
    border: 1px solid var(--main-color);
}

.btn-primary:hover {
    background-color: #237a85;
    border-color: #237a85;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-bottom: 100px;
    overflow: hidden; 
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    position: static;
}

/* Левая часть (Картинка) - теперь она фоновая */
.hero-image-block {
    position: absolute;
    left: 0;
    width: 100%;  /* Ширина картинки - 65% от ширины экрана */
    max-width: 1100px; /* Ограничение, чтобы на 4K экранах не была гигантской */
    z-index: 0;
    pointer-events: none;
}

.hero-image-block img {
    width: 100%;
    height: auto;
    display: block;
    transform: none; 
}

/* Правая часть (Текст) */
.hero-content {
    flex: 0 0 60%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 520px;
    background: radial-gradient(ellipse at center, rgba(46, 153, 167, 0.32) 0%, transparent 65%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.hero-content > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-bigger-size);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}

/* Цветная часть заголовка */
.hero-title span {
    color: #fff;
    font-size: var(--font-bigger-size);
    display: block;
    margin-top: 0;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: white;
    margin-bottom: 20px;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin-bottom: 32px;
}

.hero-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #90a4ae;
}

.hero-badge-sep {
    color: #546e7a;
    margin: 0 10px;
    font-size: 13px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- Адаптив для ноутбуков (MacBook 13", 1280px - 1440px) --- */
@media (max-width: 1440px) {
    /* 1. Пропорционально уменьшаем все базовые переменные */
    :root {
        --font-small-size: 16px;     /* было 20px */
        --font-big-size: 38px;       /* было 48px */
        --font-bigger-size: 26px;    /* было 32px */
        --font-info-size: 20px;      /* было 24px */
        --font-extra-size: 46px;     /* было 60px */
    }

    /* 2. Расширяем контейнер */
    .container {
        max-width: 90%; 
    }

    .header {
        padding: 0 5%;
        margin-bottom: 30px;
    }

    .navigation {
        gap: 30px; 
    }

    /* 3. Hero-секция */
    .hero-title span {
        font-size: var(--font-bigger-size);
    }
    .hero-description {
        font-size: var(--font-small-size);
        margin-bottom: 50px;
        max-width: 500px;
    }
    .hero-image-block {
        max-width: 700px; 
    }

    .btn {
        padding: 15px 25px;
        font-size: 15px; /* Оставляем в px, так как для кнопок нет отдельной переменной в root */
    }

    .marquee-section {
        padding: 10px 0;
        border-bottom-width: 3px;
    }
    
    .marquee-content span {
        font-size: var(--font-small-size); 
    }
    
    .marquee-content .dot {
        font-size: 14px; 
    }

    .departmental-header {
        padding: 40px 0;
    }

    /* 4. Секция преимуществ */
    .section-title {
        font-size: var(--font-big-size);
        margin-bottom: 50px;
    }
    .advantages-grid {
        gap: 30px 20px;
    }
    .advantage-title {
        font-size: var(--font-info-size);
    }
    .advantage-text {
        font-size: var(--font-small-size);
    }
    .advantage-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }

    /* 5. Экономическая выгода */
    .economy-chart-wrapper {
        height: 450px;
    }
    .economy-item {
        width: 240px;
    }
    .economy-name {
        font-size: 17px; /* Специфичный размер для графика, чтобы не было наложений */
    }
    .economy-desc {
        font-size: 13px;
    }

    /* 6. Карточки КАЗС */
    .type-title {
        font-size: var(--font-extra-size);
    }
    .type-subtitle {
        font-size: var(--font-bigger-size);
    }
    .type-content {
        padding: 0 15px;
    }

    /* 7. Ведомственная / Коммерческая */
    .dept-main-desc {
        font-size: var(--font-bigger-size);
        margin-bottom: 30px;
    }
    .dept-block-title {
        font-size: var(--font-info-size);
    }
    .dept-right {
        flex: 0 0 45%;
    }
    .dept-suitable-list li {
        font-size: var(--font-small-size);
    }

    /* 8. Индивидуальный проект */
    .individual-title {
        font-size: var(--font-big-size);
    }
    .individual-text {
        font-size: var(--font-info-size);
    }
    .individual-subtitle {
        font-size: var(--font-bigger-size);
    }
    .step-item span {
        font-size: var(--font-small-size);
    }

    /* 9. Франшиза */
    .franchise-title {
        font-size: var(--font-big-size);
    }
    .franchise-description {
        font-size: var(--font-info-size);
    }
    .franchise-text {
        font-size: var(--font-small-size);
    }
    .franchise-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 992px) {
    .header {
        height: 70px;
        padding: 0 15px;
        justify-content: space-between; /* Лого слева, телефон справа */
        margin-bottom: -20px;
    }

    .navigation {
        display: none; /* Скрываем навигацию на мобильных */
    }

    .logo img {
        width: 80px; /* Уменьшаем лого для мобилки */
        margin-top: 10px;
        height: auto;
    }

    .contacts {
        display: flex !important; /* Гарантируем видимость */
        padding-left: 0;
        align-items: flex-end;
    }

    .contacts .phone {
        font-size: 14px;
        margin-bottom: 2px;
    }
}

@media (max-width: 992px) {
    /* 2. Чиним HERO Секцию */
    .hero {
        min-height: auto; /* Убираем фиксированную высоту */
        padding-top: 40px; /* Отступ от шапки */
        padding-bottom: 60px;
        height: auto;
        display: block; /* Убираем flex центрирование по вертикали, чтобы контент шел сверху */
    }

    .container {
        max-width: 100%; /* На мобилках используем всю ширину */
        padding: 0 20px;
    }

    .hero-wrapper {
        flex-direction: column; /* Элементы друг под другом */
        gap: 30px;
        display: flex;
    }

    /* ТЕКСТ */
    .hero-content {
        text-align: center; /* Центрируем текст */
        align-items: center;
        width: 100%; /* На всю ширину */
        flex: none; /* Сбрасываем flex-размеры */
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-title span {
        font-size: 24px;
        display: block;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .hero-badges {
        justify-content: center;
        margin-bottom: 22px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-badge-sep {
        margin: 0 6px;
    }

    /* КНОПКИ */
    .hero-buttons {
        flex-direction: column; /* Кнопки друг под другом */
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%; /* Кнопка во всю ширину экрана */
        padding: 14px; /* Чуть компактнее */
        font-size: 14px;
    }

    /* КАРТИНКА */
    .hero-image-block {
        position: relative; /* Возвращаем в поток */
        width: 100%;
        max-width: 380px; /* Ограничиваем, чтобы не была гигантской на планшетах */
        margin: 0 auto; /* Центрируем */
        left: auto;
        bottom: auto;
        pointer-events: auto;
    }

    .hero-image-block img {
        width: 100%;
        height: auto;
        /* Можно добавить эффект "вылета" снизу, если картинка обрезана */
        transform: scale(1.1); 
    }
}

.about-section {
    position: relative;
    width: 100%;
    background: #FEFDFD;
    padding: 50px 0 50px;
    z-index: 10;
}

.about-container {
    width: 75%;
    max-width: 1920px;
    margin: 0 auto;
    padding-bottom:50px ;
    border-bottom: 3px solid var(--main-color);
    display: flex;
    flex-direction: column;
    justify-items: center;
}
.about-buttons {
    display: flex;
    justify-content: center;
}

.about-container .btn {
    width: 300px;
}

.about-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 59px;
    color: #000000;
    text-align: center;
    margin-bottom: 0;
}

.about-subtitle {
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    text-align: center;
    margin: 0 auto;
    margin-top: 0;
    padding-top: 0;
}

.about-description {
    width: 100%;
    max-width: 1036px;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #000000;
    margin: 30px auto 30px;
}

@media (max-width: 992px) {
    .about-section {
        padding: 40px 0 50px;
        border-radius: 30px 30px 0 0 ;
    }
    
    .about-container {
        width: 95%;
    }
    
    .about-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .about-subtitle {
        font-size: 14px;
    }
    
    .about-description {
        font-size: 14px;
        line-height: 19px;
        margin: 30px auto 25px;
    }
}

/* --- Бегущая строка (Marquee) --- */
.marquee-section {
    background-color: #1B1A1A; /* Темный фон (как у body) или var(--dark-color) */
    padding: 20px 0;
    overflow: hidden; /* Обрезаем всё, что выходит за рамки */
    border-bottom: 5px solid var(--main-color); /* Жирная цветная линия снизу */
    position: relative;
    width: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    width: fit-content;
    /* Анимация движения влево */
    animation: scroll-left 15s linear infinite; 
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Стиль текста "КАЗС" */
.marquee-content span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Жирный шрифт */
    font-size: var(--font-info-size);  /* Крупный размер */
    text-transform: uppercase;
    color: var(--main-color); /* Ваш голубой цвет (#2E99A7) */
    padding-left: 30px; /* Отступы между словами */
    white-space: nowrap;
}

/* Стиль точки (●) */
.marquee-content .dot {
    font-size: 24px; /* Точка чуть меньше букв */
    color: var(--main-color);
    padding-left: 30px; /* Отступ перед точкой */
    vertical-align: middle;
    opacity: 0.8; /* Можно сделать чуть прозрачнее, если нужно */
}

/* Анимация */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-8%); /* Сдвигаем ровно на половину длины ленты */
    }
}

/* --- Адаптив для мобильных --- */
@media (max-width: 768px) {
    .marquee-section {
        padding: 15px 0;
        border-bottom-width: 6px; /* Линия потоньше */
    }

    .marquee-content span {
        font-size: 20px; /* Уменьшаем текст */
        padding-left: 20px;
    }
    
    .marquee-content .dot {
        font-size: 16px;
        padding-left: 20px;
    }
    
    /* Чуть быстрее на маленьких экранах */
    .marquee-track {
        animation-duration: 15s; 
    }
}


/* --- Секция Преимущества --- */
.advantages {
    padding-top: 50px;
    background-color: var(--dark-color);
    padding-bottom: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* В макете шрифт не слишком жирный */
    font-size: var(--font-big-size);
    color: #fff;
    text-align: center;
    margin-bottom: 80px; /* Большой отступ до карточек */
}

.advantages-grid {
    display: grid;
    /* 3 колонки равной ширины */
    grid-template-columns: repeat(3, 1fr); 
    /* Отступы между колонками и строками */
    gap: 40px 30px; 
}

/* Карточка преимущества */
.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем всё по горизонтали */
    text-align: center;
}

/* Контейнер для иконки */
.advantage-icon {
    margin-bottom: 25px;
    background: none;
    width: 80px; 
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.advantage-icon svg {
    width: 100%;
    height: 100%;
    fill: none !important; /* Убираем фон принудительно */
}

.advantage-title {
    font-weight: 600;
    font-size: var(--font-info-size);
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
    max-width: 350px; /* Чтобы длинные заголовки красиво переносились */
}

.advantage-text {
    font-weight: 400;
    font-size: var(--font-small-size);
    line-height: 1.6;
    color: #ffffff; /* Светло-серый, чтобы не спорил с заголовком */
    max-width: 100%;
}


@media (max-width: 992px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr); /* Становится 2 колонки */
        gap: 40px 30px;
    }
}

@media (max-width: 576px) {
    .advantages {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .advantages-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 40px;
    }

    .advantage-title {
        font-size: 18px;
    }
    .advantage-text {
        font-size: 16px;
    }

    .advantage-item {
        padding: 0 10px; /* Небольшой отступ от краев экрана */
    }
}



/* --- Секция Экономическая выгода (Обновленная) --- */
.economy-section {
    position: relative;
    background-color: #141414;
    padding: 100px 0;
    overflow: hidden;
    color: #fff;
}

.economy-decor {
    position: absolute;
    top: -50px;
    right: 0;
    z-index: 1;
    width: 400px;
    opacity: 0.6;
    pointer-events: none;
}

.economy-decor img {
    width: 100%;
}

.economy-title {
    text-align: left;
    margin-bottom: 60px;
}

/* Контейнер графика */
.economy-chart-wrapper {
    position: relative;
    width: 100%;
    max-width: 1500px;
    height: 550px; /* Высота области графика */
    margin: 0 auto;
}

.economy-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.economy-path {
    stroke-linecap: round;
    stroke-linejoin: round;

    animation: draw-arrow 2s ease-in-out forwards;
}

@keyframes draw-arrow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Общий стиль точки с текстом */
.economy-item {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 300px; 
    transform: translate(-50%, -50%); 
}

/* Сама точка */
.economy-dot {
    width: 24px;
    height: 24px;
    background-color: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(46, 153, 167, 0.2); /* Красивый ореол */
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

/* Текстовые блоки */
.economy-content {
    text-align: center;
    padding: 20px;
}

.economy-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 12px;
}

.economy-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #cccccc;
}

.economy-desc .highlight {
    color: var(--main-color);
    font-weight: 600;
}

/* --- КООРДИНАТЫ ТОЧЕК (Должны совпадать с SVG) --- */
/* Формула перевода:
   X (px) / 1200 * 100 = %
   Y (px) / 500 * 100 = % 
*/

/* Точка 1: X=180, Y=400 */
.item-1 {
    left: 5%; 
    top: 73%; /* Чуть выше 80%, чтобы текст влез */
}
/* Текст сверху */
.item-1 .content-above { order: -1; margin-bottom: 0px; }


/* Точка 2: X=480, Y=200 */
.item-2 {
    left: 35%;
    top: 36%;
}
/* Текст снизу */
.item-2 .content-below { margin-top: 0px; }


/* Точка 3: X=780, Y=350 */
.item-3 {
    left: 65%;
    top: 64%;
}
/* Текст сверху */
.item-3 .content-above { order: -1; margin-bottom: 0px; }
.item-3 .content-above {padding-top: 50px;}


/* Точка 4: X=1080, Y=100 */
.item-4 {
    left: 95%;
    top: 18%;
}
/* Текст снизу */
.item-4 .content-below { margin-top: 0px; }


/* --- АДАПТИВ (Mobile & Tablet) --- */
@media (max-width: 992px) {
    .economy-section {
        height: auto;
        padding: 60px 0;
    }

    .economy-chart-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 20px; /* Отступ под линию слева */
    }

    /* Скрываем стрелку на мобильных */
    .economy-svg {
        display: none;
    }

    .economy-title {
        text-align: center;
        margin-bottom: 40px;
    }

    /* Превращаем точки в список */
    .economy-item {
        position: relative;
        left: auto !important;
        top: auto !important;
        transform: none;
        width: 100%;
        max-width: 600px;
        flex-direction: row; /* Точка слева, текст справа */
        align-items: flex-start;
        text-align: left;
        margin-bottom: 40px;
        padding-bottom: 0;
    }

    /* Рисуем вертикальную линию (Timeline) */
    .economy-chart-wrapper::before {
        content: "";
        position: absolute;
        left: 31px; /* По центру точек */
        top: 0;
        bottom: 0;
        width: 2px;
        opacity: 0.3;
    }

    .economy-dot {
        margin-right: 20px;
        margin-top: 5px; /* Выравниваем по заголовку */
        background-color: #161616; /* Черная середина */
        border: 10px solid var(--main-color); /* Цветная обводка */
        box-shadow: none;
        width: 16px;
        height: 16px;
        z-index: 2;
    }

    .economy-content {
        padding: 0;
        text-align: left;
    }

    /* Сбрасываем порядок, чтобы заголовок всегда был сверху */
    .content-above, .content-below {
        order: 0 !important;
        margin: 0 !important;
    }
}

/* --- Секция Типы КАЗС --- */
.types-section {
    background-color: var(--main-color); /* Весь блок бирюзовый */
    padding: 80px 0;
    overflow: hidden;
}

.types-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px; /* Расстояние между двумя карточками */
}

/* Карточка */
.type-card {
    flex: 1; /* Карточки делят ширину пополам */
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Эффект при наведении */
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-10px); /* Легкое всплытие при наведении */
}

/* Изображение */
.type-image {
    width: 100%;
    margin-bottom: -20px; /* Подтягиваем текст чуть вверх на картинку, если нужно */
    z-index: 1;
}

.type-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Текстовый блок */
.type-content {
    text-align: left;
    position: relative;
    z-index: 2; /* Текст поверх нижнего края картинки */
    padding: 0 10px;
}

.type-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-extra-size); 
    text-align: left;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.type-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: var(--font-bigger-size);
    color: #ffffff;
    text-transform: uppercase;
    text-align: left;
    display: block;
}

/* --- Адаптив (Mobile) --- */
@media (max-width: 992px) {
    .types-wrapper {
        flex-direction: column; /* Карточки встают друг под другом */

        align-items: center;
    }

    .type-card {
        width: 100%;
        max-width: 500px; /* Ограничиваем ширину на планшетах */
        text-align: center;
    }

    .type-content {
        text-align: center; /* Центрируем текст на мобильных */
    }

    .type-title {
        font-size: 42px; /* Уменьшаем шрифт */
    }
}

@media (max-width: 576px) {
    .types-section {
        padding: 50px 0;
    }


    .type-title {
        font-size: 32px; 
        word-break: break-word;
    }

    .type-subtitle {
        font-size: 16px;
    }

    .item-3 .content-above {padding-top: 0px;}
}


/* --- Секция Ведомственная КАЗС --- */
.departmental-header {
    background-color: var(--main-color); /* Бирюзовый фон заголовка */
    padding: 30px 0;
    text-align: center;
    color: #fff;
}

.dept-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.dept-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
    opacity: 0.95;
}

.departmental-body {
    background-color: #1D1D1D; /* Темный фон для контента (как на макете) */
    padding: 80px 0;
    color: #fff;
}

.dept-content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

/* Левая часть (Текст + Картинка) */
.dept-left {
    flex: 0 0 50%; /* Половина ширины */
}

.dept-main-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--font-bigger-size);
    line-height: 1.4;
    margin-bottom: 40px;
    max-width: 800px;
}

/* --- Галерея КАЗС --- */
.dept-gallery {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -30px; /* Чтобы компенсировать старый отступ, как у картинки */
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.gallery-active-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}

/* Кнопки перелистывания */
.gallery-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 10px;
    color: #fff;
    transition: color 0.3s, transform 0.2s;
    outline: none;
}

.gallery-arrow:hover {
    color: var(--main-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.dept-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    border-radius: 5px; /* Слегка скруглим края, если нужно */
    margin-top: -50px;
}


/* Блок с ценой и объемом */
.gallery-info {
    text-align: center;
    margin-top: 20px;
}

.gallery-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.gallery-size {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #CCCCCC;
}

/* Адаптив для галереи */
@media (max-width: 992px) {
    .dept-gallery {
        margin-top: 0;
    }
    .gallery-price {
        font-size: 26px;
    }
    .gallery-size {
        font-size: 14px;
    }
}
@media (max-width: 576px) {
    .gallery-arrow svg {
        width: 30px;
        height: 30px;
    }
    .prev-arrow { left: -10px; }
    .next-arrow { right: -10px; }
}

/* Правая часть (Списки) */
.dept-right {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 50px; /* Отступ между "Характеристиками" и "Преимуществами" */
}

.dept-block-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-info-size);
    color: var(--main-color); /* Бирюзовый заголовок */
    text-transform: none; /* Или uppercase, если нужно */
    margin-bottom: 20px;
}

/* Список технических особенностей */
.dept-specs-list {
    list-style: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff; 
}

.dept-specs-list li {
    margin-bottom: 8px;
}

/* Список преимуществ (со звездами) */
.dept-advantages-list {
    list-style: none;
}

.dept-advantages-list li {
    display: flex;
    align-items: center; 
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    text-transform: lowercase; /* Строчные буквы, как на макете */
}

.dept-advantages-list li svg {
    flex-shrink: 0;
    color: #fff; /* Белая звезда (контур за счет stroke в svg) */
    width: 24px;
    height: 24px;
}

.dept-suitable-list {
    display: flex;
    gap: 30px 50px; /* Отступы между галочками */
    list-style: none;
}

.dept-suitable-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
}

.dept-suitable-list li svg {
    color: #fff; /* Белая галочка */
    flex-shrink: 0;
    width: 18px;
    height: 14px;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .dept-title {
        font-size: 30px;
    }
    .dept-subtitle {
        font-size: 18px;
    }

    .dept-content-wrapper {
        flex-direction: column; /* Ставим колонки друг под друга */
        gap: 50px;
    }

    .dept-left, .dept-right {
        flex: 0 0 100%;
        width: 100%;
    }

    .dept-main-desc {
        text-align: left;
        font-size: 20px;
    }
    
    .dept-image {
        max-width: 100%;
    }
    
    .dept-suitable-list {
        flex-direction: column; /* Галочки в столбик на планшетах/мобильных */
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .departmental-header {
        padding: 20px 0;
    }
    .dept-title {
        font-size: 24px;
    }
    .dept-subtitle {
        font-size: 16px;
    }

    .dept-block-title {
        font-size: 18px;
        margin-bottom: 14px;
}
    .dept-main-desc {
        font-size: 20px;
    }

    .dept-specs-list {
        font-size: 14px;
    }

    .dept-advantages-list li {
        font-size: 14px;
    }

    .dept-suitable-list li {
        font-weight: 400;
        font-size: 14px;
    }

    .dept-footer {
    margin-top: -20px;
}
}


/* --- Секция Индивидуальный проект --- */
.individual-project {
    /* Фоновая картинка с чертежами */
    background: url('assets/img/backgrd.png') no-repeat center center;
    background-size: cover; 
    background-color: #F9F9F9; /* Цвет подложки, если картинка не прогрузится */
    padding: 50px 0;
    color: var(--dark-color);
}

.individual-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-big-size);
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.2;
}

.individual-text {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-info-size);
    line-height: 1.6;
    margin-bottom: 25px;
}

.individual-text strong {
    font-weight: 700;
}

.individual-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-bigger-size);
    color: var(--main-color); /* Бирюзовый цвет заголовка */
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Список этапов (галочки) */
.project-steps {
    display: flex;
    justify-content: space-between; /* Распределяем по ширине */
    flex-wrap: wrap; /* Разрешаем перенос, если не влезают */
    gap: 20px;
    margin-bottom: 50px;
}

.step-item {
    display: flex;
    align-items: center; /* Выравнивание иконки и текста по центру */
    gap: 12px;
    flex: 1; /* Каждый элемент старается занять равное место */
    min-width: 180px; /* Минимальная ширина элемента */
}

.step-icon {
    width: 24px;
    height: 24px;
    color: var(--dark-color); /* Галочка черная, как на макете */
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.step-item span {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.individual-bottom {
    display: flex;
    justify-content: flex-end; /* Кнопка справа */
}

/* --- Адаптив --- */
@media (max-width: 992px) {
    .individual-project {
        padding: 60px 0;
    }

    .individual-title {
        font-size: 28px;
    }

    .project-steps {
        flex-direction: column; /* На планшетах выстраиваем в столбик */
        gap: 15px;
        align-items: flex-start;
    }
    
    .individual-bottom {
        justify-content: center; /* Кнопка по центру */
    }
}

@media (max-width: 576px) {
    .individual-project {
    background: fixed;
    background-color: #F9F9F9; 
    }
    .individual-title {
        font-size: 24px;
    }
    
    .individual-text {
        font-size: 14px;
    }
    
    .individual-subtitle {
        font-size: 16px;
    }
    
    .btn {
        width: 100%;
    }
    .step-item span {
        font-size: 14px;
    }
}


/* --- Секция Франшиза --- */
.franchise {
    background-color: #FFFFFF;
    color: var(--dark-color);
    padding: 100px 0;
    
    /* Добавляем изоляцию от артефактов и прозрачных фонов сверху */
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.franchise-header {
    margin-bottom: 60px;
}

.franchise-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--font-big-size);
    line-height: 1.2;
    color: var(--dark-color);
}

.franchise-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: var(--font-info-size);
    line-height: 1.5;
    color: #4A4A4A; /* Темно-серый для обычного текста */
}

/* Сетка иконок */
.franchise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки */
    gap: 30px;
    margin-bottom: 60px;
}

.franchise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.franchise-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--main-color); /* Иконки будут бирюзовые */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Настройка SVG внутри франшизы */
.franchise-icon svg {
    width: 100%;
    height: 100%;
    fill: none; /* Убираем заливку, оставляем линии */
    stroke: currentColor; /* Берет цвет от родителя (.franchise-icon) */
}

.franchise-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #000;
    max-width: 400px; /* Чтобы текст красиво переносился, как на макете */
}

/* Нижняя часть с кнопкой */
.franchise-bottom {
    display: flex;
    justify-content: flex-end; /* Прижимаем кнопку вправо */
}

/* --- Адаптив Франшизы --- */

@media (max-width: 992px) {
    .franchise {
        padding: 60px 0;
    }

    .franchise-grid {
        /* На планшетах делаем 2 колонки по 2 иконки */
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px;
    }

    .franchise-title {
        font-size: 28px;
    }

    .franchise-bottom {
        justify-content: center; /* На планшетах кнопку по центру */
    }
}

@media (max-width: 576px) {
    .franchise-grid {
        /* На телефонах 1 колонка */
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .franchise-header {
        text-align: left; /* Можно оставить left или сделать center */
        margin-bottom: 30px;
    }

    .franchise-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .franchise-description {
        font-size: 14px;
    }
    
    .franchise-item {
        flex-direction: row; /* На мобилке иконка слева, текст справа (удобнее читать) */
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .franchise-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .franchise-text {
        font-size: 14px;
        max-width: 100%;
    }
    
    .btn {
        width: 100%; /* Кнопка во всю ширину */
    }
}

/* ===== Реализованные проекты ===== */
.projects-section {
    padding: 80px 0;
    background: var(--dark-color);
    overflow: hidden;
}

.projects-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-bigger-size);
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
}

.projects-slider {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.projects-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: var(--b-radius);
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease;
}

.projects-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--b-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.projects-slide-img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    display: block;
}

.projects-slide-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #b0bec5;
    padding: 24px 28px;
}

.projects-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, background 0.3s;
}

.projects-arrow:hover {
    border-color: var(--main-color);
    background: rgba(46, 153, 167, 0.1);
}

.projects-arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

.projects-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.projects-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    padding: 0;
}

.projects-dot.is-active {
    background: var(--main-color);
    border-color: var(--main-color);
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
    }

    .projects-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .projects-arrow {
        width: 36px;
        height: 36px;
    }

    .projects-arrow svg {
        width: 18px;
        height: 18px;
    }

    .projects-slide-desc {
        font-size: 14px;
        padding: 18px 20px;
    }

    .projects-slide-img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 480px) {
    .projects-slider {
        gap: 8px;
    }

    .projects-arrow {
        width: 32px;
        height: 32px;
    }
}

/* ===== Документы и сертификаты ===== */
.docs-section {
    padding: 80px 0;
    background: var(--grey-color);
}

.docs-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-bigger-size);
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
}

.docs-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #90a4ae;
    text-align: center;
    margin-bottom: 48px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.docs-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 32px 20px;
    border-radius: var(--b-radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.docs-card:hover {
    border-color: var(--main-color);
    background: rgba(46, 153, 167, 0.06);
    transform: translateY(-4px);
}

.docs-card-icon {
    color: var(--main-color);
    margin-bottom: 18px;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.docs-card:hover .docs-card-icon {
    opacity: 1;
}

.docs-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.docs-card-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #78909c;
    margin-bottom: 16px;
    line-height: 1.4;
}

.docs-card-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--main-color);
    margin-top: auto;
    transition: color 0.2s;
}

.docs-card:hover .docs-card-link {
    color: #3cc0ce;
}

@media (max-width: 992px) {
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .docs-section {
        padding: 60px 0;
    }

    .docs-title {
        font-size: 22px;
    }

    .docs-subtitle {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .docs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .docs-card {
        padding: 24px 16px;
    }
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 0;
    background: var(--dark-color);
}

.faq-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--font-bigger-size);
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--main-color);
}

.faq-item.is-open .faq-question {
    color: var(--main-color);
}

.faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
    transition: transform 0.3s, opacity 0.3s;
}

.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #90a4ae;
    padding-bottom: 22px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .faq-question {
        font-size: 14px;
        padding: 18px 0;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

/* Футер */
.footer {
    position: relative;
    width: 100%;
    background: #1D1D1D;
    padding: 60px 0 0;
    color: #FFFFFF;
    z-index: 10;
}

.footer-container {
    width: 75%;
    max-width: 1920px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--main-color);
    margin-bottom: 20px;
    text-transform: none;
}

.footer-info {
    margin-bottom: 15px;
}

.footer-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.footer-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #CCCCCC;
    margin: 0;
}

.footer-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.footer-link:hover {
    color: var(--main-color);
    cursor:pointer;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav-link:hover {
    color: var(--main-color);
}

.footer-map {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
    background: #2A2A2A;
}

.map-caption {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #999999;
    text-align: center;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding: 25px 0;
}

.footer-copyright {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #999999;
    text-align: center;
    margin: 0;
}


/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .footer-container {
        width: 80%;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .footer-title {
        font-size: 18px;
    }
    
    .footer-link,
    .footer-nav-link {
        font-size: 15px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-container {
        width: 90%;
    }
    
    /* Перестроение в одну колонку */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 40px;
        padding-left: 100px;
    }
    
    .footer-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-info {
        margin-bottom: 12px;
    }
    
    .footer-map iframe {
        height: 250px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-copyright {
        font-size: 13px;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-container {
        width: 95%;
    }
    
    .footer-content {
        gap: 30px;
        margin-bottom: 35px;
    }
    
    .footer-title {
        font-size: 17px;
    }
    
    .footer-link,
    .footer-nav-link {
        font-size: 14px;
    }
    
    .footer-text,
    .footer-label {
        font-size: 13px;
    }
    
    .footer-map iframe {
        height: 200px;
    }
    
    .footer-bottom {
        padding: 18px 0;
    }
    
    .footer-copyright {
        font-size: 12px;
        line-height: 16px;
    }
}

/* --- Секция Квиза (Marquiz) --- */
.quiz-section {
    background-color: var(--dark-color); /* Темный фон, как у всего сайта */
    padding: 30px 0; /* Отступы сверху и снизу */
    width: 100%;
    position: relative;
    z-index: 10;
}

@media (max-width: 992px) {
    .quiz-section {
        padding: 20px 0;
    }

    .marquiz__container_inline {
        background: none !important;
    }
}

