/* svtor.com — точечные исправления вёрстки (24.10.2026) */

/* Логотип: пропорциональный круглый размер, без сжатия по высоте */
.logo-header img {
    width: auto !important;
    height: 54px !important;
    max-height: 54px !important;
    object-fit: contain;
}
.is-sticky .logo-header img {
    height: 42px !important;
    max-height: 42px !important;
}
@media (max-width: 991px) {
    .logo-header img {
        height: 46px !important;
        max-height: 46px !important;
    }
    .is-sticky .logo-header img {
        height: 40px !important;
        max-height: 40px !important;
    }
}
@media (max-width: 480px) {
    .logo-header img {
        height: 38px !important;
        max-height: 38px !important;
    }
}

/* Зелёная полоса «Факт 1/2/3»: центр по странице и по колонкам */
@media (min-width: 992px) {
    .facts-row .green-rows {
        max-width: 1170px;
        margin-left: auto;
        margin-right: auto;
        float: none;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    .facts-row .green-rows > .vc_column-inner > .wpb_wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 60px;
        justify-content: center;
        justify-items: center;
        text-align: center;
    }
    .facts-row .fact-itemnew {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
    }
    .facts-row .fact-itemnew h3,
    .facts-row .fact-itemnew p {
        text-align: center;
    }
}

/* Планшеты 768–991: три факта не должны вылезать за экран */
@media (min-width: 768px) and (max-width: 991px) {
    .facts-row .green-rows {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    .facts-row .green-rows > .vc_column-inner > .wpb_wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 30px;
        justify-items: center;
        text-align: center;
    }
    .facts-row .fact-itemnew {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
    }
}

/* Страница «Утилизация конфиденциальной информации» */
.conf-lead {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 20px;
}
.conf-cta {
    background: #00AB31;
    color: #fff;
    padding: 35px 40px;
    border-radius: 6px;
    margin: 40px 0 0;
}
.conf-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}
.conf-cta p {
    color: #fff;
}
.conf-cta .black-btn {
    background: #fff;
    border-color: #fff;
    color: #003d12;
}
.conf-cta .black-btn:hover {
    background: #003d12;
    border-color: #003d12;
    color: #fff;
}
.conf-cta .conf-contacts {
    font-size: 15px;
    margin-top: 14px;
}
.conf-cta .conf-contacts a {
    color: #fff;
    text-decoration: underline;
}

/* Hero страницы «Уничтожение документов» — как на других страницах */
.page-id-718 .page-title {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 450px;
    padding: 0 !important;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.12) 100%),
        #0b1a0f url("https://svtor.com/wp-content/uploads/2026/10/banner-unichtozhenie-dokumentov.webp") center center / cover no-repeat;
}
.page-id-718 .page-title::before {
    content: none !important;
    display: none !important;
}
.page-id-718 .page-title > .container {
    width: 100%;
}
.page-id-718 .page-title-inner {
    padding: 0 0 55px;
}
.page-id-718 .page-title-overlay {
    display: none;
}
.page-id-718 .page-title h1 {
    color: #fff !important;
    max-width: 900px;
    font-size: 48px;
    line-height: 1.15;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.7);
}
@media (max-width: 991px) {
    .page-id-718 .page-title {
        min-height: 380px;
    }
    .page-id-718 .page-title h1 {
        font-size: 40px;
        max-width: 760px;
    }
    .page-id-718 .page-title-inner {
        padding-bottom: 42px;
    }
}
@media (max-width: 767px) {
    .page-id-718 .page-title {
        min-height: 320px;
        background-position: center;
    }
    body.page-id-718 .page-title h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }
    .page-id-718 .page-title-inner {
        padding-bottom: 30px;
    }
}

/* Мобильный логотип: круглая версия, без сжатия */
.logo-mobile-wrapper img {
    width: auto !important;
    height: 38px !important;
    max-height: 38px !important;
    object-fit: contain;
}

/* Таблица на странице «Уничтожение документов» */
.conf-table-wrap {
    overflow-x: auto;
    margin: 25px 0 35px;
}
.conf-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.45;
}
.conf-table th,
.conf-table td {
    border: 1px solid #e6e6e6;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.conf-table th {
    background: #00AB31;
    color: #fff;
    font-weight: 600;
}
.conf-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

/* Финальный CTA без зелёной плашки */
.conf-final {
    margin: 40px 0 0;
    padding-top: 28px;
    border-top: 1px solid #e6e6e6;
}
.conf-final h2 {
    margin-top: 0;
}
.conf-btn {
    display: inline-block;
    padding: 12px 38px;
    background: #00AB31;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background .2s ease;
}
.conf-btn:hover,
.conf-btn:focus {
    background: #7BC600;
    color: #fff !important;
}
.conf-final .conf-contacts {
    font-size: 14px;
    margin-top: 14px;
}
.conf-final .conf-contacts a {
    color: #00AB31;
}

/* FAQ как на /o-kompanii/ */
.conf-faq {
    margin: 40px 0 0;
    padding-bottom: 35px;
    border-bottom: 1px solid #e1e1e1;
}
.conf-faq .faq-head h3 {
    margin-bottom: 30px !important;
}
.conf-faq .vc_toggle {
    margin-bottom: 20px;
}
.conf-faq .vc_toggle:last-child {
    margin-bottom: 0;
}

/* Hero страницы «Утилизация медицинских / фармацевтических отходов» */
.med-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 450px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.46) 50%, rgba(0, 0, 0, 0.12) 100%),
        #0b1a0f url("https://svtor.com/wp-content/uploads/2026/10/tablets2-hero.webp") center center / cover no-repeat;
    color: #fff;
}
.med-hero .container {
    width: 100%;
}
.med-hero h1 {
    color: #fff !important;
    max-width: 930px;
    margin: 0;
    padding-bottom: 55px;
    font-size: 51px;
    line-height: 1.15;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.7);
}
.med-content {
    padding-top: 60px;
    padding-bottom: 70px;
}
@media (max-width: 991px) {
    .med-hero {
        min-height: 380px;
    }
    .med-hero h1 {
        font-size: 40px;
        padding-bottom: 42px;
    }
}
@media (max-width: 767px) {
    .med-hero {
        min-height: 320px;
        background-position: center;
    }
    .med-hero h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        padding-bottom: 30px;
    }
    .med-content {
        padding-top: 40px;
        padding-bottom: 50px;
    }
}

/* Иконки FAQ не должны уезжать в угол страницы */
.conf-faq .vc_toggle_title {
    position: relative;
}

/* FAQ на странице 414: raw-разметка вне WPBakery, нужен свой toggle */
.page-id-414 .conf-faq .vc_toggle:not(.vc_toggle_active) .vc_toggle_content,
.page-id-433 .conf-faq .vc_toggle:not(.vc_toggle_active) .vc_toggle_content,
.page-id-719 .conf-faq .vc_toggle:not(.vc_toggle_active) .vc_toggle_content {
    display: none;
}
.page-id-414 .conf-faq .vc_toggle.vc_toggle_active .vc_toggle_content,
.page-id-433 .conf-faq .vc_toggle.vc_toggle_active .vc_toggle_content,
.page-id-719 .conf-faq .vc_toggle.vc_toggle_active .vc_toggle_content {
    display: block;
}

/* Hero страницы «Уничтожение товарного вида» */
.tv-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 450px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.46) 50%, rgba(0, 0, 0, 0.12) 100%),
        #0b1a0f url("https://svtor.com/wp-content/uploads/2026/10/fire-hero.webp") center center / cover no-repeat;
    color: #fff;
}
.tv-hero .container {
    width: 100%;
}
.tv-hero h1 {
    color: #fff !important;
    max-width: 930px;
    margin: 0;
    padding-bottom: 55px;
    font-size: 51px;
    line-height: 1.15;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.7);
}
.tv-content {
    padding-top: 60px;
    padding-bottom: 70px;
}
@media (max-width: 991px) {
    .tv-hero {
        min-height: 380px;
    }
    .tv-hero h1 {
        font-size: 40px;
        padding-bottom: 42px;
    }
}
@media (max-width: 767px) {
    .tv-hero {
        min-height: 320px;
        background-position: center;
    }
    .tv-hero h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        padding-bottom: 30px;
    }
    .tv-content {
        padding-top: 40px;
        padding-bottom: 50px;
    }
}

/* Hero страницы «Уничтожение конфиската и пищевой продукции» */
.fv-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 450px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.50) 50%, rgba(0, 0, 0, 0.15) 100%),
        #0b1a0f url("https://svtor.com/wp-content/uploads/2026/10/food-hero.webp") center center / cover no-repeat;
    color: #fff;
}
.fv-hero .container {
    width: 100%;
}
.fv-hero h1 {
    color: #fff !important;
    max-width: 950px;
    margin: 0;
    padding-bottom: 55px;
    font-size: 51px;
    line-height: 1.15;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.7);
}
.fv-content {
    padding-top: 60px;
    padding-bottom: 70px;
}
@media (max-width: 991px) {
    .fv-hero {
        min-height: 380px;
    }
    .fv-hero h1 {
        font-size: 40px;
        padding-bottom: 42px;
    }
}
@media (max-width: 767px) {
    .fv-hero {
        min-height: 320px;
        background-position: center;
    }
    .fv-hero h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        padding-bottom: 30px;
    }
    .fv-content {
        padding-top: 40px;
        padding-bottom: 50px;
    }
}

/* Новая страница 719: hero вплотную к шапке */
.page-id-719 .page-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Таблица 719 — четыре колонки, на мобильном горизонтальный скролл */
.page-id-719 .conf-table {
    min-width: 980px;
}
