:root {
  --ink: #0f0b12;
  --soft-ink: #221628;
  --muted: #746a76;
  --paper: #fffdf8;
  --ivory: #f7f1e7;
  --line: rgba(52, 38, 58, 0.15);
  --purple: #5d176f;
  --berry: #9f1f66;
  --gold: #c6a96c;
  --smoke: #f3eee6;
  --shadow: 0 28px 80px rgba(22, 13, 27, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(93, 23, 111, 0.12), transparent 24rem),
    radial-gradient(circle at 88% 14%, rgba(198, 169, 108, 0.16), transparent 20rem),
    linear-gradient(180deg, #fffdf8 0%, #f8f1e7 52%, #fffdf8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 11, 18, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black 0%, transparent 76%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.42) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(15,11,18,0.08) 0 1px, transparent 1px);
  background-size: 28px 28px, 44px 44px;
}

main {
  position: relative;
  z-index: 2;
}

.side-ambient {
  display: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1200px, calc(100% - 32px));
  min-height: 78px;
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(198, 169, 108, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 54px rgba(28, 17, 36, 0.1);
  backdrop-filter: blur(18px);
}

.brand img { width: 132px; max-height: 58px; height: auto; object-fit: contain; }
.nav { display: flex; justify-content: center; gap: 8px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--purple); background: rgba(93, 23, 111, 0.08); }

.inquiry-trigger,
.primary-action,
.secondary-action,
.filter-button,
.product-card button,
.icon-button {
  min-height: 42px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.inquiry-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  padding: 0 15px;
  color: #fffdf8;
  background: linear-gradient(135deg, #0f0b12, #31143a);
}
.inquiry-trigger span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--ink);
  background: #fffdf8;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: end;
  width: min(1200px, calc(100% - 32px));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: clamp(76px, 10vw, 138px) 0 54px;
  overflow: clip;
}

.hero-stage {
  position: absolute;
  inset: 22px -7vw 12px auto;
  width: min(780px, 74vw);
  pointer-events: none;
}
.hero-letter {
  position: absolute;
  right: 0;
  top: -16px;
  color: rgba(93, 23, 111, 0.11);
  font-size: clamp(250px, 46vw, 700px);
  font-weight: 950;
  line-height: 0.82;
  transform: rotate(-5deg);
  animation: monumental 8s ease-in-out infinite;
}
.product-orbit { position: absolute; inset: 0; }
.orbit-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(86px, 11vw, 148px);
  aspect-ratio: 1 / 1.26;
  padding: 12px;
  border: 1px solid rgba(198, 169, 108, 0.3);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 24px 68px rgba(20, 10, 28, 0.14);
  backdrop-filter: blur(14px);
  animation: productFloat 6s ease-in-out infinite;
}
.orbit-card img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(15, 11, 18, 0.14)); }
.orbit-card:nth-child(1) { right: 4%; top: 8%; animation-delay: -0.4s; }
.orbit-card:nth-child(2) { right: 38%; top: 18%; animation-delay: -1.7s; }
.orbit-card:nth-child(3) { right: 12%; top: 48%; animation-delay: -3.1s; }
.orbit-card:nth-child(4) { right: 56%; top: 54%; animation-delay: -4.5s; }
.orbit-card:nth-child(5) { right: 8%; bottom: 4%; animation-delay: -2.3s; }
.orbit-card:nth-child(6) { right: 36%; bottom: 10%; animation-delay: -5.2s; }

.scan-line {
  position: absolute;
  right: -3vw;
  top: 8%;
  width: 1px;
  height: 74%;
  background: linear-gradient(transparent, rgba(198, 169, 108, 0.9), transparent);
  animation: scan 5.5s ease-in-out infinite;
}

.hero-copy { position: relative; z-index: 2; max-width: 790px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(70px, 12vw, 158px);
  line-height: 0.86;
  font-weight: 950;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #33243a;
  font-size: clamp(19px, 3vw, 28px);
  line-height: 1.25;
  font-weight: 700;
}
.hero-actions, .modal-actions, .inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  padding: 0 18px;
  font-weight: 880;
}
.primary-action {
  color: #fffdf8;
  background: linear-gradient(135deg, #201025, var(--purple), var(--berry));
  box-shadow: 0 18px 42px rgba(93, 23, 111, 0.25);
}
.secondary-action {
  color: var(--purple);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
}

.hero-instrument {
  position: relative;
  z-index: 2;
  padding: 24px;
  border: 1px solid rgba(198, 169, 108, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-instrument span { color: var(--muted); font-weight: 860; }
.hero-instrument strong { display: block; margin: 8px 0; font-size: 66px; line-height: 0.9; }
.hero-instrument p { margin: 0; color: var(--muted); line-height: 1.4; }

.catalog-tools, .catalog, .news-section, .about-section, .contact {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.catalog-tools, .category-section, .news-section, .about-section, .contact { scroll-margin-top: 118px; }

.news-section {
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
}
.news-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}
.news-head h2,
.catalog-tools h2,
.about-section h2,
.contact h2,
.inquiry h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 0.98;
}
.news-date {
  display: grid;
  place-items: center;
  min-width: 116px;
  min-height: 116px;
  border: 1px solid rgba(198, 169, 108, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(32, 16, 37, 0.96), rgba(93, 23, 111, 0.92)),
    var(--purple);
  color: #fffdf8;
  box-shadow: 0 24px 62px rgba(93, 23, 111, 0.22);
}
.news-date span {
  font-size: 30px;
  font-weight: 950;
  line-height: 0.95;
}
.news-date strong {
  color: rgba(255,253,248,0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}
.news-event {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.84fr) minmax(0, 1.16fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(198, 169, 108, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,253,248,0.98), rgba(246,240,230,0.91)),
    radial-gradient(circle at 100% 0%, rgba(159, 31, 102, 0.12), transparent 14rem);
  box-shadow: 0 26px 74px rgba(22, 13, 27, 0.13);
  overflow: hidden;
}
.news-event::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--berry), var(--gold), var(--berry));
  background-size: 220% 100%;
  animation: newsLine 5.8s ease-in-out infinite;
}
.news-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}
.news-lead {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.05;
}
.news-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.news-details div {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-left: 3px solid rgba(198, 169, 108, 0.82);
  background: rgba(255,253,248,0.66);
}
.news-details span {
  color: var(--berry);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.news-details strong {
  color: #2d2033;
  font-size: 17px;
  line-height: 1.24;
}
.news-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 820;
}
.news-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 138px;
  gap: 10px;
}
.news-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(52, 38, 58, 0.12);
  border-radius: 8px;
  background: var(--smoke);
  box-shadow: 0 14px 34px rgba(22, 13, 27, 0.1);
  overflow: hidden;
}
.news-photo-large {
  grid-column: span 2;
  grid-row: span 2;
}
.news-photo-tall {
  grid-row: span 2;
}
.news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease, filter 560ms ease;
}
.news-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 11, 18, 0.22));
  opacity: 0;
  transition: opacity 220ms ease;
}
.news-photo:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}
.news-photo:hover::after { opacity: 1; }

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 20px;
  align-items: end;
  padding: 54px 0 24px;
  border-top: 1px solid var(--line);
}
.search-box { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 860; }
.search-box input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(52, 38, 58, 0.16);
  border-radius: 6px;
  padding: 0 16px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  outline: 0;
  box-shadow: 0 18px 42px rgba(22, 13, 27, 0.06);
}
.search-box input:focus { border-color: rgba(93, 23, 111, 0.52); box-shadow: 0 0 0 4px rgba(93, 23, 111, 0.12); }
.filters {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
}
.filter-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  padding: 0 15px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.92);
  font-weight: 880;
}
.filter-button.is-active {
  border-color: transparent;
  color: #fffdf8;
  background: linear-gradient(135deg, #0f0b12, #32153b);
}

.category-section { padding: 16px 0; }
.category-accordion {
  position: relative;
  border-top: 1px solid rgba(52, 38, 58, 0.12);
}
.category-accordion + .category-accordion { margin-top: 12px; }
.category-summary,
.group-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.category-summary::-webkit-details-marker,
.group-summary::-webkit-details-marker { display: none; }
.category-summary::marker,
.group-summary::marker { content: ""; }
.category-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(198, 169, 108, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 240, 230, 0.88)),
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 18rem);
  box-shadow: 0 18px 54px rgba(22, 13, 27, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.category-summary:hover {
  border-color: rgba(198, 169, 108, 0.48);
  box-shadow: 0 26px 70px rgba(22, 13, 27, 0.12);
  transform: translateY(-2px);
}
.category-summary:focus-visible,
.group-summary:focus-visible {
  outline: 3px solid rgba(93, 23, 111, 0.2);
  outline-offset: 4px;
}
.summary-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-left: 3px solid var(--accent);
  color: var(--berry);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.summary-title h2 {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.9;
}
.category-count,
.group-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 920;
  white-space: nowrap;
}
.summary-icon,
.group-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: linear-gradient(135deg, #201025, var(--purple), var(--berry));
  box-shadow: 0 12px 26px rgba(93, 23, 111, 0.22);
  transition: transform 220ms ease;
}
.summary-icon { width: 44px; height: 44px; }
.group-icon {
  width: 34px;
  height: 34px;
  background: rgba(93, 23, 111, 0.1);
  box-shadow: none;
}
.summary-icon::before,
.summary-icon::after,
.group-icon::before,
.group-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  color: #fffdf8;
}
.group-icon::before,
.group-icon::after { color: var(--purple); }
.summary-icon::before,
.group-icon::before { width: 16px; height: 2px; }
.summary-icon::after,
.group-icon::after { width: 2px; height: 16px; }
.category-accordion[open] > .category-summary .summary-icon,
.group-accordion[open] > .group-summary .group-icon { transform: rotate(45deg); }
.category-body {
  display: grid;
  gap: 14px;
  padding: 18px 0 28px;
  animation: accordionIn 360ms ease both;
}
.group {
  margin-top: 0;
  border: 1px solid rgba(52, 38, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 34px rgba(22, 13, 27, 0.06);
  overflow: hidden;
}
.group-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  transition: background 180ms ease;
}
.group-summary:hover { background: rgba(93, 23, 111, 0.045); }
.group-accordion[open] > .group-summary {
  border-bottom: 1px solid rgba(52, 38, 58, 0.1);
  background: rgba(255, 253, 248, 0.94);
}
.group h3 { margin: 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; }
.group-panel {
  padding: 18px;
  animation: accordionIn 320ms ease both;
}
.group-description { max-width: 860px; margin-bottom: 16px; color: var(--muted); line-height: 1.6; }
.group-description p, .group-description div { margin: 0; }
.group-description,
.group-description *,
.description,
.description * {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.group-description h1,
.group-description h2,
.group-description h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 254px auto 1fr auto;
  --product-image-max: 224px;
  min-height: 478px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.93);
  box-shadow: 0 18px 44px rgba(22, 13, 27, 0.08);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0.26);
  transform-origin: left;
  transition: transform 220ms ease;
}
.product-card:hover {
  border-color: rgba(198, 169, 108, 0.42);
  box-shadow: 0 28px 68px rgba(22, 13, 27, 0.15);
  transform: translateY(-4px);
}
.product-card:hover::before { transform: scaleX(1); }
.product-image {
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  margin-bottom: 12px;
  border: 1px solid rgba(198, 169, 108, 0.18);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,0.98), rgba(246,240,230,0.9) 70%),
    var(--smoke);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.62);
}
.product-image img {
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: var(--product-image-max);
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(15, 11, 18, 0.12));
  transition: transform 260ms ease;
}
.product-card:hover .product-image img { transform: scale(1.035); }
.product-card h3 { margin: 0; font-size: 19px; line-height: 1.12; }
.series-label { margin: 7px 0 0; color: var(--berry); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.product-card button { border: 0; padding: 0 12px; font-weight: 880; }
.details-button { color: #fffdf8; background: linear-gradient(135deg, #0f0b12, #32153b); }
.add-button { min-width: 44px; color: var(--purple); background: rgba(93, 23, 111, 0.08); }

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-top: 42px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(198, 169, 108, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,253,248,0.96), rgba(247,241,231,0.9)),
    radial-gradient(circle at 82% 12%, rgba(159, 31, 102, 0.12), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}
.about-section::before {
  content: "B";
  position: absolute;
  right: -0.06em;
  top: -0.18em;
  color: rgba(93, 23, 111, 0.055);
  font-size: clamp(280px, 38vw, 620px);
  line-height: 1;
  font-weight: 950;
  z-index: -1;
}
.about-content { min-width: 0; }
.about-section h2 {
  max-width: 740px;
  color: var(--soft-ink);
  font-size: clamp(36px, 5vw, 68px);
}
.about-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #33243a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.35;
  font-weight: 760;
}
.about-copy {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.about-copy p { margin: 0; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.about-stats div {
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(52, 38, 58, 0.12);
  border-radius: 8px;
  background: rgba(255,253,248,0.78);
  box-shadow: 0 14px 34px rgba(22, 13, 27, 0.06);
}
.about-stats strong {
  display: block;
  color: var(--purple);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 0.95;
}
.about-stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}
.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
}
.about-contact span,
.about-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,253,248,0.88);
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.about-contact span {
  color: #fffdf8;
  background: linear-gradient(135deg, #201025, var(--purple), var(--berry));
}
.about-visual {
  position: relative;
  min-height: clamp(500px, 46vw, 620px);
}
.about-photo,
.about-signature {
  position: absolute;
  border: 1px solid rgba(198, 169, 108, 0.3);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 68px rgba(22, 13, 27, 0.16);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 800ms ease, filter 800ms ease;
}
.about-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.05);
}
.about-photo-main {
  left: 0;
  top: 22px;
  width: 58%;
  height: 74%;
  z-index: 2;
}
.about-photo-side {
  right: 0;
  top: 0;
  width: 52%;
  height: 58%;
  z-index: 1;
}
.about-photo-wide {
  right: 7%;
  bottom: 0;
  width: 62%;
  height: 34%;
  z-index: 3;
}
.about-signature {
  left: 8%;
  bottom: 8%;
  z-index: 4;
  max-width: 280px;
  padding: 16px;
  color: #fffdf8;
  background: linear-gradient(135deg, rgba(15, 11, 18, 0.92), rgba(93, 23, 111, 0.82));
  backdrop-filter: blur(12px);
}
.about-signature span {
  display: block;
  color: rgba(255,253,248,0.72);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.about-signature strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 24px;
  align-items: stretch;
  padding: 72px 0 88px;
}
.contact-copy {
  align-self: center;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.contact-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(198, 169, 108, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,253,248,0.96), rgba(246,240,230,0.9)),
    radial-gradient(circle at 100% 0%, rgba(159, 31, 102, 0.12), transparent 12rem);
  box-shadow: 0 24px 68px rgba(22, 13, 27, 0.12);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--berry), var(--gold));
}
.contact-card-head {
  display: grid;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-card-head span {
  color: var(--berry);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card-head strong {
  color: var(--soft-ink);
  font-size: 24px;
  line-height: 1.08;
}
.contact-card address {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  color: #33243a;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}
.contact-people {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.contact-people a,
.facebook-link {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 13px 14px;
  border: 1px solid rgba(52, 38, 58, 0.12);
  border-radius: 8px;
  background: rgba(255,253,248,0.84);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.contact-people a:hover,
.facebook-link:hover {
  border-color: rgba(198, 169, 108, 0.46);
  box-shadow: 0 16px 36px rgba(22, 13, 27, 0.1);
  transform: translateY(-2px);
}
.contact-people span,
.facebook-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-people strong,
.facebook-link strong {
  color: var(--purple);
  font-size: 20px;
  line-height: 1.08;
}
.facebook-link {
  margin-top: 10px;
  color: #fffdf8;
  background: linear-gradient(135deg, #201025, var(--purple), var(--berry));
  border-color: transparent;
}
.facebook-link span { color: rgba(255,253,248,0.72); }
.facebook-link strong { color: #fffdf8; }

.site-footer {
  position: relative;
  z-index: 15;
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 38px;
  color: rgba(34, 22, 40, 0.62);
  pointer-events: auto;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(52, 38, 58, 0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--purple);
  text-decoration: none;
  pointer-events: auto;
}
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-footer a:hover::after {
  transform: scaleX(1);
}

.modal, .inquiry { position: fixed; z-index: 70; }
.modal { inset: 0; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 11, 18, 0.7); backdrop-filter: blur(8px); }
.modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 410px) minmax(0, 1fr);
  gap: 28px;
  width: min(1000px, calc(100% - 28px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 18px;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(0,0,0,0.32);
  overflow: auto;
}
.modal-image-wrap {
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(198,169,108,0.2);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 22%, rgba(255,255,255,0.98), rgba(246,240,230,0.9) 70%), var(--smoke);
}
.modal-image-wrap img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(15,11,18,0.13));
}
.modal-content { padding: 16px 12px 12px 0; }
.modal-content h2 { margin: 0 48px 18px 0; font-size: clamp(32px, 4vw, 56px); line-height: 0.98; }
.description { color: #302335; line-height: 1.62; }
.description br { content: ""; display: block; margin-top: 8px; }
.article-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.article-chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; color: var(--muted); background: rgba(255,255,255,0.55); font-size: 13px; }
.icon-button { display: grid; place-items: center; width: 42px; border: 1px solid var(--line); color: var(--ink); background: #fffdf8; font-size: 26px; }
.close-button { position: absolute; right: 14px; top: 14px; z-index: 2; }

.inquiry {
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-rows: auto minmax(100px, 1fr) auto;
  width: min(430px, calc(100vw - 36px));
  max-height: min(630px, calc(100vh - 36px));
  padding: 16px;
  border: 1px solid rgba(198,169,108,0.24);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 84px rgba(20,10,28,0.24);
  transform: translateY(calc(100% + 42px));
  transition: transform 240ms ease;
  pointer-events: none;
}
.inquiry.is-open {
  transform: translateY(0);
  pointer-events: auto;
}
.inquiry-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inquiry h2 { font-size: 30px; }
.inquiry-list { overflow: auto; padding: 12px 0; }
.inquiry-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.inquiry-item img { width: 54px; height: 54px; object-fit: contain; border-radius: 6px; background: var(--smoke); }
.inquiry-item strong { font-size: 14px; line-height: 1.2; }
.inquiry-item button { border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.empty-state { padding: 26px 8px; color: var(--muted); line-height: 1.5; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes productFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-16px,0) rotate(2deg); }
}
@keyframes monumental {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(-3deg) scale(1.025); }
}
@keyframes scan {
  0%, 100% { transform: translateX(0); opacity: 0.35; }
  50% { transform: translateX(-160px); opacity: 0.9; }
}
@keyframes accordionIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sideSweep {
  0% { transform: translateY(-160%); opacity: 0; }
  14% { opacity: 0.75; }
  62% { opacity: 0.42; }
  100% { transform: translateY(420%); opacity: 0; }
}
@keyframes sidePulse {
  0%, 100% { opacity: 0.28; transform: translateY(0) scaleX(0.62); }
  48% { opacity: 0.82; transform: translateY(-8px) scaleX(1); }
}
@keyframes sideMonogram {
  0%, 100% { opacity: 0.18; transform: translateY(0) rotate(-4deg); }
  50% { opacity: 0.32; transform: translateY(-14px) rotate(-1deg); }
}
@keyframes newsLine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@media (min-width: 1180px) {
  .side-ambient {
    position: fixed;
    top: 110px;
    bottom: 28px;
    display: block;
    width: 76px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.82;
    overflow: hidden;
  }
  .side-ambient-left { left: 0; }
  .side-ambient-right { right: 0; }
  .side-rail,
  .side-shimmer,
  .side-monogram,
  .side-word,
  .side-mark {
    position: absolute;
    display: block;
  }
  .side-rail {
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(198, 169, 108, 0.9), rgba(93, 23, 111, 0.35), transparent);
  }
  .side-ambient-left .side-rail { left: 29px; }
  .side-ambient-right .side-rail { right: 29px; }
  .side-shimmer {
    top: 0;
    width: 7px;
    height: 32%;
    background: linear-gradient(180deg, transparent, rgba(255,253,248,0.95), rgba(198,169,108,0.55), transparent);
    filter: blur(0.2px);
    animation: sideSweep 7.8s ease-in-out infinite;
  }
  .side-ambient-left .side-shimmer { left: 26px; }
  .side-ambient-right .side-shimmer { right: 26px; animation-delay: -3.9s; }
  .side-monogram {
    top: 11%;
    color: rgba(93, 23, 111, 0.28);
    font-size: 68px;
    line-height: 1;
    font-weight: 950;
    animation: sideMonogram 9s ease-in-out infinite;
  }
  .side-ambient-left .side-monogram { left: 8px; }
  .side-ambient-right .side-monogram { right: 8px; animation-delay: -4.4s; }
  .side-word {
    bottom: 12%;
    color: rgba(52, 38, 58, 0.35);
    font-size: 10px;
    font-weight: 920;
    letter-spacing: 0.42em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .side-ambient-left .side-word { left: 18px; }
  .side-ambient-right .side-word { right: 18px; }
  .side-mark {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 23, 111, 0.58), rgba(198,169,108,0.68));
    transform-origin: center;
    animation: sidePulse 5.8s ease-in-out infinite;
  }
  .side-ambient-left .side-mark { left: 12px; }
  .side-ambient-right .side-mark { right: 12px; }
  .side-mark-1 { top: 30%; }
  .side-mark-2 { top: 54%; animation-delay: -1.9s; }
  .side-mark-3 { top: 76%; animation-delay: -3.8s; }
}

@media (min-width: 1440px) {
  .side-ambient {
    width: 128px;
  }
  .side-ambient-left { left: max(16px, calc((100vw - 1440px) / 2)); }
  .side-ambient-right { right: max(16px, calc((100vw - 1440px) / 2)); }
  .side-ambient-left .side-rail { left: 54px; }
  .side-ambient-right .side-rail { right: 54px; }
  .side-ambient-left .side-shimmer { left: 51px; }
  .side-ambient-right .side-shimmer { right: 51px; }
  .side-ambient-left .side-monogram { left: 20px; font-size: 92px; }
  .side-ambient-right .side-monogram { right: 20px; font-size: 92px; }
  .side-ambient-left .side-word { left: 42px; }
  .side-ambient-right .side-word { right: 42px; }
  .side-ambient-left .side-mark { left: 31px; }
  .side-ambient-right .side-mark { right: 31px; }
}

@media (max-width: 980px) {
  .side-ambient { display: none; }
  .topbar { grid-template-columns: auto auto; }
  .nav { grid-column: 1 / -1; justify-content: start; overflow-x: auto; }
  .hero, .catalog-tools, .news-event, .about-section, .contact, .modal-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 74px; }
  .hero-stage { inset: 22px -36vw auto auto; width: 96vw; height: 520px; opacity: 0.9; }
  .news-gallery { grid-auto-rows: 128px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-visual { min-height: 560px; }
  .modal-image-wrap { min-height: 290px; }
  .modal-content { padding: 0; }
}

@media (max-width: 640px) {
  .topbar {
    top: 8px;
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: stretch;
    gap: 10px;
    padding: 10px;
  }
  .brand {
    align-self: center;
  }
  .brand img { width: 118px; }
  .nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow: visible;
  }
  .nav a {
    justify-content: center;
    min-width: 0;
    min-height: 38px;
    padding: 7px 8px;
    font-size: 12px;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    background: rgba(255, 253, 248, 0.7);
    border: 1px solid rgba(52, 38, 58, 0.09);
  }
  .nav a[href*="hurtowniaspinka"] {
    grid-column: 1 / -1;
  }
  .inquiry-trigger {
    justify-self: end;
    width: auto;
    min-width: 126px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
  .hero, .catalog-tools, .catalog, .news-section, .about-section, .contact { width: calc(100% - 20px); }
  .hero { padding-bottom: 26px; }
  .hero-stage { opacity: 0.72; }
  .hero-letter { font-size: 306px; }
  h1 { font-size: clamp(56px, 19vw, 78px); }
  .hero-actions, .modal-actions, .inquiry-actions { align-items: stretch; }
  .primary-action, .secondary-action { width: 100%; }
  .catalog-tools, .category-section, .news-section, .about-section, .contact { scroll-margin-top: 248px; }
  .catalog-tools h2, .news-head h2, .about-section h2, .contact h2 { font-size: 34px; }
  .news-section { padding-top: 40px; }
  .news-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-date {
    justify-self: start;
    min-width: 92px;
    min-height: 84px;
  }
  .news-date span { font-size: 24px; }
  .news-event {
    gap: 18px;
    padding: 16px;
  }
  .news-lead { font-size: 24px; }
  .news-details strong { font-size: 15px; }
  .news-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 142px;
  }
  .news-photo-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .news-photo-tall {
    grid-row: span 2;
  }
  .category-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }
  .summary-kicker { grid-column: 1 / -1; width: fit-content; }
  .summary-title { min-width: 0; }
  .summary-title h2 { font-size: clamp(34px, 13vw, 56px); }
  .category-count { grid-column: 1; }
  .summary-icon { grid-column: 2; grid-row: 2 / span 2; }
  .category-body { padding: 12px 0 20px; }
  .group-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 15px;
  }
  .group h3 { font-size: 22px; }
  .group-count { grid-column: 1; }
  .group-icon { grid-column: 2; grid-row: 1 / span 2; }
  .group-panel { padding: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-rows: 196px auto 1fr auto; --product-image-max: 166px; min-height: 402px; }
  .about-section {
    margin-top: 28px;
    padding: 18px;
  }
  .about-section h2 { font-size: 33px; }
  .about-lead { font-size: 17px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-visual {
    min-height: 520px;
  }
  .about-photo-main {
    left: 0;
    top: 0;
    width: 66%;
    height: 60%;
  }
  .about-photo-side {
    right: 0;
    top: 78px;
    width: 52%;
    height: 44%;
  }
  .about-photo-wide {
    left: 12%;
    right: auto;
    bottom: 0;
    width: 78%;
    height: 34%;
  }
  .about-signature {
    left: 0;
    bottom: 36%;
    max-width: 245px;
    padding: 13px;
  }
  .about-signature strong { font-size: 15px; }
  .contact {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 68px;
  }
  .contact-card {
    padding: 18px;
  }
  .contact-card-head strong {
    font-size: 22px;
  }
  .contact-people strong {
    font-size: 18px;
  }
  .site-footer {
    width: calc(100% - 20px);
    margin: -42px auto 28px;
  }
  .site-footer-inner {
    justify-content: flex-start;
    font-size: 11px;
  }
  .modal-card { width: calc(100% - 16px); max-height: calc(100vh - 16px); margin: 8px auto; padding: 12px; }
  .modal-content h2 { margin-right: 48px; font-size: 32px; }
}
