:root {
    --ink: #151719;
    --ink-2: #24282b;
    --paper: #f5f2ec;
    --paper-2: #e8e3da;
    --white: #ffffff;
    --muted: #696c6e;
    --line: rgba(21, 23, 25, .16);
    --red: #ef493f;
    --red-dark: #c92f29;
    --cyan: #16a9cb;
    --yellow: #f0cc22;
    --pink: #ec1590;
    --green: #35a853;
    --radius: 22px;
    --radius-sm: 12px;
    --shadow: 0 22px 70px rgba(16, 18, 20, .13);
    --container: 1220px;
    --header-height: 94px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
address { font-style: normal; }

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; scroll-margin-top: 112px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 11px 16px;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.metrika-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; overflow-wrap: break-word; }
h1 { max-width: 930px; margin-bottom: 24px; font-size: clamp(42px, 6.1vw, 86px); font-weight: 800; }
h2 { max-width: 900px; margin-bottom: 22px; font-size: clamp(36px, 4.6vw, 66px); font-weight: 800; }
h3 { font-size: 22px; }
p { margin-bottom: 20px; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before { width: 36px; height: 3px; content: ""; background: var(--red); }
.eyebrow--dark { color: var(--muted); }

.button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--accent { color: var(--white); background: var(--red); }
.button--accent:hover { background: var(--red-dark); }
.button--dark { color: var(--white); background: var(--ink); }
.button--dark:hover { background: #000; }
.button--glass { color: var(--white); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(8px); }
.button--glass:hover { background: rgba(255, 255, 255, .17); }
.button--small { min-height: 46px; padding: 11px 17px; }

.header-bar { color: rgba(255, 255, 255, .75); background: var(--ink); font-size: 12px; letter-spacing: .04em; }
.header-bar__inner { display: flex; min-height: 32px; align-items: center; justify-content: space-between; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid rgba(21, 23, 25, .1);
}
.header-main { display: flex; min-height: var(--header-height); align-items: center; gap: 34px; background: var(--white); }
.brand { display: block; width: 126px; flex: 0 0 auto; }
.brand img { width: 126px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-inline: auto; }
.site-nav a { position: relative; font-size: 13px; font-weight: 750; white-space: nowrap; }
.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-contacts { display: flex; align-items: center; gap: 10px; }
.header-phones { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; white-space: nowrap; }
.header-phones a { font-size: 13px; font-weight: 800; }
.header-phones a:hover { color: var(--red); }
.header-socials { display: flex; align-items: center; gap: 6px; }
.header-social {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    transition: transform .18s ease, filter .18s ease;
}
.header-social:hover { filter: brightness(.92); transform: translateY(-2px); }
.header-social svg { width: 22px; height: 22px; fill: currentColor; }
.header-social--telegram { background: #229ed9; }
.header-social--max { overflow: hidden; background: #6857d9; }
.header-social--max img { width: 100%; height: 100%; object-fit: cover; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: min(820px, calc(100svh - 32px)); color: var(--white); background: #202224; isolation: isolate; }
.hero__image { position: absolute; z-index: -3; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 58% center; }
.hero__shade {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 13, 14, .94) 0%, rgba(12, 13, 14, .74) 42%, rgba(12, 13, 14, .1) 76%), linear-gradient(0deg, rgba(12, 13, 14, .55), transparent 45%);
}
.hero__inner { display: flex; min-height: min(820px, calc(100svh - 32px)); align-items: center; padding-top: 70px; padding-bottom: 86px; }
.hero__content { width: min(900px, 76%); }
.hero__lead { max-width: 730px; margin-bottom: 34px; color: rgba(255, 255, 255, .82); font-size: clamp(18px, 2vw, 24px); }
.hero-quick-form {
    width: min(840px, 100%);
    padding: 14px;
    margin-bottom: 18px;
    background: rgba(12, 13, 14, .58);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    backdrop-filter: blur(12px);
}
.hero-quick-form__row { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) auto; align-items: start; gap: 10px; }
.hero-quick-form__field { min-width: 0; }
.hero-quick-form input[type="tel"], .hero-quick-form input[type="email"] {
    width: 100%;
    min-height: 58px;
    padding: 14px 17px;
    color: var(--ink);
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
}
.hero-quick-form input[type="tel"]:focus, .hero-quick-form input[type="email"]:focus { border-color: var(--cyan); outline: 0; }
.hero-quick-form input.is-error { border-color: var(--red); }
.hero-quick-form .button { min-width: 220px; justify-content: space-between; gap: 28px; border: 0; }
.hero-quick-form .button b { font-size: 20px; }
.hero-quick-form .button:disabled { opacity: .68; cursor: wait; transform: none; }
.hero-quick-form__error { display: block; min-height: 17px; margin-top: 4px; color: #ff9a94; font-size: 12px; }
.hero-quick-form__note { margin: 0; color: rgba(255, 255, 255, .65); font-size: 11px; line-height: 1.4; }
.hero-quick-form__note a { text-decoration: underline; text-underline-offset: 2px; }
.hero-quick-form__status { min-height: 0; font-size: 13px; }
.hero-quick-form__status.is-error { margin-top: 8px; color: #ff9a94; }
.hero-quick-form__status.is-success { padding: 10px 12px; margin-top: 10px; color: #dff9e7; background: rgba(41, 133, 80, .42); border-radius: 7px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }
.hero__services { display: grid; max-width: 880px; margin: 0; padding: 0; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid rgba(255, 255, 255, .28); }
.hero__services li { border-right: 1px solid rgba(255, 255, 255, .22); }
.hero__services li:first-child { border-left: 1px solid rgba(255, 255, 255, .22); }
.hero__services a { display: flex; min-height: 94px; flex-direction: column; justify-content: space-between; padding: 16px 18px; font-size: 14px; font-weight: 800; }
.hero__services a:hover { background: rgba(255, 255, 255, .09); }
.hero__services span { color: rgba(255, 255, 255, .55); font-size: 11px; }

.section-heading { max-width: 820px; margin-bottom: 54px; }
.section-heading > p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.section-heading--row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading--row > p { max-width: 460px; }

.direction { background: var(--paper); }
.direction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.direction-card { position: relative; min-height: 430px; overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius); isolation: isolate; }
.direction-card--wide { grid-column: span 1; }
.direction-card::after { position: absolute; z-index: -1; content: ""; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 10, .88), rgba(8, 9, 10, 0) 62%); }
.direction-card img { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; transition: transform .45s ease; }
.direction-card:hover img { transform: scale(1.045); }
.direction-card__number { position: absolute; top: 18px; right: 20px; color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 800; }
.direction-card__body { position: absolute; right: 22px; bottom: 23px; left: 22px; }
.direction-card__body strong { display: block; margin-bottom: 9px; font-size: 24px; line-height: 1.05; letter-spacing: -.03em; }
.direction-card__body small { display: block; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.45; }

.service-section { background: var(--white); }
.service-section--ink { color: var(--white); background: var(--ink); }
.service-section--sand { background: #dfd8cc; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: clamp(48px, 7vw, 100px); }
.service-layout--reverse { grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); }
.service-layout--reverse .service-copy { order: 2; }
.service-copy h2 { font-size: clamp(38px, 4.1vw, 61px); }
.service-intro { max-width: 760px; margin-bottom: 40px; color: var(--muted); font-size: 20px; }
.service-section--ink .service-intro { color: rgba(255, 255, 255, .7); }
.service-details { display: grid; align-items: start; grid-template-columns: 1fr .86fr; gap: 28px; margin-bottom: 36px; }
.service-details h3 { margin-bottom: 16px; font-size: 18px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 12px; padding-left: 24px; color: var(--muted); }
.check-list li::before { position: absolute; top: .62em; left: 0; width: 8px; height: 8px; content: ""; background: var(--red); border-radius: 50%; }
.service-section--ink .check-list li { color: rgba(255, 255, 255, .67); }
.calc-note { padding: 22px; background: var(--paper); border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.calc-note span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.calc-note p { margin: 0; color: var(--muted); font-size: 14px; }
.calc-note--dark { color: var(--white); background: #2d3235; }
.calc-note--dark p { color: rgba(255, 255, 255, .64); }
.calc-note--neon { border-left-color: var(--pink); }
.calc-note--light { background: rgba(255, 255, 255, .55); }
.service-photo { position: relative; margin: 0; overflow: hidden; background: #d8d8d6; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.service-photo--portrait img { aspect-ratio: 3/4; }
.service-photo--wide { grid-column: 1 / -1; }
.service-photo--wide img { aspect-ratio: 16/7; }
.service-photo figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 12px 14px; color: var(--white); background: rgba(13, 15, 16, .74); border-radius: 8px; font-size: 12px; backdrop-filter: blur(7px); }
.service-gallery { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 14px; }
.service-gallery .service-photo:nth-child(2) { transform: translateY(32px); }
.service-gallery--neon .service-photo:first-child { box-shadow: 0 24px 80px rgba(236, 21, 144, .25); }

.works { background: var(--paper); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { min-height: 42px; padding: 9px 17px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; font-weight: 750; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.work-card { grid-column: span 4; overflow: hidden; background: var(--white); border-radius: var(--radius); }
.work-card:nth-child(1), .work-card:nth-child(6), .work-card:nth-child(10) { grid-column: span 6; }
.work-card[hidden] { display: none; }
.work-card img { width: 100%; height: 330px; object-fit: cover; }
.work-card:nth-child(1) img, .work-card:nth-child(6) img, .work-card:nth-child(10) img { height: 420px; }
.work-card > div { padding: 24px; }
.work-card span { display: block; margin-bottom: 9px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.work-card h3 { margin-bottom: 10px; font-size: 23px; }
.work-card p { margin: 0; color: var(--muted); font-size: 14px; }

.price-section { color: var(--white); background: var(--ink); }
.price-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.price-layout > div:first-child p:not(.eyebrow) { max-width: 540px; color: rgba(255, 255, 255, .68); font-size: 18px; }
.price-layout .button { margin-top: 12px; }
.price-factors { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .18); border-left: 1px solid rgba(255, 255, 255, .18); }
.price-factors article { min-height: 210px; padding: 28px; border-right: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.price-factors span { color: var(--red); font-size: 12px; font-weight: 800; }
.price-factors h3 { margin: 32px 0 10px; font-size: 21px; }
.price-factors p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 14px; }

.process { background: var(--paper-2); }
.process-list { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-list li { min-height: 250px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-list li > span { display: block; margin-bottom: 56px; color: var(--red); font-size: 12px; font-weight: 800; }
.process-list strong { display: block; margin-bottom: 12px; font-size: 23px; }
.process-list p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; }

.faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-layout > div:first-child > p:last-child { max-width: 390px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 24px; right: 8px; content: "+"; color: var(--red); font-size: 27px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 730px; padding: 0 46px 24px 0; margin: 0; color: var(--muted); }

.calculate { color: var(--white); background: #111315; }
.calculate-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; }
.calculate-copy { position: sticky; top: 142px; }
.calculate-copy > p:not(.eyebrow) { max-width: 480px; color: rgba(255, 255, 255, .66); font-size: 18px; }
.calculate-contact { display: flex; align-items: flex-start; flex-direction: column; margin-top: 50px; }
.calculate-contact span { color: rgba(255, 255, 255, .48); font-size: 12px; text-transform: uppercase; }
.calculate-contact a { margin: 6px 0; font-size: clamp(25px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em; }
.calculate-contact small { color: rgba(255, 255, 255, .52); }
.lead-form { display: grid; padding: 42px; grid-template-columns: 1fr 1fr; gap: 22px; color: var(--ink); background: var(--white); border-radius: var(--radius); }
.field { display: flex; min-width: 0; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.field label span, .field small { color: var(--muted); font-size: 11px; font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    color: var(--ink);
    background: #f7f6f3;
    border: 1px solid #d8d5ce;
    border-radius: 8px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--cyan); outline: 2px solid rgba(22, 169, 203, .18); }
.field.has-error input, .consent.has-error { border-color: var(--red); }
.field-error { min-height: 17px; margin-top: 5px; color: var(--red) !important; }
.consent { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 12px; }
.consent input { margin-top: 4px; accent-color: var(--red); }
.consent a { color: var(--ink); text-decoration: underline; }
.button--submit { grid-column: 1 / -1; justify-content: space-between; border: 0; }
.button--submit b { font-size: 20px; }
.button--submit:disabled { opacity: .68; cursor: wait; transform: none; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 20px; grid-column: 1 / -1; font-size: 14px; }
.form-status.is-error { color: #a72722; }
.form-status.is-success { padding: 18px; color: #115c35; background: #e0f3e7; border-radius: 8px; }

.contacts { background: var(--paper); }
.contacts-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.contacts-layout > div:first-child > p:last-child { max-width: 390px; color: var(--muted); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-list > div { display: flex; min-height: 180px; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-list span { margin-bottom: 20px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a, .contact-list address, .contact-list p { margin-bottom: 7px; font-size: 18px; font-weight: 750; }
.contact-list .text-link { margin-top: auto; color: var(--red); font-size: 12px; font-weight: 800; }

.site-footer { padding: 76px 0 26px; color: rgba(255, 255, 255, .7); background: #0c0d0e; }
.footer-main { display: grid; padding-bottom: 58px; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 60px; }
.footer-brand img { width: 126px; margin-bottom: 18px; background: var(--white); border: 6px solid var(--white); border-radius: 5px; }
.footer-brand p { max-width: 270px; }
.footer-main h2 { margin-bottom: 20px; color: var(--white); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-main a, .footer-main p { display: block; margin-bottom: 10px; font-size: 13px; }
.footer-main a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 12px; }
.mobile-call { display: none; }

.legal-page { min-height: 100vh; padding: 70px 0; background: var(--paper); }
.legal-page__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 70px; }
.legal-page__header img { width: 126px; }
.legal-page__header a:last-child { color: var(--red); font-weight: 800; }
.legal-content { max-width: 840px; }
.legal-content h1 { font-size: clamp(38px, 6vw, 68px); }
.legal-content h2 { margin-top: 44px; font-size: 28px; }
.legal-content p, .legal-content li { color: #555b5f; }

@media (max-width: 1180px) {
    .site-nav { gap: 14px; }
    .site-nav a { font-size: 12px; }
    .header-actions .button { display: none; }
    .direction-grid { grid-template-columns: repeat(2, 1fr); }
    .direction-card { min-height: 390px; }
}

@media (max-width: 960px) {
    :root { --header-height: 78px; }
    html { scroll-padding-top: 100px; }
    .section { padding: 86px 0; }
    .header-main { position: relative; }
    .brand, .brand img { width: 108px; }
    .site-nav {
        position: absolute;
        top: 100%;
        right: 24px;
        left: 24px;
        display: none;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px; font-size: 14px; }
    .site-nav a::after { display: none; }
    .header-actions { margin-left: auto; }
    .menu-toggle { display: block; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero__content { width: 90%; }
    .hero__services { grid-template-columns: 1fr 1fr; }
    .hero__services li { border-bottom: 1px solid rgba(255, 255, 255, .22); }
    .service-layout, .service-layout--reverse, .price-layout, .faq-layout, .calculate-layout, .contacts-layout { grid-template-columns: 1fr; gap: 52px; }
    .service-layout--reverse .service-copy { order: initial; }
    .service-gallery { max-width: 720px; }
    .service-gallery .service-photo:nth-child(2) { transform: none; }
    .work-card, .work-card:nth-child(1), .work-card:nth-child(6), .work-card:nth-child(10) { grid-column: span 6; }
    .work-card img, .work-card:nth-child(1) img, .work-card:nth-child(6) img, .work-card:nth-child(10) img { height: 370px; }
    .process-list { grid-template-columns: 1fr 1fr; }
    .calculate-copy { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    :root { --radius: 16px; }
    .container { width: min(100% - 32px, var(--container)); }
    .header-bar { display: none; }
    .section { padding: 72px 0; }
    h1 { font-size: clamp(36px, 10.5vw, 52px); }
    h2 { font-size: clamp(33px, 10vw, 48px); }
    .hero, .hero__inner { min-height: calc(100svh - var(--header-height)); }
    .hero__image { object-position: 67% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(10, 11, 12, .94), rgba(10, 11, 12, .66)), linear-gradient(0deg, rgba(10, 11, 12, .7), transparent); }
    .hero__inner { padding-top: 64px; padding-bottom: 52px; }
    .hero__content { width: 100%; }
    .hero__lead { font-size: 18px; }
    .hero-quick-form { padding: 10px; }
    .hero-quick-form__row { grid-template-columns: 1fr; }
    .hero-quick-form .button { width: 100%; min-width: 0; }
    .hero__actions { margin-bottom: 38px; }
    .hero__actions .button { width: 100%; }
    .hero__services { grid-template-columns: 1fr 1fr; }
    .hero__services a { min-height: 80px; padding: 12px; font-size: 12px; }
    .header-phones { display: none; }
    .section-heading { margin-bottom: 38px; }
    .section-heading--row { display: block; }
    .section-heading--row > p { margin-top: 20px; }
    .direction-grid { grid-template-columns: 1fr; }
    .direction-card { min-height: 340px; }
    .service-details { grid-template-columns: 1fr; }
    .service-intro { font-size: 18px; }
    .service-gallery { gap: 8px; }
    .service-photo figcaption { right: 8px; bottom: 8px; left: 8px; padding: 8px 9px; font-size: 10px; }
    .works-grid { gap: 10px; }
    .work-card, .work-card:nth-child(1), .work-card:nth-child(6), .work-card:nth-child(10) { grid-column: span 12; }
    .work-card img, .work-card:nth-child(1) img, .work-card:nth-child(6) img, .work-card:nth-child(10) img { height: 360px; }
    .price-factors { grid-template-columns: 1fr; }
    .price-factors article { min-height: 180px; }
    .process-list { grid-template-columns: 1fr; }
    .process-list li { min-height: 210px; }
    .process-list li > span { margin-bottom: 34px; }
    .lead-form { padding: 24px 18px; grid-template-columns: 1fr; }
    .field, .field--full, .consent, .button--submit, .form-status { grid-column: 1; }
    .contact-list { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 54px; }
    .mobile-call {
        position: fixed;
        z-index: 90;
        right: 14px;
        bottom: 14px;
        display: flex;
        min-width: 112px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: var(--red);
        border-radius: 100px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, .26);
        font-size: 13px;
        font-weight: 800;
    }
}

@media (max-width: 390px) {
    .container { width: min(100% - 24px, var(--container)); }
    .header-main { gap: 8px; }
    .hero__services { grid-template-columns: 1fr; }
    .hero__services li, .hero__services li:first-child { border-right: 0; border-left: 0; }
    .hero__services a { min-height: 62px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
    .direction-card { min-height: 310px; }
    .service-gallery { grid-template-columns: 1fr; }
    .service-photo--wide { grid-column: 1; }
    .service-photo--wide img { aspect-ratio: 4/3; }
    .work-card img, .work-card:nth-child(1) img, .work-card:nth-child(6) img, .work-card:nth-child(10) img { height: 330px; }
}

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