/* ============================================
   ВЫСОТА — Испытательная лаборатория
   style.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-primary:      #065da4;
    --color-primary-dark: #00569c;
    --color-accent:       #2b78bb;
    --color-dark:         #2d3748;
    --color-darker:       #1a2332;
    --color-footer:       #293d46;
    --color-text:         #444444;
    --color-text-light:   #666666;
    --color-border:       #d7dee3;
    --color-bg-light:     #f5f7f9;
    --color-white:        #ffffff;
    --font-main:          'Open Sans', Arial, sans-serif;
    --transition:         all 0.3s ease;
    --shadow:             0 2px 15px rgba(0,0,0,0.1);
    --radius:             4px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text);
    background: #fff;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--color-primary-dark); text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-main);
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.3;
}

p { margin-bottom: 15px; }

img { max-width: 100%; height: auto; }

ul { padding: 0; margin: 0; list-style: none; }

/* ---------- Buttons ---------- */
.btn-callback {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 6px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.btn-callback:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.btn-slide {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
    transition: var(--transition);
}
.btn-slide:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    white-space: nowrap;
}
.btn-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(73,124,157,0.4);
}

.btn-more {
    display: inline-block;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--color-primary);
    padding: 8px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-more:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-submit {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    margin-top: 5px;
}
.btn-submit:hover {
    background: var(--color-primary-dark);
}

/* ---------- Section titles ---------- */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--color-primary);
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 13px;
    margin-bottom: 35px;
    max-width: 800px;
    /* убираем центрирование — текст влево как в шаблоне */
    text-align: left;
}

/* ---------- Убираем линию там где она не нужна ---------- */

/* Подзаголовок услуг — влево */
.services-section .section-subtitle {
    text-align: left;
    margin-bottom: 20px;
    max-width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

/* Top bar */
.top-bar {
    background: var(--color-darker);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.top-bar-item {
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-item a {
    color: rgba(255,255,255,0.75);
}
.top-bar-item a:hover { color: #fff; }
.top-bar-item .fa { color: var(--color-primary); }

/* Main nav */
.main-nav {
    background: #ffffff;                              /* ← было: var(--color-dark) */
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);          /* ← добавили мягкую тень */
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.logo img { display: block; }

/* Nav menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
}
.nav-menu > li > a {
    display: block;
    color: var(--color-dark);                         /* ← было: rgba(255,255,255,0.85) */
    padding: 24px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: #fff !important;
    background: var(--color-primary);
    border-radius: 4px;
}

/* Компактное выделение — таблетка вокруг текста */
.nav-menu > li.active > a {
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 4px;
    /* Переопределяем padding — меньше по вертикали */
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    /* Горизонтальный padding оставляем */
    padding-left: 16px !important;
    padding-right: 16px !important;
    /* Центрируем по вертикали внутри li */
    margin-top: auto;
    margin-bottom: auto;
}

/* Чтобы li был flex-контейнером для выравнивания */
.nav-menu > li.active {
    display: flex;
    align-items: center;
}

/* Hover — такой же компактный */
.nav-menu > li > a:hover {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    border-radius: 4px;
}


/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #ffffff;                              /* ← было: var(--color-dark) */
    min-width: 240px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);         /* ← чуть светлее тень */
    z-index: 999;
    border-top: 3px solid var(--color-primary);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
    display: block;
    color: var(--color-dark);                         /* ← было: rgba(255,255,255,0.8) */
    padding: 10px 18px;
    font-size: 13px;
    border-bottom: 1px solid rgba(0,0,0,0.06);       /* ← было: rgba(255,255,255,0.05) */
    transition: var(--transition);
}
.dropdown li a:hover {
    color: #fff;                                      /* ← оставили белый текст на hover */
    background: var(--color-primary);
    padding-left: 24px;
}

/* Активный подпункт в дропдауне */
.dropdown li.active > a {
    background: #e8f2fb;
    color: var(--color-primary) !important;
    font-weight: 700;
    padding-left: 24px;
}

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.nav-burger span {
    display: block;
    width: 25px; height: 2px;
    background: var(--color-dark);                    /* ← было: #fff */
    transition: var(--transition);
}


/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.slider-container {
    position: relative;
    height: 480px;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,30,50,0.55);
}
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 40px 0;
}
.slide-content h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin: 0;
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.slider-dot.active { background: #fff; }

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(73,124,157,0.7);
    border: none;
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-arrow:hover { background: var(--color-primary); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ===== FEATURED BLOCKS ===== */
.featured-blocks {
    position: relative;
    z-index: 10;
    margin-top: 8px;        /* ← НЕ перекрываем, идём после слайдера */
    margin-bottom: 0;
    padding: 0;
}

.featured-blocks .row {
    display: flex;
    flex-wrap: nowrap;
    margin-left: 0;
    margin-right: 0;
    gap: 8px;               /* ← зазор между блоками */
}

.featured-blocks .col-md-4 {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    flex: 1;
}

.featured-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 170px;
    padding: 30px 30px;
    transition: var(--transition);
    text-decoration: none !important;
    height: 100%;
}

.featured-card--blue {
    background: var(--color-primary);
    color: #fff;
}

.featured-card--blue:hover {
    background: var(--color-primary-dark);
    color: #fff;
    text-decoration: none;
}

.featured-card--dark {
    background: #2d3748;
    color: #fff;
}

/* Иконка — скрываем (в шаблоне её нет) */
.featured-card__icon {
    display: none;
}

/* Заголовок синих блоков — с подчёркиванием как в шаблоне */
.featured-card--blue .featured-card__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.5;
    text-decoration: none !important;
    border-bottom: 2px solid rgba(255,255,255,0.45);
    padding-bottom: 8px;
    display: inline-block;
}

/* Заголовок тёмного блока — без подчёркивания */
.featured-card--dark .featured-card__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.5;
    text-decoration: none !important;
    border-bottom: none;
    margin-bottom: 12px;
}

.featured-card__text {
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin-top: 0;
}

/* Полный сброс подчёркиваний у ссылок */
a.featured-card,
a.featured-card:hover,
a.featured-card:focus,
a.featured-card:visited {
    text-decoration: none !important;
    outline: none;
    border-bottom: none !important;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
    padding: 50px 0 40px;
    background: #fff;
}

/* Заголовок раздела — без декора, влево */
.services-section .section-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
}
.services-section .section-title::after {
    display: none; /* убираем декоративную линию если есть */
}

/* Подзаголовок — влево, мелкий */
.services-section .section-subtitle {
    text-align: left;
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    max-width: 100%;
}

.services-grid {
    margin-top: 5px;
}

/* Убираем нижний отступ у последней строки карточек */
.services-grid .col-md-4 {
    margin-bottom: 0;
}

/* Карточка услуги */
.service-card {
    display: flex;
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
    align-items: flex-start;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
}

.services-grid > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.services-grid .service-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 1;
    width: 100%;
}

.services-grid .service-card__body {
    flex: 1;
}

/* Иконка — меньше, как в шаблоне */
.service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1;
}

.service-card__icon .fa {
    font-size: 20px;
    color: #ffffff;
}
/* Текст карточки */
.service-card__body {
    flex: 1;
}

.service-card__body h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 0;
    line-height: 1.4;
}

.service-card__body h3 a {
    color: var(--color-accent);
    text-decoration: none;
}

.service-card__body h3 a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.services-section .service-card__body p {
    font-size: 13px;
    color: var(--color-text-light) !important;
    margin: 0;
    line-height: 1.6;
}

.services-section .service-card__body p a {
    color: var(--color-accent);
    text-decoration: none;
}

/* Выравниваем высоту строк карточек */


/* Убираем нижнюю линию у карточек в последней строке */
.services-grid .col-md-4:nth-last-child(-n+3) .service-card {
    border-bottom: none;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 50px 0;
    background-color: var(--color-darker);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Тёмный оверлей поверх фото */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 50, 0.72);
}

/* Контент поверх оверлея */
.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-banner__text h2 {
    font-size: 22px;
    color: #ffffff;        /* ← белый */
    margin-bottom: 8px;
}

.cta-banner__text p {
    color: rgba(255, 255, 255, 0.75);  /* ← белый полупрозрачный */
    font-size: 13px;
    margin: 0;
    max-width: 580px;
}

/* ============================================
   ABOUT + NEWS
   ============================================ */
.about-news-section {
    padding: 60px 0;
    background: #fff;
}
.about-news-section p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.8;
}

/* News list */
.news-list { margin-bottom: 20px; }
.news-item { border-bottom: 1px solid var(--color-border); }
.news-item__link {
    display: flex;
    gap: 15px;
    padding: 14px 0;
    align-items: center;
    color: var(--color-text);
}
.news-item__link:hover { color: var(--color-primary); }
.news-item__img {
    flex-shrink: 0;
    width: 70px; height: 55px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-bg-light);
}
.news-item__img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.news-item__title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-footer);
    padding: 50px 0 0;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}
.footer-brand img { margin-bottom: 15px; }
.footer-address {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.7;
}
.footer-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: var(--transition);
}
.footer-nav a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.6);
}
.footer-contacts .fa {
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contacts a {
    color: rgba(255,255,255,0.6);
}
.footer-contacts a:hover { color: #fff; }

.footer-bottom {
    margin-top: 40px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: #fff;
    border-radius: 6px;
    padding: 35px;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover { color: #333; }

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-title .fa { color: var(--color-primary); }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 5px;
}
.form-control {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 9px 12px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(73,124,157,0.15);
}
textarea.form-control { resize: vertical; }

.form-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}
.form-note a { color: var(--color-primary); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 42px; height: 42px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}
.back-to-top.visible { display: flex; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .nav-menu > li > a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    /* Top bar */
    .top-bar-contacts { gap: 12px; }
    .top-bar-item:last-child { display: none; }

    /* Burger */
    .nav-burger { display: flex; }

    /* Мобильное меню */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--color-dark);
        z-index: 999;
        padding: 10px 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }
    .nav-menu.open { display: flex; }
    .main-nav { position: relative; }

    /* Пункты меню на мобилке — крупнее для удобства касания */
    .nav-menu > li > a {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 0;
    }

    /* Активный пункт на мобилке */
    .nav-menu > li.active > a {
        padding: 12px 20px;
        border-radius: 0;
    }

    /* Сброс стрелки у dropdown на мобилке */
    .nav-menu > li.has-dropdown > a::after {
        float: right;
    }

    /* Dropdown на мобилке */
    .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0,0,0,0.2);
        display: none;
        min-width: 100%;
    }
    .has-dropdown.open .dropdown { display: block; }

    /* Слайдер */
    .slider-container { height: 320px; }
    .slide-content h1 { font-size: 22px; }

    /* Featured блоки */
    .featured-card { min-height: auto; }
    .featured-blocks .row {
        flex-wrap: wrap;
        gap: 4px;
    }
    .featured-blocks .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* CTA баннер */
    .cta-banner__inner { flex-direction: column; text-align: center; }

    /* Сетка услуг */
    .services-grid .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Sidebar уходит вниз */
    .content-area { margin-bottom: 30px; }
}

@media (max-width: 767px) {
    /* Top bar */
    .top-bar-contacts { flex-direction: column; gap: 5px; }

    /* Слайдер */
    .slider-container { height: 260px; }
    .slide-content h1 { font-size: 18px; }
    .slide-content p { font-size: 13px; }
    .slide-content { padding: 20px; }

    /* Типографика */
    .section-title { font-size: 20px; }
    .section-title::after { width: 40px; }

    /* Featured блоки — каждый на всю ширину */
    .featured-blocks .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .featured-card {
        min-height: 100px;
        padding: 20px 20px;
    }

    /* Сетка услуг — 1 колонка */
    .services-grid .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Новости */
    .about-news-section .col-md-6 + .col-md-6 { margin-top: 40px; }

    /* Модальное окно */
    .modal-box { padding: 25px 20px; }

    /* Кнопка наверх */
    .back-to-top { bottom: 20px; right: 20px; }

    /* Форма */
    .contact-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Footer */
    .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer-col:last-child { margin-bottom: 0; }
}

@media (max-width: 480px) {
    /* Логотип */
    .logo img { height: 45px; }

    /* Слайдер */
    .slider-container { height: 220px; }
    .slide-content h1 { font-size: 16px; }
    .slide-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Точки слайдера */
    .slider-dot { width: 8px; height: 8px; }

    /* Заголовки секций */
    .section-title { font-size: 18px; }

    /* Top bar — скрываем адрес */
    .top-bar-item:nth-child(3) { display: none; }

    /* Кнопка заказать звонок */
    .btn-callback {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ============================================
   PAGE HERO (внутренние страницы)
   ============================================ */
.page-hero {
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center;
    padding: 45px 0;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,35,50,0.75);
}
.page-hero__inner {
    position: relative;
    z-index: 1;
}
.page-hero__title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}

/* Breadcrumb */
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb-list li { font-size: 13px; }
.breadcrumb-list a { color: rgba(255,255,255,0.65); }
.breadcrumb-list a:hover { color: #fff; }
.breadcrumb-list .separator { color: rgba(255,255,255,0.4); }
.breadcrumb-list .current { color: rgba(255,255,255,0.9); }

/* ============================================
   ABOUT MAIN
   ============================================ */
.about-main {
    padding: 60px 0;
    background: #fff;
}
.about-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 25px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}

/* Sidebar */
.about-sidebar { display: flex; flex-direction: column; gap: 20px; }

.about-info-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 22px;
    border-left: 4px solid var(--color-primary);
}
.about-info-card--accent {
    background: var(--color-primary);
    border-left-color: var(--color-primary-dark);
}
.about-info-card--accent .about-info-card__title { color: #fff; }
.about-info-card--accent p { color: rgba(255,255,255,0.85); font-size: 13px; }
.about-info-card--accent .btn-more {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.about-info-card--accent .btn-more:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.about-info-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-info-card__title .fa { color: var(--color-primary); }

.about-info-list { display: flex; flex-direction: column; gap: 10px; }
.about-info-list li {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}
.about-info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.about-info-list .label {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages-section {
    padding: 60px 0;
    background: var(--color-bg-light);
}

.advantages-grid {
    margin-top: 10px;
}

/* Строка — flex для выравнивания высоты */
.advantages-grid .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Колонка — flex-колонка */
.advantages-grid .col-md-3 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Карточка — занимает всю высоту колонки */
.advantage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius);
    height: 100%;           /* ← ключевое изменение */
    margin-bottom: 0;       /* ← убираем, отступ теперь у колонки */
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(73,124,157,0.15);
}

/* Иконка */
.advantage-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;         /* ← не сжимается */
    transition: var(--transition);
}

.advantage-card:hover .advantage-card__icon {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

/* Заголовок */
.advantage-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
    flex-shrink: 0;         /* ← не сжимается */
}

/* Текст — растягивается, выравнивает высоту */
.advantage-card p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;           /* ← занимает оставшееся место */
}

/* ============================================
   EQUIPMENT
   ============================================ */
.equipment-section {
    padding: 60px 0;
    background: #fff;
}

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 0;                        /* ← убрали gap */
    margin-top: 15px;
}

.equipment-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text);
    padding: 10px 0;               /* ← единственный источник высоты строки */
    border-bottom: 1px solid var(--color-border);
    line-height: 1.4;
    min-height: 40px;              /* ← страховка от разной высоты */
}

.equipment-list li:last-child {
    border-bottom: none;
}

.equipment-list .fa {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0;
    width: 16px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
}


/* ============================================
   STATS
   ============================================ */
.stats-section {
    padding: 50px 0;
    background: var(--color-dark);
}
.stats-grid { text-align: center; }

.stat-card {
    padding: 20px;
    margin-bottom: 20px;
}
.stat-card__number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card__label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

/* Быстрая навигация */
.services-intro {
    padding: 40px 0 20px;
    background: #fff;
}
.services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}
.services-nav__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    transition: var(--transition);
    text-decoration: none;
}
.services-nav__item .fa {
    color: var(--color-primary);
    font-size: 14px;
}
.services-nav__item:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.services-nav__item:hover .fa { color: #fff; }

/* Service detail блоки */
.service-detail {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}
.service-detail--alt {
    background: var(--color-bg-light);
}
.service-detail:last-of-type { border-bottom: none; }

.service-detail__row { align-items: flex-start; }

.service-detail__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}
.service-detail__icon {
    flex-shrink: 0;
    width: 60px; height: 60px;
    background: var(--color-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}
.service-detail__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 5px;
}
.service-detail__subtitle {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

.service-list-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 20px 0 12px;
}
.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}
.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.5;
}
.service-list .fa {
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 90px;
}
.service-order-card {
    background: var(--color-dark);
    border-radius: var(--radius);
    padding: 22px;
    color: rgba(255,255,255,0.85);
}
.service-order-card h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-order-card h4 .fa { color: var(--color-primary); }
.service-order-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 15px;
}
.service-order-card .btn-cta { font-size: 13px; padding: 10px 20px; }
.service-order-card .btn-more {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.75);
    display: block;
    text-align: center;
}
.service-order-card .btn-more:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.service-doc-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 4px solid var(--color-primary);
}
.service-doc-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-doc-card h4 .fa { color: var(--color-primary); }
.service-doc-card ul { display: flex; flex-direction: column; gap: 6px; }
.service-doc-card li {
    font-size: 12px;
    color: var(--color-text-light);
    padding: 4px 0;
    border-bottom: 1px solid var(--color-border);
}
.service-doc-card li:last-child { border-bottom: none; }

@media (max-width: 991px) {
    .service-sidebar { position: static; margin-top: 30px; }
    .services-nav__item span { display: none; }
    .services-nav__item { padding: 10px 14px; }
}
@media (max-width: 767px) {
    .service-detail__title { font-size: 18px; }
    .services-nav__item span { display: inline; }
}

/* ============================================
   CONTACTS PAGE
   ============================================ */
.contacts-section {
    padding: 60px 0;
    background: #fff;
}

/* Список контактов */
.contacts-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 35px;
}
.contacts-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}
.contacts-info-item:last-child { border-bottom: none; }

.contacts-info-item__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}
.contacts-info-item__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.contacts-info-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}
.contacts-info-item__value {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.5;
}
.contacts-info-item__value a {
    color: var(--color-dark);
    font-weight: 600;
}
.contacts-info-item__value a:hover { color: var(--color-primary); }

/* Форма на странице */
.contact-form-wrap {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 28px;
    border-top: 4px solid var(--color-primary);
}
.contact-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* Результат отправки формы */
.form-result {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-result--success {
    background: #f0faf0;
    color: #2d7a2d;
    border: 1px solid #b8e6b8;
}
.form-result--error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* Карта */
.contacts-map-wrap { padding-left: 20px; }
.contacts-map-hint {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.contacts-map-hint .fa { color: var(--color-primary); }
.contacts-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

/* Как добраться */
.contacts-directions {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 20px;
}
.contacts-directions__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contacts-directions__title .fa { color: var(--color-primary); }

.direction-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.direction-item .fa {
    font-size: 20px;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.direction-item strong {
    display: block;
    font-size: 13px;
    color: var(--color-dark);
    margin-bottom: 3px;
}
.direction-item p {
    font-size: 12px;
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 991px) {
    .contacts-map-wrap {
        padding-left: 0;
        margin-top: 40px;
    }
}

/* ============================================
   NEWS PAGE
   ============================================ */
.news-page-section {
    padding: 60px 0;
    background: #fff;
}

/* Карточка новости */
.news-card {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}
.news-card:last-child { border-bottom: none; }

.news-card__img-wrap {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    display: block;
}
.news-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
    background: var(--color-bg-light);
}
.news-card__img-wrap:hover img { transform: scale(1.05); }

.news-card__category {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card__body { flex: 1; }

.news-card__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.news-card__meta span {
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-card__meta .fa { color: var(--color-primary); }

.news-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card__title a {
    color: var(--color-dark);
}
.news-card__title a:hover { color: var(--color-primary); }

.news-card__excerpt {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__more {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.news-card__more:hover {
    color: var(--color-primary-dark);
    gap: 8px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.news-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 22px;
}
.sidebar-widget__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget__title .fa { color: var(--color-primary); }

/* Рубрики */
.sidebar-categories { display: flex; flex-direction: column; gap: 2px; }
.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--color-text);
    transition: var(--transition);
}
.sidebar-categories a:hover {
    background: var(--color-primary);
    color: #fff;
    padding-left: 14px;
}
.sidebar-categories a:hover .count {
    background: rgba(255,255,255,0.3);
    color: #fff;
}
.sidebar-categories .count {
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 30px;
    min-width: 24px;
    text-align: center;
    transition: var(--transition);
}

/* Последние новости */
.sidebar-recent { display: flex; flex-direction: column; gap: 0; }
.sidebar-recent li { border-bottom: 1px solid var(--color-border); }
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 0;
    color: var(--color-text);
    transition: var(--transition);
}
.sidebar-recent a:hover { color: var(--color-primary); }
.sidebar-recent__date {
    font-size: 11px;
    color: var(--color-text-light);
    font-weight: 600;
}
.sidebar-recent__title {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

/* CTA виджет */
.sidebar-cta {
    background: var(--color-dark);
    text-align: center;
}
.sidebar-cta h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.sidebar-cta p {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    margin-bottom: 16px;
}
.sidebar-cta .btn-more {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid #ffffff;   /* ← чёткая белая рамка */
    color: #ffffff;               /* ← белый текст */
    background: transparent;
    font-weight: 600;
}
.sidebar-cta .btn-more:hover {
    background: #ffffff;          /* ← белый фон при наведении */
    color: var(--color-dark);     /* ← тёмный текст при наведении */
}

@media (max-width: 767px) {
    .news-card { flex-direction: column; }
    .news-card__img-wrap { width: 100%; height: 200px; }
    .news-sidebar { margin-top: 40px; }
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
    padding: 60px 0;
    background: #fff;
}

/* Группа вопросов */
.faq-group {
    margin-bottom: 40px;
}
.faq-group__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-group__title .fa { color: var(--color-primary); }

/* Аккордеон */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}
.faq-question:hover { background: var(--color-bg-light); }
.faq-item.active .faq-question {
    background: var(--color-primary);
    color: #fff;
}

.faq-question span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    flex: 1;
}
.faq-item.active .faq-question span { color: #fff; }

.faq-icon {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #fff;
}

/* Ответ */
.faq-answer {
    display: none;
    padding: 20px;
    background: #fafbfc;
    border-top: 1px solid var(--color-border);
}
.faq-item.active .faq-answer { display: block; }

.faq-answer p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 10px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol {
    padding-left: 20px;
    margin-bottom: 10px;
}
.faq-answer li {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 4px;
}
.faq-answer a { color: var(--color-primary); font-weight: 600; }
.faq-answer a:hover { color: var(--color-primary-dark); }

/* FAQ Sidebar */
.faq-sidebar { display: flex; flex-direction: column; gap: 20px; }

.faq-ask-widget {
    background: var(--color-dark);
    border-radius: var(--radius);
    padding: 22px;
}
.faq-ask-widget__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-ask-widget__title .fa { color: var(--color-primary); }
.faq-ask-widget > p {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    margin-bottom: 16px;
}
.faq-ask-widget .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.faq-ask-widget .form-control::placeholder { color: rgba(255,255,255,0.4); }
.faq-ask-widget .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-primary);
}

/* Контакты в сайдбаре */
.faq-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-contacts-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text);
}
.faq-contacts-list .fa {
    color: var(--color-primary);
    width: 16px;
    text-align: center;
}
.faq-contacts-list a { color: var(--color-dark); font-weight: 600; }
.faq-contacts-list a:hover { color: var(--color-primary); }

/* Ссылки в сайдбаре */
.faq-links-list { display: flex; flex-direction: column; gap: 2px; }
.faq-links-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--color-text);
    border-radius: var(--radius);
    transition: var(--transition);
}
.faq-links-list a:hover {
    background: var(--color-primary);
    color: #fff;
    padding-left: 14px;
}
.faq-links-list .fa { color: var(--color-primary); font-size: 12px; }
.faq-links-list a:hover .fa { color: #fff; }

/* CTA кнопка outline */
.btn-cta--outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.btn-cta--outline:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

@media (max-width: 767px) {
    .faq-sidebar { margin-top: 40px; }
    .faq-group__title { font-size: 14px; }
}

/* ============================================
   ACCREDITATION PAGE
   ============================================ */
.accreditation-section {
    padding: 60px 0;
    background: #fff;
}

/* Карточка аттестата */
.accreditation-card {
    display: flex;
    gap: 20px;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 25px;
    margin: 25px 0 35px;
    border-left: 4px solid var(--color-primary);
}
.accreditation-card__icon {
    flex-shrink: 0;
    width: 60px; height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}
.accreditation-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 14px;
}
.accreditation-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.accreditation-card__list li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
}
.accreditation-card__list .label {
    color: var(--color-text-light);
    font-weight: 600;
    min-width: 180px;
}
.accreditation-card__list .value {
    color: var(--color-dark);
    font-weight: 600;
}
.accreditation-status {
    color: #2d7a2d !important;
    display: flex;
    align-items: center;
    gap: 5px;
}
.accreditation-status .fa { color: #2d7a2d; }

.accreditation-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-doc:hover {
    background: var(--color-primary-dark);
    color: #fff;
}
.btn-doc .fa { font-size: 14px; }

/* ===== ACCREDITATION BENEFITS ===== */
.accreditation-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.accreditation-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px 16px 0;
    border-bottom: 1px solid var(--color-border);
}

/* Правая колонка — добавляем отступ слева */
.accreditation-benefit:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--color-border);
}

/* Последние два элемента — убираем нижнюю границу */
.accreditation-benefit:nth-last-child(-n+2) {
    border-bottom: none;
}

.accreditation-benefit .fa-check-circle {
    color: #2d7a2d;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.accreditation-benefit strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.accreditation-benefit p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Адаптив — на мобильных в одну колонку */
@media (max-width: 600px) {
    .accreditation-benefits {
        grid-template-columns: 1fr;
    }
    .accreditation-benefit:nth-child(even) {
        padding-left: 0;
        border-left: none;
    }
    .accreditation-benefit:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--color-border);
    }
    .accreditation-benefit:last-child {
        border-bottom: none;
    }
}

/* Область аккредитации — аккордеон */
.accreditation-scope {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 15px;
}
.scope-item { border-bottom: 1px solid var(--color-border); }
.scope-item:last-child { border-bottom: none; }

.scope-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    gap: 10px;
}
.scope-item__header:hover { background: var(--color-bg-light); }
.scope-item.active .scope-item__header {
    background: var(--color-primary);
    color: #fff;
}
.scope-item__header span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.scope-item__header .fa-angle-down {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--color-primary);
}
.scope-item.active .scope-item__header .fa-angle-down {
    transform: rotate(180deg);
    color: #fff;
}
.scope-item__header .fa:first-child { color: var(--color-primary); }
.scope-item.active .scope-item__header .fa { color: #fff; }

.scope-item__body {
    display: none;
    padding: 16px 20px;
    background: #fafbfc;
    border-top: 1px solid var(--color-border);
}
.scope-item.active .scope-item__body { display: block; }
.scope-item__body ul { padding-left: 18px; margin: 0; }
.scope-item__body li {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 3px;
}

/* Sidebar аккредитации */
.accreditation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}

.accreditation-status-widget {
    background: var(--color-dark);
    border-radius: var(--radius);
    padding: 22px;
}
.accreditation-status-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.accreditation-status-badge .fa {
    font-size: 36px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.accreditation-status-badge__label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.accreditation-status-badge__value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #4caf50;
}

.accreditation-status-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.accreditation-status-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.accreditation-status-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.accreditation-status-list .label {
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.accreditation-status-list span:last-child {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}
.accreditation-status-widget .btn-more {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}
.accreditation-status-widget .btn-more:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Список документов */
.doc-list { display: flex; flex-direction: column; gap: 4px; }
.doc-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.doc-list a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f0f7fc;
}
.doc-list a .fa-file-pdf-o {
    color: #e53e3e;
    font-size: 16px;
    flex-shrink: 0;
}
.doc-list a span { flex: 1; font-weight: 600; }
.doc-list a .fa-download {
    color: var(--color-text-light);
    font-size: 12px;
}
.doc-list a:hover .fa-download { color: var(--color-primary); }

@media (max-width: 991px) {
    .accreditation-sidebar { position: static; }
}
@media (max-width: 767px) {
    .accreditation-card { flex-direction: column; }
    .accreditation-card__icon { width: 48px; height: 48px; font-size: 22px; }
}

/* ============================================
   ARTICLES PAGE
   ============================================ */
.articles-section {
    padding: 60px 0;
    background: #fff;
}

/* Фильтр */
.articles-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.articles-filter__btn {
    padding: 8px 18px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}
.articles-filter__btn:hover,
.articles-filter__btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Карточка статьи */
.article-card {
    display: flex;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}
.article-card:last-child { border-bottom: none; }

.article-card__img-wrap {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    display: block;
}
.article-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
    background: var(--color-bg-light);
}
.article-card__img-wrap:hover img { transform: scale(1.05); }

.article-card__category {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card__body { flex: 1; }

.article-card__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.article-card__meta span {
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
.article-card__meta .fa { color: var(--color-primary); font-size: 11px; }

.article-card__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.article-card__title a { color: var(--color-dark); }
.article-card__title a:hover { color: var(--color-primary); }

.article-card__excerpt {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.article-card__more {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.article-card__more:hover {
    color: var(--color-primary-dark);
    gap: 8px;
}
.article-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Теги */
.tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-size: 11px;
    color: var(--color-text-light);
    font-weight: 600;
    transition: var(--transition);
    cursor: default;
}
.tag:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Поиск в сайдбаре */
.articles-search {
    display: flex;
    gap: 0;
}
.articles-search .form-control {
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
}
.articles-search button {
    padding: 8px 14px;
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}
.articles-search button:hover { background: var(--color-primary-dark); }

/* Теги в сайдбаре */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 767px) {
    .article-card { flex-direction: column; }
    .article-card__img-wrap { width: 100%; height: 180px; }
    .articles-filter { gap: 6px; }
    .articles-filter__btn { font-size: 12px; padding: 6px 12px; }
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
    padding: 60px 0;
    background: #fff;
}

/* Фильтр */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
}
.gallery-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}
.gallery-filter__btn .fa { font-size: 12px; }
.gallery-filter__btn:hover,
.gallery-filter__btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Сетка галереи */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Элемент галереи */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--color-bg-light);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Оверлей */
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 35, 50, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay .fa {
    font-size: 28px;
    color: #fff;
}
.gallery-item__overlay span {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
}

/* Категория */
.gallery-item__cat {
    position: absolute;
    bottom: 8px; left: 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition);
}
.gallery-item:hover .gallery-item__cat {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
body.lightbox-open { overflow: hidden; }

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
#lightboxImg {
    max-width: 85vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
}
.lightbox-caption {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.lightbox-counter {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
}

/* Кнопки лайтбокса */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
    z-index: 10000;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1199px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .gallery-filter__btn span { display: none; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-section {
    padding: 60px 0;
    background: #fff;
}

/* Дата обновления */
.privacy-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}
.privacy-updated .fa { color: var(--color-primary); }
.privacy-updated strong { color: var(--color-dark); }

/* Вводный текст */
.privacy-intro {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.8;
    padding: 16px 20px;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 30px;
}

/* Блок раздела */
.privacy-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}
.privacy-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-block__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}
.privacy-block__num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.privacy-block__body p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 10px;
}
.privacy-block__body p:last-child { margin-bottom: 0; }
.privacy-block__body a {
    color: var(--color-primary);
    font-weight: 600;
}
.privacy-block__body a:hover { color: var(--color-primary-dark); }

/* Список в тексте */
.privacy-list {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
}
.privacy-list li {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.6;
    padding: 6px 10px 6px 30px;
    position: relative;
    background: var(--color-bg-light);
    border-radius: var(--radius);
}
.privacy-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 10px;
    top: 8px;
    color: var(--color-primary);
    font-size: 11px;
}
.privacy-list li a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Sidebar */
.privacy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}

/* Навигация по разделам */
.privacy-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.privacy-nav li a {
    display: block;
    padding: 7px 10px;
    font-size: 12px;
    color: var(--color-text);
    border-radius: var(--radius);
    transition: var(--transition);
    line-height: 1.4;
}
.privacy-nav li a:hover,
.privacy-nav li.active a {
    background: var(--color-primary);
    color: #fff;
    padding-left: 14px;
}

@media (max-width: 991px) {
    .privacy-sidebar { position: static; margin-top: 40px; }
}
@media (max-width: 767px) {
    .privacy-block__title { font-size: 15px; }
}

/* ============================================
   SERVICES PAGE — TABS
   ============================================ */

/* Кнопки-вкладки */
.services-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.services-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}
.services-tab .fa { font-size: 13px; color: var(--color-primary); }
.services-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.services-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.services-tab.active .fa { color: #fff; }

/* Панели вкладок */
.services-tab-content { position: relative; }
.tab-pane {
    display: none;
    animation: fadeInTab 0.3s ease;
}
.tab-pane.active { display: block; }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Содержимое вкладки */
.service-detail__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.service-detail__icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    background: var(--color-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
.service-detail__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}
.service-detail__subtitle {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
}

.service-detail p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 14px;
}

.service-detail__list-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-detail__list-title .fa { color: var(--color-primary); }

.service-detail__list {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.service-detail__list li {
    font-size: 13px;
    color: var(--color-text);
    padding: 7px 12px 7px 32px;
    position: relative;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    line-height: 1.5;
}
.service-detail__list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 11px;
    top: 9px;
    color: var(--color-primary);
    font-size: 11px;
}

/* Нормативная база */
.service-detail__norms {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 16px 18px;
    border: 1px solid var(--color-border);
}
.norms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.norm-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
}

/* Сайдбар заказа */
.service-sidebar { position: sticky; top: 90px; }
.service-order-widget {
    background: var(--color-dark);
    border-radius: var(--radius);
    padding: 22px;
    color: #fff;
}
.service-order-widget h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-order-widget h4 .fa { color: var(--color-primary); }
.service-order-widget p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ↓ ИЗМЕНЕНО */
.service-order-widget .btn-more {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);   /* ← была тонкая блёклая */
    color: #ffffff;                             /* ← был rgba(255,255,255,0.7) */
    font-weight: 600;
}
.service-order-widget .btn-more:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;                      /* ← добавили яркую обводку */
    color: #ffffff;
}

@media (max-width: 991px) {
    .service-sidebar { position: static; margin-top: 30px; }
}
@media (max-width: 767px) {
    .services-tab span { font-size: 12px; }
    .services-tab { padding: 8px 14px; }
    .service-detail__title { font-size: 18px; }
}

/* Сброс Bootstrap наследования в карточках услуг */
.service-card__body p,
.service-card__body p * {
    color: var(--color-text-light);
    text-decoration: none;
}

/* ===== ADVANTAGES FLEX СЕТКА ===== */
.advantages-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    margin-top: 10px;
}

.advantages-flex__item {
    flex: 1 1 calc(25% - 15px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.advantages-flex__item .advantage-card {
    flex: 1;                /* ← карточка растягивается на всю высоту */
    margin-bottom: 0;
}

/* Планшет — 2 колонки */
@media (max-width: 991px) {
    .advantages-flex__item {
        flex: 1 1 calc(50% - 10px);
    }
}

/* Мобильный — 1 колонка */
@media (max-width: 575px) {
    .advantages-flex__item {
        flex: 1 1 100%;
    }
}

/* ============================================
   SERVICE DETAILS — раскрывающийся список
   ============================================ */
.service-details-list {
    margin-top: 10px;
    margin-bottom: 30px;        /* ← отступ перед Нормативной базой */
}

.service-detail-item {
    border: 1px solid #e4eaf0;
    border-radius: var(--radius);
    margin-bottom: 6px;
    overflow: hidden;
    transition: var(--transition);
}

.service-detail-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(6, 93, 164, 0.08);
}

/* Заголовок строки */
.service-detail-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    background: #f8fafc;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Убираем стандартную стрелку */
.service-detail-summary::-webkit-details-marker { display: none; }
.service-detail-summary::marker { display: none; }

.service-detail-summary:hover {
    background: #eef4fb;
    color: var(--color-primary);
}

.service-detail-item[open] .service-detail-summary {
    background: var(--color-primary);
    color: #fff;
}

/* Иконка галочки */
.service-detail-summary .fa-check {
    color: var(--color-primary);
    font-size: 12px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.service-detail-item[open] .service-detail-summary .fa-check {
    color: #fff;
}

/* Стрелка справа */
.service-detail-summary::after {
    content: '\f107';
    font-family: FontAwesome;
    margin-left: auto;
    font-size: 14px;
    transition: transform 0.25s ease;
    color: var(--color-text-light);
}

.service-detail-item[open] .service-detail-summary::after {
    transform: rotate(180deg);
    color: #fff;
}

/* Раскрытый список */
.service-detail-inner {
    list-style: none;
    margin: 0;
    padding: 10px 16px 14px 38px;
    background: #fff;
    border-top: 1px solid #e4eaf0;
}

.service-detail-inner li {
    font-size: 13px;
    color: var(--color-text-light);
    padding: 5px 0;
    border-bottom: 1px dashed #eef0f3;
    line-height: 1.5;
}

.service-detail-inner li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-detail-inner li::before {
    content: '—';
    color: var(--color-accent);
    margin-right: 8px;
    font-size: 12px;
}

/* ============================================
   НОРМАТИВНАЯ БАЗА — отступ сверху
   ============================================ */
.service-standards {
    margin-top: 35px;           /* ← увеличенный отступ */
}

/* ===== INFO CARDS GRID ===== */
.info-cards-grid {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.info-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    border: 1px solid #e4eaf0;
    border-radius: var(--radius);
    background: #fff;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 24px rgba(6, 93, 164, 0.10);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--color-text);
}

.info-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-card:hover .info-card__icon {
    background: var(--color-accent);
}

.info-card__icon .fa {
    font-size: 26px;
    color: #fff;
}

.info-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.info-card__text {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.info-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.info-card:hover .info-card__link {
    gap: 10px;
}

@media (max-width: 991px) {
    .info-card {
        flex: 1 1 calc(50% - 14px);
    }
}

@media (max-width: 575px) {
    .info-card {
        flex: 1 1 100%;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* fixed может не работать на мобильных */
    padding: 70px 0;
    overflow: hidden;
    /* Фолбэк-цвет если фото не загрузилось */
    background-color: #1a2e4a;
}

/* Тёмный оверлей поверх фото */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 60, 0.70);
    z-index: 0;
}

/* Убираем отдельный div.cta-overlay — теперь используем ::before */
.cta-overlay {
    display: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.80);
    margin: 0;
}

.cta-actions {
    flex-shrink: 0;
}

.cta-actions .btn-primary {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--color-primary);
    border: 2px solid transparent;
    color: #fff;
    border-radius: var(--radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cta-actions .btn-primary:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

@media (max-width: 767px) {
    .cta-section {
        padding: 50px 0;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .cta-text h2 {
        font-size: 22px;
    }
    .cta-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FOOTER UNIFIED ===== */
.site-footer {
    background: var(--color-footer, #293d46);
    padding: 48px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.footer-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-col {
    flex: 1;
    min-width: 0;
}

.footer-brand {
    flex: 1.2;
}

/* Логотип-текст */
.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* Заголовки колонок */
.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ссылки в колонках */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Контакты в футере */
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
}

.footer-contacts li .fa {
    color: var(--color-primary);
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contacts a:hover {
    color: #ffffff;
}

/* Нижняя строка */
.footer-bottom {
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom p {
    margin: 0;
}

/* Убираем иконки соцсетей если не нужны */
.footer-social {
    display: none;
}

/* ===== АДАПТИВ ФУТЕРА ===== */
@media (max-width: 991px) {
    .footer-inner {
        flex-wrap: wrap !important;
        gap: 28px;
    }
    .footer-col {
        flex: 1 1 calc(50% - 14px);
    }
    .footer-brand {
        flex: 1 1 100%;
    }
}

@media (max-width: 575px) {
    .footer-col {
        flex: 1 1 100%;
    }
    .footer-bottom {
        text-align: center;
    }
}

/* ===== ACCREDITATION BENEFITS ===== */
.accreditation-benefits {
    margin-top: 20px;
}

.accreditation-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.accreditation-benefit:last-child {
    border-bottom: none;
}

.accreditation-benefit .fa-check-circle {
    color: #2d7a2d;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.accreditation-benefit strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.accreditation-benefit p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* ===== ПАГИНАЦИЯ ===== */
.articles-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.articles-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.articles-pagination .page-btn:hover {
    border-color: #e8472a;
    color: #e8472a;
}
.articles-pagination .page-btn.active {
    background: #e8472a;
    border-color: #e8472a;
    color: #fff;
}
.articles-pagination .page-btn.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
.articles-pagination .page-info {
    font-size: 13px;
    color: #888;
    margin: 0 8px;
}

/* Выравнивание колонок оснащения/деятельности */
.equipment-row {
    display: flex !important;
    align-items: flex-start;
}

.equipment-col {
    display: flex;
    flex-direction: column;
}

/* Вводный абзац растягивается до одинаковой высоты в обеих колонках */
.equipment-intro {
    flex-grow: 1;               /* ← занимает всё доступное место */
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0;           /* ← убираем нижний отступ у <p> */
    padding-bottom: 15px;       /* ← заменяем на padding */
}

/* ===== EQUIPMENT TWO COLUMNS ===== */
.equipment-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.equipment-two-col__item {
    display: grid;
    grid-template-rows: auto auto 1fr;  /* h2 | p | ul */
}

/* Абзац — одинаковая высота в обеих колонках */
.equipment-intro {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0;
    padding-bottom: 15px;
    align-self: stretch;
}

@media (max-width: 767px) {
    .equipment-two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}