/* МастерБыт — блоки, добавленные 30.10.2026: мастер, примеры работ, адрес приёмки */

/* ---------- Мастер ---------- */
.mb-master {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
@media (max-width: 820px) {
  .mb-master { grid-template-columns: 1fr; }
}
.mb-master__photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle, rgba(255,255,255,.08));
  background: #111;
}
.mb-master__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.mb-master__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0b0b0b;
  background: var(--accent, #d8b56a);
}
.mb-master__body h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}
.mb-master__role {
  margin: 0 0 18px;
  opacity: .7;
  font-size: 15px;
}
.mb-master__quote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent, #d8b56a);
  background: rgba(255,255,255,.03);
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.55;
}
.mb-master__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mb-master__facts li {
  padding: 12px 14px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,.08));
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.mb-master__facts b { display: block; font-size: 17px; margin-bottom: 2px; }

/* ---------- Примеры работ ---------- */
.mb-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-top: 8px;
}
.mb-case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle, rgba(255,255,255,.08));
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.mb-case__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #141414;
}
.mb-case__photo--none {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .55;
  background: linear-gradient(135deg, rgba(216,181,106,.16), rgba(255,255,255,.02));
}
.mb-case__in { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mb-case__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.mb-case__what { margin: 0; font-size: 14px; line-height: 1.5; opacity: .78; }
.mb-case__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
  opacity: .9;
}
.mb-case__price {
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: #0b0b0b;
  background: var(--accent, #d8b56a);
}
.mb-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: .62;
}

/* ---------- Адрес приёмки ---------- */
.mb-addr {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.mb-addr__i {
  padding: 14px 16px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,.08));
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.mb-addr__i b { display: block; margin-bottom: 3px; font-size: 14px; opacity: .65; font-weight: 500; }

/* Иконки-заглушки вместо фото примеров и стопка документов */
.mb-case__photo--none {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  background: linear-gradient(135deg, rgba(216,181,106,.14), rgba(255,255,255,.02));
}
.mb-case__photo--none svg { width: 46px; height: 46px; opacity: .8; }
.mb-case__photo--none span { opacity: .8; }

.mb-docstack { display: grid; gap: 10px; }
.mb-docstack__i {
  padding: 14px 16px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,.08));
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(216,181,106,.10), rgba(255,255,255,.02));
}
.mb-docstack__i span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.mb-docstack__i small { font-size: 13px; opacity: .65; }
