/* Статус Ремонт — public site. Tokens from the brief: background #F5F2EC, graphite #262824, brass #A98C5D.
   White text on brass needs a deeper brass (--accent-btn, 4.7:1); small brass text on light uses --accent-text (5.1:1);
   big step numbers use --accent-num (3.5:1, large text). */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #F5F2EC;
    --surface: #FBFAF7;
    --paper: #FFFFFF;
    --ink: #262824;
    --muted: #5E5F59;
    --line: #DDD6CA;
    --field-line: #8F887C;
    --accent: #A98C5D;
    --accent-btn: #8A6F45;
    --accent-btn-hover: #765D38;
    --accent-text: #7A6240;
    --accent-num: #9A7D50;
    --dark: #262824;
    --on-dark: #F5F2EC;
    --on-dark-muted: #C9C3B8;
    --error: #A3302A;
    --ok: #2F6B45;
    --wrap: 1280px;
    --gutter: 20px;
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-feature-settings: "cv11", "ss01";
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.specialists :focus-visible { outline-color: var(--on-dark); }
.specialists .spec-form-card :focus-visible { outline-color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.staging-bar {
    padding: 6px var(--gutter); background: #4A3F2C; color: #fff;
    font-size: 13px; text-align: center;
}

/* Buttons and links */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 1px solid transparent; border-radius: 2px;
    font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .005em;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3A3D37; }
.btn-accent { background: var(--accent-btn); color: #fff; }
.btn-accent:hover { background: var(--accent-btn-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    font-size: 15px; font-weight: 500; text-decoration: none;
    border-bottom: 1px solid currentColor; padding-top: 8px; padding-bottom: 4px;
}
.link-arrow:hover { color: var(--accent-text); }
.link-btn {
    padding: 0; border: 0; background: none; cursor: pointer;
    text-decoration: underline; text-underline-offset: .2em; min-height: 24px;
}
.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 2px; background: transparent; cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon-btn:hover { background: rgba(38, 40, 36, .08); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(245, 242, 236, .96);
    border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(245, 242, 236, .86); backdrop-filter: blur(10px); } }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-grid; gap: 1px; text-decoration: none; padding: 6px 0; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.brand-domain { font-size: 12px; letter-spacing: .12em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; flex: 1; }
.nav-list { display: flex; gap: 36px; margin-inline: auto; }
.nav-list a {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--accent); }
.nav-specialists { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.nav-extra { display: none; }
.menu-btn {
    display: none; align-items: center; gap: 8px; margin-left: auto;
    min-height: 44px; padding: 8px 12px; border: 1px solid var(--ink); border-radius: 2px;
    background: transparent; cursor: pointer; font-size: 14px;
}
.menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }

@media (max-width: 899px) {
    .menu-btn { display: inline-flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        display: none; flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px var(--gutter) 24px; background: var(--bg);
        border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(38, 40, 36, .08);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav-list { flex-direction: column; gap: 0; margin: 0; }
    .nav-list a { display: flex; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--line); }
    .nav-specialists { margin-top: 16px; min-height: 48px; }
    .nav-extra { display: grid; gap: 12px; margin-top: 12px; }
    .nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; text-decoration: none; }
    .nav-phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; background: var(--bg); }
.hero-copy { padding: 40px var(--gutter) 36px; position: relative; }
.hero-geo { font-size: 14px; color: var(--muted); letter-spacing: .01em; }
.hero-title {
    margin-top: 14px;
    font-size: clamp(40px, 10.5vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em;
    max-width: 14ch; text-wrap: balance;
}
.hero-lead { margin-top: 18px; font-size: 18px; color: var(--ink); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.hero-actions .btn { padding-inline: 26px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 34ch; }
.hero-media { position: relative; min-height: 260px; background: #E7E1D6; }
.hero-media img, .hero-media .img-missing { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-caption {
    position: absolute; right: 0; bottom: 0; padding: 8px 14px;
    background: rgba(38, 40, 36, .72); color: #fff; font-size: 13px;
}
@media (min-width: 900px) {
    /* Text column: the page margin plus 45% of the content width, so the copy lines up with the grid below. */
    .hero {
        grid-template-columns: minmax(0, calc((100vw - min(100vw, var(--wrap))) / 2 + min(100vw, var(--wrap)) * .45)) minmax(0, 1fr);
        min-height: min(640px, calc(100vh - var(--header-h)));
    }
    .hero-title { font-size: clamp(44px, 4.3vw, 62px); }
    .hero-copy {
        align-self: center;
        padding: 56px 40px 56px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    }
    .hero-media img, .hero-media .img-missing { position: absolute; inset: 0; aspect-ratio: auto; }
}

/* Advantages */
.advantages { background: var(--surface); border-block: 1px solid var(--line); }
.adv-list { display: grid; grid-template-columns: 1fr; }
.adv { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.adv:first-child { border-top: 0; }
.adv-icon { width: 36px; height: 36px; fill: none; stroke: var(--accent-text); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.adv-title { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.adv-text { margin-top: 6px; font-size: 15px; color: var(--muted); max-width: 36ch; }
@media (min-width: 900px) {
    .adv-list { grid-template-columns: repeat(3, 1fr); }
    .adv { padding: 30px 32px; border-top: 0; border-left: 1px solid var(--line); }
    .adv:first-child { border-left: 0; padding-left: 0; }
    .adv:last-child { padding-right: 0; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding-top: 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.section-head-stack { display: grid; justify-content: stretch; align-items: start; }
.section-head-end { justify-content: flex-end; }
.section-title { font-size: clamp(30px, 6vw, 44px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.section-title-sm { font-size: clamp(26px, 4vw, 32px); }
.section-lead { max-width: 60ch; color: var(--muted); font-size: 17px; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow-dark { color: var(--accent-text); }
.anchor-alias { position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.filter-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
    font-size: 15px; text-decoration: none; color: var(--ink);
    border-bottom: 2px solid transparent;
}
.filter-btn:hover { border-bottom-color: var(--line); }
.filter-btn[aria-current="true"] { color: var(--accent-text); border-bottom-color: var(--accent); }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 28px 20px; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; }
.card-link { display: grid; gap: 14px; text-decoration: none; }
.card-media { display: block; overflow: hidden; background: #E7E1D6; aspect-ratio: 3 / 2; }
.card-media img, .card-media .img-missing { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-body { display: grid; gap: 2px; }
.card-title { font-size: 18px; font-weight: 500; line-height: 1.35; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--accent); }
.card-meta { font-size: 14px; color: var(--muted); }
.badge-draft {
    position: absolute; top: 10px; left: 10px; padding: 4px 8px;
    background: var(--ink); color: #fff; font-size: 12px;
}
.works .center { margin-top: 36px; }
.empty-note { margin-top: 8px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.empty-note a { color: var(--ink); }
.empty-state { display: grid; justify-items: start; gap: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.empty-state p { max-width: 60ch; color: var(--muted); }

.img-missing {
    display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px;
    background: #E7E1D6; color: #8F887C;
}
.img-missing svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* Services */
.services { background: var(--surface); border-block: 1px solid var(--line); }
.service-list { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
@media (min-width: 700px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-list { grid-template-columns: repeat(4, 1fr); } }
.service { padding: 24px 0 8px; border-top: 1px solid var(--ink); }
.service-title { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.service-text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.service-items { margin-top: 14px; }
.service-items li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }

/* Process */
.steps { display: grid; grid-template-columns: 1fr; margin-top: 32px; }
.step { display: grid; align-content: start; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.step-num { font-size: 52px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--accent-num); }
.step-head { display: flex; align-items: center; gap: 16px; }
.step-title { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.step-icon { width: 40px; height: 34px; fill: none; stroke: var(--accent-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.step-text { color: var(--ink); font-size: 15px; max-width: 32ch; }
.step-result { color: var(--muted); font-size: 14px; max-width: 32ch; }
.process-cta { margin-top: 36px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 0 32px; } }
@media (min-width: 1100px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
    .step { padding: 8px 32px 8px; border-top: 0; border-left: 1px solid var(--line); }
    .step:first-child { padding-left: 0; border-left: 0; }
    .step-num { font-size: 64px; }
}

/* Specialists */
.specialists { background: var(--dark); color: var(--on-dark); padding: 56px 0; scroll-margin-top: var(--header-h); }
.spec-grid { display: grid; grid-template-columns: 1fr; gap: 32px; grid-template-areas: "copy" "form" "media"; }
.spec-copy { grid-area: copy; }
.spec-media { grid-area: media; overflow: hidden; background: #3A3D37; }
.spec-media img, .spec-media .img-missing { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.spec-form-card { grid-area: form; background: var(--paper); color: var(--ink); padding: 24px 20px; }
.spec-title { margin-top: 14px; font-size: clamp(34px, 7vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.spec-text { margin-top: 18px; font-size: 17px; color: var(--on-dark); max-width: 34ch; }
.spec-rule { width: 64px; margin: 28px 0 20px; border: 0; border-top: 1px solid var(--accent); }
.spec-directions { display: flex; flex-wrap: wrap; gap: 4px 0; max-width: 34ch; }
.spec-directions li { font-size: 16px; color: var(--on-dark); }
.spec-directions li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--accent); }
.spec-note { margin-top: 22px; font-size: 14px; color: var(--on-dark-muted); max-width: 36ch; }
@media (min-width: 700px) {
    .spec-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy form" "media form"; align-items: start; }
    .spec-form-card { padding: 28px; }
}
@media (min-width: 1100px) {
    .specialists { padding: 32px 0; }
    .spec-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "copy media form"; gap: 28px; align-items: stretch; }
    .spec-copy { padding: 32px 0; }
    .spec-media { margin: 32px 0; }
    .spec-media img, .spec-media .img-missing { aspect-ratio: auto; }
}

/* Forms */
.form { position: relative; }
.form-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; }
.form-title:focus { outline: none; }
.form-title:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.form-body { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
@media (min-width: 520px) { .form-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.form-note { font-size: 14px; color: var(--muted); }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend, .field .label { font-size: 14px; font-weight: 500; padding: 0; }
.field-narrow { max-width: 220px; }
.req { color: var(--error); }
.legend-hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="url"], input[type="number"], input[type="email"], select, textarea {
    width: 100%; min-height: 46px; padding: 10px 12px;
    background: var(--paper); border: 1px solid var(--field-line); border-radius: 2px;
    font-size: 16px; line-height: 1.4;
}
textarea { resize: vertical; min-height: 96px; }
select {
    appearance: none; padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23262824' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
input::placeholder, textarea::placeholder { color: #6F6D66; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input:disabled { background: #EEEAE3; color: var(--muted); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { font-size: 14px; color: var(--error); }
.field-error:empty { display: none; }
.field-hint { font-size: 13px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input, .radio input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
    border: 1px solid var(--field-line); border-radius: 2px; background: var(--paper);
    font-size: 15px; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-field[aria-invalid="true"] .chip span, .choice-field.is-invalid .chip span { border-color: var(--error); }

.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio, .check { position: relative; display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; padding: 10px 0; }
.radio span::before, .check > span::before {
    content: ""; flex: none; display: inline-block; width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px;
    border: 1.5px solid var(--field-line); background: var(--paper);
}
.radio span::before { border-radius: 50%; }
.radio input:checked + span::before { border-color: var(--accent-btn); box-shadow: inset 0 0 0 4px var(--paper); background: var(--accent-btn); }
.check > span { font-size: 14px; line-height: 1.5; }
.check > span::before { border-radius: 2px; float: left; margin-top: 1px; }
.check input:checked + span::before {
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-color: var(--ink);
}
.radio input:focus-visible + span::before, .check input:focus-visible + span::before { outline: 2px solid var(--ink); outline-offset: 2px; }
.check-inline { padding: 4px 0; min-height: 36px; }
.check a { color: var(--ink); }

.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary {
    display: flex; align-items: center; min-height: 48px; cursor: pointer;
    font-size: 14px; font-weight: 500; list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 300; }
.more[open] summary::after { content: "−"; }
.more > :not(summary) { margin-bottom: 14px; }
.more .form-grid { margin-bottom: 14px; }

.dropzone {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px;
    border: 1px dashed var(--field-line); background: var(--surface); cursor: pointer; font-size: 14px;
}
.dropzone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background: #F0ECE4; }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.visually-hidden-input:focus-visible + .uploads, .dropzone:focus-within { outline: 2px solid var(--ink); }
.uploads { display: grid; gap: 8px; }
.upload { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 6px; border: 1px solid var(--line); background: var(--paper); }
.upload img { width: 52px; height: 52px; object-fit: cover; background: #E7E1D6; }
.upload-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-state { font-size: 13px; color: var(--muted); }
.upload.is-error .upload-state { color: var(--error); }
.upload.is-done .upload-state { color: var(--ok); }
.upload-actions { display: flex; gap: 4px; }
.upload-actions button { min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer; font-size: 13px; text-decoration: underline; }
.progress { height: 3px; margin-top: 4px; background: var(--line); }
.progress span { display: block; height: 100%; width: 0; background: var(--accent-btn); transition: width .2s linear; }

.form-status { padding: 12px 14px; border-left: 3px solid var(--error); background: #F8EDEB; color: var(--ink); font-size: 14px; }
.form-status .link-btn { margin-left: 6px; font-weight: 500; }
.form-actions { display: grid; gap: 10px; }
.form-success { display: grid; justify-items: start; gap: 10px; padding: 8px 0; }
.form-success:focus { outline: none; }
.success-icon { width: 44px; height: 44px; fill: none; stroke: var(--ok); stroke-width: 1.6; }
.success-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.success-number { font-size: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Dialog */
.dialog {
    width: min(720px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0;
    border: 0; border-radius: 2px; background: var(--paper); color: var(--ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.dialog::backdrop { background: rgba(38, 40, 36, .55); }
.dialog-head {
    position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 16px 14px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.dialog-title { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.dialog .form { padding: 20px 24px 28px; }
@media (max-width: 520px) {
    .dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
    .dialog .form { padding: 16px 20px 28px; }
    .dialog-head { padding-left: 20px; }
}
body.has-dialog { overflow: hidden; }

/* Inner pages */
.page-head { padding-top: 28px; padding-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.crumbs span { display: inline-flex; align-items: center; }
.page-title { font-size: clamp(32px, 7vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; max-width: 20ch; hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3, .prose { overflow-wrap: break-word; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 60ch; }
.draft-bar { margin-top: 16px; padding: 10px 14px; background: var(--ink); color: #fff; font-size: 14px; }

.project-cover { overflow: hidden; background: #E7E1D6; }
.project-cover img, .project-cover .img-missing { width: 100%; max-height: 720px; object-fit: cover; }
.params { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border-top: 1px solid var(--ink); }
.param { flex: 1 1 160px; padding: 14px 24px 14px 0; }
.param dt { font-size: 13px; color: var(--muted); }
.param dd { margin: 4px 0 0; font-size: 20px; font-weight: 500; }
.price-note { margin-top: 6px; font-size: 14px; color: var(--muted); }
.project-body { display: grid; gap: 32px; margin-top: 40px; }
.project-text { display: grid; gap: 28px; max-width: 70ch; }
.project-text h2 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.project-text p { font-size: 17px; }
.ticks li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: rotate(-45deg); }
.cta-card { align-self: start; display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.cta-title { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.cta-card p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
    .project-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
    .cta-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.project-section { margin-top: 56px; }
.project-section .section-title { margin-bottom: 20px; }
.compare + .compare { margin-top: 28px; }
.compare-pair { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 700px) { .compare-pair { grid-template-columns: 1fr 1fr; } }
.compare-item { position: relative; overflow: hidden; background: #E7E1D6; aspect-ratio: 4 / 3; }
.compare-item img, .compare-item .img-missing { width: 100%; height: 100%; object-fit: cover; }
.compare-label { position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.compare figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: #E7E1D6; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gallery-item img, .gallery-item .img-missing { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { margin-top: 6px; font-size: 14px; color: var(--muted); }

.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(20, 21, 19, .96); color: #fff; }
.lightbox::backdrop { background: rgba(20, 21, 19, .9); }
.lightbox-figure { display: grid; place-items: center; align-content: center; gap: 12px; height: 100%; padding: 64px 16px 24px; }
.lightbox-img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.lightbox-caption { font-size: 15px; color: var(--on-dark-muted); text-align: center; }
.lightbox .icon-btn { position: absolute; color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.lightbox :focus-visible { outline-color: #fff; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-error { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; }
.lightbox-error .link-btn { color: #fff; }

.doc { padding-top: 28px; padding-bottom: 72px; }
.doc-meta { margin-top: 12px; color: var(--muted); font-size: 14px; }
.prose { margin-top: 32px; max-width: 75ch; font-size: 16px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 32px; font-size: 22px; font-weight: 500; }
.prose h3 { margin-top: 24px; font-size: 18px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }

.lead-page { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 72px; }
.lead-page-form { background: var(--paper); padding: 24px 20px; border: 1px solid var(--line); }
@media (min-width: 1000px) {
    .lead-page { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
    .lead-page-form { padding: 32px; }
}
.message-page { display: grid; justify-items: start; gap: 16px; padding-top: 72px; padding-bottom: 96px; }
.message-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 44px 0 0; }
.footer-in { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .footer-in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-geo { margin-top: 10px; font-size: 14px; color: var(--muted); }
.footer-title { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.site-footer ul li a, .site-footer ul li { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; }
.site-footer ul li a { text-decoration: none; }
.site-footer ul li a:hover { text-decoration: underline; }
.site-footer ul { display: grid; }
.footer-bottom { margin-top: 32px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Services, contacts, FAQ */
.service-title a { text-decoration: none; }
.service-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.service-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-size: 15px; font-weight: 500; text-decoration: none; }
.service-more:hover { color: var(--accent-text); }
.section-more { margin-top: 28px; }
.services-steps .steps { margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.cta-phone { font-size: 15px; color: var(--muted); }
.cta-phone a { color: var(--ink); white-space: nowrap; }
.prose-flush { margin-top: 0; }
.cover-caption { padding: 8px 0 0; font-size: 14px; color: var(--muted); }
.faq-list { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
    cursor: pointer; font-size: 18px; font-weight: 500; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 300; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; max-width: 70ch; color: var(--ink); }
.closing-cta { background: var(--surface); border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 40px; }
.closing-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.closing-cta-text { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.other-services .section-title { margin-bottom: 12px; }
.contacts-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contacts-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.contact-list { display: grid; border-top: 1px solid var(--ink); }
.contact-row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .contact-row { grid-template-columns: 180px 1fr; gap: 24px; } }
.contact-row dt { font-size: 14px; color: var(--muted); }
.contact-row dd { margin: 0; font-size: 18px; }
.contact-row dd a { display: inline-flex; align-items: center; min-height: 44px; }
.ym-pixel { position: absolute; left: -9999px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
