/* =========================================================
   Проект-Технология — обновлённая дизайн-система (2026)
   Хедер, футер, мега-меню, новые разделы.
   Подключается последним, поверх styles.css / media.css.
   ========================================================= */

:root {
    --pt-navy: #031631;
    --pt-navy-2: #0B2446;
    --pt-navy-3: #13325C;
    --pt-red: #BE271D;
    --pt-red-hover: #A11F16;
    --pt-blue: #006199;
    --pt-ink: #172033;
    --pt-muted: #566173;
    --pt-line: #E2E6ED;
    --pt-tint: #F4F6FA;
    --pt-white: #FFFFFF;
    --pt-on-dark: #C9D3E3;

    --pt-radius: 14px;
    --pt-radius-sm: 8px;
    --pt-shadow: 0 18px 50px -20px rgba(3, 22, 49, .35);
    --pt-ease: cubic-bezier(.2, .7, .2, 1);

    --pt-top-h: 40px;
    --pt-bar-h: 76px;
    --pt-hdr: calc(var(--pt-top-h) + var(--pt-bar-h));
    --pt-gutter: 24px;
}

@media (max-width: 1023px) {
    :root { --pt-top-h: 0px; --pt-bar-h: 64px; --pt-gutter: 16px; }
}

/* ---------- базовые сбросы в зоне новых компонентов ----------
   styles.css задаёт глобально `a {display:flex; color:#fff; font-size:15px}` —
   внутри новых блоков возвращаем нормальное поведение ссылок. */
.pt-header a, .pt-footer a, .pt-section a, .pt-lightbox a, .pt-skip {
    display: revert;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}
.pt-header *, .pt-footer *, .pt-section * { box-sizing: border-box; }
.pt-header svg, .pt-footer svg {
    width: 18px; height: 18px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pt-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--pt-gutter);
}
:where(.pt-header, .pt-footer, .pt-section) :focus-visible {
    outline: 2px solid #FFB4AD;
    outline-offset: 3px;
    border-radius: 4px;
}
.pt-section :focus-visible { outline-color: var(--pt-red); }

.pt-skip {
    position: fixed; left: 16px; top: -60px; z-index: 1000;
    background: var(--pt-white); color: var(--pt-navy) !important;
    padding: 12px 18px; border-radius: var(--pt-radius-sm);
    font-weight: 600; transition: top .2s;
}
.pt-skip:focus { top: 12px; }

/* ---------- кнопки ---------- */
.pt-btn {
    display: inline-flex !important;
    align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px;
    border-radius: 999px;
    font-weight: 600 !important; font-size: 15px !important; line-height: 1 !important;
    white-space: nowrap;
    transition: background-color .2s var(--pt-ease), color .2s var(--pt-ease), border-color .2s var(--pt-ease), transform .2s var(--pt-ease);
    cursor: pointer;
}
.pt-btn:active { transform: translateY(1px); }
.pt-btn--accent { background: var(--pt-red); color: var(--pt-white) !important; }
.pt-btn--accent:hover { background: var(--pt-red-hover); }
.pt-btn--ghost { border: 1px solid rgba(255, 255, 255, .35); color: var(--pt-white) !important; }
.pt-btn--ghost:hover { border-color: var(--pt-white); background: rgba(255, 255, 255, .06); }
.pt-btn--line { border: 1px solid var(--pt-line); color: var(--pt-navy) !important; background: var(--pt-white); }
.pt-btn--line:hover { border-color: var(--pt-navy); }

/* =========================================================
   HEADER
   ========================================================= */
.pt-header {
    position: fixed !important;
    inset: 0 0 auto 0;
    z-index: 900 !important;
    color: var(--pt-white);
    transition: background-color .3s var(--pt-ease), box-shadow .3s var(--pt-ease), transform .35s var(--pt-ease);
}
/* фон: прозрачный над первым экраном, тёмно-синий после прокрутки */
.pt-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(3, 22, 49, .78), rgba(3, 22, 49, 0));
    transition: opacity .3s var(--pt-ease);
}
.pt-header.is-solid, .pt-header.is-open { background: rgba(3, 22, 49, .97); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.pt-header.is-solid::before, .pt-header.is-open::before { opacity: 0; }
@supports (backdrop-filter: blur(8px)) {
    .pt-header.is-solid { background: rgba(3, 22, 49, .9); backdrop-filter: saturate(140%) blur(12px); }
}
.pt-header.is-hidden { transform: translateY(calc(-1 * var(--pt-top-h))); }

/* верхняя строка */
.pt-topbar {
    height: var(--pt-top-h);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px; color: var(--pt-on-dark);
    overflow: hidden;
}
.pt-topbar__in { display: flex; align-items: center; gap: 28px; height: 100%; }
.pt-topbar__item { display: inline-flex !important; align-items: center; gap: 8px; font-size: 13px !important; }
.pt-topbar__item svg { width: 15px; height: 15px; opacity: .8; }
a.pt-topbar__item:hover { color: var(--pt-white); }
.pt-topbar__lic { margin-left: auto; }

/* основная строка */
.pt-bar { height: var(--pt-bar-h); }
.pt-bar__in { display: flex; align-items: center; gap: 20px; height: 100%; }
.pt-logo { display: block !important; flex: none; }
.pt-logo img { display: block; width: 190px; height: auto; }

.pt-nav { margin-left: auto; height: 100%; }
.pt-nav__list { display: flex; align-items: stretch; gap: 4px; height: 100%; margin: 0; padding: 0; list-style: none; }
.pt-nav__list > li { display: flex; align-items: center; margin: 0; }
.pt-nav__link {
    position: relative;
    display: inline-flex !important; align-items: center; gap: 6px;
    min-height: 44px; padding: 0 12px;
    border: 0; background: none; cursor: pointer;
    font: 500 15px/1 'Montserrat', sans-serif !important;
    color: var(--pt-white) !important;
    border-radius: var(--pt-radius-sm);
    white-space: nowrap;
    transition: color .2s, background-color .2s;
}
.pt-nav__link::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
    background: var(--pt-red); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--pt-ease);
}
.pt-nav__link:hover::after, .pt-nav__link[aria-current="page"]::after, .pt-nav__link.is-current::after { transform: scaleX(1); }
.pt-nav__btn svg { width: 16px; height: 16px; transition: transform .25s var(--pt-ease); }
.pt-nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.pt-bar__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.pt-phone { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 600 !important; font-size: 15px !important; white-space: nowrap; }
.pt-phone svg { color: #FF6B60; }
.pt-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pt-bar__cta { min-height: 44px; padding: 0 20px; }

/* мега-меню */
.pt-nav__mega { position: static; }
.pt-mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--pt-white); color: var(--pt-ink);
    border-top: 1px solid var(--pt-line);
    box-shadow: var(--pt-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--pt-ease), transform .2s var(--pt-ease), visibility 0s linear .2s;
}
.pt-mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pt-mega__in { display: grid; grid-template-columns: 1fr 1.7fr 1.1fr; gap: 40px; padding-top: 32px; padding-bottom: 36px; }
.pt-mega__title { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pt-muted); }
.pt-mega__title a:hover { color: var(--pt-red); }
.pt-mega ul { list-style: none; margin: 0; padding: 0; }
.pt-mega li a {
    display: flex !important; align-items: center; gap: 10px;
    padding: 9px 10px; margin: 0 -10px;
    border-radius: var(--pt-radius-sm);
    font-size: 15px !important; line-height: 1.35 !important; color: var(--pt-ink) !important;
    transition: background-color .15s, color .15s;
}
.pt-mega li a:hover { background: var(--pt-tint); color: var(--pt-red) !important; }
.pt-mega li a[aria-current="page"] { color: var(--pt-red) !important; font-weight: 600 !important; }
.pt-mega__methods { columns: 2; column-gap: 28px; }
.pt-mega__methods li { break-inside: avoid; }
.pt-abbr {
    flex: none; min-width: 40px; padding: 4px 0; text-align: center;
    border-radius: 6px; background: var(--pt-tint); color: var(--pt-navy);
    font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.pt-mega li a:hover .pt-abbr { background: var(--pt-red); color: var(--pt-white); }
.pt-mega__card {
    display: grid !important; gap: 6px; margin-top: 20px; padding: 18px 20px;
    border-radius: var(--pt-radius);
    background: var(--pt-navy) url("/assets/images/eq/a1210-sm.webp") right -20px center / auto 130% no-repeat;
    color: var(--pt-white) !important;
    position: relative; overflow: hidden; isolation: isolate;
}
.pt-mega__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--pt-navy) 45%, rgba(3, 22, 49, .4)); }
.pt-mega__card-k { font-size: 12px !important; color: var(--pt-on-dark) !important; }
.pt-mega__card-t { font-size: 17px !important; font-weight: 700 !important; }
.pt-mega__card-a { font-size: 14px !important; color: #FF8A80 !important; }
.pt-mega__all { display: inline-block !important; margin-top: 16px; font-weight: 600 !important; color: var(--pt-red) !important; }
.pt-mega__all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* бургер */
.pt-burger {
    display: none; position: relative;
    width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
    background: none; cursor: pointer;
}
.pt-burger span {
    position: absolute; left: 13px; right: 13px; height: 2px; background: var(--pt-white); border-radius: 2px;
    transition: transform .25s var(--pt-ease), opacity .2s;
}
.pt-burger span:nth-child(1) { top: 15px; }
.pt-burger span:nth-child(2) { top: 21px; }
.pt-burger span:nth-child(3) { top: 27px; }
.pt-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pt-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pt-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* мобильное меню */
.pt-drawer {
    position: fixed; left: 0; right: 0; top: var(--pt-bar-h); bottom: 0;
    background: var(--pt-navy); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--pt-gutter) 32px;
    display: flex; flex-direction: column; gap: 24px;
}
.pt-drawer[hidden] { display: none; }
.pt-drawer__nav { display: flex; flex-direction: column; }
.pt-drawer__link {
    display: flex !important; align-items: center; justify-content: space-between;
    min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 18px !important; font-weight: 600 !important; color: var(--pt-white) !important;
    list-style: none; cursor: pointer;
}
.pt-drawer__link::-webkit-details-marker { display: none; }
summary.pt-drawer__link::after { content: "+"; font-size: 24px; font-weight: 400; color: #FF8A80; transition: transform .2s; }
details[open] > summary.pt-drawer__link::after { transform: rotate(45deg); }
.pt-drawer__link[aria-current="page"] { color: #FF8A80 !important; }
.pt-drawer__sub { display: flex; flex-direction: column; padding: 8px 0 16px; }
.pt-drawer__sub a { display: block !important; padding: 11px 0 11px 14px; border-left: 2px solid rgba(255, 255, 255, .12); font-size: 15px !important; line-height: 1.35 !important; color: var(--pt-on-dark) !important; }
.pt-drawer__sub a[aria-current="page"] { color: var(--pt-white) !important; border-left-color: var(--pt-red); }
.pt-drawer__cap { margin: 16px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8C9AB3; }
.pt-drawer__all { color: #FF8A80 !important; font-weight: 600 !important; border-left-color: transparent !important; }
.pt-drawer__contacts { display: grid; gap: 12px; margin-top: auto; }
.pt-drawer__contacts p { margin: 4px 0 0; color: var(--pt-on-dark); font-size: 14px; line-height: 1.5; }
body.pt-lock { overflow: hidden; }

@media (max-width: 1339px) {
    .pt-bar__in { gap: 18px; }
    .pt-nav__link { padding: 0 10px; font-size: 14px !important; }
    .pt-nav__link::after { left: 10px; right: 10px; }
    .pt-bar__cta { display: none !important; }
}
@media (max-width: 1023px) {
    .pt-topbar, .pt-nav { display: none; }
    .pt-burger { display: block; }
    .pt-logo img { width: 156px; }
    .pt-bar__actions { margin-left: auto; gap: 8px; }
    .pt-phone span { display: none; }
    .pt-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); }
}
@media (min-width: 1024px) { .pt-drawer { display: none !important; } }

/* ---------- раскладка страниц под фиксированный хедер ---------- */
.main_slider, .afterhead { margin-top: 0 !important; }
.afterhead .container h2 { margin-top: calc(var(--pt-hdr) + 64px) !important; }
@media (max-width: 1320px) { .afterhead .container h2 { margin-top: calc(var(--pt-hdr) + 48px) !important; } }
@media (max-width: 1023px) { .afterhead .container h2 { margin-top: calc(var(--pt-hdr) + 40px) !important; } }
.confirm { padding-top: var(--pt-hdr); }
/* старые элементы шапки, которые больше не используются */
.head_upper, .head_lower, .mobile-menu, .menu_btn { display: none !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.pt-footer { background: var(--pt-navy); color: var(--pt-on-dark); padding: 0 0 28px; font-size: 15px; line-height: 1.55; }
.pt-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.pt-cta__title { margin: 0; max-width: 640px; font: 700 clamp(24px, 3vw, 34px)/1.2 'Montserrat', sans-serif; color: var(--pt-white); text-wrap: balance; }
.pt-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.pt-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-red); }
.pt-kicker--light { color: #FF8A80; }

.pt-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr 1fr; gap: 40px; padding: 48px 0 40px; }
.pt-footer__brand img { display: block; width: 190px; height: auto; margin-bottom: 20px; }
.pt-footer__brand p { margin: 0; max-width: 300px; font-size: 14px; }
.pt-footer__title { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pt-white); }
.pt-footer__title--gap { margin-top: 28px; }
.pt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pt-footer ul a, .pt-footer__contacts a { display: inline-block !important; padding: 4px 0; font-size: 14px !important; line-height: 1.4 !important; color: var(--pt-on-dark) !important; transition: color .15s; }
.pt-footer ul a:hover, .pt-footer__contacts a:hover { color: var(--pt-white) !important; }
.pt-footer__contacts { display: grid; gap: 2px; font-style: normal; font-size: 14px; }
.pt-footer__contacts span { padding-bottom: 6px; }
.pt-footer__bottom { display: flex; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8C9AB3; }
.pt-footer__bottom p { margin: 0; }
.pt-footer__bottom p:nth-child(2) { margin-left: auto; }
.pt-footer__bottom a { color: #FF8A80 !important; }
.pt-totop { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: var(--pt-white) !important; }
.pt-totop:hover { border-color: var(--pt-white); }

@media (max-width: 1023px) {
    .pt-cta { flex-direction: column; align-items: flex-start; padding: 40px 0; }
    .pt-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .pt-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .pt-cta__actions, .pt-cta__actions .pt-btn { width: 100%; }
    .pt-footer__grid { grid-template-columns: 1fr; }
    .pt-footer__bottom { flex-wrap: wrap; gap: 8px 16px; }
    .pt-footer__bottom p:nth-child(2) { margin-left: 0; }
    .pt-totop { margin-left: auto; }
}

/* =========================================================
   НОВЫЕ РАЗДЕЛЫ: секции, карточки, оборудование, галереи
   ========================================================= */
.pt-section { padding: 88px 0; color: var(--pt-ink); font-size: 16px; line-height: 1.6; }
.pt-section--tint { background: var(--pt-tint); }
.pt-section--tight { padding: 56px 0; }
.pt-section p { margin: 0 0 1em; }
.pt-head { max-width: 760px; margin-bottom: 40px; }
.pt-h2 { margin: 0 0 12px; font: 700 clamp(26px, 3.2vw, 40px)/1.15 'Montserrat', sans-serif; color: var(--pt-navy); text-wrap: balance; }
.pt-h3 { margin: 0 0 10px; font: 700 20px/1.3 'Montserrat', sans-serif; color: var(--pt-navy); }
.pt-lead { font-size: 18px; color: var(--pt-muted); max-width: 70ch; }
.pt-muted { color: var(--pt-muted); }
.pt-link { color: var(--pt-red) !important; font-weight: 600 !important; }
.pt-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pt-more { margin-top: 32px !important; }
.pt-chip {
    display: inline-flex !important; align-items: center; min-height: 32px; padding: 4px 12px;
    border-radius: 999px; background: var(--pt-white); border: 1px solid var(--pt-line);
    font-size: 13px !important; line-height: 1.3 !important; font-weight: 500 !important; color: var(--pt-navy) !important;
    transition: border-color .15s, color .15s;
}
a.pt-chip:hover { border-color: var(--pt-red); color: var(--pt-red) !important; }
.pt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pt-list li { position: relative; padding-left: 24px; }
.pt-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--pt-red); }
.pt-two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pt-figure { margin: 0; border-radius: var(--pt-radius); overflow: hidden; background: var(--pt-tint); }
.pt-figure img { display: block; width: 100%; height: auto; }
.pt-note { padding: 20px 24px; border-left: 3px solid var(--pt-red); background: var(--pt-tint); border-radius: 0 var(--pt-radius-sm) var(--pt-radius-sm) 0; }
.pt-note p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
    .pt-section { padding: 56px 0; }
    .pt-two { grid-template-columns: 1fr; gap: 32px; }
}

/* направления услуг */
.pt-dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pt-dir {
    position: relative; display: flex !important; flex-direction: column; justify-content: flex-end;
    min-height: 340px; padding: 24px; border-radius: var(--pt-radius); overflow: hidden; isolation: isolate;
    color: var(--pt-white) !important;
}
.pt-dir img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pt-ease); }
.pt-dir::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 22, 49, .05) 20%, rgba(3, 22, 49, .92)); }
.pt-dir:hover img { transform: scale(1.04); }
.pt-dir__n { font-size: 13px; font-weight: 700; color: #FF8A80; margin-bottom: 8px; }
.pt-dir__t { font-size: 19px; font-weight: 700; line-height: 1.25; }
.pt-dir__a { margin-top: 14px; font-size: 14px; color: var(--pt-on-dark); }
@media (max-width: 1023px) { .pt-dirs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pt-dirs { grid-template-columns: 1fr; } .pt-dir { min-height: 240px; } }

/* сетка методов */
.pt-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-method {
    display: flex !important; flex-direction: column; gap: 10px;
    padding: 24px; border-radius: var(--pt-radius); background: var(--pt-white); border: 1px solid var(--pt-line);
    color: var(--pt-ink) !important; transition: border-color .2s, box-shadow .2s, transform .2s var(--pt-ease);
}
.pt-method:hover { border-color: transparent; box-shadow: var(--pt-shadow); transform: translateY(-2px); }
.pt-method__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-method .pt-abbr { min-width: 48px; padding: 6px 0; font-size: 13px; }
.pt-method:hover .pt-abbr { background: var(--pt-red); color: var(--pt-white); }
.pt-method__arrow { color: var(--pt-red); font-size: 20px; transition: transform .2s; }
.pt-method:hover .pt-method__arrow { transform: translateX(3px); }
.pt-method__t { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--pt-navy); }
.pt-method__d { font-size: 15px; line-height: 1.5; color: var(--pt-muted); }
.pt-method__eq { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--pt-line); font-size: 13px; line-height: 1.45; color: var(--pt-navy); }
.pt-method__eq b { font-weight: 600; color: var(--pt-muted); }
@media (max-width: 1023px) { .pt-methods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pt-methods { grid-template-columns: 1fr; } }

/* оборудование */
.pt-eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pt-eq { display: flex; flex-direction: column; border-radius: var(--pt-radius); background: var(--pt-white); border: 1px solid var(--pt-line); overflow: hidden; scroll-margin-top: calc(var(--pt-hdr) + 20px); }
.pt-eq__media { aspect-ratio: 4 / 3; background: #EEF1F6; display: flex; align-items: center; justify-content: center; }
.pt-eq__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-eq__placeholder {
    display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%;
    background: var(--pt-navy); color: var(--pt-white); font-weight: 700; font-size: 26px;
}
.pt-eq__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.pt-eq__type { margin: 0 !important; font-size: 13px; font-weight: 600; color: var(--pt-red); line-height: 1.35; }
.pt-eq__name { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--pt-navy); }
.pt-eq__name span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--pt-muted); }
.pt-eq__text { margin: 0 !important; font-size: 15px; line-height: 1.55; color: var(--pt-ink); }
.pt-eq__specs { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--pt-muted); }
.pt-eq__specs li { position: relative; padding-left: 18px; }
.pt-eq__specs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--pt-red); }
.pt-eq__methods { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0 !important; padding-top: 14px; }

/* фильтр-якоря на странице оборудования */
.pt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.pt-tabs .pt-chip { min-height: 40px; padding: 6px 16px; font-size: 14px !important; }
.pt-tabs .pt-chip[aria-pressed="true"] { background: var(--pt-navy); border-color: var(--pt-navy); color: var(--pt-white) !important; }
.pt-eq-group { scroll-margin-top: calc(var(--pt-hdr) + 20px); }
.pt-eq-group + .pt-eq-group { margin-top: 56px; }
.pt-eq-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pt-eq-group__head h2 { margin: 0; font-size: 24px; font-weight: 700; color: var(--pt-navy); }

/* портфолио проектов */
.pt-projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.pt-project { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--pt-radius); overflow: hidden; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-project--wide { grid-column: span 3; }
.pt-project__cover { position: relative; display: block !important; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pt-tint); cursor: zoom-in; }
.pt-project__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pt-ease); }
.pt-project__cover:hover img { transform: scale(1.04); }
.pt-project__count {
    position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; background: rgba(3, 22, 49, .82); color: var(--pt-white); font-size: 13px; font-weight: 600;
}
.pt-project__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.pt-project__tag { margin: 0 !important; font-size: 13px; font-weight: 600; color: var(--pt-red); }
.pt-project__t { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--pt-navy); }
.pt-project__d { margin: 0 !important; font-size: 14px; color: var(--pt-muted); line-height: 1.5; }
.pt-project__thumbs { display: flex; gap: 6px; margin-top: 8px; }
.pt-project__thumbs a { display: block !important; width: 56px; height: 42px; border-radius: 6px; overflow: hidden; flex: none; }
.pt-project__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pt-project__thumbs a[hidden] { display: none !important; }
@media (max-width: 1023px) { .pt-projects { grid-template-columns: 1fr 1fr; } .pt-project, .pt-project--wide { grid-column: span 1; } }
@media (max-width: 640px) { .pt-projects { grid-template-columns: 1fr; } }

/* галерея */
.pt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pt-gallery__item { display: block !important; aspect-ratio: 4 / 3; border-radius: var(--pt-radius-sm); overflow: hidden; background: var(--pt-tint); cursor: zoom-in; }
.pt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pt-ease); }
.pt-gallery__item:hover img { transform: scale(1.05); }

/* фильтр перечня работ */
.pt-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.pt-filter button {
    min-height: 40px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--pt-line); background: var(--pt-white); color: var(--pt-navy);
    font: 500 14px/1.2 'Montserrat', sans-serif; transition: border-color .15s, background-color .15s, color .15s;
}
.pt-filter button:hover { border-color: var(--pt-navy); }
.pt-filter button[aria-pressed="true"] { background: var(--pt-navy); border-color: var(--pt-navy); color: var(--pt-white); }
.pt-filter button span { opacity: .65; margin-left: 4px; }
.pt-worklist-title { scroll-margin-top: calc(var(--pt-hdr) + 20px); }
.lists .tab.is-filtered { display: none; }

/* лайтбокс */
.pt-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 12, 28, .94); color: var(--pt-white); }
.pt-lightbox::backdrop { background: rgba(3, 12, 28, .6); }
.pt-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.pt-lightbox figure { margin: 0; max-width: min(92vw, 1600px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pt-lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.pt-lightbox figcaption { font-size: 14px; color: var(--pt-on-dark); text-align: center; }
.pt-lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(3, 22, 49, .6); color: var(--pt-white); font-size: 30px; line-height: 1; cursor: pointer; }
.pt-lightbox button:hover { border-color: var(--pt-white); }
.pt-lightbox__close { top: 20px; right: 20px; }
.pt-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.pt-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .pt-lightbox__prev, .pt-lightbox__next { top: auto; bottom: 20px; transform: none; } }

/* вкладки внутри старых «tablets» — теперь это ссылки */
.tablets .container a[href] { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
    .pt-header, .pt-header *, .pt-section *, .pt-mega { transition: none !important; animation: none !important; }
    .pt-dir:hover img, .pt-project__cover:hover img, .pt-gallery__item:hover img { transform: none; }
}

/* карточки, нумерованные списки, шаги, FAQ */
.pt-card { padding: 28px; border-radius: var(--pt-radius); border: 1px solid var(--pt-line); background: var(--pt-white); }
.pt-olist { margin: 0; padding: 0; list-style: none; counter-reset: ol; display: grid; gap: 12px; }
.pt-olist li { counter-increment: ol; position: relative; padding-left: 40px; }
.pt-olist li::before { content: counter(ol); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--pt-tint); color: var(--pt-navy); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pt-steps { margin: 0 0 48px; padding: 0; list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-steps li { counter-increment: st; position: relative; padding: 56px 22px 22px; border-radius: var(--pt-radius); background: var(--pt-white); font-size: 15px; line-height: 1.5; }
.pt-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 22px; top: 18px; font-size: 22px; font-weight: 700; color: var(--pt-red); }
.pt-steps b { display: block; font-weight: 700; color: var(--pt-navy); margin-bottom: 2px; }
.pt-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pt-faq__item { padding: 24px; border-radius: var(--pt-radius); background: var(--pt-white); border-left: 3px solid var(--pt-red); }
.pt-faq__item--wide { grid-column: 1 / -1; }
.pt-faq__item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--pt-navy); }
.pt-faq__item p { margin: 0; font-size: 15px; color: var(--pt-ink); }
@media (max-width: 900px) { .pt-steps { grid-template-columns: 1fr 1fr; } .pt-faq { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pt-steps { grid-template-columns: 1fr; } .pt-card { padding: 22px; } }

.pt-eq-cell { display: flex; }
.pt-eq-cell > .pt-eq { flex: 1; }
.pt-eq-cell[hidden] { display: none; }
.pt-tabs .pt-chip[aria-pressed="true"] .pt-muted { color: var(--pt-on-dark); }
.lists { background: var(--pt-tint); padding: 8px 0 88px; margin-bottom: 0 !important; }
.pt-section--tint + .lists, .lists .container.warning { margin-top: 0 !important; }
.pt-tabs .pt-chip .pt-muted { margin-left: 4px; }
@media (max-width: 640px) {
    .pt-tabs, .pt-filter { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .pt-tabs::-webkit-scrollbar, .pt-filter::-webkit-scrollbar { display: none; }
    .pt-tabs .pt-chip, .pt-filter button { flex: none; white-space: nowrap; }
}
