/* Два крупных превью рядом (план §7.9): «Нанесение» и «Пошив под заказ», 3:4, раскрываются под собой. */
.services { padding: 0 0 96px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__item { position: relative; display: block; min-width: 0; }
.duo__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--tone);
  overflow: hidden;
  cursor: pointer;
}
.duo__media .gm { position: absolute; left: 12%; top: 6%; width: 76%; height: 76%; }
.duo__media .gm--sew { left: 14%; top: 8%; width: 72%; height: 72%; }
.duo__media .art-demo {
  position: absolute;
  display: grid; place-items: center;
  pointer-events: none;
}
.duo__media .art-demo > * { max-width: 100%; max-height: 100%; }
.duo__media .art-demo .art__img { object-fit: contain; width: 100%; height: 100%; }

/* Макет на превью и на карточках метода: DTF как есть, плёнка силуэтом, вышивка нитью.
   Свои правила, чтобы блок не зависел от правки конструктора. */
.services .art__sil {
  width: 100%;
  height: 100%;
  background-color: var(--film, #fff);
  -webkit-mask: var(--mask, var(--demo-mask)) center / contain no-repeat;
  mask: var(--mask, var(--demo-mask)) center / contain no-repeat;
}
.services .art--flex .art__sil {
  background-color: var(--film, #F4F3EF);
  background-image: none;
  filter: none;
}
.services .art--flock .art__sil {
  background-color: #1a1a1a;
  background-image: none;
  filter: none;
}
.services .art--glitter .art__sil {
  background-color: transparent;
  background-image: radial-gradient(circle, #F4F3EF 1.6px, transparent 1.85px);
  background-size: 5px 5px;
  filter: none;
}
.services .art--reflective .art__sil {
  background-color: #8b9198;
  background-image: linear-gradient(115deg, #6e757c 0%, #6e757c 32%, #ffffff 46%, #ffffff 54%, #4e555c 68%, #aeb4ba 100%);
  background-size: 100% 100%;
  filter: none;
}
.services .art--stitch .art__thread {
  position: absolute;
  inset: 0;
  -webkit-mask: var(--mask, var(--demo-mask)) center / contain no-repeat;
  mask: var(--mask, var(--demo-mask)) center / contain no-repeat;
  background: repeating-linear-gradient(0deg, #f6f0e4 0 3px, transparent 3px 5px);
  mix-blend-mode: normal;
  pointer-events: none;
}
.duo__draw { position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; }
.duo__draw svg { width: 100%; height: 100%; overflow: visible; }
.duo__draw path, .duo__draw circle, .duo__draw line, .duo__draw rect { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.duo__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) 28px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.duo__cap h2 { font: 500 var(--fs-m) / 1.2 var(--disp); text-transform: uppercase; }
.duo__cap p { font-size: var(--fs-m); max-width: 36ch; text-wrap: balance; }
.duo__cap .link { pointer-events: none; font-size: var(--fs-s); color: var(--mute); }

/* Раскрытие под парой */
.duo__more { grid-column: 1 / -1; overflow: hidden; scroll-margin-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); }
.duo__more[hidden] { display: none; }
.more {
  padding: 40px var(--gutter) 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
  animation: moreIn var(--dur-big) var(--ease-big) both;
}
@keyframes moreIn { from { opacity: 0; transform: translateY(-8px); } }
.more > div { display: grid; gap: 18px; align-content: start; }
.more h3 { font: 500 var(--fs-m) / 1.2 var(--disp); text-transform: uppercase; }
.more p { font-size: var(--fs-m); max-width: 56ch; }
.more .t-s { max-width: 56ch; }
/* Методы — фото той же вещи, не строки. На узком экране одно фото в ряд, чтобы макет читался. */
.meth { display: grid; grid-template-columns: 1fr; gap: 20px; }
.meth button {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
}
.meth__shot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 0 0 0 transparent;
  transition: box-shadow var(--dur-state);
}
.meth button[aria-pressed="true"] .meth__shot { box-shadow: inset 0 0 0 1.5px var(--ink); }
.meth__shot .gm { position: absolute; left: 12%; top: 6%; width: 76%; height: 76%; }
.meth__shot .gm__img { width: 100%; height: 100%; object-fit: contain; }
.meth__shot .art {
  position: absolute;
  display: grid;
  place-items: center;
  pointer-events: none;
  cursor: default;
  overflow: hidden;
}
.meth__shot .art > * { max-width: 100%; max-height: 100%; }
.meth__shot .art svg { width: 100%; height: auto; }
.meth__cap { display: grid; gap: 2px; min-width: 0; }
.meth__name { font-weight: 500; font-size: var(--fs-s); line-height: 1.25; color: var(--ink); }
.meth__meta { font-size: var(--fs-s); line-height: 1.25; color: var(--mute); }
@media (min-width: 720px) {
  .meth { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}
.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: var(--fs-s); line-height: var(--lh-m); color: var(--mute); }
.steps li b { display: block; font-weight: 500; }
.steps li span { grid-column: 2; font-size: var(--fs-s); line-height: var(--lh-s); color: var(--mute); }
.brief { display: grid; gap: 16px; }
.brief .field--file { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-radius: 12px; background: var(--tone-2); padding: 8px 14px; }
.brief .field--file span:first-child { font-size: var(--fs-s); color: var(--mute); }
.brief .field--file label { cursor: pointer; }
.brief .field--file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brief__row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

@media (max-width: 1023px) {
  .services { padding-bottom: 56px; }
  .duo { grid-template-columns: 1fr; }
  .duo__cap { padding-bottom: 20px; gap: 8px; }
  .duo__cap p { font-size: var(--fs-s); line-height: var(--lh-s); }
  .more { grid-template-columns: 1fr; gap: 32px; padding: 28px var(--gutter) 8px; }
  .duo__item:nth-child(2) { order: 3; }
  .duo__more--print { order: 2; }
  .duo__more--sewing { order: 4; }
}
