:root {
  --bg: #060608;
  --bg-2: #0c0e14;
  --text: #f4f4ef;
  --muted: #9a9aa3;
  --yellow: #ffdd2d;
  --cyan: #3be7f7;
  --magenta: #dd1aff;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --font: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --display: "Unbounded", sans-serif;
  --max: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
.mono { font-family: var(--mono); letter-spacing: 0.06em; font-size: 0.82em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* Ambient motion: grid + orbs (v2 industrial + v4 neon) */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient__grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(59, 231, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 231, 247, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 24s linear infinite;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}
@keyframes grid-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(48px, 48px); }
}
.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orb-float 14s ease-in-out infinite;
}
.ambient__orb--1 {
  width: 420px; height: 420px;
  background: rgba(221, 26, 255, 0.35);
  top: -8%; right: -5%;
}
.ambient__orb--2 {
  width: 360px; height: 360px;
  background: rgba(59, 231, 247, 0.28);
  bottom: 10%; left: -8%;
  animation-delay: -5s;
}
.ambient__orb--3 {
  width: 280px; height: 280px;
  background: rgba(255, 221, 45, 0.18);
  top: 45%; left: 40%;
  animation-delay: -9s;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 20px) scale(0.95); }
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9998;
}
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 231, 247, 0.14), rgba(221, 26, 255, 0.08) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9997;
  transition: opacity 0.35s;
  opacity: 0;
  mix-blend-mode: screen;
}
body:hover .cursor-glow { opacity: 1; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--cyan), var(--yellow), var(--magenta));
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.08s linear;
}

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

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(6, 6, 8, 0.75);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s, background 0.3s;
}
.header.is-scrolled {
  background: rgba(6, 6, 8, 0.92);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo img { height: 36px; width: auto; }
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav a {
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--yellow));
  transition: width 0.25s;
}
.nav a:hover { opacity: 1; color: var(--cyan); transform: translateY(-1px); }
.nav a.nav__active { opacity: 1; color: var(--yellow); }
.nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.5s;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255, 221, 45, 0.3); }
.btn--small { padding: 10px 18px; font-size: 0.82rem; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--cyan); color: var(--cyan); }
.btn--neon:hover { box-shadow: 0 0 24px rgba(59, 231, 247, 0.35), inset 0 0 0 1px var(--cyan); }
.btn--max:hover { box-shadow: 0 0 24px rgba(221, 26, 255, 0.35), inset 0 0 0 1px var(--magenta); color: var(--magenta); }
.btn--glow {
  background: linear-gradient(135deg, var(--yellow), #ffb800);
  animation: btn-pulse 3s ease-in-out infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 221, 45, 0); }
  50% { box-shadow: 0 0 28px rgba(255, 221, 45, 0.35); }
}
.btn--pulse { animation: btn-pulse 2.5s ease-in-out infinite; }

.burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.3s;
}

/* Hero v1 + v4 */
.hero {
  padding: calc(var(--header-h) + 56px) 24px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero__coords {
  position: absolute;
  top: calc(var(--header-h) + 16px);
  right: 24px;
  color: var(--cyan);
  opacity: 0.6;
  font-size: 0.68rem;
  animation: flicker 4s infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.35; }
}
.blink { animation: blink 1.2s step-end infinite; color: #0f0; }
@keyframes blink { 50% { opacity: 0; } }

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--cyan);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: title-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.1s; }
.hero__line:nth-child(2) { animation-delay: 0.22s; }
.hero__line:nth-child(3) { animation-delay: 0.34s; }
.hero__line--accent {
  font-family: var(--display);
  background: linear-gradient(90deg, var(--yellow), var(--cyan), var(--magenta));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, gradient-shift 6s linear infinite;
  animation-delay: 0.34s, 0s;
}
@keyframes title-in {
  to { opacity: 1; transform: none; }
}
@keyframes gradient-shift {
  to { background-position: 200% center; }
}

.hero__lead {
  margin-top: 24px;
  max-width: 480px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__stats div {
  border-left: 2px solid var(--cyan);
  padding-left: 12px;
}
.hero__stats strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}
.hero__stats span { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 36px;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(59, 231, 247, 0.25);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.3s;
}
.hero__frame:hover { border-color: rgba(221, 26, 255, 0.5); }
.hero__frame img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(59, 231, 247, 0.12) 50%, transparent 60%);
  background-size: 100% 200%;
  animation: scan 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scan {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}
.hero__frame-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--yellow));
  opacity: 0.35;
  z-index: -1;
  filter: blur(20px);
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.98); }
  50% { opacity: 0.45; transform: scale(1.02); }
}
.hero__badge {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.68rem;
  z-index: 3;
  backdrop-filter: blur(8px);
}

/* Dual marquee */
.marquee-wrap {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-family: var(--mono);
  white-space: nowrap;
}
.marquee--fwd { color: var(--muted); animation: marquee 30s linear infinite; }
.marquee--rev {
  color: var(--cyan);
  opacity: 0.5;
  animation: marquee-rev 25s linear infinite;
  border-top: 1px solid var(--line);
}
.marquee span::after { content: "◆"; margin-left: 48px; opacity: 0.35; font-size: 0.5rem; vertical-align: middle; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
}
.section--lab {
  max-width: none;
  background: rgba(12, 14, 20, 0.85);
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
}
.section--lab > * { max-width: var(--max); margin-inline: auto; }

.section--sellers {
  max-width: none;
  position: relative;
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}
.sellers-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(221, 26, 255, 0.15), transparent 45%),
    radial-gradient(circle at 80% 50%, rgba(59, 231, 247, 0.12), transparent 40%);
  animation: sellers-shift 8s ease-in-out infinite alternate;
}
@keyframes sellers-shift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.05) translateX(2%); }
}
.section--sellers > .split { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.sellers-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.split h2 {
  margin: 12px 0 16px;
}
.split .lead {
  line-height: 1.65;
  max-width: 520px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--text), var(--cyan), var(--magenta));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s linear infinite;
}

.section--contact {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
}
.section--contact > * { max-width: var(--max); margin-inline: auto; }

.section--faq {
  padding-bottom: 40px;
}
.section--faq > * {
  max-width: var(--max);
  margin-inline: auto;
}
.faq {
  display: grid;
  gap: 10px;
  padding: 0 24px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  float: right;
  font-family: var(--font-mono);
  color: var(--cyan);
}
.faq__item[open] summary {
  color: var(--yellow);
  background: rgba(255, 221, 45, 0.04);
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--muted);
  line-height: 1.65;
}
.faq__item a { color: var(--cyan); }
.faq__item a:hover { color: var(--yellow); }

.section__head { margin-bottom: 48px; max-width: 640px; }
.section__num {
  display: block;
  font-size: 0.72rem;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section__head h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.section__head p, .lead { color: var(--muted); font-size: 1.05rem; }

/* Gallery cards with shine */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { border-color: rgba(59, 231, 247, 0.45); }
.card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover img { transform: scale(1.08); }
.card__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.card__cap-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__cap strong { font-size: 1rem; }
.card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.card__cat {
  color: var(--cyan);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}
.card__mat {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px currentColor;
}
.card__mat--pla {
  color: #8dffb8;
  border-color: rgba(141, 255, 184, 0.5);
  background: rgba(141, 255, 184, 0.12);
  box-shadow: 0 0 12px rgba(141, 255, 184, 0.25);
}
.card__mat--petg {
  color: #ffc56b;
  border-color: rgba(255, 197, 107, 0.5);
  background: rgba(255, 197, 107, 0.12);
  box-shadow: 0 0 12px rgba(255, 197, 107, 0.25);
}
.card__mat--abs {
  color: #ff9a7a;
  border-color: rgba(255, 154, 122, 0.5);
  background: rgba(255, 154, 122, 0.12);
  box-shadow: 0 0 12px rgba(255, 154, 122, 0.25);
}
.card__mat--model {
  color: #c89bff;
  border-color: rgba(200, 155, 255, 0.5);
  background: rgba(200, 155, 255, 0.12);
  box-shadow: 0 0 12px rgba(200, 155, 255, 0.28);
}
.card__cap span { color: var(--cyan); font-size: 0.65rem; }
.card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
  pointer-events: none;
}
.card:hover .card__shine { transform: translateX(100%); }

/* Services industrial grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  background: var(--bg-2);
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service:hover { background: #12151c; }
.service__n { color: var(--yellow); font-size: 0.7rem; }
.service h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.service p { color: var(--muted); font-size: 0.92rem; }
.service__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 0.45s ease;
}
.service:hover .service__bar { width: 100%; }

a.service,
.service--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.service:hover,
.service--link:hover { background: #12151c; }
.service__arrow {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}
a.service:hover .service__arrow,
.service--link:hover .service__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Service detail pages */
.page-service .page-hero__inner,
.page-service .service-detail > * {
  opacity: 1;
  transform: none;
}
.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-breadcrumb a:hover { color: var(--yellow); }
.service-breadcrumb span { opacity: 0.4; }

.service-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 100px;
}
.service-detail__lead {
  max-width: 720px;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.65;
}
.service-detail__coverage {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: -28px auto 40px;
}

.service-infographic {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  padding: 32px 24px;
  margin-bottom: 48px;
  overflow-x: auto;
}
.service-infographic__title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
}
.service-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: min(100%, 640px);
}
.service-flow__step {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.service-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -1px;
  width: calc(50% + 2px);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: 0.5;
  z-index: 0;
}
.service-flow__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.service-flow__icon svg { width: 28px; height: 28px; }
.service-flow__label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.service-flow__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.service-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  background: rgba(255,255,255,0.02);
}
.service-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.service-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.service-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-2);
}
.service-block h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.service-block li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}
.service-block li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--yellow);
}

.service-diagram {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-2);
  margin-bottom: 48px;
}
.service-diagram svg {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  height: auto;
}

.service-related {
  margin-bottom: 48px;
}
.service-related h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}
.service-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-related__link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.25s, transform 0.25s;
}
.service-related__link:hover {
  border-color: rgba(59, 231, 247, 0.4);
  transform: translateY(-2px);
}
.service-related__link span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59,231,247,0.06), rgba(221,26,255,0.04));
}
.service-cta h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-cta p { color: var(--muted); max-width: 480px; }
.service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  flex-shrink: 0;
}

.page-hero--sellers .page-hero__inner {
  position: relative;
  z-index: 1;
}

.service-flow--6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  min-width: 0;
}
.service-flow--6 .service-flow__step:not(:last-child)::after {
  display: none;
}
.service-flow__icon .mono {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 700;
}

.sellers-benefits {
  margin-bottom: 48px;
}
.sellers-benefits h3 {
  font-size: 1rem;
  margin-bottom: 20px;
}
.sellers-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sellers-benefit {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s;
}
.sellers-benefit:hover { border-color: rgba(59, 231, 247, 0.35); }
.sellers-benefit__n {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.72rem;
  margin-bottom: 10px;
}
.sellers-benefit h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.sellers-benefit p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .service-flow { flex-direction: column; gap: 24px; min-width: 0; }
  .service-flow__step:not(:last-child)::after { display: none; }
  .service-stats { grid-template-columns: repeat(2, 1fr); }
  .service-split { grid-template-columns: 1fr; }
  .service-related__grid { grid-template-columns: 1fr; }
  .service-flow--6 { grid-template-columns: repeat(2, 1fr); }
  .sellers-benefits__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .service-flow--6 { grid-template-columns: 1fr; }
}

/* Legal pages */
.page-legal .page-hero__inner,
.page-legal .legal-layout > * {
  opacity: 1;
  transform: none;
}
.legal-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 100px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 14px;
}
.legal-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  background: rgba(255,255,255,0.02);
}
.legal-nav__title,
.legal-toc__title {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.legal-nav nav,
.legal-toc {
  display: grid;
  gap: 6px;
}
.legal-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.legal-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.legal-nav a.is-active {
  color: #111;
  background: var(--yellow);
  font-weight: 700;
}
.legal-toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: rgba(12, 14, 20, 0.6);
  max-height: calc(100vh - var(--header-h) - 280px);
  overflow-y: auto;
}
.legal-toc a {
  display: block;
  padding: 8px 10px 8px 14px;
  border-left: 2px solid transparent;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.legal-toc a:hover {
  color: var(--cyan);
  background: rgba(59, 231, 247, 0.04);
}
.legal-toc a.is-active {
  color: var(--text);
  border-left-color: var(--cyan);
  background: rgba(59, 231, 247, 0.06);
}

.legal-doc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.legal-doc__hero {
  position: relative;
  padding: 36px 32px 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(59, 231, 247, 0.07), transparent 55%),
    linear-gradient(225deg, rgba(221, 26, 255, 0.05), transparent 50%),
    var(--bg-2);
  overflow: hidden;
}
.legal-doc__hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 221, 45, 0.15);
  border-radius: 50%;
  pointer-events: none;
}
.legal-doc__hero::after {
  content: "LEGAL";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--mono);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
}
.legal-doc__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 231, 247, 0.35);
  background: rgba(59, 231, 247, 0.08);
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.legal-doc__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 90%;
  margin-bottom: 12px;
}
.legal-doc__date {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.legal-doc__law {
  color: var(--yellow);
  font-size: 0.88rem;
  margin-bottom: 16px;
  max-width: 520px;
}
.legal-doc__lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 640px;
}

.legal-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 221, 45, 0.04);
}
.legal-callout--info {
  background: rgba(59, 231, 247, 0.04);
}
.legal-callout__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-weight: 700;
}
.legal-callout strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.legal-callout p {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.legal-callout a { color: var(--cyan); }

.legal-prose {
  padding: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.legal-section {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.legal-section:last-of-type {
  border-bottom: 0;
}
.legal-section:hover {
  background: rgba(255, 255, 255, 0.012);
}
.legal-section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px 16px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-section__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(59, 231, 247, 0.3);
  background: rgba(59, 231, 247, 0.06);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
}
.legal-section__head h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legal-section__body {
  padding: 0 32px 28px 92px;
}
.legal-section--compact .legal-section__body {
  padding: 16px 32px 20px;
}
.legal-section--compact .legal-clause {
  margin-bottom: 0;
}

.legal-clause {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.legal-clause:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.legal-clause__id {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 221, 45, 0.08);
  border: 1px solid rgba(255, 221, 45, 0.2);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.legal-clause p,
.legal-p {
  margin: 0;
  color: var(--muted);
}
.legal-p {
  padding: 8px 16px;
  margin-bottom: 8px;
}

.legal-defs {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.legal-defs dt {
  padding: 14px 18px 6px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(59, 231, 247, 0.04);
  border-top: 1px solid var(--line);
}
.legal-defs dt:first-child {
  border-top: 0;
}
.legal-defs dd {
  margin: 0;
  padding: 0 18px 14px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.15);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 10px;
}
.legal-list li {
  position: relative;
  padding: 12px 14px 12px 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}
.legal-list li::before {
  content: "→";
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.legal-prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--yellow); }

.legal-doc__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.65;
  background: rgba(0, 0, 0, 0.2);
}

.legal-layout--hub {
  grid-template-columns: 1fr;
  max-width: 820px;
}
.legal-doc--hub { padding-bottom: 0; }
.legal-hub {
  display: grid;
  gap: 14px;
  padding: 8px 32px 32px;
}
.legal-hub__card {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.legal-hub__card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.04);
  transform: translateY(-2px);
}
.legal-hub__badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.legal-hub__card h3 {
  margin: 0;
  font-size: 1.15rem;
}
.legal-hub__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.legal-hub__arrow {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .legal-toc { max-height: none; }
  .legal-section__body { padding-left: 32px; }
  .legal-clause { grid-template-columns: 1fr; gap: 8px; }
  .legal-clause__id { justify-self: start; }
  .legal-doc__hero::after { display: none; }
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: transform 0.25s, border-color 0.25s;
}
.checks li:hover {
  transform: translateX(8px);
  border-color: rgba(59, 231, 247, 0.4);
}
.checks__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: dot-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--cyan); }
  50% { box-shadow: 0 0 16px var(--magenta); background: var(--magenta); }
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.price--featured {
  border-color: rgba(221, 26, 255, 0.5);
  background: linear-gradient(160deg, rgba(221,26,255,0.08), rgba(59,231,247,0.05));
}
.price__ring {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, var(--cyan), var(--magenta), var(--yellow)) border-box;
  animation: ring-spin 6s linear infinite;
  z-index: -1;
  opacity: 0.6;
}
@keyframes ring-spin {
  to { filter: hue-rotate(360deg); }
}
.price__tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--magenta);
  color: #fff;
  font-size: 0.65rem;
  border-radius: 4px;
}
.price__val { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.price__unit { color: var(--cyan); margin-bottom: 4px; font-size: 0.72rem; }
.price h3 { margin-top: 4px; }
.price p:not(.price__val):not(.price__unit):not(.price__tag) { margin-bottom: 4px; }
.price .btn {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 16px;
}

.sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.source {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.source--link:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 40px rgba(59, 231, 247, 0.15);
}
.source strong { display: block; font-size: 1.35rem; margin-bottom: 8px; }
.source span { color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contacts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  font-weight: 700;
}
.contacts a:hover { color: var(--cyan); }
.form-frame {
  padding: 3px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--yellow), var(--cyan));
  background-size: 300% 300%;
  animation: border-flow 8s ease infinite;
}
@keyframes border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.form-frame > .bitrix-form-wrap,
.contact__form .bitrix-form-wrap {
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(8, 8, 12, 0.95);
  min-height: 420px;
}
.bitrix-form-wrap iframe,
.bitrix-form-wrap form { max-width: 100%; }
.form-fallback {
  color: var(--muted);
  text-align: center;
  padding: 24px;
  font-size: 0.95rem;
}
.form-fallback a { color: var(--cyan); text-decoration: underline; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}
.footer a:hover { color: var(--yellow); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 10px;
  font-size: 0.82rem;
}
.footer__legal a {
  color: var(--muted);
  opacity: 0.85;
}
.footer__legal a:hover { color: var(--yellow); opacity: 1; }
.footer__requisites {
  margin-top: 12px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted);
  opacity: 0.85;
}
.footer__geo {
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}
.footer__note { margin-top: 8px; font-size: 0.72rem; opacity: 0.5; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Portfolio page */
.page-hero {
  padding: calc(var(--header-h) + 56px) 24px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero__title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 12px 0 16px;
  text-transform: uppercase;
}
.page-hero__lead { color: var(--muted); max-width: 520px; font-size: 1.05rem; }

.portfolio-item[id] { scroll-margin-top: 100px; }

.page-portfolio .portfolio-filters {
  opacity: 1;
  transform: none;
}
.page-portfolio .portfolio-item:not(.is-hidden) {
  opacity: 1;
  transform: none;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.portfolio-filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.portfolio-filter:hover { color: var(--cyan); border-color: rgba(59, 231, 247, 0.4); }
.portfolio-filter.is-active {
  color: #111;
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 221, 45, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.portfolio-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: opacity 0.4s, transform 0.4s, border-color 0.3s;
}
.portfolio-item.is-hidden {
  display: none;
}
.portfolio-item:hover { border-color: rgba(59, 231, 247, 0.35); }
.portfolio-item__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
  overflow: hidden;
}
.portfolio-item__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-item:hover .portfolio-item__media img { transform: scale(1.06); }
.portfolio-item__zoom {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.6);
  color: var(--yellow);
  font-size: 1.2rem;
  line-height: 34px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
}
.portfolio-item:hover .portfolio-item__zoom {
  opacity: 1;
  transform: scale(1);
}
.portfolio-item__body { padding: 22px; }
.portfolio-item__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.portfolio-item__tag {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}
.portfolio-item__tag--material {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow: 0 0 14px currentColor;
  animation: material-glow 3s ease-in-out infinite;
}
.portfolio-item__tag--pla {
  color: #8dffb8;
  border-color: rgba(141, 255, 184, 0.55);
  background: rgba(141, 255, 184, 0.1);
  box-shadow: 0 0 18px rgba(141, 255, 184, 0.28), inset 0 0 12px rgba(141, 255, 184, 0.06);
}
.portfolio-item__tag--petg {
  color: #ffc56b;
  border-color: rgba(255, 197, 107, 0.55);
  background: rgba(255, 197, 107, 0.1);
  box-shadow: 0 0 18px rgba(255, 197, 107, 0.28), inset 0 0 12px rgba(255, 197, 107, 0.06);
}
.portfolio-item__tag--model {
  color: #c89bff;
  border-color: rgba(200, 155, 255, 0.55);
  background: rgba(200, 155, 255, 0.1);
  box-shadow: 0 0 18px rgba(200, 155, 255, 0.32), inset 0 0 12px rgba(200, 155, 255, 0.06);
}
.portfolio-item__tag--abs {
  color: #ff9a7a;
  border-color: rgba(255, 154, 122, 0.55);
  background: rgba(255, 154, 122, 0.1);
  box-shadow: 0 0 18px rgba(255, 154, 122, 0.3), inset 0 0 12px rgba(255, 154, 122, 0.06);
}
@keyframes material-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}
.portfolio-item__body h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.portfolio-item__body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
  margin-bottom: 10px;
}
.portfolio-item__detail {
  font-size: 0.84rem;
  color: rgba(168, 178, 198, 0.88);
  line-height: 1.55;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-cta {
  margin-top: 56px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(135deg, rgba(59,231,247,0.06), rgba(221,26,255,0.06));
}
.portfolio-cta p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }

.section__head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.section__head-row .section__head { margin-bottom: 0; }
.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color 0.2s, transform 0.2s;
}
.link-more:hover { color: var(--yellow); transform: translateX(4px); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox__figure { max-width: min(960px, 100%); margin: 0; }
.lightbox__img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.lightbox__caption {
  text-align: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .hero__grid, .split, .contact, .gallery, .services, .pricing, .sources, .portfolio-grid { grid-template-columns: 1fr; }
  .hero__coords { display: none; }
  .nav { display: none; }
  .header__inner .btn--small { display: none; }
  .burger { display: block; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    padding: 20px 24px;
    background: rgba(6,6,8,0.96);
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .hero__line { opacity: 1; transform: none; }
  .ambient__orb, .ambient__grid { display: none; }
}
