:root {
    --color-navy: #071d2c;
    --color-navy-2: #0d2c42;
    --color-blue: #0f3b5a;
    --color-orange: #ff6b13;
    --color-orange-dark: #e85a08;
    --color-text: #102033;
    --color-muted: #5a6978;
    --color-line: #dde5ec;
    --color-bg: #f4f7fa;
    --color-white: #ffffff;
    --shadow: 0 18px 45px rgba(9, 34, 52, .12);
    --shadow-soft: 0 8px 24px rgba(9, 34, 52, .09);
    --radius: 10px;
    --radius-lg: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.45;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

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

button,
input {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 1000;
    padding: 10px 14px;
    color: var(--color-white);
    background: var(--color-orange);
    border-radius: 8px;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.top-bar {
    color: #fff;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 107, 19, .18), transparent 30%),
        linear-gradient(90deg, #071d2c 0%, #0b314b 100%);
    font-size: 14px;
}

.top-bar__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-bar__items,
.top-bar__links {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.top-bar__links a {
    color: rgba(255, 255, 255, .86);
    transition: color .2s ease;
}

.top-bar__links a:hover {
    color: #fff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(221, 229, 236, .7);
}

.header__inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.logo__mark {
    position: relative;
    width: 58px;
    height: 42px;
    display: block;
}

.logo__mark span {
    position: absolute;
    bottom: 8px;
    width: 34px;
    height: 8px;
    border-radius: 3px;
    background: var(--color-navy);
    transform: rotate(-36deg);
}

.logo__mark span:nth-child(1) {
    left: 0;
}

.logo__mark span:nth-child(2) {
    left: 17px;
    background: var(--color-orange);
    transform: rotate(36deg);
}

.logo__mark span:nth-child(3) {
    left: 28px;
    bottom: 16px;
    width: 24px;
    height: 7px;
    background: var(--color-navy-2);
    transform: rotate(36deg);
}

.logo__text strong {
    display: block;
    color: var(--color-navy);
    font-size: 22px;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.logo__text small {
    display: block;
    margin-top: 5px;
    color: var(--color-orange);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.header__contacts {
    margin-left: auto;
    text-align: right;
}

.header-phone {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--color-navy);
    white-space: nowrap;
}

.header-phone:before {
    content: '☎';
    margin-right: 8px;
    color: var(--color-navy-2);
    font-size: 20px;
}

.header-time {
    display: block;
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    color: #fff;
    background: linear-gradient(180deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    box-shadow: 0 12px 22px rgba(255, 107, 19, .22);
}

.btn--primary:hover {
    box-shadow: 0 16px 28px rgba(255, 107, 19, .30);
}

.btn--outline {
    color: var(--color-navy);
    background: rgba(255, 255, 255, .76);
    border-color: var(--color-navy);
}

.btn--outline:hover {
    color: #fff;
    background: var(--color-navy);
}

.btn--lg {
    min-height: 54px;
    padding: 16px 28px;
}

.btn--wide {
    width: 100%;
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-navy);
    transition: transform .2s ease, opacity .2s ease;
}

body.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
    opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
    position: sticky;
    top: 94px;
    z-index: 45;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--color-line);
}

.main-nav__inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav__inner a {
    position: relative;
    padding: 17px 0;
    color: var(--color-navy);
}

.main-nav__inner a:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}

.main-nav__inner a:hover:after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 37%, rgba(255,255,255,.44) 58%, rgba(255,255,255,.05) 100%),
        radial-gradient(circle at 75% 30%, rgba(15, 59, 90, .12), transparent 35%),
        linear-gradient(135deg, #f8fbfd 0%, #e9f1f6 45%, #dce9f0 100%);
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(244,247,250,.92), rgba(244,247,250,0) 38%),
        repeating-linear-gradient(0deg, rgba(7, 29, 44, .035) 0 1px, transparent 1px 46px),
        repeating-linear-gradient(90deg, rgba(7, 29, 44, .03) 0 1px, transparent 1px 46px);
    opacity: .52;
}

.hero__grid {
    position: relative;
    z-index: 2;
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(420px, 48%) minmax(420px, 52%);
    align-items: center;
    gap: 24px;
    padding: 54px 0 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow:before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--color-orange);
}

.hero h1 {
    margin: 0;
    max-width: 720px;
    color: var(--color-navy);
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: .98;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--color-orange);
}

.hero__lead {
    max-width: 590px;
    margin: 24px 0 0;
    color: #21364a;
    font-size: 18px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 8px;
    max-width: 620px;
    margin: 30px 0 0;
}

.hero-feature {
    min-height: 112px;
    padding: 12px 10px;
    text-align: center;
    border-right: 1px solid var(--color-line);
}

.hero-feature:last-child {
    border-right: 0;
}

.hero-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    color: var(--color-navy);
    border: 2px solid rgba(7, 29, 44, .75);
    border-radius: 12px;
    font-size: 22px;
    font-weight: 800;
}

.hero-feature strong,
.hero-feature small {
    display: block;
}

.hero-feature strong {
    color: var(--color-navy);
    font-size: 13px;
}

.hero-feature small {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 12px;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero__region {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 520px;
    margin-top: 30px;
    padding: 16px 18px;
    color: #2b3d4d;
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--color-line);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(7, 29, 44, .05);
}

.hero__region span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    color: #fff;
    background: var(--color-navy);
    border-radius: 50%;
}

.hero__visual {
    position: relative;
    min-height: 570px;
}

.hero__image-name {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 5;
    max-width: 390px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, .85);
    background: rgba(7, 29, 44, .72);
    border-radius: 999px;
    font-size: 12px;
    text-align: center;
}

.house-card {
    position: absolute;
    right: -70px;
    bottom: 0;
    width: min(720px, 100%);
    height: 540px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 70% 5%, rgba(255,255,255,.9), rgba(255,255,255,0) 30%),
        linear-gradient(180deg, rgba(148, 189, 212, .48), rgba(239,244,247,.7) 38%, rgba(169, 185, 161, .5) 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.house-card:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 145px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 64px),
        linear-gradient(0deg, rgba(255,255,255,.20) 0 1px, transparent 1px 28px),
        #cbd4d8;
    opacity: .95;
}

.house-card__roof {
    position: absolute;
    top: 92px;
    right: 120px;
    width: 355px;
    height: 145px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 6px, rgba(0,0,0,.13) 6px 12px),
        linear-gradient(135deg, #1c2933, #344654);
    clip-path: polygon(8% 100%, 50% 0, 100% 100%);
    box-shadow: 0 18px 26px rgba(7, 29, 44, .25);
}

.house-card__roof:after {
    content: '';
    position: absolute;
    left: 120px;
    top: 56px;
    width: 260px;
    height: 118px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 5px, rgba(0,0,0,.12) 5px 11px),
        linear-gradient(135deg, #233440, #405463);
    transform: skewY(12deg);
}

.house-card__body {
    position: absolute;
    top: 218px;
    right: 155px;
    width: 315px;
    height: 195px;
    background: linear-gradient(135deg, #ffffff, #d8e0e4 55%, #8a6651 55%, #715340 100%);
    border-radius: 4px;
    box-shadow: 0 16px 35px rgba(7, 29, 44, .22);
}

.house-card__body:before,
.house-card__body:after {
    content: '';
    position: absolute;
    top: 52px;
    width: 54px;
    height: 72px;
    border: 7px solid #6b442d;
    background: linear-gradient(135deg, #b9d8e8, #f8fbfd);
}

.house-card__body:before {
    left: 50px;
}

.house-card__body:after {
    right: 54px;
}

.house-card__fence {
    position: absolute;
    left: 110px;
    right: 35px;
    bottom: 142px;
    height: 106px;
    background:
        repeating-linear-gradient(90deg, #263845 0 16px, #314756 16px 24px, transparent 24px 31px),
        linear-gradient(#263845, #263845);
    border-bottom: 10px solid #3c2f29;
    border-radius: 8px 8px 0 0;
}

.house-card__truck {
    position: absolute;
    right: 30px;
    bottom: 128px;
    width: 178px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--color-navy);
    background: linear-gradient(180deg, #fff, #dfe8ed);
    border: 4px solid #263845;
    border-radius: 18px 8px 8px 10px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 18px rgba(7, 29, 44, .18);
}

.house-card__truck:before,
.house-card__truck:after {
    content: '';
    position: absolute;
    bottom: -17px;
    width: 26px;
    height: 26px;
    background: #172634;
    border: 4px solid #dbe4e9;
    border-radius: 50%;
}

.house-card__truck:before {
    left: 28px;
}

.house-card__truck:after {
    right: 25px;
}

.material {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    min-height: 54px;
    padding: 8px 10px;
    color: rgba(255,255,255,.92);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 12px 18px rgba(7, 29, 44, .22);
}

.material--one {
    left: 120px;
    bottom: 55px;
    width: 185px;
    height: 82px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 8px, rgba(0,0,0,.12) 8px 16px),
        #222e38;
    transform: skewX(-8deg);
}

.material--two {
    left: 310px;
    bottom: 45px;
    width: 160px;
    height: 92px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.15) 0 14px, rgba(0,0,0,.12) 14px 24px),
        #8d2d23;
}

.material--three {
    right: 85px;
    bottom: 42px;
    width: 185px;
    height: 86px;
    color: var(--color-navy);
    background:
        linear-gradient(90deg, rgba(255,255,255,.52) 0 1px, transparent 1px 48px),
        linear-gradient(0deg, rgba(255,255,255,.48) 0 1px, transparent 1px 26px),
        #d1b188;
}

.section {
    padding: 64px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2,
.callback-card h2,
.seo-text h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.section-head p {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 17px;
}

.popular-categories {
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    display: flex;
    min-height: 248px;
    flex-direction: column;
    overflow: hidden;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: 0 6px 16px rgba(7, 29, 44, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 19, .38);
    box-shadow: var(--shadow-soft);
}

.category-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 14px;
    color: rgba(255,255,255,.88);
    background:
        radial-gradient(circle at 30% 15%, rgba(255,255,255,.62), transparent 25%),
        linear-gradient(135deg, #203444, #738894);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    word-break: break-word;
}

.category-card:nth-child(2) .category-card__image {
    background: repeating-linear-gradient(135deg, #475d68 0 14px, #708591 14px 28px);
}

.category-card:nth-child(3) .category-card__image {
    background: repeating-linear-gradient(90deg, #3a2a25 0 17px, #4f3730 17px 26px, transparent 26px 34px), linear-gradient(#9bad8c, #7e9a71);
}

.category-card:nth-child(4) .category-card__image {
    background: linear-gradient(135deg, #263440, #bccbd2 55%, #425665 56%);
}

.category-card:nth-child(5) .category-card__image {
    background: repeating-linear-gradient(135deg, #1e2b35 0 18px, #465760 18px 32px);
}

.category-card:nth-child(6) .category-card__image {
    color: var(--color-navy);
    background: linear-gradient(135deg, #e7ddd1, #f8f3eb 45%, #bd885b 45%, #d8c099 75%, #9a5f36 75%);
}

.category-card__body {
    position: relative;
    display: block;
    flex: 1;
    padding: 18px 42px 18px 18px;
}

.category-card strong,
.category-card small {
    display: block;
}

.category-card strong {
    color: var(--color-navy);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.category-card small {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 14px;
}

.category-card em {
    position: absolute;
    top: 18px;
    right: 16px;
    color: var(--color-orange);
    font-size: 24px;
    font-style: normal;
}

.benefits {
    padding: 38px 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 0, rgba(255, 107, 19, .18) 0, rgba(255, 107, 19, 0) 28%),
        linear-gradient(90deg, #071d2c 0%, #0b314b 100%);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
}

.benefit-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #ffb174;
    border: 2px solid #ff9a4d;
    border-radius: 14px;
    font-size: 28px;
}

.benefit-item h3 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
}

.benefit-item p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.work-steps {
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.step-card {
    position: relative;
    min-height: 210px;
    padding: 30px 20px 24px;
    text-align: center;
}

.step-card:not(:last-child):after {
    content: '';
    position: absolute;
    top: 64px;
    right: -24px;
    width: 48px;
    height: 1px;
    border-top: 2px dashed #aeb9c3;
}

.step-card__num {
    position: absolute;
    top: 18px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--color-orange);
    border-radius: 50%;
    font-weight: 900;
    transform: translateX(-62px);
}

.step-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    color: var(--color-navy);
    border: 3px solid var(--color-navy);
    border-radius: 22px;
    font-size: 36px;
    font-weight: 800;
}

.step-card h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 16px;
}

.step-card p {
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: 14px;
}

.callback-section {
    padding: 54px 0;
    background: var(--color-bg);
}

.callback-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.callback-card__promo {
    position: relative;
    min-height: 286px;
    padding: 28px 285px 28px 30px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(7, 29, 44, .98) 0%, rgba(10, 47, 72, .98) 52%, rgba(10, 47, 72, .15) 53%, rgba(255,255,255,.08) 100%),
        #0b314b;
    border-radius: 14px;
}

.callback-card__promo h2 {
    color: #fff;
}

.callback-card__promo p {
    max-width: 430px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
}

.label {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 14px;
    color: #fff;
    background: var(--color-orange);
    border-radius: 7px;
    font-weight: 900;
    text-transform: uppercase;
}

.callback-card__image {
    position: absolute;
    right: 22px;
    bottom: 20px;
    width: 275px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: var(--color-navy);
    background:
        linear-gradient(45deg, rgba(9,34,52,.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(9,34,52,.08) 25%, transparent 25%),
        #eef3f6;
    background-size: 34px 34px;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.form {
    display: grid;
    gap: 16px;
}

.form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field span {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.field input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus {
    border-color: rgba(255, 107, 19, .65);
    box-shadow: 0 0 0 4px rgba(255, 107, 19, .09);
}

.field--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-muted);
    font-size: 13px;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    accent-color: var(--color-orange);
}

.form-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.form-message--success {
    color: #175b2a;
    background: #e7f6eb;
    border: 1px solid #bce0c5;
}

.form-message--error {
    color: #8b1d16;
    background: #fff0ee;
    border: 1px solid #ffd0c9;
}

.seo-text {
    background: #fff;
}

.seo-text__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 52px;
    align-items: start;
}

.seo-text__content {
    padding: 30px;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
}

.seo-text__content p {
    margin: 0;
    color: #344758;
    font-size: 17px;
}

.seo-text__content p + p {
    margin-top: 16px;
}

.contacts-section {
    background: var(--color-bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr .78fr 1fr;
    gap: 18px;
}

.contact-card {
    min-height: 250px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: 0 6px 16px rgba(7, 29, 44, .045);
}

.contact-card h3 {
    margin: 0 0 16px;
    color: var(--color-navy);
    font-size: 20px;
}

.contact-card p {
    margin: 0 0 10px;
    color: #33495a;
    font-size: 15px;
}

.contact-card a {
    color: var(--color-navy);
    font-weight: 800;
}

.city-list {
    columns: 2;
    margin: 0;
    padding: 0;
    list-style: none;
}

.city-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 17px;
    color: #33495a;
    break-inside: avoid;
}

.city-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-orange);
    border-radius: 50%;
}

.messengers {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.messengers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: linear-gradient(180deg, #1dbb62, #14964d);
    border-radius: 50%;
    font-size: 26px;
    box-shadow: 0 10px 18px rgba(18, 145, 74, .18);
}

.messengers a:nth-child(2) {
    background: linear-gradient(180deg, #31a9e8, #1687c9);
}

.map-placeholder {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--color-navy);
    background:
        linear-gradient(90deg, rgba(7,29,44,.06) 0 1px, transparent 1px 40px),
        linear-gradient(0deg, rgba(7,29,44,.06) 0 1px, transparent 1px 40px),
        #e7edf1;
    border-radius: 10px;
    font-weight: 900;
    text-align: center;
}

.footer {
    padding: 26px 0;
    color: rgba(255, 255, 255, .84);
    background: linear-gradient(90deg, #071d2c 0%, #0b314b 100%);
    font-size: 13px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.footer strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
}

.footer p {
    margin: 4px 0;
}

.footer__links {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__links a:hover {
    color: #fff;
}

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--color-orange);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 25px rgba(255, 107, 19, .28);
    cursor: pointer;
}

.to-top.is-visible {
    display: flex;
}

@media (max-width: 1180px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .callback-card,
    .seo-text__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .top-bar__inner {
        justify-content: center;
    }

    .top-bar__links {
        display: none;
    }

    .header__inner {
        min-height: 78px;
    }

    .header__contacts,
    .header__btn {
        display: none;
    }

    .burger {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        bottom: auto;
        z-index: 80;
        display: none;
        border-bottom: 1px solid var(--color-line);
        box-shadow: var(--shadow-soft);
    }

    body.menu-open .main-nav {
        display: block;
    }

    .main-nav__inner {
        min-height: auto;
        display: grid;
        gap: 0;
        padding: 10px 16px 16px;
    }

    .main-nav__inner a {
        padding: 15px 0;
        border-bottom: 1px solid var(--color-line);
    }

    .hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 42px;
    }

    .hero__visual {
        min-height: 430px;
    }

    .house-card {
        right: auto;
        left: 50%;
        width: min(680px, 100%);
        height: 420px;
        transform: translateX(-50%);
    }

    .house-card__roof {
        top: 70px;
        right: 115px;
        width: 300px;
        height: 120px;
    }

    .house-card__body {
        top: 178px;
        right: 140px;
        width: 260px;
        height: 155px;
    }

    .house-card__fence {
        left: 60px;
        bottom: 118px;
        height: 82px;
    }

    .house-card__truck {
        width: 145px;
        height: 65px;
        bottom: 96px;
        font-size: 9px;
    }

    .material--one {
        left: 70px;
        bottom: 40px;
    }

    .material--two {
        left: 240px;
        bottom: 34px;
    }

    .material--three {
        right: 45px;
        bottom: 34px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 46px 0;
    }

    .top-bar__items {
        justify-content: center;
        gap: 10px 16px;
        padding: 9px 0;
        font-size: 12px;
    }

    .logo__mark {
        width: 48px;
    }

    .logo__text strong {
        font-size: 18px;
    }

    .logo__text small {
        font-size: 9px;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(32px, 11vw, 46px);
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-feature:nth-child(2) {
        border-right: 0;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__region {
        align-items: flex-start;
        font-size: 14px;
    }

    .hero__visual {
        min-height: 355px;
    }

    .house-card {
        height: 340px;
        border-radius: 16px;
    }

    .house-card__roof {
        top: 62px;
        right: 80px;
        width: 210px;
        height: 90px;
    }

    .house-card__body {
        top: 140px;
        right: 90px;
        width: 205px;
        height: 122px;
    }

    .house-card__body:before,
    .house-card__body:after {
        top: 36px;
        width: 36px;
        height: 48px;
        border-width: 5px;
    }

    .house-card__body:before {
        left: 32px;
    }

    .house-card__body:after {
        right: 36px;
    }

    .house-card__fence {
        left: 28px;
        bottom: 105px;
        height: 62px;
    }

    .house-card__truck {
        right: 14px;
        bottom: 88px;
        width: 110px;
        height: 52px;
    }

    .material {
        min-width: auto;
        font-size: 8px;
    }

    .material--one {
        left: 24px;
        bottom: 30px;
        width: 120px;
        height: 56px;
    }

    .material--two {
        left: 134px;
        bottom: 26px;
        width: 110px;
        height: 62px;
    }

    .material--three {
        right: 18px;
        bottom: 28px;
        width: 120px;
        height: 58px;
    }

    .hero__image-name {
        position: static;
        display: inline-flex;
        margin-bottom: 12px;
    }

    .category-grid,
    .benefits__grid,
    .contacts-grid,
    .form__row {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .step-card {
        min-height: auto;
        padding: 18px 16px 22px;
        background: #fff;
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
    }

    .callback-card {
        padding: 16px;
    }

    .callback-card__promo {
        min-height: auto;
        padding: 24px;
    }

    .callback-card__image {
        position: static;
        width: 100%;
        height: 150px;
        margin-top: 20px;
    }

    .seo-text__content {
        padding: 20px;
    }

    .footer__inner {
        display: grid;
    }

    .footer__links {
        display: grid;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .hero-feature {
        border-right: 0;
        border-bottom: 1px solid var(--color-line);
    }

    .city-list {
        columns: 1;
    }
}
