:root {
  --bg: #100e0c;
  --bg-2: #181512;
  --bg-3: #221e19;
  --paper: #f3efe6;
  --paper-2: #e7e0d4;
  --ink: #171512;
  --text: #f3efe6;
  --muted: #b7b1a6;
  --muted-dark: #5e584f;
  --sand: #b6ae99;
  --clay: #c57b5a;
  --line: rgba(182, 174, 153, 0.22);
  --line-dark: rgba(23, 21, 18, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --nav: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

::selection {
  background: var(--clay);
  color: #1a120e;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--clay);
  color: #1a120e;
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

html.intro-seen .intro {
  display: none;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--bg);
  pointer-events: none;
  animation: introOut 0.7s var(--ease) 2.75s forwards;
}

.intro__lockup {
  display: grid;
  grid-template-columns: 29.5% 63.5%;
  column-gap: 7%;
  align-items: center;
  width: min(88vw, 760px);
}

.intro__sofa,
.intro__line {
  display: block;
  height: auto;
  opacity: 0;
}

.intro__sofa {
  width: 100%;
  animation: sofaIn 1.05s var(--ease) 0.15s forwards;
}

.intro__words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2%;
}

.intro__line--1 {
  width: 54.22%;
  animation: lineIn 0.7s var(--ease) 1.05s forwards;
}

.intro__line--2 {
  width: 100%;
  animation: lineIn 0.75s var(--ease) 1.5s forwards;
}

@keyframes sofaIn {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); }
  35% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0); }
}

@keyframes lineIn {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-10px); }
  100% { opacity: 1; clip-path: inset(0); transform: none; }
}

@keyframes introOut {
  to { visibility: hidden; opacity: 0; transform: translateY(-6%); }
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(16, 14, 12, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mark {
  display: flex;
  align-items: center;
}

.logo {
  display: block;
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="location"] {
  color: var(--text);
}

.nav a[aria-current="location"] {
  box-shadow: inset 0 -1px 0 var(--clay);
}

.header__where {
  margin: 0 auto 0 18px;
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header.is-listed .header__where {
  display: none;
}

.header__phone {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text);
  position: absolute;
  left: 12px;
}

.burger span { top: 21px; }
.burger span::before,
.burger span::after { content: ""; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--nav));
  padding: 48px 0;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #100e0c url("/assets/video/poster.jpg") center / cover no-repeat;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__panel {
  width: min(680px, 100%);
  padding: 28px 28px 22px;
  background: rgba(16, 14, 12, 0.72);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__whisper {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--sand);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero h1 em,
.page-hero h1 em {
  display: block;
  margin-top: 10px;
  font-style: italic;
  font-weight: 500;
  font-size: 0.46em;
  letter-spacing: 0;
  color: var(--sand);
}

.hero__actions,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--clay);
  color: #1a120e;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: #d38b69;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn--ghost:hover {
  background: rgba(243, 239, 230, 0.05);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 0;
}

.hero__facts div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.hero__facts dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.hero__facts a {
  border-bottom: 1px solid var(--clay);
}

.frame {
  position: relative;
  margin: 0;
}

.frame img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  flex: 1;
  object-fit: cover;
}

.frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 14px 0;
  color: var(--sand);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee__track span {
  padding-right: 32px;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  margin-bottom: 36px;
  align-items: end;
}

.section-head h2,
.page-hero h1,
.band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.96;
  margin: 0;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

.band--paper .lede,
.band--paper .section-head p {
  color: var(--muted-dark);
}

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

.step {
  min-height: 280px;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.step:hover {
  transform: translateY(-8px);
  border-color: var(--clay);
}

.step__n {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--clay);
  line-height: 1;
}

.step h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.band--paper {
  background: var(--paper);
  color: var(--ink);
}

.band--paper .eyebrow {
  color: #8a5a42;
}

.uslugi {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas: "invoice calc";
  gap: 18px;
  align-items: start;
}

.invoice {
  grid-area: invoice;
  display: grid;
  gap: 22px;
}

.invoice h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 11px 0;
  border-top: 1px solid var(--line-dark);
  text-align: left;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.row:hover {
  background: rgba(23, 21, 18, 0.04);
  padding-inline: 8px;
}

.row__name {
  font-weight: 600;
}

.row:hover .row__name {
  color: #8a5a42;
}

.row__price {
  font-variant-numeric: tabular-nums;
  color: var(--muted-dark);
  white-space: nowrap;
}

.row__pick {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(23, 21, 18, 0.2);
  font-size: 13px;
}

.row[aria-pressed="true"] .row__pick {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.calc {
  grid-area: calc;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  padding: 0;
}

.calc__setup {
  padding: 18px 18px 8px;
}

.calc__label {
  margin: 14px 0 8px;
  color: var(--sand);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calc__pieces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.calc__pieces button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid rgba(182, 174, 153, 0.35);
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
}

.calc__pieces button small {
  font-weight: 500;
  color: var(--sand);
  font-size: 12px;
}

.calc__pieces button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.calc__pieces button[aria-pressed="true"] small {
  color: #8a5a42;
}

.calc__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.calc__stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(182, 174, 153, 0.35);
}

.calc__stepper button {
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
}

.calc__stepper output {
  min-width: 28px;
  font: inherit;
  color: inherit;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.calc__cover {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 15px;
}

.calc__cover b {
  margin-left: auto;
  font-weight: 500;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
}

.calc__repairs {
  display: grid;
  gap: 8px;
}

.calc__repairs button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(182, 174, 153, 0.35);
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}

.calc__repairs button span:last-child {
  flex: none;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc__repairs button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.calc__repairs button[aria-pressed="true"] span:last-child {
  color: #8a5a42;
}

.calc__bill {
  flex: none;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: #100e0c;
}

.calc [hidden] {
  display: none !important;
}

.calc h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 0.95;
}

.calc__hint,
.calc__note,
.calc__empty {
  color: var(--sand);
  font-size: 14px;
}

.calc__lines {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.calc__lines:empty {
  display: none;
}

.calc__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(182, 174, 153, 0.2);
  color: var(--sand);
  font-size: 14px;
}

.calc__included {
  margin: 10px 0 0;
  color: var(--sand);
  font-size: 13px;
  line-height: 1.4;
}

.calc__lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(182, 174, 153, 0.2);
  padding-bottom: 8px;
}

.materials {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.materials button {
  flex: 1;
  min-height: 40px;
  border: 1px solid rgba(182, 174, 153, 0.35);
  font-size: 13px;
}

.materials button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
}

.calc__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 16px;
}

.calc__sum strong {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.calc .btn {
  width: 100%;
}

.facts {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 14px;
}

.fact {
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 220px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.fact:hover {
  transform: translateY(-6px);
  border-color: var(--clay);
}

.fact--wide {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  align-items: end;
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.9;
}

.fact p {
  margin: 12px 0 0;
  color: var(--muted);
}

.fact img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filters button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.filters button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 10px;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
}

.shot button {
  display: block;
  width: 100%;
  height: 100%;
}

.shot:first-child,
.shot:nth-child(6) {
  grid-row: span 2;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.shot:hover img {
  transform: scale(1.04);
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 12px;
  background: rgba(16, 14, 12, 0.72);
  font-size: 14px;
  pointer-events: none;
}

.shot.is-hidden {
  display: none;
}

.mosaic.is-filtered {
  grid-template-columns: 1fr 1fr 1fr;
}

.mosaic.is-filtered .shot:first-child,
.mosaic.is-filtered .shot:nth-child(6) {
  grid-row: auto;
  grid-column: auto;
}

.mosaic.is-pair {
  grid-template-columns: 1fr 1fr;
}

.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s var(--ease);
}

.faq summary:hover {
  color: var(--clay);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--clay);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details[open] p {
  animation: answerIn 0.4s var(--ease);
}

@keyframes answerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.rating {
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
}

.rating strong {
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 500;
  line-height: 0.8;
}

.rating p {
  margin: 8px 0 0;
  color: var(--muted);
}

.reviews__film {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.reviews__film h2 {
  margin: 6px 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.96;
}

.video {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  min-height: 0;
  background: #000;
}

.video video {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  background: #000;
}

.video figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.request {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
}

.request__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.request__map {
  position: relative;
  flex: 1 1 auto;
  min-height: 360px;
  overflow: hidden;
  background: #100e0c;
  border: 1px solid var(--line);
}

.request__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 150px);
  border: 0;
  background: #100e0c;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.reviews-yandex {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
}

.reviews-yandex iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 138%;
  height: 138%;
  border: 0;
  background: #fff;
  transform: scale(0.72);
  transform-origin: top left;
}

.request__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.request h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.address {
  font-style: normal;
}

.address p {
  margin: 0 0 8px;
}

.address a {
  border-bottom: 1px solid var(--clay);
}

.form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.form textarea {
  min-height: 90px;
  resize: vertical;
}

.form [hidden] {
  display: none !important;
}

.form__estimate > p:first-child {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.form__estimate ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.form__estimate li,
.form__estimate-sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.form__estimate-meta {
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.form__estimate-sum {
  align-items: baseline;
  border-bottom: 0;
}

.form__estimate-sum strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.form__pick {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 40px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.form__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form__photos:empty {
  display: none;
}

.form__photos li {
  position: relative;
  width: 76px;
  height: 76px;
}

.form__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form__photos button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  background: #100e0c;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
}

.form__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--clay);
}

.form__status {
  min-height: 1.2em;
  margin: 0;
  color: var(--sand);
}

.hp {
  position: absolute;
  left: -9999px;
}

.group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.group a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
  padding: 16px;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.group a:hover {
  transform: translateY(-8px);
  border-color: var(--clay);
}

.group small {
  color: var(--muted);
}

.group__note {
  color: var(--clay);
}

.group strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 88px;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer a:hover {
  color: var(--text);
}

.dock {
  display: none;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a {
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 36px 0 10px;
}

.offer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.offer b {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.9;
}

.prose {
  display: grid;
  gap: 14px;
  max-width: 68ch;
}

.service-photo {
  margin: 0 0 28px;
}

.service-photo img {
  display: block;
  width: 100%;
  height: min(480px, 56vw);
  object-fit: cover;
  background: var(--bg-2);
}

.service-copy {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 36px;
  align-items: start;
}

.service-copy h2,
.catalog h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.service-copy p {
  margin: 0 0 14px;
}

.service-copy aside {
  padding: 18px 18px 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.service-copy ul {
  margin: 0;
  padding: 0 0 8px 18px;
}

.service-copy li + li {
  margin-top: 8px;
}

.catalog + .catalog {
  margin-top: 22px;
}

.prose p {
  margin: 0;
}

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

.related a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
}

.related a:hover {
  border-color: var(--sand);
}

.lightbox {
  width: min(1080px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(16, 14, 12, 0.88);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  margin-inline: auto;
}

.lightbox figcaption {
  margin-top: 8px;
}

.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 980px) {
  .nav,
  .header__phone {
    display: none;
  }

  .header.is-listed .header__where {
    display: block;
  }

  .header__where {
    margin: 0 8px 0 auto;
    min-width: 0;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-align: right;
  }

  .burger {
    display: block;
  }

  .header__bar.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    padding: 18px 22px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .uslugi,
  .facts,
  .reviews,
  .request,
  .fact--wide {
    grid-template-columns: 1fr;
  }

  .request__map {
    min-height: 280px;
    flex: none;
    height: 280px;
  }

  .rating,
  .reviews__film {
    height: auto;
    min-height: 0;
  }

  .reviews-yandex {
    flex: none;
    height: 360px;
  }

  .video {
    flex: none;
  }

  .video video {
    height: auto;
    min-height: 0;
  }

  .hero {
    min-height: calc(100svh - var(--nav));
    align-items: flex-end;
    padding-bottom: 86px;
  }

  body.nav-open .dock {
    display: none;
  }

  .steps,
  .group,
  .related,
  .mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .service-photo img {
    height: min(240px, 62vw);
  }

  .service-copy {
    grid-template-columns: 1fr;
  }

  .shot:first-child,
  .shot:nth-child(6) {
    grid-row: auto;
    grid-column: span 2;
  }

  .invoice {
    display: none !important;
  }

  .uslugi {
    grid-template-areas: "calc";
  }

  .calc {
    position: static;
  }

  .hero__facts {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .dock {
    position: fixed;
    z-index: 25;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
  }

  .dock a {
    min-height: 54px;
    display: grid;
    place-items: center;
    font-size: 14px;
  }

  .dock a:last-child {
    background: var(--clay);
    color: #1a120e;
    font-weight: 600;
  }

  main {
    padding-bottom: 54px;
  }
}

@media (max-width: 680px) {
  .wrap,
  .header__bar {
    width: min(100% - 28px, 1180px);
  }

  .logo {
    height: 34px;
  }

  .steps,
  .group,
  .related,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic.is-pair {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 18px 0 72px;
  }

  .hero__panel {
    padding: 18px 16px 14px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero__actions {
    margin-top: 18px;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hero__facts dd {
    font-size: 22px;
  }

  .shot:first-child,
  .shot:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic {
    grid-auto-rows: 260px;
  }

  .row {
    grid-template-columns: 1fr auto;
  }

  .row__pick {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .offer b,
  .rating strong,
  .calc__sum strong {
    font-size: 56px;
  }

  .calc__sum strong {
    font-size: 40px;
  }
}

.motion .rise {
  opacity: 0;
  transform: translateY(48px);
}

.motion .rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}

.motion .step.rise.is-in:hover,
.motion .group a.rise.is-in:hover {
  transform: translateY(-8px);
}

.motion .fact.rise.is-in:hover {
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .hero__media video { display: none; }
  .intro__sofa,
  .intro__line { animation: none; opacity: 1; }
  .marquee__track,
  .shot img,
  .faq details[open] p { animation: none; transition: none; }
  .step:hover,
  .group a:hover,
  .fact:hover,
  .btn:hover { transform: none; }
}
