body.yandex-search-case-page {
  background: #fafafa;
  color: #111;
}

body.yandex-search-case-page .site-header,
body.yandex-search-case-page .yandex-search-case {
  background: #fafafa;
}

.yandex-search-case {
  padding-top: 54px;
}

.yandex-search-case article {
  display: grid;
}

.yandex-search-case figure,
.yandex-search-case p,
.yandex-search-case h1,
.yandex-search-case h2,
.yandex-search-case h3 {
  margin: 0;
}

.yandex-search-case img {
  display: block;
  width: 100%;
  height: auto;
}

.yandex-search-hero-section {
  grid-template-columns: 559px 520px;
  column-gap: 80px;
  align-items: center;
  margin-bottom: 74px;
}

.yandex-search-hero-image {
  display: grid;
  align-items: center;
  width: 559px;
  overflow: hidden;
  background: #eef0ef;
}

.yandex-search-hero-image img {
  width: 100%;
  height: auto;
}

.yandex-search-hero-copy {
  align-content: center;
  gap: 22px;
  width: 520px;
}

.yandex-search-hero-copy h1 {
  font-size: 68px;
  line-height: 0.94;
}

.yandex-search-hero-copy > p:not(.service-kicker) {
  width: 360px;
  font-size: 22px;
  line-height: 1.1;
  text-align: left;
}

.yandex-search-copy {
  width: 1040px;
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.yandex-search-copy p,
.yandex-search-copy h3 {
  font-size: 28px;
  line-height: 1.13;
}

.yandex-search-copy p {
  text-align: justify;
}

.yandex-search-copy p + p {
  margin-top: 18px;
  text-indent: 2.6em;
}

.yandex-search-copy--intro {
  margin-bottom: 62px;
}

.yandex-search-visual-pair {
  width: 900px;
  grid-template-columns: 410px 430px;
  column-gap: 60px;
  align-items: start;
  margin: 0 auto 72px;
}

.yandex-search-fit-photo,
.yandex-search-sketch {
  display: grid;
  background: #f6f6f4;
}

.yandex-search-fit-photo img,
.yandex-search-sketch img {
  object-fit: contain;
}

.yandex-search-detail {
  width: 620px;
  margin: 68px auto 68px;
}

.yandex-search-packaging {
  width: 740px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 68px auto 72px;
}

.yandex-search-packaging img {
  height: 100%;
  object-fit: cover;
}

.yandex-search-packaging-full img {
  height: auto;
  object-fit: contain;
}

.yandex-search-copy--cta {
  margin-top: 78px;
}

.yandex-search-request {
  display: grid;
  width: 1040px;
  max-width: 1040px;
  grid-template-columns: 330px minmax(0, 1fr);
  column-gap: 88px;
  margin: 142px auto 0;
  padding-top: 54px;
  border-top: 1px solid #111;
}

.yandex-search-request-kicker {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
}

.yandex-search-request h2 {
  font-size: 43px;
  line-height: 0.96;
}

.yandex-search-request-intro > p:not(.yandex-search-request-kicker) {
  width: 290px;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.12;
  text-align: left;
}

.yandex-search-request-form {
  display: grid;
  gap: 9px;
  align-content: start;
}

.yandex-search-request-form label {
  display: grid;
  gap: 2px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1;
}

.yandex-search-request-form input,
.yandex-search-request-form textarea {
  width: 100%;
  border: 1px solid #111;
  border-radius: 0;
  background: transparent;
  color: #111;
  box-sizing: border-box;
  font-family: var(--font-serif);
  font-size: 18px;
}

.yandex-search-request-form input {
  height: 36px;
}

.yandex-search-request-form textarea {
  height: 138px;
  resize: vertical;
}

.yandex-search-request-form button {
  justify-self: start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #111;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

@media (min-width: 901px) {
  .yandex-search-case {
    width: 1160px;
    max-width: 1160px;
  }
}

@media (max-width: 900px) {
  .yandex-search-case {
    width: 100%;
    padding-top: 24px;
  }

  .yandex-search-hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 46px;
  }

  .yandex-search-hero-image {
    order: 2;
    width: 100%;
  }

  .yandex-search-hero-copy {
    order: 1;
    width: auto;
    padding: 0 12px;
  }

  .yandex-search-hero-copy h1 {
    font-size: 40px;
    line-height: 0.96;
  }

  .yandex-search-hero-copy > p:not(.service-kicker) {
    width: auto;
    font-size: 17px;
    line-height: 1.12;
  }

  .yandex-search-copy,
  .yandex-search-visual-pair,
  .yandex-search-detail,
  .yandex-search-packaging {
    width: auto;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .yandex-search-copy p,
  .yandex-search-copy h3 {
    font-size: 18px;
    line-height: 1.18;
  }

  .yandex-search-copy p {
    text-align: left;
  }

  .yandex-search-copy p + p {
    margin-top: 12px;
    text-indent: 0;
  }

  .yandex-search-copy--intro {
    margin-bottom: 36px;
  }

  .yandex-search-visual-pair,
  .yandex-search-packaging {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 44px;
  }

  .yandex-search-detail {
    margin-top: 44px;
    margin-bottom: 44px;
  }

  .yandex-search-copy--cta {
    margin-top: 52px;
  }

  .yandex-search-request {
    width: auto;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 74px;
    padding-top: 32px;
  }

  .yandex-search-request h2 {
    font-size: 32px;
    line-height: 1;
  }

  .yandex-search-request-kicker,
  .yandex-search-request-intro > p:not(.yandex-search-request-kicker),
  .yandex-search-request-form label {
    font-size: 18px;
  }

  .yandex-search-request-intro > p:not(.yandex-search-request-kicker) {
    width: auto;
    margin-top: 12px;
  }
}
