/*
Theme Name: KARNAS Ethanol
Theme URI: https://example.com/
Author: KARNAS Team
Author URI: https://example.com/
Description: Custom WordPress theme based on KARNAS Ethanol layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: karnas-ethanol
*/

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

html {
    scroll-behavior: smooth;
}

body {
}

.header {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
}

.header__logo {
    display: block;
    margin-top: 0;
    line-height: 0;
}

.header__logo img {
    display: block;
    width: 123px;
    height: 67px;
    vertical-align: top;
}

.header__nav {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 0;
}

.header__link {
    position: relative;
    z-index: 0;
    color: #1B1F26;
    text-decoration: none;
    font-family: 'Mazzard M', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    transition: color 0.25s ease;
}

.header__link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 48px);
    height: 67px;
    background: #FD780F;
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.92);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: -1;
}

.header__link:hover::before,
.header__link:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(1);
}

.header__link_w66 { width: 66px; }
.header__link_w83 { width: 83px; }
.header__link_w87 { width: 87px; }
.header__link_w79 { width: 79px; }
.header__link_w67 { width: 67px; }
.header__link_w75 { width: 75px; }

.header__link:hover {
    text-decoration: none;
    color: #fff;
}

.header__link:focus-visible {
    color: #fff;
    outline: none;
}

.header__link_active {
    color: #1B1F26;
    text-decoration: none;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 18px;
    margin-right: 0;
}

.header__lang-btn {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Mazzard M', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #1B1F26;
    background: #F1F1F1;
}

.header__lang-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.header__lang-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.header__lang-btn_active {
    background: #FD780F;
    color: #fff;
}

.header__menu-btn {
    display: none;
    border: none;
    padding: 0;
    background: transparent;
}

.header__menu-icon-img {
    display: block;
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
}

.footer__menu-btn {
    display: none;
}

@media (max-width: 767px) {
    .header {
        position: relative;
        min-height: 80px;
        padding: 0;
        align-items: flex-start;
    }

    .header__nav,
    .header__lang {
        display: none;
    }

    .header__logo {
        margin-top: 8px;
        margin-left: 28px;
    }

    .header__logo img {
        width: 118px;
        height: 64px;
    }

    .header__menu-btn {
        position: absolute;
        top: 18px;
        right: 28px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: #FD780F;
    }

    .hero {
        max-width: 100%;
        padding: 0 24px;
        margin-top: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero__left {
        max-width: 100%;
        width: 100%;
    }

    .hero__title {
        width: auto;
        height: auto;
        margin: 0 0 16px 0;
        font-size: 34px;
        line-height: 1.05;
    }

    .hero__text {
        width: min(327px, 100%);
        min-height: 168px;
        height: auto;
        margin: 0 0 24px 0;
        font-size: 24px;
        line-height: 1.15;
    }

    .hero__buttons {
        width: 100%;
        gap: 12px;
    }

    .hero__btn_primary {
        width: min(327px, 100%);
        height: 55px;
        font-size: 16px;
        line-height: 1;
    }

    .hero__btn_secondary {
        height: auto;
        min-height: 32px;
        padding-right: 0;
        font-size: 16px;
        line-height: 1;
    }

    .hero__btn-icon {
        width: 24px;
        height: 24px;
    }

    .hero__right {
        width: 100%;
        max-width: 327px;
    }

    .hero__gallery {
        width: 100%;
        height: auto;
        aspect-ratio: 671 / 575;
    }

    .hero__gallery-img,
    .hero__img {
        width: 100%;
        height: auto;
    }

    .hero__plaque {
        right: auto;
        left: 0;
    }
}

/* Section 1 — Hero */
.hero {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0;
}

.hero__left {
    max-width: 50%;
}

.hero__title {
    width: 710px;
    height: 56px;
    font-family: 'Mazzard M', sans-serif;
    font-size: 66px;
    font-weight: 500;
    line-height: 56px;
    color: #1B1F26;
    margin-bottom: 18px;
}

.hero__text {
    width: 708px;
    height: 152px;
    font-family: 'Mazzard M', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    color: #1B1F26;
    margin-bottom: 88px;
}

.hero__buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.hero__btn_primary {
    width: 268px;
    height: 57px;
    background: #1B1F26;
    color: #fff;
}

.hero__btn_secondary {
    width: auto;
    height: 57px;
    padding-left: 0;
    padding-right: 16px;
    gap: 8px;
    background: transparent;
    color: #1B1F26;
}

.hero__btn-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.hero__right {
    position: relative;
    flex-shrink: 0;
}

.hero__gallery {
    position: relative;
    width: 671px;
    height: 575px;
}

.hero__gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.hero__gallery-img_active {
    opacity: 1;
    z-index: 1;
}

.hero__img {
    display: block;
    width: 671px;
    height: 575px;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.hero__arrows {
    position: absolute;
    top: 129px;
    right: 20px;
    display: flex;
    gap: 4px;
}

.hero__arrow {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    width: 26px;
    height: 26px;
}

.hero__arrow img {
    display: block;
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.hero__arrow_next img {
    transform: scaleX(-1);
}

.hero__plaque {
    width: 281px;
    height: 168px;
    background: #FD780F;
    position: absolute;
    top: 359px;
    right: 427px;
    padding-top: 20px;
    padding-left: 20px;
    z-index: 2;
}

.hero__plaque-text {
    display: block;
    width: 130px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    transition: opacity 0.3s ease;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.hero__plaque-text,
.hero__plaque-caption {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__plaque-caption {
    display: block;
    position: absolute;
    top: 129px;
    left: 20px;
    width: 162px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
    transition: opacity 0.3s ease;
}

.hero__plaque_is-fading .hero__plaque-text,
.hero__plaque_is-fading .hero__plaque-caption {
    opacity: 0;
    transform: translateY(8px);
}

.hero__arrow.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* Section 2 */
.section-2 {
    width: 1440px;
    max-width: 100%;
    height: 852px;
    margin: 64px auto 0;
    background: #1B1F26;
    position: relative;
}

.section-2__label {
    position: absolute;
    top: 48px;
    left: 37px;
    width: 114px;
    height: 21px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
}

.section-2__title {
    position: absolute;
    top: 48px;
    right: 275px;
    width: 396px;
    min-height: 76px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: #FFFFFF;
    margin: 0;
}

.section-2__line {
    position: absolute;
    top: 172px;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    max-width: calc(100% - 40px);
    height: 2px;
    background: #FFFFFF;
}

.section-2__line_bottom {
    top: 702px;
}

.section-2__arrow-btn {
    position: absolute;
    top: 220px;
    right: 37px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FD780F;
    text-decoration: none;
}

.section-2__arrow-btn img {
    display: block;
    width: 24px;
    height: 24px;
}

.section-2__arrow-btn_white {
    top: 750px;
    background: #FFFFFF;
}

.section-2__arrow-btn_white img {
    width: 24px;
    height: 24px;
}

.section-2__desc {
    position: absolute;
    top: 231px;
    right: 122px;
    width: 549px;
    height: 370px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
}

.section-2__desc p {
    margin: 0 0 1em 0;
}

.section-2__desc p:last-child {
    margin-bottom: 0;
}

/* Section 2 — product block (offsets from first line: 172px) */
.section-2__product {
    position: absolute;
    left: 0;
    right: 0;
    padding-left: 122px;
    padding-right: 37px;
}

.section-2__num {
    position: absolute;
    top: 220px;
    left: 37px;
    width: 35px;
    height: 22px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 22px;
    color: #FFFFFF;
}

.section-2__product-title {
    position: absolute;
    top: 220px;
    left: 122px;
    width: 586px;
    height: 39px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 39px;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

.section-2__num_02 {
    top: 750px;
}

.section-2__product-title_02 {
    top: 750px;
}

.section-2__product-img {
    display: block;
    position: absolute;
    top: 291px;
    left: 122px;
    width: 586px;
    height: 317px;
    object-fit: cover;
}

.section-2__download {
    position: absolute;
    top: 632px;
    left: 122px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
}

.section-2__download:hover {
    opacity: 0.9;
}

.section-2__download-text {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 2px;
}

.section-2__download-icon {
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.section-2.section-2_collapsed {
    height: 430px;
}

.section-2.section-2_collapsed .section-2__desc,
.section-2.section-2_collapsed .section-2__product-img,
.section-2.section-2_collapsed .section-2__download {
    display: none;
}

.section-2.section-2_collapsed .section-2__line_bottom {
    top: 307px;
}

.section-2.section-2_collapsed .section-2__num_02,
.section-2.section-2_collapsed .section-2__product-title_02,
.section-2.section-2_collapsed .section-2__arrow-btn_white {
    top: 355px;
}

.section-2.section-2_collapsed .section-2__arrow-btn_toggle {
    background: #F1F1F1;
}

.section-2.section-2_collapsed .section-2__arrow-btn_toggle img {
    transform: none;
}

.section-2.section-2_second-open .section-2__arrow-btn_white {
    background: #FD780F;
}

/* Section 3 */
.section-3 {
    margin: 0 auto;
    padding: 0;
    max-width: 1440px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    background: #fff;
}

.section-3__left {
    flex: 1;
    max-width: 525px;
    margin: 0;
    padding: 156px 0 0 0;
}

.section-3__title {
    width: 525px;
    max-width: 100%;
    min-height: 224px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #1B1F26;
    margin: 0;
    padding: 0;
}

.section-3__label {
    width: 479px;
    max-width: 100%;
    height: 21px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FD780F;
    margin: 35px 0 0 0;
    padding: 0;
}

.section-3__intro {
    width: 671px;
    max-width: 100%;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
    margin: 0 0 24px 0;
    padding: 0;
}

.section-3__text {
    width: 671px;
    max-width: 100%;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
    margin: 0;
    padding: 0;
}

.section-3__right {
    flex-shrink: 0;
    width: 671px;
    margin: 0;
    padding: 220px 0 0 0;
}

.section-3__markers {
    width: 671px;
    max-width: 100%;
    min-height: 118px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
    margin: 0;
    padding: 0;
}

.section-3__markers-title {
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.section-3__markers-list {
    margin: 0;
    padding: 0;
}

.section-3__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 464px);
    grid-template-rows: repeat(2, 166px);
    gap: 24px;
    margin-top: 24px;
}

.section-3__cell {
    width: 464px;
    height: 166px;
    padding: 37px;
    border: 1px solid rgba(27, 31, 38, 0.5);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.section-3__cell_build {
    padding: 35px;
}

.section-3__cell-icon {
    display: block;
}

.section-3__cell-text {
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
    text-align: center;
}

/* Section 4 */
.section-4 {
    width: 1440px;
    max-width: 100%;
    height: 1620px;
    margin: 176px auto 0;
    background: #1B1F26;
    position: relative;
}

.section-4__inner {
    padding: 37px 0 0 37px;
    width: 708px;
    min-height: 168px;
}

.section-4__title {
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

.section-4__label {
    width: 149px;
    height: 21px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FD780F;
    margin: 24px 0 0 0;
    padding: 0;
}

.section-4__about {
    width: 444px;
    max-width: 100%;
    min-height: 97px;
    margin: 255px 0 0 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    padding: 0;
}

.section-4__about + .section-4__about {
    margin-top: 16px;
    min-height: 0;
}

.section-4__video-wrap {
    width: 1366px;
    max-width: calc(100% - 74px);
    margin: 48px auto 0;
}

.section-4__video {
    display: block;
    width: 100%;
    height: 639px;
    border: none;
    background: #0d0f12;
    object-fit: cover;
}

.section-4__right {
    position: absolute;
    top: 37px;
    right: 37px;
    max-width: calc(100% - 80px);
    box-sizing: border-box;
}

.section-4__spec-title {
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

.section-4__subtitle {
    width: 432px;
    height: 38px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    margin: 64px 0 0 0;
    padding: 0;
}

.section-4__advantages-blocks {
    margin-top: 24px;
}

.section-4__markets {
    width: 637px;
    max-width: 100%;
    min-height: 97px;
    margin: 64px 0 0 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    padding: 0;
}

.section-4__markets + .section-4__markets {
    margin-top: 0;
    min-height: 0;
}

.section-4__spec-blocks {
    margin-top: 24px;
}

.section-4__spec-row {
    display: flex;
}

.section-4__spec-row_2 {
    margin-top: 24px;
}

.section-4__spec-row_3 {
    margin-top: 24px;
}

.section-4__spec-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.section-4__spec-block_r {
    margin-left: 38px;
}

.section-4__spec-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.section-4__spec-text {
    width: 206px;
    min-height: 34px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

.section-4__spec-text_w196 { width: 196px; }
.section-4__spec-text_w260 { width: 260px; }
.section-4__spec-text_w210 { width: 210px; }
.section-4__spec-text_w265 { width: 265px; }
.section-4__spec-text_w219 { width: 219px; }
.section-4__spec-text_w270 { width: 270px; }
.section-4__spec-text_w169 { width: 169px; }

/* Section 5 */
.section-5 {
    width: 1440px;
    max-width: 100%;
    height: 896px;
    margin: 48px auto 0;
    background: #F1F1F1;
    position: relative;
}

.section-5__title-1 {
    position: absolute;
    top: 37px;
    right: 303px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__title-2 {
    position: absolute;
    top: 75px;
    right: 37px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__label {
    position: absolute;
    top: 110px;
    right: 473px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FD780F;
}

.section-5__intro {
    position: absolute;
    top: 94px;
    left: 37px;
    width: 671px;
    height: 55px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__line {
    position: absolute;
    top: 197px;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    max-width: calc(100% - 74px);
    height: 2px;
    background: #FD780F;
}

.section-5__line_bottom {
    top: 772px;
}

.section-5__gmp-title {
    position: absolute;
    top: 822px;
    left: 37px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__gmp-btn {
    position: absolute;
    top: 812px;
    right: 37px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    background: #F1F1F1;
    border: 1px solid #1B1F26;
    text-decoration: none;
}

.section-5__gmp-btn img {
    width: 24px;
    height: 24px;
}

.section-5.section-5_second-open .section-5__gmp-btn {
    background: #FD780F;
    border: none;
}

.section-5__arrow-btn {
    position: absolute;
    top: 247px;
    right: 37px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FD780F;
    text-decoration: none;
}

.section-5__arrow-btn img {
    display: block;
    width: 24px;
    height: 24px;
}

.section-5.section-5_collapsed {
    height: 460px;
}

.section-5.section-5_collapsed .section-5__cert,
.section-5.section-5_collapsed .section-5__validity,
.section-5.section-5_collapsed .section-5__iscc-desc,
.section-5.section-5_collapsed .section-5__cols {
    display: none;
}

.section-5.section-5_collapsed .section-5__line_bottom {
    top: 332px;
}

.section-5.section-5_collapsed .section-5__gmp-title {
    top: 382px;
}

.section-5.section-5_collapsed .section-5__gmp-btn {
    top: 372px;
}

.section-5.section-5_collapsed .section-5__arrow-btn_toggle {
    background: #F1F1F1;
    border: 1px solid #1B1F26;
}

.section-5__cert {
    position: absolute;
    top: 310px;
    right: 209px;
    display: block;
    height: auto;
}

.section-5__cert[hidden],
.section-5-standards__cert[hidden] {
    display: none !important;
    max-width: 320px;
}

.section-5__validity {
    position: absolute;
    top: 700px;
    left: 37px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__iscc-title {
    position: absolute;
    top: 245px;
    left: 37px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__iscc-desc {
    position: absolute;
    top: 310px;
    left: 37px;
    width: 549px;
    height: 63px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__cols {
    position: absolute;
    top: 421px;
    left: 0;
    display: grid;
    grid-template-columns: 342px 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 37px 0 37px;
    box-sizing: border-box;
}

.section-5__col-head {
    width: 305px;
    height: 84px;
    margin: 0 0 24px 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-5__list {
    width: 342px;
    min-height: 147px;
    margin: 0;
    padding-left: 20px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
    list-style: disc;
}

.section-5__list li {
    margin-bottom: 0;
}

.section-5__col_right .section-5__col-head {
    width: 276px;
    height: 63px;
}

.section-5__col_right .section-5__list {
    width: 276px;
    min-height: 147px;
}

/* Section 6 */
.section-6 {
    position: relative;
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    min-height: 848px;
}

.section-6__img {
    position: absolute;
    top: 156px;
    left: 0;
    display: block;
    width: auto;
    height: 300px;
    object-fit: cover;
}

.section-6__label {
    position: absolute;
    top: 292px;
    right: 0;
    width: 671px;
    height: 21px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0;
    color: #FD780F;
}

.section-6__title {
    position: absolute;
    top: 156px;
    right: 0;
    width: 671px;
    min-height: 112px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-6__list {
    position: absolute;
    top: 504px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    align-items: start;
}

.section-6__list-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-6__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
}

.section-6__item-row {
    display: flex;
    align-items: center;
}

.section-6__item_gap326 .section-6__item-row { gap: 326px; }
.section-6__item_gap409 .section-6__item-row { gap: 409px; }
.section-6__item_gap327 .section-6__item-row { gap: 327px; }
.section-6__item_gap316 .section-6__item-row { gap: 316px; }
.section-6__item_gap302 .section-6__item-row { gap: 302px; }
.section-6__item_gap194 .section-6__item-row { gap: 194px; }
.section-6__item_gap180 .section-6__item-row { gap: 180px; }
.section-6__item_gap414 .section-6__item-row { gap: 414px; }
.section-6__item_gap104 .section-6__item-row { gap: 104px; }

.section-6__item-trigger {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F1F1;
}

.section-6__item-trigger:hover {
    background: #e5e5e5;
}

.section-6__item.is-open .section-6__item-trigger {
    background: #FD780F;
}

.section-6__item.is-open .section-6__item-trigger:hover {
    background: #e56b0d;
}

.section-6__item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-6__item-icon img {
    width: 24px;
    height: 24px;
}

.section-6__item-icon_open {
    display: none;
}

.section-6__item.is-open .section-6__item-icon_default {
    display: none;
}

.section-6__item.is-open .section-6__item-icon_open {
    display: flex;
}

.section-6__item-extra {
    display: none;
    margin-top: 12px;
    padding-left: 0;
    max-width: 520px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-6__item-extra_549 {
    width: 549px;
    min-height: 231px;
}

.section-6__item-extra-p {
    margin: 0 0 16px 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-6__item-extra-p:last-child {
    margin-bottom: 0;
}

.section-6__item-extra-list {
    margin: 0 0 16px 0;
    padding-left: 20px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
    list-style: disc;
}

.section-6__item-extra-list li {
    margin-bottom: 0;
    display: list-item;
}

.section-6__item.is-open .section-6__item-extra {
    display: block;
}

.section-6__item-text {
    flex-shrink: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-6__item-text_w342 { width: 342px; }
.section-6__item-text_w259 { width: 259px; }
.section-6__item-text_w341 { width: 341px; }
.section-6__item-text_w352 { width: 352px; }
.section-6__item-text_w329 { width: 329px; }
.section-6__item-text_w437 { width: 437px; }
.section-6__item-text_w451 { width: 451px; }
.section-6__item-text_w217 { width: 217px; }
.section-6__item-text_w527 { width: 527px; }

/* Section 7 — відступ 48px зверху */
.section-7 {
    width: 1440px;
    max-width: 100%;
    margin: 48px auto 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.section-7__left {
    flex: 1;
    min-width: 0;
}

.section-7__right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-7__block {
    position: relative;
    width: 671px;
    height: 271px;
    background: #F1F1F1;
}

.section-7__block-img {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 288px;
    height: 155px;
    object-fit: cover;
}

.section-7__block-title {
    position: absolute;
    top: 148px;
    left: 24px;
    height: 41px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-7__block-title_w124 { width: 124px; }
.section-7__block-title_w148 { width: 148px; }
.section-7__block-title_w219 { width: 229px; }

.section-7__block-desc {
    position: absolute;
    top: 213px;
    left: 24px;
    width: 300px;
    min-height: 34px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-7__block-desc_h55 {
    min-height: 55px;
}

.section-7__block-desc_w370 {
    width: 370px;
}

.section-7__title {
    width: 714px;
    min-height: 168px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-7__text {
    width: 671px;
    min-height: 118px;
    margin-top: 24px;
}

.section-7__p {
    margin: 0 0 16px 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-7__capacity-title {
    margin: 16px 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.section-7__p:last-child {
    margin-bottom: 0;
}

.section-7__buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.section-7__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.section-7__btn_primary {
    width: 268px;
    height: 57px;
    background: #1B1F26;
    color: #fff;
}

.section-7__btn_secondary {
    width: auto;
    height: 57px;
    padding-left: 0;
    padding-right: 16px;
    gap: 8px;
    background: transparent;
    color: #1B1F26;
}

.section-7__btn-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Section 8 — відступ 156px від секції 7 */
.section-8 {
    width: 1440px;
    max-width: 100%;
    margin: 156px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.section-8__content {
    flex-shrink: 0;
}

.section-8__image {
    flex-shrink: 0;
    margin-top: 39px;
}

.section-8__logos {
    width: 671px;
    height: 80px;
    overflow: hidden;
}

.section-8__logos-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: section8LogosScroll 22s linear infinite;
}

.section-8__logo {
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.section-8__logo_buderus { width: 208px; height: 40px; }
.section-8__logo_gea { width: 126px; height: 40px; }
.section-8__logo_piller { width: 102px; height: 80px; }
.section-8__logo_van { width: 149px; height: 80px; }
.section-8__logo_swis { width: 159px; height: 40px; }

.section-8__label {
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #FD780F;
}

.section-8__title {
    margin: 24px 0 0;
    width: 745px;
    max-width: 100%;
    min-height: 168px;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: 0;
    color: #1B1F26;
}

@keyframes section8LogosScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 24px));
    }
}

.footer {
    position: relative;
    width: 1440px;
    max-width: 100%;
    height: 457px;
    margin: 156px auto 0;
    background: #1B1F26;
}

.footer__slogan {
    position: absolute;
    top: 37px;
    left: 37px;
    width: 497px;
    min-height: 76px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 0;
    color: #fff;
}

.footer__label {
    position: absolute;
    top: 137px;
    left: 37px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #fff;
}

.footer__form {
    position: absolute;
    top: 37px;
    right: 244px;
    width: 427px;
}

.footer__field {
    margin-bottom: 24px;
}

.footer__field:last-child {
    margin-bottom: 0;
}

.footer__input {
    display: block;
    width: 100%;
    padding: 0 0 12px 0;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__field.footer__field_error .footer__line {
    background: #ff6b6b;
}

.footer__input.footer__input_error {
    color: #ffb3b3;
}

.footer__line {
    display: block;
    width: 427px;
    max-width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.footer__submit {
    position: absolute;
    top: 257px;
    right: 542px;
    width: 129px;
    height: 57px;
    padding: 0;
    border: none;
    background: #fff;
    cursor: pointer;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0;
    color: #1B1F26;
}

.footer__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer__form-message {
    position: absolute;
    top: 327px;
    right: 244px;
    width: 427px;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-size: 14px;
    line-height: 1.3;
}

.footer__form-message_success {
    color: #a8ffb3;
}

.footer__form-message_error {
    color: #ffb3b3;
}

.footer__strip {
    position: absolute;
    top: 378px;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    max-width: calc(100% - 74px);
    height: 2px;
    background: #fff;
}

.footer__header {
    position: absolute;
    top: 390px;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    height: 67px;
    max-width: calc(100% - 74px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 37px;
    padding-right: 37px;
    box-sizing: border-box;
    background: #1B1F26;
}

.footer__header-logo {
    display: block;
    line-height: 0;
    margin-right: 0;
}

.footer__header-logo img {
    display: block;
    width: 123px;
    height: 67px;
    vertical-align: top;
    filter: brightness(0) invert(1);
}

.footer__header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 39px;
    margin-right: 0;
}

.footer__header-link {
    position: relative;
    z-index: 0;
    color: #fff;
    text-decoration: none;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    box-sizing: border-box;
    transition: color 0.25s ease;
}

.footer__header-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 48px);
    height: 67px;
    background: #FD780F;
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.92);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: -1;
}

.footer__header-link:hover::before,
.footer__header-link:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(1);
}

.footer__header-link:hover {
    text-decoration: none;
}

.footer__header-link:focus-visible {
    outline: none;
}

.footer__header-link_active {
    color: #fff;
    text-decoration: none;
}

.footer__header-lang {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer__header-lang-btn {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

.footer__header-lang-btn:first-child {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.footer__header-lang-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.footer__header-lang-btn_active {
    background: #FD780F;
    color: #fff;
    border-color: #FD780F;
}

/* Mobile override (placed at end to win cascade) */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        margin: 80px auto 0;
        padding: 0 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 24px;
    }

    .hero__left {
        width: 100%;
        max-width: 327px;
        margin: 0 auto;
    }

    .hero__title {
        width: 327px;
        max-width: 100%;
        height: auto;
        margin: 0 0 16px 0;
        font-size: 34px;
        line-height: 1.05;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero__text {
        width: 327px;
        max-width: 100%;
        min-height: 168px;
        height: auto;
        margin: 0 0 24px 0;
        font-size: 24px;
        line-height: 1.15;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero__buttons {
        width: 327px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero__btn_primary {
        width: 327px;
        max-width: 100%;
        height: 55px;
        font-size: 16px;
        line-height: 11px;
        white-space: nowrap;
    }

    .hero__btn_secondary {
        width: fit-content;
        max-width: 100%;
        height: auto;
        min-height: 32px;
        padding-right: 0;
        font-size: 16px;
        line-height: 1;
        justify-content: center;
    }

    .hero__right {
        width: 327px;
        max-width: 100%;
        position: relative;
        padding-bottom: 72px;
    }

    .hero__gallery {
        width: 327px;
        max-width: 100%;
    }

    .hero__gallery-img,
    .hero__img {
        width: 327px;
        max-width: 100%;
        height: 541px;
        object-fit: cover;
    }

    .hero__plaque {
        width: 243px;
        height: 145px;
        top: auto;
        right: auto;
        left: 50%;
        bottom: 8px;
        transform: translateX(-50%);
        padding: 16px;
    }

    .hero__plaque-text {
        width: 185px;
        font-size: 24px;
        line-height: 1;
    }

    .hero__plaque-caption {
        top: auto;
        left: 16px;
        bottom: 16px;
        width: 73px;
        font-size: 14px;
        line-height: 1.2;
    }

    .hero__arrows {
        top: auto;
        right: 16px;
        bottom: 16px;
        gap: 8px;
    }

    .hero__arrow {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #F7933A;
        align-items: center;
        justify-content: center;
    }

    .hero__arrow img {
        display: block;
        width: 16px;
        height: 16px;
    }

    .section-2 {
        width: 327px;
        max-width: calc(100% - 48px);
        height: 1269px;
        margin: 0 auto;
        position: relative;
    }

    .section-2__label {
        top: 20px;
        left: 20px;
        width: 209px;
        height: 19px;
        font-size: 16px;
        line-height: 19px;
    }

    .section-2__title {
        top: 57px;
        left: 20px;
        right: auto;
        width: 209px;
        min-height: 84px;
        font-size: 24px;
        line-height: 1.15;
    }

    .section-2__line {
        top: 177px;
        width: 287px;
        max-width: calc(100% - 40px);
        height: 2px;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-2__line_bottom {
        top: 1140px;
    }

    .section-2__num {
        top: 209px;
        left: 20px;
        width: 201px;
        height: 11px;
        font-size: 16px;
        line-height: 11px;
    }

    .section-2__product-title {
        top: 236px;
        left: 20px;
        width: 201px;
        height: 24px;
        font-size: 34px;
        line-height: 24px;
    }

    .section-2__arrow-btn {
        top: 228px;
        right: 20px;
        width: 32px;
        height: 32px;
    }

    .section-2__arrow-btn img,
    .section-2__arrow-btn_white img {
        width: 16px;
        height: 16px;
    }

    .section-2__desc {
        top: 284px;
        left: 20px;
        right: auto;
        width: 287px;
        height: 562px;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-2__desc p {
        margin: 0 0 24px 0;
    }

    .section-2__desc p:last-child {
        margin-bottom: 0;
    }

    .section-2__product-img {
        top: 882px;
        left: 20px;
        width: 287px;
        height: 188px;
    }

    .section-2__download {
        top: 1094px;
        left: 20px;
        gap: 8px;
        font-size: 16px;
        line-height: 11px;
    }

    .section-2__download-icon {
        width: 32px;
        height: 32px;
    }

    .section-2__download-text {
        width: 185px;
        height: 11px;
        border-bottom: 2px solid #FFFFFF;
        padding-bottom: 3px;
    }

    .section-2__num_02 {
        top: 1172px;
    }

    .section-2__product-title_02 {
        top: 1199px;
    }

    .section-2__arrow-btn_white {
        top: 1191px;
        right: 20px;
    }

    .section-3 {
        width: 327px;
        max-width: calc(100% - 48px);
        margin: 48px auto 0;
        display: block;
        background: #fff;
    }

    .section-3__left,
    .section-3__right {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .section-3__title {
        width: 327px;
        max-width: 100%;
        height: 136px;
        min-height: 136px;
        font-size: 34px;
        line-height: 1;
        margin: 0 0 12px 0;
    }

    .section-3__label {
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-3__intro {
        width: 100%;
        margin: 0 0 16px 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .section-3__text {
        width: 100%;
        margin: 0 0 8px 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .section-3__markers {
        width: 100%;
        min-height: 0;
        margin: 0 0 16px 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .section-3__grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 10px;
        margin-top: 0;
    }

    .section-3__cell {
        width: 100%;
        min-height: 135px;
        height: 135px;
        padding: 0;
        position: relative;
        display: block;
    }

    .section-3__cell:nth-child(1) { height: 135px; min-height: 135px; }
    .section-3__cell:nth-child(2) { height: 135px; min-height: 135px; }
    .section-3__cell:nth-child(3) { height: 135px; min-height: 135px; }
    .section-3__cell:nth-child(4) { height: 116px; min-height: 116px; }
    .section-3__cell:nth-child(5) { height: 135px; min-height: 135px; }
    .section-3__cell:nth-child(6) { height: 159px; min-height: 159px; }

    .section-3__cell-icon {
        display: none;
    }

    .section-3__cell-text {
        position: absolute;
        top: 24px;
        left: 24px;
        width: 279px;
        font-size: 24px;
        line-height: 1;
        text-align: left;
    }

    .section-3__cell::after {
        content: '';
        position: absolute;
        top: 62px;
        left: 24px;
        width: 279px;
        font-family: 'Mazzard M', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.2;
        color: #1B1F26;
    }

    /* Ukrainian descriptions */
    html[lang="uk"] .section-3__cell:nth-child(1)::after { content: 'Очищення та подрібнення зерна кукурудзи з контролем якості на вході.'; }
    html[lang="uk"] .section-3__cell:nth-child(2)::after { content: 'За допомогою ферментів крохмаль перетворюється на прості цукри, переважно глюкозу.'; }
    html[lang="uk"] .section-3__cell:nth-child(3)::after { content: 'Дріжджі ферментують цукри, утворюючи етанол та вуглекислий газ.'; }
    html[lang="uk"] .section-3__cell:nth-child(4)::after { content: 'Виділення спирту-сирцю з ферментаційної суміші.'; }
    html[lang="uk"] .section-3__cell:nth-child(5)::after { content: 'Доведення концентрації етанолу до 99,8% — отримання паливного біоетанолу.'; }
    html[lang="uk"] .section-3__cell:nth-child(6)::after { content: 'Суха барда (DDGS) висушується та використовується як високобілковий корм для тварин.'; }

    /* English descriptions */
    html[lang="en"] .section-3__cell:nth-child(1)::after { content: 'Cleaning and milling of corn kernels with incoming quality control.'; }
    html[lang="en"] .section-3__cell:nth-child(2)::after { content: 'Enzymatic conversion of starch into simple sugars, mainly glucose.'; }
    html[lang="en"] .section-3__cell:nth-child(3)::after { content: 'Yeast converts sugars into ethanol and carbon dioxide.'; }
    html[lang="en"] .section-3__cell:nth-child(4)::after { content: 'Separation of crude ethanol from the fermentation mixture.'; }
    html[lang="en"] .section-3__cell:nth-child(5)::after { content: 'Ethanol concentration is increased to 99.8%, producing fuel-grade bioethanol.'; }
    html[lang="en"] .section-3__cell:nth-child(6)::after { content: 'DDGS (Dried Distillers Grains with Solubles) is dried and used as a high-protein feed for livestock.'; }

    .section-3__cell:nth-child(6)::after { top: 86px; }

    .section-3__cell:first-child {
        width: 327px;
        max-width: 100%;
        height: 135px;
        min-height: 135px;
        background: #FD780F;
        border-color: #FD780F;
    }

    .section-3__cell:first-child .section-3__cell-text {
        color: #fff;
    }

    .section-3__cell:first-child::after {
        color: #fff;
    }

    .section-4 {
        width: 327px;
        max-width: calc(100% - 48px);
        height: auto;
        min-height: 0;
        margin: 48px auto 0;
        padding: 20px;
    }

    .section-4__inner {
        width: 100%;
        min-height: 0;
        padding: 0;
    }

    .section-4__title {
        width: 100%;
        margin: 0;
        font-size: 52px;
        line-height: 1;
    }

    .section-4__label {
        width: auto;
        height: auto;
        margin: 10px 0 0 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-4__about {
        width: 100%;
        min-height: 0;
        margin: 24px 0 0 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-4__about + .section-4__about {
        margin-top: 16px;
    }

    .section-4__right {
        position: static;
        top: auto;
        right: auto;
        max-width: 100%;
        margin-top: 24px;
    }

    .section-4__spec-title,
    .section-4__subtitle {
        width: 100%;
        height: auto;
        margin: 0 0 16px 0;
        font-size: 40px;
        line-height: 1;
    }

    .section-4__spec-blocks,
    .section-4__advantages-blocks {
        margin-top: 0;
    }

    .section-4__spec-row {
        display: block;
    }

    .section-4__spec-row_2,
    .section-4__spec-row_3 {
        margin-top: 0;
    }

    .section-4__spec-block {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .section-4__spec-block_r {
        margin-left: 0;
    }

    .section-4__spec-icon {
        width: 16px;
        height: 16px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .section-4__spec-text,
    .section-4__spec-text_w196,
    .section-4__spec-text_w260,
    .section-4__spec-text_w210,
    .section-4__spec-text_w265,
    .section-4__spec-text_w219,
    .section-4__spec-text_w270,
    .section-4__spec-text_w169 {
        width: 100%;
        min-height: 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-4__markets {
        width: 100%;
        min-height: 0;
        margin: 16px 0 0 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-4__markets + .section-4__markets {
        margin-top: 0;
    }

    .section-4__video-wrap {
        width: 287px;
        max-width: 100%;
        margin: 24px auto 0;
    }

    .section-4__video {
        width: 100%;
        height: 188px;
        object-fit: cover;
    }

    .section-5 {
        width: 327px;
        max-width: calc(100% - 48px);
        height: auto;
        margin: 48px auto 0;
        padding: 16px;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .section-5__title-1,
    .section-5__title-2,
    .section-5__label,
    .section-5__intro,
    .section-5__iscc-title,
    .section-5__iscc-desc,
    .section-5__validity,
    .section-5__gmp-title {
        position: static;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .section-5__title-1,
    .section-5__title-2 {
        display: block;
        font-size: 48px;
        line-height: 1;
        text-align: center;
    }

    .section-5__title-2 {
        margin-left: 0;
    }

    .section-5__label {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-5__intro {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-5__line {
        position: static;
        width: 287px;
        max-width: 100%;
        height: 2px;
        margin: 16px auto 0;
        transform: none;
    }

    .section-5__iscc-title {
        margin-top: 44px;
        font-size: 34px;
        line-height: 1;
    }

    .section-5__arrow-btn {
        position: static;
        margin-top: -34px;
        margin-left: auto;
        width: 32px;
        height: 32px;
    }

    .section-5__arrow-btn img {
        width: 16px;
        height: 16px;
    }

    .section-5__iscc-desc {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-5__cert {
        position: static;
        width: 100%;
        max-width: 287px;
        margin: 16px auto 0;
    }

    .section-5__cols {
        position: static;
        width: 100%;
        padding: 0;
        margin-top: 16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-5__col-head,
    .section-5__col_right .section-5__col-head,
    .section-5__list,
    .section-5__col_right .section-5__list {
        width: 100%;
        min-height: 0;
        height: auto;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-5__line_bottom {
        margin-top: 16px;
    }

    .section-5__gmp-title {
        margin-top: 44px;
        font-size: 34px;
        line-height: 1;
    }

    .section-5__gmp-btn {
        position: static;
        margin-top: -34px;
        margin-left: auto;
        width: 32px;
        height: 32px;
        padding: 0;
    }

    .section-5__gmp-btn img {
        width: 16px;
        height: 16px;
    }

    .section-5__title-1 { order: 1; }
    .section-5__title-2 { order: 2; }
    .section-5__label { order: 3; }
    .section-5__intro { order: 4; }
    .section-5__line { order: 5; }
    .section-5__iscc-title { order: 6; }
    .section-5__arrow-btn { order: 7; }
    .section-5__iscc-desc { order: 8; }
    .section-5__cert { order: 9; }
    .section-5__validity { order: 10; margin-top: 12px; }
    .section-5__cols { order: 11; }
    .section-5__line_bottom { order: 12; }
    .section-5__gmp-title { order: 13; }
    .section-5__gmp-btn { order: 14; }

    .section-6 {
        width: 327px;
        max-width: calc(100% - 48px);
        margin: 48px auto 0;
        min-height: 0;
        position: relative;
        padding: 0;
    }

    .section-6__title,
    .section-6__label,
    .section-6__img,
    .section-6__list {
        position: static;
        width: 100%;
        margin: 0;
    }

    .section-6__title {
        font-size: 34px;
        line-height: 1;
        min-height: 0;
        margin-bottom: 10px;
    }

    .section-6__label {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .section-6__img {
        display: block;
        width: 327px;
        max-width: 100%;
        height: 178px;
        object-fit: cover;
        margin-bottom: 16px;
    }

    .section-6__list {
        display: block;
        top: auto;
        left: auto;
        right: auto;
    }

    .section-6__list-col {
        gap: 24px;
    }

    .section-6__item {
        width: 100%;
    }

    .section-6__item-row {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .section-6__item_gap326 .section-6__item-row,
    .section-6__item_gap409 .section-6__item-row,
    .section-6__item_gap327 .section-6__item-row,
    .section-6__item_gap316 .section-6__item-row,
    .section-6__item_gap302 .section-6__item-row,
    .section-6__item_gap194 .section-6__item-row,
    .section-6__item_gap180 .section-6__item-row,
    .section-6__item_gap414 .section-6__item-row,
    .section-6__item_gap104 .section-6__item-row {
        gap: 0;
    }

    .section-6__item-text {
        flex: 1 1 auto;
        margin-right: 10px;
        font-size: 24px;
        line-height: 1;
    }

    .section-6__item-text_w342,
    .section-6__item-text_w259,
    .section-6__item-text_w341,
    .section-6__item-text_w352,
    .section-6__item-text_w329,
    .section-6__item-text_w437,
    .section-6__item-text_w451,
    .section-6__item-text_w217,
    .section-6__item-text_w527 {
        width: auto;
    }

    .section-6__item-trigger {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .section-6__item-icon,
    .section-6__item-icon img {
        width: 16px;
        height: 16px;
    }

    .section-6__item-extra,
    .section-6__item-extra_549 {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-6__item-extra-p,
    .section-6__item-extra-list {
        font-size: 16px;
        line-height: 1.2;
    }

    .section-7 {
        width: 327px;
        max-width: calc(100% - 48px);
        margin: 48px auto 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .section-7__left,
    .section-7__right {
        width: 100%;
        min-width: 0;
    }

    .section-7__left {
        display: contents;
    }

    .section-7__title {
        width: 100%;
        min-height: 0;
        font-size: 34px;
        line-height: 1;
        order: 1;
    }

    .section-7__text {
        width: 100%;
        min-height: 0;
        margin-top: 16px;
        order: 2;
    }

    .section-7__p {
        margin: 0 0 16px 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-7__capacity-title {
        margin: 16px 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-7__right {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .section-7__block {
        width: 327px;
        max-width: 100%;
        height: 329px;
        min-height: 329px;
        padding: 0;
        background: #F1F1F1;
        position: relative;
    }

    .section-7__block-title,
    .section-7__block-title_w124,
    .section-7__block-title_w148,
    .section-7__block-title_w219 {
        position: absolute;
        top: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: auto;
        margin: 0;
        font-size: 20px;
        line-height: 1.1;
    }

    .section-7__block-desc,
    .section-7__block-desc_h55,
    .section-7__block-desc_w370 {
        position: absolute;
        top: 74px;
        left: 20px;
        width: calc(100% - 40px);
        min-height: 0;
        margin: 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-7__block-img {
        position: absolute;
        top: 157px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 287px;
        max-width: calc(100% - 40px);
        height: 150px;
        object-fit: cover;
    }

    .section-7__buttons {
        width: 100%;
        margin-top: 36px;
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .section-7__btn_primary {
        width: 327px;
        max-width: 100%;
        height: 55px;
        font-size: 16px;
        line-height: 1;
    }

    .section-7__btn_secondary {
        width: fit-content;
        height: auto;
        min-height: 32px;
        padding-right: 0;
        font-size: 16px;
        line-height: 1;
    }

    .section-7__btn-icon {
        width: 24px;
        height: 24px;
    }

    .section-8 {
        width: 327px;
        max-width: calc(100% - 48px);
        margin: 48px auto 0;
        display: block;
        gap: 0;
    }

    .section-8__content,
    .section-8__image {
        width: 100%;
        margin: 0;
    }

    .section-8__label {
        font-size: 16px;
        line-height: 1.2;
        margin: 0 0 12px 0;
    }

    .section-8__title {
        width: 327px;
        max-width: 100%;
        min-height: 136px;
        margin: 0 0 24px 0;
        font-size: 34px;
        line-height: 1;
    }

    .section-8__logos {
        width: 100vw;
        max-width: none;
        height: 80px;
        margin-left: calc(50% - 50vw);
    }

    .section-8__logo_buderus { width: 208px; height: 40px; }
    .section-8__logo_gea { width: 126px; height: 40px; }
    .section-8__logo_piller { width: 102px; height: 80px; }
    .section-8__logo_van { width: 149px; height: 80px; }
    .section-8__logo_swis { width: 159px; height: 40px; }

    .footer {
        width: 100vw;
        max-width: none;
        height: 524px;
        margin: 48px auto 0;
        margin-left: calc(50% - 50vw);
        padding: 20px 20px 84px;
        position: relative;
    }

    .footer__slogan,
    .footer__label,
    .footer__form,
    .footer__submit,
    .footer__strip,
    .footer__header {
        position: static;
        width: 100%;
        transform: none;
    }

    .footer__slogan {
        width: 250px;
        max-width: 100%;
        min-height: 84px;
        margin: 0;
        font-size: 24px;
        line-height: 1;
    }

    .footer__label {
        margin: 16px 0 24px 0;
        font-size: 16px;
        line-height: 1;
    }

    .footer__form {
        margin: 0;
    }

    .footer__field {
        margin-bottom: 16px;
    }

    .footer__line {
        width: 100%;
    }

    .footer__input {
        font-size: 16px;
        line-height: 1.2;
        padding-bottom: 8px;
    }

    .footer__submit {
        display: block;
        margin: 24px 0 0;
        width: 100%;
        height: 55px;
        font-size: 16px;
        line-height: 1;
    }

    .footer__form-message {
        position: static;
        width: 100%;
        margin: 12px 0 0;
        font-size: 14px;
        line-height: 1.3;
    }

    .footer__strip {
        height: 1px;
        margin: 24px 0 16px;
        background: rgba(255, 255, 255, 0.5);
    }

    .footer__header {
        height: 44px;
        max-width: 100%;
        padding: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 80px;
    }

    .footer__header-logo img {
        width: 118px;
        height: 64px;
    }

    .footer__header-nav,
    .footer__header-lang {
        display: none;
    }

    .footer__menu-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 0;
        background: #FD780F;
        flex-shrink: 0;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 9999;
    }

    .mobile-menu.is-open {
        display: block;
    }

    .mobile-menu__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .mobile-menu__panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(82vw, 320px);
        height: 100%;
        background: #1B1F26;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu__close {
        align-self: flex-end;
        width: 44px;
        height: 44px;
        border: none;
        background: #FD780F;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-menu__close-icon {
        display: block;
        width: 24px;
        height: 24px;
    }

    .mobile-menu__nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu__link {
        color: #fff;
        text-decoration: none;
        font-family: 'Mazzard M', sans-serif;
        font-size: 16px;
        line-height: 1.2;
    }

    .mobile-menu__lang {
        margin-top: auto;
        display: flex;
        gap: 0;
    }
}

/* Dynamic products block driven by WP admin */
.section-2.section-2_products-dynamic {
    height: auto;
    margin: 64px auto 0;
    padding: 0 37px 0;
    box-sizing: border-box;
}

/* Заголовок секції — окремий блок, не перетинається з продуктами (01, назва, картинка) */
.section-2-products__header.section-2__header {
    position: relative;
    display: block;
    min-height: 174px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-2.section-2_products-dynamic .section-2-products__header .section-2__label,
.section-2.section-2_products-dynamic .section-2-products__header .section-2__title {
    position: absolute;
    top: 48px;
}

.section-2.section-2_products-dynamic .section-2-products__header .section-2__label {
    left: 37px;
}

.section-2.section-2_products-dynamic .section-2-products__header .section-2__title {
    right: 275px;
    left: auto;
    max-width: 396px;
    margin: 0;
}

.section-2.section-2_products-dynamic .section-2-products__header .section-2__line {
    position: absolute;
    top: 172px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: calc(100vw - 74px);
    margin: 0;
}

.section-2-products {
    margin-top: 0;
    padding-top: 0;
    border-top: 2px solid #FFFFFF;
}

.section-2-products__empty {
    font-family: 'Mazzard M', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    padding: 32px 0;
    margin: 0;
}

/* Кожен блок продукту — як в index.html: зліва 01, заголовок, фото, кнопка; справа опис; кнопка «згорнути» — праворуч вгорі */
.section-2-products__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 549px;
    grid-template-rows: auto;
    gap: 0 40px;
    align-items: start;
    padding: 48px 0 40px;
    padding-right: 37px;
    border-bottom: 2px solid #FFFFFF;
    box-sizing: border-box;
}

.section-2-products__item:last-child {
    border-bottom: 0;
}

/* Згорнутий блок: приховуємо опис, фото, завантаження; стрілка — сіра */
.section-2-products__item_collapsed .section-2-products__desc.section-2__desc,
.section-2-products__item_collapsed .section-2__product-img,
.section-2-products__item_collapsed .section-2__download {
    display: none;
}

.section-2-products__item_collapsed {
    padding: 48px 0 24px;
}

/* Кнопка «згорнути» — праворуч вгорі; відкритий блок — помаранчева, згорнутий — біла */
.section-2-products__item .section-2-products__toggle-btn {
    position: absolute;
    top: 48px;
    right: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    grid-column: unset;
    grid-row: unset;
    background: #FD780F;
}

.section-2-products__item_collapsed .section-2-products__toggle-btn {
    background: #FFFFFF;
}

.section-2-products__item .section-2-products__left {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.section-2-products__item .section-2-products__desc.section-2__desc {
    position: static;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 0;
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    margin-right: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: #FFFFFF;
}

.section-2-products__item:not(:first-child) .section-2-products__desc.section-2__desc {
    margin-top: 0;
}

.section-2-products__item .section-2-products__desc.section-2__desc p {
    margin: 0 0 1em 0;
}

.section-2-products__item .section-2-products__desc.section-2__desc p:last-child {
    margin-bottom: 0;
}

/* Ліва частина: 01 і заголовок в один ряд, під ними фото, під фото — «Скачати специфікацію» (як в index.html) */
.section-2-products__item .section-2-products__product.section-2__product {
    position: static;
    padding-left: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 35px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 20px;
    align-items: start;
    max-width: 586px;
}

.section-2-products__item .section-2-products__product .section-2__num {
    position: static;
    width: auto;
    height: auto;
    grid-column: 1;
    grid-row: 1;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    color: #FFFFFF;
}

.section-2-products__item .section-2-products__product .section-2__product-title {
    position: static;
    width: auto;
    min-height: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    padding: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1;
    color: #FFFFFF;
}

.section-2-products__item .section-2-products__product .section-2__product-img {
    position: static;
    grid-column: 2;
    width: 100%;
    max-width: 586px;
    height: auto;
    min-height: 0;
    object-fit: cover;
    margin-top: 32px;
}

.section-2-products__item .section-2-products__product .section-2__download {
    position: static;
    grid-column: 2;
    margin-top: 24px;
}

/* Лінія між блоками — у потоці, без absolute і без негативного margin */
.section-2-products__line-between {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    grid-column: 1 / -1;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    margin: 0;
}

@media (max-width: 767px) {
    .section-2.section-2_products-dynamic {
        width: 327px;
        max-width: calc(100% - 48px);
        margin: 48px auto 0;
        padding: 20px;
        position: relative;
    }

    .section-2.section-2_products-dynamic .section-2-products__header.section-2__header {
        min-height: 0;
        padding-bottom: 0;
        position: relative;
    }

    .section-2.section-2_products-dynamic .section-2-products__header .section-2__label,
    .section-2.section-2_products-dynamic .section-2-products__header .section-2__title {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 287px;
    }

    .section-2.section-2_products-dynamic .section-2-products__header .section-2__label {
        display: block;
        margin: 0 0 8px 0;
        font-size: 16px;
        line-height: 19px;
    }

    .section-2.section-2_products-dynamic .section-2-products__header .section-2__title {
        margin: 0 0 16px 0;
        font-size: 24px;
        line-height: 1.15;
    }

    .section-2.section-2_products-dynamic .section-2-products__header .section-2__line {
        position: static;
        transform: none;
        width: 287px;
        max-width: calc(100% - 40px);
        margin: 0 auto 0 0;
    }

    .section-2-products {
        margin-top: 0;
        padding-top: 24px;
    }

    .section-2-products__item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding: 24px 0 28px;
        padding-right: 20px;
    }

    .section-2-products__item .section-2-products__toggle-btn {
        top: 24px;
        right: 0;
        width: 32px;
        height: 32px;
    }

    .section-2-products__item .section-2-products__left {
        grid-column: 1;
        grid-row: 1;
    }

    .section-2-products__item .section-2-products__desc.section-2__desc {
        grid-column: 1;
        grid-row: 2;
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-2-products__item .section-2-products__product.section-2__product {
        max-width: 100%;
    }

    .section-2-products__item .section-2-products__product .section-2__num {
        font-size: 24px;
    }

    .section-2-products__item .section-2-products__product .section-2__product-title {
        font-size: 34px;
    }

    .section-2-products__item .section-2-products__product .section-2__product-img {
        max-width: 287px;
        width: 100%;
    }

    .section-2-products__line-between {
        margin: 0;
    }
}

/* Dynamic international standards block */
.section-5.section-5_standards-dynamic {
    height: auto;
    padding: 0 0 37px;
    box-sizing: border-box;
}

.section-5_standards-dynamic .section-5__title-1,
.section-5_standards-dynamic .section-5__title-2,
.section-5_standards-dynamic .section-5__label,
.section-5_standards-dynamic .section-5__intro {
    /* Keep original desktop positioning from base .section-5 styles */
    position: absolute;
}

/* Інтро не налазить на заголовок — обмежуємо ширину */
.section-5_standards-dynamic .section-5__intro {
    max-width: calc(100% - 420px);
    width: 671px;
    height: auto;
}

/* Прибрано border-top (лінію вище section-5__line); section-5__line залишається */
.section-5-standards {
    margin: 197px 37px 0;
    padding: 0;
    border-top: none;
}

/* Перший блок — як у index.html: текст зліва, сертифікат справа, без накладання */
.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__summary {
    position: absolute;
    top: 245px;
    left: 37px;
    right: 553px;
    min-height: 0;
    grid-template-columns: 1fr;
}

/* Стрілка — як у index.html (top 247px, right 37px); summary має position:absolute, тому top:2px, right:-516px відносно summary */
.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__toggle.section-5__arrow-btn {
    position: absolute;
    top: 2px;
    right: -516px;
    left: auto;
    cursor: pointer;
}

.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__content {
    position: static;
    display: block;
    padding: 0;
}

.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__desc.section-5__iscc-desc {
    position: absolute;
    top: 310px;
    left: 37px;
    width: 549px;
    max-width: calc(100% - 560px);
    margin: 0;
}

.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__cols.section-5__cols {
    position: absolute;
    top: 421px;
    left: 37px;
    right: 553px;
    width: auto;
    padding: 0;
    box-sizing: border-box;
}

.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__cert.section-5__cert {
    position: absolute;
    top: 310px;
    right: 209px;
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
    z-index: 1;
}

.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__download {
    position: absolute;
    top: 520px;
    left: 37px;
}

.section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__validity {
    position: absolute;
    bottom: 24px;
    left: 37px;
    width: auto;
    text-align: left;
}

.section-5_standards-dynamic .section-5-standards__item:first-child {
    position: relative;
    min-height: 780px;
}

/* Згорнутий стан — як у index.html (section-5_collapsed): контент приховано, заголовок на місці */
.section-5_standards-dynamic .section-5-standards__item:first-child:not([open]) {
    min-height: 332px;
}

.section-5_standards-dynamic .section-5-standards__item:first-child:not([open]) .section-5-standards__content {
    display: none;
}

.section-5_standards-dynamic .section-5-standards__item:first-child:not([open]) .section-5-standards__toggle.section-5__arrow-btn {
    background: #F1F1F1;
    border: 1px solid #1B1F26;
}

/* 2-й блок і далі — не налазають на 1-й */
.section-5_standards-dynamic .section-5-standards__item:not(:first-child) {
    margin-top: 0;
    padding-top: 24px;
}

/* Кожен блок як ISCC EU / GMP: заголовок + кнопка згорнути, контент — опис, 2 колонки, фото */
.section-5-standards__item.section-5-standards__item_block {
    border-bottom: 2px solid #FD780F;
}

.section-5-standards__item.section-5-standards__item_block:last-child {
    border-bottom: 0;
}

.section-5-standards__summary {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: center;
    gap: 16px;
    min-height: 86px;
    cursor: pointer;
    padding: 0;
}

.section-5-standards__summary::-webkit-details-marker {
    display: none;
}

.section-5-standards__item-title.section-5__iscc-title {
    position: static;
    margin: 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.1;
    color: #1B1F26;
}

.section-5-standards__toggle.section-5__arrow-btn {
    position: static;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font: inherit;
    background: #FD780F;
    border: none;
    cursor: pointer;
}

.section-5-standards__item_block:not([open]) .section-5-standards__toggle.section-5__arrow-btn {
    background: #F1F1F1;
    border: 1px solid #1B1F26;
}

.section-5-standards__toggle .section-5-standards__icon-open {
    display: none;
}

.section-5-standards__toggle .section-5-standards__icon-closed {
    display: block;
}

.section-5-standards__item_block[open] .section-5-standards__toggle .section-5-standards__icon-open {
    display: block;
}

.section-5-standards__item_block[open] .section-5-standards__toggle .section-5-standards__icon-closed {
    display: none;
}

.section-5-standards__content {
    padding: 24px 0 32px;
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: auto auto auto;
    gap: 24px 24px;
    align-items: start;
}

.section-5-standards__desc.section-5__iscc-desc {
    position: static;
    grid-column: 1;
    width: auto;
    max-width: 549px;
    height: auto;
    min-height: 0;
    margin: 0 0 16px 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.25;
    color: #1B1F26;
}

.section-5-standards__cols.section-5__cols {
    position: static;
    grid-column: 1;
    display: grid;
    grid-template-columns: 342px 1fr;
    gap: 24px;
    width: auto;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.section-5-standards__cols .section-5__col-head {
    width: auto;
    max-width: 305px;
    height: auto;
    margin: 0 0 24px 0;
}

.section-5-standards__cols .section-5__list {
    width: auto;
    min-height: 0;
}

.section-5-standards__cert.section-5__cert {
    position: static;
    grid-column: 2;
    grid-row: 1 / 4;
    justify-self: end;
    max-width: 320px;
    height: auto;
}

/* 2-й, 3-й блоки — той самий відступ справа для сертифіката, як у 1-го (right: 209px) */
.section-5_standards-dynamic .section-5-standards__item:not(:first-child) .section-5-standards__cert.section-5__cert {
    margin-right: 172px;
}

.section-5-standards__download {
    grid-column: 1;
    margin-top: 0;
    color: #1B1F26;
}

.section-5-standards__download .section-2__download-text {
    border-bottom-color: #1B1F26;
}

.section-5-standards__validity {
    grid-column: 1;
    margin: 16px 0 0 0;
    font-family: 'Mazzard M', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    color: #1B1F26;
}

@media (max-width: 767px) {
    .section-5.section-5_standards-dynamic {
        width: 327px;
        max-width: calc(100% - 48px);
        margin: 48px auto 0;
        padding: 16px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    /* Заголовки — як у index.html: static, по центру, правильні відступи */
    .section-5_standards-dynamic .section-5__title-1,
    .section-5_standards-dynamic .section-5__title-2,
    .section-5_standards-dynamic .section-5__label,
    .section-5_standards-dynamic .section-5__intro {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .section-5_standards-dynamic .section-5__title-1 {
        display: block;
        font-family: 'Mazzard M', sans-serif;
        font-weight: 500;
        font-size: 48px;
        line-height: 1;
        text-align: center;
        color: #1B1F26;
        order: 1;
    }

    .section-5_standards-dynamic .section-5__title-2 {
        display: block;
        font-family: 'Mazzard M', sans-serif;
        font-weight: 500;
        font-size: 48px;
        line-height: 1;
        text-align: center;
        color: #1B1F26;
        margin-left: 0;
        order: 2;
    }

    .section-5_standards-dynamic .section-5__label {
        margin-top: 12px !important;
        font-family: 'Mazzard M', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.2;
        color: #FD780F;
        order: 3;
    }

    .section-5_standards-dynamic .section-5__intro {
        margin-top: 12px !important;
        font-family: 'Mazzard M', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.2;
        color: #1B1F26;
        order: 4;
    }

    .section-5_standards-dynamic .section-5__line {
        position: static !important;
        width: 287px;
        max-width: 100%;
        height: 2px;
        margin: 16px auto 0 !important;
        transform: none;
        order: 5;
    }

    .section-5-standards {
        margin: 0 !important;
        margin-top: 0 !important;
        padding-top: 24px !important;
        order: 6;
    }

    /* Мобільна: всі блоки — звичайний flow, без absolute (як index.html) */
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__summary,
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__toggle.section-5__arrow-btn,
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__desc.section-5__iscc-desc,
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__cols.section-5__cols,
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__cert.section-5__cert,
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__download,
    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__validity,
    .section-5_standards-dynamic .section-5-standards__item .section-5-standards__desc.section-5__iscc-desc,
    .section-5_standards-dynamic .section-5-standards__item .section-5-standards__cols.section-5__cols,
    .section-5_standards-dynamic .section-5-standards__item .section-5-standards__cert.section-5__cert,
    .section-5_standards-dynamic .section-5-standards__item .section-5-standards__validity {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__toggle.section-5__arrow-btn {
        margin-left: auto;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
        flex-shrink: 0;
        box-sizing: border-box;
        padding: 0;
    }

    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__summary {
        grid-template-columns: 1fr 32px;
        position: static;
    }

    .section-5_standards-dynamic .section-5-standards__item:first-child .section-5-standards__content {
        display: block;
        padding: 16px 0 24px;
        position: static;
    }

    .section-5_standards-dynamic .section-5-standards__item:first-child {
        min-height: 0;
    }

    .section-5_standards-dynamic .section-5-standards__item:first-child:not([open]) {
        min-height: 0;
    }

    .section-5-standards__summary {
        grid-template-columns: 1fr 32px;
        min-height: 64px;
    }

    .section-5-standards__item-title.section-5__iscc-title {
        font-size: 24px;
        line-height: 1.1;
    }

    .section-5-standards__toggle.section-5__arrow-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
        flex-shrink: 0;
    }

    .section-5-standards__toggle .section-5-standards__icon-open,
    .section-5-standards__toggle .section-5-standards__icon-closed {
        width: 16px !important;
        height: 16px !important;
    }

    .section-5-standards__content {
        display: block;
        grid-template-columns: 1fr;
        padding: 16px 0 24px;
    }

    .section-5-standards__desc.section-5__iscc-desc {
        font-size: 16px;
        line-height: 1.2;
        margin: 0 0 16px 0;
    }

    .section-5-standards__cols.section-5__cols {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 0 16px 0;
        padding: 0;
    }

    .section-5-standards__cols .section-5__col-head,
    .section-5-standards__cols .section-5__col_right .section-5__col-head,
    .section-5-standards__cols .section-5__list,
    .section-5-standards__cols .section-5__col_right .section-5__list {
        width: 100%;
        font-size: 16px;
        line-height: 1.2;
    }

    .section-5-standards__cert.section-5__cert {
        display: block;
        width: 100%;
        max-width: 287px;
        margin: 0 auto 16px 0;
    }

    .section-5-standards__cert.section-5__cert[hidden] {
        display: none !important;
    }

    .section-5_standards-dynamic .section-5-standards__item:not(:first-child) .section-5-standards__cert.section-5__cert {
        margin-right: auto;
    }

    .section-5-standards__download {
        margin-top: 0;
    }

    .section-5-standards__validity {
        margin: 12px 0 0 0;
        font-size: 14px;
    }
}
