/* ============================================================
   Arktropix — Platform Layer (v1)
   Поверх base.css. Дизайн-направление: «3D-Showroom / Blueprint»
   (awwwards 3D): тёмная сцена, дисплейный шрифт Unbounded,
   моноширинные технические подписи, wireframe-иллюстрации,
   чертёжные уголки на hover. Палитра сайта сохранена.
   ============================================================ */
:root {
  --ax-display: 'Unbounded Local', 'Unbounded', 'Segoe UI', 'Arial Black', sans-serif;
  --ax-mono: 'JetBrains Mono Local', 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Courier New', monospace;
  --ax-r: 18px;
  --ax-r-sm: 12px;
  --ax-border: 1px solid rgba(121, 204, 237, 0.14);
  --ax-border-hi: 1px solid rgba(121, 204, 237, 0.45);
  --ax-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ax-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body { background: var(--dark); }
body.ax-body { padding-bottom: 0; }

/* зерно поверх всей сцены (awwwards-текстура), не мешает кликам */
.ax-grain { position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }

/* ============ ШАПКА ============ */
.ax-header { position: sticky; top: 0; z-index: 1040;
  background: rgba(7, 11, 18, 0.82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: var(--ax-border); }
.ax-header-in { display: flex; align-items: center; gap: 14px; padding: 12px 12px; }
.ax-logo { font-family: var(--ax-display); font-weight: 700; font-size: 19px; letter-spacing: 0.06em;
  color: var(--white); text-decoration: none; white-space: nowrap; position: relative; }
.ax-logo span { color: var(--ice); }
.ax-logo:hover { color: var(--white); }
.ax-logo-dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 12px var(--ice); animation: axPulse 2.6s ease-in-out infinite; }
@keyframes axPulse { 0%,100%{opacity:.5} 50%{opacity:1} }

.ax-catalog-btn { align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--grad); color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px;
  box-shadow: var(--glow); transition: transform .25s var(--ax-ease), filter .25s; }
.ax-catalog-btn:hover { color: var(--white); transform: translateY(-2px); filter: brightness(1.1); }

.ax-search { position: relative; flex: 1; align-items: center; min-width: 0;
  background: var(--surface); border: var(--ax-border); border-radius: 999px; padding: 4px 4px 4px 16px; }
.ax-search:focus-within { border: var(--ax-border-hi); box-shadow: 0 0 0 4px rgba(121,204,237,0.08); }
.ax-search i { color: var(--gray); font-size: 15px; }
.ax-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text);
  padding: 8px 10px; font-size: 14px; }
.ax-search input::placeholder { color: var(--gray); }
.ax-search button { border: 0; border-radius: 999px; padding: 8px 20px; background: var(--grad); color: var(--white);
  font-weight: 700; font-size: 13px; transition: filter .2s; }
.ax-search button:hover { filter: brightness(1.12); }
.ax-search-drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none;
  background: var(--surface-2); border: var(--ax-border); border-radius: var(--ax-r-sm);
  box-shadow: var(--ax-shadow); overflow: hidden; }
.ax-search-drop.open { display: block; }
.ax-search-drop a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--text);
  text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(121,204,237,0.07); }
.ax-search-drop a:last-child { border-bottom: 0; }
.ax-search-drop a:hover { background: rgba(121,204,237,0.08); }
.ax-search-drop a b { margin-left: auto; font-family: var(--ax-mono); font-size: 12px; color: var(--ice); font-weight: 600; }
.ax-sd-art { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: var(--ice); }
.ax-sd-art svg { width: 100%; height: 100%; }
.ax-sd-empty { display: block; padding: 14px; color: var(--gray); font-size: 13px; }

.ax-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ax-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  width: 42px; height: 42px; border-radius: 12px; border: var(--ax-border); background: transparent;
  color: var(--text); font-size: 18px; text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.ax-iconbtn small { font-size: 10px; font-family: var(--ax-mono); }
.ax-iconbtn:hover { border: var(--ax-border-hi); color: var(--ice); transform: translateY(-1px); }
.ax-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--ice); color: #06131d; font-size: 10px; font-weight: 800;
  font-family: var(--ax-mono); display: none; align-items: center; justify-content: center; line-height: 17px; }
.ax-count.show { display: inline-flex; }
.ax-langbtn { width: auto; padding: 0 15px; gap: 7px; border-radius: 999px; }
.ax-langbtn small { font-size: 11.5px; letter-spacing: .06em; font-weight: 700; }
.ax-langbtn i { font-size: 16px; }
.ax-auth-zone { display: flex; gap: 8px; align-items: center; }
.ax-userbtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: var(--ax-border-hi); background: rgba(121,204,237,0.08); color: var(--text); font-weight: 600; font-size: 14px; }

.ax-subnav { border-top: 1px solid rgba(121,204,237,0.07); }
.ax-subnav .container-xl { display: flex; gap: 4px; overflow-x: auto; }
.ax-subnav a { padding: 9px 14px; color: var(--gray); text-decoration: none; font-size: 13.5px; font-weight: 600;
  white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.ax-subnav a:hover, .ax-subnav a.active { color: var(--ice); border-bottom-color: var(--ice); }

/* мобильный tabbar */
.ax-tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1039; display: flex;
  background: rgba(7,11,18,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: var(--ax-border); padding-bottom: env(safe-area-inset-bottom); }
.ax-tabbar a, .ax-tabbar button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 9px 0 7px; color: var(--gray); text-decoration: none; background: transparent; border: 0; }
.ax-tabbar i { font-size: 19px; }
.ax-tabbar span { font-size: 10px; font-weight: 600; }
.ax-tabbar .active, .ax-tabbar a:hover { color: var(--ice); }
.ax-tabbar .ax-count { top: 2px; right: calc(50% - 20px); }
@media (max-width: 991px) { body.ax-body { padding-bottom: 68px; } }

/* ============ КНОПКИ / БАЗА ============ */
.ax-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: 14.5px;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ax-ease), filter .2s, border-color .2s; }
.ax-btn-primary { background: var(--grad); color: var(--white); box-shadow: var(--glow); }
.ax-btn-primary:hover { color: var(--white); transform: translateY(-2px); filter: brightness(1.12); }
.ax-btn-primary:disabled { opacity: .45; transform: none; cursor: not-allowed; }
.ax-btn-ghost { background: transparent; color: var(--text); border: var(--ax-border-hi); }
.ax-btn-ghost:hover { color: var(--ice); transform: translateY(-2px); }
.ax-btn-ghost.on { color: var(--ice); background: rgba(121,204,237,0.08); }
.ax-link { background: transparent; border: 0; color: var(--ice); font-size: 13.5px; text-decoration: underline; }
.ax-muted { color: var(--gray); font-size: 13px; }
.ax-hr { border-color: rgba(121,204,237,0.14); }
.ax-h6 { font-family: var(--ax-display); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ice); margin: 22px 0 10px; }
.ax-input { background: var(--surface) !important; border: var(--ax-border) !important; color: var(--text) !important;
  border-radius: var(--ax-r-sm) !important; padding: 11px 14px; }
.ax-input:focus { border: var(--ax-border-hi) !important; box-shadow: 0 0 0 4px rgba(121,204,237,0.08) !important; }
.ax-sku { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .08em; color: var(--gray); }

/* ============ СЕКЦИИ ============ */
.ax-section { padding: 64px 0; position: relative; }
.ax-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ax-sec-title { font-family: var(--ax-display); font-weight: 700; font-size: clamp(22px, 3.4vw, 34px);
  color: var(--white); margin: 0; letter-spacing: -0.01em; }
.ax-sec-title::before { content: attr(data-num); display: block; font-family: var(--ax-mono); font-weight: 400;
  font-size: 11px; letter-spacing: .25em; color: var(--ice); margin-bottom: 8px; }
.ax-sec-more { white-space: nowrap; color: var(--ice); text-decoration: none; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px; }
.ax-sec-more:hover { color: var(--white); }
.ax-sec-more i { transition: transform .25s var(--ax-ease); }
.ax-sec-more:hover i { transform: translateX(4px); }

/* ============ HERO (портал) ============ */
.ax-hero { position: relative; padding: 84px 0 70px; overflow: hidden;
  background: radial-gradient(1100px 520px at 78% -10%, rgba(47,94,147,0.35), transparent 60%),
              radial-gradient(700px 500px at 0% 110%, rgba(121,204,237,0.08), transparent 60%), var(--darker); }
.ax-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(121,204,237,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(121,204,237,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 500px at 60% 30%, #000 30%, transparent 75%); }
.ax-kicker { font-family: var(--ax-mono); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ice); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ax-kicker::before { content: ''; width: 34px; height: 1px; background: var(--ice); }
.ax-hero h1 { font-family: var(--ax-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(34px, 5.6vw, 66px); line-height: 1.06; color: var(--white); margin-bottom: 20px; }
.ax-hero h1 span { background: linear-gradient(120deg, #79CCED 10%, #3E7CB8 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ice); }
.ax-hero-sub { color: var(--gray); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 560px; margin-bottom: 30px; }

/* большой поиск в hero */
.ax-hero-search { display: flex; align-items: center; gap: 0; max-width: 620px;
  background: rgba(16,25,39,0.85); border: var(--ax-border-hi); border-radius: 999px; padding: 6px 6px 6px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 6px rgba(121,204,237,0.04); }
.ax-hero-search i { color: var(--ice); font-size: 17px; margin-right: 10px; }
.ax-hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 15.5px; }
.ax-hero-search button { border: 0; border-radius: 999px; padding: 13px 28px; background: var(--grad);
  color: var(--white); font-weight: 700; box-shadow: var(--glow); transition: filter .2s; }
.ax-hero-search button:hover { filter: brightness(1.14); }
.ax-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ax-hero-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  border: var(--ax-border); color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600;
  background: rgba(16,25,39,0.6); transition: border-color .2s, color .2s, transform .2s var(--ax-ease); }
.ax-hero-chips a:hover { border: var(--ax-border-hi); color: var(--ice); transform: translateY(-2px); }
.ax-hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.ax-hstat b { display: block; font-family: var(--ax-display); font-size: 27px; color: var(--white); }
.ax-hstat span { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; color: var(--gray); text-transform: uppercase; }

/* ============ MARQUEE (кинетика, awwwards) ============ */
.ax-marquee { position: relative; overflow: hidden; padding: 26px 0;
  border-top: var(--ax-border); border-bottom: var(--ax-border);
  background: var(--darker); }
.ax-marquee::before, .ax-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.ax-marquee::before { left: 0; background: linear-gradient(90deg, var(--darker), transparent); }
.ax-marquee::after { right: 0; background: linear-gradient(-90deg, var(--darker), transparent); }
.ax-marquee-track { display: flex; width: max-content; will-change: transform;
  animation: axMq 46s linear infinite; }
.ax-marquee:hover .ax-marquee-track { animation-play-state: paused; }
.ax-marquee-track span { flex: 0 0 auto; white-space: nowrap; padding-right: 22px;
  font-family: var(--ax-display); font-weight: 800; font-size: clamp(26px, 4vw, 46px);
  letter-spacing: .01em; color: transparent;
  -webkit-text-stroke: 1px rgba(121,204,237,0.42); }
.ax-mq-dot { -webkit-text-stroke: 0; color: var(--ice); font-size: .5em; vertical-align: middle; }
@keyframes axMq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ax-marquee-track { animation: none; } }

/* ============ ПЛИТКИ КАТЕГОРИЙ ============ */
.ax-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ax-cat-tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border-radius: var(--ax-r); background: var(--surface); border: var(--ax-border);
  color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .3s var(--ax-ease), border-color .3s, box-shadow .3s; }
.ax-cat-tile::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px 140px at 20% 0%, rgba(121,204,237,0.12), transparent 70%); }
.ax-cat-tile:hover { transform: translateY(-5px); border: var(--ax-border-hi); box-shadow: var(--ax-shadow); color: var(--white); }
.ax-cat-tile:hover::after { opacity: 1; }
.ax-cat-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(121,204,237,0.09); color: var(--ice); font-size: 22px; }
.ax-cat-name { font-weight: 700; font-size: 15px; }
.ax-cat-arr { position: absolute; right: 18px; bottom: 20px; color: var(--ice); opacity: 0;
  transform: translateX(-8px); transition: all .3s var(--ax-ease); }
.ax-cat-tile:hover .ax-cat-arr { opacity: 1; transform: none; }
@media (max-width: 991px) { .ax-cats { grid-template-columns: repeat(2, 1fr); } }

/* ============ ЕДИНАЯ КАРТОЧКА ============ */
.ax-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1199px) { .ax-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .ax-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.ax-card { position: relative; display: flex; flex-direction: column; border-radius: var(--ax-r);
  background: var(--surface); border: var(--ax-border); overflow: hidden;
  transition: transform .3s var(--ax-ease), border-color .3s, box-shadow .3s; }
.ax-card:hover { transform: translateY(-6px); border: var(--ax-border-hi); box-shadow: var(--ax-shadow); }
@media (hover: hover) and (pointer: fine) {
  .ax-card, .ax-cat-tile,
  .js-motion [data-stagger].in > .ax-card,
  .js-motion [data-stagger].in > .ax-cat-tile {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .18s var(--ax-ease), border-color .3s, box-shadow .3s;
  }
  .ax-card:hover,
  .js-motion [data-stagger].in > .ax-card:hover {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  }
  .ax-cat-tile:hover,
  .js-motion [data-stagger].in > .ax-cat-tile:hover {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
  }
  /* блик следует за курсором */
  .ax-card::before, .ax-cat-tile::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
    background: radial-gradient(280px 200px at var(--gx, 50%) var(--gy, 50%), rgba(121,204,237,0.10), transparent 60%);
    transition: opacity .3s;
  }
  .ax-card:hover::before, .ax-cat-tile:hover::before { opacity: 1; }
}
.ax-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--surface-2), var(--darker)); color: #9fc7e8; overflow: hidden; }
.ax-art { width: 58%; height: 58%; transition: transform .45s var(--ax-ease); filter: drop-shadow(0 10px 24px rgba(121,204,237,0.12)); }
.ax-card:hover .ax-art { transform: translateY(-4px) scale(1.05) rotate(-1.5deg); }
.ax-srv-media > .bi { font-size: 52px; color: #9fc7e8; transition: transform .45s var(--ax-ease); }
.ax-card:hover .ax-srv-media > .bi { transform: translateY(-4px) scale(1.1); color: var(--ice); }

/* чертёжные уголки — фирменный hover-элемент */
.ax-bp { position: absolute; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .3s, transform .3s var(--ax-ease); }
.ax-bp::before, .ax-bp::after { content: ''; position: absolute; background: rgba(121,204,237,0.7); }
.ax-bp::before { width: 100%; height: 1.5px; } .ax-bp::after { width: 1.5px; height: 100%; }
.bp-a { top: 10px; left: 10px; transform: translate(6px, 6px); }
.bp-b { bottom: 10px; right: 10px; transform: translate(-6px, -6px) rotate(180deg); }
.ax-card:hover .ax-bp, .ax-pmedia:hover .ax-bp { opacity: 1; transform: none; }
.ax-card:hover .bp-b { transform: rotate(180deg); }

.ax-badge { position: absolute; top: 10px; right: 10px; padding: 4px 11px; border-radius: 999px;
  font-family: var(--ax-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ax-badge-hit { background: var(--grad); color: var(--white); }
.ax-badge-new { background: rgba(121,204,237,0.16); color: var(--ice); border: 1px solid rgba(121,204,237,0.4); }
.ax-badge-sale { background: rgba(237,121,140,0.16); color: #f0a3b1; border: 1px solid rgba(237,121,140,0.4); }

.ax-fav { position: absolute; top: 10px; left: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: var(--ax-border); background: rgba(7,11,18,0.6); backdrop-filter: blur(8px); color: var(--gray);
  display: grid; place-items: center; font-size: 15px; transition: color .2s, border-color .2s, transform .2s; }
.ax-fav:hover { color: var(--ice); border: var(--ax-border-hi); transform: scale(1.08); }
.ax-fav.on { color: #f0a3b1; border-color: rgba(237,121,140,0.5); }

.ax-card-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 16px; flex: 1; }
.ax-card-title { color: var(--text); text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.ax-card-title:hover { color: var(--ice); }
.ax-rate { display: flex; align-items: center; gap: 8px; font-family: var(--ax-mono); font-size: 11.5px; color: var(--gray); }
.ax-stars { color: #f2c265; font-size: 11px; letter-spacing: 1px; }
.ax-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.ax-price { font-family: var(--ax-mono); font-weight: 700; font-size: 19px; color: var(--white); }
.ax-price small { font-size: 12px; color: var(--gray); font-weight: 400; }
.ax-unit { font-size: 12px; color: var(--gray); font-weight: 400; }
.ax-old { font-family: var(--ax-mono); font-size: 12.5px; color: var(--gray); }
.ax-buy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%;
  padding: 10px 12px; border-radius: 999px; border: var(--ax-border-hi); background: transparent;
  color: var(--ice); font-weight: 700; font-size: 13.5px; text-decoration: none;
  transition: background .2s, color .2s, transform .2s var(--ax-ease); }
.ax-buy:hover { background: var(--grad); border-color: transparent; color: var(--white); transform: translateY(-1px); }

/* ============ КАТАЛОГ ============ */
.ax-cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
@media (max-width: 991px) { .ax-cat-layout { grid-template-columns: 1fr; } }
.ax-side { position: sticky; top: 118px; border-radius: var(--ax-r); background: var(--surface);
  border: var(--ax-border); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.ax-side button, #catSide button { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--gray);
  font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.ax-side button:hover { background: rgba(121,204,237,0.07); color: var(--text); }
.ax-side button.on { background: rgba(121,204,237,0.12); color: var(--ice); }
.ax-side-block { margin-top: 14px; padding: 14px 12px 4px; border-top: 1px solid rgba(121,204,237,0.1); }
.ax-side-block label { font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray); display: block; margin-bottom: 10px; }
.ax-price-inputs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ax-price-inputs input[type=number] { appearance: textfield; -moz-appearance: textfield; }
.ax-price-inputs input::placeholder { color: var(--white); opacity: 0.85; }
.ax-price-inputs input::-webkit-outer-spin-button,
.ax-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ax-ig .input-group-text { background: var(--surface-2); border: var(--ax-border); color: var(--ice);
  font-family: var(--ax-mono); font-size: 13px; border-radius: 0 var(--ax-r-sm) var(--ax-r-sm) 0; }
.ax-ig .ax-input { border-radius: var(--ax-r-sm) 0 0 var(--ax-r-sm) !important; }
/* bootstrap-кнопки под тему платформы */
.ax-side .btn-primary { background: var(--grad); border: 0; font-weight: 700; box-shadow: var(--glow); }
.ax-side .btn-primary:hover { filter: brightness(1.12); }
.ax-side .btn-outline-light { border-color: rgba(121,204,237,0.45); color: var(--text); font-weight: 600; }
.ax-side .btn-outline-light:hover { background: rgba(121,204,237,0.1); color: var(--ice); border-color: var(--ice); }

.ax-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.ax-toolbar h1 { font-family: var(--ax-display); font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--white); margin: 0; }
.ax-toolbar .ax-sku { align-self: center; }
.ax-select { margin-left: auto; background: var(--surface); border: var(--ax-border); color: var(--text);
  border-radius: 999px; padding: 9px 38px 9px 16px; font-size: 13.5px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2379CCED' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.ax-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
.ax-chips::-webkit-scrollbar { display: none; }
.ax-chips button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px;
  border-radius: 999px; border: var(--ax-border); background: var(--surface); color: var(--text);
  font-size: 13px; font-weight: 600; white-space: nowrap; }
.ax-chips button.on { border: var(--ax-border-hi); color: var(--ice); background: rgba(121,204,237,0.08); }

.ax-pag { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.ax-pag button { width: 40px; height: 40px; border-radius: 12px; border: var(--ax-border); background: transparent;
  color: var(--text); font-family: var(--ax-mono); font-weight: 600; transition: all .2s; }
.ax-pag button:hover { border: var(--ax-border-hi); color: var(--ice); }
.ax-pag button.on { background: var(--grad); border-color: transparent; color: var(--white); }

.ax-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 20px;
  color: var(--gray); text-align: center; }
.ax-empty i { font-size: 40px; color: var(--mid-gray); }
.ax-empty-wide { grid-column: 1 / -1; }

/* ============ СТРАНИЦА ТОВАРА / УСЛУГИ ============ */
.ax-crumbs { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 26px;
  font-size: 13px; color: var(--gray); }
.ax-crumbs a { color: var(--gray); text-decoration: none; }
.ax-crumbs a:hover { color: var(--ice); }
.ax-crumbs i { font-size: 10px; opacity: .6; }
.ax-crumbs span { color: var(--text); }
.ax-pmedia { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-height: 520px;
  border-radius: var(--ax-r); border: var(--ax-border);
  background: radial-gradient(500px 400px at 50% 20%, rgba(47,94,147,0.25), transparent 70%),
              linear-gradient(160deg, var(--surface-2), var(--darker)); color: #9fc7e8; overflow: hidden; }
.ax-pmedia .ax-bp { opacity: 1; transform: none; width: 30px; height: 30px; }
.ax-art-big { width: 62%; height: 62%; filter: drop-shadow(0 20px 44px rgba(121,204,237,0.16));
  animation: axFloat 7s ease-in-out infinite; }
@keyframes axFloat { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-14px) rotate(1deg)} }
.ax-pmedia-sku { position: absolute; bottom: 14px; left: 16px; }
.ax-p3d { position: absolute; inset: 0; display: grid; place-items: center; }
.ax-p3d canvas { display: block; width: 100% !important; height: 100% !important; }
.ax-p3d-hint { position: absolute; bottom: 14px; right: 16px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; border: var(--ax-border-hi);
  font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ice);
  background: rgba(7,11,18,0.55); backdrop-filter: blur(6px); pointer-events: none;
  animation: axHint 3.2s ease-in-out infinite; }
@keyframes axHint { 0%,100%{opacity:.55} 50%{opacity:1} }
.ax-smedia > .bi { font-size: 96px; color: #9fc7e8; }
.ax-ptitle { font-family: var(--ax-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 36px);
  color: var(--white); letter-spacing: -0.01em; }
.ax-pprice { font-family: var(--ax-mono); font-weight: 700; font-size: clamp(26px, 3vw, 34px); color: var(--white);
  display: flex; align-items: baseline; gap: 12px; margin: 8px 0 12px; }
.ax-pprice small { font-size: 15px; color: var(--gray); font-weight: 400; }
.ax-pprice .ax-old { font-size: 17px; }
.ax-desc { color: var(--gray); font-size: 15px; line-height: 1.7; }
.ax-specs { width: 100%; border-collapse: collapse; }
.ax-specs td { padding: 10px 0; font-size: 14px; border-bottom: 1px dashed rgba(121,204,237,0.14); }
.ax-specs td:first-child { color: var(--gray); width: 45%; }
.ax-specs td:last-child { color: var(--text); font-family: var(--ax-mono); font-size: 13px; }
.ax-steps { list-style: none; counter-reset: axs; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ax-steps li { counter-increment: axs; position: relative; padding-left: 52px; }
.ax-steps li::before { content: '0' counter(axs); position: absolute; left: 0; top: 2px;
  font-family: var(--ax-mono); font-size: 13px; color: var(--ice); width: 38px; height: 38px;
  border: var(--ax-border-hi); border-radius: 12px; display: grid; place-items: center; }
.ax-steps b { display: block; color: var(--white); font-size: 15px; }
.ax-steps span { color: var(--gray); font-size: 13.5px; }

/* ============ МЕБЕЛЬ НА ЗАКАЗ (промо-блок) ============ */
.ax-moebel { position: relative; border-radius: 26px; border: var(--ax-border-hi); overflow: hidden;
  background: radial-gradient(700px 400px at 85% 0%, rgba(47,94,147,0.4), transparent 65%), var(--surface);
  padding: clamp(30px, 5vw, 60px); }
.ax-moebel::before { content: ''; position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: linear-gradient(rgba(121,204,237,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(121,204,237,0.06) 1px, transparent 1px);
  background-size: 44px 44px; }
.ax-moebel-stage { position: relative; min-height: 260px; }
.ax-moebel h2 { font-family: var(--ax-display); font-weight: 800; font-size: clamp(24px, 3.6vw, 40px);
  color: var(--white); letter-spacing: -0.01em; }
.ax-moebel p { color: var(--gray); max-width: 520px; font-size: 15.5px; }

/* ============ SHOWREEL — видеофон (awwwards 3D) ============ */
.ax-reel { position: relative; height: min(72vh, 640px); min-height: 380px; overflow: hidden;
  border-top: var(--ax-border); border-bottom: var(--ax-border);
  display: flex; align-items: flex-end; }
.ax-reel-clip { position: absolute; inset: -14% 0; overflow: hidden; }
/* data-parallax на .ax-reel-clip: motion.js двигает --py (глубина по скроллу) */
.ax-reel-video { width: 100%; height: 100%; object-fit: cover; display: block;
  animation: axKenBurns 26s ease-in-out infinite alternate; }
@keyframes axKenBurns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .ax-reel-video { animation: none; } }
.ax-reel-veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--dark) 0%, rgba(7,11,18,0.25) 34%, rgba(7,11,18,0.55) 100%),
              radial-gradient(900px 460px at 18% 88%, rgba(7,11,18,0.75), transparent 65%); }
.ax-reel .ax-bp { opacity: 1; transform: none; width: 34px; height: 34px; z-index: 2; }
.ax-reel .bp-a { top: 22px; left: 22px; }
.ax-reel .bp-b { bottom: 22px; right: 22px; transform: rotate(180deg); }
.ax-reel-scan { position: absolute; left: 4%; right: 4%; height: 1.5px; top: 12%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(121,204,237,0.55), transparent);
  animation: axScan 6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes axScan { 0% { top: 12%; opacity: 0; } 12% { opacity: .8; } 88% { opacity: .8; } 100% { top: 88%; opacity: 0; } }
.ax-reel-in { position: relative; z-index: 2; padding: 0 12px 46px; }
.ax-reel-title { font-family: var(--ax-display); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(28px, 4.6vw, 54px); color: transparent; margin: 8px 0 12px;
  -webkit-text-stroke: 1.5px rgba(237,242,248,0.85); }
.ax-reel-sub { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ax-reel-amp { -webkit-text-stroke: 0; color: var(--ice); }
.ax-reel-rec { display: inline-flex; align-items: center; gap: 8px; color: var(--ice); }
.ax-reel-rec i { animation: axPulse 1.6s ease-in-out infinite; font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .ax-reel-scan, .ax-reel-rec i { animation: none; } }

/* ============ ПОЧЕМУ МЫ ============ */
.ax-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 991px) { .ax-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ax-why { grid-template-columns: 1fr; } }
.ax-why-card { border-radius: var(--ax-r); background: var(--surface); border: var(--ax-border); padding: 24px;
  transition: transform .3s var(--ax-ease), border-color .3s; }
.ax-why-card:hover { transform: translateY(-5px); border: var(--ax-border-hi); }
.ax-why-card i { font-size: 26px; color: var(--ice); }
.ax-why-card b { display: block; color: var(--white); font-size: 16px; margin: 14px 0 7px; }
.ax-why-card p { color: var(--gray); font-size: 13.5px; margin: 0; line-height: 1.6; }

/* ============ ОТЗЫВЫ / НОВОСТИ ============ */
.ax-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1199px) { .ax-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ax-reviews { grid-template-columns: 1fr; } }
.ax-review { border-radius: var(--ax-r); background: var(--surface); border: var(--ax-border); padding: 20px;
  display: flex; flex-direction: column; gap: 10px; }
.ax-review-top { display: flex; justify-content: space-between; align-items: center; color: var(--white); font-size: 14px; }
.ax-review p { color: var(--gray); font-size: 13.5px; line-height: 1.65; margin: 0; flex: 1; }
.ax-review-ref { font-size: 12px; color: var(--ice); text-decoration: none; font-family: var(--ax-mono); }
.ax-review-ref:hover { color: var(--white); }

.ax-newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 991px) { .ax-newsgrid { grid-template-columns: 1fr; } }
.ax-news { display: flex; flex-direction: column; gap: 9px; border-radius: var(--ax-r); background: var(--surface);
  border: var(--ax-border); padding: 22px; color: var(--text); text-decoration: none;
  transition: transform .3s var(--ax-ease), border-color .3s; }
.ax-news:hover { transform: translateY(-5px); border: var(--ax-border-hi); color: var(--text); }
.ax-news-date { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; color: var(--gray); }
.ax-news i { font-size: 24px; color: var(--ice); }
.ax-news b { color: var(--white); font-size: 15.5px; }
.ax-news p { color: var(--gray); font-size: 13.5px; margin: 0; }

/* ============ СПОСОБЫ ОПЛАТЫ ============ */
.ax-pay { margin-top: 22px; }
.ax-pay-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ax-pay-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; border: var(--ax-border); background: var(--surface);
  color: var(--text); font-size: 13px; font-weight: 600; }
.ax-pay-chips i { color: var(--ice); font-size: 15px; }
.ax-pay-chips b { font-weight: 600; }

/* ============ «ВЫ ПОКИДАЕТЕ САЙТ» ============ */
.ax-leave-body { padding: 26px; }
.ax-leave-ico { font-size: 26px; color: var(--ice); display: inline-block; margin-bottom: 12px;
  width: 52px; height: 52px; border: var(--ax-border-hi); border-radius: 14px;
  display: grid; place-items: center; }
.ax-leave-body h5 { font-family: var(--ax-display); font-size: 17px; color: var(--white); margin-bottom: 8px; }

/* ============ ЛИЧНЫЙ КАБИНЕТ ============ */
.ax-orders { display: flex; flex-direction: column; gap: 12px; }
.ax-order { border: var(--ax-border); border-radius: var(--ax-r-sm); padding: 14px 16px; }
.ax-order b { display: block; color: var(--white); font-size: 14.5px; margin: 4px 0 2px; }
.ax-order p { margin: 0; color: var(--gray); font-size: 13px; }

/* ============ ФОРМА ОТЗЫВА ============ */
.ax-rv-wrap { margin-top: 28px; display: flex; justify-content: center; }
.ax-rv-form { border-radius: 20px; padding: 28px; width: 100%; max-width: 620px; }
.ax-rv-title { font-family: var(--ax-display); font-size: 17px; color: var(--white); margin: 0 0 16px; }
.ax-rv-stars { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.ax-rv-stars button { border: 0; background: transparent; font-size: 24px; color: var(--mid-gray);
  padding: 2px; line-height: 1; transition: color .15s, transform .15s var(--ax-ease); }
.ax-rv-stars button.on { color: #f2c265; }
.ax-rv-stars button:hover { transform: scale(1.15); }
.ax-rv-stars .ax-sku { margin-left: 8px; color: var(--ice); }

/* ============ КОРЗИНА / OFFCANVAS / МОДАЛКИ ============ */
.ax-offcanvas { background: var(--surface) !important; color: var(--text); border-left: var(--ax-border); border-right: var(--ax-border); }
.ax-offcanvas .offcanvas-header { border-bottom: var(--ax-border); }
.ax-offcanvas h5 { font-family: var(--ax-display); font-size: 16px; color: var(--white); margin: 0; }
.ax-cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(121,204,237,0.14); }
.ax-ci-art { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 12px;
  background: var(--surface-2); color: #9fc7e8; }
.ax-ci-art svg { width: 70%; height: 70%; }
.ax-ci-info { flex: 1; min-width: 0; }
.ax-ci-info a { color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600; display: block; }
.ax-ci-info a:hover { color: var(--ice); }
.ax-ci-price { font-family: var(--ax-mono); font-size: 12.5px; color: var(--ice); }
.ax-qty { display: flex; align-items: center; gap: 8px; }
.ax-qty button { width: 27px; height: 27px; border-radius: 9px; border: var(--ax-border); background: transparent;
  color: var(--text); font-size: 15px; line-height: 1; }
.ax-qty button:hover { border: var(--ax-border-hi); color: var(--ice); }
.ax-qty b { font-family: var(--ax-mono); font-size: 13px; min-width: 16px; text-align: center; }
.ax-ci-del { border: 0; background: transparent; color: var(--gray); font-size: 15px; }
.ax-ci-del:hover { color: #f0a3b1; }
.ax-cart-foot { border-top: var(--ax-border); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.ax-cart-total { display: flex; justify-content: space-between; font-size: 15px; }
.ax-cart-total b { font-family: var(--ax-mono); font-size: 19px; color: var(--white); }

.ax-modal { background: var(--surface); color: var(--text); border: var(--ax-border-hi); border-radius: 20px; }
.ax-modal .modal-header { border-bottom: var(--ax-border); }
.ax-modal h5 { font-family: var(--ax-display); font-size: 16px; color: var(--white); margin: 0; }
.ax-co-summary { font-family: var(--ax-mono); font-size: 12.5px; color: var(--ice); background: rgba(121,204,237,0.07);
  border: var(--ax-border); border-radius: var(--ax-r-sm); padding: 12px 14px; margin-bottom: 18px; }
.ax-co-summary:empty { display: none; }
.ax-co-status { font-size: 13.5px; color: var(--ice); text-align: center; }
.ax-dropdown { background: var(--surface-2); border: var(--ax-border); border-radius: 14px; overflow: hidden; }
.ax-dropdown .dropdown-item { color: var(--text); font-size: 13.5px; padding: 8px 16px; }
.ax-dropdown .dropdown-item:hover { background: rgba(121,204,237,0.1); color: var(--ice); }
.ax-dropdown .lang-option.active { color: var(--ice); font-weight: 700; }
.ax-dropdown .dropdown-divider { border-color: rgba(121,204,237,0.14); }
.ax-dropdown .dropdown-item-text { font-size: 12.5px; }

.ax-pop { position: fixed; top: 74px; right: 16px; z-index: 1050; display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 14px; background: var(--surface-2); border: var(--ax-border-hi);
  color: var(--gray); font-size: 13.5px; box-shadow: var(--ax-shadow);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all .3s var(--ax-ease); }
.ax-pop.open { opacity: 1; transform: none; }
.ax-pop i { color: var(--ice); }

.ax-toast-zone { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 1060;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
@media (min-width: 992px) { .ax-toast-zone { bottom: 26px; } }
.ax-toast { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px;
  background: rgba(16,32,47,0.92); backdrop-filter: blur(12px); border: var(--ax-border-hi);
  color: var(--text); font-size: 13.5px; font-weight: 600; box-shadow: var(--ax-shadow);
  opacity: 0; transform: translateY(12px); transition: all .3s var(--ax-ease); }
.ax-toast.show { opacity: 1; transform: none; }
.ax-toast i { color: var(--ice); }

/* меню (offcanvas) */
.ax-menu-list { display: flex; flex-direction: column; gap: 4px; }
.ax-menu-list a { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 12px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.ax-menu-list a:hover { background: rgba(121,204,237,0.08); color: var(--ice); }
.ax-menu-list i { color: var(--ice); font-size: 17px; width: 22px; }
.ax-menu-lang { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-menu-lang button { padding: 7px 14px; border-radius: 999px; border: var(--ax-border); background: transparent;
  color: var(--text); font-family: var(--ax-mono); font-size: 12px; }
.ax-menu-lang button.active { border: var(--ax-border-hi); color: var(--ice); }

/* ============ ФУТЕР ============ */
.ax-footer { border-top: var(--ax-border); background: var(--darker); padding: 54px 0 26px; margin-top: 70px; }
.ax-foot-desc { color: var(--gray); font-size: 13.5px; margin: 14px 0 18px; max-width: 320px; }
.ax-footer h6 { font-family: var(--ax-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ice); margin-bottom: 15px; }
.ax-footer a, .ax-foot-line { display: block; color: var(--gray); text-decoration: none; font-size: 13.5px; padding: 4px 0; }
.ax-footer a:hover { color: var(--ice); }
.ax-footer .ax-logo { font-size: 17px; }
.ax-foot-soc { display: flex; gap: 10px; }
.ax-foot-soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: var(--ax-border); color: var(--text); font-size: 17px; padding: 0; }
.ax-foot-soc a:hover { border: var(--ax-border-hi); color: var(--ice); }
.ax-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(121,204,237,0.08); margin-top: 40px; padding-top: 20px;
  color: var(--gray); font-size: 12.5px; }

/* ============ МЕБЕЛЬ НА ЗАКАЗ: страница ============ */
.ax-mb-hero { position: relative; min-height: 68vh; display: flex; align-items: center; overflow: hidden;
  border-bottom: var(--ax-border); }
.ax-mb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-mb-veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,11,18,0.92) 0%, rgba(7,11,18,0.65) 55%, rgba(7,11,18,0.35) 100%),
              linear-gradient(0deg, var(--dark) 0%, transparent 30%); }
.ax-mb-hero-in { position: relative; z-index: 1; padding: 110px 12px; }
.ax-mb-title { font-family: var(--ax-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(32px, 5vw, 58px); color: var(--white); margin: 6px 0 16px; }
.ax-mb-materials { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.ax-mb-materials li { display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  border-radius: var(--ax-r-sm); background: var(--surface); border: var(--ax-border);
  color: var(--text); font-size: 14.5px; font-weight: 600; }
.ax-mb-materials i { color: var(--ice); font-size: 19px; }
.ax-mb-note { display: flex; align-items: flex-start; padding: 14px 18px; border-radius: var(--ax-r-sm);
  border: var(--ax-border-hi); background: rgba(121,204,237,0.06); color: var(--gray); font-size: 13.5px; margin: 0; }
.ax-mb-note i { color: var(--ice); margin-top: 2px; }

/* портфолио */
.ax-portfolio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 991px) { .ax-portfolio { grid-template-columns: repeat(2, 1fr); } }
.ax-pf-item { position: relative; aspect-ratio: 4 / 3; border-radius: var(--ax-r-sm); overflow: hidden;
  border: var(--ax-border); background: var(--surface); padding: 0; cursor: zoom-in;
  transition: transform .3s var(--ax-ease), border-color .3s; }
.ax-pf-item img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s var(--ax-ease); }
.ax-pf-item:hover { transform: translateY(-4px); border: var(--ax-border-hi); }
.ax-pf-item:hover img { transform: scale(1.06); }

/* лайтбокс */
.ax-lightbox { position: fixed; inset: 0; z-index: 1080; display: none; align-items: center; justify-content: center;
  background: rgba(4,7,12,0.92); backdrop-filter: blur(8px); }
.ax-lightbox.open { display: flex; }
.ax-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 14px; border: var(--ax-border-hi);
  box-shadow: var(--ax-shadow); }
.ax-lb-close, .ax-lb-prev, .ax-lb-next { position: absolute; width: 46px; height: 46px; border-radius: 50%;
  border: var(--ax-border-hi); background: rgba(16,25,39,0.8); color: var(--text); font-size: 18px;
  display: grid; place-items: center; }
.ax-lb-close:hover, .ax-lb-prev:hover, .ax-lb-next:hover { color: var(--ice); }
.ax-lb-close { top: 18px; right: 18px; }
.ax-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.ax-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ============ LEGAL (Impressum / Datenschutz / AGB) ============ */
.ax-legal { max-width: 860px; padding-top: 40px; }
.ax-legal h1 { font-family: var(--ax-display); font-weight: 700; font-size: clamp(26px, 3.6vw, 38px);
  color: var(--white); margin: 6px 0 26px; }
.ax-legal-card { border-radius: var(--ax-r); background: var(--surface); border: var(--ax-border);
  padding: 24px 26px; margin-bottom: 16px; }
.ax-legal-card h2 { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.ax-legal-card h2 a { color: var(--ice); }
.ax-legal-card p, .ax-legal-card li { font-size: 14.5px; color: var(--gray); line-height: 1.75; }
.ax-legal-card a { color: var(--ice); }
.ax-legal-card ul { padding-left: 20px; margin: 0; }
.ax-legal-updated { font-family: var(--ax-mono); font-size: 11.5px; color: var(--gray); margin-top: 24px; }
.ax-legal-note { display: flex; align-items: flex-start; padding: 12px 16px; border-radius: var(--ax-r-sm);
  border: var(--ax-border-hi); background: rgba(121,204,237,0.06); color: var(--gray);
  font-size: 13px; margin-bottom: 18px; }
.ax-legal-note i { color: var(--ice); margin-top: 2px; }

/* ============ ДОСТУПНОСТЬ / REDUCED MOTION ============ */
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .ax-art-big, .ax-logo-dot { animation: none !important; }
  .ax-card, .ax-cat-tile, .ax-btn, .ax-news, .ax-why-card { transition: none !important; }
}
