/* ==========================================================================
   Стеклорез — витрина. Дизайн перенесён из макета redesign/.
   Язык формы: плоскость, модульная сетка, волосяные линии вместо теней,
   нулевые скругления, оливковый акцент и заглавные микро-подписи.
   ========================================================================== */

:root {
  /* Поверхности и текст */
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --ink: #201e1d;
  --ink-2: #57544e;
  --ink-3: #7a766e;

  /* Линии — основной инструмент вёрстки вместо рамок и теней */
  --rule: #dcd8d0;
  --rule-2: #e4e0d8;

  /* Акцент */
  --accent: #6f7449;
  --accent-dark: #5b6039;
  --accent-tint: #eceadd;
  --accent-ink: #4b4f2c;

  /* Подвал */
  --dark: #201e1d;
  --dark-rule: #4a4844;
  --dark-muted: #9b9797;
  --dark-link: #b9bf90;

  /* Сетка */
  --shell: 1280px;
  --pad: clamp(20px, 4vw, 40px);

  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Типографика: значения из макета, сжимаются на узких экранах */
  --fs-hero: clamp(2.2rem, 5.2vw, 3.625rem);
  --fs-h1: clamp(2rem, 4vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 2.8vw, 2.0625rem);
  --fs-quote: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-lead: clamp(1rem, 1.3vw, 1.125rem);

  --fast: 0.15s ease;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1.1;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.shell.narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 18px;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* Фотографии печатаются чёрно-белыми; цвет возвращается при наведении,
   потому что цвет стекла — часть товара. */
.grayscale img {
  filter: grayscale(1);
  transition: filter 0.35s ease;
}

.card:hover .grayscale img,
.grayscale.is-color img {
  filter: none;
}

/* -------------------------------------------------------------- Подписи -- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.prose p {
  max-width: 62ch;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.prose-lead p:first-child {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
}

.prose-sm p {
  font-size: 15px;
  margin-bottom: 12px;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 13px;
}

/* -------------------------------------------------------------- Кнопки --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast);
}

/* Полоска вместо стрелки — в этой системе указатель тоже прямая линия */
.btn-solid::after,
.btn-light::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin-left: auto;
}

.btn-solid {
  min-width: 220px;
  background: var(--accent);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--accent-dark);
  color: var(--bg);
}

.btn-outline {
  border-color: var(--rule);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--accent-tint);
  color: var(--ink);
}

.btn-sm {
  padding: 10px 14px;
  font-size: 12px;
  min-width: 0;
}

.btn-lg {
  padding: 18px 22px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.link-arrow::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: width var(--fast);
}

.link-arrow:hover::after {
  width: 34px;
}

/* --------------------------------------------------------------- Шапка --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--accent);
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-tagline {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.site-nav {
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: color var(--fast), border-color var(--fast);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.header-cta {
  align-self: center;
}

/* ---------------------------------------------------------- Первый экран - */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.hero {
  border-bottom: 1px solid var(--rule);
}

.hero-copy {
  padding: 72px 56px 56px 0;
  border-right: 1px solid var(--rule);
}

.hero-title {
  margin: 0 0 28px;
  font-size: var(--fs-hero);
  line-height: 1.05;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-text p {
  margin: 0 0 20px;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--rule);
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0 0;
}

/* Подписи переносятся на узких экранах — цифры всё равно должны стоять в ряд */
.hero-stats dd {
  margin-top: auto;
}

.hero-stats > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--rule-2);
}

.hero-stats dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-stats dd {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.014em;
}

.hero-media {
  position: relative;
  min-height: 620px;
  background: var(--surface);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-empty {
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  padding: 40px;
}

/* ------------------------------------------------------- Бегущая строка -- */

.marquee {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: tick 34s linear infinite;
}

.marquee-group {
  display: flex;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------------------- Секции --- */

.section {
  border-bottom: 1px solid var(--rule);
  padding: 64px 0 72px;
}

.section-tight {
  padding-top: 0;
}

.section-paper {
  background: var(--surface);
}

.section-center {
  text-align: center;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.section-head-tight {
  margin-bottom: 0;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.14;
  letter-spacing: -0.016em;
}

.subsection-title {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.014em;
  margin: 0 0 14px;
}

.page-head {
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
}

.page-title {
  margin: 0 0 16px;
  font-size: var(--fs-h1);
  line-height: 1.08;
}

.page-lead {
  margin: 0;
  max-width: 56ch;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}

.error-code {
  margin: 0 0 16px;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

/* ------------------------------------------------------------ Карточки --- */

/* Зазор в один пиксель поверх цвета линии превращает промежутки сетки
   в разделители — рамки на карточках не нужны. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
}

.card {
  background: var(--bg);
  transition: background-color var(--fast);
}

.card:hover {
  background: var(--surface);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
}

.card-link:hover {
  color: var(--ink);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--surface);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 24px;
  flex: 1;
}

.card-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.card-summary {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
}

.card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rule-2);
}

.card-price {
  font-size: 18px;
  font-weight: 650;
}

.card-specs {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Статус — только текстом, без плашек и точек */
.status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-available {
  color: var(--accent);
}

.status-sold {
  color: var(--ink-3);
}

.status-order {
  color: #8a5a13;
}

.status-chip {
  padding: 7px 12px;
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.status-chip.status-sold {
  background: var(--rule-2);
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- Шаги -- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  padding: 32px 28px 36px 0;
  border-top: 1px solid var(--rule-2);
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--rule-2);
}

.step-number {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.step-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.step-text {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------- Разделы --- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 32px;
  background: var(--bg);
  transition: background-color var(--fast);
}

.tile:hover {
  background: var(--surface);
  color: var(--ink);
}

.tile-title {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.014em;
}

.tile-text {
  font-size: 15px;
  color: var(--ink-2);
}

.tile-count {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

/* -------------------------------------------------------------- Фильтр --- */

.filters {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule-2);
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 22px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--fast), border-color var(--fast);
}

.filter:first-child {
  padding-left: 0;
}

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

.filter.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.filter-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

.pagination {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  padding: 40px 0 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rule-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--fast), background-color var(--fast);
}

.page-link:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.page-link.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* -------------------------------------------------------------- Изделие -- */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--ink-3);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span[aria-hidden] {
  color: #bab6b6;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1px;
  background: var(--rule-2);
}

.gallery {
  background: var(--bg);
  padding: 32px 32px 32px 0;
}

.gallery-main {
  position: relative;
  margin: 0 0 2px;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-rest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.gallery-rest figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}

.gallery-rest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-rail {
  background: var(--bg);
  padding: 32px 0 32px 32px;
}

.product-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.14;
}

.product-summary {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

.product-price {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.rail-note {
  margin: 12px 0 32px;
  font-size: 13px;
  color: var(--ink-3);
}

.notice {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-2);
}

.specs {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--rule-2);
}

.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-2);
}

.spec dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.spec dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.disclosure {
  margin-top: 24px;
  border-top: 1px solid var(--rule-2);
  padding-top: 16px;
}

.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.disclosure[open] summary {
  margin-bottom: 12px;
}

.product-story {
  border-top: 1px solid var(--rule-2);
  padding: 48px 0 64px;
  max-width: 74ch;
}

.story-title {
  margin: 0 0 20px;
  font-size: var(--fs-h2);
  line-height: 1.14;
}

/* --------------------------------------------------------- О мастерской -- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1px;
  background: var(--rule-2);
}

.about-text {
  background: var(--bg);
  padding: 56px 40px 64px 0;
}

.about-media {
  position: relative;
  min-height: 520px;
  background: var(--surface);
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Оливковая полоса-цитата */
.quote-band {
  border-bottom: 1px solid var(--rule);
  background: var(--accent);
  color: var(--bg);
  padding: 76px 0 80px;
}

.quote-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: end;
}

.quote-title {
  margin: 0;
  font-size: var(--fs-quote);
  line-height: 1.1;
  color: var(--bg);
}

.quote-text {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--accent-tint);
}

.quote-band .eyebrow {
  color: var(--accent-tint);
}

.quote-band .eyebrow-dot::before {
  background: var(--accent-tint);
}

/* ------------------------------------------------------------- Контакты -- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 24px 28px;
  background: var(--bg);
  transition: background-color var(--fast);
}

.contact-card:hover {
  background: var(--surface);
  color: var(--ink);
}

.contact-icon {
  display: block;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-value {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.014em;
  word-break: break-word;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
  margin-top: 56px;
}

.info-card {
  background: var(--bg);
  padding: 32px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------- Пусто --- */

.empty {
  padding: 64px 24px;
  text-align: center;
  border: 1px solid var(--rule-2);
  background: var(--bg);
}

.empty-title {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.014em;
}

.empty-text {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--ink-2);
}

/* -------------------------------------------------------------- Подвал --- */

.site-footer {
  margin-top: auto;
  background: var(--dark);
  color: var(--bg);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.9fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dark-rule);
}

.footer-wordmark {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-lead {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  color: #bab6b6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

.footer-col a {
  width: fit-content;
  font-size: 15px;
  color: var(--bg);
}

.footer-col a:hover {
  color: var(--dark-link);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

.footer-note {
  max-width: 52ch;
}

/* -------------------------------------------------------------- Адаптив -- */

@media (max-width: 1000px) {
  .hero-inner,
  .product,
  .about-layout,
  .quote-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 48px 0 40px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .hero-media {
    min-height: 420px;
  }

  .gallery,
  .product-rail,
  .about-text {
    padding: 28px 0;
  }

  .quote-inner {
    gap: 32px;
    align-items: start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .brand {
    padding: 14px 0;
  }

  .brand-tagline {
    display: none;
  }

  .header-cta {
    padding: 12px 16px;
    min-width: 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid var(--rule-2);
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 14px 16px;
    white-space: nowrap;
  }

  .nav-link:first-child {
    padding-left: 0;
  }

  .section {
    padding: 44px 0 48px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .card-body {
    padding: 14px 14px 18px;
    gap: 6px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-summary {
    display: none;
  }

  .card-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .step,
  .step + .step {
    padding: 24px 0 28px;
    border-left: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .btn-solid {
    min-width: 0;
  }
}

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