/* ---------- Компактная версия: контакты сверху, прайс-карточки, плотные галереи ---------- */

.top-contacts {
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 162, 39, .22);
}
.top-contacts-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  padding-block: 9px;
}
.tc-link {
  font-size: 14px;
  font-weight: 600;
  color: #E6E0D6;
  letter-spacing: .01em;
  white-space: nowrap;
}
.tc-link:hover { color: var(--gold); }
.tc-link + .tc-link { position: relative; }
.tc-link + .tc-link::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .55);
  transform: translateY(-50%);
}
@media (max-width: 640px) {
  .top-contacts-inner { gap: 6px 20px; }
  .tc-link { font-size: 13px; }
  .tc-link + .tc-link::before { left: -11px; }
}

.hero-compact { padding-block: clamp(36px, 5vw, 72px) clamp(40px, 6vw, 80px); }
.hero-compact .hero-title { font-size: clamp(34px, 5.4vw, 62px); }
.hero-compact .hero-lead { max-width: 56ch; }

.sub-title {
  margin: 40px 0 18px;
  font: 500 13px/1.2 'Manrope', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.sub-title-invert { color: var(--gold); }

.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.price-card {
  margin: 0;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(12, 20, 20, .22); }
.price-card img { display: block; width: 100%; height: auto; }
.price-card figcaption {
  padding: 12px 16px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #EDE7DC;
  letter-spacing: .02em;
}
.price-note {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 70ch;
}
@media (max-width: 700px) {
  .price-cards { grid-template-columns: 1fr; }
}

.gallery-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-compact .gallery-item figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
}
@media (max-width: 900px) { .gallery-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gallery-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.video-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.video-grid-compact .vcard-media { aspect-ratio: 9 / 16; }
.video-grid-compact .vcard figcaption strong { font-size: 14px; }
.video-grid-compact .vcard figcaption span { font-size: 13px; }
@media (max-width: 1000px) { .video-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 780px) { .video-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .video-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.contacts-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.cc-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(230, 224, 214, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: #EDE7DC;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
a.cc-card:hover {
  border-color: rgba(201, 162, 39, .6);
  background: rgba(201, 162, 39, .08);
  transform: translateY(-2px);
}
.cc-key {
  font: 600 12px/1 'Manrope', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.cc-val { font-size: 16px; overflow-wrap: anywhere; }
.cc-card-plain { border-style: dashed; }
@media (max-width: 760px) { .contacts-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .contacts-cards { grid-template-columns: 1fr; } }

/* ---------- Главное фото в первом экране ---------- */
.hero-media {
  margin: 26px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink);
  cursor: zoom-in;
}
.hero-media img {
  display: block;
  width: 100%;
  height: clamp(280px, 46vh, 560px);
  object-fit: cover;
  object-position: center 40%;
}
.hero-media figcaption {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: #EDE7DC;
  opacity: .9;
}

/* ---------- Живой прайс и загруженные материалы ---------- */
.price-card-live {
  background: #1b1613;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.pc-head {
  padding: 16px 18px 12px;
  background: linear-gradient(135deg, #23443a, #16281f);
  border-bottom: 1px solid rgba(201, 162, 39, .25);
}
.price-card-live:nth-child(2) .pc-head { background: linear-gradient(135deg, #4a1620, #2a0d13); }
.pc-title { display: block; font: 700 22px/1.1 'Manrope', sans-serif; letter-spacing: .06em; color: #F3EAD8; }
.pc-sub { display: block; margin-top: 4px; font-size: 14px; color: rgba(243, 234, 216, .78); }
.pc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pc-table th, .pc-table td { padding: 9px 12px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pc-table th:first-child, .pc-table td:first-child { text-align: left; }
.pc-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pc-table tbody tr:last-child td { border-bottom: none; }
.pc-table tbody td { color: #E7E0D4; }

/* ---------- Панель статистики ---------- */
.ash-stats { position: fixed; inset: 0; background: rgba(10, 8, 7, .92); z-index: 999; overflow: auto; padding: 24px; font-size: 15px; }
.ash-stats-head { display: flex; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto 16px; }
.ash-stats-head strong { font: 700 18px/1.2 'Manrope', sans-serif; color: #F3EAD8; }
.ash-stats-close { margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.2); color: #E7E0D4; border-radius: 8px; width: 34px; height: 34px; cursor: pointer; }
.ash-stats-body { max-width: 900px; margin: 0 auto; background: #1b1613; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px 20px; color: #E7E0D4; }
.ash-stats-input { max-width: 260px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: #100d0b; color: #E7E0D4; }
.ash-stats-btn { margin-left: 10px; padding: 10px 16px; border-radius: 8px; border: none; background: #C9A227; color: #201a10; font-weight: 600; cursor: pointer; }
.ash-stats-msg { color: #B7ADA0; font-size: 13px; margin: 10px 0 0; }
.ash-stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0 20px; }
.ash-stats-card { background: #100d0b; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 14px; }
.ash-stats-card b { display: block; font-size: 26px; color: #C9A227; }
.ash-stats-card span { font-size: 12px; color: #B7ADA0; }
.ash-stats-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ash-stats-body h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #C9A227; }
.ash-stats-row { font-size: 14px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); word-break: break-word; }

/* Прайс-листы картинками */
.price-sheets{display:grid;grid-template-columns:1fr;gap:26px;margin-top:28px;max-width:720px}
.price-sheet{display:block;border-radius:14px;overflow:hidden;border:1px solid rgba(12,20,20,.10);
  box-shadow:0 12px 30px rgba(12,20,20,.12);background:#fff;transition:transform .18s ease,box-shadow .18s ease}
.price-sheet:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(12,20,20,.20)}
.price-sheet img{display:block;width:100%;height:auto}
.price-sheet::after{content:"Открыть в полном размере";display:block;padding:0 0 2px;font:600 14px/1.2 Manrope,sans-serif;color:#7d6a2a;opacity:.75}
.price-sheet span{display:block;padding:12px 16px;font:700 17px/1.3 Manrope,sans-serif;color:#12201F;
  border-top:1px solid rgba(12,20,20,.08)}
@media (max-width:760px){.price-sheets{grid-template-columns:1fr}}
