/* Repair page: workshop imagery and a lower, calmer first screen. */
.hero { min-height: 470px; }
.hero-photo { min-height: 420px; margin: 0; }
.hero-photo img { object-position: center; filter: saturate(.82) contrast(1.03); }

/* Contrast on the first screen makes the two repair actions immediately distinct. */
.hero-actions .btn:not(.ghost) {
  background: #1d1a18;
  border-color: #1d1a18;
  color: #fff;
  box-shadow: none;
}
.hero-actions .btn.ghost {
  background: transparent;
  border-color: #1d1a18;
  color: #1d1a18;
  box-shadow: none;
}
.hero-actions .btn:not(.ghost):hover { background: #39332e; border-color: #39332e; color: #fff; }
.hero-actions .btn.ghost:hover { background: #1d1a18; border-color: #1d1a18; color: #fff; }

/* One clear CTA language across the remaining repair landing. */
.btn,
.btn.gold,
.btn.ghost {
  background: #c6a362;
  border-color: #c6a362;
  color: #1d1a18;
  box-shadow: 0 8px 20px rgba(52, 38, 20, .15);
}
.btn:hover,
.btn.gold:hover,
.btn.ghost:hover {
  background: #af8747;
  border-color: #af8747;
  color: #1d1a18;
}
.hero-actions .btn:not(.ghost),
.hero-actions .btn.ghost { box-shadow: none; }

/* Six process cards form a calm, even 3 × 2 composition. */
.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.work,
.work.tall {
  min-height: 260px;
  grid-row: auto;
}

@media (min-width: 801px) {
  .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.price-cta { margin-top: 22px; }
.callback-send-note { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: #6d5128; }

/* Repair reviews fill two balanced rows without oversized cards. */
body[data-landing="Ремонт украшений"] .reviews-block__card {
  box-sizing: border-box;
  min-height: 128px;
  padding: 20px;
}
body[data-landing="Ремонт украшений"] .reviews-block__card p {
  margin: 20px 0 0;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.42;
}

/* A small, tactile visual cue keeps the repair route from reading as a wall of copy. */
.repair-process-gems {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #3b2e20;
}
.repair-process-gems i {
  display: block;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  background: #f3e2b8;
  border: 1px solid rgba(29, 26, 24, .24);
}
.repair-process-gems i:nth-child(2) { width: 12px; height: 12px; background: #e8c585; }
.repair-process-gems i:nth-child(3) { width: 23px; height: 23px; background: #f7eed9; }
.repair-process-gems span { font: 25px Georgia, serif; margin-left: 2px; }

.repair-cases {
  padding: 72px 7vw;
  background: #f3eee6;
}
.repair-cases__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.repair-cases__head h2 {
  margin: 0;
  font: 400 clamp(34px, 4vw, 58px) Georgia, serif;
}
.repair-cases__controls { display: flex; gap: 8px; }
.repair-cases__controls button {
  width: 46px;
  height: 46px;
  border: 1px solid #7e6f5b;
  border-radius: 50%;
  background: transparent;
  color: #1d1a18;
  cursor: pointer;
  font-size: 23px;
}
.repair-cases__controls button:hover { background: #d9b36d; border-color: #d9b36d; }
.repair-cases__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 28vw);
  grid-template-rows: 190px;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 5px;
}
.repair-cases__strip figure { margin: 0; overflow: hidden; scroll-snap-align: start; }
.repair-cases__strip img { width: 100%; height: 100%; display: block; object-fit: cover; }

@media (max-width: 800px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  section, section.block, .process, .price, .numbers, .steps, .step { min-width: 0; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 48px; padding-bottom: 32px; }
  .hero-photo { min-height: 270px; }
  .hero-photo img { object-position: center 46%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .work,
  .work.tall { min-height: 205px; }
  .price-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
  .price-head p { margin-top: 0; font-size: 16px; }
  .process-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 28px; width: 100%; }
  .step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; width: 100%; padding: 18px 0; border-right: 0; }
  .step p { grid-column: 2; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
  .step h3 { min-width: 0; font-size: 24px; overflow-wrap: anywhere; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 20px; }
  .numbers div { min-width: 0; padding: 18px 14px; }
  .numbers b { font-size: 25px; overflow-wrap: anywhere; }
  .numbers span { font-size: 13px; line-height: 1.42; overflow-wrap: anywhere; }
  .repair-cases { padding: 52px 20px; }
  .repair-cases__head { align-items: center; }
  .repair-cases__head h2 { font-size: 36px; }
  .repair-cases__controls button { width: 40px; height: 40px; }
  .repair-cases__strip { grid-auto-columns: minmax(210px, 76vw); grid-template-rows: 170px; }
}

@media (max-width: 720px) {
  body[data-landing="Ремонт украшений"] .reviews-block__card:nth-child(n+5) {
    display: block;
  }
}
