/* zavody.css — блок «Бренды и заводы» (плашки заводов). iter4 zapchastioptom (05.11.2026): всё внутри .oapz;
   шрифты — страницы (внешние не грузим), иконки — встроенные SVG. Один и тот же файл на .kz и .ru.
   Разметку генерирует iter4_local\build_brands.py. */
.oapz {
  --o-blue: #1b6bb1; --o-blue-2: #155a96;
  --o-ink: #222; --o-ink-2: #424242; --o-ink-3: #555; --o-ink-4: #6b6b6b; --o-ink-5: #9e9e9e;
  --o-bg: #f5f5f5; --o-line: #e5e5e5;
  --o-ok: #2e6b1f;
  --bc: var(--o-blue); --ba: var(--bc);
  color: var(--o-ink); font-size: 14px; line-height: 1.45; text-align: left;
}
.oapz *, .oapz *::before, .oapz *::after { box-sizing: border-box; }
/* лендинги задают свои глобальные стили (заглавные, межбуквенный, отступы абзацев) — внутри блока сбрасываем */
.oapz b, .oapz span, .oapz p, .oapz a, .oapz div { text-transform: none; letter-spacing: normal; }
.oapz p { margin: 0; }
.oapz img { max-width: 100%; border: 0; }
.oapz a, .oapz a:hover, .oapz a:focus { text-decoration: none; }
.oapz .ico { width: 13px; height: 13px; flex: none; fill: currentColor; position: relative; top: 1px; }

.oapz .lg { display: flex; align-items: center; min-width: 0; }
.oapz .lg img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.oapz .chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; line-height: 1; padding: 5px 8px; border-radius: 4px; background: var(--o-bg); color: var(--o-ink-3); white-space: nowrap; }
.oapz .chip img { height: 14px; width: auto; }

/* плашки заводов */
.oapz .plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.oapz .plate { position: relative; display: grid; grid-template-rows: 64px auto 1fr auto; gap: 12px; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--o-line);
  border-radius: 8px; text-decoration: none; color: var(--o-ink); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.oapz .plate::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--bc) 0 72%, var(--ba) 72%); }
.oapz .plate:hover { border-color: var(--bc); box-shadow: 0 6px 20px rgba(15,42,73,.1); color: var(--o-ink); }
.oapz .plate .lg { height: 64px; } .oapz .plate .lg img { max-height: 56px; max-width: 210px; }
.oapz .plate .fac { font-size: 14px; color: var(--o-ink-2); display: flex; gap: 8px; align-items: baseline; }
.oapz .plate .fac .ico { color: var(--bc); }
.oapz .plate .subs { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.oapz .plate .nums { display: grid; grid-template-columns: repeat(2, auto) 1fr; align-items: end; gap: 14px; border-top: 1px solid var(--o-line); padding-top: 12px; }
.oapz .plate .nums b { display: block; font-size: 24px; font-weight: 400; line-height: 1; color: var(--o-ink); }
.oapz .plate .nums span { font-size: 12.5px; color: var(--o-ink-4); white-space: nowrap; }
.oapz .plate .nums .av b { color: var(--o-ok); }
.oapz .plate .go { justify-self: end; color: var(--o-blue); font-size: 13.5px; white-space: nowrap; }
.oapz .plate:hover .go { color: var(--o-blue-2); text-decoration: underline; }

/* FORGA — «большая» тёмная плашка 2 × 2 (омега, заказчик 30.10): логотип со шлейфом за левый край, слоган, линейки, 3D-узел картинкой */
.oapz .plate.forga { isolation: isolate; grid-column: span 2; grid-row: span 2; grid-template-rows: minmax(0, 1fr) auto; padding: 30px 30px 20px;
  border-color: #1c2740; color: #fff; --o-ink: #fff; --o-ink-2: rgba(255, 255, 255, .86); --o-ink-3: #aeb8c9; --o-ink-4: rgba(255, 255, 255, .7);
  --o-line: rgba(255, 255, 255, .2); --o-ok: #7fe0a3; --o-blue: #fff; --o-bg: #121c31;
  background: radial-gradient(85% 95% at 88% 12%, rgba(79, 134, 219, .38), rgba(41, 68, 115, .14) 55%, transparent 76%), #0a101c; }
.oapz .plate.forga::before { background: linear-gradient(90deg, #4a7bd0, #8db2f2); }
.oapz .plate.forga::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(232, 237, 245, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 237, 245, .05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(90% 90% at 85% 15%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(90% 90% at 85% 15%, #000 20%, transparent 75%); }
.oapz .plate.forga:hover { border-color: #4a7bd0; box-shadow: 0 10px 30px rgba(7, 11, 20, .35); color: #fff; }
.oapz .plate.forga .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.oapz .plate.forga .strut { position: absolute; right: 5%; top: 7%; height: 90%; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.oapz .plate.forga .fb { position: relative; max-width: 60%; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.oapz .plate.forga .lg { height: auto; margin-bottom: 10px; }
.oapz .plate.forga .lg img { height: 54px; max-height: none; max-width: none; width: auto; margin-left: -110px; }
.oapz .plate.forga .eyebrow { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #8db2f2; }
.oapz .plate.forga .slog { font-size: 34px; font-weight: 400; line-height: 1.15; color: #fff; }
.oapz .plate.forga p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.oapz .plate.forga .nums { position: relative; max-width: 60%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
/* .ru: глобальный .cert — карточка сертификата (белая, 3:4, подъём на hover); внутри плашки сбрасываем */
.oapz .plate .cert, .oapz .plate .cert:hover { background: none; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; overflow: visible; cursor: inherit; transform: none; transition: none; }
.oapz .plate .cert::after { content: none; }
.oapz .plate.forga .cert { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .85); white-space: normal; }
.oapz .plate.forga .cert .ico { color: #7fe0a3; width: 14px; height: 14px; top: 0; }

@media (max-width: 991px) {
  .oapz .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oapz .plate.forga { grid-row: auto; min-height: 380px; } .oapz .plates .plate:last-child { grid-column: span 2; }
}
@media (max-width: 767px) {
  .oapz .plates { gap: 10px; }
  .oapz .plate { padding: 16px 12px 12px; gap: 8px; grid-template-rows: 40px auto auto; }
  .oapz .plate .lg { height: 40px; } .oapz .plate .lg img { max-height: 34px; max-width: 100%; }
  .oapz .plate .fac { font-size: 12.5px; } .oapz .plate .fac .ico { display: none; }
  .oapz .plate .subs, .oapz .plate .go { display: none; }
  .oapz .plate .nums { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-top: 8px; } .oapz .plate .nums > div { display: flex; align-items: baseline; gap: 6px; }
  .oapz .plate .nums b { font-size: 17px; } .oapz .plate .nums span { font-size: 11.5px; white-space: normal; line-height: 1.2; }
  .oapz .plate.forga { min-height: 0; padding: 18px 14px 12px; }
  .oapz .plate.forga .fb { max-width: 64%; gap: 8px; } .oapz .plate.forga .lg { margin-bottom: 2px; } .oapz .plate.forga .lg img { height: 30px; margin-left: -62px; }
  .oapz .plate.forga .slog { font-size: 21px; } .oapz .plate.forga p { font-size: 12.5px; line-height: 1.45; }
  .oapz .plate.forga .strut { right: 2%; top: 5%; height: 92%; } .oapz .plate.forga .nums { max-width: 64%; }
}
