
    /* =========================================================
   ОБЯЗАТЕЛЬНЫЕ СТИЛИ ДЛЯ ТЕМЫ
   ========================================================= */

    #main>.wf-wrap,
    #bottom-bar>.wf-wrap {
        width: 100vw;
        padding: 0;
    }


    /* =========================================================
   ОСНОВА СТРАНИЦЫ
   ========================================================= */

    .zavod-page {
        --container: 1200px;
        --blue: #1e73be;
        --red: #ba0000;
        --text: #222;
        --muted: #666;
        --light: #f5f5f5;
        --border: #e5e5e5;

        width: 100%;
        margin: 0;
        padding: 0;

        color: var(--text);

        font-family: Arial, sans-serif;

        box-sizing: border-box;
    }

    .zavod-page *,
    .zavod-page *::before,
    .zavod-page *::after {
        box-sizing: border-box;
    }


    /* =========================================================
   ОБЩИЙ КОНТЕЙНЕР
   ========================================================= */

    .zavod-container {
        width: calc(100% - 40px);
        max-width: 1200px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 0;
        padding-right: 0;
    }


    /* =========================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================= */

    .zavod-section {
        width: 100%;
        padding: 60px 0;
    }


    /* =========================================================
   ТИПОГРАФИКА
   ========================================================= */

    .zavod-title {
        margin: 0 0 35px;
        padding: 0;

        color: var(--red);

        font-size: 32px;
        line-height: 1.2;
        font-weight: 700;
    }

    .zavod-subtitle {
        margin: 0 0 25px;
        padding: 0;

        font-size: 24px;
        line-height: 1.3;
    }

    .zavod-page p {
        margin: 0 0 20px;
        padding: 0;

        font-size: 16px;
        line-height: 1.65;
    }

    .zavod-page ul {
        margin: 0 0 25px;
        padding-left: 20px;
    }

    .zavod-page li {
        margin-bottom: 8px;

        font-size: 16px;
        line-height: 1.5;
    }


    /* =========================================================
   НОВЫЙ БЛОК
   ДЕТАЛИ, ИНСТРУМЕНТ И ОСНАСТКА
   ========================================================= */

    .zavod-products-section {
        width: 100%;

        padding: 70px 0;

        background: #ffffff;
    }

    .zavod-products-section>.zavod-container {
        display: block;
        width: calc(100% - 40px);
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* Заголовок */

    .zavod-products-header {
        max-width: 800px;

        margin-bottom: 40px;
    }

    .zavod-products-header .zavod-title {
        margin-bottom: 18px;
    }

    .zavod-products-intro {
        margin: 0;

        color: #666;

        font-size: 17px !important;
        line-height: 1.65 !important;
    }


    /* Сетка */

    .zavod-products {
        display: grid;

        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 24px;
    }


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

    .zavod-product {
        position: relative;

        display: flex;
        flex-direction: column;

        min-width: 0;

        background: #fff;

        border: 1px solid var(--border);

        overflow: hidden;

        box-shadow: 0 5px 20px rgba(0, 0, 0, .14);

        transition:
            transform .25s ease,
            box-shadow .25s ease;
    }

    .zavod-product:hover {
        transform: translateY(-5px);

        box-shadow:
            0 12px 30px rgba(0, 0, 0, .10);
    }


    /* Картинка */

    .zavod-product-image {
        position: relative;

        width: 100%;
        height: 220px;

        overflow: hidden;

        background: #eee;
    }

    .zavod-product-image::after {
        content: "";

        position: absolute;

        inset: 0;

        background: rgba(0, 0, 0, 0);

        transition: background .3s ease;
    }

    .zavod-product:hover .zavod-product-image::after {
        background: rgba(0, 0, 0, .18);
    }

    .zavod-product-image img {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: cover;

        margin: 0;

        transition: transform .35s ease;
    }

    .zavod-product:hover .zavod-product-image img {
        transform: scale(1.04);
    }


    /* Содержимое */

    .zavod-product-content {
        display: flex;
        flex-direction: column;

        flex: 1;

        padding: 25px 25px 27px;
    }


    /* Заголовок карточки */

    .zavod-product-title {
        margin: 0 0 18px;
        padding: 0;

        color: var(--red);

        font-size: 21px;
        line-height: 1.25;
        font-weight: 700;
    }


    /* Список */

    .zavod-product-list {
        display: grid;

        gap: 8px;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .zavod-product-list li {
        position: relative;

        margin: 0;
        padding-left: 18px;

        color: #555;

        font-size: 15px;
        line-height: 1.45;
    }

    .zavod-product-list li::before {
        content: "";

        position: absolute;

        left: 0;
        top: 9px;

        width: 6px;
        height: 6px;

        border-radius: 50%;

        background: var(--red);
    }


    /* Нижняя подпись */

    .zavod-product-note {
        margin: auto 0 0;
        padding-top: 18px;

        color: #888;

        font-size: 13px !important;
        line-height: 1.4 !important;
    }



    .zavod-detail-groups {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-top: 24px;
    }

    .zavod-detail-groups>div {
        box-shadow: 0 5px 20px rgba(0, 0, 0, .14);
        padding: 0;
        background: #fff;
        border: 1px solid var(--border);
        overflow: hidden;
    }

    .zavod-detail-group-image {
        width: 100%;
        height: 220px;
        overflow: hidden;
        background: #eee;
    }

    .zavod-detail-group-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        transition: transform .35s ease;
    }

    .zavod-detail-groups>div:hover .zavod-detail-group-image img {
        transform: scale(1.04);
    }

    .zavod-detail-group-content {
        padding: 25px;
    }

    .zavod-detail-groups h3 {
        color:var(--red);
        margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    }

    .zavod-detail-groups p {
        margin: 0;
        color: #666;
    }

    @media (max-width: 700px) {
        .zavod-detail-groups {
            grid-template-columns: 1fr;
        }
    }

    /* =========================================================
   УСЛУГИ
   ========================================================= */

    .zavod-services {
        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 20px;

        width: 100%;
    }

    .zavod-service {
        position: relative;

        display: block;

        width: 100%;

        color: var(--text);

        text-decoration: none !important;

        overflow: hidden;
    }

    .zavod-service-image {
        position: relative;

        width: 100%;
        aspect-ratio: 1 / 1;

        overflow: hidden;
    }

    .zavod-service-image img {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: cover;

        margin: 0;

        transition: transform .3s ease;
    }

    .zavod-service-image::after {
        content: "";

        position: absolute;

        inset: 0;

        background: rgba(0, 0, 0, 0);

        transition: background .3s ease;
    }

    .zavod-service:hover .zavod-service-image::after {
        background: rgba(0, 0, 0, .5);
    }

    .zavod-service:hover .zavod-service-image img {
        transform: scale(1.03);
    }

    .zavod-service-title {
        margin: 12px 0 0;
        padding: 0;

        color: var(--text);

        font-size: 18px;
        line-height: 1.3;
        font-weight: 600;
    }


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

    .zavod-two-columns {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 50px;

        align-items: start;
    }


    /* =========================================================
   ПРЕИМУЩЕСТВА
   ========================================================= */

    .zavod-advantages {
        display: grid;

        gap: 18px;
    }

    .zavod-advantage {
        display: flex;

        gap: 18px;

        padding: 20px;

        background: var(--light);
    }

    .zavod-advantage-icon {
        flex: 0 0 45px;

        width: 45px;
        height: 45px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: var(--blue);

        font-size: 25px;
    }

    .zavod-advantage-content {
        min-width: 0;
    }

    .zavod-advantage h3 {
        margin: 0 0 7px;
        padding: 0;

        font-size: 20px;
        line-height: 1.3;
    }

    .zavod-advantage p {
        margin: 0;

        font-size: 15px;
        line-height: 1.5;
    }


    /* =========================================================
   ИЗОБРАЖЕНИЕ МЕТАЛЛООБРАБОТКИ
   ========================================================= */

    .zavod-content-image {
        display: block;

        width: 100%;
        max-width: 450px;
        height: auto;

        margin: 25px 0;
    }


    /* =========================================================
   ЭТАПЫ ЗАКАЗА
   СЕРЫЙ ФОН НА ВСЮ ШИРИНУ
   ========================================================= */

    .zavod-steps-section {
        width: 100%;

        padding: 60px 0;

        background: #f5f5f5;
    }

    .zavod-steps {
        display: grid;

        grid-template-columns: repeat(4, 1fr);

        gap: 30px;
    }

    .zavod-step {
        text-align: center;
    }

    .zavod-step-number {
        margin: 0 0 10px;

        color: rgba(0, 0, 0, .45);

        font-size: 90px;
        line-height: .9;
        font-weight: 700;
    }

    .zavod-step-line {
        width: 150px;
        max-width: 100%;

        height: 1px;

        margin: 15px auto;

        background: var(--blue);
    }

    .zavod-step-title {
        font-size: 24px;
        line-height: 1.3;
    }


    /* =========================================================
   ОБОРУДОВАНИЕ — КАРУСЕЛЬ
   ========================================================= */

    .zavod-equipment-slider {
        position: relative;

        display: flex;
        align-items: center;

        width: 100%;
    }

    .zavod-equipment-window {
        width: 100%;

        overflow: hidden;
    }

    .zavod-equipment-track {
        display: flex;

        transition: transform .4s ease;
    }

    .zavod-equipment-slide {
        flex: 0 0 25%;
        min-width: 25%;

        padding: 0 10px;
    }

    .zavod-equipment-slide img {
        display: block;

        width: 100%;
        height: auto;

        aspect-ratio: 4 / 3;

        object-fit: cover;
    }


    /* Стрелки */

    .zavod-equipment-arrow {
        position: absolute;

        top: 50%;
        transform: translateY(-50%);

        z-index: 5;

        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;

        border: 0;

        background: rgba(255, 255, 255, .9);

        color: rgba(0, 0, 0, .55);

        font-size: 30px;
        line-height: 1;

        cursor: pointer;

        box-shadow: 0 2px 8px rgba(0, 0, 0, .15);

        transition:
            background .2s ease,
            color .2s ease,
            opacity .2s ease;
    }

    .zavod-equipment-arrow:hover {
        background: #fff;
        color: #000;
    }

    .zavod-equipment-prev {
        left: -20px;
    }

    .zavod-equipment-next {
        right: -20px;
    }

    .zavod-equipment-arrow.is-disabled {
        opacity: .25;

        cursor: default;

        pointer-events: none;
    }


    /* =========================================================
   ОТЗЫВЫ
   ========================================================= */

    .zavod-reviews-section {
        width: 100%;

        padding: 70px 0;

        background: #f5f5f5;
    }

    .zavod-reviews-header {
        display: flex;

        align-items: flex-end;
        justify-content: space-between;

        gap: 30px;

        margin-bottom: 40px;
    }

    .zavod-reviews-header .zavod-title {
        margin-bottom: 0;
    }

    .zavod-reviews-intro {
        max-width: 500px;

        margin: 0;

        color: #666;

        font-size: 16px;
        line-height: 1.6;
    }

    .zavod-reviews {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 20px;
    }

    .zavod-review {
        position: relative;

        display: flex;
        flex-direction: column;

        min-height: 100%;

        padding: 30px;

        background: #fff;

        border: 1px solid var(--border);

        box-shadow: 0 5px 20px rgba(0, 0, 0, .04);

        transition:
            transform .25s ease,
            box-shadow .25s ease;
    }

    .zavod-review:hover {
        transform: translateY(-5px);

        box-shadow:
            0 12px 30px rgba(0, 0, 0, .09);
    }

    .zavod-review-quote {
        position: absolute;

        top: 15px;
        right: 25px;

        color: rgba(186, 0, 0, .12);

        font-family: Georgia, serif;

        font-size: 70px;
        line-height: 1;
    }

    .zavod-review-stars {
        margin-bottom: 18px;

        color: #e0a400;

        font-size: 17px;
        letter-spacing: 2px;
    }

    .zavod-review-text {
        flex: 1;

        margin: 0 0 25px !important;

        color: #444;

        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .zavod-review-author {
        display: flex;

        align-items: center;

        gap: 12px;

        margin-top: auto;

        padding-top: 18px;

        border-top: 1px solid #eee;
    }

    .zavod-review-avatar {
        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 42px;

        border-radius: 50%;

        background: #f0f0f0;

        color: #777;

        font-size: 16px;
        font-weight: 700;
    }

    .zavod-review-name {
        margin: 0;

        font-size: 16px;
        line-height: 1.3;
        font-weight: 700;
    }


    /* =========================================================
   О ЗАВОДЕ
   ========================================================= */

    .zavod-about {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 50px;

        align-items: center;
    }

    .zavod-about-image {
        width: 100%;
        min-height: 500px;

        background-image:
            url("https://zavodtok.ru/wp-content/uploads/galvanika.jpg?id=162");

        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }


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

    @media (max-width: 991px) {

        .zavod-products {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .zavod-services {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .zavod-two-columns,
        .zavod-about {
            grid-template-columns: 1fr;
            gap: 35px;
        }

        .zavod-steps {
            grid-template-columns: repeat(2, 1fr);
        }

        .zavod-equipment-slide {
            flex: 0 0 33.333333%;
            min-width: 33.333333%;
        }

        .zavod-reviews {
            grid-template-columns: repeat(2, 1fr);
        }

    }


    @media (max-width: 760px) {

        .zavod-equipment-slide {
            flex: 0 0 100%;
            min-width: 100%;

            padding: 0;
        }

        .zavod-equipment-prev {
            left: 10px;
        }

        .zavod-equipment-next {
            right: 10px;
        }

        .zavod-reviews-header {
            display: block;
        }

        .zavod-reviews-intro {
            margin-top: 15px;
        }

    }


    @media (max-width: 600px) {

        .zavod-container {
            width: calc(100% - 30px);
            max-width: none !important;
            padding: 0;
        }

        .zavod-section,
        .zavod-steps-section,
        .zavod-reviews-section,
        .zavod-products-section {
            padding: 40px 0;
        }

        .zavod-title {
            font-size: 26px;

            margin-bottom: 25px;
        }

        .zavod-products {
            grid-template-columns: 1fr;

            gap: 18px;
        }

        .zavod-product-image {
            height: 200px;
        }

        .zavod-detail-group-image {
            height: 200px;
        }

        .zavod-detail-group-content {
            padding: 22px;
        }

        .zavod-product-content {
            padding: 22px;
        }

        .zavod-product-title {
            font-size: 20px;
        }

        .zavod-services {
            grid-template-columns: 1fr;

            gap: 20px;
        }

        .zavod-steps {
            grid-template-columns: 1fr;

            gap: 40px;
        }

        .zavod-step-number {
            font-size: 70px;
        }

        .zavod-step-title {
            font-size: 21px;
        }

        .zavod-about-image {
            min-height: 300px;
        }

        .zavod-reviews {
            grid-template-columns: 1fr;
        }

        .zavod-review {
            padding: 25px;
        }

    }


    /* SEO landing redesign */
    .zseo {
        --red: #b00000;
        --dark: #15191c;
        --line: #e3e3e3;
        --muted: #666;
        --bg: #f5f5f5;
        --max: 1200px;
        color: #222
    }

    .zseo .wrap {
        max-width: var(--max);
        margin: auto;
        padding: 0 20px
    }

    .zseo section {
        padding: 68px 0
    }

    .zseo .gray {
        background: var(--bg)
    }
.zseo .works-section .lead {
        margin-bottom: 30px;
    }

    .zseo h1,
    .zseo h2 {
        color: var(--red)
    }

    .zseo h1 {
        font-size: 42px;
        line-height: 1.12;
        margin: 0 0 22px
    }

    .zseo h2 {
        font-size: 34px;
        line-height: 1.2;
        margin: 0 0 18px
    }

    .zseo p {
        font-size: 16px;
        line-height: 1.7;
        margin: 0 0 18px
    }

    .zseo .lead {
        max-width: 900px;
        color: #555;
        font-size: 18px;
        margin-bottom: 34px
    }

    /* =========================================================
       ПЕРВЫЙ БЛОК — максимально близко к референсу
       Без рамок, карточек и красных полос.
       ========================================================= */

    .zseo .intro {
        position: relative;
        padding: 58px 0 54px;
        background: #fff;
        overflow: hidden;
    }

    .zseo .intro-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
        gap: 34px;
        align-items: center;
        min-height: 365px;
    }

    .zseo .intro-grid > div:first-child {
        position: relative;
        z-index: 3;
        max-width: 735px;
    }

    .zseo .intro h1 {
        margin: 0 0 23px;
        padding: 0;
        color: var(--red);
        font-size: 32px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -.01em;
        max-width: 760px;
    }

    .zseo .intro h1::before {
        display: none;
        content: none;
    }

    .zseo .intro p {
        max-width: 735px;
        margin: 0 0 14px;
        color: #555;
        font-size: 16px;
        line-height: 1.72;
    }

    /* В референсе дополнительная карточка отсутствует.
       Она скрыта, чтобы первый блок выглядел как на втором скриншоте. */
    .zseo .intro .quick {
        display: none;
    }

    /* Правая часть — не отдельная карточка.
       Фон-чертёж занимает всю правую визуальную область. */
    .zseo .intro-visual {
        position: relative;
        align-self: stretch;
        min-height: 365px;
        width: calc(100% + 70px);
        margin-right: -70px;
        overflow: hidden;
        background: #fff;
    }

    .zseo .intro-visual-bg {
        position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 70%;
    height: 60%;
    right: 0px;
    top: 50px;
    left: calc(100vw - 65%);
    object-fit: cover;
    object-position: center;
    opacity: .52;
    }

    .zseo .intro-visual-gear {
        position: absolute;
        z-index: 2;
        width: 74%;
        max-width: 430px;
        height: auto;
        right: 8%;
        top: 53%;
        transform: translateY(-50%);
        object-fit: contain;
        filter: drop-shadow(0 14px 16px rgba(0,0,0,.13));
    }


    .zseo .intro-accuracy {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 8px 12px;
        margin: 18px 0 0;
        padding-left: 14px;
        border-left: 4px solid #ba0000;
    }

    .zseo .intro-accuracy strong {
        color: #ba0000;
        font-size: 20px;
        line-height: 1.3;
        font-weight: 800;
    }

    .zseo .intro-accuracy span {
        color: #555;
        font-size: 14px;
        line-height: 1.45;
    }

    .zseo .intro-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px;
    }
    .zseo .intro-actions .btn {
        margin: 0;
        padding: 14px 22px;
        font-size: 15px;
        line-height: 1.2;
    }
    .zseo .intro-actions .btn-secondary {
        background: #fff;
        color: var(--red) !important;
        border: 1px solid var(--red);
    }
    .zseo .intro-actions .btn-secondary:hover {
        background: #f8f8f8;
    }
    @media(max-width:1000px) {
        .zseo .intro {
            padding: 50px 0 48px;
        }

        .zseo .intro-grid {
            grid-template-columns: 1fr;
            gap: 28px;
            min-height: 0;
        }

        .zseo .intro-grid > div:first-child {
            max-width: none;
        }

        .zseo .intro-visual {
            width: 100%;
            margin-right: 0;
            min-height: 330px;
        }

        .zseo .intro-visual-bg {
            object-position: center;
        }

        .zseo .intro-visual-gear {
            width: min(68%, 390px);
            right: 50%;
            top: 50%;
            transform: translate(50%, -50%);
        }
    }

    @media(max-width:650px) {
        .zseo .intro {
            padding: 38px 0 40px;
        }

        .zseo .intro-grid {
            gap: 22px;
        }

        .zseo .intro h1 {
            margin-bottom: 18px;
            font-size: 29px;
            line-height: 1.17;
        }

        .zseo .intro p {
            font-size: 16px;
            line-height: 1.62;
            margin-bottom: 13px;
        }

        .zseo .intro-visual {
            min-height: 255px;
        }

        .zseo .intro-visual-gear {
            width: 78%;
            max-width: 330px;
        }
    }

    .zseo .catalog {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px
    }

    .zseo .card {
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 7px 22px rgba(0, 0, 0, .045);
        padding: 24px
    }

    .zseo .card h3 {
        font-size: 20px;
        line-height: 1.3;
        margin: 0 0 15px
    }

    .zseo .card ul {
        margin: 0;
        padding: 0;
        list-style: none
    }

    .zseo .card li {
        position: relative;
        padding-left: 16px;
        margin: 0 0 8px;
        color: #555;
        font-size: 15px;
        line-height: 1.42
    }

    .zseo .card li:before {
        content: "";
        position: absolute;
        left: 0;
        top: .62em;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--red)
    }

    .zseo details {
        margin-top: 14px
    }

    .zseo summary {
        cursor: pointer;
        color: var(--red);
        font-weight: 700;
        font-size: 14px
    }

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

    .zseo .service {
        display: block;
        color: #222;
        text-decoration: none;
        background: #fff;
        border: 1px solid var(--line);
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
        transition: .25s
    }

    .zseo .service:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .1)
    }

    .zseo .service img {
        width: 100%;
        height: 175px;
        object-fit: cover;
        display: block
    }

    .zseo .service div {
        padding: 18px
    }

    .zseo .service h3 {
        font-size: 18px;
        margin: 0 0 8px
    }

    .zseo .service p {
        font-size: 14px;
        color: #666;
        margin: 0
    }

    .zseo .stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: #ddd;
        margin: 0 0 28px
    }

    .zseo .stat {
        background: #fff;
        padding: 25px;
        text-align: center
    }

    .zseo .stat b {
        display: block;
        color: var(--red);
        font-size: 32px;
        margin-bottom: 7px
    }

    .zseo .stat span {
        font-size: 14px;
        color: #666
    }

    .zseo .advantages {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px
    }

    .zseo .adv {
        padding: 23px;
        background: #fff;
        border: 1px solid var(--line)
    }

    .zseo .adv h3 {
        margin: 0 0 8px;
        font-size: 19px
    }

    .zseo .adv p {
        margin: 0;
        color: #666
    }

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

    .zseo .equipment img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        display: block
    }

    .zseo .equipment .card {
        padding: 0;
        overflow: hidden
    }

    .zseo .equipment .card>div {
        padding: 18px
    }

    .zseo .equipment h3 {
        margin: 0 0 6px
    }

    .zseo .equipment p {
        font-size: 13px;
        color: #777;
        margin: 0
    }

    .zseo .steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px
    }

    .zseo .step {
        padding: 26px;
        background: #fff;
        border-top: 4px solid var(--red)
    }

    .zseo .num {
        font-size: 44px;
        font-weight: 700;
        color: #bbb;
        line-height: 1;
        margin-bottom: 12px
    }

    .zseo .step h3 {
        font-size: 19px;
        margin: 0 0 9px
    }

    .zseo .step p {
        color: #666;
        margin: 0
    }


    /* =========================================================
       ПРАЙС — СТОИМОСТЬ ИЗГОТОВЛЕНИЯ ДЕТАЛЕЙ
       ========================================================= */
    .zseo .parts-price-section {
        background: #fff !important;
    }

    .zseo .parts-price-intro {
        max-width: 900px;
        margin-bottom: 30px;
    }

    .zseo .parts-price-table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--line);
        background: #fff;
    }

    .zseo .parts-price-table {
        width: 100%;
        min-width: 720px;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .zseo .parts-price-table th,
    .zseo .parts-price-table td {
        padding: 15px 18px;
        text-align: left;
        vertical-align: middle;
        border-bottom: 1px solid var(--line);
    }

    .zseo .parts-price-table th {
        background: #f5f5f5;
        color: #222;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .zseo .parts-price-table th:nth-child(1) { width: 39%; }
    .zseo .parts-price-table th:nth-child(2) { width: 20%; }
    .zseo .parts-price-table th:nth-child(3) { width: 41%; }

    .zseo .parts-price-table td {
        color: #555;
        font-size: 15px;
        line-height: 1.45;
    }

    .zseo .parts-price-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .zseo .parts-price-table tbody tr:hover td {
        background: #fafafa;
    }

    .zseo .parts-price-name {
        color: #222 !important;
        font-weight: 700;
    }

    .zseo .parts-price-value {
        color: var(--red) !important;
        font-size: 17px !important;
        font-weight: 700;
        white-space: nowrap;
    }

    .zseo .parts-price-note {
        margin: 18px 0 0 !important;
        color: #777 !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .zseo .parts-price-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 24px;
        align-items: stretch;
        margin-top: 24px;
    }

    .zseo .parts-price-factors {
        padding: 25px;
        background: #f5f5f5;
        border: 1px solid var(--line);
    }

    .zseo .parts-price-factors h3 {
        margin: 0 0 14px;
        font-size: 20px;
        line-height: 1.3;
    }

    .zseo .parts-price-factors ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 24px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .zseo .parts-price-factors li {
        position: relative;
        margin: 0;
        padding-left: 17px;
        color: #555;
        font-size: 14px;
        line-height: 1.45;
    }

    .zseo .parts-price-factors li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--red);
        font-weight: 700;
    }

    .zseo .parts-price-cta {
        margin: 0 !important;
    /*     height: 100%; */
    }

    @media(max-width:1000px) {
        .zseo .parts-price-bottom {
            grid-template-columns: 1fr;
        }
    }

    @media(max-width:650px) {
        .zseo .parts-price-table-wrap {
            overflow: visible;
            border: 0;
            background: transparent;
        }

        .zseo .parts-price-table {
            min-width: 0;
            display: block;
        }

        .zseo .parts-price-table thead {
            display: none;
        }

        .zseo .parts-price-table tbody,
        .zseo .parts-price-table tr,
        .zseo .parts-price-table td {
            display: block;
        /*     width: 100%; */
        }

        .zseo .parts-price-table tr {
            margin-bottom: 12px;
            padding: 15px 16px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: 0 5px 16px rgba(0,0,0,.035);
        }

        .zseo .parts-price-table td {
            padding: 0;
            border: 0;
        }

        .zseo .parts-price-table td + td {
            margin-top: 7px;
        }

        .zseo .parts-price-table td:nth-child(2) {
            font-size: 16px;
        }

        .zseo .parts-price-table td:nth-child(3)::before {
            content: "Обработка: ";
            color: #999;
        }

        .zseo .parts-price-factors {
            padding: 21px 18px;
        }

        .zseo .parts-price-factors ul {
            grid-template-columns: 1fr;
        }
    }

    /* =========================================================
       НАШИ РАБОТЫ — SWIPER С РЕАЛЬНЫМИ ФОТОГРАФИЯМИ
       ========================================================= */
    .zseo .works-swiper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .zseo .works-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .zseo .works-swiper .swiper-slide {
        height: auto;
    }

    .zseo .works-slide {
        height: 100%;
        background: #fff;
        border: 1px solid var(--line);
        overflow: hidden;
    }

    .zseo .works-slide-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        background: #f3f3f3;
    }

    .zseo .works-slide-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .35s ease;
    }

    .zseo .works-slide:hover .works-slide-image img {
        transform: scale(1.035);
    }

    .zseo .works-slide-content {
        padding: 18px 20px 20px;
    }

    .zseo .works-slide-tag {
        display: inline-block;
        margin: 0 0 10px;
        padding: 5px 8px;
        background: #f1f1f1;
        color: #777;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .zseo .works-slide-title {
        margin: 0;
        color: var(--red);
        font-size: 19px;
        line-height: 1.3;
    }

    .zseo .works-swiper-prev,
    .zseo .works-swiper-next {
        position: absolute;
        top: 35%;
        z-index: 5;
        width: 46px;
        height: 46px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ddd;
        border-radius: 50%;
        background: rgba(255,255,255,.96);
        color: #333;
        box-shadow: 0 3px 12px rgba(0,0,0,.12);
        cursor: pointer;
        transition: background .2s ease, color .2s ease, opacity .2s ease;
    }

    .zseo .works-swiper-prev:hover,
    .zseo .works-swiper-next:hover {
        background: #fff;
        color: var(--red);
    }

    .zseo .works-swiper-prev::after,
    .zseo .works-swiper-next::after {
        font-size: 20px;
        font-weight: 700;
    }

    .zseo .works-swiper-prev {
        left: 12px;
    }

    .zseo .works-swiper-next {
        right: 12px;
    }

    .zseo .works-swiper-pagination {
        position: static;
        margin-top: 24px;
    }

    .zseo .works-swiper-pagination .swiper-pagination-bullet {
        opacity: .35;
    }

    .zseo .works-swiper-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--red);
    }

    @media(max-width:650px) {
        .zseo .works-slide-content {
            padding: 16px 17px 18px;
        }

        .zseo .works-slide-title {
            font-size: 18px;
        }

        .zseo .works-swiper-prev,
        .zseo .works-swiper-next {
            width: 40px;
            height: 40px;
            top: 31%;
        }

        .zseo .works-swiper-prev {
            left: 8px;
        }

        .zseo .works-swiper-next {
            right: 8px;
        }
    }

    .zseo .materials {
        display: flex;
        flex-wrap: wrap;
        gap: 10px
    }

    .zseo .material {
        padding: 12px 17px;
        background: #fff;
        border: 1px solid #ddd
    }

    .zseo .about-img {
        min-height: 420px;
        background: url("/wp-content/themes/dt-the7/images/header-machine.jpg") center/cover no-repeat
    }

    .zseo .facts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 22px
    }

    .zseo .fact {
        background: #f5f5f5;
        padding: 16px
    }

    .zseo .fact b {
        display: block;
        color: var(--red);
        font-size: 22px
    }

    .zseo .fact span {
        font-size: 13px;
        color: #666
    }

    .zseo .doc {
        display: grid;
        margin-top: 30px;
        grid-template-columns: 85px 1fr;
        gap: 22px;
        padding: 28px;
        background: #fff;
        border: 1px solid var(--line);
        align-items: center
    }

    .zseo .doc-icon {
        width: 85px;
        height: 105px;
        background: #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        color: var(--red)
    }

    .zseo .doc h3 {
        margin: 0 0 8px
    }

    .zseo .doc p {
        margin: 0;
        color: #666
    }

    /* =========================================================
       СЕРТИФИКАТЫ — 6 НЕБОЛЬШИХ ПРЕВЬЮ В ОДИН РЯД
       ========================================================= */
    .zseo .certificates-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 780px;
        margin-top: 18px;
    }

    .zseo .certificate-thumb {
        display: block;
        width: 100%;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        background: #fff;
        border: 1px solid #e5e5e5;
        line-height: 0;
    }

    .zseo .certificate-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        margin: 0;
    }

    @media (max-width: 650px) {
        .zseo .certificates-grid {
            max-width: 100%;
            gap: 5px;
        }
    }

    .zseo .price-list {
        columns: 2;
        margin: 0;
        padding: 0;
        list-style: none
    }

    .zseo .price-list li {
        break-inside: avoid;
        margin: 0 0 10px;
        padding-left: 18px;
        position: relative;
        color: #555
    }

    .zseo .price-list li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--red);
        font-weight: 700
    }

    .zseo .cta {
        background: var(--dark);
        padding: 32px;
        color: #fff
    }

    .zseo .cta h3 {
        font-size: 25px;
        color: #fff;
        margin: 0 0 10px
    }

    .zseo .cta p {
        color: #ddd
    }

    .zseo .btn {
        display: inline-block;
        background: var(--red);
        color: #fff !important;
        text-decoration: none !important;
        padding: 13px 20px;
        margin: 5px 7px 0 0;
        font-weight: 700
    }

    .zseo .final-cta .cta {
        max-width: 980px;
        margin: 0 auto;
        text-align: center;
    }
    .zseo .final-cta .cta p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
    .zseo .reviews {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px
    }

    .zseo .review {
        background: #fff;
        border: 1px solid var(--line);
        padding: 25px
    }

    .zseo .stars {
        color: #c79700;
        letter-spacing: 2px;
        margin-bottom: 12px
    }

    .zseo .review p {
        font-size: 15px;
        color: #444
    }

    .zseo .author {
        border-top: 1px solid #eee;
        padding-top: 13px;
        font-weight: 700
    }

    /* =========================================================
       FAQ — НА ВСЮ ШИРИНУ + КРАСНАЯ ВРАЩАЮЩАЯСЯ СТРЕЛКА
       ========================================================= */

    .zseo .faq {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    /* Важно: width:100% + padding не должны выталкивать FAQ за родителя */
    .zseo .faq,
    .zseo .faq details,
    .zseo .faq summary {
        box-sizing: border-box !important;
    }

    .zseo .faq details {
        width: 100%;
        margin: 0 0 10px;
        background: #fff;
        border: 1px solid var(--line);
        overflow: hidden;
    }

    .zseo .faq summary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 64px;

        padding: 18px 65px 18px 22px;

        color: #222;
        font-size: 17px;
        line-height: 1.4;
        font-weight: 600;

        cursor: pointer;
        list-style: none;
        user-select: none;
    }

    /* Убираем стандартную стрелку браузера */
    .zseo .faq summary::-webkit-details-marker {
        display: none;
    }

    .zseo .faq summary::marker {
        display: none;
    }

    /* Красная SVG-стрелка FAQ */
    .zseo .faq summary {
        position: relative !important;
        padding-right: 70px !important;
    }

    .zseo .faq summary::after {
        content: none !important;
        display: none !important;
    }

    .zseo .faq summary .faq-arrow {
        position: absolute !important;
        right: 24px !important;
        top: 50% !important;
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(-50%) rotate(0deg) !important;
        transform-origin: center !important;
        transition: transform .3s ease !important;
        z-index: 999 !important;
        pointer-events: none !important;
        line-height: 0 !important;
    }

    .zseo .faq summary .faq-arrow svg {
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        overflow: visible !important;
    }

    .zseo .faq details[open] summary .faq-arrow {
        transform: translateY(-50%) rotate(180deg) !important;
    }

    /* Hover-анимация FAQ */
    .zseo .faq summary {
        transition: color .25s ease !important;
    }

    .zseo .faq details {
        transition: border-color .25s ease, box-shadow .25s ease !important;
    }

    .zseo .faq summary:hover {
        color: #b00000 !important;
    }

    .zseo .faq details:has(summary:hover) {
        border-color: rgba(176, 0, 0, .45) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .06) !important;
    }

    .zseo .faq summary:hover .faq-arrow {
        transform: translateY(-50%) translateX(3px) rotate(0deg) !important;
    }

    .zseo .faq details[open] summary:hover .faq-arrow {
        transform: translateY(-50%) translateX(3px) rotate(180deg) !important;
    }

    /* Ответ */
    .zseo .faq .answer {
        padding: 0 65px 22px 22px;
        color: #666;
    }

    .zseo .faq .answer p {
        margin: 0;
        font-size: 16px;
        line-height: 1.7;
    }

    /* Мобильная версия */
    @media(max-width:650px) {

        .zseo .faq summary {
            min-height: 58px;
            padding: 16px 55px 16px 17px;
            font-size: 16px;
        }

        .zseo .faq summary {
            padding-right: 55px !important;
        }

        .zseo .faq summary .faq-arrow {
            right: 18px !important;
            width: 20px !important;
            height: 20px !important;
        }

        .zseo .faq summary .faq-arrow svg {
            width: 20px !important;
            height: 20px !important;
        }

        .zseo .faq .answer {
            padding: 0 55px 19px 17px;
        }
    }

    @media(max-width:1000px) {

        .zseo .catalog,
        .zseo .services {
            grid-template-columns: repeat(2, 1fr)
        }

        .zseo .equipment {
            grid-template-columns: repeat(2, 1fr)
        }

        .zseo .intro-grid,
        .zseo .about-grid,
        .zseo .price-grid {
            grid-template-columns: 1fr
        }

        .zseo .steps {
            grid-template-columns: repeat(2, 1fr)
        }

        .zseo .reviews {
            grid-template-columns: repeat(2, 1fr)
        }

        .zseo .stats {
            grid-template-columns: repeat(2, 1fr)
        }
    }

    @media(max-width:650px) {
        .zseo section {
            padding: 45px 0
        }

        .zseo h1 {
            font-size: 31px
        }

        .zseo h2 {
            font-size: 27px
        }

        .zseo .catalog,
        .zseo .services,
        .zseo .equipment,
        .zseo .steps,
        .zseo .advantages,
        .zseo .works,
        .zseo .reviews {
            grid-template-columns: 1fr
        }

        .zseo .price-list {
            columns: 1
        }

        .zseo .stats {
            grid-template-columns: 1fr
        }

        .zseo .facts {
            grid-template-columns: 1fr
        }

        .zseo .doc {
            grid-template-columns: 1fr
        }

        .zseo .about-img {
            min-height: 280px
        }
    }


    #main {
    padding: 0px;
}


#phantom {
    position: fixed;
}



    /* =========================================================
       ПОЧЕМУ ВЫБИРАЮТ НАС — INDUSTRIAL REDESIGN
       Фоновая фотография производства + контрастные карточки
       ========================================================= */

    .zseo .why-us-section {
        position: relative;
        isolation: isolate;
        overflow: hidden;

        padding: 86px 0 90px;

        background-color: #16191c !important;
        background-image:
            linear-gradient(90deg, rgba(10, 12, 14, .93) 0%, rgba(10, 12, 14, .78) 46%, rgba(10, 12, 14, .62) 100%),
            url("/wp-content/themes/dt-the7/images/header-machine.jpg") !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    .zseo .why-us-section::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(0,0,0,.20), transparent 30%, rgba(0,0,0,.28) 100%);
    }

    .zseo .why-us-section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: #b00000;
        z-index: 0;
    }

    .zseo .why-us-section > .wrap {
        position: relative;
        z-index: 1;
    }

    .zseo .why-us-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
        gap: 65px;
        align-items: end;
        margin-bottom: 42px;
    }

    .zseo .why-us-kicker {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        color: #ff4a4a;
        font-size: 12px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .zseo .why-us-kicker::before {
        content: "";
        width: 34px;
        height: 2px;
        background: #b00000;
    }

    .zseo .why-us-header h2 {
        max-width: 700px;
        margin: 0;
        color: #fff;
        font-size: clamp(34px, 4vw, 54px);
        line-height: 1.08;
        font-weight: 700;
        letter-spacing: -.025em;
    }

    .zseo .why-us-lead {
        position: relative;
        margin: 0;
        padding: 5px 0 5px 25px;
        color: rgba(255,255,255,.78);
        font-size: 16px;
        line-height: 1.75;
        border-left: 3px solid #b00000;
    }

    .zseo .why-us-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 22px;
        background: rgba(12, 14, 16, .70);
        border: 1px solid rgba(255,255,255,.14);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .zseo .why-us-stat {
        position: relative;
        padding: 26px 28px 25px;
    }

    .zseo .why-us-stat:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 20px;
        right: 0;
        width: 1px;
        height: calc(100% - 40px);
        background: rgba(255,255,255,.15);
    }

    .zseo .why-us-stat strong {
        display: block;
        margin-bottom: 7px;
        color: #fff;
        font-size: 38px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -.025em;
    }

    .zseo .why-us-stat span {
        color: rgba(255,255,255,.58);
        font-size: 13px;
        line-height: 1.4;
    }

    .zseo .why-us-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .zseo .why-us-card {
        position: relative;
        display: grid;
        grid-template-columns: 62px 1fr;
        gap: 20px;
        align-items: start;
        padding: 27px 28px;
        background: rgba(255,255,255,.95);
        border: 1px solid rgba(255,255,255,.72);
        box-shadow: 0 12px 35px rgba(0,0,0,.18);
        overflow: hidden;
        transition:
            transform .25s ease,
            box-shadow .25s ease,
            background .25s ease;
    }

    .zseo .why-us-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #b00000;
        transform: scaleY(0);
        transform-origin: center;
        transition: transform .25s ease;
    }

    .zseo .why-us-card:hover {
        transform: translateY(-4px);
        background: #fff;
        box-shadow: 0 18px 42px rgba(0,0,0,.24);
    }

    .zseo .why-us-card:hover::before {
        transform: scaleY(1);
    }

    .zseo .why-us-icon {
        width: 62px;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f7eeee;
        border: 1px solid #f0dcdc;
        border-radius: 12px;
        transition:
            background .25s ease,
            transform .25s ease;
    }

    .zseo .why-us-icon img {
        display: block;
        width: 30px;
        height: 30px;
    }

    .zseo .why-us-card:hover .why-us-icon {
        background: #b00000;
        transform: translateY(-2px);
    }

    .zseo .why-us-card:hover .why-us-icon img {
        filter: brightness(0) invert(1);
    }

    .zseo .why-us-card h3 {
        margin: 2px 0 9px;
        color: #222;
        font-size: 19px;
        line-height: 1.3;
    }

    .zseo .why-us-card p {
        margin: 0;
        color: #666;
        font-size: 14px;
        line-height: 1.6;
    }

    @media (max-width: 800px) {
        .zseo .why-us-section {
            padding: 65px 0 70px;
            background-position: 62% center !important;
        }

        .zseo .why-us-header {
            grid-template-columns: 1fr;
            gap: 22px;
        }

        .zseo .why-us-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        .zseo .why-us-stat:nth-child(2)::after {
            display: none;
        }

        .zseo .why-us-stat:nth-child(-n+2) {
            border-bottom: 1px solid rgba(255,255,255,.14);
        }
    }

    @media (max-width: 650px) {
        .zseo .why-us-section {
            padding: 52px 0 58px;
            background-image:
                linear-gradient(90deg, rgba(10, 12, 14, .95), rgba(10, 12, 14, .78)),
                url("/wp-content/themes/dt-the7/images/header-machine.jpg") !important;
            background-position: 62% center !important;
        }

        .zseo .why-us-header {
            gap: 20px;
            margin-bottom: 28px;
        }

        .zseo .why-us-header h2 {
            font-size: 30px;
        }

        .zseo .why-us-lead {
            padding-left: 17px;
            font-size: 15px;
        }

        .zseo .why-us-stats {
            grid-template-columns: 1fr 1fr;
        }

        .zseo .why-us-stat {
            padding: 20px 15px;
        }

        .zseo .why-us-stat strong {
            font-size: 28px;
        }

        .zseo .why-us-grid {
            grid-template-columns: 1fr;
        }

        .zseo .why-us-card {
            grid-template-columns: 52px 1fr;
            gap: 16px;
            padding: 22px 20px;
        }

        .zseo .why-us-icon {
            width: 52px;
            height: 52px;
            border-radius: 11px;
        }

        .zseo .why-us-icon img {
            width: 26px;
            height: 26px;
        }
    }


    /* =========================================================
       МАТЕРИАЛЫ — REDESIGN
       ========================================================= */

    .zseo .materials-section {
        padding: 72px 0;
    }

    .zseo .materials-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 540px);
        gap: 50px;
        align-items: end;
        margin-bottom: 38px;
    }

    .zseo .materials-kicker {
        display: inline-block;
        margin-bottom: 11px;
        color: var(--red);
        font-size: 12px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .zseo .materials-header h2 {
        margin: 0;
        color: var(--red);
        font-size: 34px;
        line-height: 1.2;
    }

    .zseo .materials-lead {
        margin: 0;
        color: #666;
        font-size: 16px;
        line-height: 1.65;
    }

    .zseo .materials-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .zseo .material-card {
        position: relative;
        min-height: 175px;
        display: flex;
        flex-direction: column;
        padding: 22px;
        background: #fff;
        border: 1px solid #e2e2e2;
        overflow: hidden;
        transition:
            transform .25s ease,
            box-shadow .25s ease,
            border-color .25s ease;
    }

    .zseo .material-card::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
    }

    .zseo .material-card:hover {
        transform: translateY(-4px);
        border-color: #d5d5d5;
        box-shadow: 0 12px 28px rgba(0,0,0,.08);
    }

    .zseo .material-card:hover::before {
        transform: scaleX(1);
    }

    .zseo .material-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8eeee;
        border-radius: 12px;
        transition: background .25s ease, transform .25s ease;
    }

    .zseo .material-icon img {
        width: 27px;
        height: 27px;
        display: block;
    }

    .zseo .material-card:hover .material-icon {
        background: var(--red);
        transform: translateY(-2px);
    }

    .zseo .material-card:hover .material-icon img {
        filter: brightness(0) invert(1);
    }

    .zseo .material-card h3 {
        margin: 0 0 8px;
        color: #222;
        font-size: 17px;
        line-height: 1.3;
    }

    .zseo .material-card p {
        margin: 0;
        color: #707070;
        font-size: 13px;
        line-height: 1.5;
    }

    .zseo .materials-note {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        padding: 15px 18px;
        background: rgba(255,255,255,.7);
        border-left: 3px solid var(--red);
        color: #777;
        font-size: 13px;
        line-height: 1.5;
    }

    .zseo .materials-note-icon {
        flex: 0 0 auto;
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f8eeee;
        color: var(--red);
        font-weight: 700;
    }

    @media(max-width:1000px) {
        .zseo .materials-header {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .zseo .materials-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media(max-width:650px) {
        .zseo .materials-section {
            padding: 45px 0;
        }

        .zseo .materials-header h2 {
            font-size: 27px;
        }

        .zseo .materials-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .zseo .material-card {
            min-height: 0;
            display: grid;
            grid-template-columns: 50px 1fr;
            gap: 15px;
            padding: 18px;
        }

        .zseo .material-icon {
            margin: 0;
        }

        .zseo .materials-note {
            align-items: flex-start;
        }
    }


    /* =========================================================
       О ЗАВОДЕ — FACTORY REDESIGN
       ========================================================= */

    .zseo .factory-section {
        padding: 82px 0;
    }

    .zseo .factory-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 540px);
        gap: 50px;
        align-items: end;
        margin-bottom: 42px;
    }

    .zseo .factory-kicker,
    .zseo .factory-bottom-kicker {
        display: inline-block;
        color: var(--red);
        font-size: 12px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .zseo .factory-kicker { margin-bottom: 12px; }

    .zseo .factory-heading h2 {
        margin: 0;
        color: var(--red);
        font-size: 36px;
        line-height: 1.15;
    }

    .zseo .factory-heading-text {
        margin: 0;
        padding-left: 22px;
        position: relative;
        color: #666;
        font-size: 16px;
        line-height: 1.65;
    }

    .zseo .factory-heading-text::before {
        content: "";
        position: absolute;
        left: 0;
        top: 3px;
        bottom: 3px;
        width: 3px;
        border-radius: 2px;
        background: var(--red);
    }

    .zseo .factory-main {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr);
        gap: 42px;
        align-items: stretch;
    }

    .zseo .factory-gallery {
        max-height: 320px;
        display: grid;
        grid-template-columns: 1.25fr .75fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
    }

    .zseo .factory-photo {
        position: relative;
        margin: 0;
        overflow: hidden;
        background: #e9e9e9;
    }

    .zseo .factory-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

    .zseo .factory-photo:hover img {
        transform: scale(1.035);
    }

    .zseo .factory-photo-main {
        grid-row: 1 / 3;
    }

    .zseo .factory-photo-one img,
    .zseo .factory-photo-two img {
        object-position: center;
    }

    .zseo .factory-photo-wide {
        display: none;
    }

    .zseo .factory-photo figcaption {
        position: absolute;
        left: 16px;
        bottom: 16px;
        padding: 8px 11px;
        background: rgba(20,20,20,.78);
        color: #fff;
        font-size: 12px;
        line-height: 1;
    }

    .zseo .factory-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 4px 0;
    }

    .zseo .factory-story {

        gap: 22px;
    }

    .zseo .factory-year {
        color: var(--red);
        font-size: 30px;
        line-height: 1;
        font-weight: 700;
        padding-top: 4px;
    }

    .zseo .factory-story h3,
    .zseo .factory-bottom h3 {
        margin: 0 0 14px;
        color: #222;
        font-size: 23px;
        line-height: 1.25;
    }

    .zseo .factory-story p {
        margin: 0 0 13px;
        color: #666;
        font-size: 15px;
        line-height: 1.65;
    }

    .zseo .factory-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 28px;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }

    .zseo .factory-stat {
        padding: 20px 18px;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        background: #fafafa;
    }

    .zseo .factory-stat strong {
        display: block;
        margin-bottom: 5px;
        color: var(--red);
        font-size: 27px;
        line-height: 1;
    }

    .zseo .factory-stat span {
        color: #777;
        font-size: 12px;
        line-height: 1.4;
    }

    .zseo .factory-bottom {
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        gap: 16px;
        margin-top: 18px;
    }

    .zseo .factory-capabilities,
    .zseo .factory-quality {
        padding: 28px;
        border: 1px solid #e1e1e1;
        background: #f7f7f7;
    }

    .zseo .factory-bottom-kicker {
        margin-bottom: 11px;
        font-size: 11px;
    }

    .zseo .factory-bottom h3 {
        margin-bottom: 10px;
        font-size: 21px;
    }

    .zseo .factory-capabilities p,
    .zseo .factory-quality p {
        margin: 0;
        color: #666;
        font-size: 14px;
        line-height: 1.6;
    }

    .zseo .factory-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 18px;
    }

    .zseo .factory-tags span {
        padding: 7px 10px;
        background: #fff;
        border: 1px solid #ddd;
        color: #555;
        font-size: 12px;
        line-height: 1;
    }

    .zseo .factory-quality {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 17px;
        background: #fff;
        border-left: 3px solid var(--red);
    }

    .zseo .factory-quality-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f7eaea;
        color: var(--red);
        font-size: 22px;
        font-weight: 700;
    }

    .zseo .factory-precision {
        display: grid;
        grid-template-columns: 145px 1fr;
        gap: 24px;
        align-items: center;
        margin-top: 18px;
        padding: 25px 28px;
        background: var(--red);
        color: #fff;
    }

    .zseo .factory-precision-mark {
        font-size: 38px;
        line-height: 1;
        font-weight: 700;
    }

    .zseo .factory-precision strong {
        display: block;
        margin-bottom: 5px;
        font-size: 18px;
    }

    .zseo .factory-precision p {
        margin: 0;
        color: rgba(255,255,255,.86);
        font-size: 13px;
        line-height: 1.5;
    }

    @media(max-width:1000px) {
        .zseo .factory-heading,
        .zseo .factory-main,
        .zseo .factory-bottom {
            grid-template-columns: 1fr;
        }

        .zseo .factory-gallery {
            min-height: 480px;
        }
    }

    @media(max-width:650px) {
        .zseo .factory-section {
            padding: 50px 0;
        }

        .zseo .factory-heading {
            gap: 18px;
            margin-bottom: 28px;
        }

        .zseo .factory-heading h2 {
            font-size: 29px;
        }

        .zseo .factory-gallery {
            min-height: 0;
            grid-template-columns: 1fr 1fr;
   /*          grid-template-rows: 270px 150px; */
        }

        .zseo .factory-photo-main {
            grid-column: 1 / 3;
            grid-row: 1;
        }

        .zseo .factory-photo-one,
        .zseo .factory-photo-two {
            display: block;
        }

        .zseo .factory-story {
            grid-template-columns: 1fr;
            gap: 8px;
            margin-top: 28px;
        }

        .zseo .factory-year {
            font-size: 26px;
        }

        .zseo .factory-stats {
            margin-top: 22px;
        }

        .zseo .factory-stat {
            padding: 17px 14px;
        }

        .zseo .factory-stat strong {
            font-size: 23px;
        }

        .zseo .factory-capabilities,
        .zseo .factory-quality {
            padding: 22px;
        }

        .zseo .factory-precision {
            grid-template-columns: 1fr;
            gap: 8px;
            padding: 22px;
        }

        .zseo .factory-precision-mark {
            font-size: 32px;
        }
    }



    .zseo .factory-process {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #ddd;
    }

    .zseo .factory-process-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
        gap: 35px;
        align-items: end;
        margin-bottom: 22px;
    }

    .zseo .factory-process-head h3 {
        margin: 9px 0 0;
        color: #222;
        font-size: 25px;
        line-height: 1.25;
    }

    .zseo .factory-process-head p {
        margin: 0;
        color: #777;
        font-size: 14px;
        line-height: 1.55;
    }

    .zseo .factory-process-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .zseo .factory-process-step {
        position: relative;
        min-height: 155px;
        padding: 20px;
        background: #f7f7f7;
        border: 1px solid #e2e2e2;
        transition: transform .25s ease, box-shadow .25s ease;
    }

    .zseo .factory-process-step:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,.07);
    }

    .zseo .factory-process-step > span {
        display: block;
        margin-bottom: 14px;
        color: var(--red);
        font-size: 12px;
        line-height: 1;
        font-weight: 700;
    }

    .zseo .factory-process-step h4 {
        margin: 0 0 8px;
        color: #222;
        font-size: 16px;
        line-height: 1.3;
    }

    .zseo .factory-process-step p {
        margin: 0;
        color: #777;
        font-size: 13px;
        line-height: 1.5;
    }

    .zseo .factory-process-note {
        margin-top: 12px;
        padding: 16px 18px;
        background: #fff;
        border-left: 3px solid var(--red);
        color: #666;
        font-size: 13px;
        line-height: 1.55;
    }

    .zseo .factory-process-note strong {
        color: #333;
    }


    /* =========================================================
       ФИНАЛЬНЫЕ МОБИЛЬНЫЕ ПРАВКИ
       ========================================================= */

    /* Блок «О заводе / О компании»: предотвращаем наложение
       текста и фото на узких экранах. */
    @media (max-width: 650px) {
        .zseo .factory-heading,
        .zseo .factory-main,
        .zseo .factory-content,
        .zseo .factory-story,
        .zseo .factory-bottom {
            min-width: 0;
            width: 100%;
        }

        .zseo .factory-heading {
            display: block;
            margin-bottom: 28px;
        }

        .zseo .factory-heading > div {
            min-width: 0;
            width: 100%;
        }

        .zseo .factory-heading h2 {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: normal;
        }

        .zseo .factory-main {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .zseo .factory-gallery {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            min-height: 0;
        }

        .zseo .factory-content {
            display: block;
            padding: 0;
        }

        .zseo .factory-story {
            display: block;
            margin-top: 0;
        }

        .zseo .factory-story h3,
        .zseo .factory-bottom h3 {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: normal;
        }

        .zseo .factory-story p,
        .zseo .factory-capabilities p,
        .zseo .factory-quality p,
        .zseo .factory-precision p {
            max-width: 100%;
            overflow-wrap: anywhere;
        }

        .zseo .factory-stats {
            width: 100%;
            min-width: 0;
        }

        .zseo .factory-bottom {
            display: block;
            margin-top: 18px;
        }

        .zseo .factory-capabilities,
        .zseo .factory-quality {
            width: 100%;
            min-width: 0;
        }

        .zseo .factory-quality {
            margin-top: 16px;
        }

        .zseo .factory-precision {
            width: 100%;
            min-width: 0;
            margin-top: 16px;
        }
    }

    /* «Работаем с единичными...» — постоянная красная черта
       слева во всех версиях. */
    .zseo .why-us-lead {
        position: relative;
        padding-left: 18px;
        border-left: 3px solid var(--red);
    }

    /* На мобильном сертификаты: строго 3 изображения в ряд. */
    @media (max-width: 650px) {
        .zseo .certificates-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 7px;
            max-width: 100%;
        }
    }

