@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --white: #ffffff;
  --paper: #f8f7f3;
  --warm: #eee6d7;
  --ink: #23211e;
  --ink-soft: #4a4640;
  --muted: #7a746b;
  --red: #d84235;
  --red-dark: #a6342b;
  --line: rgba(35, 33, 30, 0.12);
  --line-strong: rgba(35, 33, 30, 0.2);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 186px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
}

.catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(720px, calc(100vw - 64px));
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .catalog-dropdown,
.nav-dropdown:focus-within .catalog-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 52px;
}

.dropdown-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(35, 33, 30, 0.12);
}

.dropdown-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  text-transform: none;
  letter-spacing: 0;
}

.dropdown-card:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.dropdown-card span {
  grid-row: 1 / span 2;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper);
}

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

.dropdown-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.dropdown-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.main-nav a,
.header-action,
.button,
.material-card,
.product-card,
.lead-form button {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav a:hover {
  color: var(--red);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-action:hover {
  background: var(--ink);
  color: var(--white);
}

.header-action:active,
.button:active,
.lead-form button:active,
.material-card:active,
.product-card:active {
  transform: translateY(1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 48px;
  min-height: 700px;
  padding: 64px 32px 56px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: -0.05em;
  font-weight: 400;
}

h1 {
  margin-top: 24px;
  max-width: 780px;
  font-size: clamp(54px, 6.5vw, 104px);
  line-height: 0.9;
}

h1 span {
  display: block;
  margin-left: 8vw;
  font-style: italic;
}

.hero-text {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}

.button-dark:hover {
  background: var(--red);
  border-color: var(--red);
}

.button-light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.button-light:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-media {
  align-self: center;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.cover {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

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

.cover-floor {
  aspect-ratio: 1.1 / 1;
}

.cover-floor img {
  object-fit: contain;
  padding: 28px;
}

.cover-door {
  grid-row: span 2;
  min-height: 460px;
}

.cover-stone {
  aspect-ratio: 1.25 / 1;
}

.catalog,
.selection,
.contacts {
  padding: 88px 32px;
}

.catalog {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto 42px;
}

.section-head h2,
.selection h2,
.contacts h2 {
  margin-top: 16px;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.96;
}

.section-head p:last-child {
  align-self: end;
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.45;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.material-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.material-card:hover {
  border-color: rgba(216, 66, 53, 0.55);
  transform: translateY(-2px);
}

.material-image {
  display: block;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: var(--paper);
}

.material-image img,
.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-content {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.material-content h3 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.96;
}

.material-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.selection {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  color: var(--white);
  background: var(--ink);
}

.selection .eyebrow {
  color: #e0b7a6;
}

.selection-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.selection article {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.selection h3 {
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 0.96;
}

.selection p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.55;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  background: var(--paper);
}

.category-hero {
  display: block;
  padding: 44px 32px 34px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.catalog-hero {
  min-height: auto;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--red);
}

.category-cover {
  display: none;
  min-height: 320px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.category-hero h1 {
  font-size: clamp(42px, 4.8vw, 70px);
}

.catalog-page,
.related-products {
  max-width: none;
  margin: 0 auto;
  padding: 52px 32px 88px;
  background: var(--white);
}

.catalog-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 92px;
  align-self: start;
}

.catalog-title h2 {
  margin-top: 14px;
  font-size: clamp(38px, 4.2vw, 70px);
  line-height: 0.98;
}

.catalog-count {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-controls {
  display: grid;
  gap: 18px;
  align-items: end;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.filter-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 4px;
}

.catalog-controls label.filter-group {
  display: grid;
  gap: 8px;
}

.catalog-controls > label {
  display: grid;
  gap: 8px;
}

.filter-group {
  min-width: 0;
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.filter-group > span,
.filter-group legend,
.catalog-controls > label > span {
  display: block;
  margin: 0 0 10px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-controls select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.catalog-controls select:focus {
  border-color: var(--red);
}

.filter-checks,
.filter-pills,
.filter-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-checks {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow: auto;
  padding-right: 4px;
}

.filter-check,
.filter-pill,
.filter-swatch {
  cursor: pointer;
  user-select: none;
}

.filter-check input,
.filter-pill input,
.filter-swatch input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.filter-check {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.25;
}

.filter-check::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.filter-check:has(input:checked)::before {
  border-color: var(--red);
  background:
    linear-gradient(135deg, transparent 42%, var(--white) 43% 57%, transparent 58%),
    var(--red);
}

.filter-check:has(input:checked) {
  color: var(--ink);
}

.filter-pill span {
  display: block;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-pill:hover span {
  border-color: rgba(216, 66, 53, 0.45);
}

.filter-pill:has(input:checked) span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.filter-swatch {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.2;
}

.filter-swatch > span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(35, 33, 31, 0.18);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.filter-swatch small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-swatch:has(input:checked) {
  color: var(--ink);
}

.filter-swatch:has(input:checked) > span {
  border-color: var(--red);
  box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 2px var(--red);
}

.filter-reset {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-results {
  min-width: 0;
}

.catalog-results .catalog-search {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.catalog-results .catalog-search span {
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-results .catalog-search input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.catalog-results .catalog-search input:focus {
  border-color: var(--red);
}

.filter-reset:hover {
  background: var(--red);
  border-color: var(--red);
}

.supplier-state {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 28px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
}

.supplier-state h3 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.96;
}

.supplier-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-card:hover {
  border-color: rgba(216, 66, 53, 0.5);
  transform: translateY(-2px);
}

.product-image-wrap {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.product-meta {
  min-height: 30px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.product-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.28;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.product-chips small {
  padding: 5px 7px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 10px;
  line-height: 1;
}

.empty-catalog {
  grid-column: 1 / -1;
  padding: 40px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 32px 84px;
}

.product-gallery {
  display: grid;
  place-items: center;
  min-height: 620px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  padding: 36px;
}

.product-info-panel {
  align-self: start;
  display: grid;
  gap: 20px;
  min-width: 0;
  padding-top: 12px;
}

.product-info-panel h1 {
  margin-top: 0;
  font-size: clamp(38px, 4.2vw, 72px);
  line-height: 0.98;
}

.product-description {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.product-details {
  display: grid;
  gap: 10px;
}

.product-details h2 {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.05;
}

.product-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-facts div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.product-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.product-variants {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 84px;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.variant-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.variant-card:hover {
  border-color: rgba(216, 66, 53, 0.5);
}

.variant-card span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--paper);
  overflow: hidden;
}

.variant-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.variant-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.variant-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 17px;
}

.contact-links a:hover {
  color: var(--red);
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}

.form-fields {
  display: grid;
  gap: 18px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.lead-form input {
  height: 50px;
  padding: 0 15px;
}

.lead-form textarea {
  min-height: 132px;
  padding: 15px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--red);
}

.lead-form small {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
}

.lead-form small.error {
  color: var(--red);
}

.lead-form button {
  min-height: 50px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form button:hover {
  background: var(--red);
}

.selection-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: end;
  padding: 96px 32px 72px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.selection-page-hero h1 {
  font-size: clamp(54px, 6.4vw, 112px);
}

.selection-page-hero p:last-child {
  max-width: 620px;
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.45;
}

.selection-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.selection-steps article {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.selection-steps article:last-child {
  border-right: 0;
}

.selection-steps span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.selection-steps h2 {
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 0.96;
}

.selection-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.arthouse-link-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 88px 32px;
  color: var(--white);
  background: var(--ink);
}

.arthouse-link-section .eyebrow {
  color: #e0b7a6;
}

.arthouse-link-section h2 {
  margin-top: 16px;
  font-size: clamp(44px, 5.4vw, 86px);
  line-height: 0.94;
}

.arthouse-link-section p {
  max-width: 640px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.arthouse-link-section img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.document-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 88px 32px 110px;
}

.document-page h1 {
  margin-top: 18px;
  font-size: clamp(48px, 6vw, 94px);
  line-height: 0.95;
}

.document-note {
  margin: 28px 0 36px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.document-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: docs;
  border-top: 1px solid var(--line);
}

.document-list li {
  counter-increment: docs;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.document-list li::before {
  content: counter(docs, decimal-leading-zero);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer {
  padding: 48px 32px 28px;
  color: var(--white);
  background: var(--ink);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  gap: 40px;
  align-items: stretch;
}

.footer-info {
  min-width: 0;
}

.footer-brand {
  display: grid;
  grid-template-columns: 260px minmax(0, 520px);
  gap: 48px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand img {
  width: 210px;
  filter: invert(1);
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 36px 0;
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-grid h3 {
  margin-bottom: 8px;
  color: #e0b7a6;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-requisites {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-requisites h3 {
  margin: 0 0 6px;
  color: #e0b7a6;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-requisites p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  border: 0;
  filter: grayscale(1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .selection-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selection-steps article {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-map iframe {
    min-height: 360px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .brand img {
    width: 162px;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .section-head,
  .selection,
  .contacts,
  .category-hero,
  .catalog-title,
  .product-page,
  .selection-page-hero,
  .arthouse-link-section,
  .footer-brand {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding: 54px 16px 46px;
  }

  h1 {
    font-size: clamp(46px, 14.5vw, 72px);
  }

  h1 span {
    margin-left: 13vw;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  .cover-door {
    min-height: 280px;
  }

  .catalog,
  .selection,
  .contacts,
  .category-hero,
  .catalog-page,
  .related-products,
  .product-page,
  .selection-page-hero,
  .arthouse-link-section,
  .document-page {
    padding: 64px 16px;
  }

  .selection-steps {
    grid-template-columns: 1fr;
  }

  .selection-steps article {
    min-height: auto;
    border-right: 0;
  }

  .site-footer {
    padding: 40px 16px 24px;
  }

  .footer-brand {
    gap: 20px;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .product-variants {
    padding: 0 16px 64px;
  }

  .catalog-title {
    gap: 10px;
  }

  .catalog-count {
    margin-bottom: 0;
  }

  .product-gallery {
    min-height: auto;
    aspect-ratio: 1;
  }

  .product-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .product-gallery img {
    max-height: none;
    padding: 22px;
  }

  .category-cover {
    display: none;
  }

  .section-head {
    gap: 22px;
  }

  .material-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-hero h1 {
    font-size: clamp(42px, 12.5vw, 66px);
  }

  .selection {
    gap: 34px;
  }

  .selection article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lead-form {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .header-action {
    min-height: 40px;
    padding: 0 13px;
    font-size: 10px;
  }

  .brand img {
    width: 142px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    gap: 10px;
  }

  .material-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer-bottom {
    display: grid;
  }

  .material-image {
    aspect-ratio: 1.34 / 1;
  }
}
