/* Миктера · «Объём»: продукты партнёра A4 Office Products — раздел каталога и тизер на главной. */
.a4 { position: relative; background: var(--orange); color: var(--ink); overflow: hidden; }
.a4 .sec-label { color: var(--ink); }
.a4 .sec-lead { color: var(--ink); }
.a4-lines { display: none; }
.a4-lines i { position: absolute; display: block; }
.a4-lines .ln-v { top: 0; bottom: 0; width: 1px; background: currentColor; opacity: 0.16; }
.a4-lines .ln-v1 { left: 14%; }
.a4-lines .ln-v2 { left: 86%; }
.a4-lines .cross { width: 15px; height: 15px; margin: -7px 0 0 -7px; top: clamp(96px, 11vw, 168px); opacity: 0.6; }
.a4-lines .cross::before, .a4-lines .cross::after { content: ''; position: absolute; background: currentColor; }
.a4-lines .cross::before { left: 7px; top: 0; width: 1px; height: 15px; }
.a4-lines .cross::after { top: 7px; left: 0; height: 1px; width: 15px; }
.a4-lines .c1 { left: 14%; }
.a4-lines .c2 { left: 86%; }
.a4 .btn-accent { background: var(--ink); color: var(--light); }
.a4 .btn-accent:hover { background: #000; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.a4-anchors { position: relative; }
.a4-anchor { position: absolute; top: -110px; }
.a4-noscript { background: var(--white); border-radius: var(--r); padding: 28px; }

/* разделы: вертикальные вкладки + панель */
.a4-app { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 20px; align-items: start; }
.a4-nav { display: grid; border-top: 1px solid rgba(21, 22, 24, 0.28); position: sticky; top: 104px; }
.a4-tab { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px 0 4px; border: 0; border-bottom: 1px solid rgba(21, 22, 24, 0.28); background: none; text-align: left; color: var(--ink); position: relative; isolation: isolate; transition: color 0.3s, padding 0.45s var(--ease); }
.a4-tab::before { content: ''; position: absolute; inset: 0 -4px; background: var(--ink); border-radius: 14px; z-index: -1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--ease); }
.a4-tab b { font: 500 1.12rem/1.15 var(--display); letter-spacing: -0.02em; }
.a4-tab em { font-style: normal; opacity: 0.7; }
.a4-tab:hover { padding-left: 12px; }
.a4-tab[aria-selected='true'] { color: var(--light); padding-left: 16px; }
.a4-tab[aria-selected='true']::before { transform: scaleX(1); }
.a4-tab:focus-visible { outline-color: var(--ink); }

.a4-panel { background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(26px, 3vw, 44px); box-shadow: 0 50px 90px -50px rgba(90, 30, 0, 0.55); animation: rise 0.55s var(--ease); }
.a4-panel[hidden] { display: none; }
.a4-ph { display: grid; gap: 12px; margin-bottom: 22px; }
.a4-ph .mono { color: var(--orange-ink); }
.a4-ph h3 { font: 500 clamp(2rem, 3.6vw, 3.3rem)/0.95 var(--display); letter-spacing: -0.045em; }
.a4-subs { border-top: 1px solid var(--line-l); }
.a4-sub { border-bottom: 1px solid var(--line-l); }
.a4-sub.a4-extra { display: none; }
.a4-panel.all .a4-sub.a4-extra, html:not(.js) .a4-sub.a4-extra { display: block; }
.a4-sub-btn { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 44px; gap: 14px; align-items: center; min-height: 64px; padding: 8px 0; border: 0; background: none; text-align: left; color: inherit; }
.a4-sub-n { color: var(--orange-ink); }
.a4-sub-t { font: 500 1.15rem/1.2 var(--display); letter-spacing: -0.015em; transition: transform 0.45s var(--ease); }
.a4-sub-btn:hover .a4-sub-t { transform: translateX(6px); }
.a4-sub-c { color: var(--dim-l); }
.a4-sub-btn .acc-i { width: 36px; height: 36px; }
.a4-sub.open .acc-i { transform: rotate(180deg); background: var(--orange); border-color: var(--orange); }
.a4-sub.open .acc-i::after { transform: translate(-50%, -50%) rotate(0deg); }
.a4-sub-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.a4-sub.open .a4-sub-p { grid-template-rows: 1fr; }
.a4-sub-pi { overflow: hidden; min-height: 0; padding-left: 54px; }
.a4-items { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.a4-items li { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 0.93rem; border: 1px solid var(--line-l); }
.a4-sub-act { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 22px; }
.a4-sub-act .btn-accent { background: var(--orange); color: var(--ink); }
.a4-sub-act .btn-accent:hover { background: var(--orange-hi); }
.a4-pf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }

/* подбор картриджа и звонок */
.a4-bottom { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.win-dark { background: var(--graphite); color: var(--light); border-color: rgba(255, 255, 255, 0.06); }
.a4 .win-dark .btn-accent { background: var(--orange); color: var(--ink); }
.a4 .win-dark .btn-accent:hover { background: var(--orange-hi); }
.a4-f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: end; }
.a4 .win .fld label { color: var(--dim-d); }
.a4-err { color: #ffb4a8; }
.a4-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.a4-types li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(244, 241, 236, 0.22); animation: rise 0.45s var(--ease) backwards; }
.a4-types li:nth-child(2) { animation-delay: 0.06s; }
.a4-types li:nth-child(3) { animation-delay: 0.12s; }
.a4-note { color: var(--dim-d); margin-bottom: 16px; font-size: 0.95rem; }
.a4-call { background: var(--ink); color: var(--light); }
.a4-call .mono { color: var(--orange-hi); opacity: 1; }

/* тизер на главной */
.a4t-side { display: grid; gap: 22px; justify-items: start; max-width: 30rem; }
.a4t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(21, 22, 24, 0.28); border-left: 1px solid rgba(21, 22, 24, 0.28); }
.a4t { border-right: 1px solid rgba(21, 22, 24, 0.28); border-bottom: 1px solid rgba(21, 22, 24, 0.28); }
.a4t a { position: relative; display: grid; gap: 10px; align-content: start; min-height: 230px; padding: 26px 28px; text-decoration: none; isolation: isolate; transition: color 0.35s; }
.a4t a::before { content: ''; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.5s var(--ease); }
.a4t a:hover, .a4t a:focus-visible { color: var(--light); }
.a4t a:hover::before, .a4t a:focus-visible::before { transform: scaleY(1); }
.a4t b { font: 500 clamp(1.4rem, 2.2vw, 1.95rem)/1.05 var(--display); letter-spacing: -0.035em; margin-top: 18px; }
.a4t em { font-style: normal; font-size: 0.95rem; line-height: 1.4; }
.a4t small { margin-top: auto; padding-top: 14px; }
.a4t i { position: absolute; right: 26px; top: 22px; font-style: normal; font-size: 1.4rem; transition: transform 0.45s var(--ease); }
.a4t a:hover i { transform: rotate(-45deg); }

@media (max-width: 980px) {
  .a4-app, .a4-bottom { grid-template-columns: minmax(0, 1fr); }
  .a4-nav { position: relative; top: 0; }
  .a4t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .a4-f-row { grid-template-columns: minmax(0, 1fr); }
  .a4-sub-btn { grid-template-columns: 30px minmax(0, 1fr) 36px; }
  .a4-sub-c { display: none; }
  .a4-sub-pi { padding-left: 0; }
  .a4-sub-act { flex-wrap: wrap; }
  .a4t-grid { grid-template-columns: minmax(0, 1fr); }
  .a4t a { min-height: 0; }
  .a4-lines { display: none; }
}

/* пункт мега-меню */
.mega-a4 { border-top: 1px solid var(--line-l); margin-top: 6px; padding-top: 6px; }
.mega-a4 a { font-weight: 600; }
.win-body { grid-template-columns: minmax(0, 1fr); }
.a4-out .btn { white-space: normal; text-align: center; }
