/* ============================================================
   Компоненты — одна связка: header · stage · tile · ribbon · btn
   ============================================================ */

/* ----- HEADER ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-stage) 82%, transparent);
  backdrop-filter: blur(var(--blur)) saturate(160%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 2px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: calc(var(--t-sm) * 1.55);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  color: #000;
  background: linear-gradient(180deg, var(--btn-top), var(--btn-face));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 3px 0 var(--btn-shadow),
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 0 16px -4px var(--glow-green);
  transition: transform 0.12s, box-shadow 0.12s;
}

.brand__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 5px 0 var(--btn-shadow),
    0 12px 28px rgba(0, 0, 0, 0.22),
    0 0 24px var(--glow-green);
}

.brand__btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    0 1px 0 var(--btn-shadow);
}

.brand__logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.35vw, 20px);
  margin-left: auto;
  margin-right: -10px;
  font-size: calc(var(--t-sm) * 1.5);
  white-space: nowrap;
}

.site-nav a { color: var(--ink-soft); transition: color 0.15s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--neon-green); font-weight: 600; }
.site-nav a.is-disabled { opacity: 0.4; pointer-events: none; }

.header-actions { display: flex; gap: 8px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-tile);
  color: var(--ink);
  animation: spectral-border 8s ease-in-out infinite;
  transition: transform 0.2s;
}

.icon-btn:hover { transform: scale(1.05); }

.menu-toggle { display: none; }

/* ----- STAGE — единая «сцена» ----- */
.stage {
  position: relative;
  border-radius: var(--radius-stage);
  background: var(--bg-stage);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-stage);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  overflow: hidden;
}

.stage--hero {
  overflow: visible;
  animation: spectral-border 10s ease-in-out infinite;
}

/* угловые метки — связь всех блоков */
.stage::before,
.stage::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
  opacity: 0.55;
}

.stage::before {
  top: 0; left: 0;
  border-top: 2px solid var(--neon-green);
  border-left: 2px solid var(--neon-green);
  border-radius: var(--radius-stage) 0 0 0;
  animation: spectral-corner-tl 8s ease-in-out infinite;
}

.stage::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
  border-radius: 0 0 var(--radius-stage) 0;
  animation: spectral-corner-br 8s ease-in-out infinite;
}

.stage__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

.stage__glow--spectral {
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, var(--glow-green), transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 30%, var(--glow-blue), transparent 65%),
    radial-gradient(ellipse 45% 60% at 70% 80%, var(--glow-orange), transparent 60%),
    radial-gradient(ellipse 40% 55% at 40% 20%, var(--glow-cyan), transparent 55%);
  opacity: 0.55;
  animation: spectral-glow-shift 10s ease-in-out infinite;
}

.stage__neon-ring {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    var(--neon-green),
    var(--neon-blue),
    var(--neon-orange),
    var(--neon-cyan),
    var(--neon-green)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  animation: ring-spin 12s linear infinite;
  animation-play-state: paused;
}

.stage--hero:not(.is-ring-home):not(.is-ring-frozen) .stage__neon-ring {
  animation-play-state: running;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.stage--hero.is-ring-frozen .stage__neon-ring {
  animation-play-state: paused;
}

.stage--hero.is-ring-home .stage__neon-ring {
  animation: none;
  transform: rotate(0deg);
}

.stage--hero.is-ring-frozen,
.stage--hero.is-ring-home {
  animation-play-state: paused;
}

.stage--hero.is-ring-frozen::before,
.stage--hero.is-ring-frozen::after,
.stage--hero.is-ring-home::before,
.stage--hero.is-ring-home::after {
  animation-play-state: paused;
}

@keyframes spectral-glow-shift {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  25% { opacity: 0.65; transform: scale(1.02) translateX(2%); }
  50% { opacity: 0.5; transform: scale(1.01) translateX(-2%); }
  75% { opacity: 0.7; transform: scale(1.03); }
}

@keyframes spectral-border {
  0%, 100% {
    border-color: color-mix(in srgb, var(--neon-green) 50%, var(--line));
    box-shadow: var(--shadow-stage), 0 0 50px -10px var(--glow-green);
  }
  25% {
    border-color: color-mix(in srgb, var(--neon-blue) 50%, var(--line));
    box-shadow: var(--shadow-stage), 0 0 50px -10px var(--glow-blue);
  }
  50% {
    border-color: color-mix(in srgb, var(--neon-orange) 50%, var(--line));
    box-shadow: var(--shadow-stage), 0 0 50px -10px var(--glow-orange);
  }
  75% {
    border-color: color-mix(in srgb, var(--neon-cyan) 50%, var(--line));
    box-shadow: var(--shadow-stage), 0 0 50px -10px var(--glow-cyan);
  }
}

@keyframes spectral-corner-tl {
  0%, 100% { border-top-color: var(--neon-green); border-left-color: var(--neon-green); filter: drop-shadow(0 0 8px var(--glow-green)); }
  25% { border-top-color: var(--neon-blue); border-left-color: var(--neon-blue); filter: drop-shadow(0 0 10px var(--glow-blue)); }
  50% { border-top-color: var(--neon-orange); border-left-color: var(--neon-orange); filter: drop-shadow(0 0 10px var(--glow-orange)); }
  75% { border-top-color: var(--neon-cyan); border-left-color: var(--neon-cyan); filter: drop-shadow(0 0 10px var(--glow-cyan)); }
}

@keyframes spectral-corner-br {
  0%, 100% { border-bottom-color: var(--neon-cyan); border-right-color: var(--neon-cyan); filter: drop-shadow(0 0 8px var(--glow-cyan)); }
  25% { border-bottom-color: var(--neon-orange); border-right-color: var(--neon-orange); filter: drop-shadow(0 0 10px var(--glow-orange)); }
  50% { border-bottom-color: var(--neon-green); border-right-color: var(--neon-green); filter: drop-shadow(0 0 10px var(--glow-green)); }
  75% { border-bottom-color: var(--neon-blue); border-right-color: var(--neon-blue); filter: drop-shadow(0 0 10px var(--glow-blue)); }
}

@keyframes spectral-text {
  0%, 100% { color: var(--neon-green); text-shadow: 0 0 14px var(--glow-green); }
  25% { color: var(--neon-blue); text-shadow: 0 0 14px var(--glow-blue); }
  50% { color: var(--neon-orange); text-shadow: 0 0 14px var(--glow-orange); }
  75% { color: var(--neon-cyan); text-shadow: 0 0 14px var(--glow-cyan); }
}

.stage__body {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 40px);
}

.stage__body--flush { padding: 0; }

.stage + .stage { margin-top: clamp(20px, 3vw, 32px); }

/* ----- RIBBON — заголовки разделов ----- */
.ribbon,
.about-lead h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  line-height: 1.2;
  color: var(--ink);
  padding-bottom: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.about-lead h2 {
  margin-bottom: 16px;
}

#customer-heading {
  margin-top: -24px;
  margin-bottom: 8px;
}

.stage[aria-labelledby="customer-heading"] .dot-list li {
  margin-bottom: 3px;
}

.stage[aria-labelledby="customer-heading"] .dot-list li:last-child {
  margin-bottom: 0;
}

.stage[aria-labelledby="customer-heading"] .cta-bar:first-of-type {
  margin-top: 45px;
}

.stage[aria-labelledby="customer-heading"] .cta-bar {
  padding-top: 4px;
}

.stage[aria-labelledby="customer-heading"] .cta-bar + .cta-bar {
  margin-top: 12px;
  padding-top: 14px;
}

.ribbon::after,
.about-lead h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue), var(--neon-orange), var(--neon-cyan));
  background-size: 300% 100%;
  box-shadow: 0 0 12px var(--glow-green);
  animation: spectral-line 6s linear infinite;
}

[data-theme="dark"] .ribbon,
[data-theme="dark"] .about-lead h2 {
  color: var(--neon-orange);
}

[data-theme="dark"] .ribbon::after,
[data-theme="dark"] .about-lead h2::after {
  animation: none;
  background: var(--neon-orange);
  background-size: auto;
  box-shadow: 0 0 10px var(--glow-orange);
}

[data-theme="light"] .ribbon,
[data-theme="light"] .about-lead h2 {
  color: var(--green-heading);
}

[data-theme="light"] .ribbon::after,
[data-theme="light"] .about-lead h2::after {
  animation: none;
  background: var(--green-heading-strong);
  background-size: auto;
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .hero-head__l2 {
  color: var(--burgundy);
}

[data-theme="light"] .feature-card__text {
  color: var(--green-heading);
}

[data-theme="light"] .feature-card__text::after {
  background: var(--green-heading-strong);
  box-shadow: 2px 4px 6px rgba(40, 32, 20, 0.18);
}

[data-theme="light"] .hero-caption {
  color: var(--green-heading);
}

[data-theme="light"] .tile__label {
  color: var(--green-heading-strong);
}

[data-theme="light"] .step h3 {
  color: var(--green-heading);
}

[data-theme="light"] .metro__year {
  color: var(--green-heading-strong);
}

[data-theme="light"] .kv__row dt {
  color: var(--green-heading-strong);
}

[data-theme="proektantskaya"] .ribbon,
[data-theme="proektantskaya"] .about-lead h2 {
  color: var(--accent);
}

[data-theme="proektantskaya"] .ribbon::after,
[data-theme="proektantskaya"] .about-lead h2::after {
  animation: none;
  background: var(--accent);
  background-size: auto;
  box-shadow: none;
  width: 80px;
}

[data-theme="proektantskaya"] .hero-head__l2,
[data-theme="proektantskaya"] .hero-caption,
[data-theme="proektantskaya"] .feature-card__text,
[data-theme="proektantskaya"] .tile__label,
[data-theme="proektantskaya"] .step h3,
[data-theme="proektantskaya"] .metro__year,
[data-theme="proektantskaya"] .kv__row dt,
[data-theme="proektantskaya"] #about .about-lead .thesis {
  color: var(--accent);
}

[data-theme="proektantskaya"] .feature-card__text::after {
  background: var(--accent);
}

@keyframes spectral-line {
  0% { background-position: 0% 50%; box-shadow: 0 0 12px var(--glow-green); }
  25% { box-shadow: 0 0 14px var(--glow-blue); }
  50% { background-position: 100% 50%; box-shadow: 0 0 14px var(--glow-orange); }
  75% { box-shadow: 0 0 14px var(--glow-cyan); }
  100% { background-position: 200% 50%; box-shadow: 0 0 12px var(--glow-green); }
}

/* ----- HERO HEAD — две строки сверху ----- */
.hero-page { padding-block: clamp(28px, 5vw, 48px); }

.landing-page .wrap--hero {
  padding-block: clamp(28px, 5vw, 48px);
}

.landing-page > .wrap:not(.wrap--hero) {
  padding-block: clamp(32px, 5vw, 56px);
}

.landing-page {
  padding-bottom: clamp(80px, 12vh, 180px);
}

.hero-head {
  text-align: left;
  margin-top: -32px;
  margin-bottom: clamp(24px, 4vw, 36px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.hero-head__l1 {
  font-size: clamp(1rem, 2.35vw, 3rem);
  line-height: 1;
  margin-bottom: 0;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.01em;
  color: #141210;
}

[data-theme="dark"] .hero-head__l1 {
  color: var(--neon-orange);
}

[data-theme="proektantskaya"] .hero-head__l1 {
  color: #1a1a1a;
}

.hero-head__l2 {
  font-size: clamp(1.875rem, 3.1vw, 2.625rem);
  line-height: 1;
  margin-top: 0;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 700;
}

/* ----- HERO — картинка + 4 блока, половина за краем ----- */
.hero-showcase {
  position: relative;
  margin: 0;
}

.hero-showcase__scene {
  position: relative;
  overflow: visible;
  line-height: 0;
}

.hero-ring-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  overflow: visible;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 28%, transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.42),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 22px 6px rgba(74, 222, 128, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.hero-ring-toggle::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.72) 0%, rgba(74, 222, 128, 0.28) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-ring-toggle::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 18%;
  width: 26%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

.hero-ring-toggle:hover {
  transform: scale(1.07);
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.48),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 28px 8px rgba(74, 222, 128, 0.58),
    0 10px 24px rgba(0, 0, 0, 0.32);
}

.hero-ring-toggle.is-paused {
  opacity: 0.78;
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.32),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 16px 4px rgba(74, 222, 128, 0.32),
    0 6px 16px rgba(0, 0, 0, 0.24);
}

.hero-ring-toggle__icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 22px;
  height: 22px;
  color: var(--neon-orange);
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.55));
}

[data-theme="proektantskaya"] .hero-ring-toggle__icon {
  color: #1a3a6b;
  filter: drop-shadow(0 0 4px rgba(26, 58, 107, 0.45));
}

[data-theme="proektantskaya"] .hero-ring-toggle {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.42),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 22px 6px rgba(34, 211, 238, 0.48),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

[data-theme="proektantskaya"] .hero-ring-toggle::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.75) 0%, rgba(56, 189, 248, 0.32) 42%, transparent 72%);
}

[data-theme="proektantskaya"] .hero-ring-toggle:hover {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.48),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 28px 8px rgba(34, 211, 238, 0.62),
    0 10px 24px rgba(0, 0, 0, 0.32);
}

[data-theme="proektantskaya"] .hero-ring-toggle.is-paused {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.32),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 16px 4px rgba(34, 211, 238, 0.35),
    0 6px 16px rgba(0, 0, 0, 0.24);
}

.hero-showcase__media {
  overflow: hidden;
  border-radius: var(--radius-stage) var(--radius-stage) 0 0;
  line-height: 0;
}

.hero-showcase__img {
  width: 100%;
  height: auto;
  display: block;
}

[data-theme="dark"] .hero-showcase__media {
  aspect-ratio: 4 / 3;
}

[data-theme="dark"] .hero-showcase__img--dark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  transform: none;
}

.hero-showcase__img--day { display: none; }

[data-theme="light"] .hero-showcase__img--dark,
[data-theme="proektantskaya"] .hero-showcase__img--dark {
  display: none;
}

[data-theme="light"] .hero-showcase__img--day-light {
  display: block;
}

[data-theme="proektantskaya"] .hero-showcase__img--day-proekt {
  display: block;
}

.stage:not(.stage--hero) .stage__neon-ring {
  display: none;
}

[data-theme="proektantskaya"] .stage {
  animation: spectral-border 10s ease-in-out infinite;
}

[data-theme="proektantskaya"] .stage--hero .stage__neon-ring {
  opacity: 0.55;
}

[data-theme="light"] .stage__glow--spectral {
  display: none;
}

[data-theme="proektantskaya"] .stage__glow--spectral {
  opacity: 0.38;
}

.hero-features {
  position: absolute;
  top: 14%;
  right: 0;
  transform: translateX(50%);
  width: min(360px, 34vw);
  display: grid;
  gap: clamp(10px, 1.4vw, 14px);
  z-index: 3;
  line-height: 1.4;
}

.feature-card {
  --card-accent: var(--neon-green);
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 18px 14px 16px;
  border-radius: 20px;
  background: #ede4d4;
  backdrop-filter: none;
  border: 2.5px solid color-mix(in srgb, var(--card-accent) 72%, #9a8b72);
  box-shadow:
    0 10px 28px rgba(40, 32, 20, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 22px color-mix(in srgb, var(--card-accent) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
  animation: feature-pulse 5s ease-in-out infinite;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background: var(--card-accent);
  box-shadow:
    0 0 10px var(--card-accent),
    0 0 22px var(--card-accent),
    4px 0 18px color-mix(in srgb, var(--card-accent) 75%, transparent);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow:
    0 0 8px var(--card-accent),
    0 0 16px var(--card-accent);
  opacity: 0.9;
}

.feature-card--green  { --card-accent: var(--neon-green);  animation-delay: 0s; }
.feature-card--blue   { --card-accent: var(--neon-blue);   animation-delay: -1.2s; }
.feature-card--orange { --card-accent: var(--neon-orange); animation-delay: -2.4s; }
.feature-card--cyan   { --card-accent: var(--neon-cyan);   animation-delay: -3.6s; }

.feature-card__icon {
  width: 44px;
  height: 44px;
  color: var(--card-accent);
  filter:
    drop-shadow(0 0 6px var(--card-accent))
    drop-shadow(0 0 14px var(--card-accent));
}

.feature-card__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #5c3a12;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.feature-card__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
}

@keyframes feature-pulse {
  0%, 100% {
    box-shadow:
      0 10px 28px rgba(40, 32, 20, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.45),
      0 0 18px color-mix(in srgb, var(--card-accent) 45%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border-color: color-mix(in srgb, var(--card-accent) 65%, #9a8b72);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(40, 32, 20, 0.26),
      0 0 0 1px rgba(255, 255, 255, 0.5),
      0 0 32px color-mix(in srgb, var(--card-accent) 72%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: color-mix(in srgb, var(--card-accent) 88%, #9a8b72);
  }
}

[data-theme="dark"] .feature-card {
  background: rgba(6, 12, 22, 0.88);
  backdrop-filter: blur(18px) saturate(170%);
  border: 2.5px solid color-mix(in srgb, var(--card-accent) 55%, rgba(255, 255, 255, 0.1));
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.5),
    0 0 28px -4px color-mix(in srgb, var(--card-accent) 60%, transparent);
  animation: feature-pulse-dark 5s ease-in-out infinite;
}

[data-theme="dark"] .feature-card__text {
  color: var(--neon-orange);
}

[data-theme="dark"] .feature-card__text::after {
  background: var(--neon-orange);
  box-shadow: 0 0 10px var(--glow-orange);
}

[data-theme="light"] .hero-features .feature-card,
[data-theme="light"] .hero-features .feature-card--green,
[data-theme="light"] .hero-features .feature-card--blue,
[data-theme="light"] .hero-features .feature-card--orange,
[data-theme="light"] .hero-features .feature-card--cyan {
  --card-accent: var(--burgundy);
  border-color: color-mix(in srgb, var(--burgundy) 48%, #9a8b72);
}

[data-theme="light"] .feature-card__icon {
  color: var(--burgundy);
  filter: none;
}

[data-theme="light"] .feature-card {
  animation: none;
  box-shadow: var(--sh-rd-lg), var(--sh-rd-sm);
}

[data-theme="light"] .feature-card::before {
  background: var(--burgundy);
  box-shadow: 3px 5px 8px rgba(40, 32, 20, 0.14);
}

[data-theme="light"] .feature-card::after {
  background: var(--burgundy);
  box-shadow: var(--sh-rd-sm);
}

@keyframes feature-pulse-dark {
  0%, 100% {
    box-shadow:
      0 10px 36px rgba(0, 0, 0, 0.5),
      0 0 24px -4px color-mix(in srgb, var(--card-accent) 55%, transparent);
    border-color: color-mix(in srgb, var(--card-accent) 50%, rgba(255, 255, 255, 0.1));
  }
  50% {
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.55),
      0 0 36px -2px color-mix(in srgb, var(--card-accent) 78%, transparent);
    border-color: color-mix(in srgb, var(--card-accent) 75%, rgba(255, 255, 255, 0.14));
  }
}

.hero-caption {
  padding: 16px clamp(20px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: var(--t-hero-caption);
  line-height: 1.2;
  font-weight: 700;
  color: var(--neon-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  text-shadow: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ----- TILE (о компании и пр.) ----- */
.tile {
  position: relative;
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.5vw, 24px);
  background: var(--bg-tile);
  border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.5;
  transition: background 0.2s, box-shadow 0.2s;
}

.tile:last-child { border-bottom: none; }

.tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--edge), transparent);
  animation: edge-pulse 5s ease-in-out infinite alternate;
}

@keyframes edge-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.9); box-shadow: 0 0 8px var(--glow-green); background: linear-gradient(180deg, transparent, var(--neon-green), transparent); }
  25% { box-shadow: 0 0 12px var(--glow-blue); background: linear-gradient(180deg, transparent, var(--neon-blue), transparent); }
  50% { opacity: 1; transform: scaleY(1); box-shadow: 0 0 14px var(--glow-orange); background: linear-gradient(180deg, transparent, var(--neon-orange), transparent); }
  75% { box-shadow: 0 0 12px var(--glow-cyan); background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent); }
}

.tile:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-tile));
  box-shadow: inset 0 0 30px -10px var(--glow-green);
}

/* ----- списки и CTA внутри stage ----- */
.dot-list li {
  position: relative;
  padding-left: 1.25em;
  margin-bottom: 10px;
  color: var(--neon-green);
  font-size: var(--t-body);
}

[data-theme="light"] .dot-list li {
  color: #145032;
}

[data-theme="light"] .dot-list li::before {
  background: #145032;
  animation: none;
  box-shadow: 2px 3px 6px rgba(40, 32, 20, 0.2);
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: dot-spectral 8s ease-in-out infinite;
}

@keyframes dot-spectral {
  0%, 100% { background: var(--neon-green); box-shadow: 0 0 10px var(--glow-green); }
  25% { background: var(--neon-blue); box-shadow: 0 0 10px var(--glow-blue); }
  50% { background: var(--neon-orange); box-shadow: 0 0 10px var(--glow-orange); }
  75% { background: var(--neon-cyan); box-shadow: 0 0 10px var(--glow-cyan); }
}

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding-top: 8px;
}

.cta-bar + .cta-bar {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.consult-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  color: var(--neon-orange);
  line-height: 1.2;
}

.price-line {
  margin-top: 6px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--neon-orange);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.price-line__note {
  display: inline-block;
  margin-left: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2.08rem);
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
}

[data-theme="light"] .price-line,
[data-theme="proektantskaya"] .price-line {
  text-shadow: none;
}

[data-theme="light"] .price-line {
  color: var(--burgundy);
}

[data-theme="proektantskaya"] .price-line {
  color: var(--accent);
}

.cta-bar .btn {
  position: relative;
  isolation: isolate;
  padding: 10px 28px;
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1;
  overflow: visible;
}

.cta-bar .btn.is-disabled {
  opacity: 1;
  pointer-events: none;
  cursor: default;
  color: #fff;
  background: #1a7a52;
  border: none;
  box-shadow: none;
  animation: none;
}

.cta-bar .btn.is-disabled::before {
  content: none;
  display: none;
}

.cta-bar .btn:not(.is-disabled) {
  color: #fff;
  background: #1a7a52;
  border: none;
}

[data-theme="proektantskaya"] .consult-text {
  color: var(--accent);
}

[data-theme="proektantskaya"] .brand__btn {
  color: #faf6ec;
}

/* ----- 3D BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--btn-ink);
  background: linear-gradient(180deg, var(--btn-top), var(--btn-face));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 4px 0 var(--btn-shadow),
    0 10px 28px rgba(0,0,0,0.22),
    0 0 24px -4px var(--glow-green);
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 6px 0 var(--btn-shadow),
    0 14px 36px rgba(0,0,0,0.28),
    0 0 32px var(--glow-green);
}

.cta-bar .btn:not(.is-disabled):hover {
  background: linear-gradient(180deg, #237a4f, #145032);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 0 #0a2e1c,
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.2), 0 1px 0 var(--btn-shadow);
}

.cta-bar .btn:not(.is-disabled):active {
  background: linear-gradient(180deg, #145032, #0f3d25);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.4),
    0 1px 0 #0a2e1c;
}

.btn--ghost {
  color: var(--ink);
  background: var(--bg-tile);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 3px 0 rgba(0,0,0,0.12),
    0 6px 16px rgba(0,0,0,0.1);
}

.btn.is-disabled { opacity: 0.42; pointer-events: none; transform: none; }

/* ============================================================
   О КОМПАНИИ — те же stage / tile / ribbon
   ============================================================ */

.about-page { padding-block: clamp(32px, 5vw, 56px); }

.about-lead {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-lead .thesis {
  font-size: var(--t-md);
  color: var(--ink-soft);
  max-width: 68ch;
}

#about .about-lead .thesis {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  max-width: none;
}

#it-deyatelnost .about-lead .thesis {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  max-width: none;
}

#it-deyatelnost .about-lead .thesis__brand {
  font-size: clamp(1.125rem, 1.44vw, 1.275rem);
  padding: 8px 22px;
}

#it-deyatelnost .about-lead .thesis .thesis__val {
  font-weight: 400;
}

[data-theme="dark"] #about .about-lead .thesis,
[data-theme="dark"] #it-deyatelnost .about-lead .thesis {
  color: var(--neon-orange);
}

a.btn.thesis__brand,
a.thesis__brand,
.thesis__brand {
  vertical-align: middle;
  margin: 0 0.35em 0.1em 0;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

#produktsiya .about-lead h2 {
  font-size: clamp(2.625rem, 4.2vw, 3.5625rem);
}

.smi-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 4px;
}

/* ----- Хронология: PNG-линия (наложение) + подписи ----- */
.chronology-path {
  position: relative;
  width: min(400px, 92vw);
  margin: clamp(12px, 2vw, 24px) auto 0;
  aspect-ratio: 349 / 1024;
}

.chronology-path__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.chronology-path__list {
  position: absolute;
  inset: 0;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chronology-text {
  margin-top: 8px;
}

[data-theme="dark"] .chronology-path {
  display: block;
}

[data-theme="dark"] .chronology-text {
  display: none;
}

[data-theme="light"] .chronology-path,
[data-theme="proektantskaya"] .chronology-path {
  display: none;
}

[data-theme="light"] .chronology-text,
[data-theme="proektantskaya"] .chronology-text {
  display: block;
}

.chronology-path__item {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: min(210px, 44vw);
  margin: 0;
  line-height: 1.35;
}

.chronology-path__item--left {
  text-align: right;
  transform: translate(calc(-100% - 14px), -50%);
}

.chronology-path__item--right {
  text-align: left;
  transform: translate(14px, -50%);
}

.chronology-path__year {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.chronology-path__item p {
  margin: 0;
  font-size: clamp(0.78rem, 2.1vw, 0.92rem);
  color: var(--ink-soft);
  hyphens: auto;
}

[data-theme="dark"] .chronology-path__item:nth-child(-n+3) .chronology-path__year {
  color: #5dff9b;
}

[data-theme="dark"] .chronology-path__item:nth-child(n+4):nth-child(-n+7) .chronology-path__year {
  color: #fb923c;
}

[data-theme="dark"] .chronology-path__item:nth-child(n+8):nth-child(-n+9) .chronology-path__year {
  color: #f4a082;
}

[data-theme="dark"] .chronology-path__item:last-child .chronology-path__year {
  color: #efd9a6;
}

@media (max-width: 520px) {
  .chronology-path {
    width: min(360px, 94vw);
  }

  .chronology-path__item {
    width: min(150px, 40vw);
  }

  .chronology-path__item p {
    font-size: 0.72rem;
  }
}

.specs-lead {
  margin: 4px 0 14px;
  color: var(--ink-soft);
  font-size: var(--t-md);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.specs-title {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.44rem, 2.16vw, 1.8rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.3;
}

.specs:not(.specs--pack) {
  table-layout: fixed;
}

.specs-columns {
  --specs-value-col: 60%;
  --specs-pack-desc-col: 22%;
  --specs-line: var(--neon-orange);
  position: relative;
}

.specs-stack .specs-title:not(:first-child) {
  position: relative;
  margin-top: 0;
  padding-top: 14px;
}

/* п.1 → п.2: вертикаль 60% только в зазоре между таблицами */
.specs-stack .specs-title:not(:first-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--specs-value-col) - 1px);
  top: -14px;
  bottom: 0;
  width: 2px;
  background: var(--specs-line);
  pointer-events: none;
}

.specs-columns .specs-stack .specs {
  margin-bottom: 0;
}

/* заголовок «3.…» не заходит под линию 60% */
.specs-columns .specs-stack + .specs-title {
  max-width: calc(var(--specs-value-col) - 1.5rem);
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 14px;
}

/* угол ломаной: ↓ 60% → ← до 22%, без текста */
.specs-step {
  position: relative;
  height: 0;
  margin: 0;
  overflow: visible;
  pointer-events: none;
}

.specs-step__down {
  position: absolute;
  left: calc(var(--specs-value-col) - 1px);
  top: calc(-1 * (14px + clamp(1.25rem, 2.2vw, 1.8rem) + 8px));
  height: calc(14px + clamp(1.25rem, 2.2vw, 1.8rem) + 8px);
  width: 2px;
  background: var(--specs-line);
}

.specs-step__across {
  position: absolute;
  left: calc(var(--specs-pack-desc-col) - 1px);
  width: calc(var(--specs-value-col) - var(--specs-pack-desc-col));
  top: 0;
  height: 2px;
  background: var(--specs-line);
}

.specs-columns .specs--pack {
  table-layout: fixed;
  margin-top: 0;
}

.specs-columns .specs--pack thead th:first-child,
.specs-columns .specs--pack tbody .t-name {
  width: var(--specs-pack-desc-col);
}

.specs-columns .specs--pack thead th:nth-child(3),
.specs-columns .specs--pack tbody .t-qty {
  width: 14%;
}

/* outdoor / indoor: линия 22% в гutter, текст правее */
.specs-columns .specs--pack tbody tr.specs-section td {
  padding-left: calc(var(--specs-pack-desc-col) + clamp(16px, 1.8vw, 26px));
  box-shadow: inset calc(var(--specs-pack-desc-col) - 1px) 0 0 0 var(--specs-line);
}

[data-theme="light"] .specs-columns {
  --specs-line: #d35400;
}

[data-theme="proektantskaya"] .specs-columns {
  --specs-line: #e07b1f;
}

.specs:not(.specs--pack) thead th:first-child {
  width: var(--specs-value-col);
}

.specs thead th {
  text-align: left;
  vertical-align: bottom;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.14));
}

.specs tbody td {
  text-align: left;
  vertical-align: top;
  padding: 6px 16px;
  line-height: 1.5;
  border-bottom: none;
}

.specs:not(.specs--pack) thead th:last-child {
  padding-left: clamp(16px, 1.8vw, 26px);
  border-left: 2px solid var(--neon-orange);
}

.specs:not(.specs--pack) tbody td:last-child {
  vertical-align: bottom;
  color: var(--ink);
  font-weight: 600;
  white-space: normal;
  padding-left: clamp(16px, 1.8vw, 26px);
  border-left: 2px solid var(--neon-orange);
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.specs:not(.specs--pack) tbody tr:last-child td:last-child {
  border-bottom: none;
}

.specs:not(.specs--pack) tbody tr.specs-head td:last-child,
.specs:not(.specs--pack) tbody tr.specs-sub td:last-child {
  border-bottom: none;
}

[data-theme="light"] .specs:not(.specs--pack) thead th:last-child,
[data-theme="light"] .specs:not(.specs--pack) tbody td:last-child {
  border-left-color: #d35400;
}

[data-theme="proektantskaya"] .specs:not(.specs--pack) thead th:last-child,
[data-theme="proektantskaya"] .specs:not(.specs--pack) tbody td:last-child {
  border-left-color: #e07b1f;
}

.specs tbody td:first-child {
  width: 60%;
  color: var(--ink-soft);
  padding-right: clamp(16px, 3vw, 32px);
}

.specs-sublist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.specs-sublist li {
  margin: 0;
  padding: 2px 0;
  line-height: 1.45;
}

.specs-sublist li::before {
  content: "— ";
  color: var(--accent, currentColor);
  margin-right: 2px;
}

.specs tbody tr.specs-head td:first-child {
  font-weight: 500;
  color: var(--ink-soft);
}

.specs tbody tr.specs-sub td:first-child {
  padding-left: clamp(28px, 3vw, 40px);
  color: var(--ink-soft);
}

.specs tbody tr.specs-head td {
  border-bottom: none;
  padding-top: 6px;
  padding-bottom: 2px;
}

.specs tbody tr.specs-sub + tr.specs-head td {
  padding-top: 14px;
}

.specs tbody tr.specs-sub td {
  padding-top: 3px;
  padding-bottom: 3px;
  border-bottom: none;
}

.specs tbody tr.specs-sub + tr:not(.specs-sub):not(.specs-head) td {
  padding-top: 14px;
}

/* ----- Таблица «Базовая комплектация» (4 колонки) ----- */
.specs--pack {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.3;
  table-layout: auto;
}

.specs--pack thead th {
  padding: 8px 10px;
  text-align: left;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.specs--pack thead th:nth-child(3) {
  text-align: left;
  white-space: nowrap;
}

.specs--pack tbody td {
  padding: 7px 10px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.specs--pack tbody .t-name {
  width: 22%;
  color: var(--ink);
  font-weight: 600;
  padding-right: clamp(16px, 1.8vw, 26px);
  padding-left: clamp(22px, 2.5vw, 40px);
  vertical-align: middle;
}

.specs--pack tbody .t-desc {
  color: #ffc78a;
  font-weight: 500;
  vertical-align: middle;
  padding-left: clamp(16px, 1.8vw, 26px);
  border-left: 2px solid var(--neon-orange);
}

.specs--pack thead th:first-child {
  padding-left: clamp(22px, 2.5vw, 40px);
}

.specs--pack thead th:nth-child(2) {
  padding-left: clamp(16px, 1.8vw, 26px);
  border-left: 2px solid var(--neon-orange);
}

.specs--pack tbody tr.specs-section td {
  padding-left: clamp(18px, 2vw, 30px);
}

[data-theme="light"] .specs--pack tbody .t-desc {
  color: var(--ink);
}

[data-theme="proektantskaya"] .specs--pack tbody .t-desc {
  color: #d96a1f;
}

.specs--pack tbody .t-qty {
  width: 14%;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  color: var(--ink);
  font-weight: 600;
}

.specs--pack tbody tr.specs-section td {
  padding: 14px 12px 6px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.18));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05em;
  color: #c084fc;
  background: rgba(0, 0, 0, 0.04);
  text-align: left;
}

.specs--pack tbody tr.specs-section:first-child td {
  padding-top: 6px;
}

[data-theme="dark"] .specs--pack tbody tr.specs-section td {
  background: rgba(255, 255, 255, 0.04);
  color: var(--neon-orange);
}

[data-theme="light"] .specs--pack tbody tr.specs-section td {
  color: var(--burgundy);
}

[data-theme="proektantskaya"] .specs--pack tbody tr.specs-section td {
  color: #2563eb;
}

[data-theme="light"] .specs--pack thead th:nth-child(2),
[data-theme="light"] .specs--pack tbody .t-desc {
  border-left-color: #d35400;
}

[data-theme="proektantskaya"] .specs--pack thead th:nth-child(2),
[data-theme="proektantskaya"] .specs--pack tbody .t-desc {
  border-left-color: #e07b1f;
}

.specs-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

/* Подзаголовок «4. Цена…» внутри карточки ПАК */
.specs-title--price {
  margin-top: 22px;
  margin-bottom: 0;
}

/* Карточка «ПАК Фото-Скан М» — компактнее по высоте */
#produktsiya .stage .stage__body {
  padding: clamp(18px, 2.5vw, 28px) clamp(20px, 3vw, 32px);
}

#produktsiya .specs-columns .specs-stack + .specs-title {
  margin-top: 0;
}

#produktsiya .specs-columns .specs--pack {
  margin-top: 0;
}

#produktsiya .specs-lead {
  margin: 2px 0 10px;
}

#produktsiya .specs-title:not(.specs-title--price) {
  margin-top: 14px;
}

#produktsiya .specs {
  margin-bottom: 6px;
}

@media (max-width: 720px) {
  .specs--pack thead {
    display: none;
  }
  .specs--pack,
  .specs--pack tbody,
  .specs--pack tr,
  .specs--pack td {
    display: block;
  }
  .specs--pack tbody tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  }
  .specs--pack tbody td {
    padding: 2px 0;
    border-bottom: none;
    width: auto !important;
    text-align: left !important;
  }
  .specs--pack tbody .t-name {
    font-weight: 700;
  }
  .specs--pack tbody .t-qty::before { content: "Количество: "; color: var(--ink-soft); font-weight: 400; }
  .specs--pack tbody tr.specs-section td {
    background: rgba(0, 0, 0, 0.06);
    padding: 10px;
  }
}

@media (max-width: 720px) {
  .specs tbody tr.specs-sub td:first-child {
    padding-left: 18px;
  }
  .specs tbody tr.specs-head + tr.specs-sub td {
    padding-top: 2px;
  }
}

@media (max-width: 720px) {
  .specs,
  .specs thead,
  .specs tbody,
  .specs tr,
  .specs td,
  .specs th {
    display: block;
  }
  .specs thead {
    display: none;
  }
  .specs tbody tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  }
  .specs tbody tr:last-child {
    border-bottom: none;
  }
  .specs tbody td {
    padding: 4px 0;
    border-bottom: none;
  }
  .specs tbody td:first-child {
    width: auto;
    padding-right: 0;
  }
  .specs-stack .specs-title:not(:first-child)::before,
  .specs-step__down,
  .specs-step__across {
    display: none;
  }

  .specs-columns .specs--pack tbody tr.specs-section td {
    padding-left: clamp(18px, 2vw, 30px);
    box-shadow: none;
  }

  .specs:not(.specs--pack) tbody td:last-child {
    margin-top: 2px;
    color: var(--ink);
    font-weight: 700;
    padding-left: 16px;
    border-left: 2px solid var(--neon-orange);
  }
}

.trademark-row {
  justify-content: center;
}

.smi-cover {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 240px);
}

.smi-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.smi-cover__link {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.smi-cover__link:focus-visible {
  outline: 3px solid var(--neon-cyan, #38bdf8);
  outline-offset: 3px;
}

.smi-cover__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72));
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  text-align: center;
}

.smi-cover__link:hover .smi-cover__overlay,
.smi-cover__link:focus-visible .smi-cover__overlay {
  opacity: 1;
}

.smi-cover__link:hover img,
.smi-cover__link:focus-visible img {
  transform: scale(1.03);
  filter: brightness(0.86);
}

.smi-cover__icon {
  width: 36px;
  height: 36px;
  color: #ffd87e;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.55));
}

.smi-cover__hint {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.smi-cover figcaption {
  margin-top: 10px;
  font-size: var(--t-xs, 0.85rem);
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: 0.01em;
}

[data-theme="light"] .smi-cover img,
[data-theme="proektantskaya"] .smi-cover img {
  box-shadow: 0 10px 24px rgba(20, 40, 30, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .smi-cover:hover img,
[data-theme="proektantskaya"] .smi-cover:hover img {
  box-shadow: 0 14px 30px rgba(20, 40, 30, 0.24), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.produktsiya-hero {
  position: relative;
  display: none;
  width: 69.444%;
  max-width: 100%;
  margin: 0 auto clamp(20px, 3vw, 32px);
  border-radius: var(--radius-tile, 18px);
}

.produktsiya-hero__inner {
  position: relative;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

.produktsiya-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.produktsiya-hero__ring,
.produktsiya-hero__glow {
  display: none;
}

.produktsiya-hero__play {
  position: absolute;
  top: clamp(10px, 1.5vw, 16px);
  right: clamp(10px, 1.5vw, 16px);
  z-index: 5;
  display: none;
}

.produktsiya-hero__caption {
  position: absolute;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 6;
  max-width: calc(100% - clamp(28px, 5vw, 56px));
  margin: 0;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: right;
  color: #ffc78a;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.6));
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(255, 165, 60, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

[data-theme="light"] .produktsiya-hero--light .produktsiya-hero__caption,
[data-theme="proektantskaya"] .produktsiya-hero--light .produktsiya-hero__caption {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.42), rgba(20, 20, 24, 0.62));
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 22px rgba(20, 40, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .produktsiya-hero--dark {
  display: block;
}

[data-theme="dark"] .produktsiya-hero--dark .produktsiya-hero__play {
  display: grid;
}

[data-theme="dark"] .produktsiya-hero--dark .produktsiya-hero__glow {
  display: block;
  position: absolute;
  inset: -18px;
  z-index: 0;
  border-radius: calc(var(--radius-tile, 18px) + 18px);
  background: conic-gradient(
    from 0deg,
    var(--neon-green),
    var(--neon-blue),
    var(--neon-orange),
    var(--neon-cyan),
    var(--neon-green)
  );
  filter: blur(30px) saturate(1.3);
  opacity: 0.28;
  pointer-events: none;
  animation: produktsiyaHeroGlowPulse 6s ease-in-out infinite;
}

[data-theme="dark"] .produktsiya-hero--dark .produktsiya-hero__ring {
  display: block;
  position: absolute;
  inset: -5px;
  z-index: 1;
  border-radius: calc(var(--radius-tile, 18px) + 5px);
  padding: 4px;
  background: conic-gradient(
    from 0deg,
    var(--neon-green),
    var(--neon-blue),
    var(--neon-orange),
    var(--neon-cyan),
    var(--neon-green)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.95;
  pointer-events: none;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  animation: produktsiyaHeroRingSpin 12s linear infinite;
  animation-play-state: paused;
}

@keyframes produktsiyaHeroRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes produktsiyaHeroGlowPulse {
  0%, 100% { opacity: 0.22; filter: blur(28px) saturate(1.25); }
  50%      { opacity: 0.36; filter: blur(34px) saturate(1.4); }
}

[data-theme="dark"] .produktsiya-hero--dark.is-running .produktsiya-hero__ring,
[data-theme="dark"] .produktsiya-hero--dark.is-running .produktsiya-hero__glow {
  animation-play-state: running;
}

[data-theme="dark"] .produktsiya-hero--dark.is-paused .produktsiya-hero__ring,
[data-theme="dark"] .produktsiya-hero--dark.is-paused .produktsiya-hero__glow {
  animation-play-state: paused;
}

[data-theme="dark"] .produktsiya-hero--dark.is-home .produktsiya-hero__ring {
  animation: none;
  transform: rotate(0deg);
  transition: transform 0.6s ease;
}

[data-theme="dark"] .produktsiya-hero--dark.is-home .produktsiya-hero__glow {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="dark"] .produktsiya-hero--dark .produktsiya-hero__ring,
  [data-theme="dark"] .produktsiya-hero--dark .produktsiya-hero__glow {
    animation: none;
  }
}

#produktsiyaSpin .fig-toggle__icon {
  color: var(--neon-green);
  filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.6));
}

.produktsiya-hero__icon {
  display: block;
}

.produktsiya-hero__play.is-active {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.48),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 26px 7px rgba(56, 189, 248, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.32);
}

[data-theme="light"] .produktsiya-hero--light,
[data-theme="proektantskaya"] .produktsiya-hero--light {
  display: block;
  box-shadow: 0 14px 38px rgba(20, 40, 30, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.tile-grid { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-tile); overflow: hidden; }

.tile-grid .tile {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  border-bottom: none;
  padding: 22px 24px;
}

.tile-grid .tile::before { top: 18%; bottom: 18%; }

.tile__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}

/* ----- Карточка «О компании»: прозрачная заливка как у «Четыре прочные опоры» ----- */
#about .tile-grid {
  background: transparent;
  gap: clamp(12px, 1.6vw, 20px);
  border-radius: 0;
  overflow: visible;
}

/* ----- Кирпичная стена за неоновыми вывесками (только в этом блоке #about) ----- */
#about .stage:has(.tile__label) .tile-grid {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 2.2vw, 30px);
  border-radius: 18px;
  background-color: #160d07;
  background-image:
    /* лёгкая виньетка — стена темнеет к краям */
    radial-gradient(ellipse at center, rgba(0,0,0,0) 28%, rgba(0,0,0,0.55) 100%),
    /* кирпичный паттерн со смещением рядов */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234a2e1c'/%3E%3Cstop offset='1' stop-color='%232a180c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='80' fill='%230c0805'/%3E%3Crect x='2' y='3' width='76' height='34' fill='url(%23b)'/%3E%3Crect x='82' y='3' width='76' height='34' fill='url(%23b)'/%3E%3Crect x='-38' y='43' width='76' height='34' fill='url(%23b)'/%3E%3Crect x='42' y='43' width='76' height='34' fill='url(%23b)'/%3E%3Crect x='122' y='43' width='76' height='34' fill='url(%23b)'/%3E%3Crect x='2' y='3' width='76' height='2' fill='%23150a04' opacity='0.7'/%3E%3Crect x='82' y='3' width='76' height='2' fill='%23150a04' opacity='0.7'/%3E%3Crect x='-38' y='43' width='76' height='2' fill='%23150a04' opacity='0.7'/%3E%3Crect x='42' y='43' width='76' height='2' fill='%23150a04' opacity='0.7'/%3E%3Crect x='122' y='43' width='76' height='2' fill='%23150a04' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 100% 100%, 160px 80px;
  background-repeat: no-repeat, repeat;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.75),
    inset 0 2px 0 rgba(255, 255, 255, 0.04),
    0 4px 18px rgba(0, 0, 0, 0.45);
}

/* в светлой и проектантской темах оставляем прозрачно — без стены */
[data-theme="light"] #about .stage:has(.tile__label) .tile-grid,
[data-theme="proektantskaya"] #about .stage:has(.tile__label) .tile-grid {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  padding: 0;
}

#about .tile-grid .tile {
  background: transparent;
  border-bottom: none;
  display: grid;
  grid-template-columns: minmax(170px, max-content) 1fr;
  gap: clamp(18px, 2.5vw, 32px);
  align-items: center;
  padding: 6px 0;
}

#about .tile-grid .tile::before {
  display: none;
}

#about .tile-grid .tile__icon {
  display: none;
}

#about .tile-grid .tile > div {
  display: contents;
}

/* ----- Неоновые вывески: овальная зелёная трубка + буквы-трубки на кирпичной стене ----- */
#about .tile-grid .tile__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: clamp(210px, 22vw, 270px);
  min-height: clamp(92px, 9.5vw, 116px);
  padding: 12px 30px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  /* буквы — неоновые трубки: тёплое ядро + оранжево-красный ореол */
  color: #fff8e0;
  -webkit-text-stroke: 0.6px rgba(255, 220, 170, 0.95);
  text-shadow:
    0 0 1px #fff7e0,
    0 0 3px #ffd58a,
    0 0 7px #ff9540,
    0 0 14px #ff5a10,
    0 0 24px rgba(255, 60, 0, 0.85),
    0 0 40px rgba(255, 40, 0, 0.5);
  /* овальная рама — зелёная трубка */
  background: transparent;
  border: 4px solid #5cff8a;
  border-radius: 50%;
  box-shadow:
    /* наружный ореол вокруг трубки (свечение на стене) */
    0 0 4px #5cff8a,
    0 0 12px rgba(60, 230, 100, 0.75),
    0 0 26px rgba(46, 210, 80, 0.55),
    0 0 48px rgba(46, 190, 80, 0.3),
    /* блик стекла + внутреннее свечение газа */
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 10px rgba(180, 255, 200, 0.4);
  animation: neonSignFlicker 7s ease-in-out infinite;
}

#about .tile-grid .tile p {
  margin: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--ink);
  line-height: 1.45;
}

#about .tile-grid--2 .tile p strong {
  font-size: 1.2em;
}

/* текст рядом с неоновыми вывесками — на кирпичной стене (тёмная тема) */
#about .stage:has(.tile__label) .tile-grid .tile p {
  color: #f3ead8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

[data-theme="light"] #about .stage:has(.tile__label) .tile-grid .tile p,
[data-theme="proektantskaya"] #about .stage:has(.tile__label) .tile-grid .tile p {
  color: var(--ink);
  text-shadow: none;
}

/* ===== Карточка «О компании» с готовой картинкой неоновых вывесок ===== */
/* Картинка прижата к левому краю, надписи частично заходят поверх правой (тёмной) части картинки */
#about .stage:has(.about-neon) .stage__body {
  padding: 0;
}

.about-neon {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) 1fr;
  align-items: stretch;
  background: #06080e;
  position: relative;
}

.about-neon__figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.about-neon__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  /* приглушённая картинка — чуть темнее, фон ровный, неон не тускнеет визуально */
  filter: brightness(0.78) contrast(1.04) saturate(1.02);
}

.about-neon__list {
  list-style: none;
  margin: 0 0 0 clamp(-160px, -10vw, -60px);
  padding: clamp(48px, 6vw, 90px) clamp(28px, 4vw, 60px) clamp(28px, 4vw, 56px) clamp(12px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: clamp(12px, 1.8vw, 26px);
  position: relative;
  z-index: 2;
}

.about-neon__list li {
  padding-left: calc(clamp(32px, 4.5vw, 64px) + clamp(14px, 2vw, 28px) + clamp(10px, 1.4vw, 18px));
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  line-height: 1.5;
  color: #ffb070;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Надписи 2–5 чуть выше первой — ближе к ней */
.about-neon__list li:not(:first-child) {
  transform: translateY(calc(-1 * clamp(24px, 2.6vw, 38px)));
}

.about-neon__list li:nth-child(2) {
  line-height: 1.32;
  transform: translateY(calc(-1 * clamp(24px, 2.6vw, 38px) + clamp(10px, 1.2vw, 18px)));
}

/* ----- Список CSS-подписей-овалов (видим только в светлой/проектантской теме) ----- */
.about-neon__labels {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== Светлая и проектантская темы: фон как у других карточек, картинку прячем, овалы рисуем CSS-ом ===== */
[data-theme="light"] #about .stage:has(.about-neon),
[data-theme="proektantskaya"] #about .stage:has(.about-neon) {
  background: var(--bg-stage);
}

[data-theme="light"] #about .stage:has(.about-neon) .stage__body,
[data-theme="proektantskaya"] #about .stage:has(.about-neon) .stage__body {
  padding: clamp(24px, 4vw, 40px);
}

[data-theme="light"] .about-neon,
[data-theme="proektantskaya"] .about-neon {
  background: transparent;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}

[data-theme="light"] .about-neon__figure,
[data-theme="proektantskaya"] .about-neon__figure { display: none; }

[data-theme="light"] .about-neon__labels,
[data-theme="proektantskaya"] .about-neon__labels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(10px, 1.5vw, 20px) 0;
  height: 100%;
}

[data-theme="light"] .about-neon__labels li,
[data-theme="proektantskaya"] .about-neon__labels li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(82px, 10.5vw, 124px);
  padding: 10px 38px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.1vw, 1.92rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.05;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* Цвет текста по темам */
[data-theme="light"] .about-neon__labels li { color: var(--burgundy); }
[data-theme="proektantskaya"] .about-neon__labels li { color: var(--accent); }

/* Пять разных рисованных «от руки» овалов — каждому своя индивидуальная линия и разрыв */
[data-theme="light"] .about-neon__labels li:nth-child(1),
[data-theme="proektantskaya"] .about-neon__labels li:nth-child(1) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80' preserveAspectRatio='none'%3E%3Cpath d='M 42 34 C 30 14 75 6 132 8 C 180 10 220 28 210 48 C 200 68 145 78 90 74 C 45 70 18 60 12 50 C 8 42 16 36 28 38' fill='none' stroke='%231a1a1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

[data-theme="light"] .about-neon__labels li:nth-child(2),
[data-theme="proektantskaya"] .about-neon__labels li:nth-child(2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80' preserveAspectRatio='none'%3E%3Cpath d='M 38 44 C 22 22 80 4 144 6 C 198 8 222 28 212 52 C 200 72 132 78 78 70 C 38 64 12 56 16 44 C 22 34 30 38 36 50' fill='none' stroke='%231a1a1a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

[data-theme="light"] .about-neon__labels li:nth-child(3),
[data-theme="proektantskaya"] .about-neon__labels li:nth-child(3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80' preserveAspectRatio='none'%3E%3Cpath d='M 56 18 C 110 6 178 10 206 30 C 222 48 212 68 184 74 C 130 80 70 78 30 66 C 8 58 4 44 18 30 C 30 18 42 18 50 28' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

[data-theme="light"] .about-neon__labels li:nth-child(4),
[data-theme="proektantskaya"] .about-neon__labels li:nth-child(4) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80' preserveAspectRatio='none'%3E%3Cpath d='M 28 54 C 14 42 14 22 36 14 C 64 4 130 6 174 12 C 220 18 224 38 204 56 C 188 72 130 80 84 76 C 50 74 30 70 30 60' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

[data-theme="light"] .about-neon__labels li:nth-child(5),
[data-theme="proektantskaya"] .about-neon__labels li:nth-child(5) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80' preserveAspectRatio='none'%3E%3Cpath d='M 50 28 C 34 10 96 4 152 8 C 206 12 224 36 204 56 C 188 72 138 78 86 72 C 44 68 10 58 18 42 C 26 32 40 36 36 52' fill='none' stroke='%231a1a1a' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

/* Текстовые описания в светлых темах — обычным цветом, без отрицательных сдвигов */
[data-theme="light"] .about-neon__list,
[data-theme="proektantskaya"] .about-neon__list {
  margin: 0;
  padding: 0;
}

[data-theme="light"] .about-neon__list li,
[data-theme="proektantskaya"] .about-neon__list li {
  color: var(--ink);
  text-shadow: none;
  transform: none;
  padding-left: calc(clamp(18px, 2.8vw, 36px) + clamp(10px, 1.5vw, 24px) + clamp(10px, 1.4vw, 18px));
}

[data-theme="light"] .about-neon__list li:nth-child(2),
[data-theme="proektantskaya"] .about-neon__list li:nth-child(2) {
  line-height: 1.32;
  margin-top: clamp(10px, 1.2vw, 18px);
}

@media (max-width: 880px) {
  .about-neon {
    grid-template-columns: 1fr;
  }
  .about-neon__figure img {
    height: auto;
    aspect-ratio: 940 / 1040;
    filter: brightness(0.82) contrast(1.04);
  }
  .about-neon__list {
    margin: 0;
    padding: clamp(20px, 5vw, 32px);
    gap: 14px;
  }
  .about-neon__list li {
    padding-left: 0;
  }
}

@keyframes neonSignFlicker {
  0%, 42%, 100% { opacity: 1; }
  43% { opacity: 0.75; }
  44% { opacity: 1; }
  45% { opacity: 0.88; }
  46%, 81% { opacity: 1; }
  83% { opacity: 0.94; }
  85% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #about .tile-grid .tile__label {
    animation: none;
  }
}

@media (max-width: 720px) {
  #about .tile-grid .tile {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #about .tile-grid .tile__label {
    justify-self: start;
    white-space: normal;
  }
}

[data-theme="light"] #about .tile-grid .tile__label {
  color: var(--burgundy);
  border-color: var(--burgundy);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(123, 30, 58, 0.25),
    inset 0 0 0 1px rgba(123, 30, 58, 0.18);
  text-shadow: none;
  -webkit-text-stroke: 0;
  animation: none;
}

[data-theme="proektantskaya"] #about .tile-grid .tile__label {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(43, 87, 151, 0.28),
    inset 0 0 0 1px rgba(43, 87, 151, 0.18);
  text-shadow: none;
  -webkit-text-stroke: 0;
  animation: none;
}

.tile__icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  filter: drop-shadow(0 0 12px var(--glow));
}

.tile-grid--2 { grid-template-columns: 1fr 1fr; }

@media (max-width: 768px) {
  .tile-grid--2 { grid-template-columns: 1fr; }
}

/* цикл — номера без иконок, внутри stage */
.steps { display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step:last-child { border-bottom: none; padding-bottom: 0; }
.step:first-child { padding-top: 0; }

.step__num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-tile);
  box-shadow: inset 0 0 20px var(--glow);
}

.step h3 { font-size: var(--t-md); margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: var(--t-body); }

/* метро-хронология */
.metro {
  position: relative;
  padding-left: 32px;
}

.metro::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  box-shadow: 0 0 20px var(--glow);
}

.metro__stop {
  position: relative;
  padding: 0 0 28px 24px;
}

.metro__stop::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-stage);
  border: 3px solid var(--accent);
  box-shadow: 0 0 14px var(--edge);
}

.metro__year {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.metro__stop p { color: var(--ink-soft); font-size: var(--t-body); }

/* патенты — строки внутри stage */
.doc-rows { display: grid; gap: 8px; }

.doc-row {
  padding: 14px 18px;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  background: var(--bg-tile);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-tile) var(--radius-tile) 0;
}

.kv { display: grid; gap: 10px; }

.kv__row {
  padding: 16px 18px;
  background: var(--bg-tile);
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
}

.kv__row dt {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.kv__row dd { color: var(--ink-soft); font-size: var(--t-body); }

.trademark {
  border-radius: var(--radius-tile);
  border: 1px solid var(--line);
  max-width: 480px;
  box-shadow: var(--shadow-stage);
}

.about-figure {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto 28px;
}

.about-figure__neon {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  pointer-events: none;
}

.about-figure__title {
  margin: 0 0 16px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

[data-theme="light"] .about-figure__title {
  color: var(--green-heading-strong);
}

/* четыре опоры: подписи слева/справа, рисунок по центру */
.pillars {
  display: grid;
  grid-template-columns: 1fr minmax(216px, 360px) 1fr;
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 32px);
}

.pillars__figure {
  position: relative;
  z-index: 0;
  justify-self: center;
  align-self: center;
  width: 100%;
  margin: 0;
}

/* неоновый дом — SVG-файл в img (переносится вместе с сайтом) */
.neon-house {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4594 / 3545;
  object-fit: contain;
}

.fw-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.fw-canvas--card {
  z-index: 7;
}

/* карточка «Признание» с видео-статуэткой Меркурия */
.merit {
  position: relative;
  display: grid;
  grid-template-columns: clamp(180px, 30%, 300px) 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  contain: layout style paint;
}

.merit__body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.merit__title {
  margin: 0;
  color: #ffd86a;
  letter-spacing: 0.02em;
  text-shadow:
    0 -1px 0 #fff6d0,
    1px 1px 0 #b48618,
    2px 2px 0 #7a580f,
    3px 3px 0 #3e2c07,
    4px 4px 6px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
  will-change: transform;
}

[data-theme="dark"] .merit__title {
  color: #ffe07a;
  text-shadow:
    0 -1px 0 #fff8d8,
    1px 1px 0 #d09a1a,
    2px 2px 0 #7d5b0e,
    3px 3px 0 #3c2c06,
    4px 4px 8px rgba(0, 0, 0, 0.65);
}

.merit__play {
  position: absolute;
  top: clamp(8px, 1.5vw, 14px);
  right: clamp(8px, 1.5vw, 14px);
  z-index: 4;
}

.merit__media {
  height: clamp(280px, 32vw, 440px);
  overflow: hidden;
  border-radius: 14px;
  transform: translateZ(0);
  will-change: transform;
  contain: layout paint;
}

.merit__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.merit__text {
  margin: auto 0;
  padding-left: clamp(16px, 3vw, 44px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.25;
}

@media (max-width: 720px) {
  .merit {
    grid-template-columns: 1fr;
  }
  .merit__text {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
}

/* две стеклянные кнопки в правом верхнем углу карточки */
.figure-toggles {
  position: absolute;
  top: clamp(14px, 2.5vw, 22px);
  right: clamp(14px, 2.5vw, 22px);
  z-index: 6;
  display: flex;
  gap: 10px;
}

.fig-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 28%, transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.42),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 18px 4px rgba(74, 222, 128, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.fig-toggle:hover {
  transform: scale(1.07);
}

.fig-toggle.is-active {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.48),
    inset 0 -5px 14px rgba(0, 0, 0, 0.18),
    0 0 26px 7px rgba(56, 189, 248, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.3);
}

.fig-toggle.is-off {
  opacity: 0.6;
}

.fig-toggle__icon {
  width: 22px;
  height: 22px;
  color: var(--neon-green);
  filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.6));
}

#fwToggle .fig-toggle__icon {
  color: var(--neon-orange);
  filter: drop-shadow(0 0 4px rgba(251, 146, 60, 0.6));
}

@media (prefers-reduced-motion: reduce) {
  .neon-house.neon-flow { animation: none; }
}

.pillars__side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.pillars__side--left {
  margin-right: 0;
}

.pillars__side--right {
  margin-left: 0;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillars__side--left .pillar p {
  text-align: left;
}

.pillar__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 7vw, 5.75rem);
  font-weight: 700;
  line-height: 0.9;
  color: #1a7a52;
}

.pillar p {
  flex: 1;
  margin: 0;
  font-size: var(--t-lg);
  line-height: 1.4;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pillars__side {
    gap: 20px;
  }

  .pillars__side--left,
  .pillars__side--right {
    text-align: left;
    margin: 0;
  }

  .pillars__figure {
    order: -1;
    width: min(320px, 100%);
    margin: 0 auto;
  }
}

/* ----- MOBILE ----- */
@media (max-width: 900px) {
  .wrap--hero { padding-right: var(--pad); }

  .hero-features {
    transform: translateX(35%);
    width: min(300px, 42vw);
  }

  .feature-card__text { font-size: clamp(0.9rem, 2.2vw, 1.05rem); }

  .menu-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    flex-wrap: wrap;
    margin-right: 0;
    white-space: normal;
    background: var(--bg-stage);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--pad);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .hero-showcase__scene { display: flex; flex-direction: column; }

  .hero-features {
    position: static;
    transform: none;
    width: 100%;
    padding: 14px;
    background: rgba(6, 12, 22, 0.95);
    border-radius: 0 0 var(--radius-stage) var(--radius-stage);
  }

  .feature-card__text { font-size: 1rem; }
}

/* ----- СВЕТЛАЯ ТЕМА: тени ↘ вместо подсветок ----- */
[data-theme="light"] .brand__logo {
  filter: brightness(0) saturate(100%) invert(16%) sepia(65%) saturate(3200%) hue-rotate(310deg) brightness(0.88) contrast(1.05);
}

[data-theme="light"] .brand__btn {
  color: #fff8f0;
  background: linear-gradient(180deg, var(--burgundy-top), var(--burgundy));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 3px 0 var(--burgundy-shadow),
    var(--sh-rd);
}

[data-theme="light"] .brand__btn:hover {
  background: linear-gradient(180deg, #a84462, #8a2242);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 5px 0 var(--burgundy-shadow),
    var(--sh-rd-lg);
}

[data-theme="light"] .consult-text {
  color: var(--burgundy);
  text-shadow: none;
}

[data-theme="light"] .icon-btn {
  animation: none;
  filter: none;
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .stage,
[data-theme="light"] .stage--hero {
  animation: none;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-stage);
}

[data-theme="light"] .stage::before,
[data-theme="light"] .stage::after {
  animation: none;
  filter: none;
  border-color: var(--accent);
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .site-nav a.is-active {
  color: var(--green-heading);
  font-weight: 600;
}

[data-theme="light"] .stage--hero .stage__neon-ring {
  opacity: 0.82;
  background: conic-gradient(
    from 0deg,
    var(--burgundy),
    var(--burgundy-top),
    #c45a7a,
    var(--burgundy),
    var(--burgundy)
  );
}

[data-theme="light"] .hero-ring-toggle {
  border: 1px solid color-mix(in srgb, var(--burgundy) 35%, rgba(255, 255, 255, 0.6));
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.42),
    inset 0 -5px 14px rgba(0, 0, 0, 0.1),
    var(--sh-rd);
}

[data-theme="light"] .hero-ring-toggle::before {
  display: block;
  background: radial-gradient(circle, rgba(123, 30, 58, 0.38) 0%, rgba(123, 30, 58, 0.14) 42%, transparent 72%);
}

[data-theme="light"] .hero-ring-toggle:hover {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.48),
    inset 0 -5px 14px rgba(0, 0, 0, 0.1),
    var(--sh-rd-lg);
}

[data-theme="light"] .hero-ring-toggle.is-paused {
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.32),
    inset 0 -5px 14px rgba(0, 0, 0, 0.1),
    var(--sh-rd-sm);
}

[data-theme="light"] .hero-ring-toggle__icon {
  color: var(--burgundy);
  filter: drop-shadow(2px 3px 4px rgba(40, 32, 20, 0.22));
}

[data-theme="light"] .hero-caption {
  text-shadow: none;
}

[data-theme="light"] .tile::before {
  animation: none;
  opacity: 1;
  transform: none;
  background: var(--accent);
  box-shadow: 2px 4px 8px rgba(40, 32, 20, 0.16);
}

[data-theme="light"] .tile:hover {
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .tile__icon {
  filter: drop-shadow(4px 6px 10px rgba(40, 32, 20, 0.2));
}

[data-theme="light"] .btn {
  color: var(--bg-stage);
  background: linear-gradient(180deg, var(--burgundy-top), var(--burgundy));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4px 0 var(--burgundy-shadow),
    0 10px 24px rgba(123, 30, 58, 0.22);
}

[data-theme="light"] .btn:hover {
  background: linear-gradient(180deg, #a84462, #8a2242);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 0 var(--burgundy-shadow),
    0 14px 30px rgba(123, 30, 58, 0.3);
}

[data-theme="light"] .cta-bar .btn:not(.is-disabled):hover {
  background: linear-gradient(180deg, #a84462, #8a2242);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 6px 0 var(--burgundy-shadow),
    0 12px 28px rgba(123, 30, 58, 0.26);
}

[data-theme="light"] .cta-bar .btn.is-disabled {
  color: var(--bg-stage);
  background: var(--burgundy);
  border: none;
  box-shadow: 0 3px 0 var(--burgundy-shadow);
  opacity: 0.92;
}

[data-theme="light"] a.btn.thesis__brand,
[data-theme="light"] a.thesis__brand {
  color: var(--bg-stage);
  background: linear-gradient(180deg, var(--burgundy-top), var(--burgundy));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4px 0 var(--burgundy-shadow),
    0 10px 24px rgba(123, 30, 58, 0.22);
}

[data-theme="light"] a.btn.thesis__brand:hover,
[data-theme="light"] a.thesis__brand:hover {
  background: linear-gradient(180deg, #a84462, #8a2242);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 0 var(--burgundy-shadow),
    0 14px 30px rgba(123, 30, 58, 0.3);
}

[data-theme="proektantskaya"] .btn,
[data-theme="proektantskaya"] a.btn.thesis__brand,
[data-theme="proektantskaya"] a.thesis__brand {
  color: var(--bg-stage);
  background: linear-gradient(180deg, #3a6dba, var(--accent));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4px 0 #1a3c6a,
    0 10px 24px rgba(43, 87, 151, 0.24);
}

[data-theme="proektantskaya"] .btn:hover,
[data-theme="proektantskaya"] a.btn.thesis__brand:hover,
[data-theme="proektantskaya"] a.thesis__brand:hover {
  background: linear-gradient(180deg, #4a7fcc, #234a82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 0 #1a3c6a,
    0 14px 30px rgba(43, 87, 151, 0.32);
}

[data-theme="proektantskaya"] .cta-bar .btn:not(.is-disabled):hover {
  background: linear-gradient(180deg, #4a7fcc, #234a82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 6px 0 #1a3c6a,
    0 12px 28px rgba(43, 87, 151, 0.28);
}

[data-theme="proektantskaya"] .cta-bar .btn.is-disabled {
  color: var(--bg-stage);
  background: var(--accent);
  border: none;
  box-shadow: 0 3px 0 #1a3c6a;
  opacity: 0.92;
}

[data-theme="proektantskaya"] .pillar__num {
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="proektantskaya"] .neon-house {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 2px 4px rgba(43, 87, 151, 0.35))
    drop-shadow(0 4px 10px rgba(43, 87, 151, 0.25))
    hue-rotate(185deg) saturate(0.85) brightness(0.95);
}

[data-theme="light"] .pillar__num {
  color: var(--burgundy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .neon-house {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45))
    drop-shadow(0 2px 4px rgba(123, 30, 58, 0.32))
    drop-shadow(0 4px 12px rgba(123, 30, 58, 0.22))
    hue-rotate(300deg) saturate(0.75) brightness(0.92);
}

[data-theme="light"] .step__num {
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .metro::before,
[data-theme="light"] .metro__stop::before {
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .doc-row {
  box-shadow: var(--sh-rd-sm);
}

[data-theme="light"] .kv__row {
  box-shadow: var(--sh-rd-sm);
}

/* ----- УВЕЛИЧЕННЫЙ ТЕКСТ В РАЗДЕЛАХ «РЕЕСТРЫ» — «КОНТАКТЫ» ----- */
#it-deyatelnost .stage__body p,
#kontakty .stage__body p {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}

#it-deyatelnost .doc-row,
#kontakty .doc-row {
  padding: 18px 22px;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.45;
}

#it-deyatelnost .tile__label,
#kontakty .tile__label {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

#it-deyatelnost .smi-cover figcaption,
#kontakty .smi-cover figcaption {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

/* «Корпоративные данные» — каждая строка inline: «Метка: значение» */
#it-deyatelnost .kv__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 14px 20px;
}

#it-deyatelnost .kv__row dt,
#it-deyatelnost .kv__row dd {
  display: inline;
  margin: 0;
  line-height: 1.45;
}

#it-deyatelnost .kv__row dt {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

#it-deyatelnost .kv__row dt::after {
  content: ":";
  margin-left: 1px;
}

#it-deyatelnost .kv__row dd {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

/* «Как связаться» — метка и значение одного размера, компактные строки */
#kontakty .kv {
  gap: 6px;
}

#kontakty .kv__row {
  padding: 12px 18px;
}

#kontakty .kv__row dt {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  margin-bottom: 2px;
  line-height: 1.3;
}

#kontakty .kv__row dd {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  font-weight: 500;
}

#kontakty .kv__row--pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: flex-start;
}

#kontakty .kv__row--pair .kv__cell {
  flex: 1 1 auto;
  min-width: 240px;
}

#kontakty .kv__row--pair .kv__cell dt {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  margin-bottom: 2px;
  line-height: 1.3;
  color: var(--accent);
}

[data-theme="light"] #kontakty .kv__row--pair .kv__cell dt {
  color: var(--burgundy-shadow);
}

[data-theme="proektantskaya"] #kontakty .kv__row--pair .kv__cell dt {
  color: var(--accent);
}

#kontakty .kv__row--pair .kv__cell dd {
  margin: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  font-weight: 500;
}

/* ----- ТЕМА «ПРОЕКТАНТСКАЯ» ----- */
html[data-theme="proektantskaya"],
html[data-theme="proektantskaya"] body {
  background: #f4f2ec;
}

[data-theme="proektantskaya"] .site-header {
  backdrop-filter: none;
  background: rgba(248, 246, 240, 0.94);
  border-bottom-color: rgba(43, 87, 151, 0.18);
}

[data-theme="proektantskaya"] .stage {
  backdrop-filter: none;
  background: rgba(252, 250, 246, 0.92);
}

[data-theme="proektantskaya"] .stage::before,
[data-theme="proektantskaya"] .stage::after {
  opacity: 0.45;
}

[data-theme="proektantskaya"] .stage::after {
  border-color: var(--accent-2);
}

[data-theme="proektantskaya"] .site-nav a.is-active {
  animation: none;
  color: var(--neon-green);
  text-shadow: none;
  font-weight: 600;
}

[data-theme="proektantskaya"] .icon-btn {
  animation: none;
  border-radius: 2px;
  box-shadow: none;
}

[data-theme="proektantskaya"] .hero-ring-toggle,
[data-theme="proektantskaya"] .hero-ring-toggle::before,
[data-theme="proektantskaya"] .hero-ring-toggle::after {
  border-radius: var(--radius-tile);
}

[data-theme="proektantskaya"] .hero-ring-toggle {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(252, 250, 246, 0.94);
  border: 1px solid rgba(43, 87, 151, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="proektantskaya"] .hero-ring-toggle::before,
[data-theme="proektantskaya"] .hero-ring-toggle::after {
  display: none;
}

[data-theme="proektantskaya"] .hero-ring-toggle:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 3px 8px rgba(0, 0, 0, 0.14);
}

[data-theme="proektantskaya"] .hero-ring-toggle.is-paused {
  opacity: 0.78;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 5px rgba(0, 0, 0, 0.08);
}

[data-theme="proektantskaya"] .hero-ring-toggle__icon {
  filter: none;
}

[data-theme="proektantskaya"] .feature-card {
  --card-accent: #000;
  background: #fff;
  backdrop-filter: none;
  border-radius: 0;
  border: 2px solid #000;
  box-shadow: none;
  animation: none;
}

[data-theme="proektantskaya"] .feature-card--green,
[data-theme="proektantskaya"] .feature-card--blue,
[data-theme="proektantskaya"] .feature-card--orange,
[data-theme="proektantskaya"] .feature-card--cyan {
  --card-accent: #000;
}

[data-theme="proektantskaya"] .feature-card::before {
  display: none;
}

[data-theme="proektantskaya"] .feature-card::after {
  background: #000;
  box-shadow: none;
  border-radius: 0;
  width: 7px;
  height: 7px;
  opacity: 1;
}

[data-theme="proektantskaya"] .feature-card__icon {
  color: #000;
  filter: none;
}

[data-theme="proektantskaya"] .feature-card__text {
  color: var(--accent);
  font-weight: 700;
}

[data-theme="proektantskaya"] .feature-card__text::after {
  background: var(--accent);
}

[data-theme="proektantskaya"] .dot-list li::before {
  animation: none;
  background: var(--accent);
  box-shadow: none;
}

[data-theme="proektantskaya"] .tile::before {
  animation: none;
}

@media (max-width: 640px) {
  [data-theme="proektantskaya"] .hero-features {
    background: var(--bg-stage);
  }
}
