:root {
  --ink: #26211d;
  --muted: #70675d;
  --line: #d8d0c4;
  --paper: #f6f1e8;
  --panel: #fffaf1;
  --steel: #39434b;
  --rust: #a54922;
  --rust-dark: #7b3119;
  --sand: #e5d7c3;
  --shadow: 0 18px 40px rgba(55, 43, 31, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
    repeating-linear-gradient(90deg, #f3eadc 0, #f3eadc 1px, transparent 1px, transparent 78px),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 232, .94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__bar {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 76px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--steel);
  border: 3px solid var(--rust);
  font-weight: 800;
  letter-spacing: .02em;
}

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

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

.logo small {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--rust);
}

.hero,
.section,
.notice,
.contacts,
.footer {
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  min-height: 520px;
  padding: 58px 24px 44px;
  display: grid;
  grid-template-columns: minmax(320px, 1.03fr) minmax(320px, .97fr);
  gap: 42px;
  align-items: center;
}

.hero__photo {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid #2b2d2f;
  background: #2f3437;
  box-shadow: var(--shadow);
}

.hero__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__text {
  max-width: 580px;
}

.label {
  margin: 0 0 12px;
  color: var(--rust-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: .96;
  max-width: 10ch;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero__text p:not(.label) {
  color: var(--muted);
  font-size: 18px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__meta span {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 12px;
  font-size: 14px;
}

.notice {
  margin-bottom: 26px;
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 241, .68);
}

.section {
  padding: 52px 24px;
}

.section__title {
  max-width: 720px;
  margin-bottom: 26px;
}

.section__title h2 {
  margin-bottom: 0;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}

.work-list article {
  min-height: 270px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.work-list article:last-child {
  border-right: 0;
}

.work-list p,
.split p,
.contacts p,
.steps span {
  color: var(--muted);
}

.number {
  display: block;
  color: var(--rust);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 44px;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.price-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 3px solid var(--steel);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.price-board div {
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-board span,
.price-board b {
  display: block;
}

.price-board span {
  color: var(--muted);
}

.price-board b {
  margin-top: 18px;
  font-size: 22px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps li {
  min-height: 190px;
  padding: 22px;
  background: #efe3d1;
  border-left: 5px solid var(--rust);
}

.steps b,
.steps span {
  display: block;
}

.steps b {
  margin-bottom: 14px;
}

.contacts {
  margin-top: 24px;
  padding: 38px 24px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  gap: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(43,47,50,.98), rgba(73,54,42,.96));
}

.contacts .label,
.contacts p {
  color: #f2d8bd;
}

.contact-card {
  font-style: normal;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 22px;
}

.contact-card a {
  color: #fff;
  font-weight: 700;
}

.footer {
  padding: 22px 24px 36px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .header__bar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

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

  h1 {
    max-width: 12ch;
  }

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

@media (max-width: 620px) {
  .hero {
    padding-top: 34px;
  }

  .hero__photo {
    min-height: 300px;
  }

  .work-list,
  .steps,
  .price-board {
    grid-template-columns: 1fr;
  }

  .work-list article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice {
    display: block;
  }
}
