:root {
    --forest: #12342B;
    --ink: #182522;
    --paper: #F8FAF7;
    --white: #fff;
    --accent: #FFC857;
    --accent-hover: #F2B83F;
    --muted: #51635B;
    --link: #1A674F;
    --field-border: #75877E;
    --soft: #EAF1EC;
    --container: 1200px;
    --radius: 12px;
    --header-height: 72px
}

* {
    box-sizing: border-box
}

html {
    scroll-padding-top: 24px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 18px/1.6 'Segoe UI', Arial, sans-serif
}

img {
    max-width: 100%;
    display: block
}

a {
    color: var(--link);
    text-underline-offset: 5px
}

a:hover {
    text-decoration-thickness: 2px
}

button,
input,
textarea {
    font: inherit
}

button,
a,
input,
textarea,
summary {
    touch-action: manipulation
}

button {
    cursor: pointer
}

button:disabled {
    cursor: wait
}

button,
.button {
    transition: background .15s
}

h1,
h2,
h3,
p {
    margin: 0 0 20px
}

h1,
h2,
h3 {
    line-height: 1.14;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(40px, 4vw, 52px);
    max-width: 950px
}

h2 {
    font-size: clamp(30px, 3vw, 40px);
    max-width: 830px
}

h3 {
    font-size: 24px
}

p {
    max-width: 72ch
}

ul,
ol {
    padding-left: 24px
}

li {
    margin-bottom: 12px
}

strong {
    font-weight: 650
}

[hidden] {
    display: none !important
}

:focus-visible {
    outline: 3px solid var(--link);
    outline-offset: 5px
}

.hero :focus-visible,
.contact-section :focus-visible {
    outline-color: var(--accent)
}

.wrap {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding-inline: 40px
}

.section {
    padding-block: 80px
}

.eyebrow {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 24px
}

.muted,
.small {
    color: var(--muted)
}

.small {
    font-size: 14px
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--accent);
    border: 1px solid var(--forest);
    border-radius: 6px;
    color: var(--forest);
    font-size: 16px;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    line-height: 1.35
}

.button:hover {
    background: var(--accent-hover)
}

.button.secondary {
    background: transparent;
    color: var(--forest);
    border-color: var(--field-border)
}

.actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px
}

.skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 20;
    background: white;
    padding: 12px
}

.skip:focus {
    top: 10px
}

.pinned-header .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    box-shadow: 0 2px 14px rgb(18 52 43 / 9%);
}

html {
    scroll-padding-top: calc(var(--pinned-height, 72px) + 20px);
    scroll-padding-bottom: calc(var(--cookie-height, 0px) + 24px);
}

body {
    padding-bottom: var(--cookie-height, 0px);
}

html .first-screen {
    min-block-size: calc(100svh - var(--cookie-height, 0px));
}

html .cookie-panel {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    box-shadow: 0 -6px 30px rgb(18 52 43 / 14%);
    max-height: 45svh;
    overflow-y: auto;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: calc(var(--cookie-height, 0px) + 20px);
    z-index: 55;
    width: 48px;
    height: 48px;
    border: 1px solid #12342b;
    border-radius: 50%;
    background: #ffce59;
    color: #12342b;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 3px 14px rgb(18 52 43 / 18%);
}

@media (max-width: 650px) {
    html .cookie-panel {
        padding: 12px 0;
    }

    html .cookie-panel p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    html .cookie-panel .actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    html .cookie-panel .button {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 8px;
        font-size: 13px;
    }

    html .cookie-panel .actions>a {
        font-size: 13px;
        grid-column: 1 / -1;
    }
}

.site-header {
    background: var(--white);
    position: relative;
    z-index: 5
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    color: var(--forest);
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -1.2px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 44px
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    background: var(--forest);
    color: var(--accent);
    width: 29px;
    height: 29px;
    border-radius: 6px;
    font-size: 22px;
    letter-spacing: -3px;
    padding-right: 3px
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-left: auto
}

.main-nav a {
    color: var(--ink);
    font-size: 15px;
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none
}

.main-nav a:hover {
    text-decoration: underline
}

.header-phone {
    white-space: nowrap;
    font-size: 15px;
    color: var(--ink);
    text-decoration: none
}

.header-inner>.button {
    padding: 10px 16px;
    min-height: 44px
}

.menu-toggle {
    display: none
}

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-block-size: calc(100svh - var(--header-height));
    padding-block: clamp(32px, 5svh, 72px);
    background: var(--forest);
    color: white;
    isolation: isolate
}

.hero picture {
    position: absolute;
    inset: 0;
    z-index: -3
}

.hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(18, 52, 43, .98) 0%, rgba(18, 52, 43, .94) 35%, rgba(18, 52, 43, .70) 56%, rgba(18, 52, 43, .08) 85%)
}

.hero-copy {
    max-width: 640px
}

.hero h1 {
    font-size: clamp(44px, 4vw, 64px);
    line-height: 1.09;
    margin-bottom: 24px
}

.hero .intro {
    font-size: 18px;
    line-height: 1.55;
    max-width: 600px
}

.hero .price {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 600;
    margin: 27px 0 7px;
    max-width: 480px
}

.hero .small {
    color: white
}

.hero a:not(.button) {
    color: white;
    font-size: 16px
}

.hero .eyebrow {
    font-size: 13px;
    letter-spacing: .11em
}

.photo-caption {
    position: absolute;
    right: 40px;
    bottom: 15px;
    font-size: 12px;
    color: white;
    background: rgba(18, 52, 43, .82);
    padding: 2px 9px;
    border-radius: 3px
}

.section-title {
    margin-bottom: 42px
}

.paired {
    border-top: 1px solid #bac8bf
}

.pair {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 55px;
    border-bottom: 1px solid #bac8bf;
    padding: 28px 0
}

.pair h3 {
    font-size: 23px;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -.02em
}

.pair p {
    margin: 0
}

.soft {
    background: var(--soft)
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 64px;
    margin: 36px 0
}

.work-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    padding: 23px 0;
    border-top: 1px solid #bac8bf
}

.work-item .num {
    color: var(--link);
    font-size: 14px;
    padding-top: 4px
}

.work-item h3 {
    font-size: 21px;
    margin: 0 0 9px
}

.work-item p {
    font-size: 17px;
    margin: 0
}

.example-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center
}

.sample {
    background: white;
    border: 1px solid #b4c5b9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 45px #12342b0c
}

.sample-top {
    padding: 14px 24px;
    background: #edf3ee;
    border-bottom: 1px solid #cbd8ce;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.sample-body {
    padding: 28px
}

.sample h3 {
    font-size: 29px;
    max-width: 340px
}

.sample p,
.sample li {
    font-size: 15px;
    line-height: 1.6
}

.sample-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-block: 20px;
    border-top: 1px solid #d4dfd7
}

.sample-grid h4 {
    margin: 0 0 10px;
    font-size: 16px
}

.sample ul {
    margin: 0;
    padding-left: 18px
}

.sample-note {
    background: var(--soft);
    padding: 15px;
    font-size: 14px
}

.annotations {
    list-style: none;
    padding: 0;
    margin: 0 0 25px
}

.annotations li {
    padding: 18px 0;
    border-bottom: 1px solid #bac8bf;
    display: flex;
    gap: 18px
}

.annotations b {
    font-size: 14px;
    color: var(--link)
}

figure {
    margin: 0
}

figcaption {
    font-size: 14px;
    color: var(--muted);
    margin-top: 15px
}

.formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.format {
    padding: 34px;
    border: 1px solid #bdcfc1;
    border-radius: 12px;
    background: var(--white)
}

.format .eyebrow {
    color: var(--link);
    margin-bottom: 24px
}

.format h3 {
    font-size: 30px
}

.format p {
    font-size: 17px
}

.steps {
    counter-reset: steps;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 40px 0
}

.steps li {
    border-top: 2px solid #bac8bf;
    padding-top: 24px;
    margin: 0
}

.steps li:before {
    counter-increment: steps;
    content: '0' counter(steps);
    display: block;
    font-size: 15px;
    color: var(--link);
    margin-bottom: 22px
}

.steps strong {
    display: block;
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 14px
}

.steps p {
    font-size: 16px
}

.faq {
    max-width: 900px
}

details {
    border-bottom: 1px solid #bac8bf;
    padding: 0
}

summary {
    padding: 22px 36px 22px 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 44px
}

details p {
    padding-bottom: 18px;
    font-size: 17px
}

.contact-section {
    background: var(--forest);
    color: white
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px
}

.contact-section a {
    color: white
}

.contact-section .small {
    color: #e0eae4
}

.direct {
    margin-top: 36px
}

.direct a {
    display: inline-block;
    min-height: 44px
}

.lead-form {
    background: var(--white);
    color: var(--ink);
    padding: 30px;
    border-radius: 12px
}

.lead-form a {
    color: var(--link)
}

.field {
    margin-bottom: 18px
}

.field label {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px
}

.optional {
    font-weight: 400;
    color: var(--muted)
}

input:not([type=checkbox]),
textarea {
    width: 100%;
    border: 1px solid var(--field-border);
    border-radius: 5px;
    padding: 10px 12px;
    background: white;
    color: var(--ink);
    font-size: 16px;
    min-height: 48px
}

textarea {
    resize: vertical;
    min-height: 100px
}

.field-hint {
    font-size: 13px;
    color: var(--muted);
    margin: 5px 0 0
}

.check-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    padding-block: 8px;
    min-height: 44px
}

.check-label input {
    margin: 4px 0 0;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--forest)
}

.lead-form .small {
    color: var(--muted);
    font-size: 13px
}

.lead-form .button {
    width: 100%;
    margin-top: 16px
}

.form-status {
    font-size: 14px;
    margin: 18px 0 0
}

.error {
    color: #a52825;
    font-size: 14px;
    margin: 5px 0 0
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.site-footer {
    background: var(--paper);
    padding: 52px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.footer-links a,
.cookie-settings {
    min-height: 44px;
    padding: 8px 0;
    font-size: 15px
}

.cookie-settings {
    border: 0;
    background: transparent;
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-align: left
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid #cbd8ce;
    font-size: 13px;
    color: var(--muted)
}

.breadcrumbs {
    padding-top: 30px;
    font-size: 14px;
    margin-bottom: 35px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.page-intro {
    padding-bottom: 46px;
    border-bottom: 1px solid #cbd8ce
}

.page-intro .lead {
    font-size: 21px;
    max-width: 70ch;
    margin-top: 25px
}

.page-content {
    max-width: 850px;
    padding-block: 48px 72px
}

.page-content h2 {
    font-size: 30px;
    margin-top: 46px;
    margin-bottom: 22px
}

.page-content h2:first-child {
    margin-top: 0
}

.page-content h3 {
    font-size: 24px;
    margin-top: 28px
}

.page-content p {
    margin-bottom: 22px
}

.page-content .sample {
    max-width: 620px;
    margin: 32px 0
}

.related {
    border-top: 1px solid #cbd8ce;
    padding-top: 28px;
    margin-top: 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px
}

.related a {
    min-height: 44px
}

.table-wrap {
    overflow: auto;
    margin-block: 25px
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 17px
}

th,
td {
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #bccdc1;
    padding: 17px 14px
}

th {
    background: var(--soft)
}

.notice {
    border-left: 3px solid var(--link);
    background: var(--soft);
    padding: 18px 22px;
    margin-bottom: 28px
}

.cookie-panel {
    position: relative;
    border-top: 1px solid #bac8bf;
    background: white;
    padding: 20px 0
}

.cookie-panel p {
    font-size: 15px;
    max-width: 80ch;
    margin-bottom: 14px
}

.cookie-panel .actions {
    margin: 0;
    gap: 14px
}

.cookie-panel .button {
    background: white;
    min-width: 175px
}

.cookie-panel .button:hover {
    background: var(--soft)
}

.cookie-feedback {
    font-size: 14px
}

.requisites {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 0;
    margin: 25px 0
}

.requisites dt,
.requisites dd {
    padding: 15px 0;
    border-bottom: 1px solid #cbd8ce;
    margin: 0;
    overflow-wrap: anywhere
}

.requisites dt {
    color: var(--muted);
    font-size: 15px
}

@media(min-width:1800px) {
    .hero:before {
        background: linear-gradient(90deg, rgba(18, 52, 43, .98), rgba(18, 52, 43, .93) 42%, rgba(18, 52, 43, .62) 60%, rgba(18, 52, 43, .05) 87%)
    }
}

@media(max-width:1190px) {
    .header-inner {
        gap: 18px
    }

    .main-nav {
        gap: 18px
    }

    .header-phone {
        display: none
    }

    .wrap {
        padding-inline: 24px
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }

    .hero-copy {
        max-width: 620px
    }
}

@media(max-width:800px) {
    :root {
        --header-height: 64px
    }

    .wrap {
        padding-inline: 20px
    }

    .header-inner {
        justify-content: space-between
    }

    .header-inner>.button {
        display: none
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        background: transparent;
        border: 1px solid var(--field-border);
        border-radius: 5px;
        padding: 8px 13px;
        color: var(--forest);
        font-size: 15px
    }

    .main-nav {
        margin: 0;
        gap: 0;
        flex-direction: column;
        padding: 14px 20px;
        background: white;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        border-top: 1px solid #cbd8ce;
        box-shadow: 0 15px 25px #12342b16
    }

    .js .main-nav:not(.open) {
        display: none
    }

    .main-nav a {
        padding: 7px 0
    }

    .site-header:has(.main-nav):not(.js *) {
        min-height: 64px
    }

    .section {
        padding-block: 52px
    }

    .hero {
        padding-block: 40px 65px
    }

    .hero-copy {
        max-width: 590px
    }

    .hero:before {
        background: linear-gradient(90deg, rgba(18, 52, 43, .96), rgba(18, 52, 43, .85) 66%, rgba(18, 52, 43, .55))
    }

    .pair {
        gap: 25px;
        grid-template-columns: 1fr 1.2fr
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .contact-grid>div {
        max-width: 650px
    }

    .example-grid {
        gap: 28px;
        grid-template-columns: 1fr
    }

    .work-grid {
        gap: 0 32px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .photo-caption {
        right: 20px
    }

    .page-intro .lead {
        font-size: 19px
    }
}

@media(max-width:540px) {
    body {
        font-size: 16px
    }

    .wrap {
        padding-inline: 18px
    }

    .hero {
        min-block-size: calc(100svh - 64px);
        padding-block: 30px 48px;
        align-items: start
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.12;
        letter-spacing: -.035em;
        margin-bottom: 20px
    }

    .hero .eyebrow {
        font-size: 11px;
        letter-spacing: .07em;
        margin-bottom: 20px
    }

    .hero .intro {
        font-size: 16px;
        line-height: 1.55
    }

    .hero .price {
        font-size: 21px;
        margin-top: 22px
    }

    .hero .small {
        font-size: 13px
    }

    .hero .actions {
        gap: 12px;
        margin-top: 22px;
        align-items: flex-start;
        flex-direction: column
    }

    .hero .actions>a:not(.button) {
        padding-block: 8px
    }

    .hero:before {
        background: linear-gradient(180deg, rgba(18, 52, 43, .97), rgba(18, 52, 43, .94) 55%, rgba(18, 52, 43, .73))
    }

    .hero img {
        object-position: 65% center
    }

    .photo-caption {
        font-size: 10px;
        bottom: 10px
    }

    .section {
        padding-block: 44px
    }

    h1 {
        font-size: 34px
    }

    h2 {
        font-size: 28px
    }

    h3 {
        font-size: 22px
    }

    .section-title {
        margin-bottom: 28px
    }

    .pair {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 23px 0
    }

    .pair h3 {
        font-size: 21px
    }

    .work-grid,
    .formats,
    .steps {
        grid-template-columns: 1fr
    }

    .work-grid {
        margin: 24px 0
    }

    .work-item p {
        font-size: 16px
    }

    .format {
        padding: 26px
    }

    .format h3 {
        font-size: 27px
    }

    .steps {
        gap: 24px;
        margin: 28px 0
    }

    .steps li {
        padding-top: 18px
    }

    .steps li:before {
        margin-bottom: 12px
    }

    .sample-body {
        padding: 21px
    }

    .sample h3 {
        font-size: 25px
    }

    .sample-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .sample-top {
        padding-inline: 21px;
        font-size: 10px
    }

    summary {
        font-size: 18px
    }

    .lead-form {
        padding: 22px 18px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .page-content {
        padding-top: 35px
    }

    .page-content h2 {
        font-size: 27px;
        margin-top: 35px
    }

    .page-intro {
        padding-bottom: 32px
    }

    .page-intro .lead {
        font-size: 18px
    }

    .breadcrumbs {
        font-size: 13px;
        margin-bottom: 25px
    }

    .requisites {
        grid-template-columns: 1fr
    }

    .requisites dt {
        padding-bottom: 0;
        border: 0
    }

    .requisites dd {
        padding-top: 4px
    }

    th,
    td {
        font-size: 15px;
        padding: 13px 9px
    }

    .cookie-panel .actions {
        flex-direction: column;
        align-items: stretch
    }

    .cookie-panel .button {
        width: 100%
    }
}

@media(max-width:350px) {
    .hero h1 {
        font-size: 32px
    }

    .brand {
        font-size: 23px
    }

    .wrap {
        padding-inline: 16px
    }

    .hero .eyebrow {
        font-size: 10px
    }
}

@media(max-height:650px) and (min-width:801px) {
    .hero {
        padding-block: 30px 46px
    }

    .hero h1 {
        font-size: 44px
    }

    .hero .eyebrow {
        margin-bottom: 15px
    }

    .hero .price {
        margin-top: 18px
    }

    .hero .actions {
        margin-top: 18px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

@media(max-width:800px) {
    html:not(.js) .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding-top: 10px
    }

    html:not(.js) .main-nav {
        position: static;
        width: 100%;
        box-shadow: none;
        padding-inline: 0
    }

    html:not(.js) .menu-toggle {
        display: none
    }
}

.lead-form :focus-visible {
    outline-color: var(--link)
}

.lead-form a.small {
    color: var(--link)
}
