.pgx {
  --pgx-ink: #094267;
  --pgx-blue: #5278c0;
  --pgx-red: #e84641;
  --pgx-paper: #fff;
  --pgx-mist: #f0f5fa;
  --pgx-edge: #dbe5ed;
  --pgx-muted: #405d70;
  color: var(--pgx-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.pgx-original { display: none !important; }
.pgx *, .pgx *::before, .pgx *::after { box-sizing: border-box; }
.pgx button, .pgx input { font: inherit; }
.pgx a { color: inherit; text-decoration: none; }
.pgx a:hover { text-decoration: underline; text-underline-offset: .22em; }
.pgx a:focus-visible, .pgx button:focus-visible, .pgx input:focus-visible {
  outline: 2px solid var(--pgx-blue);
  outline-offset: 3px;
}
.pgx [hidden] { display: none !important; }

.pgx-wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.pgx-header { position: relative; z-index: 20; background: var(--pgx-paper); border-bottom: 1px solid var(--pgx-edge); }
.pgx-skip { position: absolute; inset: .5rem auto auto 1rem; z-index: 5; padding: 10px 14px; background: white; transform: translateY(-200%); }
.pgx-skip:focus { transform: none; }
.pgx-utility { display: flex; justify-content: flex-end; align-items: center; gap: 20px; min-height: 36px; border-bottom: 1px solid var(--pgx-edge); font-size: 13px; }
.pgx-utility-mail, .pgx-tel, .pgx-foot-contact, .pgx-city { display: inline-flex; gap: 8px; align-items: center; }
.pgx-city { align-self: stretch; margin-right: auto; padding: 0 7px; color: var(--pgx-ink); cursor: pointer; }
.pgx-top { display: grid; grid-template-columns: minmax(155px, 232px) minmax(155px, 370px) minmax(260px, 1fr); align-items: center; gap: clamp(16px, 3vw, 42px); min-height: 78px; }
.pgx-brand { display: inline-block; line-height: 0; width: min(100%, 212px); }
.pgx-brand img, .pgx-footer-brand img { display: block; width: 100%; height: auto; }
.pgx-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 2vw, 26px); white-space: nowrap; }
.pgx-tel { font-weight: 750; }
.pgx-search { display: flex; align-items: center; min-width: 0; min-height: 44px; border: 1px solid var(--pgx-edge); border-radius: 12px; background: var(--pgx-mist); }
.pgx-search input { width: 100%; min-width: 0; padding: 10px 13px; border: 0; background: transparent; color: var(--pgx-ink); }
.pgx-search input::placeholder { color: var(--pgx-muted); }
.pgx-search button { flex: 0 0 46px; min-height: 42px; color: inherit; cursor: pointer; }
.pgx .pgx-cta { display: inline-flex; flex-direction: row-reverse; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border-radius: 10px; background: var(--pgx-ink); color: white; font-weight: 750; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.pgx .pgx-cta:hover { background: #063351; box-shadow: 0 5px 15px #09426726; }
.pgx-mobile-tools { display: none; }
.pgx-nav { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--pgx-edge); }
.pgx ul { list-style: none; padding: 0; margin: 0; }
.pgx-nav-list { display: flex; flex-wrap: wrap; gap: 0 clamp(8px, 2vw, 34px); }
.pgx-nav-item { display: flex; align-items: stretch; position: relative; min-width: 0; }
.pgx .pgx-nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; color: var(--pgx-ink); font-weight: 700; }
.pgx .pgx-nav-link[aria-current="page"], .pgx .pgx-nav-link--current { box-shadow: inset 0 -3px 0 var(--pgx-red); }
.pgx-expand { display: inline-flex; justify-content: center; align-items: center; min-width: 34px; min-height: 44px; color: var(--pgx-ink); cursor: pointer; }
.pgx-expand--label { flex-direction: row-reverse; }
.pgx-expand[aria-expanded="true"] { color: #155890; }
.pgx-expand[aria-expanded="true"] .pgx-i--down { transform: rotate(225deg); }
.pgx .pgx-services { flex-shrink: 0; margin-left: auto; color: #155890; cursor: pointer; }

.pgx-panel { position: absolute; z-index: 5; inset: 100% auto auto 0; width: min(530px, calc(100vw - 64px)); padding: 23px; border: 1px solid var(--pgx-edge); border-radius: 0 0 16px 16px; background: white; box-shadow: 0 14px 30px #09426722; }
.pgx-panel-title { margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--pgx-edge); font-size: 18px; font-weight: 750; }
.pgx-panel .pgx-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
.pgx-panel .pgx-links a { display: flex; align-items: center; min-height: 42px; padding: 6px 9px; border-radius: 7px; }
.pgx-panel .pgx-links a:hover { background: var(--pgx-mist); }
.pgx-panel-all { display: inline-flex; min-height: 44px; align-items: center; margin-top: 10px; color: var(--pgx-ink); font-weight: 750; }

.pgx-i { position: relative; display: inline-block; flex: 0 0 auto; width: 17px; height: 17px; color: currentColor; }
.pgx-i--mail, .pgx-i--phone, .pgx-i--search { background: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.pgx-i--mail { mask-image: url('/img/mail.svg'); }
.pgx-i--phone { mask-image: url('/img/phone.svg'); }
.pgx-i--search { mask-image: url('/img/search.svg'); }
.pgx-i--down { width: 8px; height: 8px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .18s ease; }
.pgx-i--pin { width: 13px; height: 15px; border: 1.5px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.pgx-i--pin::after { position: absolute; inset: 3px auto auto 3px; width: 4px; height: 4px; border: 1px solid; border-radius: 50%; content: ''; }
.pgx-i--arrow::before { position: absolute; inset: 8px 2px auto 1px; border-top: 1.5px solid; content: ''; }
.pgx-i--arrow::after { position: absolute; inset: 5px 2px auto auto; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); content: ''; }
.pgx-i--menu::before { position: absolute; inset: 4px 0 auto; height: 1.5px; background: currentColor; box-shadow: 0 4px, 0 8px; content: ''; }

.pgx-footer { border-top: 1px solid var(--pgx-edge); background: var(--pgx-mist); }
.pgx-footer-banner { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin: 30px 0; padding: 24px clamp(20px, 4vw, 42px); border-left: 4px solid var(--pgx-red); border-radius: 14px; background: var(--pgx-ink); color: white; }
.pgx-footer-banner h2 { margin: 0; color: inherit; font-size: clamp(21px, 2.8vw, 34px); font-weight: 800; line-height: 1.18; }
.pgx-footer-banner p { margin: 8px 0 0; color: #eef6fe; }
.pgx-footer-banner .pgx-cta { flex-shrink: 0; background: white; color: var(--pgx-ink); }
.pgx-footer-banner .pgx-cta:hover { background: var(--pgx-mist); }
.pgx-footer-grid { display: grid; grid-template-columns: minmax(230px, 1.6fr) repeat(3, minmax(0, 1fr)); column-gap: clamp(18px, 4vw, 50px); padding: 5px 0 27px; align-items: start; }
.pgx-footer-brand { display: block; width: 158px; }
.pgx-footer-name { margin: 10px 0; font-size: 14px; }
.pgx-foot-contact { display: flex; width: fit-content; min-height: 35px; font-weight: 700; }
.pgx-hours { margin: 6px 0 0; color: var(--pgx-muted); font-size: 13px; }
.pgx-footer-group h2 { margin: 0 0 6px; color: inherit; font-size: 16px; font-weight: 800; }
.pgx-footer-group a { display: inline-flex; align-items: center; min-height: 33px; color: var(--pgx-muted); }
.pgx-footer-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding: 15px 0 19px; border-top: 1px solid var(--pgx-edge); color: var(--pgx-muted); font-size: 13px; }
.pgx-footer-legal ul { display: flex; flex-wrap: wrap; gap: 9px 22px; }

@media (max-width: 920px) {
  .pgx-top { grid-template-columns: minmax(134px, 1fr) minmax(150px, 1fr); }
  .pgx-search, .pgx-actions .pgx-tel { display: none; }
  .pgx-utility { min-height: 38px; }
  .pgx-mobile-tools { display: flex; gap: 9px; }
  .pgx-toggle, .pgx-compact { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--pgx-edge); border-radius: 9px; color: var(--pgx-ink); cursor: pointer; }
  .pgx-mobile-tools { margin-bottom: 10px; }
  .pgx-nav { display: none; padding-bottom: 8px; }
  .pgx-mobile-open .pgx-nav { display: block; }
  .pgx-nav-list { display: grid; }
  .pgx-nav-item { flex-wrap: wrap; gap: 0; justify-content: space-between; border-bottom: 1px solid var(--pgx-edge); }
  .pgx-nav-item > .pgx-nav-link { flex: 1; }
  .pgx-expand { min-width: 46px; }
  .pgx-expand--label { justify-content: space-between; }
  .pgx-panel { position: static; width: 100%; border: 0; border-top: 1px solid var(--pgx-edge); border-radius: 0; box-shadow: none; padding: 10px 0; }
  .pgx-panel-title { display: none; }
  .pgx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 480px) {
  .pgx-wrap { width: calc(100% - 28px); }
  .pgx-utility { justify-content: space-between; gap: 6px; }
  .pgx-utility-mail { font-size: 12px; }
  .pgx-top { gap: 8px; min-height: 62px; }
  .pgx-brand { width: min(100%, 170px); }
  .pgx-actions .pgx-cta { font-size: 13px; padding-inline: 9px; }
  .pgx-actions .pgx-cta .pgx-i { display: none; }
  .pgx-panel .pgx-links { grid-template-columns: 1fr; gap: 2px; }
  .pgx-footer-banner { align-items: flex-start; flex-direction: column; gap: 14px; margin-block: 20px; }
  .pgx-footer-grid { gap: 20px 14px; }
  .pgx-footer-intro { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .pgx *, .pgx *::before, .pgx *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

.pgx-header.header { position: relative; z-index: 20; }
.pgx-search button { flex-basis: auto; padding: 0 12px 0 8px; font-size: 13px; font-weight: 750; }
.pgx-social { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 9px !important; color: var(--pgx-muted); font-size: 13px; }
.pgx-footer-info { margin: 0 0 14px; color: var(--pgx-muted); }
.pgx-address, .pgx-addresses { margin-bottom: 15px; padding: 12px 16px; border: 1px solid var(--pgx-edge); border-radius: 9px; }
.pgx-address { display: flex; align-items: center; gap: 10px; }
.pgx-address address { font-style: normal; }
.pgx-addresses summary { cursor: pointer; font-weight: 700; }
.pgx-addresses ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; padding-block: 14px 3px; }
.pgx-addresses li { padding-inline-end: 8px; font-size: 13px; }
.pgx-header:not(.pgx-enhanced) .pgx-toggle, .pgx-header:not(.pgx-enhanced) .pgx-expand { display: none; }

@media (max-width: 920px) {
  .pgx-header:not(.pgx-enhanced) .pgx-nav { display: block; }
  .pgx-mobile-menu-open #jivo-iframe-container,
  .pgx-mobile-menu-open iframe[title="Онлайн-чат"] { visibility: hidden !important; }
  .pgx-compact--call { margin-inline-start: auto; font-weight: 700; }
}
@media (max-width: 360px) {
  .pgx-mobile-tools { gap: 5px; }
  .pgx-mobile-tools > * { gap: 5px; padding-inline: 8px; font-size: 13px; }
  .pgx-mobile-tools .pgx-i { width: 14px; }
}

.pgx-nav { position: relative; }
.pgx-nav-item { position: static; }
.pgx-panel { inset-inline: 0; width: auto; }
.pgx-panel:not(.pgx-panel--guides) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr); gap: clamp(18px, 4vw, 48px); align-items: start; padding: 21px 24px 24px; }
.pgx-panel--guides { max-width: 720px; margin-inline: auto; }
.pgx-panel .pgx-links a { gap: 8px; }
.pgx-category-marker { flex: 0 0 8px; height: 8px; border: 1.5px solid var(--pgx-blue); border-radius: 2px; transform: rotate(45deg); }
.pgx-panel .pgx-links a:hover .pgx-category-marker { border-color: var(--pgx-red); }
.pgx-panel-all { gap: 8px; }
.pgx-expand { min-width: 44px; }
.pgx-panel-feature { overflow: hidden; border: 1px solid var(--pgx-edge); border-radius: 11px; background: var(--pgx-mist); }
.pgx-panel-feature img { width: 100%; height: auto; aspect-ratio: 2.2; object-fit: cover; display: block; }
.pgx-panel-feature .pgx-compact { width: 100%; text-align: left; min-height: 48px; padding: 10px 12px; color: var(--pgx-ink); font-weight: 700; cursor: pointer; }
.pgx-panel-feature .pgx-compact:hover { background: white; }
.pgx-guide-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; }
.pgx-enhanced .pgx-guide-fallback, .pgx-native-mobile, .pgx-more { display: none; }
.pgx-menu-actions { display: flex; gap: 8px; align-items: center; }
.pgx-footer-banner { position: relative; isolation: isolate; overflow: hidden; }
.pgx-footer-banner > div, .pgx-footer-banner > button { position: relative; z-index: 1; }
.pgx-footer-graphic { height: 100%; width: 43%; object-fit: cover; position: absolute; inset: 0 0 0 auto; mask-image: linear-gradient(90deg, transparent, black 68%); opacity: .43; }

@media (min-width: 921px) {
  .pgx-panel:not([hidden]) { animation: pgx-panel-in .18s ease-out; }
  @keyframes pgx-panel-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 920px) {
  .pgx-panel:not(.pgx-panel--guides) { display: block; padding: 10px 0; }
  .pgx-panel-feature { display: none; }
  .pgx-enhanced .pgx-panel:not(.pgx-panel-expanded) .pgx-category-extra { display: none; }
  .pgx-more { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 10px; margin: 4px 8px 4px 0; background: var(--pgx-mist); border-radius: 8px; color: var(--pgx-ink); cursor: pointer; }
  .pgx-menu-actions { flex-wrap: wrap; margin-top: 9px; }
  .pgx .pgx-services { margin-left: 0; margin-right: auto; }
  .pgx-native-mobile { display: inline-flex; }
  .pgx-footer-graphic { width: 60%; opacity: .3; }
}
