/* ============================================
   SEO HUB ARTICLE — ГЛАВНАЯ СТРАНИЦА
   ============================================ */

.hub-article-section {
    padding: 50px 0 40px;
    background: #fff;
}

.hub-article-header {
    text-align: center;
    margin-bottom: 30px;
}

.hub-article-title {
    font-size: 22pt;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.35;
    margin-bottom: 10px;
}

.hub-article-subtitle {
    font-size: 11pt;
    color: #2980b9;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hub-article-body {
    max-width: 960px;
    margin: 0 auto;
}

.hub-article-body p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    margin-bottom: 14px;
}

.hub-article-body a {
    color: #1a6fa8;
    text-decoration: underline;
    text-decoration-color: rgba(26,111,168,0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.hub-article-body a:hover {
    color: #c0392b;
    text-decoration-color: rgba(192,57,43,0.5);
}

/* --- Блоки-разделы по направлениям --- */

.hub-service-block {
    display: flex;
    gap: 20px;
    background: #f8fbff;
    border-left: 5px solid #1a6fa8;
    border-radius: 0 8px 8px 0;
    padding: 25px 25px 20px;
    margin-bottom: 30px;
    transition: box-shadow 0.2s;
}

.hub-service-block:hover {
    box-shadow: 0 4px 20px rgba(26,111,168,0.12);
}

.hub-service-block--alcohol {
    border-left-color: #e67e22;
    background: #fffaf4;
}

.hub-service-block--narco {
    border-left-color: #c0392b;
    background: #fff8f8;
}

.hub-service-block--psych {
    border-left-color: #27ae60;
    background: #f4fff8;
}

.hub-service-block__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1a6fa8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-top: 4px;
}

.hub-service-block--alcohol .hub-service-block__icon { background: #e67e22; }
.hub-service-block--narco   .hub-service-block__icon { background: #c0392b; }
.hub-service-block--psych   .hub-service-block__icon { background: #27ae60; }

.hub-service-block__content {
    flex: 1;
}

.hub-service-block__title {
    font-size: 15pt;
    font-weight: 700;
    margin: 0 0 12px;
}

.hub-service-block__title a {
    color: #1a3a5c !important;
    text-decoration: none !important;
}

.hub-service-block__title a:hover {
    color: #1a6fa8 !important;
}

/* --- Чипы-ссылки --- */

.hub-link-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hub-chip {
    display: inline-block;
    padding: 5px 13px;
    background: #fff;
    border: 1px solid #c8dff5;
    border-radius: 20px;
    font-size: 10pt;
    color: #1a6fa8 !important;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.hub-chip:hover {
    background: #1a6fa8;
    border-color: #1a6fa8;
    color: #fff !important;
}

/* --- Нижняя сетка 2x2 --- */

.hub-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.hub-bottom-grid__item {
    background: #f5f8fd;
    border-radius: 8px;
    padding: 20px;
    border-top: 3px solid #1a6fa8;
}

.hub-bottom-grid__item h3 {
    font-size: 13pt;
    font-weight: 700;
    margin-bottom: 8px;
}

.hub-bottom-grid__item h3 a {
    color: #1a3a5c !important;
    text-decoration: none !important;
}

.hub-bottom-grid__item h3 a:hover {
    color: #1a6fa8 !important;
}

.hub-bottom-grid__item p {
    font-size: 11pt;
    margin: 0;
}

/* --- CTA внутри статьи --- */

.hub-cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #1a3a5c 0%, #1a6fa8 100%);
    border-radius: 10px;
    padding: 25px 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hub-cta-inline__text {
    color: #fff;
    font-size: 13pt;
    line-height: 1.5;
}

.hub-cta-inline__action {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hub-cta-phone {
    font-size: 17pt;
    font-weight: 700;
    color: #ffd700 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.hub-cta-phone:hover {
    color: #fff !important;
}

.hub-cta-btn {
    white-space: nowrap;
}

/* ============================================
   БЛОК "О НАС" — ГЛАВНАЯ СТРАНИЦА
   ============================================ 

.home-about-section {
    padding: 50px 0;
    background: #f0f6ff;
}

.home-about-row {
    align-items: center;
}

.home-about-text p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.75;
    color: #333;
    margin-bottom: 14px;
}

.home-about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.home-about-list li {
    font-size: 12pt;
    font-family: Georgia, 'Times New Roman', serif;
    color: #333;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dotted #cbd8ea;
}

.home-about-list li:last-child {
    border-bottom: none;
}

.home-about-list .fa-check-circle {
    color: #27ae60;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --- Счётчики --- 

.home-about-counters {
    padding-left: 30px;
}

.home-counters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.home-counter-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(26,111,168,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-counter-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(26,111,168,0.18);
}

.home-counter-number {
    font-size: 30pt;
    font-weight: 800;
    color: #1a6fa8;
    line-height: 1;
    margin-bottom: 6px;
}

.home-counter-number span {
    font-size: 20pt;
    color: #e67e22;
}

.home-counter-label {
    font-size: 9pt;
    color: #555;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.home-about-license {
    background: #fff;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    font-size: 11pt;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.home-about-license a {
    color: #1a6fa8;
}

/* ============================================
   АДАПТИВ
   ============================================ *

@media (max-width: 991px) {
    .hub-service-block {
        flex-direction: column;
    }

    .hub-service-block__icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .hub-bottom-grid {
        grid-template-columns: 1fr;
    }

    .home-about-counters {
        padding-left: 0;
        margin-top: 30px;
    }

    .hub-cta-inline {
        flex-direction: column;
        text-align: center;
    }

    .hub-article-title {
        font-size: 17pt;
    }
}

@media (max-width: 575px) {
    .home-counters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-counter-number {
        font-size: 22pt;
    }

    .hub-link-chips {
        gap: 6px;
    }

    .hub-chip {
        font-size: 9pt;
        padding: 4px 10px;
    }

    .hub-cta-phone {
        font-size: 14pt;
    }
}
*/

/* ============================================================
   БЛОК "О НАС" С ФОТО — ГЛАВНАЯ
   ============================================================ */

.home-about-section {
    padding: 60px 0;
    background: linear-gradient(160deg, #f0f6ff 0%, #e8f4fb 100%);
    overflow: hidden;
}

.home-about-row {
    align-items: center;
    gap: 0;
}

/* --- Фото -------------------------------------------------- */

.home-about-photo-col {
    padding-right: 40px;
}

.home-about-photo-wrap {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}

.home-about-photo {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 15px 45px rgba(26,111,168,.22);
    position: relative;
    z-index: 1;
}

/* Декоративный прямоугольник за фото */
.home-about-photo-wrap::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: #1a6fa8;
    border-radius: 16px;
    bottom: -16px;
    left: -16px;
    z-index: 0;
    opacity: .12;
}

/* Плашка-бейдж */
.home-about-badge {
    position: absolute;
    top: 22px;
    right: -18px;
    background: #e67e22;
    color: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(230,126,34,.4);
    z-index: 2;
    min-width: 90px;
}

.home-about-badge__num {
    display: block;
    font-size: 28pt;
    font-weight: 800;
    line-height: 1;
}

.home-about-badge__text {
    display: block;
    font-size: 9pt;
    line-height: 1.3;
    text-transform: uppercase;
    margin-top: 3px;
    opacity: .9;
}

/* --- Текст ------------------------------------------------- */

.home-about-text-col {
    padding-left: 20px;
}

.home-about-label {
    display: inline-block;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a6fa8;
    background: rgba(26,111,168,.1);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 14px;
}

.home-about-title {
    font-size: 19pt;
    font-weight: 800;
    color: #1a3a5c;
    line-height: 1.3;
    margin-bottom: 16px;
}

.home-about-intro {
    font-family: Georgia, serif;
    font-size: 12pt;
    color: #444;
    line-height: 1.75;
    margin-bottom: 22px;
}

/* --- Фичи -------------------------------------------------- */

.home-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.home-about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.home-about-feature__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a6fa8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.home-about-feature__icon--green  { background: #27ae60; }
.home-about-feature__icon--orange { background: #e67e22; }
.home-about-feature__icon--purple { background: #8e44ad; }

.home-about-feature strong {
    display: block;
    font-size: 10pt;
    color: #1a3a5c;
    margin-bottom: 3px;
}

.home-about-feature span {
    font-size: 9.5pt;
    color: #666;
    line-height: 1.45;
}

/* --- Лицензия-строка --------------------------------------- */

.home-about-license-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 10.5pt;
    color: #333;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border-left: 4px solid #27ae60;
}

.home-about-license-bar a { color: #1a6fa8; }

/* --- Статистика -------------------------------------------- */

.home-about-stats {
    display: flex;
    gap: 0;
    margin-bottom: 22px;
}

.home-stat {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    border-right: 1px solid #dde8f5;
}

.home-stat:last-child { border-right: none; }

.home-stat__num {
    font-size: 22pt;
    font-weight: 800;
    color: #1a6fa8;
    line-height: 1;
}

.home-stat__num sup {
    font-size: 14pt;
    color: #e67e22;
}

.home-stat__label {
    font-size: 8.5pt;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 4px;
}

/* --- Кнопка ------------------------------------------------ */

.home-about-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a6fa8;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 11pt;
    font-weight: 700;
    transition: background .2s, transform .2s;
}

.home-about-more-btn:hover {
    background: #145a8a;
    transform: translateX(3px);
}

/* ============================================================
   ГЛАВНАЯ SEO-СТАТЬЯ
   ============================================================ */

.main-hub-section {
    padding: 60px 0 50px;
    background: #fff;
}

/* --- Шапка секции ------------------------------------------ */

.main-hub-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.main-hub-header__label {
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6fa8;
    margin-bottom: 12px;
}

.main-hub-title {
    font-size: 21pt;
    font-weight: 800;
    color: #1a3a5c;
    line-height: 1.3;
    margin-bottom: 16px;
}

.main-hub-lead {
    font-family: Georgia, serif;
    font-size: 13pt;
    color: #555;
    line-height: 1.75;
}

/* --- Цитата ------------------------------------------------ */

.main-hub-quote {
    background: #f0f6ff;
    border-left: 5px solid #1a6fa8;
    border-radius: 0 10px 10px 0;
    padding: 22px 28px;
    margin: 0 0 36px;
    position: relative;
}

.main-hub-quote--compact { margin-bottom: 20px; margin-top: 10px; }
.main-hub-quote--green { 
    background: #f0fff5; 
    border-left-color: #27ae60; 
}

.main-hub-quote__icon,
.main-hub-quote .fa-quote-left {
    color: #1a6fa8;
    font-size: 22px;
    margin-bottom: 10px;
    display: block;
    opacity: .5;
}

.main-hub-quote--green .fa-quote-left { color: #27ae60; }

.main-hub-quote p {
    font-family: Georgia, serif;
    font-size: 12pt;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    margin: 0 0 8px;
}

.main-hub-quote cite {
    font-size: 10pt;
    color: #888;
    font-style: normal;
}

/* --- Общий текст ------------------------------------------- */

.main-hub-text {
    font-family: Georgia, serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    margin-bottom: 14px;
}

.main-hub-text a {
    color: #1a6fa8;
    text-decoration: underline;
    text-decoration-color: rgba(26,111,168,.3);
    text-underline-offset: 3px;
    transition: color .2s;
}

.main-hub-text a:hover { color: #c0392b; }

/* --- Маркированный список ---------------------------------- */

.main-hub-ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.main-hub-ul li {
    font-family: Georgia, serif;
    font-size: 12pt;
    color: #333;
    line-height: 1.65;
    padding: 8px 0 8px 28px;
    border-bottom: 1px dotted #dde8f5;
    position: relative;
}

.main-hub-ul li:last-child { border-bottom: none; }

.main-hub-ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a6fa8;
    font-weight: 700;
}

.main-hub-ul li a {
    color: #1a6fa8;
    font-weight: 700;
    text-decoration: none;
}

.main-hub-ul li a:hover { color: #c0392b; text-decoration: underline; }

/* --- Заголовки блоков -------------------------------------- */

.main-hub-block {
    position: relative;
    padding-left: 72px;
    margin-bottom: 20px;
}

.main-hub-block__side-icon {
    position: absolute;
    left: 10px;
    top: -55px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1a6fa8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(26,111,168,.3);
}

.main-hub-block__side-icon--narco { background: #c0392b; box-shadow: 0 4px 15px rgba(192,57,43,.3); }
.main-hub-block__side-icon--psych { background: #27ae60; box-shadow: 0 4px 15px rgba(39,174,96,.3); }

.main-hub-block__heading {
    margin-bottom: 20px;
}

.main-hub-block__tag {
    display: inline-block;
    font-size: 8.5pt;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a6fa8;
    background: rgba(26,111,168,.1);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 8px;
}

.main-hub-block__tag--alcohol { color: #e67e22; background: rgba(230,126,34,.1); }
.main-hub-block__tag--narco   { color: #c0392b; background: rgba(192,57,43,.1); }
.main-hub-block__tag--psych   { color: #27ae60; background: rgba(39,174,96,.1); }

.main-hub-block__title {
    font-size: 17pt;
    font-weight: 800;
    color: #1a3a5c;
    margin: 0;
}

.main-hub-block__title a {
    color: #1a3a5c !important;
    text-decoration: none !important;
}

.main-hub-block__title a:hover { color: #1a6fa8 !important; }

/* Цветные бордюры у блоков *//*
.main-hub-block--alcohol { 
    border-left: 4px solid #e67e22; 
    padding-left: 24px;
    margin-left: 0;
}
.main-hub-block--narco   { border-left: 4px solid #c0392b; padding-left: 24px; }
.main-hub-block--psych   { border-left: 4px solid #27ae60; padding-left: 24px; }

.main-hub-block--alcohol .main-hub-block__side-icon,
.main-hub-block--narco   .main-hub-block__side-icon,
.main-hub-block--psych   .main-hub-block__side-icon {
    display: none; /* убираем иконку сбоку, оставляем бордюр */
}

/* --- Шаги реабилитации ------------------------------------- */

.main-hub-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 18px 0;
}

.main-hub-step {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f7;
}

.main-hub-step:last-child { border-bottom: none; }

.main-hub-step__num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fa8, #2980b9);
    color: #fff;
    font-size: 11pt;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hub-step__body strong {
    display: block;
    font-size: 11.5pt;
    color: #1a3a5c;
    margin-bottom: 4px;
}

.main-hub-step__body p {
    font-family: Georgia, serif;
    font-size: 11pt;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* --- Карточка цен ------------------------------------------ */

.main-hub-price-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26,111,168,.14);
    margin-top: 8px;
}

.main-hub-price-card__header {
    background: linear-gradient(135deg, #1a3a5c, #1a6fa8);
    color: #fff;
    padding: 18px 22px;
    font-size: 13pt;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-hub-price-card__body {
    padding: 20px 22px;
}

.main-hub-price-card__price {
    font-size: 22pt;
    font-weight: 800;
    color: #1a6fa8;
    margin-bottom: 16px;
}

.main-hub-price-card__price span {
    font-size: 12pt;
    color: #888;
    font-weight: 400;
}

.main-hub-price-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.main-hub-price-card__list li {
    font-size: 11pt;
    color: #333;
    padding: 6px 0;
    border-bottom: 1px dotted #e0eaf5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-hub-price-card__list li:last-child { border-bottom: none; }

.main-hub-price-card__list .fa-check {
    color: #27ae60;
    font-size: 12px;
}

.main-hub-price-card__btn {
    display: block;
    text-align: center;
    padding: 11px 20px;
    background: #1a6fa8;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 10.5pt;
    font-weight: 700;
    margin-bottom: 8px;
    transition: background .2s;
}

.main-hub-price-card__btn:hover { background: #145a8a; }

.main-hub-price-card__btn--outline {
    background: transparent;
    border: 2px solid #1a6fa8;
    color: #1a6fa8 !important;
}

.main-hub-price-card__btn--outline:hover {
    background: #1a6fa8;
    color: #fff !important;
}

/* --- Карточки сервисов (2 колонки) ------------------------- */

.main-hub-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.main-hub-service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fbff;
    border: 1px solid #dde8f5;
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none !important;
    transition: background .15s, border-color .15s, transform .15s;
}

.main-hub-service-card:hover {
    background: #fff;
    border-color: #1a6fa8;
    transform: translateX(3px);
    box-shadow: 0 3px 12px rgba(26,111,168,.12);
}

.main-hub-service-card__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #1a6fa8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.main-hub-service-card__icon--alcohol { background: #e67e22; }
.main-hub-service-card__icon--narco   { background: #c0392b; }
.main-hub-service-card__icon--psych   { background: #27ae60; }

.main-hub-service-card__body {
    flex: 1;
    min-width: 0;
}

.main-hub-service-card__body strong {
    display: block;
    font-size: 10.5pt;
    color: #1a3a5c;
    line-height: 1.3;
}

.main-hub-service-card__body span {
    display: block;
    font-size: 9pt;
    color: #888;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-hub-service-card__arrow {
    color: #c8d8eb;
    font-size: 11px;
    flex-shrink: 0;
    transition: color .15s;
}

.main-hub-service-card:hover .main-hub-service-card__arrow {
    color: #1a6fa8;
}

/* --- Ссылка на всю категорию ------------------------------ */

.main-hub-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a6fa8 !important;
    font-weight: 700;
    font-size: 11pt;
    text-decoration: none !important;
    padding: 8px 0;
    border-bottom: 2px solid rgba(26,111,168,.25);
    transition: border-color .2s, color .2s;
}

.main-hub-cat-link:hover {
    color: #145a8a !important;
    border-bottom-color: #1a6fa8;
}

.main-hub-cat-link--narco {
    color: #c0392b !important;
    border-bottom-color: rgba(192,57,43,.25);
}

.main-hub-cat-link--narco:hover {
    color: #8e1a0b !important;
    border-bottom-color: #c0392b;
}

.main-hub-cat-link--psych {
    color: #27ae60 !important;
    border-bottom-color: rgba(39,174,96,.25);
}

.main-hub-cat-link--psych:hover {
    color: #1a7d45 !important;
    border-bottom-color: #27ae60;
}

/* --- Разделитель ------------------------------------------- */

.main-hub-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%,
                #dde8f5 30%, #dde8f5 70%, transparent 100%);
    margin: 36px 0;
}

/* --- Гарантии ---------------------------------------------- */

.main-hub-guarantees {
    background: #f8fbff;
    border-radius: 14px;
    padding: 36px;
    margin: 36px 0;
}

.main-hub-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.main-hub-guarantee-card {
    background: #fff;
    border-radius: 10px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(0,0,0,.06);
    position: relative;
    transition: transform .2s, box-shadow .2s;
}

.main-hub-guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26,111,168,.13);
}

.main-hub-guarantee-card__num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a6fa8;
    color: #fff;
    font-size: 9pt;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hub-guarantee-card__icon {
    font-size: 28px;
    color: #1a6fa8;
    margin: 12px 0 10px;
    display: block;
}

.main-hub-guarantee-card strong {
    font-size: 11pt;
    color: #1a3a5c;
    display: block;
    margin-bottom: 8px;
}

.main-hub-guarantee-card p {
    font-size: 10pt;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* --- Финальный CTA ---------------------------------------- */

.main-hub-final-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #1a6fa8 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.main-hub-final-cta__left {
    flex: 1;
    min-width: 280px;
}

.main-hub-final-cta__left h3 {
    font-size: 18pt;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.main-hub-final-cta__left p {
    color: rgba(255,255,255,.8);
    font-size: 12pt;
    line-height: 1.6;
    margin-bottom: 16px;
}

.main-hub-final-cta__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-hub-final-cta__list li {
    color: rgba(255,255,255,.9);
    font-size: 11pt;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-hub-final-cta__list .fa-check-circle {
    color: #7edd9a;
}

.main-hub-final-cta__right {
    text-align: center;
    min-width: 220px;
}

.main-hub-final-cta__phone {
    display: block;
    font-size: 22pt;
    font-weight: 800;
    color: #ffd700 !important;
    text-decoration: none !important;
    margin-bottom: 4px;
    transition: opacity .2s;
}

.main-hub-final-cta__phone:hover { opacity: .85; }

.main-hub-final-cta__free {
    font-size: 9.5pt;
    color: rgba(255,255,255,.6);
    margin-bottom: 16px;
}

.main-hub-final-cta__btn {
    width: 100%;
    display: block;
    margin-bottom: 12px;
    background: #fff !important;
    color: #1a3a5c !important;
    font-weight: 700;
}

.main-hub-final-cta__btn:hover {
    background: #f0f0f0 !important;
}

.main-hub-final-cta__wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: #4A90E2;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 11pt;
    transition: background .2s;
}

.main-hub-final-cta__wa:hover { background: #9B59D6;}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 991px) {

    .home-about-photo-col {
        padding-right: 15px;
        margin-bottom: 30px;
    }

    .home-about-badge {
        right: 10px;
        top: 10px;
    }

    .home-about-text-col {
        padding-left: 15px;
    }

    .home-about-features {
        grid-template-columns: 1fr;
    }

    .main-hub-block {
        padding-left: 0;
    }

    .main-hub-guarantees-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-hub-final-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
        gap: 24px;
    }

    .main-hub-final-cta__list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 767px) {

    .home-about-title { font-size: 15pt; }
    .main-hub-title   { font-size: 15pt; }

    .main-hub-services-grid {
        grid-template-columns: 1fr;
    }

    .main-hub-guarantees-grid {
        grid-template-columns: 1fr;
    }

    .home-about-stats {
        flex-wrap: wrap;
    }

    .home-stat {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid #dde8f5;
    }

    .main-hub-guarantees {
        padding: 22px 16px;
    }

    .home-about-section { padding: 40px 0; }
    .main-hub-section   { padding: 40px 0 30px; }
}

@media (max-width: 480px) {

    .home-about-features {
        grid-template-columns: 1fr;
    }

    .main-hub-step__num {
        width: 34px;
        height: 34px;
        font-size: 10pt;
    }

    .main-hub-final-cta__phone { font-size: 17pt; }
}
/*END*/

/* ============================================================
   main-blocks.css  —  ВСЕ БЛОКИ ГЛАВНОЙ СТРАНИЦЫ
   РЦ «Реванш» | r-clinica.ru
   ============================================================ */

/* === ГЛОБАЛЬНЫЙ СБРОС === */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* ============================================================
   МОБИЛЬНЫЙ ФИКС — БЛОКИ ИЗ ПРОШЛЫХ ОТВЕТОВ
   ============================================================ */
@media (max-width: 767px) {
    .main-hub-section,
    .home-about-section { padding: 32px 0; }

    .main-hub-block--alcohol,
    .main-hub-block--narco,
    .main-hub-block--psych {
        padding-left: 12px;
        border-left-width: 3px;
        margin-right: 0;
    }

    .main-hub-title,
    .home-about-title    { font-size: 16pt; }
    .main-hub-lead,
    .home-about-intro    { font-size: 11pt; }

    .main-hub-services-grid   { grid-template-columns: 1fr; }
    .main-hub-guarantees      { padding: 20px 12px; }
    .main-hub-guarantees-grid { grid-template-columns: 1fr 1fr; gap: 28px 10px; }

    .main-hub-final-cta {
        padding: 22px 14px;
        flex-direction: column;
        gap: 20px;
    }
    .main-hub-final-cta__phone { font-size: 18pt; }
    .main-hub-final-cta__left h3 { font-size: 15pt; }

    .home-about-photo-col   { padding-right: 15px; margin-bottom: 22px; }
    .home-about-badge       { right: 4px; top: 8px; padding: 10px 12px; }
    .home-about-badge__num  { font-size: 20pt; }
    .home-about-photo-wrap::before { display: none; }
    .home-about-features    { grid-template-columns: 1fr; }

    .home-about-stats { flex-wrap: wrap; }
    .home-stat {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid #dde8f5;
    }
    .home-stat:nth-child(2n) { border-left: 1px solid #dde8f5; }

    .hub-bottom-grid   { grid-template-columns: 1fr; }
    .main-hub-quote    { padding: 14px; }
    .home-counters-grid { gap: 10px; }
    .home-counter-number { font-size: 22pt; }
}

@media (max-width: 480px) {
    .main-hub-title,
    .home-about-title       { font-size: 13.5pt; }
    .main-hub-guarantees-grid { grid-template-columns: 1fr; }
    .home-stat__num         { font-size: 18pt; }
    .main-hub-step          { gap: 10px; }
    .main-hub-step__num     { width: 34px; height: 34px; font-size: 10pt; }
    .home-about-text-col    { padding-left: 0; }
}


/* ============================================================
   БЛОК ВИДЕО
   ============================================================ */

.home-video-section {
    padding: 60px 0;
    background: linear-gradient(160deg, #0d2035 0%, #1a4a6e 100%);
    position: relative;
    overflow: hidden;
}

.home-video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/templates/Medocs/images/resource/1_1.webp') center/cover;
    opacity: .07;
    z-index: 0;
}

.home-video-section > .container { position: relative; z-index: 1; }

.home-video-row { align-items: center; }

/* --- Текст --- */
.home-video-text-col { padding-right: 30px; }

.home-video-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-size: 9.5pt;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.home-video-title {
    font-size: 20pt;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.home-video-desc {
    font-family: Georgia, serif;
    font-size: 12pt;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    margin-bottom: 14px;
}

.home-video-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.home-video-list li {
    font-size: 11.5pt;
    color: rgba(255,255,255,.85);
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.home-video-list li:last-child { border-bottom: none; }
.home-video-list .fa-check-circle { color: #7edd9a; flex-shrink: 0; margin-top: 2px; }

/* --- Контакты под списком --- */
.home-video-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.home-video-contacts__phone {
    font-size: 16pt;
    font-weight: 800;
    color: #ffd700 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
	gap: 8px;
}
.home-video-contacts__phone .fa { font-size: 13pt; }

.home-video-contacts__sub {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.home-video-contacts__sub span {
    font-size: 9pt;
    color: rgba(255,255,255,.6);
}
.home-video-contacts__wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #4A90E2;
    color: #fff !important;
    font-size: 10pt;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: background .2s;
}
.home-video-contacts__wa:hover { background: #9B59D6; }

/* --- Карточка плеера --- */
.home-video-player-col { padding-left: 10px; }

.home-video-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.home-video-preview {
    position: relative;
    min-height: 340px;
    background: #0a1a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-video-preview__bg {
    position: absolute;
    inset: 0;
    background: url('/templates/Medocs/images/resource/1_1.webp') center/cover;
    filter: blur(2px) brightness(.45) saturate(1.2);
    transform: scale(1.05);
    transition: transform .4s;
}
.home-video-card:hover .home-video-preview__bg {
    transform: scale(1.08);
}

/* Бейдж поверх превью */
.home-video-preview__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 8.5pt;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 3;
}
.home-video-preview__badge .fa { color: #ffd700; }

/* Кнопка play */
.home-video-preview__play {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none !important;
}

/* Пульсации */
.home-video-preview__pulse {
    position: absolute;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(255,215,0,.18);
    animation: video-pulse 2s ease-out infinite;
    z-index: 0;
}
.home-video-preview__pulse--delay {
    animation-delay: .9s;
    background: rgba(255,215,0,.1);
}
@keyframes video-pulse {
    0%   { transform: scale(1);    opacity: 1; }
    100% { transform: scale(2.2);  opacity: 0; }
}

/* Круг с иконкой */
.home-video-preview__circle {
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #e6a800);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(255,215,0,.45);
    transition: transform .25s, box-shadow .25s;
}
.home-video-preview__play:hover .home-video-preview__circle {
    transform: scale(1.1);
    box-shadow: 0 12px 44px rgba(255,215,0,.65);
}
.home-video-preview__circle .fa {
    font-size: 28pt;
    color: #0d2035;
    margin-left: 5px;
}

/* Подсказка под кругом */
.home-video-preview__hint {
    color: rgba(255,255,255,.8);
    font-size: 10pt;
    font-weight: 600;
    letter-spacing: .5px;
    position: relative;
    z-index: 2;
}

/* Статистика внизу превью */
.home-video-preview__stats {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 3;
}
.home-video-preview__stats span {
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.8);
    font-size: 8.5pt;
    padding: 5px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    gap: 6px;
}
.home-video-preview__stats .fa { color: #ffd700; font-size: 8pt; }

/* Футер карточки */
.home-video-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
    gap: 12px;
}
.home-video-card__info {
    color: rgba(255,255,255,.7);
    font-size: 10pt;
    display: flex;
    align-items: center;
    gap: 8px;
}
.home-video-card__info .fa { color: #ffd700; }
.home-video-card__btn {
    background: linear-gradient(135deg, #ffd700, #e6a800);
    color: #0d2035 !important;
    font-weight: 800;
    font-size: 10.5pt;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.home-video-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255,215,0,.5);
}

/* --- Адаптив видео --- */
@media (max-width: 991px) {
    .home-video-text-col  { padding-right: 15px; margin-bottom: 32px; }
    .home-video-player-col { padding-left: 15px; }
    .home-video-title     { font-size: 17pt; }
}
@media (max-width: 767px) {
    .home-video-section   { padding: 38px 0; }
    .home-video-title     { font-size: 15pt; }
    .home-video-desc      { font-size: 11pt; }
    .home-video-text-col  { padding-right: 0; margin-bottom: 24px; }
    .home-video-player-col { padding-left: 0; }
    .home-video-preview   { min-height: 240px; }
    .home-video-preview__circle { width: 68px; height: 68px; }
    .home-video-preview__circle .fa { font-size: 22pt; }
    .home-video-preview__stats { gap: 8px; }
    .home-video-preview__stats span { font-size: 7.5pt; padding: 4px 8px; }
    .home-video-card__footer { padding: 14px 16px; }
    .home-video-contacts__phone { font-size: 14pt; }
}
@media (max-width: 480px) {
    .home-video-title { font-size: 13pt; }
    .home-video-preview__badge { font-size: 7.5pt; padding: 5px 10px; }
    .home-video-card__btn { padding: 9px 18px; font-size: 10pt; }
    .home-video-preview__stats {
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
    }
}


/* ============================================================
   БЛОК ПРАЙС
   ============================================================ */

.home-price-section {
    padding: 60px 0;
    background: #f5f8fb;
}

/* --- Табы --- */
.home-price-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.home-price-tab {
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #c8d8ea;
    background: #fff;
    color: #2c5282;
    font-size: 11pt;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .22s;
}
.home-price-tab .fa { font-size: 12pt; }
.home-price-tab:hover {
    border-color: #1a6dbd;
    color: #1a6dbd;
    background: #eaf2fb;
}
.home-price-tab.active {
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(26,109,189,.35);
}

/* --- Таблицы --- */
.home-price-table { display: none; }
.home-price-table.active { display: block; }

/* --- Сетка карточек --- */
.home-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

/* --- Карточка прайса --- */
.home-price-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 20px;
    border: 2px solid #e4edf7;
    position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26,109,189,.15);
    border-color: #b6d0ee;
}
.home-price-card--hot {
    border-color: #f39c12;
    box-shadow: 0 6px 24px rgba(243,156,18,.15);
}
.home-price-card--red  { border-color: #e74c3c; }
.home-price-card--green { border-color: #27ae60; }

/* Бейдж «Популярное» */
.home-price-card__hot-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: #fff;
    font-size: 8pt;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 12px;
    white-space: nowrap;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Иконка */
.home-price-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20pt;
    flex-shrink: 0;
}

/* Название */
.home-price-card__name {
    font-size: 12pt;
    font-weight: 800;
    color: #1b2d45;
    line-height: 1.3;
    margin-top: 4px;
}

/* Описание */
.home-price-card__desc {
    font-size: 9.5pt;
    color: #6b7e93;
    line-height: 1.5;
    flex-grow: 1;
}

/* Цена */
.home-price-card__price {
    font-size: 22pt;
    font-weight: 900;
    color: #1a6dbd;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
    margin-top: 6px;
}
.home-price-card__price--red   { color: #c0392b; }
.home-price-card__price--green { color: #27ae60; }
.home-price-card__from {
    font-size: 9pt;
    font-weight: 600;
    color: #8a9bb0;
    margin-right: 2px;
}
.home-price-card__cur {
    font-size: 13pt;
    font-weight: 700;
    color: inherit;
    margin-left: 2px;
}

/* Кнопка */
.home-price-card__btn {
    display: block;
    text-align: center;
    padding: 10px 0;
    border-radius: 22px;
    background: #eaf2fb;
    color: #1a6dbd !important;
    font-size: 10pt;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s, color .2s;
    margin-top: auto;
}
.home-price-card__btn:hover {
    background: #1a6dbd;
    color: #fff !important;
}
.home-price-card__btn--orange { background: #fef0e1; color: #e67e22 !important; }
.home-price-card__btn--orange:hover { background: #e67e22; color: #fff !important; }
.home-price-card__btn--red   { background: #fde8e8; color: #c0392b !important; }
.home-price-card__btn--red:hover { background: #c0392b; color: #fff !important; }
.home-price-card__btn--green { background: #e6f7ec; color: #27ae60 !important; }
.home-price-card__btn--green:hover { background: #27ae60; color: #fff !important; }

/* --- Баннер бесплатной консультации --- */
.home-price-free-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    border-radius: 16px;
    padding: 22px 28px;
    flex-wrap: wrap;
}
.home-price-free-banner__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-price-free-banner__icon .fa {
    font-size: 22pt;
    color: #ffd700;
}
.home-price-free-banner__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}
.home-price-free-banner__text strong {
    color: #fff;
    font-size: 13pt;
    font-weight: 800;
}
.home-price-free-banner__text span {
    color: rgba(255,255,255,.78);
    font-size: 10pt;
}
.home-price-free-banner__phone {
    color: #ffd700 !important;
    font-size: 18pt;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}
.home-price-free-banner__link {
    color: rgba(255,255,255,.8) !important;
    font-size: 10.5pt;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 22px;
    transition: border-color .2s, background .2s;
}
.home-price-free-banner__link:hover {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.1);
}

/* --- Адаптив прайса --- */
@media (max-width: 1100px) {
    .home-price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .home-price-section   { padding: 38px 0; }
    .home-price-grid      { grid-template-columns: 1fr 1fr; gap: 12px; }
    .home-price-tab       { padding: 10px 18px; font-size: 10pt; }
    .home-price-card      { padding: 20px 14px 16px; }
    .home-price-card__price { font-size: 17pt; }
    .home-price-card__name  { font-size: 11pt; }
    .home-price-free-banner { padding: 18px 16px; gap: 12px; }
    .home-price-free-banner__phone { font-size: 15pt; }
    .home-price-free-banner__text strong { font-size: 12pt; }
    .home-price-free-banner__icon { display: none; }
}
@media (max-width: 480px) {
    .home-price-grid      { grid-template-columns: 1fr; }
    .home-price-tabs      { gap: 8px; }
    .home-price-tab       { padding: 9px 14px; font-size: 9.5pt; }
    .home-price-free-banner { flex-direction: column; text-align: center; }
    .home-price-free-banner__phone { font-size: 17pt; }
    .home-price-free-banner__link { width: 100%; text-align: center; }
}


/* ============================================================
   БЛОК ОТЗЫВЫ
   ============================================================ */

.home-reviews-section {
    padding: 60px 0;
    background: #fff;
}

.home-reviews-aggregate {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}
.home-reviews-aggregate__stars .fa { color: #f39c12; font-size: 15pt; }
.home-reviews-aggregate strong    { font-size: 18pt; font-weight: 900; color: #1b2d45; }
.home-reviews-aggregate span      { font-size: 10pt; color: #8a9bb0; }

/* --- Сетка --- */
.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin: 36px 0 28px;
}

/* --- Карточка отзыва --- */
.home-review-card {
    background: #f7fafd;
    border: 1px solid #e2ecf7;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .25s, transform .25s;
}
.home-review-card:hover {
    box-shadow: 0 12px 36px rgba(26,109,189,.13);
    transform: translateY(-3px);
}

.home-review-card__top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.home-review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    color: #fff;
    font-size: 13pt;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-review-card__meta { flex-grow: 1; }
.home-review-card__name {
    font-size: 11.5pt;
    font-weight: 800;
    color: #1b2d45;
    margin-bottom: 4px;
}
.home-review-card__stars .fa { color: #f39c12; font-size: 10.5pt; }
.home-review-card__date {
    font-size: 8.5pt;
    color: #a0aec0;
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto;
}

.home-review-card__tag {
    display: inline-block;
    background: #eaf2fb;
    color: #1a6dbd;
    font-size: 8.5pt;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 10px;
    line-height: 1.4;
}

.home-review-card__text {
    font-family: Georgia, serif;
    font-size: 11pt;
    color: #3d5166;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
    padding: 0;
    border: none;
    flex-grow: 1;
}

.home-review-card__result {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9.5pt;
    font-weight: 700;
    color: #27ae60;
    background: #e6f7ec;
    padding: 8px 14px;
    border-radius: 10px;
    border-left: 3px solid #27ae60;
}
.home-review-card__result .fa { font-size: 12pt; }

/* --- Футер отзывов --- */
.home-reviews-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.home-reviews-all-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    color: #fff !important;
    font-size: 11pt;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none !important;
    transition: box-shadow .2s, transform .2s;
}
.home-reviews-all-btn:hover {
    box-shadow: 0 6px 20px rgba(26,109,189,.35);
    transform: translateY(-2px);
}
.home-reviews-platforms {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.home-reviews-platforms span {
    font-size: 9.5pt;
    color: #8a9bb0;
}
.home-reviews-platforms a {
    font-size: 9.5pt;
    font-weight: 700;
    color: #1a6dbd !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1.5px solid #c5d8ee;
    border-radius: 18px;
    transition: background .2s, border-color .2s;
}
.home-reviews-platforms a:hover {
    background: #eaf2fb;
    border-color: #1a6dbd;
}

/* --- Адаптив отзывов --- */
@media (max-width: 900px) {
    .home-reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .home-reviews-section { padding: 38px 0; }
    .home-review-card     { padding: 18px 16px; }
    .home-reviews-footer  { flex-direction: column; align-items: flex-start; }
    .home-reviews-all-btn { align-self: center; }
    .home-reviews-platforms { justify-content: center; width: 100%; }
    .home-review-card__text { font-size: 10.5pt; }
}
@media (max-width: 480px) {
    .home-review-card__date { display: none; }
    .home-review-card__text { font-size: 10pt; }
}


/* ============================================================
   БЛОК СТАТЬИ
   ============================================================ */

.home-articles-section {
    padding: 60px 0;
    background: #f5f8fb;
}

/* --- Сетка --- */
.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* --- Карточка статьи --- */
.home-article-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2ecf7;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.home-article-card:hover {
    box-shadow: 0 16px 44px rgba(26,109,189,.15);
    transform: translateY(-4px);
}

.home-article-card__img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    height: 210px;
    background: #d8e8f7;
    flex-shrink: 0;
}
.home-article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}
.home-article-card:hover .home-article-card__img { transform: scale(1.06); }

.home-article-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,32,53,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.home-article-card:hover .home-article-card__overlay { opacity: 1; }
.home-article-card__overlay .fa {
    font-size: 28pt;
    color: #fff;
    background: rgba(255,215,0,.85);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
}

.home-article-card__body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.home-article-card__date {
    font-size: 8.5pt;
    color: #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-article-card__title {
    font-size: 13pt;
    font-weight: 800;
    color: #1b2d45;
    line-height: 1.4;
    margin: 0;
}
.home-article-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}
.home-article-card__title a:hover { color: #1a6dbd !important; }

.home-article-card__text {
    font-size: 10.5pt;
    color: #5a6e82;
    line-height: 1.65;
    flex-grow: 1;
    margin: 0;
}

.home-article-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a6dbd !important;
    font-size: 10pt;
    font-weight: 800;
    text-decoration: none !important;
    margin-top: auto;
    transition: gap .2s;
}
.home-article-card__more:hover { gap: 10px; }

/* --- Кнопки категорий --- */
.home-articles-cats {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-articles-cat-btn {
    padding: 12px 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    color: #fff !important;
    font-size: 11pt;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: box-shadow .2s, transform .2s;
}
.home-articles-cat-btn:hover {
    box-shadow: 0 6px 20px rgba(26,109,189,.35);
    transform: translateY(-2px);
}
.home-articles-cat-btn--red   {
    background: linear-gradient(135deg, #c0392b, #922b21);
}
.home-articles-cat-btn--green {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}
.home-articles-cat-btn--red:hover {
    box-shadow: 0 6px 20px rgba(192,57,43,.35);
}
.home-articles-cat-btn--green:hover {
    box-shadow: 0 6px 20px rgba(39,174,96,.35);
}

/* --- Адаптив статей --- */
@media (max-width: 991px) {
    .home-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .home-articles-section { padding: 38px 0; }
    .home-articles-grid    { grid-template-columns: 1fr; }
    .home-article-card__img-wrap { height: 200px; }
    .home-article-card__title { font-size: 12pt; }
    .home-articles-cat-btn { padding: 10px 20px; font-size: 10pt; }
}
@media (max-width: 480px) {
    .home-articles-grid { gap: 14px; }
    .home-articles-cats { gap: 8px; }
    .home-articles-cat-btn { padding: 9px 16px; font-size: 9.5pt; }
}


/* ============================================================
   БЛОК FAQ
   ============================================================ */

.home-faq-section {
    padding: 60px 0;
    background: #fff;
}

.home-faq-wrap {
    max-width: 1170px;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Элемент FAQ --- */
.home-faq-item {
    border: 2px solid #e2ecf7;
    border-radius: 14px;
    overflow: hidden;
    background: #fcfeff;
    transition: border-color .2s, box-shadow .2s;
}
.home-faq-item.open,
.home-faq-item:hover {
    border-color: #b6d0ee;
    box-shadow: 0 6px 24px rgba(26,109,189,.1);
}

/* --- Вопрос --- */
.home-faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    user-select: none;
    transition: background .2s;
}
.home-faq-item.open .home-faq-question,
.home-faq-question:hover {
    background: #f0f7ff;
}

.home-faq-num {
    font-size: 9pt;
    font-weight: 900;
    color: #1a6dbd;
    background: #eaf2fb;
    border-radius: 8px;
    padding: 4px 9px;
    flex-shrink: 0;
    letter-spacing: .5px;
    font-family: 'Courier New', monospace;
}

.home-faq-qtext {
    font-size: 12pt;
    font-weight: 700;
    color: #1b2d45;
    line-height: 1.4;
    flex-grow: 1;
}

.home-faq-icon {
    font-size: 13pt;
    color: #95adc7;
    flex-shrink: 0;
    transition: transform .28s ease;
}
.home-faq-icon.rotated { transform: rotate(180deg); }

/* --- Ответ --- */
.home-faq-answer {
    display: none;
    padding: 0 22px 22px;
    border-top: 1px solid #e2ecf7;
}
.home-faq-answer p {
    font-size: 11pt;
    color: #4a6080;
    line-height: 1.8;
    margin: 14px 0 0;
}
.home-faq-answer p:first-child { margin-top: 16px; }
.home-faq-answer a {
    color: #1a6dbd !important;
    text-decoration: underline;
}
.home-faq-answer strong { color: #1b2d45; }

.home-faq-ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.home-faq-ul li {
    font-size: 11pt;
    color: #4a6080;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dotted #d9e8f5;
    line-height: 1.5;
}
.home-faq-ul li:last-child { border-bottom: none; }
.home-faq-ul li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a6dbd;
    flex-shrink: 0;
    margin-top: 6px;
}

/* --- CTA под FAQ --- */
.home-faq-cta {
    max-width: 1170px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    border-radius: 18px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.home-faq-cta p {
    margin: 0;
    color: rgba(255,255,255,.8);
    font-size: 11pt;
}
.home-faq-cta__phone {
    font-size: 22pt;
    font-weight: 900;
    color: #ffd700 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.home-faq-cta span {
    font-size: 9.5pt;
    color: rgba(255,255,255,.6);
}

/* --- Адаптив FAQ --- */
@media (max-width: 767px) {
    .home-faq-section    { padding: 38px 0; }
    .home-faq-qtext      { font-size: 11pt; }
    .home-faq-question   { padding: 16px 16px; gap: 12px; }
    .home-faq-answer     { padding: 0 16px 18px; }
    .home-faq-answer p   { font-size: 10.5pt; }
    .home-faq-cta        { padding: 22px 16px; }
    .home-faq-cta__phone { font-size: 18pt; }
}
@media (max-width: 480px) {
    .home-faq-qtext    { font-size: 10.5pt; }
    .home-faq-num      { display: none; }
    .home-faq-cta__phone { font-size: 16pt; }
}


/* ============================================================
   ПЕРЕОПРЕДЕЛЕНИЕ ОТСТУПОВ ОСНОВНОЙ СТАТЬИ (мобильный фикс)
   ============================================================ */

@media (max-width: 767px) {
    /* Контейнеры DLE на всю ширину без боковых отступов */
    .fullstory,
    .news-text,
    .content,
    .story,
    #content-main,
    .article-fullwidth {
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Картинки в статье — не выходят за экран */
    .fullstory img,
    .news-text img,
    .story img,
    #content-main img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Таблицы в статьях — горизонтальный скролл */
    .fullstory table,
    .news-text table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
    }

    /* Боковой блок на десктопе — на мобильном ниже */
    .sidebar,
    .col-sidebar,
    [class*="sidebar"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-top: 24px;
    }

    /* Контейнер страницы */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media (max-width: 480px) {
    .fullstory,
    .news-text,
    .story,
    #content-main {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 10.5pt;
    }
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
/*end*/
/* ============================================================
   FAQ — ПОЛНЫЙ РЕФАКТОРИНГ (CSS-TRANSITION вместо display:none)
   ============================================================ */

/* Убираем старый display:none — теперь анимация через max-height */
.home-faq-answer {
    display: block !important;   /* всегда в потоке */
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    transition: max-height .38s ease, padding .38s ease;
    border-top: 0 solid #e2ecf7;
}

.home-faq-item.open .home-faq-answer {
    max-height: 800px;
    padding: 0 22px 22px;
    border-top-width: 1px;
}

/* Фон FAQ — такой же как у блока "О нас" */
.home-faq-section {
    background: linear-gradient(160deg, #f0f6ff 0%, #e8f4fb 100%) !important;
    padding: 60px 0;
}

/* Первый вопрос не раскрыт до клика — убираем border-top */
.home-faq-item {
    background: #fff;       /* белые карточки на голубом фоне — красиво */
}

.home-faq-item:hover,
.home-faq-item.open {
    background: #fff;
    border-color: #b6d0ee;
    box-shadow: 0 6px 24px rgba(26,109,189,.12);
}

/* CTA под FAQ — обновлённый под новый фон */
.home-faq-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #1a6fa8 100%);
}


/* ============================================================
   МОБИЛЬНЫЙ ФИ КС — ИКОНКА НАЛЕЗАЕТ НА ТЕКСТ
   (синий круг перекрывает заголовок блока)
   ============================================================ */

/* Скрываем боковую иконку у цветных блоков везде *//*
.main-hub-block--alcohol .main-hub-block__side-icon,
.main-hub-block--narco   .main-hub-block__side-icon,
.main-hub-block--psych   .main-hub-block__side-icon {
    display: none !important;
    position: static !important;
}

/* На планшетах и мобильных скрываем вообще все такие иконки *//*
@media (max-width: 991px) {
    .main-hub-block__side-icon {
        display: none !important;
        position: static !important;
    }
    .main-hub-block {
        padding-left: 16px !important;
    }
}
*/
@media (max-width: 767px) {
    /* FAQ адаптив */
    .home-faq-section   { padding: 36px 0; }
    .home-faq-wrap      { padding: 0 2px; }
    .home-faq-question  { padding: 15px 14px; gap: 10px; }
    .home-faq-answer    { padding: 0 14px; }
    .home-faq-item.open .home-faq-answer { padding: 0 14px 18px; }
    .home-faq-qtext     { font-size: 10.5pt; }
    .home-faq-num       { font-size: 8.5pt; padding: 3px 7px; }
    .home-faq-cta       { padding: 22px 14px; border-radius: 14px; }
    .home-faq-cta__phone { font-size: 17pt; }

    /* Убираем иконку на мобильном точно *//*
    .main-hub-block { padding-left: 12px !important; }
    .main-hub-block__side-icon { display: none !important; }
}
*/
@media (max-width: 480px) {
    .home-faq-qtext     { font-size: 10pt; line-height: 1.4; }
    .home-faq-num       { display: none; }
    .home-faq-icon      { font-size: 11pt; }
}


/* ============================================================
   БЛОК СЕРТИФИКАТЫ И ЛИЦЕНЗИИ
   ============================================================ 

.home-certs-section {
    padding: 60px 0;
    background: #fff;
    position: relative;
}

/* Декоративный верхний бордюр секции *//*
.home-certs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a6dbd 0%, #27ae60 50%, #e67e22 100%);
}

/* --- Заголовок группы (Лицензии / Благодарности) --- *//*

.home-certs-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
}

.home-certs-group-title + .row {
    margin-bottom: 36px;
}

.home-certs-group-title__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a6dbd, #0d4f94);
    color: #fff;
    font-size: 9.5pt;
    font-weight: 800;
    padding: 8px 22px;
    border-radius: 25px;
    white-space: nowrap;
    letter-spacing: .3px;
    box-shadow: 0 4px 14px rgba(26,109,189,.3);
}

.home-certs-group-title__badge .fa {
    font-size: 11pt;
}

.home-certs-group-title--gold .home-certs-group-title__badge {
    background: linear-gradient(135deg, #e67e22, #c0582b);
    box-shadow: 0 4px 14px rgba(230,126,34,.3);
}

/* Линия после бейджа *//*
.home-certs-group-title::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg,
        rgba(26,109,189,.25) 0%,
        transparent 100%);
    border-radius: 2px;
}

.home-certs-group-title--gold::after {
    background: linear-gradient(90deg,
        rgba(230,126,34,.25) 0%,
        transparent 100%);
}

/* --- Колонка сертификата --- *//*

.home-cert-col {
    padding: 10px !important;
    margin-bottom: 0 !important;
}

/* --- Карточка --- *//*

.home-cert-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.09);
    border: 1.5px solid #e4edf7;
    transition: transform .28s, box-shadow .28s, border-color .28s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(26,109,189,.2);
    border-color: #a8ccee;
}

.home-cert-card--doc {
    border-top: 3px solid #1a6dbd;
}

.home-cert-card--thanks {
    border-top: 3px solid #e67e22;
}

/* --- Ссылка-обёртка --- *//*

.home-cert-link {
    display: block;
    text-decoration: none !important;
    flex-shrink: 0;
}

/* --- Обёртка изображения --- *//*

.home-cert-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(155deg, #f4f8fd 0%, #e8f0f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.home-cert-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform .35s;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.15));
    border-radius: 4px;
}

.home-cert-card:hover .home-cert-img-wrap img {
    transform: scale(1.05);
}

/* --- Оверлей при hover --- *//*

.home-cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,32,53,.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .28s;
    backdrop-filter: blur(2px);
}

.home-cert-card:hover .home-cert-overlay {
    opacity: 1;
}

.home-cert-overlay__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-cert-overlay__icon .fa {
    font-size: 20pt;
    color: #fff;
}

.home-cert-overlay__text {
    color: #fff;
    font-size: 10pt;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* --- Подпись карточки --- *//*

.home-cert-name {
    padding: 13px 14px 15px;
    font-size: 9pt;
    color: #3d5166;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    background: #fff;
    border-top: 1px solid #edf2f9;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.home-cert-card--doc   .home-cert-name { color: #1b3a5c; }
.home-cert-card--thanks .home-cert-name { color: #5a2d0c; }

.home-cert-name small {
    display: block;
    font-size: 8pt;
    color: #97b0c8;
    font-weight: 400;
}

/* --- Trust-бар под сертификатами --- *//*

.home-certs-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fb);
    border-radius: 14px;
    border: 1px solid #dae8f5;
    flex-wrap: wrap;
}

.home-certs-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10pt;
    font-weight: 700;
    color: #2c5282;
}

.home-certs-trust__item .fa {
    font-size: 16pt;
    color: #1a6dbd;
}

.home-certs-trust__sep {
    width: 1px;
    height: 28px;
    background: #c5d8ee;
}

/* --- Адаптив сертификатов --- *//*

@media (max-width: 767px) {
    .home-certs-section    { padding: 36px 0; }
    .home-cert-col         { padding: 7px !important; }
    .home-cert-img-wrap    { height: 150px; padding: 8px; }
    .home-cert-name        { font-size: 8.5pt; padding: 10px 10px 12px; }
    .home-certs-group-title { margin-bottom: 14px; }
    .home-certs-trust      { gap: 14px; padding: 16px; }
    .home-certs-trust__sep { display: none; }
}

@media (max-width: 480px) {
    .home-cert-img-wrap    { height: 120px; padding: 6px; }
    .home-cert-name        { font-size: 8pt; }
    .home-certs-group-title__badge { font-size: 8.5pt; padding: 7px 14px; }
    .home-certs-trust__item { font-size: 9pt; }
}
*/
/* ============================================================
   БЛОК СЕРТИФИКАТЫ И ЛИЦЕНЗИИ
   ============================================================ */

/*.home-certs-section{padding:60px 0;background:#fff;position:relative}
.home-certs-section::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#1a6dbd 0%,#27ae60 50%,#e67e22 100%)}
.home-certs-section .container{max-width:100%;padding-left:15px;padding-right:15px;box-sizing:border-box}
.home-certs-section .row.home-certs-row{margin-left:-10px;margin-right:-10px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}
.home-certs-section .home-cert-col{padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}
.home-certs-section .home-certs-group-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:14px;margin:0 0 22px}
.home-certs-section .home-certs-group-title::after{content:'';-webkit-box-flex:1;-ms-flex:1;flex:1;height:1.5px;background:linear-gradient(90deg,rgba(26,109,189,.25),transparent);border-radius:2px}
.home-certs-section .home-certs-group-title--gold::after{background:linear-gradient(90deg,rgba(230,126,34,.25),transparent)}
.home-certs-section .home-certs-group-title__badge{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;background:linear-gradient(135deg,#1a6dbd,#0d4f94);color:#fff;font-size:9.5pt;font-weight:800;padding:8px 22px;border-radius:25px;white-space:nowrap;-ms-flex-negative:0;flex-shrink:0;box-shadow:0 4px 14px rgba(26,109,189,.3)}
.home-certs-section .home-certs-group-title--gold .home-certs-group-title__badge{background:linear-gradient(135deg,#e67e22,#c0582b);box-shadow:0 4px 14px rgba(230,126,34,.3)}
.home-certs-section .home-cert-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.09);border:1.5px solid #e4edf7;-webkit-transition:transform .28s,box-shadow .28s;transition:transform .28s,box-shadow .28s;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
.home-certs-section .home-cert-card--doc{border-top:3px solid #1a6dbd}
.home-certs-section .home-cert-card--thanks{border-top:3px solid #e67e22}
.home-certs-section .home-cert-card:hover{-webkit-transform:translateY(-6px);transform:translateY(-6px);box-shadow:0 18px 48px rgba(26,109,189,.2);border-color:#a8ccee}
.home-certs-section .home-cert-link{display:block;text-decoration:none;-ms-flex-negative:0;flex-shrink:0}
.home-certs-section .home-cert-img-wrap{position:relative;overflow:hidden;height:200px;background:linear-gradient(155deg,#f4f8fd,#e8f0f8);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:12px;-webkit-box-sizing:border-box;box-sizing:border-box}
.home-certs-section .home-cert-img-wrap img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;-webkit-filter:drop-shadow(0 3px 10px rgba(0,0,0,.15));filter:drop-shadow(0 3px 10px rgba(0,0,0,.15));border-radius:4px;-webkit-transition:transform .35s;transition:transform .35s}
.home-certs-section .home-cert-card:hover .home-cert-img-wrap img{-webkit-transform:scale(1.05);transform:scale(1.05)}
.home-certs-section .home-cert-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(13,32,53,.72);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:10px;opacity:0;-webkit-transition:opacity .28s;transition:opacity .28s}
.home-certs-section .home-cert-card:hover .home-cert-overlay{opacity:1}
.home-certs-section .home-cert-overlay__icon{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.15);border:2px solid rgba(255,255,255,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
.home-certs-section .home-cert-overlay__icon .fa{font-size:20pt;color:#fff}
.home-certs-section .home-cert-overlay__text{color:#fff;font-size:10pt;font-weight:700;letter-spacing:.5px;text-transform:uppercase}
.home-certs-section .home-cert-name{padding:13px 14px 15px;font-size:9pt;color:#3d5166;line-height:1.5;font-weight:600;text-align:center;background:#fff;border-top:1px solid #edf2f9;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:3px}
.home-certs-section .home-cert-card--doc .home-cert-name{color:#1b3a5c}
.home-certs-section .home-cert-card--thanks .home-cert-name{color:#5a2d0c}
.home-certs-section .home-cert-name small{display:block;font-size:8pt;color:#97b0c8;font-weight:400}
.home-certs-section .home-certs-trust{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:24px;margin-top:36px;padding:20px 28px;background:linear-gradient(135deg,#f0f7ff,#e8f4fb);border-radius:14px;border:1px solid #dae8f5;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}
.home-certs-section .home-certs-trust__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;font-size:10pt;font-weight:700;color:#2c5282}
.home-certs-section .home-certs-trust__item .fa{font-size:16pt;color:#1a6dbd}
.home-certs-section .home-certs-trust__sep{width:1px;height:28px;background:#c5d8ee}

@media (min-width:768px) and (max-width:991px){
.home-certs-section{padding:40px 0}
.home-certs-section .home-cert-col{padding:8px}
.home-certs-section .home-cert-img-wrap{height:160px;padding:8px}
.home-certs-section .home-cert-name{font-size:8.5pt;padding:10px 10px 12px}
.home-certs-section .home-certs-group-title{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:16px}
.home-certs-section .home-certs-trust{gap:16px;padding:16px 20px}
.home-certs-section .home-certs-trust__sep{display:none}
.home-certs-section .home-certs-trust__item{font-size:9.5pt}
}

@media (max-width:767px){
.home-certs-section{padding:36px 0}
.home-certs-section .home-cert-col{padding:7px}
.home-certs-section .home-cert-img-wrap{height:150px;padding:8px}
.home-certs-section .home-cert-name{font-size:8.5pt;padding:10px 10px 12px}
.home-certs-section .home-certs-group-title{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:14px}
.home-certs-section .home-certs-trust{gap:14px;padding:16px}
.home-certs-section .home-certs-trust__sep{display:none}
}

@media (max-width:480px){
.home-certs-section .home-cert-img-wrap{height:120px;padding:6px}
.home-certs-section .home-cert-name{font-size:8pt}
.home-certs-section .home-certs-group-title__badge{font-size:8.5pt;padding:7px 14px}
.home-certs-section .home-certs-trust__item{font-size:9pt}
}*/