/* Orion catalog — design tokens */
:root {
  --navy-950: #071525;
  --navy-900: #0b1f3a;
  --navy-800: #143a66;
  --navy-700: #1e4f85;
  --gold-500: #d4a017;
  --gold-400: #e8b923;
  --gold-300: #f0cc55;
  --steel-100: #f5f7fa;
  --steel-200: #e8eef5;
  --steel-300: #d0dae8;
  --steel-400: #9aadc4;
  --ink: #0f1724;
  --ink-muted: #4a5a70;
  --white: #ffffff;
  --danger: #c0392b;
  --ok: #1f7a4d;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.14);
  --header-h: 72px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-gold: min(52rem, 68vw, 900px);
  --glow-gold-sm: min(38rem, 56vw, 680px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--steel-100);
  line-height: 1.5;
  min-height: 100vh;
}

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

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Site chrome (topbar + header) */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--steel-200);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
}

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

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

.topbar__contacts,
.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.topbar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0.75;
  flex-shrink: 0;
}

.site-header {
  background: transparent;
  border-bottom: none;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  min-width: 0;
  z-index: 2;
  text-decoration: none;
  color: inherit;
}

.logo__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--navy-900);
  white-space: nowrap;
}

.logo__name span {
  color: var(--gold-500);
}

.logo__sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.15;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav__link {
  position: relative;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  color: var(--navy-900);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--navy-800);
  background: transparent;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 2;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-900);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cart-btn:hover {
  border-color: var(--gold-500);
  background: rgba(232, 185, 35, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
  color: var(--navy-900);
}

.cart-btn__label {
  font-weight: 650;
  color: inherit;
}

.cart-btn__sum {
  margin-left: 0.55rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--steel-300);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

.cart-btn__sum[hidden] {
  display: none !important;
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.cart-btn__count[hidden],
.cart-btn__count:empty,
.cart-btn__count[data-count="0"] {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-900);
}

/* Mega menu */
.catalog-mega {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(920px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.catalog-mega:hover .mega,
.catalog-mega:focus-within .mega,
.catalog-mega.is-open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega__item {
  padding: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.mega__item:hover {
  background: var(--steel-100);
  border-color: var(--steel-200);
}

.mega__item strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mega__item span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px rgba(212, 160, 23, 0.38);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn--outline {
  background: var(--white);
  border-color: var(--steel-300);
  color: var(--navy-900);
}

.btn--outline:hover {
  border-color: var(--navy-800);
}

.btn--dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-800);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 28rem 36rem at 6% 88%, rgba(30, 79, 133, 0.4), transparent 70%),
    linear-gradient(155deg, #050e1a 0%, var(--navy-950) 28%, var(--navy-900) 62%, #123458 100%);
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  right: max(-4rem, calc((100% - var(--max)) / 2 - 6rem));
  top: 2%;
  width: var(--glow-gold);
  height: var(--glow-gold);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 185, 35, 0.58) 0%,
    rgba(232, 185, 35, 0.28) 30%,
    rgba(232, 185, 35, 0.1) 55%,
    transparent 72%
  );
  filter: blur(2px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06) translate(-1%, 1%); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 65% at 72% 42%, black 15%, transparent 72%);
  opacity: 0.85;
  animation: gridDrift 22s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

.hero__lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__lines span {
  position: absolute;
  height: 1px;
  width: 48%;
  right: -6%;
  background: linear-gradient(90deg, transparent, rgba(232, 185, 35, 0.55), transparent);
  opacity: 0;
  animation: lineSweep 7s var(--ease) infinite;
}

.hero__lines span:nth-child(1) {
  top: 28%;
  animation-delay: 0s;
}

.hero__lines span:nth-child(2) {
  top: 48%;
  width: 38%;
  animation-delay: 2.3s;
}

.hero__lines span:nth-child(3) {
  top: 66%;
  width: 44%;
  animation-delay: 4.1s;
}

@keyframes lineSweep {
  0%, 15% { opacity: 0; transform: translateX(8%); }
  35%, 55% { opacity: 0.9; transform: translateX(0); }
  80%, 100% { opacity: 0; transform: translateX(-14%); }
}

.hero__stage {
  position: absolute;
  right: max(2%, calc((100% - var(--max)) / 2 + 0.25rem));
  top: 40%;
  width: min(56vw, 620px);
  aspect-ratio: 1;
  height: auto;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: auto;
}

.hero__stage::before {
  content: "";
  position: absolute;
  inset: 18% 12% 22%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(232, 185, 35, 0.42), transparent 68%),
    radial-gradient(ellipse at 50% 40%, rgba(90, 150, 220, 0.2), transparent 70%);
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero__stage .cfg__glb-loading {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 0;
  max-width: none;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  color: transparent;
  line-height: 0;
  overflow: hidden;
  border: 2px solid rgba(232, 185, 35, 0.22);
  border-top-color: var(--gold-400, #e8b923);
  animation: heroLoadSpin 0.75s linear infinite;
}

.hero__stage .cfg__glb-loading-label,
.hero__stage .cfg__glb-loading-track {
  display: none;
}

@keyframes heroLoadSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  background: transparent;
  opacity: 0;
  transition: opacity 0.85s var(--ease, ease);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
}

.hero__stage.is-ready .hero__canvas {
  opacity: 1;
}

.hero__canvas:active {
  cursor: grabbing;
}

.hero__orbit {
  position: absolute;
  right: max(2%, calc((100% - var(--max)) / 2 + 0.25rem));
  top: 40%;
  width: min(56vw, 620px);
  aspect-ratio: 1;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.hero__orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(232, 185, 35, 0.28);
  border-radius: 50%;
  animation: orbitSpin 28s linear infinite;
}

.hero__orbit-ring--2 {
  inset: 22%;
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 40s;
  animation-direction: reverse;
}

.hero__orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 14px rgba(232, 185, 35, 0.8);
  top: 18%;
  right: 28%;
  animation: orbitPulse 3.5s ease-in-out infinite;
}

.hero__orbit-dot--2 {
  top: 62%;
  right: 18%;
  width: 5px;
  height: 5px;
  animation-delay: 1.1s;
}

.hero__orbit-dot--3 {
  top: 40%;
  right: 48%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation-delay: 2s;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

.hero__shell {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 auto;
  align-self: center;
  padding: 4.5rem 0 2.5rem;
}

.hero__content {
  position: relative;
  width: min(100%, 720px);
  padding-left: 1.5rem;
  border-left: 2px solid rgba(232, 185, 35, 0.75);
  box-shadow: -18px 0 40px -28px rgba(232, 185, 35, 0.45);
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.8rem, 10vw, 6.4rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.hero__brand span {
  color: var(--gold-400);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 1.1rem;
  max-width: 22ch;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 2.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
  max-width: 54ch;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__cta .btn {
  min-height: 3rem;
  padding-inline: 1.35rem;
  font-size: 0.98rem;
}

.hero__fade-in {
  animation: riseIn 0.8s var(--ease) both;
}

.hero__fade-in--delay {
  animation-delay: 0.12s;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Metrics — part of hero, not a separate band */
.hero__metrics {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.65rem 0 1.85rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__metrics::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(72%, 720px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(232, 185, 35, 0.55), transparent);
  pointer-events: none;
}

.hero__metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2.5rem;
}

.hero__metric {
  position: relative;
  padding: 0.35rem 0 0.2rem;
}

.hero__metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.25rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(232, 185, 35, 0.35),
    transparent
  );
}

.hero__metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--gold-400);
  margin: 0 0 0.35rem;
  white-space: nowrap;
}

.hero__metric-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero__metric-value small {
  font-size: 0.48em;
  margin-left: 0.18em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero__metric-from {
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 0.12em;
  vertical-align: middle;
}

.hero__metric-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.4;
}

.hero__metric--factory .hero__metric-text {
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section--steel {
  background: var(--steel-100);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-900);
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

.section__lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section__head--wide {
  max-width: 44rem;
}

/* Home catalog — equal cards carousel */
.home-cat {
  position: relative;
  background: var(--white);
  padding: 3.5rem 0 3.75rem;
  overflow: visible;
}

.home-cat > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1320px);
}

.home-cat__head {
  margin-bottom: 1.5rem;
  padding: 0 2.75rem;
}

.home-cat__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
}

.home-cat__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.home-cat__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold-400);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.home-cat__all:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
}

.home-cat__slider {
  position: relative;
  padding: 0 2.75rem;
}

.home-cat__viewport {
  overflow: hidden;
}

.home-cat__track {
  display: flex;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-cat__track::-webkit-scrollbar {
  display: none;
}

.home-cat__arrow {
  position: absolute;
  top: 38%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-400);
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.12);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s, box-shadow 0.2s;
}

.home-cat__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-cat__arrow:hover:not(:disabled) {
  background: var(--gold-300);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 26px rgba(212, 160, 23, 0.3);
}

.home-cat__arrow:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  box-shadow: none;
  background: var(--steel-300);
  color: var(--white);
}

.home-cat__arrow--prev {
  left: 0;
}

.home-cat__arrow--next {
  right: 0;
}

.home-cat__card {
  position: relative;
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--steel-200);
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

/* Gold accent grows down the left edge */
.home-cat__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-400) 0%, rgba(232, 185, 35, 0.25) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
  z-index: 5;
}

.home-cat__card:hover,
.home-cat__card:focus-visible {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow:
    0 0 0 1px rgba(232, 185, 35, 0.22),
    0 16px 36px rgba(11, 31, 58, 0.1);
  outline: none;
}

.home-cat__card:hover::before,
.home-cat__card:focus-visible::before {
  transform: scaleY(1);
}

.home-cat__idx {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy-700);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0.4rem;
  pointer-events: none;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.3s var(--ease);
}

.home-cat__card:hover .home-cat__idx,
.home-cat__card:focus-visible .home-cat__idx {
  color: var(--navy-950);
  background: var(--gold-400);
  transform: scale(1.08);
}

.home-cat__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 1.5rem 1.15rem 1.1rem;
  background: var(--steel-100);
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

/* Light sweep across product image */
.home-cat__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 66%
  );
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.home-cat__card:hover .home-cat__media {
  background:
    radial-gradient(ellipse 75% 85% at 50% 42%, rgba(232, 185, 35, 0.16), transparent 58%),
    #eef2f7;
}

.home-cat__card:hover .home-cat__media::after,
.home-cat__card:focus-visible .home-cat__media::after {
  transform: translateX(130%);
}

.home-cat__media img {
  position: relative;
  z-index: 0;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 185px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.home-cat__card:hover .home-cat__media img,
.home-cat__card:focus-visible .home-cat__media img {
  transform: scale(1.08) translateY(-3px);
}

.home-cat__media--empty {
  background: var(--steel-200);
}

.home-cat__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
  padding: 1.05rem 1.15rem 1.2rem;
  transition: background 0.3s var(--ease);
}

.home-cat__card:hover .home-cat__body,
.home-cat__card:focus-visible .home-cat__body {
  background: #fcfcfd;
}

.home-cat__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-cat__teaser {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.home-cat__codes {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  transition: color 0.25s var(--ease);
}

.home-cat__card:hover .home-cat__codes,
.home-cat__card:focus-visible .home-cat__codes {
  color: var(--navy-800);
}

.home-cat__more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.25s var(--ease), transform 0.3s var(--ease);
}

.home-cat__more::after {
  content: " →";
  color: var(--gold-500);
  transition: margin-left 0.3s var(--ease), color 0.25s var(--ease);
}

.home-cat__card:hover .home-cat__more {
  color: var(--gold-500);
  transform: translateX(4px);
}

.home-cat__card:hover .home-cat__more::after {
  margin-left: 0.2em;
  color: var(--gold-400);
}

.home-cat__progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.home-cat__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--steel-300);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), width 0.25s var(--ease), border-radius 0.25s;
}

.home-cat__dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--gold-500);
  transform: none;
  cursor: default;
}

.home-cat__dot:not(.is-active):hover {
  background: var(--navy-700);
}

/* Home custom — typographic CTA + wireframe cabinets */
.home-custom {
  position: relative;
  overflow: visible;
  color: var(--white);
  padding: 0;
  background:
    radial-gradient(ellipse 42% 58% at 78% 48%, rgba(232, 185, 35, 0.22), transparent 62%),
    radial-gradient(ellipse 24rem 30rem at 8% 90%, rgba(30, 79, 133, 0.28), transparent 70%),
    linear-gradient(145deg, #040c16 0%, var(--navy-950) 50%, #0c2444 100%);
}

.home-custom__atmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.home-custom__glow {
  position: absolute;
  right: max(-3rem, calc((100% - var(--max)) / 2 - 5rem));
  top: 50%;
  width: var(--glow-gold);
  height: var(--glow-gold);
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(232, 185, 35, 0.62) 0%,
    rgba(232, 185, 35, 0.32) 28%,
    rgba(232, 185, 35, 0.14) 52%,
    transparent 72%
  );
  filter: blur(2px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}

.home-custom__grid {
  position: absolute;
  right: max(-2rem, calc((100% - var(--max)) / 2 - 4rem));
  top: 50%;
  width: var(--glow-gold);
  height: var(--glow-gold);
  transform: translateY(-50%);
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle, black 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, black 18%, transparent 72%);
  opacity: 0.7;
  animation: gridDrift 22s linear infinite;
}

.home-custom__ring {
  position: absolute;
  right: max(-4%, calc((100% - var(--max)) / 2 - 3rem));
  top: 50%;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 185, 35, 0.22);
  border-radius: 50%;
  transform: translateY(-52%);
  animation: orbitSpin 32s linear infinite;
}

.home-custom__ring--2 {
  width: min(30vw, 300px);
  right: max(2%, calc((100% - var(--max)) / 2 + 1rem));
  border-color: rgba(255, 255, 255, 0.1);
  animation-duration: 44s;
  animation-direction: reverse;
}

.home-custom__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(232, 185, 35, 0.85);
  top: 28%;
  right: max(12%, calc((100% - var(--max)) / 2 + 6rem));
  animation: orbitPulse 3.5s ease-in-out infinite;
}

.home-custom__dot--2 {
  top: 62%;
  right: max(6%, calc((100% - var(--max)) / 2 + 2rem));
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  animation-delay: 1.2s;
}

.home-custom__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1.35rem 1rem;
  min-height: 0;
  padding-block: 2.6rem 2.1rem;
  align-items: center;
  overflow: visible;
}

.home-custom__art {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  margin-top: -1.5rem;
  margin-right: -1.35rem;
  transform: translate(2.85rem, -2.75rem);
  overflow: visible;
}

.home-custom__art-stage {
  position: relative;
  width: 100%;
  height: min(400px, 48vh);
}

.home-custom__art .home-custom__btn {
  position: relative;
  z-index: 3;
  margin-top: -0.35rem;
}

.home-custom__stage {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  overflow: visible;
}

.home-custom__stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% 10%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(232, 185, 35, 0.48), transparent 68%),
    radial-gradient(ellipse at 50% 40%, rgba(90, 150, 220, 0.22), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
  animation: customGlowPulse 5s ease-in-out infinite;
}

@keyframes customGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.home-custom__stage .cabinet-showcase__canvas,
.home-custom__stage canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
  background: transparent;
  opacity: 0;
  transition: opacity 0.85s var(--ease, ease);
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.45));
}

.home-custom__stage[data-lock-view] canvas {
  cursor: pointer;
}

.home-custom__stage.is-ready .cabinet-showcase__canvas,
.home-custom__stage.is-ready canvas {
  opacity: 1;
}

.home-custom__stage .cfg__glb-loading,
.hero__stage .cfg__glb-loading,
.cabinet-showcase .cfg__glb-loading {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 0;
  max-width: none;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  color: transparent;
  line-height: 0;
  overflow: hidden;
  border: 2px solid rgba(232, 185, 35, 0.22);
  border-top-color: var(--gold-400, #e8b923);
  animation: heroLoadSpin 0.75s linear infinite;
}

.home-custom__stage .cfg__glb-loading-label,
.home-custom__stage .cfg__glb-loading-track,
.cabinet-showcase .cfg__glb-loading-label,
.cabinet-showcase .cfg__glb-loading-track {
  display: none;
}

.home-custom__cabs {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(232, 185, 35, 0.45));
}

.cab-draw {
  transform-origin: center;
  transform-box: fill-box;
}

.cab-draw--floor {
  animation: cabFloat 6.5s ease-in-out infinite;
}

.cab-draw--wall {
  animation: cabFloat 7.5s ease-in-out infinite 0.6s;
}

.cab-draw--box {
  animation: cabFloat 5.8s ease-in-out infinite 1.1s;
}

@keyframes cabFloat {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-7px); opacity: 1; }
}

.home-custom__content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  max-width: 44rem;
  align-self: center;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(232, 185, 35, 0.75);
  box-shadow: -18px 0 40px -28px rgba(232, 185, 35, 0.45);
}

.home-custom .section__eyebrow {
  color: var(--gold-400);
}

.home-custom__title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.05rem);
  font-weight: 700;
  margin: 0.7rem 0 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.home-custom__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 62ch;
}

.home-custom__footer {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-custom__path {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-custom__path i {
  display: block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), rgba(232, 185, 35, 0.15));
}

.home-custom__path span:first-child {
  color: var(--gold-400);
}

.home-custom__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 1.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold-400);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.home-custom__btn:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(232, 185, 35, 0.3);
}

/* Home flow / stages */
.home-flow {
  background: var(--white);
  padding: 3rem 0 3.25rem;
}

.home-flow__head {
  margin-bottom: 1.75rem;
}

.home-flow__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0.35rem 0 0;
  letter-spacing: -0.025em;
}

.home-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.5rem;
  position: relative;
}

/* Line connects step numbers only */
.home-flow__list::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  top: 1.05rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold-400),
    rgba(232, 185, 35, 0.45),
    var(--gold-400)
  );
  z-index: 0;
  pointer-events: none;
}

.home-flow__item {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  animation: flowIn 0.55s var(--ease) both;
}

.home-flow__item:nth-child(1) { animation-delay: 0.05s; }
.home-flow__item:nth-child(2) { animation-delay: 0.12s; }
.home-flow__item:nth-child(3) { animation-delay: 0.19s; }
.home-flow__item:nth-child(4) { animation-delay: 0.26s; }

.home-flow__num {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-950);
  background: var(--gold-400);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-flow__media {
  position: relative;
  display: block;
  width: 100%;
  height: 210px;
  padding: 0.2rem;
  margin: 0;
  box-sizing: border-box;
  background: #f3f6fa;
  border: 1px solid var(--steel-200);
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.home-flow__media:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.home-flow__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.home-flow__item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}

.home-flow__item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.home-flow__item:hover .home-flow__num,
.home-flow__item:focus-within .home-flow__num {
  background: var(--gold-300);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(212, 160, 23, 0.35);
}

.home-flow__item:hover .home-flow__media,
.home-flow__item:focus-within .home-flow__media {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.1);
  transform: translateY(-4px);
}

.home-flow__item:hover .home-flow__media img,
.home-flow__item:focus-within .home-flow__media img {
  transform: scale(1.04);
}

.home-flow__item:hover h3,
.home-flow__item:focus-within h3 {
  color: var(--navy-800);
}

/* Flow image lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(5, 14, 26, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__panel {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: min(88vh, 920px);
  width: auto;
  margin: 0;
  padding: 0.85rem 0.85rem 1rem;
  background: #f7f9fc;
  border: 1px solid rgba(232, 185, 35, 0.35);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.32s var(--ease);
}

.lightbox.is-open .lightbox__panel {
  transform: none;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(76vh, 820px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox__caption {
  margin: 0.75rem 0.35rem 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 21, 37, 0.88);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: var(--gold-400);
  color: var(--navy-950);
  outline: none;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes flowIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home map + lead form */
.home-map {
  position: relative;
  background: var(--steel-200);
}

.home-map__frame {
  position: relative;
  min-height: min(62vh, 520px);
  height: 520px;
  overflow: hidden;
}

.home-map__map {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--steel-300);
}

.home-map__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-map__pin {
  position: absolute;
  left: 35%;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 64px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(11, 31, 58, 0.4));
  animation: mapPinPulse 2.4s ease-in-out infinite;
}

.home-map__pin svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes mapPinPulse {
  0%, 100% { transform: translate(-50%, -100%) scale(1); }
  50% { transform: translate(-50%, -108%) scale(1.06); }
}

.home-map__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
  left: 0;
  right: 0;
}

.home-map__card {
  pointer-events: auto;
  width: min(100%, 420px);
  padding: 1.45rem 1.4rem 1.35rem;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-top: 3px solid var(--gold-400);
  box-shadow: 0 22px 56px rgba(11, 31, 58, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-map__card::before {
  display: none;
}

.home-map__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.home-map__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy-900);
}

.home-map__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.home-map__phones a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-500);
  white-space: nowrap;
  transition: color 0.2s;
}

.home-map__phones a:hover {
  color: var(--navy-800);
}

.home-map__addr {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--steel-200);
}

.home-map__form {
  display: grid;
  gap: 0.5rem;
}

.home-map__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.home-map__form input,
.home-map__form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--steel-300);
  border-radius: 0;
  background: var(--white);
  color: var(--navy-900);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.home-map__form textarea {
  resize: none;
  min-height: 0;
  line-height: 1.4;
}

.home-map__form input::placeholder,
.home-map__form textarea::placeholder {
  color: rgba(74, 90, 112, 0.55);
}

.home-map__form input:focus,
.home-map__form textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.15);
}

.home-map__submit {
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.15rem;
  padding: 0.65rem 1rem;
  border: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold-400);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.home-map__submit:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(232, 185, 35, 0.28);
}

/* Company — about */
.about-page .page-hero--compact {
  margin-bottom: 0;
}

.about-story {
  padding: 2.25rem 0 1.75rem;
  background: var(--white);
}

.about-story > .container {
  width: min(100% - 2rem, 1320px);
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  position: relative;
}

.about-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 2.25rem 2.75rem 2.25rem 0;
  background: var(--white);
  box-shadow: 12px 0 40px rgba(11, 31, 58, 0.04);
}

.about-story__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.12;
}

.about-story__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.about-story__body {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.about-story__body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.about-story__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.about-story__media {
  margin: -30px 0 0 -2.5rem;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--navy-900);
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-story__media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-400);
  z-index: 1;
}

.about-story__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

.about-story__media figcaption {
  padding: 0.7rem 1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-900);
}

.about-team {
  padding: 2.5rem 0 2.25rem;
  background: var(--steel-100);
}

.about-team > .container {
  width: min(100% - 2rem, 1320px);
}

.about-team__head {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 36rem;
}

.about-team__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.about-team__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.about-team__head-note {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.about-team__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.about-team__list li {
  display: grid;
  grid-template-columns: minmax(9.5rem, 38%) minmax(0, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
  overflow: hidden;
  min-height: 13.5rem;
}

.about-team__photo {
  margin: 0;
  overflow: hidden;
  background: var(--navy-900);
  position: relative;
  min-height: 100%;
}

.about-team__photo img {
  width: 100%;
  height: 100%;
  min-height: 13.5rem;
  object-fit: cover;
  object-position: center top;
  display: block;
  will-change: transform;
  transform: scale(1.08);
  transition: transform 0.15s linear;
}

.about-team__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.about-team__list h3 {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.25;
}

.about-team__role {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  line-height: 1.3;
}

.about-team__quote {
  margin: 0.55rem 0 0;
  padding: 0;
  border: none;
  font-size: 0.92rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy-700);
  background: transparent;
}

.about-team__quote::before {
  content: "“";
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-400);
  margin-right: 0.15em;
  vertical-align: -0.05em;
}

/* Company — client reviews stories carousel */
.about-reviews {
  padding: 2.25rem 0 2rem;
  background: var(--white);
  overflow: clip;
}

.about-reviews > .container {
  width: min(100% - 2rem, 1320px);
}

.about-reviews__head {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

.about-reviews__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.about-reviews__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.about-reviews__head-note {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.about-reviews__carousel {
  position: relative;
  padding: 0 3.25rem;
}

.about-reviews__stage {
  position: relative;
  height: clamp(30rem, 54vw, 36rem);
  perspective: 1600px;
  perspective-origin: 50% 42%;
  touch-action: pan-y;
}

.about-reviews__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 22rem);
  min-height: 28rem;
  margin: 0;
  padding: 2rem 1.4rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    transform 0.65s var(--ease),
    opacity 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    border-color 0.45s ease,
    filter 0.55s var(--ease);
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.about-reviews__slide.is-active {
  background: var(--white);
  border-color: var(--steel-300);
  box-shadow: var(--shadow-lg);
}

.about-reviews__slide[aria-hidden="true"] {
  pointer-events: none;
}

.about-reviews__avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 0 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-300);
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 185, 35, 0.28), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 2px solid var(--gold-400);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.18);
}

.about-reviews__quote {
  margin: 0;
  padding: 0;
  border: none;
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: none;
}

.about-reviews__quote::before,
.about-reviews__quote::after {
  content: none;
}

.about-reviews__slide:not(.is-active) .about-reviews__quote {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.about-reviews__slide.is-active .about-reviews__quote {
  max-height: none;
  overflow: visible;
}

.about-reviews__author {
  margin: 1.15rem 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.25;
}

.about-reviews__role {
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-muted);
  max-width: none;
}

.about-reviews__arrow {
  position: absolute;
  top: 46%;
  z-index: 6;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-400);
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.12);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s;
}

.about-reviews__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.about-reviews__arrow:hover {
  background: var(--gold-300);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 26px rgba(212, 160, 23, 0.3);
}

.about-reviews__arrow:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}

.about-reviews__arrow--prev {
  left: 0;
}

.about-reviews__arrow--next {
  right: 0;
}

.about-reviews__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.about-reviews__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--steel-300);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.about-reviews__dot:hover {
  background: var(--steel-400);
}

.about-reviews__dot.is-active {
  background: var(--gold-400);
  transform: scale(1.25);
}

.about-reviews__dot:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}

.about-close {
  padding: 0.5rem 0 2.5rem;
  background: var(--white);
}

.about-close__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
}

.about-close__line {
  flex: 1;
  height: 1px;
  background: var(--steel-300);
}

.about-close__mark {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-800);
  white-space: nowrap;
}

.co-more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--steel-200);
}

.co-more__card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.75rem 1.5rem 1.75rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--steel-200);
  transition: background 0.2s var(--ease);
}

.co-more__card:nth-child(n + 2) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--steel-200);
}

.co-more__card:hover {
  background: var(--steel-100);
}

.co-more__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

.co-more__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.co-more__card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.co-more__go {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy-800);
}

.co-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.co-links__head {
  margin-bottom: 1.75rem;
}

.co-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--steel-200);
}

.co-link-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.5rem 1.35rem 1.5rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--steel-200);
}

.co-link-card:nth-child(n + 2) {
  padding-left: 1.35rem;
}

.co-link-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

.co-link-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
}

.co-link-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.co-link-card__go {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy-800);
}

.co-links__head {
  margin-bottom: 1.75rem;
}

.co-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--steel-200);
}

.co-link-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.5rem 1.35rem 1.5rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--steel-200);
  transition: color 0.2s;
}

.co-link-card:nth-child(n + 2) {
  padding-left: 1.35rem;
}

.co-link-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

.co-link-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.co-link-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 28ch;
}

.co-link-card__go {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy-800);
}

.co-link-card:hover h3,
.co-link-card:hover .co-link-card__go {
  color: var(--gold-500);
}

.co-tech__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.co-tech__lead {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.co-tech__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--steel-200);
}

.co-tech__list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.1rem 1.25rem 0;
  border-bottom: 1px solid var(--steel-200);
}

.co-tech__list li:nth-child(3n + 2),
.co-tech__list li:nth-child(3n) {
  padding-left: 1.1rem;
}

.co-tech__list span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

.co-tech__list strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.co-tech__list em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.co-steps__head {
  margin-bottom: 1.75rem;
}

.co-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  counter-reset: none;
}

.co-steps__list li {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.co-steps__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

.co-steps__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900);
}

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

.co-steps__list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.co-steps__list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.co-adv__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.co-adv__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--steel-200);
}

.co-adv__item:first-child {
  border-top: 1px solid var(--steel-200);
}

.co-adv__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  padding-top: 0.2rem;
}

.co-adv__item h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.co-adv__item p {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.co-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem 3rem;
  align-items: start;
}

.co-why__grid > div p {
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
}

.co-why__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--steel-300);
}

.co-why__points li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--steel-300);
}

.co-why__points strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.co-why__points span {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.co-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2rem 0 0.5rem;
  border-top: 1px solid var(--steel-200);
}

.co-cta__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.co-cta__inner p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 42ch;
  line-height: 1.5;
}

.co-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* About company (unused on home for now) */
.about {
  position: relative;
  overflow: hidden;
}

.about__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 0% 0%, rgba(232, 185, 35, 0.09), transparent 55%),
    radial-gradient(ellipse 40% 45% at 100% 30%, rgba(20, 58, 102, 0.05), transparent 50%);
}

.about > .container {
  position: relative;
  z-index: 1;
}

.about__intro {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) 1.4fr;
  gap: 2.5rem 3.5rem;
  align-items: end;
  margin-bottom: 3.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--steel-200);
}

.about__stat {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(212, 160, 23, 0.85);
  box-shadow: -16px 0 36px -28px rgba(212, 160, 23, 0.55);
}

.about__years {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 12vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
}

.about__years span {
  color: var(--gold-500);
}

.about__years-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-muted);
  max-width: 16ch;
}

.about__copy .section__eyebrow {
  margin-bottom: 0.65rem;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 1rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.about__lead {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 42ch;
}

.about__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

.about__link::after {
  content: "";
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease), transform 0.25s var(--ease);
  transform-origin: left;
}

.about__link:hover {
  color: var(--gold-500);
}

.about__link:hover::after {
  width: 1.65rem;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.about__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  padding: 1.5rem 1.35rem 1.5rem 0;
  border-top: 1px solid var(--steel-200);
  transition: background 0.25s var(--ease);
}

.about__feature:nth-child(3n + 2),
.about__feature:nth-child(3n) {
  padding-left: 1.35rem;
}

.about__feature:nth-child(n + 4) {
  border-bottom: 1px solid var(--steel-200);
}

.about__index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  padding-top: 0.2rem;
  transition: transform 0.25s var(--ease);
}

.about__feature h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.about__feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.about__feature:hover .about__index {
  transform: translateX(3px);
}

/* Production tech band */
.tech {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 28rem 28rem at 92% 18%, rgba(232, 185, 35, 0.2), transparent 70%),
    linear-gradient(155deg, #050e1a 0%, var(--navy-950) 40%, var(--navy-900) 100%);
}

.tech .section__title {
  color: var(--white);
}

.tech .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.tech__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.tech__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0;
  border-top: 1px solid rgba(232, 185, 35, 0.28);
  padding-top: 1.5rem;
}

.tech__list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: -0.01em;
  color: var(--white);
  padding-right: 1.35rem;
  margin-right: 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.tech__list li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.tech__list span {
  color: var(--gold-400);
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 0.35em;
}

.split-cta__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.content-block a {
  font-weight: 700;
  color: var(--navy-900);
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--steel-200);
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.cat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-400) 0%, rgba(232, 185, 35, 0.25) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
  z-index: 5;
}

.cat-card:hover,
.cat-card:focus-visible {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow:
    0 0 0 1px rgba(232, 185, 35, 0.22),
    0 16px 36px rgba(11, 31, 58, 0.1);
  outline: none;
}

.cat-card:hover::before,
.cat-card:focus-visible::before {
  transform: scaleY(1);
}

.cat-card__idx {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy-700);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0.4rem;
  pointer-events: none;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.3s var(--ease);
}

.cat-card:hover .cat-card__idx,
.cat-card:focus-visible .cat-card__idx {
  color: var(--navy-950);
  background: var(--gold-400);
  transform: scale(1.08);
}

.cat-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1.35rem 1.1rem 1rem;
  background: var(--steel-100);
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 66%
  );
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.cat-card:hover .cat-card__media {
  background:
    radial-gradient(ellipse 75% 85% at 50% 42%, rgba(232, 185, 35, 0.16), transparent 58%),
    #eef2f7;
}

.cat-card:hover .cat-card__media::after,
.cat-card:focus-visible .cat-card__media::after {
  transform: translateX(130%);
}

.cat-card__media img {
  position: relative;
  z-index: 0;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.cat-card:hover .cat-card__media img,
.cat-card:focus-visible .cat-card__media img {
  transform: scale(1.08) translateY(-3px);
}

.cat-card__media--empty {
  background: var(--steel-200);
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
  padding: 1.05rem 1.15rem 1.2rem;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cat-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.cat-card__codes {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.cat-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.cat-card__count {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.cat-card__more {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.25s var(--ease), transform 0.3s var(--ease);
}

.cat-card__more::after {
  content: " →";
  color: var(--gold-500);
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.cat-card:hover .cat-card__more,
.cat-card:focus-visible .cat-card__more {
  color: var(--gold-500);
}

.cat-card:hover .cat-card__more::after,
.cat-card:focus-visible .cat-card__more::after {
  transform: translateX(3px);
}

/* Inner page hero (catalog + other pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 26rem 32rem at 6% 92%, rgba(30, 79, 133, 0.38), transparent 70%),
    linear-gradient(155deg, #050e1a 0%, var(--navy-950) 35%, var(--navy-900) 70%, #123458 100%);
  padding: 1.15rem 0 1.25rem;
  min-height: 0;
}

.page-hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.page-hero__glow {
  position: absolute;
  right: max(-3rem, calc((100% - var(--max)) / 2 - 4rem));
  top: 50%;
  width: var(--glow-gold-sm);
  height: var(--glow-gold-sm);
  border-radius: 50%;
  transform: translateY(-55%);
  background: radial-gradient(
    circle,
    rgba(232, 185, 35, 0.58) 0%,
    rgba(232, 185, 35, 0.28) 32%,
    rgba(232, 185, 35, 0.1) 55%,
    transparent 72%
  );
  filter: blur(2px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, black 12%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, black 12%, transparent 68%);
  opacity: 0.85;
  animation: gridDrift 22s linear infinite;
}

.page-hero__bolt {
  position: absolute;
  right: max(2%, calc((100% - var(--max)) / 2));
  top: 8%;
  width: min(22vw, 170px);
  height: min(48%, 170px);
  background: linear-gradient(180deg, rgba(232, 185, 35, 0.4), rgba(232, 185, 35, 0.04) 75%);
  clip-path: polygon(45% 0, 70% 0, 48% 42%, 78% 42%, 28% 100%, 40% 52%, 18% 52%);
  opacity: 0.38;
  filter: drop-shadow(0 0 22px rgba(232, 185, 35, 0.4));
  animation: boltPulse 5s var(--ease) infinite;
  mix-blend-mode: screen;
}

.page-hero__orbit {
  position: absolute;
  right: max(-1%, calc((100% - var(--max)) / 2 - 2rem));
  top: 50%;
  width: min(26vw, 230px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.8;
}

.page-hero__ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(232, 185, 35, 0.28);
  border-radius: 50%;
  animation: orbitSpin 28s linear infinite;
}

.page-hero__ring--2 {
  inset: 24%;
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 40s;
  animation-direction: reverse;
}

.page-hero__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 14px rgba(232, 185, 35, 0.85);
  top: 18%;
  right: 26%;
  animation: orbitPulse 3.5s ease-in-out infinite;
}

.page-hero__dot--2 {
  top: 58%;
  right: 18%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation-delay: 1.1s;
}

.page-hero__shell {
  position: relative;
  z-index: 2;
}

.page-hero__content {
  max-width: 48rem;
}

.page-hero .breadcrumb {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold-400);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: none;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.page-hero p,
.page-hero__lead {
  margin: 0;
  max-width: min(72ch, 100%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.45;
}

.page-hero--compact {
  padding: 1.15rem 0 1.25rem;
}

.catalog-cats-bar {
  background: #eef2f6;
  padding: 0.35rem 0 0;
  border-bottom: 1px solid rgba(15, 23, 36, 0.06);
}

.cats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(124px, 1fr);
  gap: 0.7rem;
  overflow-x: auto;
  padding: 1rem 0 1.15rem;
  scrollbar-width: thin;
}

.cat-chip {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
  padding: 0.75rem 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
  animation: riseIn 0.55s var(--ease) both;
  font: inherit;
  color: inherit;
}

.cat-chip:nth-child(1) { animation-delay: 0.05s; }
.cat-chip:nth-child(2) { animation-delay: 0.1s; }
.cat-chip:nth-child(3) { animation-delay: 0.15s; }
.cat-chip:nth-child(4) { animation-delay: 0.2s; }
.cat-chip:nth-child(5) { animation-delay: 0.25s; }
.cat-chip:nth-child(6) { animation-delay: 0.3s; }
.cat-chip:nth-child(7) { animation-delay: 0.35s; }
.cat-chip:nth-child(8) { animation-delay: 0.4s; }

.cat-chip:hover,
.cat-chip.is-active {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow: 0 14px 32px rgba(10, 28, 51, 0.12);
}

.cat-chip img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.cat-chip span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.catalog-shop {
  background: #eef2f6;
  padding: 1.25rem 0 3.25rem;
}

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.25rem;
  margin-bottom: 1.1rem;
}

.catalog-head__tools {
  width: min(100%, 520px);
  margin-left: auto;
}

.catalog-index {
  background: var(--white);
  padding: 2.75rem 0 3.5rem;
}

.catalog-index__wrap {
  width: min(100% - 2rem, 1320px);
}

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

  .catalog-head__tools {
    width: 100%;
    margin-left: 0;
  }
}

/* Product cards grid (mini-catalog) */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.catalog-filters {
  align-self: start;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem 1.25rem;
  box-sizing: border-box;
}

.catalog-filters__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
  margin: 0 0 1rem;
}

.catalog-filters__group {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--steel-200);
}

.catalog-filters__group:last-of-type {
  border-bottom: none;
  margin-bottom: 0.85rem;
  padding-bottom: 0;
}

.catalog-filters__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
}

.catalog-filters__checks {
  display: grid;
  gap: 0.35rem;
  max-height: 180px;
  overflow: auto;
}

.catalog-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--navy-900);
  cursor: pointer;
}

.catalog-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--navy-800);
}

.catalog-check__count {
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.catalog-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.4rem;
  align-items: center;
}

.catalog-range span {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.catalog-range input {
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--steel-100);
  color: var(--navy-900);
}

.catalog-range input:focus {
  outline: 2px solid rgba(30, 79, 133, 0.25);
  border-color: var(--navy-700);
  background: var(--white);
}

.catalog-filters__actions {
  display: grid;
  gap: 0.4rem;
}

.catalog-filters__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 650;
  min-height: 0;
  border-radius: 8px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.catalog-toolbar__meta {
  display: none;
}

.catalog-toolbar__tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-left: 0;
}

.catalog-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  width: 100%;
  border: 1px solid var(--steel-300);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.catalog-search:focus-within {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 79, 133, 0.15);
}

.catalog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.catalog-search input:focus {
  outline: none;
}

.catalog-search button {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--steel-200);
  background: var(--navy-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.catalog-search button:hover {
  background: var(--navy-800);
}

.catalog-sort {
  flex: 0 0 auto;
}

.catalog-sort select {
  appearance: none;
  border: 1px solid var(--steel-300);
  border-radius: 8px;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23143a66' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.75rem center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--navy-900);
  min-width: 12.5rem;
  max-width: 100%;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.catalog-sort select:hover {
  border-color: var(--navy-700);
}

.catalog-sort select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 79, 133, 0.15);
}

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

.catalog-index__tools {
  margin-bottom: 1.25rem;
}

.catalog-index__tools .catalog-toolbar__tools {
  max-width: 640px;
}

@media (max-width: 700px) {
  .catalog-toolbar__tools {
    flex-wrap: wrap;
  }
  .catalog-search {
    flex: 1 1 100%;
  }
  .catalog-sort {
    width: 100%;
  }
  .catalog-sort select {
    width: 100%;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 900px) {
  .catalog-main .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .catalog-main .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(213, 222, 234, 0.9);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 28, 51, 0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(10, 28, 51, 0.12);
  border-color: rgba(26, 74, 120, 0.28);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #f7f9fc, #e8eef6 70%, #dfe8f2);
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow: hidden;
}

.product-card__media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__placeholder {
  width: 78%;
  height: 78%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #eef2f7, #dfe7f1),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 22px,
      rgba(11, 31, 58, 0.04) 22px,
      rgba(11, 31, 58, 0.04) 23px
    );
  position: relative;
  border-radius: 4px;
}

.product-card__placeholder-icon {
  width: 42%;
  max-width: 120px;
  aspect-ratio: 3 / 4;
  border: 2px solid rgba(11, 31, 58, 0.18);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.25));
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.08);
  position: relative;
}

.product-card__placeholder-icon::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 14%;
  right: 14%;
  height: 10%;
  background: rgba(11, 31, 58, 0.1);
  border-radius: 1px;
}

.product-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
}

.product-card__body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card__sku {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.2;
}

.product-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--navy-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.product-card__title a {
  color: inherit;
}

.product-card__title a:hover {
  color: var(--navy-700);
}

.product-card__meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

.product-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.product-card__vat {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.product-card__stock {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ok);
}

.product-card__badge--hit {
  background: var(--gold-500);
  color: var(--navy-950);
}

.product-card__badge--new {
  background: var(--navy-900);
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.product-card__actions .btn--sm {
  padding: 0.38rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  border-radius: 7px;
  white-space: nowrap;
  line-height: 1.2;
  min-height: 0;
}

.product-card__actions .btn--primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  border: 0;
}

.product-card__actions .btn--ghost {
  background: #fff;
  border: 1px solid var(--steel-300);
  color: var(--ink);
}

.product-card__actions .btn--ghost:hover {
  border-color: var(--navy-700);
  color: var(--navy-800);
}

/* Legacy specs table kept for PDP / older markup */
.product-card__specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.product-card__specs th,
.product-card__specs td {
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--steel-200);
  text-align: left;
}

.product-card__specs th {
  font-weight: 500;
  color: var(--ink-muted);
  width: 58%;
}

.product-card__specs td {
  font-weight: 700;
  color: var(--navy-900);
  text-align: right;
}

.product-card__footer {
  padding: 0.85rem 1.05rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.product-card__footer .product-card__price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.btn--icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
}

.btn--icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--steel-300);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
}

.catalog-empty strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
}

.pager[hidden] {
  display: none !important;
}

.pager__btn {
  appearance: none;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  border: 1px solid var(--steel-300);
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pager__btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--navy-700);
  background: var(--steel-100);
}

.pager__btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  cursor: default;
}

.pager__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pager__gap {
  color: var(--ink-muted);
  padding: 0 0.15rem;
  user-select: none;
}

/* Product detail — matches Orion_Internet_Mag product.html */
.breadcrumb--page {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding: 1rem 0 0.4rem;
  margin: 0;
}

.breadcrumb--page a {
  color: var(--ink-muted);
}

.breadcrumb--page a:hover {
  color: var(--navy-700);
}

.breadcrumb--page span {
  opacity: 0.5;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.6rem 0 2.5rem;
}

.product__main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.product__gallery {
  position: relative;
  background: #fff;
  border: 1px solid var(--steel-300);
  border-radius: 20px;
  min-height: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  align-self: stretch;
}

.product__gallery::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.14), transparent 70%);
  pointer-events: none;
}

.product__gallery img {
  width: auto;
  height: auto;
  max-width: min(86%, 380px);
  max-height: min(92%, 520px);
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: productFloatSoft 4.5s ease-in-out infinite;
}

.product__gallery .product-card__placeholder {
  width: min(70%, 240px);
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

@keyframes productFloatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.product__info {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--steel-300);
  border-radius: 20px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  box-sizing: border-box;
}

.product__sku {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.product__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

.product__short {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.product__price-block {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.product__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy-900);
}

.product__old {
  color: var(--ink-muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.product__stock {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok);
}

.product__stock.is-out {
  color: var(--danger);
}

.product__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.product__buy .btn {
  min-width: 160px;
  justify-content: center;
  border-radius: 8px;
  padding: 0.62rem 1.1rem;
  font-weight: 650;
}

.product__buy .btn--primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  border: 0;
}

.product__buy .btn--ghost {
  background: #fff;
  border: 1px solid var(--steel-300);
  color: var(--ink);
}

.product__buy .btn--ghost:hover {
  border-color: var(--navy-700);
  color: var(--navy-800);
}

.product .specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.product .specs th,
.product .specs td {
  text-align: left;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--steel-300);
  vertical-align: top;
}

.product .specs th {
  width: 42%;
  color: var(--ink-muted);
  font-weight: 600;
}

.product .specs td {
  font-weight: 650;
  color: var(--navy-900);
}

.product__desc {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--steel-300);
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product__desc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  user-select: none;
}

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

.product__desc > summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--navy-800);
  border-bottom: 2px solid var(--navy-800);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
  margin-top: -0.2rem;
}

.product__desc[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.product__desc > summary:hover {
  background: rgba(20, 58, 102, 0.03);
}

.product__desc-body {
  padding: 0 1.2rem 1.15rem;
  border-top: 1px solid var(--steel-200);
}

.product__desc-body > :first-child {
  margin-top: 0.9rem;
}

.product__desc h2 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--navy-900);
}

.product__desc p {
  margin: 0 0 0.55rem;
}

.product__desc-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}

.product__desc-list li {
  margin: 0.2rem 0;
}

.product__desc-list li::marker {
  color: var(--ink-muted);
}

.related {
  padding: 0 0 3rem;
}

.related h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.9rem;
  color: var(--navy-900);
}

.related .product-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .related .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .product__gallery {
    min-height: 320px;
    height: auto;
  }
}

@media (max-width: 560px) {
  .related .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy alias */
.pdp {
  display: contents;
}

/* Product layout */
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.product-visual {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.product-visual__placeholder {
  width: min(100%, 280px);
  aspect-ratio: 3/4;
  background:
    linear-gradient(160deg, var(--steel-200), var(--steel-100)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(11, 31, 58, 0.04) 18px, rgba(11, 31, 58, 0.04) 19px);
  border: 1px solid var(--steel-300);
  border-radius: 2px;
  position: relative;
  box-shadow: var(--shadow);
}

.product-visual__placeholder::after {
  content: "Фото скоро";
  position: absolute;
  inset: auto 0 18%;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.product-visual__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
}

/* Configurator */
.configurator {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.configurator h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--navy-900);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  appearance: none;
  border: 1px solid var(--steel-300);
  background: var(--steel-100);
  color: var(--navy-900);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}

.chip:hover:not(:disabled) {
  border-color: var(--navy-700);
}

.chip.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.chip:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-row input {
  width: 72px;
  padding: 0.55rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  text-align: center;
}

.select-native {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
}

.config-summary {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--steel-100);
  border-radius: var(--radius);
  border: 1px solid var(--steel-200);
}

.config-summary__sku {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.config-summary__dims {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0.25rem 0 0.65rem;
}

.config-summary__price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-900);
}

.config-summary__price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.config-actions {
  display: grid;
  gap: 0.55rem;
}

.custom-size {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--steel-200);
}

.custom-size details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-800);
}

.custom-size__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.85rem 0;
}

.custom-size input,
.custom-size textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.spec-item {
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
}

.spec-item dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.spec-item dd {
  margin: 0;
  font-weight: 650;
  color: var(--navy-900);
}

/* Series list on catalog */
.series-list {
  display: grid;
  gap: 0.65rem;
}

.series-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.series-row:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow);
}

/* Cart */
.container.container--wide {
  width: min(100% - 2rem, 1440px);
}

.cart-page {
  position: relative;
  padding: 1.25rem 0 3.5rem;
  background:
    radial-gradient(ellipse 36rem 28rem at 92% 8%, rgba(232, 185, 35, 0.07), transparent 70%),
    radial-gradient(ellipse 30rem 24rem at 4% 90%, rgba(30, 79, 133, 0.07), transparent 70%),
    linear-gradient(180deg, #eef3f8 0%, var(--steel-100) 45%, #e8eef5 100%);
}

.cart-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.cart-page__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.cart-page__count {
  margin: 0;
  font-weight: 650;
  color: var(--navy-800);
  background: rgba(212, 160, 23, 0.14);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.cart-page__count[hidden] {
  display: none !important;
}

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

.cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.95rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 12px;
}

.cart-toolbar__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 600;
  flex: 1;
  min-width: 12rem;
}

.cart-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cart-toolbar__btn {
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.cart-toolbar__btn:hover {
  color: var(--danger, #c0392b);
  border-color: rgba(180, 35, 24, 0.3);
  background: rgba(180, 35, 24, 0.05);
}

.cart-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 28, 51, 0.08);
  border-left: 3px solid rgba(232, 185, 35, 0.45);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  align-items: start;
  box-shadow: 0 10px 26px rgba(10, 28, 51, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-item:hover {
  border-left-color: var(--gold-500);
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 14px 32px rgba(10, 28, 51, 0.08);
}

.cart-item__media {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f7f9fc, #e8eef6 70%, #dfe8f2);
  border-radius: 12px;
  min-height: 96px;
  overflow: hidden;
}

.cart-item__media--shot img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  display: block;
  background: #f4f7fb;
}

.cart-item__media-mark {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  opacity: 0.75;
}

.cart-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.cart-item__sku {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: rgba(232, 185, 35, 0.16);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.cart-item__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--navy-900);
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.cart-item__size {
  font-weight: 650;
  color: var(--navy-800);
}

.cart-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cart-item__tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 0.12rem 0.4rem;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  background: rgba(245, 247, 250, 0.85);
}

.cart-item__desc-btn {
  appearance: none;
  align-self: flex-start;
  margin: 0.15rem 0 0;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(20, 58, 102, 0.16);
  background: #f4f7fb;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0.3rem;
  text-align: left;
  max-width: 100%;
  line-height: 1.3;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.cart-item__desc-btn:hover {
  border-color: rgba(212, 160, 23, 0.7);
  background: #fffaf0;
  color: var(--navy-950);
}

.cart-desc-sheet__backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(11, 31, 58, 0.42);
  backdrop-filter: blur(2px);
}

.cart-desc-sheet {
  --cart-sheet-w: min(210mm, calc(100vw - 1.5rem));
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 181;
  width: var(--cart-sheet-w);
  max-width: var(--cart-sheet-w);
  max-height: min(90dvh, 297mm);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(20, 58, 102, 0.14);
  background: #fff;
  box-shadow: 0 24px 64px rgba(11, 31, 58, 0.28);
  border-radius: 0.45rem;
  animation: cart-desc-sheet-in 0.2s ease;
}

@keyframes cart-desc-sheet-in {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.cart-desc-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(20, 58, 102, 0.1);
}

.cart-desc-sheet__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.cart-desc-sheet__close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cart-desc-sheet__close:hover {
  color: var(--navy-900);
  border-color: var(--gold-400);
}

.cart-desc-sheet__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.85rem 1rem 1.15rem;
}

.cart-desc-sheet__sku {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.cart-desc-sheet__name {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.cart-desc-sheet__section {
  margin: 0.85rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cart-desc-sheet__views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cart-desc-sheet__view {
  margin: 0;
  background: #f4f7fb;
  border: 1px solid rgba(20, 58, 102, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.cart-desc-sheet__view img {
  display: block;
  width: 100%;
  aspect-ratio: 640 / 520;
  object-fit: contain;
  background: #f4f7fb;
}

.cart-desc-sheet__view figcaption {
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--navy-800);
  border-top: 1px solid rgba(20, 58, 102, 0.08);
  background: #fff;
}

.cart-desc-sheet__noviews {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.cart-desc-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.cart-desc-sheet__list li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--navy-900);
}

.cart-desc-sheet__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.32rem;
  height: 0.32rem;
  background: var(--gold-400);
}

body.cart-desc-open {
  overflow: hidden;
}

.cart-item__desc {
  margin-top: 0.2rem;
  padding: 0.65rem 0.75rem;
  background: rgba(245, 247, 250, 0.92);
  border: 1px solid var(--steel-200);
  border-left: 2px solid var(--gold-400);
  border-radius: 8px;
}

.cart-item__desc-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.cart-item__desc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.cart-item__desc-list li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--navy-900);
}

.cart-item__desc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.32rem;
  height: 0.32rem;
  background: var(--gold-400);
  border-radius: 1px;
}

.cart-item__desc-list--more {
  margin-top: 0.35rem;
}

.cart-item__specs {
  margin-top: 0.4rem;
}

.cart-item__specs summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--navy-800);
  user-select: none;
}

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

.cart-item__specs summary:hover {
  color: var(--gold-500);
}

.cart-item__specs summary span {
  color: var(--ink-muted);
  font-weight: 600;
}

.cart-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  flex-wrap: wrap;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.cart-qty button {
  border: 0;
  background: transparent;
  width: 2.1rem;
  height: 2.1rem;
  cursor: pointer;
  color: var(--navy-900);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.cart-qty button:hover {
  background: rgba(212, 160, 23, 0.1);
}

.cart-qty span {
  min-width: 1.7rem;
  text-align: center;
  font-weight: 650;
  font-size: 0.95rem;
}

.cart-item__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  margin-left: auto;
}

.cart-item__unit {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.cart-item__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--navy-900);
}

.cart-item__price--estimate {
  color: var(--navy-800);
}

.cart-item__remove {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--steel-300);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.cart-item__remove:hover {
  color: var(--danger, #c0392b);
  border-color: rgba(192, 57, 43, 0.3);
  background: rgba(192, 57, 43, 0.06);
}

.cart-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.cart-empty__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.85rem;
  color: var(--navy-700);
  opacity: 0.55;
}

.cart-empty__icon svg {
  width: 100%;
  height: 100%;
}

.cart-empty__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
}

.cart-empty__text {
  margin: 0 0 1.25rem;
  max-width: 38ch;
  color: var(--ink-muted);
  line-height: 1.5;
}

.cart-empty__btn {
  text-decoration: none;
}

.cart-page--empty .cart-layout {
  grid-template-columns: 1fr;
}

.cart-aside {
  position: sticky;
  top: calc(var(--header-h, 4.5rem) + 1rem);
}

.cart-rail {
  position: relative;
  padding: 1.15rem 1.2rem 1.25rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.07);
}

.cart-rail__total {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--steel-200);
}

.cart-rail__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.cart-rail__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.4rem 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.cart-rail__row > span:last-child {
  color: var(--ink);
  font-weight: 650;
}

.cart-rail__row--total {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--steel-200);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-900);
}

.cart-rail__row--total > span {
  color: var(--navy-900);
  font-weight: 800;
}

.cart-rail__extra {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--ink-muted);
}

.cart-rail__hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.cart-form {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.cart-form__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.cart-form__note {
  margin: 0.7rem 0 0.75rem;
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.cart-form__submit {
  width: 100%;
  padding-block: 0.7rem;
}

.cart-form__continue {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.cart-rail .form-grid input,
.cart-rail .form-grid textarea {
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  background: var(--steel-100);
  border-color: var(--steel-300);
  color: var(--ink);
}

.cart-rail .form-grid input::placeholder,
.cart-rail .form-grid textarea::placeholder {
  color: var(--steel-400);
}

.cart-rail .form-grid input:focus,
.cart-rail .form-grid textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(20, 58, 102, 0.1);
  background: var(--white);
}

.cart-rail .field__label {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-grid--cart {
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.form-grid .field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.form-grid input:focus,
.form-grid textarea:focus,
.select-native:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(20, 58, 102, 0.12);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.page-hero--compact .page-hero__shell {
  min-height: 0;
}

/* legacy aliases kept for safety */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-total {
  display: none;
}

.remove-btn {
  border: none;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-weight: 650;
  padding: 0;
}

/* Content pages */
.content-block {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.content-block h2 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--ink-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-900);
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

/* Footer — hero vibe */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 24rem 28rem at 6% 95%, rgba(30, 79, 133, 0.35), transparent 70%),
    linear-gradient(155deg, #050e1a 0%, var(--navy-950) 40%, #123458 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.15rem 0 1.2rem;
  margin-top: auto;
  border-top: 1px solid rgba(232, 185, 35, 0.22);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 185, 35, 0.55), transparent);
  pointer-events: none;
  z-index: 2;
}

.footer-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.footer-atmosphere__glow {
  position: absolute;
  right: max(-3rem, calc((100% - var(--max)) / 2 - 4rem));
  top: -18%;
  width: var(--glow-gold-sm);
  height: var(--glow-gold-sm);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 185, 35, 0.4) 0%,
    rgba(232, 185, 35, 0.16) 40%,
    rgba(232, 185, 35, 0.05) 60%,
    transparent 74%
  );
  animation: heroGlow 9s ease-in-out infinite alternate;
}

.footer-atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 80% at 78% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 80% at 78% 40%, black 10%, transparent 70%);
  opacity: 0.75;
  animation: gridDrift 22s linear infinite;
}

.footer-atmosphere__lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.footer-atmosphere__lines span {
  position: absolute;
  height: 1px;
  width: 42%;
  right: -4%;
  background: linear-gradient(90deg, transparent, rgba(232, 185, 35, 0.5), transparent);
  opacity: 0;
  animation: lineSweep 8s var(--ease) infinite;
}

.footer-atmosphere__lines span:nth-child(1) {
  top: 32%;
  animation-delay: 0.5s;
}

.footer-atmosphere__lines span:nth-child(2) {
  top: 62%;
  width: 34%;
  animation-delay: 3.2s;
}

.footer-atmosphere__orbit {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(36vw, 280px);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.footer-atmosphere__ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(232, 185, 35, 0.22);
  border-radius: 50%;
  animation: orbitSpin 28s linear infinite;
}

.footer-atmosphere__ring--2 {
  inset: 28%;
  border-color: rgba(255, 255, 255, 0.1);
  animation-duration: 40s;
  animation-direction: reverse;
}

.footer-atmosphere__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(232, 185, 35, 0.8);
  top: 22%;
  right: 30%;
  animation: orbitPulse 3.5s ease-in-out infinite;
}

.footer-atmosphere__dot--2 {
  top: 58%;
  right: 22%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  animation-delay: 1.2s;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 1.25rem 2rem;
  margin-bottom: 1.35rem;
  align-items: start;
}

.footer-main {
  padding-left: 1.15rem;
  border-left: 2px solid rgba(232, 185, 35, 0.75);
  box-shadow: -14px 0 32px -24px rgba(232, 185, 35, 0.45);
}

.site-footer h3 {
  font-family: var(--font-display);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--gold-400);
}

.footer-soon {
  color: rgba(255, 255, 255, 0.38);
  cursor: default;
}

.footer-soon::after {
  content: " · скоро";
  font-size: 0.78em;
  opacity: 0.85;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.site-footer li {
  font-size: 0.88rem;
  line-height: 1.35;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 0.95;
  margin-bottom: 0.55rem;
}

.footer-brand span {
  color: var(--gold-400);
}

.footer-lead {
  margin: 0;
  max-width: 26ch;
  line-height: 1.4;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}

/* Scroll to top — all pages */
.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 180;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, opacity 0.2s;
}

.scroll-top[hidden] {
  display: none !important;
}

.scroll-top:hover {
  background: var(--gold-400);
  color: var(--navy-950);
  transform: translateY(-3px);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.scroll-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Toast */
.toast-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: grid;
  gap: 0.5rem;
}

.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 0.85rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--gold-400);
  animation: riseIn 0.3s var(--ease);
}

.toast--ok {
  border-left-color: var(--ok);
}

.toast--err {
  border-left-color: var(--danger);
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.55rem;
}

.faq summary {
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}

.faq details p {
  color: var(--ink-muted);
  margin: 0.65rem 0 0;
}

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem 2rem;
  align-items: start;
}

/* Mobile nav */
.nav-drawer {
  display: none;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .logo__sub {
    display: none;
  }

  .cart-btn {
    padding: 0.55rem 0.85rem;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 37, 0.5);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  .nav-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100%;
    background: var(--white);
    padding: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.25s var(--ease);
    overflow: auto;
  }

  .nav-drawer.is-open .nav-drawer__panel {
    transform: translateX(0);
  }

  .nav-drawer__links {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
  }

  .nav-drawer__links a {
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 650;
    color: var(--navy-900);
    background: var(--steel-100);
  }
}

@media (max-width: 980px) {
  .cat-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about__intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2.25rem;
    padding-bottom: 2rem;
  }

  .co-why__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-story {
    padding: 1.75rem 0 1.5rem;
  }

  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-story__content {
    padding: 0 0 1.25rem;
    box-shadow: none;
    order: 1;
  }

  .about-story__media {
    order: 0;
    margin: 0 0 0.5rem;
    min-height: 240px;
  }

  .about-story__media img {
    min-height: 240px;
    max-height: 360px;
  }

  .about-team {
    padding: 2rem 0 1.75rem;
  }

  .about-team__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .about-team__list li {
    grid-template-columns: minmax(7.5rem, 34%) minmax(0, 1fr);
    min-height: 0;
  }

  .about-team__photo img {
    min-height: 11rem;
  }

  .about-reviews {
    padding: 1.75rem 0 1.5rem;
  }

  .about-reviews__carousel {
    padding: 0 2.75rem;
  }

  .about-reviews__stage {
    height: clamp(28rem, 62vw, 34rem);
  }

  .about-reviews__slide {
    width: min(100%, 20rem);
    min-height: 26rem;
    padding: 1.45rem 1.2rem 1.35rem;
  }

  .about-reviews__quote {
    font-size: 0.9rem;
    max-width: none;
  }

  .about-close {
    padding: 0.25rem 0 2rem;
  }

  .co-more__grid {
    grid-template-columns: 1fr;
  }

  .co-more__card:nth-child(n + 2) {
    padding-left: 0;
    border-left: none;
  }

  .co-links__grid,
  .co-tech__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .co-tech__list li:nth-child(3n + 2),
  .co-tech__list li:nth-child(3n),
  .co-link-card:nth-child(n + 2) {
    padding-left: 0;
  }

  .co-tech__list li:nth-child(even),
  .co-link-card:nth-child(even) {
    padding-left: 1.1rem;
  }

  .co-steps__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__years {
    font-size: clamp(4.5rem, 18vw, 6.5rem);
  }

  .co-tech__list li:nth-child(3n + 2),
  .co-tech__list li:nth-child(3n),
  .co-link-card:nth-child(n + 2) {
    padding-left: 0;
  }

  .co-tech__list li:nth-child(even),
  .co-link-card:nth-child(even) {
    padding-left: 1.1rem;
  }

  .co-steps__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__years {
    font-size: clamp(4.5rem, 18vw, 6.5rem);
  }

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

  .about__feature:nth-child(3n + 2),
  .about__feature:nth-child(3n) {
    padding-left: 0;
  }

  .about__feature:nth-child(even) {
    padding-left: 1.15rem;
  }

  .about__feature:nth-child(n + 4) {
    border-bottom: none;
  }

  .about__feature:nth-child(n + 3) {
    border-bottom: 1px solid var(--steel-200);
  }

  .home-cat__head-row {
    flex-wrap: wrap;
    align-items: center;
  }

  .home-cat__card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .home-custom__wrap {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 3rem 2.25rem;
    gap: 1.75rem;
  }

  .home-custom__art {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 400px;
    justify-self: center;
    margin-top: 0;
    margin-right: 0;
    transform: none;
    opacity: 0.95;
  }

  .home-custom__art-stage {
    height: 300px;
  }

  .home-custom__ring,
  .home-custom__dot {
    opacity: 0.55;
  }

  .home-custom__content {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
  }

  .home-custom__footer {
    grid-column: 1;
    grid-row: 3;
    flex-direction: column;
    align-items: stretch;
  }

  .home-custom__path {
    justify-content: space-between;
    width: 100%;
  }

  .home-custom__path i {
    flex: 1;
    width: auto;
    min-width: 1rem;
  }

  .home-custom__art .home-custom__btn {
    width: auto;
    min-width: min(100%, 16rem);
  }

  .home-flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.35rem;
  }

  .home-flow__list::before {
    display: none;
  }

  .home-flow__media {
    height: 190px;
  }

  .home-map__frame {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .home-map__map {
    position: relative;
    inset: auto;
    width: 100%;
    height: 300px;
    flex-shrink: 0;
  }

  .home-map__iframe {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .home-map__overlay {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    pointer-events: auto;
    padding: 0;
  }

  .home-map__card {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-map__pin {
    left: 50%;
    top: 50%;
  }

  .home-map__card-top {
    flex-direction: column;
    gap: 0.55rem;
  }

  .home-map__phones {
    align-items: flex-start;
  }

  .home-map__row {
    grid-template-columns: 1fr;
  }

  .hero__metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .hero__metric {
    padding: 0.2rem 0.5rem 0.2rem 0;
  }

  .hero__metric:not(:last-child)::after {
    display: none;
  }

  .hero__metric-text {
    max-width: none;
  }

  .hero__metric--factory .hero__metric-text {
    white-space: normal;
  }

  .product-layout,
  .cart-layout,
  .product__main,
  .pdp {
    grid-template-columns: 1fr;
  }

  .cart-rail {
    position: static;
  }

  .configurator {
    position: static;
  }

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

@media (max-width: 760px) {
  .hero__metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
  }

  .hero__metrics {
    padding: 1.35rem 0 1.5rem;
  }

  .hero__metric-value {
    font-size: 1.25rem;
  }

  .cat-grid,
  .product-grid,
  .steps,
  .footer-grid,
  .specs-grid,
  .custom-size__grid,
  .mega,
  .split-cta {
    grid-template-columns: 1fr;
  }

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

  .co-links__grid,
  .co-tech__list,
  .co-steps__list {
    grid-template-columns: 1fr;
  }

  .co-tech__list li,
  .co-tech__list li:nth-child(even),
  .co-link-card,
  .co-link-card:nth-child(even) {
    padding-left: 0;
  }

  .about-team {
    padding: 1.75rem 0 1.5rem;
  }

  .about-team__list li {
    grid-template-columns: 1fr;
  }

  .about-team__photo {
    aspect-ratio: 16 / 11;
    min-height: 0;
  }

  .about-team__photo img {
    min-height: 0;
    height: 100%;
  }

  .about-team__list h3 {
    font-size: 1.05rem;
  }

  .about-team__role {
    font-size: 0.66rem;
  }

  .about-team__quote {
    font-size: 0.88rem;
  }

  .about-reviews {
    padding: 1.5rem 0 1.25rem;
  }

  .about-reviews__carousel {
    padding: 0 2.4rem;
  }

  .about-reviews__stage {
    height: clamp(24rem, 92vw, 30rem);
  }

  .about-reviews__slide {
    width: min(100%, 19rem);
    min-height: 24rem;
    padding: 1.35rem 1.1rem 1.2rem;
  }

  .about-reviews__quote {
    font-size: 0.86rem;
    max-width: none;
  }

  .about-reviews__slide.is-active .about-reviews__quote {
    max-height: none;
  }

  .about-reviews__arrow {
    top: 50%;
    width: 2.4rem;
    height: 2.4rem;
  }

  .about-reviews__dots {
    margin-top: 1.15rem;
  }

  .about-close {
    padding: 0.25rem 0 2rem;
  }

  .about-close__mark {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .about__feature,
  .about__feature:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  .about__feature:nth-child(n + 3) {
    border-bottom: none;
  }

  .about__feature:last-child {
    border-bottom: 1px solid var(--steel-200);
  }

  .home-cat {
    padding: 2.75rem 0 3rem;
  }

  .home-cat__slider {
    padding: 0 2.5rem;
  }

  .home-cat__head {
    padding: 0 2.5rem;
  }

  .home-cat__arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .home-cat__card {
    flex-basis: 100%;
  }

  .home-cat__media {
    min-height: 190px;
  }

  .home-cat__media img {
    max-height: 160px;
  }

  .home-flow {
    padding: 2.5rem 0 2.75rem;
  }

  .home-flow__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .home-flow__list::before {
    display: none;
  }

  .home-flow__media {
    height: 220px;
  }

  .home-map__map {
    height: 260px;
  }

  .cart-table {
    display: block;
    overflow-x: auto;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 0.8rem;
    gap: 0.7rem;
  }

  .cart-item__media {
    min-height: 72px;
  }

  .cart-item__name {
    font-size: 0.9rem;
  }

  .cart-item__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-item__pricing {
    align-items: flex-start;
    margin-left: 0;
  }

  .cart-toolbar__hint {
    width: 100%;
  }

  .form-grid--cart {
    grid-template-columns: 1fr;
  }

  .tech__list li {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    width: 100%;
    padding-block: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tech__list li:last-child {
    border-bottom: none;
  }

  .tech {
    padding: 3.25rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__stage {
    width: min(78vw, 360px);
    right: -8%;
    top: 34%;
    opacity: 0.9;
    pointer-events: none;
  }

  .hero__orbit {
    opacity: 0.45;
    width: min(78vw, 360px);
    right: -8%;
    top: 34%;
  }

  .hero__shell {
    justify-content: flex-start;
    padding: 3.25rem 0 2rem;
  }

  .hero__content {
    width: 100%;
    padding-left: 0.85rem;
    max-width: none;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }

  .hero__brand {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .page-hero {
    padding: 1.05rem 0 1.15rem;
  }

  .page-hero h1 {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem);
  }

  .page-hero p,
  .page-hero__lead {
    font-size: 0.92rem;
  }

  .page-hero__bolt {
    opacity: 0.4;
    width: min(42vw, 160px);
    height: min(48%, 160px);
  }

  .page-hero__orbit {
    width: min(48vw, 200px);
    opacity: 0.55;
  }

  .page-hero__glow,
  .hero__glow,
  .home-custom__glow,
  .footer-atmosphere__glow {
    width: min(28rem, 88vw);
    height: min(28rem, 88vw);
  }

  .topbar__meta {
    display: none;
  }

  .topbar__contacts {
    gap: 0.35rem 0.5rem;
    font-size: 0.72rem;
  }

  .topbar__inner {
    justify-content: flex-start;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .container.container--wide {
    width: min(100% - 1.25rem, 1440px);
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .home-cat__card {
    flex-basis: 100%;
    min-width: 0;
  }

  .home-flow__list {
    grid-template-columns: 1fr;
  }

  .home-custom__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .product__main,
  .pdp {
    grid-template-columns: 1fr;
  }

  .cfg__stage-ui {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-block: 2.25rem;
  }
}

@media (max-width: 480px) {
  .about-team__meta {
    padding: 1rem 1.05rem 1.15rem;
  }

  .about-reviews__carousel {
    padding: 0 2.1rem;
  }

  .about-reviews__arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  .about-close__inner {
    gap: 0.75rem;
  }

  .hero__metrics-row {
    grid-template-columns: 1fr;
  }

  .hero__metric:not(:last-child)::after {
    display: none;
  }

  .hero__metric {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__metric:last-child {
    border-bottom: none;
  }

  .hero__brand {
    font-size: clamp(2.4rem, 14vw, 3.2rem);
  }

  .btn {
    padding-inline: 1rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .logo__name {
    font-size: 1.02rem;
  }

  .cart-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .cart-btn__label {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}

/* 3D floor cabinet configurator */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-hero--cfg {
  padding-block: 1.15rem 1.25rem;
}

.page-hero--cfg .page-hero__lead {
  margin: 0;
  max-width: min(72ch, 100%);
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.page-cfg {
  display: flex;
  flex-direction: column;
}

.section--cfg {
  padding: 0;
  background: var(--steel-100);
  flex: 1 1 auto;
}

.cfg-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cfg-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 1.5rem;
  color: var(--ink-muted);
  text-align: center;
}

.cfg-loading__label {
  font-size: 0.92rem;
  font-weight: 600;
}

.cfg-loading__track {
  display: block;
  width: min(14rem, 70%);
  height: 0.28rem;
  border-radius: 99px;
  background: rgba(20, 58, 102, 0.12);
  overflow: hidden;
}

.cfg-loading__bar {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c99612 0%, #e8b923 55%, #f0d56a 100%);
  animation: cfg-load-slide 1.05s ease-in-out infinite;
}

.cfg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  min-height: calc(100dvh - var(--header-h) - 7.5rem);
  align-items: start;
  background: linear-gradient(155deg, #e8eef5 0%, #f3f6fa 48%, #f8fafc 100%);
}

.cfg__stage {
  position: relative;
  min-height: 0;
  padding: 0.85rem;
  background: #02060c;
  transition: background 0.35s var(--ease);
}

.cfg__viewport {
  position: sticky;
  top: calc(var(--header-h) + 0.55rem);
  height: calc(100dvh - var(--header-h) - 1.8rem);
  border-radius: 12px;
  border: 1px solid rgba(232, 185, 35, 0.35);
  overflow: hidden;
  isolation: isolate;
  background: #03080f;
  box-shadow:
    0 0 0 1px rgba(232, 185, 35, 0.1) inset,
    0 18px 48px rgba(0, 0, 0, 0.5);
}

/* Atmosphere only — grid/HUD live in the 3D scene */
.cfg__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.cfg__fx-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 28% 42%, rgba(220, 235, 255, 0.55) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 64% 22%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 58%, rgba(200, 220, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 14%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(230, 240, 255, 0.4) 0%, transparent 100%),
    radial-gradient(ellipse 48% 42% at 18% 38%, rgba(70, 130, 210, 0.28) 0%, transparent 64%),
    radial-gradient(ellipse 42% 38% at 82% 32%, rgba(90, 150, 220, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 36% 30% at 50% 55%, rgba(232, 185, 35, 0.07) 0%, transparent 58%),
    linear-gradient(180deg, #01040a 0%, #02060f 40%, #000308 100%);
}

.cfg__fx-aurora {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse 40% 55% at 12% 45%, rgba(80, 150, 230, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 38% 50% at 90% 40%, rgba(100, 170, 240, 0.18) 0%, transparent 68%),
    radial-gradient(ellipse 50% 28% at 50% 18%, rgba(160, 210, 255, 0.12) 0%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: cfgAuroraDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.cfg__viewport[data-bg="ship"] .cfg__fx-aurora {
  display: block;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(40, 100, 180, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 25%, rgba(100, 40, 140, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(0, 160, 200, 0.18) 0%, transparent 50%);
  animation: cfgAuroraDrift 14s ease-in-out infinite alternate;
}

.cfg__viewport[data-bg="ship"] .cfg__fx-ship {
  display: block;
}

.cfg__viewport[data-bg="ship"] .cfg__fx-base {
  background:
    radial-gradient(ellipse 55% 45% at 50% 20%, rgba(20, 50, 100, 0.35) 0%, transparent 65%),
    radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 2%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.05) 0%, transparent 1.5%),
    radial-gradient(circle at 40% 70%, rgba(200, 220, 255, 0.04) 0%, transparent 1%),
    linear-gradient(180deg, #02060e 0%, #061018 40%, #03060a 100%);
}

.cfg__fx-ship {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 45% at 50% 48%, transparent 30%, rgba(2, 6, 14, 0.45) 100%),
    radial-gradient(ellipse 30% 20% at 50% 8%, rgba(0, 200, 255, 0.08) 0%, transparent 70%),
    linear-gradient(90deg, rgba(4, 10, 18, 0.35) 0%, transparent 16%, transparent 84%, rgba(4, 10, 18, 0.35) 100%);
  mix-blend-mode: screen;
}

@keyframes cfgAuroraDrift {
  from {
    transform: translate3d(-1.5%, 0.5%, 0) scale(1.02);
    opacity: 0.7;
  }
  to {
    transform: translate3d(1.5%, -0.8%, 0) scale(1.06);
    opacity: 0.95;
  }
}

.cfg__fx-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 52% at 50% 42%, transparent 42%, rgba(7, 21, 37, 0.62) 100%),
    linear-gradient(180deg, rgba(7, 21, 37, 0.35) 0%, transparent 20%, transparent 58%, rgba(4, 11, 22, 0.55) 100%);
}

.cfg__viewport[data-bg="light"],
.cfg__viewport[data-bg="mid"],
.cfg__viewport[data-bg="contrast"],
.cfg__viewport[data-bg="spot"],
.cfg__viewport[data-bg="tech"],
.cfg__viewport[data-bg="ship"] {
  border-color: rgba(232, 185, 35, 0.42);
  box-shadow:
    0 0 0 1px rgba(232, 185, 35, 0.12) inset,
    0 0 40px rgba(232, 185, 35, 0.08);
}

.cfg[data-bg="light"] .cfg__stage,
.cfg[data-bg="mid"] .cfg__stage,
.cfg[data-bg="contrast"] .cfg__stage,
.cfg[data-bg="spot"] .cfg__stage,
.cfg[data-bg="tech"] .cfg__stage,
.cfg[data-bg="ship"] .cfg__stage {
  background: #071018;
}

.cfg__top-left {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: calc(100% - 10rem);
}

.cfg__dims {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 58, 102, 0.1);
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.06);
}

.cfg__dims span:last-child {
  color: var(--gold-500);
}

.cfg__bgs {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-width: 7.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.cfg__bgs-label {
  margin: 0 0 0.05rem 0.1rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.cfg__bg-btn {
  appearance: none;
  margin: 0;
  border: 1px solid rgba(20, 58, 102, 0.14);
  cursor: pointer;
  padding: 0.48rem 0.55rem;
  min-height: 2.2rem;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: none;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.08);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.cfg__bg-btn:hover {
  color: var(--navy-950);
  border-color: rgba(212, 160, 23, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

.cfg__bg-btn.is-active {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.cfg__mobile-bar .cfg__bgs {
  position: static;
  margin-left: 0;
}

.cfg__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  border-radius: 14px;
  -webkit-user-select: none;
  user-select: none;
}

.cfg__canvas:active {
  cursor: grabbing;
}

.cfg__glb-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  user-select: none;
}

.cfg__glb-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--gold-500);
}

.cfg__preview-mode {
  margin-top: 0.35rem;
}

.cfg__model > .cfg__model-label + .cfg__preview-mode {
  margin-top: 0.2rem;
}

.cfg__model > .cfg__model-label:nth-of-type(2) {
  margin-top: 0.75rem;
}

.cfg__glb-series {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.cfg__glb-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: min(16rem, 78%);
  max-width: min(20rem, 86%);
  padding: 0.85rem 1rem 0.95rem;
  border-radius: 10px;
  background: rgba(7, 21, 37, 0.88);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* display:flex above otherwise overrides the HTML hidden attribute */
.cfg__glb-loading[hidden] {
  display: none !important;
}

.cfg__glb-loading-label {
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.cfg__glb-loading-track {
  height: 0.28rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.cfg__glb-loading-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c99612 0%, #e8b923 55%, #f0d56a 100%);
  transition: width 0.18s ease;
}

.cfg__glb-loading.is-indeterminate .cfg__glb-loading-bar {
  width: 38%;
  animation: cfg-load-slide 1.05s ease-in-out infinite;
}

@keyframes cfg-load-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.cfg__toolbar {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
  max-width: min(100% - 1.5rem, 26rem);
}

.cfg__view-btn {
  appearance: none;
  margin: 0;
  padding: 0.48rem 0.72rem;
  min-height: 2.35rem;
  border: 1px solid rgba(20, 58, 102, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.08);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.cfg__view-btn:hover {
  border-color: rgba(212, 160, 23, 0.55);
  color: var(--navy-950);
  transform: translateY(-1px);
}

.cfg__view-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.cfg__view-btn--section.is-active,
.cfg__view-btn[aria-pressed="true"] {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
}

.cfg__stage-ui {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  pointer-events: none;
}

.cfg__stage-ui > * {
  pointer-events: auto;
}

.cfg__hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 58, 102, 0.1);
  max-width: min(100%, 22rem);
  line-height: 1.35;
}

.cfg__place-tools {
  display: inline-flex;
  gap: 0.35rem;
}

.cfg__place-tools.is-hidden {
  display: none;
}

.cfg__place-btn {
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 58, 102, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.06);
}

.cfg__place-btn:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.cfg__door {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem;
  min-height: 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 58, 102, 0.14);
  color: var(--ink-muted);
  font-size: 0.8rem;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.06);
}

.cfg__door.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cfg__door input[type="range"] {
  width: 110px;
  accent-color: var(--gold-400);
}

/* dims + bg switcher live in .cfg__top-left */

.cfg__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: auto;
  max-height: none;
  overflow: visible;
  background: #f3f5f8;
  color: var(--ink);
  border-left: 1px solid var(--steel-300);
  padding: 0.9rem 0.85rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
}

.cfg__head {
  flex: 0 0 auto;
  margin-bottom: 0.65rem;
  padding: 0 0.1rem 0.65rem;
  border-bottom: 1px solid rgba(20, 58, 102, 0.12);
  text-align: center;
}

.cfg__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cfg__head h2 {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy-900);
}

.cfg__model {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  text-align: left;
}

.cfg__model-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cfg__model-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0.55rem;
  align-items: end;
}

.cfg__model-field {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  min-width: 0;
}

.cfg__product-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.4rem;
  gap: 0.55rem;
  align-items: stretch;
}

.cfg__product-select {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0.65rem 2rem 0.65rem 0.75rem;
  border: 1px solid rgba(20, 58, 102, 0.18);
  border-radius: 0.35rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23143a66' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.7rem center;
  color: var(--navy-900);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
}

.cfg__product-select:focus {
  outline: 2px solid rgba(212, 160, 23, 0.45);
  outline-offset: 1px;
}

.cfg__product-preview {
  position: relative;
  border: 1px solid rgba(20, 58, 102, 0.16);
  border-radius: 0.35rem;
  background: linear-gradient(160deg, #eef2f7 0%, #d9e2ee 100%);
  overflow: hidden;
  min-height: 2.7rem;
}

.cfg__product-preview-sil {
  position: absolute;
  inset: 18% 28% 12% 28%;
  background: #c5ced8;
  border: 1.5px solid #8a97a8;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.cfg__product-preview--floor .cfg__product-preview-sil {
  inset: 12% 30% 10% 30%;
}

.cfg__product-preview--wall .cfg__product-preview-sil {
  inset: 22% 26% 18% 26%;
}

.cfg__product-preview--boxes .cfg__product-preview-sil {
  inset: 28% 22% 22% 22%;
  border-radius: 2px;
}

.cfg__model-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(20, 58, 102, 0.18);
  background: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
}

.cfg__model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(20, 58, 102, 0.18);
  background: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
}

.cfg__model-grid--five {
  grid-template-columns: 1fr 1fr;
}

.cfg__model-grid--five .cfg__model-seg-btn {
  font-size: 0.68rem;
  padding: 0.5rem 0.28rem;
}

.cfg__model-grid--five .cfg__model-seg-btn:nth-child(5) {
  grid-column: 1 / -1;
  border-right: 0;
  border-top: 1px solid rgba(20, 58, 102, 0.12);
}

.cfg__model-seg-btn {
  appearance: none;
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(20, 58, 102, 0.12);
  background: transparent;
  color: var(--navy-800);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 650;
  padding: 0.58rem 0.35rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cfg__model-grid .cfg__model-seg-btn:nth-child(2n) {
  border-right: 0;
}

.cfg__model-grid .cfg__model-seg-btn:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(20, 58, 102, 0.12);
}

.cfg__model-seg-btn:last-child {
  border-right: 0;
}

.cfg__preview-mode .cfg__model-seg-btn:last-child {
  border-right: 0;
}

.cfg__model-seg-btn:hover:not(.is-active):not(:disabled) {
  background: #f4f7fb;
}

.cfg__model-seg-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  color: var(--ink-muted);
}

.cfg__model-seg-btn.is-active {
  background: var(--navy-900);
  color: #fff;
}

.cfg__model-hint {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

.cfg__section {
  margin-bottom: 1.15rem;
}

.cfg__section.is-dimmed {
  opacity: 0.45;
  pointer-events: none;
}

.cfg__section h3 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
}

.cfg__menu {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(20, 58, 102, 0.1);
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.cfg__menu-item {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 1.05rem;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid rgba(20, 58, 102, 0.1);
  border-left: 3px solid transparent;
  background: #fff;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.cfg__menu-item:last-child {
  border-bottom: 0;
}

.cfg__menu-item:hover {
  background: #f5f7fb;
  border-left-color: rgba(212, 160, 23, 0.65);
}

.cfg__menu-item.is-active {
  background: #0d1b3e;
  border-left-color: #d4a017;
  color: #fff;
}

.cfg__menu-item-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cfg__menu-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  width: 100%;
  max-width: 100%;
}

.cfg__menu-item-line {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(20, 58, 102, 0.72);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cfg__menu-item-line--accent {
  font-weight: 700;
  color: var(--gold-500);
}

.cfg__menu-item.is-active .cfg__menu-item-line {
  color: rgba(255, 255, 255, 0.78);
}

.cfg__menu-item.is-active .cfg__menu-item-line--accent {
  color: var(--gold-300);
}

.cfg__sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(11, 31, 58, 0.14);
  border-radius: 14px;
}

.cfg__sheet {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 7;
  width: min(340px, calc(100% - 1.7rem));
  max-height: calc(100% - 1.7rem);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(20, 58, 102, 0.14);
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.2);
  border-radius: 4px;
  animation: cfg-sheet-in 0.22s ease;
}

.cfg__sheet.is-ral-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  background: rgba(11, 31, 58, 0.28);
  pointer-events: auto;
}

@keyframes cfg-sheet-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cfg__sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 0 0 auto;
  padding: 0.75rem 0.9rem;
  background: var(--navy-900);
  color: #fff;
  border-bottom: 1px solid rgba(212, 160, 23, 0.35);
}

.cfg__sheet-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cfg__sheet-close {
  appearance: none;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cfg__sheet-close:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.cfg__sheet-body {
  padding: 0.95rem;
  overflow: auto;
  display: grid;
  gap: 0.85rem;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.cfg__sheet-body > .cfg__field + .cfg__field {
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(20, 58, 102, 0.12);
}

.cfg__field {
  display: grid;
  gap: 0.4rem;
}

.cfg__field.is-dimmed {
  opacity: 0.45;
  pointer-events: none;
}

.cfg__field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.cfg__locales {
  position: absolute;
  left: 0.85rem;
  top: 3.55rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-width: 7.5rem;
}

/* legacy locales stack — bg switcher moved to .cfg__top-left */

.cfg__locales-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin: 0 0 0.1rem 0.1rem;
}

.cfg__locale {
  appearance: none;
  margin: 0;
  padding: 0.48rem 0.55rem;
  min-height: 2.2rem;
  border: 1px solid rgba(20, 58, 102, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.08);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.cfg__locale:hover {
  border-color: rgba(212, 160, 23, 0.5);
}

.cfg__locale.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.cfg__logo {
  display: grid;
  gap: 0.55rem;
}

.cfg__logo-faces {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  margin-bottom: 0;
}

.cfg__logo-faces .cfg-chip {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.42rem 0.2rem;
  min-height: 2.35rem;
  font-size: 0.68rem;
  text-align: center;
  white-space: nowrap;
}

.cfg__logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.cfg__logo-preview {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  background: var(--steel-100);
  border: 1px solid var(--steel-300);
  padding: 0.2rem;
  flex-shrink: 0;
}

.cfg__logo-preview.is-empty {
  display: none;
}

.cfg__logo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.cfg__logo-scale {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.cfg__logo-scale strong {
  color: var(--navy-900);
  font-weight: 600;
}

.cfg__logo-scale input[type="range"] {
  width: 100%;
  max-width: 16rem;
}

.cfg__logo-scale.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cfg__logo-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.48rem 0.7rem;
  min-height: 2.35rem;
  border: 1px solid var(--steel-300);
  background: #fff;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
}

.cfg__logo-btn--primary {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
}

.cfg__logo-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

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

.cfg__viewport[data-env="office"],
.cfg__viewport[data-env="server"],
.cfg__viewport[data-env="factory"] {
  background: linear-gradient(165deg, #c5ccd4 0%, #d8dee6 100%);
}

.cfg__viewport[data-env="factory"] {
  background: linear-gradient(165deg, #6a727c 0%, #8a929c 100%);
}

.cfg__viewport[data-env="server"] {
  background: linear-gradient(165deg, #b8c2ce 0%, #d0d8e2 100%);
}

.cfg__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.cfg__row label,
.cfg__section > label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.cfg__row select,
.cfg__select,
.cfg__row input,
.cfg__custom-size input {
  width: 100%;
  padding: 0.65rem 0.7rem;
  min-height: 2.6rem;
  border: 1px solid var(--steel-300);
  background: var(--steel-100);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
}

.cfg__select {
  margin-top: 0;
}

.cfg__custom-size {
  margin-top: 0.65rem;
}

.cfg__custom-size summary {
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--navy-800);
  font-weight: 600;
  padding: 0.35rem 0;
}

.cfg__apply-custom {
  margin-top: 0.55rem;
  width: 100%;
  min-height: 2.6rem;
}

.cfg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cfg-chip-row--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.cfg-chip-row--stack .cfg-chip {
  width: 100%;
  justify-content: flex-start;
  padding: 0.72rem 0.9rem;
  min-height: 2.7rem;
  font-size: 0.88rem;
  font-weight: 650;
}

.cfg-chip-row--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.cfg-chip-row--pair .cfg-chip {
  text-align: center;
  justify-content: center;
}

.cfg-chip-row.is-dimmed {
  opacity: 0.45;
  pointer-events: none;
}

.cfg__field--material .cfg__note,
.cfg__field--lacquer .cfg__note,
.cfg__field--color .cfg__note {
  margin-top: 0.15rem;
}

.cfg-chip {
  appearance: none;
  border: 1px solid var(--steel-300);
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 0.75rem;
  min-height: 2.4rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.cfg-chip:hover:not(:disabled) {
  border-color: var(--navy-700);
}

.cfg-chip.is-active {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.cfg-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cfg__select option:disabled {
  color: #9aa3ad;
}

.cfg__note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.cfg__note--draft {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: color-mix(in srgb, var(--ink-muted) 8%, transparent);
  border-left: 2px solid color-mix(in srgb, var(--ink-muted) 35%, transparent);
}

.cfg-swatches {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: stretch;
}

.cfg-ral-std {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  align-items: stretch;
  width: 100%;
}

.cfg-ral-dot {
  appearance: none;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 2rem;
  border: 2px solid transparent;
  border-radius: 5px;
  background: var(--sw, #ccc);
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.cfg-ral-dot:hover,
.cfg-ral-dot.is-active {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 1px var(--navy-900);
}

.cfg-ral-dot::after {
  content: attr(data-ral-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 0.18rem 0.35rem;
  border-radius: 4px;
  background: rgba(11, 31, 58, 0.95);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 5;
}

.cfg-ral-dot:hover::after,
.cfg-ral-dot:focus-visible::after {
  opacity: 1;
}

.cfg-ral-custom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.15rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cfg-ral-custom-row__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--steel-600, #5c6773);
}

.cfg-mat {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfg__sheet-body:has(> .cfg-mat) {
  padding-left: 0;
  padding-right: 0;
  gap: 0.85rem;
}

.cfg__sheet-body:has(> .cfg-mat) > :not(.cfg-mat) {
  margin-left: 0.95rem;
  margin-right: 0.95rem;
}

.cfg-mat__block {
  padding: 0 0.95rem 0.8rem;
}

.cfg-mat__block + .cfg-mat__block {
  margin-top: 0;
  padding-top: 0.8rem;
  border-top: 2px solid var(--gold-400);
}

.cfg-mat__block.is-dimmed {
  opacity: 0.42;
  pointer-events: none;
}

.cfg-mat__title {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--navy-900);
  text-transform: none;
}

.cfg-mat__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.cfg-mat__title-row .cfg-mat__title {
  margin: 0;
}

.cfg-mat__meta {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-500);
}

.cfg-mat__meta--muted {
  color: var(--steel-600, #6a7380);
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 45%;
  text-align: right;
  line-height: 1.25;
}

.cfg-mat__block--finish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.2rem, 9.5rem);
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  padding-bottom: 0.25rem;
}

.cfg-mat__block--finish .cfg-mat__title,
.cfg-mat__block--finish .cfg-mat__title-row {
  margin: 0;
}

.cfg-mat__block--finish .cfg-chip-row {
  width: 100%;
}

.cfg-mat__block--finish .cfg-mat__note {
  grid-column: 1 / -1;
}

.cfg-mat__note {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--steel-600, #667);
}

.cfg-mat__block > .cfg__select {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  background: #f6f8fb;
  border-color: rgba(20, 58, 102, 0.14);
}

.cfg-mat__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
}

.cfg-mat-card {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(20, 36, 58, 0.14);
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem;
  min-height: 0;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.cfg-mat-card:hover {
  border-color: rgba(20, 36, 58, 0.28);
}

.cfg-mat-card.is-active {
  border-color: var(--navy-900);
  background: rgba(232, 185, 35, 0.08);
}

.cfg-mat-card__radio {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 36, 58, 0.28);
  background: #fff;
  box-shadow: inset 0 0 0 0 transparent;
}

.cfg-mat-card.is-active .cfg-mat-card__radio {
  border-color: var(--navy-900);
  background: var(--gold-400);
  box-shadow: inset 0 0 0 2px #fff;
}

.cfg-mat-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.cfg-mat-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.cfg-mat-card__hint {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--steel-600, #667);
}

.cfg-swatch {
  width: 2.55rem;
  height: 2.55rem;
  border: 2px solid transparent;
  border-radius: 4px;
  background: var(--sw, #ccc);
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.cfg-swatch.is-active {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 1px var(--navy-900);
}

.cfg-swatch--custom {
  width: auto;
  min-width: 4.5rem;
  height: 2.2rem;
  background: var(--sw, var(--steel-100));
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0 0.25rem 0 0.35rem;
  position: relative;
}

.cfg-swatch--custom input[data-ral-custom] {
  width: 3.2rem;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
  outline: none;
}

.cfg-swatch__palette-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--navy-900);
  padding: 0;
}

.cfg-swatch__color {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.cfg-ral-pop {
  position: fixed;
  z-index: 12000;
  padding: 0.55rem 0.6rem 0.65rem;
  border: 1px solid rgba(20, 36, 58, 0.16);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.18);
}

.cfg-ral-pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.cfg-ral-pop__close {
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  color: var(--steel-600, #667);
}

.cfg-ral-pop__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.3rem;
  max-height: 11.5rem;
  overflow: auto;
}

.cfg-ral-pop__swatch {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background: var(--sw, #ccc);
  min-height: 1.85rem;
  cursor: pointer;
  padding: 0.1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cfg-ral-pop__swatch span {
  font-size: 0.52rem;
  font-weight: 700;
  color: #111;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  padding: 0 0.12rem;
  line-height: 1.25;
}

.cfg-ral-palette {
  display: none;
}

.cfg__part-tip {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  max-width: 16rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(212, 160, 23, 0.55);
  background: rgba(11, 31, 58, 0.95);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1.25;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.28);
  white-space: nowrap;
}

.cfg__panel-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfg__checkout {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0.85rem;
  padding: 0.85rem 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(20, 58, 102, 0.12);
  border-left: 3px solid var(--gold-400);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.04);
}

.cfg__checkout-sku {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  word-break: break-word;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.cfg__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: -0.2rem 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(20, 58, 102, 0.72);
}

.cfg__specs span {
  white-space: nowrap;
}

.cfg__checkout-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.cfg__summary-toggle {
  appearance: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.42rem 0.65rem;
  min-height: 2.2rem;
  border: 1px solid rgba(20, 58, 102, 0.16);
  background: #f4f7fb;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0.3rem;
}

.cfg__summary-toggle:hover,
.cfg__summary-toggle.is-open {
  border-color: rgba(212, 160, 23, 0.7);
  background: #fffaf0;
  color: var(--navy-950);
}

.cfg__summary-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 31, 58, 0.4);
  backdrop-filter: blur(2px);
}

.cfg__summary-pop {
  /* ~A4 sheet width (210mm), centered over the stage */
  --cfg-sheet-w: min(210mm, calc(100vw - 1.5rem));
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 81;
  width: var(--cfg-sheet-w);
  max-width: var(--cfg-sheet-w);
  max-height: min(90dvh, 297mm);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(20, 58, 102, 0.14);
  background: #fff;
  box-shadow: 0 24px 64px rgba(11, 31, 58, 0.28);
  border-radius: 0.45rem;
  animation: cfg-desc-sheet-in 0.2s ease;
}

@keyframes cfg-desc-sheet-in {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.cfg__summary-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(20, 58, 102, 0.1);
  background: #f7f9fc;
}

.cfg__summary-pop-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}

.cfg__summary-sku {
  flex: 0 0 auto;
  margin: 0.75rem 1rem 0;
  padding: 0.5rem 0.7rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted, #64748b);
  background: rgba(15, 23, 42, 0.04);
  border-radius: 6px;
  word-break: break-all;
}

.cfg__summary-pop-close {
  appearance: none;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 58, 102, 0.14);
  background: #fff;
  color: var(--navy-800);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.25rem;
}

.cfg__summary-pop-close:hover {
  border-color: var(--gold-400);
  color: var(--navy-950);
}

.cfg__summary-list {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  list-style: none;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.45;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cfg__summary-list--tech {
  max-height: none;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--navy-900, #143a66);
}

.cfg__summary-list--tech li {
  padding: 0.45rem 0 0.45rem 0.15rem;
}

.cfg__summary-list li + li {
  margin-top: 0.18rem;
  padding-top: 0.18rem;
  border-top: 1px dashed rgba(20, 58, 102, 0.08);
}

.cfg__summary-list--tech li + li {
  margin-top: 0.28rem;
  padding-top: 0.35rem;
}

.cfg__price {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.cfg__price-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cfg__price strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cfg__price-rrp {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(20, 58, 102, 0.55);
  text-decoration: line-through;
}

.cfg__actions {
  display: grid;
  gap: 0.35rem;
}

.cfg__actions .btn {
  padding-block: 0.65rem;
  min-height: 2.7rem;
  font-size: 0.84rem;
}

.cfg__mobile-bar {
  display: none;
}

.cfg__m-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.cfg__m-select {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(20, 58, 102, 0.16);
  background: #fff;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 4px;
}

.cfg__mobile-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.cfg__mobile-row--tools {
  align-items: center;
  flex-wrap: wrap;
}

.cfg__mobile-hint {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

body.cfg-sheet-open {
  overflow: hidden;
}

/* —— Large desktop —— */
@media (min-width: 1280px) {
  .cfg {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  }
}

/* —— Tablet —— */
@media (max-width: 1099px) and (min-width: 768px) {
  .cfg {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    min-height: calc(100dvh - var(--header-h) - 6.5rem);
  }

  .cfg__stage {
    padding: 0.65rem;
  }

  .cfg__viewport {
    height: calc(100dvh - var(--header-h) - 1.5rem);
  }

  .cfg__panel {
    padding: 0.75rem 0.7rem;
  }

  .cfg__locales {
    max-width: 6.8rem;
  }

  .cfg__sheet {
    width: min(300px, calc(100% - 1.4rem));
  }

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

/* —— Tablet portrait / small laptop stacked —— */
@media (max-width: 900px) {
  .page-hero--cfg {
    padding-block: 1.05rem 1.1rem;
  }

  .page-hero--cfg h1 {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
  }

  .page-hero--cfg .page-hero__lead {
    font-size: 0.92rem;
  }

  .cfg {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cfg__stage {
    padding: 0.55rem 0.55rem 0;
  }

  .cfg__viewport {
    position: relative;
    top: 0;
    height: min(42dvh, 360px);
    min-height: 240px;
    border-radius: 12px;
  }

  .cfg__canvas {
    touch-action: pan-y;
  }

  .cfg__mobile-bar {
    display: grid;
    gap: 0.55rem;
    padding: 0.65rem 0.15rem 0.75rem;
  }

  .cfg__toolbar,
  .cfg__locales,
  .cfg__stage-ui {
    display: none !important;
  }

  .cfg__top-left {
    top: 0.55rem;
    left: 0.55rem;
    max-width: calc(100% - 1.1rem);
  }

  .cfg__top-left .cfg__bgs {
    display: inline-flex !important;
    flex-direction: column;
  }

  .cfg__dims {
    top: 0.55rem;
    left: 0.55rem;
    max-width: calc(100% - 1.1rem);
    font-size: 0.68rem;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
  }

  .cfg__panel {
    height: auto;
    max-height: none;
    align-self: auto;
    border-left: 0;
    border-top: 1px solid var(--steel-300);
    padding: 0.85rem 0.85rem calc(1rem + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .cfg__menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cfg__menu-item {
    border-right: 1px solid rgba(20, 58, 102, 0.1);
  }

  .cfg__menu-item:nth-child(2n) {
    border-right: 0;
  }

  .cfg__menu-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(20, 58, 102, 0.1);
  }

  .cfg__menu-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cfg__checkout {
    margin-top: 0.85rem;
    position: sticky;
    bottom: 0;
    z-index: 2;
  }

  .cfg__mobile-row--tools .cfg__door {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cfg__mobile-row--tools .cfg__door input[type="range"] {
    width: min(120px, 40vw);
    flex: 1 1 auto;
  }

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

  /* Bottom sheet for settings on tablet/phone */
  .cfg__sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    border-radius: 0;
    background: rgba(11, 31, 58, 0.42);
  }

  .cfg__sheet {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: min(82dvh, 720px);
    border-radius: 16px 16px 0 0;
    z-index: 121;
    animation: cfg-sheet-up 0.28s ease;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  @keyframes cfg-sheet-up {
    from {
      opacity: 0.6;
      transform: translateY(24%);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .cfg__sheet-body {
    padding: 1rem 1rem 1.25rem;
  }
}

/* —— Phone —— */
@media (max-width: 640px) {
  .cart-btn__sum {
    display: none;
  }

  .page-hero--cfg {
    padding-block: 0.65rem 0.45rem;
  }

  .page-hero--cfg .breadcrumb {
    margin-bottom: 0.45rem;
  }

  .page-hero--cfg h1 {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem);
    margin-bottom: 0.4rem;
  }

  .page-hero--cfg .page-hero__lead {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .page-hero--cfg .page-hero__atmosphere {
    opacity: 0.45;
  }

  .cfg__stage {
    padding: 0;
  }

  .cfg__viewport {
    height: min(38dvh, 300px);
    min-height: 220px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .cfg__canvas {
    border-radius: 0;
  }

  .cfg__dims {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.62rem;
  }

  .cfg__mobile-bar {
    padding: 0.55rem 0.75rem 0.65rem;
    background: #eef1f5;
    border-bottom: 1px solid var(--steel-300);
  }

  .cfg__stage {
    padding: 0;
  }

  .cfg__panel {
    padding: 0.75rem 0.75rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .cfg__head {
    display: none;
  }

  .cfg__menu-item {
    padding: 0.65rem 0.6rem;
    min-height: 3.4rem;
  }

  .cfg__menu-item-title {
    font-size: 0.72rem;
  }

  .cfg__menu-item-meta {
    font-size: 0.62rem;
  }

  .cfg__menu-item-line {
    font-size: 0.62rem;
  }

  .cfg__checkout {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-bottom: -0.85rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 0.85rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(11, 31, 58, 0.08);
    position: sticky;
    bottom: 0;
  }

  .cfg__checkout-sku {
    font-size: 0.78rem;
  }

  .cfg__price strong {
    font-size: 1.12rem;
  }

  .cfg__actions .btn {
    min-height: 3rem;
    font-size: 0.9rem;
  }

  .cfg__summary-pop {
    --cfg-sheet-w: min(210mm, calc(100vw - 1rem));
    max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 1rem));
    border-radius: 0.4rem;
  }

  .cfg__summary-pop-head {
    padding: 0.85rem 0.9rem;
  }

  .cfg__summary-list {
    padding: 0.75rem 0.9rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .cfg__sheet {
    max-height: min(88dvh, 100%);
  }

  .cfg__sheet-head {
    padding: 0.85rem 1rem;
  }

  .cfg__sheet-head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.4rem;
    width: 2.4rem;
    height: 0.28rem;
    margin-left: -1.2rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
  }

  .cfg__sheet-head {
    position: relative;
    padding-top: 1.1rem;
  }

  .cfg-swatch {
    width: 2.45rem;
    height: 2.45rem;
  }
}

/* —— Short phones / landscape phone —— */
@media (max-height: 520px) and (max-width: 900px) {
  .page-hero--cfg {
    display: none;
  }

  .cfg__viewport {
    height: min(62dvh, 360px);
    min-height: 200px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .page-hero--cfg {
    display: none;
  }

  .cfg {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 340px);
    min-height: calc(100dvh - var(--header-h));
  }

  .cfg__stage {
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: calc(100dvh - var(--header-h));
  }

  .cfg__viewport {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    border-radius: 8px;
  }

  .cfg__mobile-bar {
    flex: 0 0 auto;
    padding: 0.4rem 0.2rem 0.25rem;
  }

  .cfg__mobile-hint {
    display: none;
  }

  .cfg__panel {
    border-top: 0;
    border-left: 1px solid var(--steel-300);
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .cfg__menu {
    display: flex;
    flex-direction: column;
  }

  .cfg__menu-item {
    border-right: 0;
  }

  .cfg__head {
    display: block;
  }

  .cfg__sheet {
    left: auto;
    right: 0;
    width: min(360px, 92vw);
    max-height: calc(100dvh - var(--header-h));
    border-radius: 12px 0 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cfg__sheet,
  .cfg__view-btn {
    animation: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow,
  .hero__grid,
  .hero__lines span,
  .hero__stage,
  .hero__orbit-ring,
  .hero__orbit-dot,
  .hero__fade-in,
  .hero__fade-in--delay,
  .home-custom__glow,
  .home-custom__grid,
  .home-custom__ring,
  .home-custom__dot,
  .cab-draw,
  .home-flow__item,
  .home-map__pin,
  .footer-atmosphere__glow,
  .footer-atmosphere__grid,
  .footer-atmosphere__lines span,
  .footer-atmosphere__ring,
  .footer-atmosphere__dot,
  .page-hero__glow,
  .page-hero__grid,
  .page-hero__bolt,
  .page-hero__ring,
  .page-hero__dot {
    animation: none;
  }
}

