/* ==========================================================================
   Стойки Полки — стили. Разделы идут в порядке появления в разметке.
   ========================================================================== */

/* ---- Сброс ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- Переменные ---- */
:root {
  --ink:        #000000;
  --navy:       #0A0F16;
  --navy-2:     #131B24;
  --bone:       #E8EAED;
  --muted:      #8A94A0;
  --ember:      #E08A3C;
  --ember-soft: #D09A74;
  --photo-bg:   #14181C;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Manrope', 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --header-h: 88px;
}

/* ---- База ---- */
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

section[id] { scroll-margin-top: var(--header-h); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ---- Общие элементы: пилюли и кнопки ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-light {
  background: var(--bone);
  color: var(--ink);
}
.btn-light:hover { background: var(--ember-soft); }

.btn-accent {
  background: var(--ember);
  color: var(--ink);
}
.btn-accent:hover { background: var(--ember-soft); }

.btn-outline {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--navy-2);
}
.btn-outline:hover { border-color: var(--ember); color: var(--ember); }

/* ---- Фирменный знак ---- */
.brand-mark { width: 1.9rem; height: auto; color: currentColor; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--bone); }
.brand-word {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   Header / навигация
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
}

.site-logo { grid-column: 1; justify-self: start; min-width: 0; }
.header-cta { grid-column: 3; justify-self: end; flex-shrink: 0; white-space: nowrap; }

.nav-pill {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
  background: rgba(16, 26, 40, 0.65);
  border: 1px solid rgba(232, 234, 237, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  max-width: 100%;
  overflow-x: auto;
}

.nav-link {
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-link:hover { color: var(--bone); }
.nav-link.is-active {
  background: var(--navy-2);
  color: var(--bone);
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 0.75rem;
  }
  .site-logo { grid-column: 1; grid-row: 1; min-width: 0; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .nav-pill { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

@media (max-width: 400px) {
  .header-cta { padding: 0.6em 1.1em; font-size: 0.8rem; }
  .brand-word { font-size: 0.8rem; }
  .brand-mark { width: 1.5rem; }
}

/* ==========================================================================
   Первый экран
   ========================================================================== */
/* Две колонки во всю ширину окна: текст 40% / изображение 60%,
   изображение выходит без отступа к правому краю экрана. */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
}

/* Едва заметный шум, чтобы чёрный фон не читался плоским пятном. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Слабое тёплое свечение, расходящееся от точки сварки влево, —
   чтобы левая половина экрана не была мёртвой чернотой. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 1400px 550px at 68% 93%, rgba(224, 138, 60, 0.06), transparent 70%);
}

.hero-text-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  padding-block: calc(var(--header-h) + 2rem) 8rem;
}

.hero-text {
  max-width: 34rem;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker-line {
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--ember);
}

.hero-title {
  font-size: clamp(2.1rem, 6vw, 4.7rem);
  line-height: 0.92;
  display: flex;
  flex-direction: column;
}
.hero-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.hero-title-sans {
  font-family: var(--font-sans);
  font-weight: 800;
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  margin-top: 2.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-inline: 1.5rem;
}
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--navy-2); }
.stat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--bone);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@property --mask-r {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none; /* пропускает события наведения к секции целиком */
  /* Растворяем левый и нижний край картинки в фоне, вместо жёсткого шва. */
  mask-image:
    linear-gradient(to right, transparent 0, black 220px),
    linear-gradient(to top, transparent 0, black 160px);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, black 220px),
    linear-gradient(to top, transparent 0, black 160px);
  -webkit-mask-composite: source-in;
  --mx: 50%;
  --my: 50%;
  --mask-r: 0px;
  transition: --mask-r 0.35s ease;
}
.hero-visual.is-active { --mask-r: 450px; }

.hero-visual img,
.hero-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Статичный кадр всегда виден целиком; видео проступает только
   внутри круглой маски, привязанной к позиции курсора. */
.hero-visual video {
  -webkit-mask-image: radial-gradient(circle var(--mask-r) at var(--mx) var(--my), black 0%, black 55%, transparent 100%);
  mask-image: radial-gradient(circle var(--mask-r) at var(--mx) var(--my), black 0%, black 55%, transparent 100%);
}

/* На тач-устройствах курсора нет, фонарик бессмысленен — видео играет
   целиком поверх статичного кадра, без круглой маски. Определяем по
   возможностям устройства, а не по ширине экрана: планшет с мышью
   получает десктопное поведение, телефон в альбомной ориентации — мобильное. */
@media (hover: none) and (pointer: coarse) {
  .hero-visual video {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.hero-glow {
  position: absolute;
  left: 51%;
  top: 93%;
  width: 14%;
  height: 14%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--ember) 0%, rgba(224, 138, 60, 0) 70%);
  opacity: 0.45;
  animation: glow-pulse 2.6s ease-in-out infinite;
}
.hero-visual.is-active .hero-glow {
  opacity: 1;
  animation-duration: 1s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; opacity: 0.5; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-corner {
  position: absolute;
  bottom: clamp(1.5rem, 5vh, 3rem);
  z-index: 2;
}
.hero-corner-left {
  left: clamp(1.25rem, 4vw, 3rem);
}
.hero-corner-right {
  right: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  text-align: right;
}

.corner-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.corner-note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 16rem;
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    padding-bottom: 12rem;
  }
  .hero-visual {
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    /* На узких экранах картинка занимает всю ширину — растворять край не нужно. */
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero-text-col {
    padding-block: 2.5rem 1rem;
  }
  .hero-text {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-corner { position: static; margin-top: 2rem; }
  .hero-corner-right { align-items: flex-start; text-align: left; }
  .hero { padding-bottom: 3rem; }
}

/* ==========================================================================
   Направления
   ========================================================================== */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-rule {
  flex: 1;
  height: 1px;
  background: var(--navy-2);
  position: relative;
}
.section-rule::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 3rem;
  height: 3px;
  background: var(--ember);
}

.directions { padding-block: clamp(4rem, 10vh, 7rem); }

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.direction-card {
  display: block;
  padding: 1.75rem;
  background: var(--navy);
  border: 1px solid var(--navy-2);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease;
}
.direction-card:hover { border-color: var(--ember); }
.direction-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.direction-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Каталог
   ========================================================================== */
.catalog-head {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 1rem;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumbs a:hover { color: var(--ember); }
.breadcrumbs [aria-current] { color: var(--bone); }

.catalog-title {
  margin-top: 0.5rem;
  line-height: 0.92;
  display: flex;
  flex-direction: column;
  font-size: clamp(1.5rem, 4vw, 3.1rem);
}
.catalog-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.catalog-title-sans {
  font-family: var(--font-sans);
  font-weight: 800;
}
.catalog-count {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- Витрина каталога: кроссфейд-карточка со сменяющимися фото ---- */
.showcase {
  padding-block: clamp(3rem, 8vh, 5rem);
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.showcase-title {
  margin-top: 0.5rem;
  line-height: 0.92;
  display: flex;
  flex-direction: column;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.showcase-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.showcase-title-sans {
  font-family: var(--font-sans);
  font-weight: 800;
}

.showcase-desc {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 28rem;
}

.showcase-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--muted);
  padding-bottom: 0.15rem;
}
.showcase-link:hover { color: var(--ember); border-color: var(--ember); }

.showcase-card {
  border-radius: 16px;
  border: 1px solid var(--navy-2);
  background: var(--navy);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.showcase-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--photo-bg);
  overflow: hidden;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 900ms ease-in-out, transform 3900ms linear;
}
.showcase-slide.is-active {
  opacity: 1;
  transform: scale(1.06);
  z-index: 1;
}
.showcase-slide .thumb-icon {
  width: 30%;
  height: 30%;
  color: var(--muted);
  opacity: 0.5;
}
.showcase-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.showcase-footer { padding: 1.1rem 1.25rem 0.9rem; }
.showcase-caption {
  font-size: 0.95rem;
  font-weight: 700;
}

.showcase-progress {
  height: 3px;
  background: var(--navy-2);
}
.showcase-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ember);
}

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
}

.catalog { padding-top: 1rem; padding-bottom: clamp(4rem, 10vh, 7rem); }

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-filter {
  background: var(--navy);
  border: 1px solid var(--navy-2);
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.pill-filter:hover { color: var(--bone); }
.pill-filter.is-active {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--ink);
}

.search-box input {
  background: var(--navy);
  border: 1px solid var(--navy-2);
  border-radius: 999px;
  padding: 0.6em 1.2em;
  color: var(--bone);
  min-width: 14rem;
}
.search-box input::placeholder { color: var(--muted); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--navy);
  border: 1px solid var(--navy-2);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.product-card:hover { border-color: var(--ember); }

.card-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--photo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-thumb .thumb-icon {
  width: 38%;
  height: 38%;
  color: var(--muted);
  opacity: 0.5;
}
.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body { padding: 1.1rem; }
.card-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.card-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-price {
  font-size: 0.9rem;
  color: var(--ember-soft);
}

.catalog-more { text-align: center; margin-top: 2.5rem; }
.catalog-empty { text-align: center; color: var(--muted); margin-top: 2.5rem; }

/* ---- Изделия на заказ: текстовый блок вместо карточек-заглушек ---- */
.custom-cta {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  background: var(--navy);
  border: 1px solid var(--navy-2);
  border-radius: 0.75rem;
}
.custom-cta-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}
.custom-cta-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
.custom-cta-title-sans {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--bone);
}
.custom-cta-text {
  max-width: 40rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bone);
}
.custom-cta-text + .custom-cta-text { margin-top: 1.1rem; }
.custom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.custom-cta-telegram {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--muted);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.custom-cta-telegram:hover { color: var(--ember); border-color: var(--ember); }

/* ---- Модальное окно карточки ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 17, 25, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--navy);
  border: 1px solid var(--navy-2);
  border-radius: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--navy-2);
  border-radius: 50%;
  z-index: 1;
}
.modal-close:hover { color: var(--ember); }

.modal-media {
  aspect-ratio: 1 / 1;
  max-height: 70vh;
  background: var(--photo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modal-media .thumb-icon {
  width: 30%;
  height: 30%;
  color: var(--muted);
  opacity: 0.5;
}
.modal-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-body { padding: 1.75rem; }
.modal-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.modal-body h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.modal-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ember);
  margin-bottom: 1rem;
}
.modal-desc { color: var(--muted); margin-bottom: 1.25rem; }
.modal-phone {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--muted);
}
.modal-phone:hover { color: var(--ember); border-color: var(--ember); }

/* ==========================================================================
   Работы
   ========================================================================== */
.works { padding-block: clamp(4rem, 10vh, 7rem); background: var(--navy); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.work-thumb {
  aspect-ratio: 4 / 3;
  background: var(--navy-2);
  border-radius: 0.5rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card figcaption {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   Цены
   ========================================================================== */
.prices { padding-block: clamp(4rem, 10vh, 7rem); }

.prices-table {
  width: 100%;
  border-collapse: collapse;
}
.prices-table th, .prices-table td {
  text-align: left;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--navy-2);
}
.prices-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.prices-table td.price-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ember);
  text-align: right;
}

.prices-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Контакты
   ========================================================================== */
.contacts { padding-block: clamp(4rem, 10vh, 7rem); background: var(--navy); }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-list { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item .contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-item .contact-value { font-size: 1.05rem; }

.phone-copy {
  border-bottom: 1px dashed var(--muted);
}
.phone-copy:hover { color: var(--ember); border-color: var(--ember); }

.telegram-link:hover { color: var(--ember); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--navy-2);
  border-radius: 0.4rem;
  padding: 0.75em 1em;
  color: var(--bone);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form button[type="submit"] { align-self: flex-start; }
.contact-form button[disabled] {
  background: var(--navy-2);
  color: var(--muted);
  cursor: not-allowed;
}
.form-note { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 760px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* ---- Уведомление о копировании ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(1rem);
  background: var(--bone);
  color: var(--ink);
  padding: 0.75em 1.4em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Подвал
   ========================================================================== */
.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--navy-2);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
  max-width: 20rem;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 600px) {
  .footer-meta { text-align: left; }
}

/* ==========================================================================
   Мелкая адаптивность
   ========================================================================== */
@media (max-width: 480px) {
  .catalog-controls { flex-direction: column; align-items: stretch; }
  .search-box input { width: 100%; }
}
