:root {
    color-scheme: light;
    --ink: #18201c;
    --muted: #5f6862;
    --line: #dfe5df;
    --paper: #ffffff;
    --soft: #f5f6f2;
    --deep: #142019;
    --green: #78b82a;
    --green-dark: #4f7f16;
    --blue: #2b3f47;
    --shadow: 0 18px 52px rgba(20, 32, 25, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--soft);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 16px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(220, 228, 221, 0.9);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--deep);
    border-bottom: 5px solid var(--green);
    font-weight: 750;
    letter-spacing: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 16px;
    line-height: 1.1;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8faf7;
}

.nav a {
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
    color: var(--ink);
    background: #ffffff;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--deep);
    font-weight: 750;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(24, 35, 27, 0.18);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(28px, 5vw, 74px);
    align-items: center;
    padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 72px) clamp(38px, 5vw, 60px);
    background: #f6f7f4;
    border-bottom: 1px solid var(--line);
}

.hero__content {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 680px;
    margin-bottom: 20px;
    font-size: clamp(38px, 4.7vw, 60px);
    font-weight: 760;
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 740;
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.2;
}

.hero__lead {
    max-width: 620px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 20px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 750;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #ffffff;
    background: var(--deep);
    box-shadow: 0 18px 42px rgba(24, 35, 27, 0.2);
}

.button--primary:hover {
    background: #243529;
}

.button--secondary {
    color: var(--deep);
    background: #ffffff;
    border: 1px solid var(--line);
}

.button--secondary:hover {
    box-shadow: 0 14px 34px rgba(17, 23, 18, 0.1);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 0;
}

.facts div {
    min-height: 90px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.facts dt {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.facts dd {
    margin: 0;
    font-weight: 750;
    line-height: 1.25;
}

.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 100%;
}

.partner-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 420px);
    padding: 26px;
    border-radius: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 5px solid var(--green);
    box-shadow: var(--shadow);
}

.partner-panel img {
    width: min(100%, 320px);
    margin: 0 auto 22px;
    border-radius: 6px;
    background: #000000;
}

.partner-panel p {
    padding-left: 16px;
    margin: 0;
    border-left: 3px solid var(--green);
    color: var(--muted);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.55;
}

.section {
    padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section__intro {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.5fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

.section__intro h2 {
    margin-bottom: 0;
}

.section__intro::after {
    content: "";
    height: 3px;
    width: 100%;
    background: var(--green);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: center;
    background: var(--deep);
    color: #ffffff;
}

.parts-media {
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #ffffff;
}

.parts-media img {
    width: 100%;
    border-radius: 6px;
    background: #000000;
}

.parts-copy .eyebrow {
    color: var(--green);
}

.parts-copy p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
}

.parts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.parts-list span {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 800;
}

.process-section {
    background: #ffffff;
}

.process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.process article {
    min-height: 190px;
    padding: 24px;
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: var(--soft);
}

.process strong {
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
}

.process p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
    gap: clamp(26px, 5vw, 74px);
    align-items: center;
    padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
    color: #ffffff;
    background: var(--blue);
}

.contact-section h2 {
    margin-bottom: 14px;
}

.contact-section p {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 19px;
}

.contact-section .eyebrow {
    color: #b9ef75;
}

.contact-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    font-style: normal;
    font-weight: 800;
}

.contact-card a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 5px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(20px, 5vw, 72px);
    color: rgba(255, 255, 255, 0.72);
    background: #101411;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .site-header {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        justify-content: flex-start;
        min-height: 0;
    }

}

@media (max-width: 760px) {
    .site-header {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
    }

    .brand {
        min-width: 0;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .brand strong {
        font-size: 15px;
    }

    .header-phone {
        width: auto;
        min-height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    .nav {
        grid-column: 1 / -1;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .hero {
        padding: 28px 16px 24px;
    }

    .hero__content {
        min-width: 0;
    }

    h1 {
        font-size: 40px;
        line-height: 1.04;
    }

    h2 {
        font-size: 32px;
    }

    .hero__lead {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .button {
        width: 100%;
    }

    .section__intro,
    .split-section,
    .process,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 100%;
    }

    .facts div {
        min-width: 0;
        min-height: auto;
        padding: 14px;
    }

    .facts div:nth-child(n + 2) {
        display: none;
    }

    .hero__visual {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-top: 16px;
    }

    .partner-panel {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }

    .partner-panel img {
        flex: 0 0 132px;
        width: 132px;
        margin: 0;
    }

    .partner-panel p {
        font-size: 13px;
        line-height: 1.35;
    }

    .section,
    .contact-section {
        padding: 54px 16px;
    }

    .section__intro::after {
        width: 88px;
    }

    .process article {
        min-height: auto;
    }

    .footer {
        flex-direction: column;
        padding: 22px 16px;
    }
}
