:root {
  --bg: #090a0d;
  --bg-deep: #060709;
  --surface: #12151b;
  --text: #f2efe9;
  --text-soft: #b6b1a9;
  --text-dim: #7d7972;
  --copper: #d48744;
  --ember: #e87a24;
  --gold: #f0b36a;
  --line: rgba(212, 135, 68, 0.22);
  --line-subtle: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==================== ШАПКА И ВКЛАДКИ БЕЗ РАМОК-КОРОБОК ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.94) 0%, rgba(9, 10, 13, 0.82) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 135, 68, 0.14);
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--copper);
}

.brand-mark__icon {
  width: 42px;
  height: 28px;
}

.brand-mark__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.top-nav__tab {
  position: relative;
  background: none;
  border: none;
  padding: 24px 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.25s ease;
}

.top-nav__tab:hover {
  color: var(--text);
}

.top-nav__tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.top-nav__tab.is-active {
  color: var(--gold);
}

.top-nav__tab.is-active::after {
  transform: scaleX(1);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phone {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
}

/* Переключение вкладок */
.tab-panel {
  display: none;
  animation: revealPanel 0.45s ease;
}

.tab-panel.is-active {
  display: block;
}

@keyframes revealPanel {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Кованый орнамент-разделитель */
.forged-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--copper);
}

.forged-ornament span {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper));
}

.forged-ornament span:last-child {
  background: linear-gradient(90deg, var(--copper), transparent);
}

.forged-ornament--left {
  justify-content: flex-start;
}

.forged-ornament--left span {
  width: 120px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

.forged-ornament i {
  font-style: normal;
  font-size: 0.75rem;
}

/* ==================== 1. ГЛАВНАЯ: БЕСШОВНОЕ СЛАЙД-ШОУ НА ВСЮ ШИРИНУ ==================== */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 86vh;
  min-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: layout paint style;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.hero-slide-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 1.6s ease-in-out;
}

.hero-slide-layer.is-current {
  opacity: 1;
}

.hero-slide-layer__glow {
  display: none;
}

/* Фото на всю ширину на собственном GPU-слое без тяжёлых пересчётов маски при смене кадра */
.hero-slide-layer__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.78;
  transform: translate3d(0, 0, 0) scale(1.02);
  -webkit-transform: translate3d(0, 0, 0) scale(1.02);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Единая неподвижная радиально-линейная вуаль, плавно растворяющая все 4 края фото в фон сайта */
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 84% 76% at 50% 56%, rgba(9, 10, 13, 0.08) 28%, rgba(9, 10, 13, 0.62) 68%, var(--bg) 98%),
    linear-gradient(180deg, var(--bg) 0%, rgba(9, 10, 13, 0.74) 24%, rgba(9, 10, 13, 0.14) 56%, rgba(9, 10, 13, 0.86) 88%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%);
}

.hero-stage__overlay {
  position: relative;
  z-index: 3;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 54px 32px 44px;
  min-height: 86vh;
  min-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Закрепляем текст в отдельной неизменяемой GPU-текстуре, чтобы буквы не моргали при фейде фона */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-header-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.hero-main-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: #faf6f0;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.85);
}

.hero-main-title span {
  display: block;
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  color: var(--gold);
}

.hero-main-lead {
  margin: 20px auto 0;
  max-width: 760px;
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  color: #ddd8cf;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.95);
}

.hero-slide-whisper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 2.8em;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  transition: opacity 0.38s ease;
  will-change: opacity;
}

.hero-slide-whisper.is-fading {
  opacity: 0;
}

.hero-slide-whisper__line {
  width: 44px;
  height: 1px;
  background: var(--copper);
}

/* ==================== ПОЛОСЫ В СТОЛБЕЦ БЕЗ НАЛОЖЕНИЯ ТЕКСТА НА ФОТО ==================== */
.bands-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0 64px;
}

.wide-band {
  position: relative;
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 36px clamp(24px, 5vw, 84px);
  display: grid;
  grid-template-columns: minmax(320px, 44%) minmax(0, 56%);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.wide-band--left {
  grid-template-columns: minmax(0, 56%) minmax(320px, 44%);
}

/* В --right текст слева (1), фото справа (2) */
.wide-band--right .wide-band__content {
  order: 1;
}
.wide-band--right .wide-band__visual {
  order: 2;
}

/* В --left фото слева (1), текст справа (2) */
.wide-band--left .wide-band__visual {
  order: 1;
}
.wide-band--left .wide-band__content {
  order: 2;
}

.wide-band__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  overflow: hidden;
  pointer-events: none;
}

/* Плавное растворение ВСЕХ четырёх краёв фотографии в цвет фона сайта (#090a0d) без резких швов */
.wide-band__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 82% 78% at 50% 50%, transparent 38%, rgba(9, 10, 13, 0.55) 72%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}

.wide-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) contrast(1.05);
}

.wide-band__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
}

.wide-band--right .wide-band__content {
  justify-self: end;
}

.wide-band--left .wide-band__content {
  justify-self: start;
}

.band-index {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper);
  margin-bottom: 10px;
}

.band-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 16px;
  color: #fbf8f3;
}

.band-text {
  font-size: 1.03rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 24px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  cursor: pointer;
  transition: gap 0.25s ease, border-color 0.25s ease;
}

.text-action:hover {
  gap: 16px;
  border-color: var(--gold);
}

/* ==================== ОБЩИЕ ЗАГОЛОВКИ ВНУТРЕННИХ ВКЛАДОК ==================== */
.page-intro {
  max-width: 1340px;
  margin: 0 auto 42px;
  padding: 54px 32px 0;
}

.page-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-sub {
  max-width: 680px;
  color: var(--text-soft);
  font-size: 1rem;
}

/* ==================== 2. КАТАЛОГ ИЗДЕЛИЙ ==================== */
.catalog-wrap {
  padding-bottom: 84px;
}

.filter-tabs {
  max-width: 1340px;
  margin: 0 auto 34px;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  border-bottom: 1px solid var(--line-subtle);
}

.filter-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 2px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.is-active {
  color: var(--gold);
  border-bottom-color: var(--ember);
}

.catalog-grid {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: rgba(18, 21, 27, 0.65);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card.is-hidden {
  display: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0d0f13;
}

.product-card__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card__main-img {
  transform: scale(1.03);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 9, 12, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}

.slider-nav:hover {
  background: var(--ember);
}

.slider-nav--prev { left: 10px; }
.slider-nav--next { right: 10px; }

.slider-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  padding: 3px 9px;
  background: rgba(8, 9, 12, 0.8);
  font-size: 0.75rem;
  color: var(--gold);
}

.slider-zoom-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  background: rgba(8, 9, 12, 0.8);
  border: none;
  border-bottom: 1px solid var(--copper);
  color: #f3ede4;
  font-size: 0.75rem;
  cursor: pointer;
}

.thumbs-strip {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  padding: 6px 0;
}

.thumb-btn {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  border-bottom: 2px solid transparent;
  background: #0c0e12;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
}

.thumb-btn.is-active {
  opacity: 1;
  border-bottom-color: var(--ember);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.tag {
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(9, 10, 13, 0.82);
  color: var(--gold);
}

.tag--dark {
  color: var(--text-soft);
}

.product-card__body {
  padding: 18px 4px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.product-card__specs {
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.84rem;
  color: #d6d1c9;
  margin-bottom: 18px;
}

.product-card__specs li::before {
  content: '◆ ';
  color: var(--copper);
  font-size: 0.65rem;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.card-order-link {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.card-order-link:hover {
  color: #fff;
}

/* ==================== 3. УСЛУГИ ЦЕХА: ПОЛНОШИРИННЫЕ ПОЛОСЫ + НЕСКОЛЬКО ФОТО С КРАЮ ==================== */
.services-showcase {
  padding-bottom: 70px;
}

.service-row {
  position: relative;
  width: 100%;
  padding: 68px 32px;
  border-top: 1px solid rgba(212, 135, 68, 0.16);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.service-row--reverse {
  grid-template-columns: 1fr 1.05fr;
}

.service-row--reverse .service-row__info {
  order: 2;
}

.service-row--reverse .service-row__gallery {
  order: 1;
}

.service-row__num {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 10px;
}

.service-row__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.service-row__desc {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 24px;
}

.service-row__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  font-size: 0.88rem;
  color: #e4dfd7;
}

/* Художественная композиция из 3 фотографий с краю с мягкими растворяющимися краями */
.service-row__gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 390px;
}

.srv-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  -webkit-mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, #000 58%, transparent 100%);
}

.srv-shot--main {
  grid-row: 1 / 3;
}

.srv-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.88);
  transition: transform 0.5s ease;
}

.srv-shot:hover img {
  transform: scale(1.05);
}

/* ==================== 4. РАСЧЁТ ЗАКАЗА БЕЗ РАМОК + ПРИКРЕПЛЕНИЕ ФАЙЛА ==================== */
.bespoke-order {
  position: relative;
  min-height: 82vh;
  padding: 56px 32px 96px;
  overflow: hidden;
}

.bespoke-order__ambient {
  position: absolute;
  top: 0;
  right: -6%;
  width: 56%;
  height: 100%;
  pointer-events: none;
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 70% 42%, #000 20%, transparent 88%);
  mask-image: radial-gradient(ellipse 80% 75% at 70% 42%, #000 20%, transparent 88%);
}

.bespoke-order__ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bespoke-order__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.bespoke-order__inner .page-heading {
  margin-top: 8px;
}

.forge-form {
  margin-top: 44px;
  display: grid;
  gap: 42px;
}

.forge-form__step {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: 16px;
}

.open-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.open-tag {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.22s, border-color 0.22s;
}

.open-tag:hover {
  color: var(--text);
}

.open-tag.is-selected {
  color: var(--gold);
  border-bottom: 2px solid var(--ember);
}

/* Зона прикрепления файла без тяжёлой коробки — чертёжные угловые засечки */
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  background: linear-gradient(90deg, rgba(212, 135, 68, 0.08), rgba(212, 135, 68, 0.02) 70%, transparent);
  border-left: 2px solid var(--copper);
  cursor: pointer;
  transition: background 0.25s ease;
}

.file-drop:hover,
.file-drop.is-dragover {
  background: linear-gradient(90deg, rgba(232, 122, 36, 0.18), rgba(212, 135, 68, 0.04) 80%, transparent);
}

.file-drop__icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  flex-shrink: 0;
}

.file-drop__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-drop__body strong {
  font-size: 1rem;
  color: var(--text);
}

.file-drop__body small {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.attached-files {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.attached-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--copper);
  font-size: 0.84rem;
}

.attached-item__thumb {
  width: 38px;
  height: 38px;
  object-fit: cover;
}

.attached-item__badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(212, 135, 68, 0.18);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.attached-item__remove {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 1.15rem;
  cursor: pointer;
  margin-left: 4px;
}

.attached-item__remove:hover {
  color: var(--ember);
}

/* Линейные поля ввода без рамок */
.forge-form__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}

.line-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.line-field--wide {
  grid-column: 1 / -1;
}

.line-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.line-field input,
.line-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 0;
  font-size: 1.05rem;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 0.25s;
}

.line-field input:focus,
.line-field textarea:focus {
  border-bottom-color: var(--gold);
}

.forge-form__submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
}

.forge-summary-line {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.forge-summary-line strong {
  color: var(--gold);
}

.forged-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 34px;
  background: linear-gradient(135deg, #c9681b 0%, #8f430d 100%);
  border: none;
  border-top: 1px solid rgba(255, 214, 165, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(201, 104, 27, 0.28);
  transition: transform 0.2s, box-shadow 0.25s, filter 0.25s;
}

.forged-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 20px 44px rgba(232, 122, 36, 0.4);
}

.forged-btn i {
  font-style: normal;
  transition: transform 0.2s;
}

.forged-btn:hover i {
  transform: translateX(4px);
}

.forged-btn--sm {
  padding: 10px 20px;
  font-size: 0.84rem;
}

.forged-btn--full {
  width: 100%;
}

/* ==================== 5. КОНТАКТЫ: КУЗНЕЧНАЯ СТИЛИЗАЦИЯ БЕЗ РАМОК ==================== */
.forge-contacts {
  position: relative;
  min-height: 84vh;
  padding: 68px 32px 96px;
  overflow: hidden;
}

.forge-contacts__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 66%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image:
    radial-gradient(ellipse 84% 80% at 72% 46%, #000 18%, rgba(0, 0, 0, 0.45) 56%, transparent 92%);
  mask-image:
    radial-gradient(ellipse 84% 80% at 72% 46%, #000 18%, rgba(0, 0, 0, 0.45) 56%, transparent 92%);
}

.forge-contacts__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) contrast(1.12) saturate(1.15);
}

.forge-contacts__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.contacts-monument-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  margin: 8px 0 32px;
}

.contacts-monument-title span {
  display: block;
  color: var(--gold);
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  margin-top: 6px;
}

.contacts-phone-hero {
  margin-bottom: 48px;
}

.contacts-phone-hero > a {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  letter-spacing: 0.04em;
  color: #fbf7f0;
  display: inline-block;
  transition: color 0.2s;
}

.contacts-phone-hero > a:hover {
  color: var(--gold);
}

.contacts-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}

.contacts-messengers button,
.contacts-messengers a {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  cursor: pointer;
}

.contacts-messengers button i,
.contacts-messengers a i {
  font-style: normal;
  color: var(--ember);
  margin-right: 6px;
}

.contacts-messengers button:hover,
.contacts-messengers a:hover {
  color: #fff;
}

.ledger-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.ledger-ext-link:hover {
  color: #fff;
  border-color: var(--gold);
  gap: 12px;
}

.footer__inner a {
  color: var(--text-soft);
  transition: color 0.2s;
}

.footer__inner a:hover {
  color: var(--gold);
}

/* Вертикальная кованая полоса без коробок */
.contacts-ledger {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 34px;
  max-width: 680px;
}

.ledger-item {
  position: relative;
}

.ledger-item::before {
  content: '◆';
  position: absolute;
  left: -38px;
  top: 2px;
  font-size: 0.72rem;
  color: var(--copper);
}

.ledger-item__label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 4px;
}

.ledger-item__val {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  color: var(--text);
  margin-bottom: 4px;
}

.ledger-item p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.master-word {
  margin-top: 56px;
  max-width: 720px;
}

.master-word p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  color: #ece6dc;
}

.master-word footer {
  margin-top: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ==================== ПОДВАЛ, ЛАЙТБОКС И МОДАЛКА ==================== */
.footer {
  border-top: 1px solid rgba(212, 135, 68, 0.14);
  padding: 28px 32px;
  background: var(--bg-deep);
}

.footer__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.footer__sep {
  color: var(--copper);
  font-size: 0.65rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  flex-direction: column;
  background: rgba(5, 6, 8, 0.95);
  backdrop-filter: blur(12px);
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__top {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  display: block;
}

.lightbox__count {
  font-size: 0.82rem;
  color: var(--gold);
}

.lightbox__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox__close {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__thumbs {
  max-width: 820px;
  width: 100%;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.86);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  background: #101217;
  border-top: 2px solid var(--copper);
  padding: 36px 32px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  margin-top: 4px;
}

.modal__subtitle {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.modal-clean-form {
  display: grid;
  gap: 22px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 130;
  max-width: 400px;
  background: #151820;
  border-left: 3px solid var(--ember);
  color: var(--text);
  padding: 15px 20px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 1080px) {
  .wide-band,
  .wide-band--left {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
  }
  .wide-band--right .wide-band__visual,
  .wide-band--left .wide-band__visual {
    order: 1;
    width: 100%;
    max-height: 360px;
  }
  .wide-band--right .wide-band__content,
  .wide-band--left .wide-band__content {
    order: 2;
    justify-self: start;
    max-width: 680px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
  }
  .service-row--reverse .service-row__info,
  .service-row--reverse .service-row__gallery {
    order: unset;
  }
}

@media (max-width: 880px) {
  .top-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(9, 10, 13, 0.97);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .top-nav.is-open {
    display: flex;
  }
  .top-nav__tab {
    padding: 14px 0;
    width: 100%;
    text-align: left;
  }
  .burger {
    display: flex;
  }
  .header__phone {
    display: none;
  }
  .forge-form__inputs {
    grid-template-columns: 1fr;
  }
  .service-row__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header__inner,
  .hero-stage__overlay,
  .page-intro,
  .filter-tabs,
  .catalog-grid,
  .service-row,
  .bespoke-order,
  .forge-contacts {
    padding-left: 18px;
    padding-right: 18px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .service-row__gallery {
    height: 280px;
  }
}
