/* Примбас Инжиниринг — light Vortex-style storefront */

:root {
  --pe-ink: #0b1b2b;
  --pe-slate: #4a6178;
  --pe-mist: #6b8096;
  --pe-line: rgba(15, 45, 75, 0.1);
  --pe-paper: #f4f8fc;
  --pe-white: #ffffff;
  --pe-sky: #e8f3fb;
  --pe-blue: #2f9ed6;
  --pe-blue-2: #58b7e8;
  --pe-deep: #163a5c;
  --pe-magenta: #c86bb5;
  --pe-pad: clamp(18px, 4vw, 64px);
  --pe-max: 1200px;
  --pe-nav: auto;
  --pe-radius: 999px;
  --pe-card: 18px;
  --pe-shadow: 0 18px 40px rgba(16, 42, 70, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.pe-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rubik", "Segoe UI", sans-serif;
  color: var(--pe-ink);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(88, 183, 232, 0.18), transparent 55%),
    radial-gradient(700px 360px at 10% 8%, rgba(200, 107, 181, 0.08), transparent 50%),
    linear-gradient(180deg, #f7fbfe 0%, var(--pe-paper) 45%, #eef5fb 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.pe-body a { color: inherit; text-decoration: none; }
body.pe-body img { max-width: 100%; display: block; }
body.pe-body button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.pe-wrap {
  width: min(100% - 2 * var(--pe-pad), var(--pe-max));
  margin-inline: auto;
}

.pe-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pe-blue);
  font-weight: 700;
}

.pe-h1, .pe-h2, .pe-h3 {
  font-family: "Rubik", sans-serif;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  color: var(--pe-ink);
}
.pe-h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); max-width: 11ch; }
.pe-h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.pe-h3 { font-size: 1.05rem; letter-spacing: -0.01em; }

.pe-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--pe-slate);
  font-size: 1.02rem;
}

.pe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--pe-radius);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.pe-btn--accent {
  background: linear-gradient(135deg, var(--pe-blue), var(--pe-blue-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 158, 214, 0.28);
}
.pe-btn--accent:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(47, 158, 214, 0.35); }
.pe-btn--ghost {
  border: 1px solid var(--pe-line);
  background: rgba(255,255,255,0.7);
  color: var(--pe-deep);
}
.pe-btn--ghost:hover { border-color: var(--pe-blue); color: var(--pe-ink); }
.pe-btn--link {
  padding: 0;
  min-height: auto;
  color: var(--pe-blue);
  font-weight: 700;
}
.pe-btn--link:hover { color: var(--pe-deep); }

/* Header — TermoEra behavior: top (search) scrolls away; menubar sticks with icons */
.pe-header {
  position: relative;
  z-index: 80;
  background: #fff;
}
.pe-header__main {
  border-bottom: 1px solid var(--pe-line);
  background: #fff;
}
.pe-header__inner {
  width: min(100% - 2 * var(--pe-pad), var(--pe-max));
  margin-inline: auto;
  min-height: 84px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1.1rem 1.4rem;
}
.pe-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.pe-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #163a5c, #2f9ed6);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.pe-logo__text {
  display: grid;
  gap: 0.12rem;
  line-height: 1.1;
}
.pe-logo__name {
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.pe-logo__tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pe-mist);
}

.pe-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border: 0;
  border-radius: var(--pe-radius);
  background: #f2f4f6;
  overflow: hidden;
  min-height: 48px;
  padding: 0 0.25rem 0 0;
  transition: box-shadow .2s ease, background .2s ease;
}
.pe-search:focus-within {
  background: #eef2f5;
  box-shadow: 0 0 0 3px rgba(47, 158, 214, 0.12);
}
.pe-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--pe-ink);
}
.pe-search__input::placeholder { color: #9aa3ad; }
.pe-search__btn {
  width: 40px;
  height: 40px;
  margin-right: 0.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pe-blue), var(--pe-blue-2));
  color: #fff;
  flex: 0 0 auto;
}
.pe-search__btn:hover { filter: brightness(1.05); }

.pe-header__aside {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.pe-header__contacts {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  line-height: 1.25;
  min-width: 11.5rem;
  font-family: "Rubik", sans-serif;
}
.pe-header__contacts-main {
  display: grid;
  gap: 0;
}
.pe-header__phone,
.pe-header__mail {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #111;
  letter-spacing: 0;
  line-height: 1.25;
  text-decoration: none;
  text-transform: none;
}
.pe-header__phone:hover,
.pe-header__mail:hover { color: var(--pe-blue); }
.pe-header__contacts-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.05rem;
}
body.pe-body button.pe-header__callback {
  padding: 0;
  border: 0;
  border-bottom: 1px dotted #666;
  border-radius: 0;
  background: none;
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  color: #666;
  cursor: pointer;
  text-align: left;
  line-height: 16px;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
body.pe-body button.pe-header__callback:hover {
  color: var(--pe-blue);
  border-bottom-color: var(--pe-blue);
}
.pe-contacts-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.pe-header__more {
  width: 22px;
  height: 22px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #111;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.pe-header__more svg {
  display: block;
  width: 18px;
  height: 18px;
}
.pe-header__more:hover,
.pe-header__more[aria-expanded="true"],
.pe-contacts-more:hover .pe-header__more {
  color: var(--pe-blue);
  background: transparent;
}
.pe-contacts-popup {
  position: absolute;
  top: calc(100% + 2px);
  right: -8px;
  width: 300px;
  max-width: min(92vw, 320px);
  padding: 20px;
  border-radius: 4px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  display: none;
  gap: 0.85rem;
  z-index: 120;
  color: #999;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
.pe-contacts-popup::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.pe-contacts-more:hover .pe-contacts-popup,
.pe-contacts-more.is-open .pe-contacts-popup {
  display: grid;
}
.pe-contacts-popup[hidden] {
  display: none !important;
}
.pe-contacts-more:hover .pe-contacts-popup[hidden],
.pe-contacts-more.is-open .pe-contacts-popup[hidden] {
  display: grid !important;
}
.pe-contacts-popup__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.55rem;
  align-items: start;
  color: #999;
  text-decoration: none;
}
.pe-contacts-popup__item:hover,
.pe-contacts-popup__item:hover a { color: var(--pe-blue); }
.pe-contacts-popup__icon {
  color: var(--pe-blue);
  line-height: 1.45;
  text-align: center;
  display: inline-grid;
  place-items: start center;
  padding-top: 2px;
}
.pe-contacts-popup__icon svg { display: block; }
.pe-contacts-popup__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.35rem;
}
body.pe-body a.pe-social {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: #666;
  transition: transform 0.15s ease, color 0.15s ease;
}
body.pe-body a.pe-social svg { width: 18px; height: 18px; display: block; }
body.pe-body a.pe-social:hover { transform: translateY(-1px); }
body.pe-body a.pe-social--vk { color: #45668e; }
body.pe-body a.pe-social--max { color: #4b6bfb; }
body.pe-body a.pe-social--wa { color: #25d366; }

.pe-modal[hidden] { display: none !important; }
.pe-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.pe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 40, 0.45);
}
.pe-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pe-line);
  box-shadow: 0 24px 60px rgba(8, 24, 40, 0.28);
  z-index: 1;
}
.pe-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.pe-modal__title {
  margin: 0;
  font-family: "Rubik", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pe-ink);
}
.pe-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pe-blue), var(--pe-blue-2));
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}
.pe-modal__lead {
  margin: 0 0 1rem;
  color: var(--pe-slate);
  font-size: 0.92rem;
}
.pe-modal__form { display: grid; gap: 0.7rem; }
.pe-modal__form textarea {
  width: 100%;
  border: 1px solid var(--pe-line);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--pe-ink);
  background: #f7fbfe;
  resize: vertical;
}
.pe-modal__form textarea:focus {
  outline: none;
  border-color: var(--pe-blue);
  box-shadow: 0 0 0 3px rgba(47, 158, 214, 0.14);
  background: #fff;
}
.pe-modal__submit { width: 100%; justify-content: center; }
.pe-modal__note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--pe-mist);
  line-height: 1.35;
}
html.pe-modal-open { overflow: hidden; }
.pe-header__icons,
.pe-menubar__icons,
.pe-usericons {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.pe-header__icons {
  padding: 0.2rem 0.35rem 0.2rem 0.25rem;
  border-radius: 999px;
  background: #f3f5f7;
}
.pe-iconbtn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #222;
  display: inline-grid;
  place-items: center;
  transition: color .2s ease, background .2s ease;
}
.pe-iconbtn:hover {
  color: var(--pe-blue);
  background: rgba(255, 255, 255, 0.85);
}
.pe-iconbtn--on-dark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
}
.pe-iconbtn--on-dark:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.pe-iconbtn--cart {
  width: auto;
  min-width: 40px;
  padding: 0 0.65rem 0 0.4rem;
  grid-auto-flow: column;
  gap: 0.35rem;
  border-radius: 999px;
}
.pe-iconbtn__meta {
  display: grid;
  line-height: 1.1;
  text-align: left;
}
.pe-iconbtn__label {
  font-size: 0.72rem;
  font-weight: 700;
}
.pe-iconbtn__sum {
  font-size: 0.72rem;
  opacity: 0.75;
}
.pe-iconbtn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pe-blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
  display: grid;
  place-items: center;
}
.pe-burger { display: none; }

.pe-account { position: relative; }
.pe-account__popup {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--pe-line);
  background: #fff;
  color: var(--pe-ink);
  box-shadow: 0 18px 40px rgba(16, 42, 70, 0.16);
  z-index: 80;
}
.pe-account__popup[hidden] { display: none !important; }
.pe-account__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--pe-line);
}
.pe-account__close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--pe-mist);
  font-size: 1.2rem;
  line-height: 1;
}
.pe-account__close:hover { background: #eef6fb; color: var(--pe-ink); }
.pe-account__body { display: grid; gap: 0.75rem; }
.pe-account__avatar {
  width: 64px;
  height: 64px;
  margin: 0.2rem auto 0.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf5fc;
  color: var(--pe-blue);
}
.pe-account__form { display: grid; gap: 0.65rem; }
.pe-account__label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pe-slate);
}
.pe-account__label input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--pe-line);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--pe-ink);
  background: #f7fbfe;
}
.pe-account__label input:focus {
  outline: none;
  border-color: var(--pe-blue);
  box-shadow: 0 0 0 3px rgba(47, 158, 214, 0.14);
  background: #fff;
}
.pe-account__submit,
.pe-account__link {
  width: 100%;
  justify-content: center;
}
.pe-account__actions {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pe-account__actions .pe-account__link {
  width: auto;
  min-width: 60%;
}
.pe-account__hello {
  margin: 0;
  text-align: center;
  color: var(--pe-slate);
  font-size: 0.92rem;
}

.pe-menubar-slot { position: relative; }
.pe-menubar {
  background: linear-gradient(90deg, #0f2740, #163a5c 55%, #1a4a73);
  color: #fff;
  z-index: 60;
}
.pe-menubar.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 10px 28px rgba(8, 24, 40, 0.28);
}
.pe-menubar__inner {
  width: min(100% - 2 * var(--pe-pad), var(--pe-max));
  margin-inline: auto;
  min-height: 50px;
  display: flex;
  align-items: stretch;
  gap: 1rem;
}
.pe-menubar__nav {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  align-items: stretch;
  gap: 0;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #fff;
}
body.pe-body .pe-menubar__nav a {
  position: relative;
  display: block;
  color: #fff;
  font-weight: 500;
  padding: 15px 0;
  margin-left: 20px;
  text-decoration: none;
}
body.pe-body .pe-menubar__nav a:hover,
body.pe-body .pe-menubar__nav a:focus {
  color: #fff;
  opacity: 1;
  text-decoration: none;
}
body.pe-body .pe-menubar__nav a::before,
body.pe-body .pe-menubar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3A506B;
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}
body.pe-body .pe-menubar__nav a::before { top: 0; }
body.pe-body .pe-menubar__nav a::after { bottom: 0; }
body.pe-body .pe-menubar__nav a:hover::before,
body.pe-body .pe-menubar__nav a:focus::before,
body.pe-body .pe-menubar__nav a:hover::after,
body.pe-body .pe-menubar__nav a:focus::after {
  opacity: 1;
}
body.pe-body .pe-menubar__nav a:hover::before,
body.pe-body .pe-menubar__nav a:focus::before {
  top: 9px;
}
body.pe-body .pe-menubar__nav a:hover::after,
body.pe-body .pe-menubar__nav a:focus::after {
  bottom: 9px;
}
.pe-menubar__icons {
  margin-left: auto;
  display: none;
}
.pe-menubar.is-sticky .pe-menubar__icons { display: flex; }

.pe-catalog {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}
body.pe-body a.pe-catalog__btn,
body.pe-body button.pe-catalog__btn {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0;
  background: #3A506B;
  color: #fff;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}
body.pe-body a.pe-catalog__btn.is-open,
body.pe-body a.pe-catalog__btn:hover,
body.pe-body button.pe-catalog__btn.is-open,
body.pe-body button.pe-catalog__btn:hover,
.pe-catalog:hover .pe-catalog__btn {
  background: #3A506B;
  color: #fff;
  filter: brightness(1.08);
}
.pe-catalog__burger {
  width: 16px;
  height: 12px;
  position: relative;
  display: inline-block;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.pe-catalog__burger::before,
.pe-catalog__burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.pe-catalog__burger::before { top: 0; }
.pe-catalog__burger::after { bottom: 0; }
.pe-catalog__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: min(92vw, 360px);
  padding: 0.55rem;
  margin-top: 0;
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--pe-line);
  border-top: 0;
  background: #fff;
  color: var(--pe-ink);
  box-shadow: 0 18px 40px rgba(16, 42, 70, 0.16);
  display: none;
  z-index: 130;
}
.pe-catalog__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}
.pe-catalog:hover .pe-catalog__menu,
.pe-catalog.is-open .pe-catalog__menu {
  display: grid;
}
.pe-catalog__menu[hidden] { display: none !important; }
.pe-catalog:hover .pe-catalog__menu[hidden],
.pe-catalog.is-open .pe-catalog__menu[hidden] {
  display: grid !important;
}
.pe-catalog__menu a {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--pe-slate);
}
.pe-catalog__menu a:hover {
  background: #eef6fb;
  color: var(--pe-ink);
}

.pe-mobile {
  display: none;
  border-top: 1px solid var(--pe-line);
  background: #fff;
  padding: 0.85rem var(--pe-pad) 1.1rem;
}
.pe-mobile a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--pe-line);
  color: var(--pe-slate);
  font-weight: 600;
}
.pe-mobile__sub {
  padding-left: 0.85rem !important;
  font-weight: 500 !important;
  font-size: 0.92rem;
}
.pe-search--mobile { max-width: none; margin: 0 0 0.85rem; }

@media (max-width: 980px) {
  .pe-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }
  .pe-search { display: none; }
  .pe-header__contacts { display: none; }
  .pe-iconbtn__meta { display: none; }
  .pe-iconbtn--cart { width: 42px; padding: 0; }
  .pe-burger { display: inline-grid; }
  .pe-menubar-slot,
  .pe-menubar { display: none; }
  .pe-mobile:not([hidden]) { display: block; }
  .pe-logo__tag { display: none; }
  .pe-header {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 8px 20px rgba(16, 42, 70, 0.06);
  }
  /* Keep account popup on-screen: absolute+92vw was pushing page sideways */
  .pe-account__popup {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 90;
  }
}

/* Hero */
.pe-hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 88px);
  overflow: hidden;
}
.pe-hero__layout {
  width: min(100% - 2 * var(--pe-pad), var(--pe-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.pe-hero__copy {
  display: grid;
  gap: 1.15rem;
  animation: pe-rise .8s ease both;
}
.pe-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 0.25rem;
}
.pe-hero__visual {
  position: relative;
  min-height: clamp(280px, 42vw, 460px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--pe-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(244,248,252,0.08)),
    url("/static/pe/img/hero-building.webp") center / cover no-repeat;
  box-shadow: var(--pe-shadow);
  animation: pe-rise .9s ease .08s both;
}
.pe-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(200, 107, 181, 0.18), transparent 35%),
    radial-gradient(circle at 45% 55%, rgba(47, 158, 214, 0.2), transparent 40%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.pe-legend {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  z-index: 2;
}
.pe-legend__item {
  width: 148px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(16, 42, 70, 0.1);
}
.pe-legend__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pe-mist);
  margin-bottom: 6px;
}
.pe-legend__bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #58b7e8, #7ad0a5 45%, #e8b25a 75%, #d978a8);
}
.pe-legend__bar--vel {
  background: linear-gradient(90deg, #8ec8ef, #2f9ed6 40%, #c86bb5);
}

@media (max-width: 900px) {
  .pe-hero__layout { grid-template-columns: 1fr; }
  .pe-h1 { max-width: none; }
  .pe-hero__visual { min-height: 260px; order: -1; }
}

@keyframes pe-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.pe-section {
  padding: clamp(56px, 8vw, 100px) 0;
}
.pe-section__head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(24px, 4vw, 40px);
  max-width: 40rem;
}
.pe-section__head--row {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem 2rem;
}
.pe-section__head--row .pe-lead { max-width: 28rem; }

.pe-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pe-project {
  position: relative;
  min-height: 250px;
  border-radius: var(--pe-card);
  overflow: hidden;
  border: 1px solid var(--pe-line);
  background: #d9e7f2;
  isolation: isolate;
  box-shadow: var(--pe-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pe-project:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(16, 42, 70, 0.12);
}
.pe-project__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}
.pe-project:hover .pe-project__bg { transform: scale(1.05); }
.pe-project__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.15rem 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(8, 24, 40, 0.72));
  color: #fff;
}
.pe-project__body .pe-h3 { color: #fff; }
.pe-project__meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}
.pe-project__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 900px) {
  .pe-projects { grid-template-columns: 1fr; }
  .pe-section__head--row { grid-template-columns: 1fr; }
}

/* Services */
.pe-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.pe-service {
  position: relative;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  min-height: 168px;
  padding: 1.15rem 1.1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--pe-line);
  background:
    linear-gradient(160deg, rgba(232, 243, 251, 0.9), transparent 55%),
    var(--pe-white);
  box-shadow: 0 10px 24px rgba(16, 42, 70, 0.04);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pe-service:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 158, 214, 0.45);
  box-shadow: 0 16px 30px rgba(16, 42, 70, 0.08);
}
.pe-service__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eaf5fc;
  color: var(--pe-blue);
  border: 1px solid rgba(47, 158, 214, 0.18);
  font-size: 0.95rem;
}
.pe-service__price {
  margin-top: auto;
  color: var(--pe-blue);
  font-weight: 750;
  font-size: 0.9rem;
}
.pe-service__glow {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 158, 214, 0.18), transparent 70%);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .pe-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pe-services { grid-template-columns: 1fr; }
}

/* About */
.pe-about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.pe-about__visual {
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid var(--pe-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(244,248,252,0.2)),
    url("/static/pe/img/about-van.webp") center / cover no-repeat;
  box-shadow: var(--pe-shadow);
}
.pe-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.4rem 0 0;
}
.pe-trust__item {
  padding: 0.95rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--pe-line);
  background: rgba(255,255,255,0.75);
  display: grid;
  gap: 0.45rem;
}
.pe-trust__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eaf5fc;
  color: var(--pe-blue);
  font-size: 0.9rem;
}
.pe-trust__item strong {
  font-size: 0.86rem;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .pe-about { grid-template-columns: 1fr; }
  .pe-about__visual { min-height: 240px; order: -1; }
  .pe-trust { grid-template-columns: 1fr; }
}

/* Reviews */
.pe-reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 36px);
}
.pe-rating {
  text-align: right;
}
.pe-rating__score {
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pe-ink);
  line-height: 1;
}
.pe-rating__meta {
  color: var(--pe-mist);
  font-size: 0.86rem;
  margin-top: 0.35rem;
}
.pe-reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.pe-review {
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--pe-line);
  background: var(--pe-white);
  box-shadow: 0 10px 24px rgba(16, 42, 70, 0.04);
  display: grid;
  gap: 0.85rem;
}
.pe-review__stars { color: #f0a23a; letter-spacing: 0.08em; }
.pe-review p { margin: 0; color: var(--pe-slate); font-size: 0.94rem; }
.pe-review__who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}
.pe-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7ebf7, #b7d8ec);
  color: var(--pe-deep);
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 0.78rem;
  flex: 0 0 auto;
}
.pe-review__name { font-weight: 700; font-size: 0.9rem; }
.pe-review__role { font-size: 0.78rem; color: var(--pe-mist); }

@media (max-width: 1000px) {
  .pe-reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pe-reviews { grid-template-columns: 1fr; }
  .pe-rating { text-align: left; }
}

/* CTA + footer */
.pe-cta { padding: clamp(40px, 6vw, 72px) 0; }
.pe-cta__panel {
  border-radius: 28px;
  border: 1px solid var(--pe-line);
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(520px 220px at 90% 0%, rgba(47, 158, 214, 0.16), transparent 60%),
    radial-gradient(420px 180px at 10% 100%, rgba(200, 107, 181, 0.1), transparent 55%),
    linear-gradient(135deg, #ffffff, #eaf4fb);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: var(--pe-shadow);
}
.pe-cta__panel .pe-h2 { max-width: 16ch; }

.pe-foot {
  border-top: 1px solid var(--pe-line);
  padding: 2.4rem 0 2rem;
  color: var(--pe-slate);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.65);
}
.pe-foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pe-foot__title {
  color: var(--pe-ink);
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 750;
}
.pe-foot__links,
.pe-foot__contacts {
  display: grid;
  gap: 0.4rem;
}
.pe-foot a:hover { color: var(--pe-ink); }
.pe-foot__copy {
  border-top: 1px solid var(--pe-line);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--pe-mist);
}
@media (max-width: 800px) {
  .pe-foot__grid { grid-template-columns: 1fr; }
}

.pe-page {
  width: min(100% - 2 * var(--pe-pad), var(--pe-max));
  margin: 2rem auto 4rem;
}
.pe-page .page-header h1,
.pe-page h1 {
  font-family: "Rubik", sans-serif;
  color: var(--pe-ink);
}

.pe-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  color: var(--pe-mist);
  font-size: 0.86rem;
}
.pe-crumbs a:hover { color: var(--pe-blue); }

/* Catalogue — TermoEra-like filters + grid */
.pe-catalog-page { margin-top: 1.2rem; }
.pe-catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  align-items: start;
}
.pe-filters {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1.1rem;
}
.pe-filters__block {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pe-line);
}
.pe-filters__title {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pe-ink);
}
.pe-filters__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.pe-filters__cats a {
  display: block;
  color: var(--pe-slate);
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 0.15rem 0;
  transition: color .15s ease;
}
.pe-filters__cats a:hover,
.pe-filters__cats a.is-active {
  color: var(--pe-blue);
}
.pe-filters__range-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--pe-mist);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.pe-filters__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.pe-filters__inputs label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--pe-mist);
  text-transform: lowercase;
}
.pe-filters__inputs input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--pe-line);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  background: #fff;
  color: var(--pe-ink);
  font: inherit;
  font-size: 0.9rem;
}
.pe-filters__inputs input:focus {
  outline: 2px solid rgba(47, 158, 214, 0.28);
  border-color: var(--pe-blue);
}
.pe-filters__actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
}
.pe-filters__actions .pe-btn { width: 100%; border-radius: 12px; }

.pe-catalog-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.pe-catalog-main__title { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.pe-catalog-sort label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--pe-slate);
  font-size: 0.9rem;
}
.pe-catalog-sort select {
  min-height: 40px;
  border: 1px solid var(--pe-line);
  border-radius: 10px;
  padding: 0.35rem 0.7rem;
  background: #fff;
  font: inherit;
  color: var(--pe-ink);
}

.pe-cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 0 0 1.6rem;
}
.pe-cat-tile {
  display: grid;
  gap: 0.55rem;
  text-align: center;
}
.pe-cat-tile__img {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(47, 158, 214, 0.12), transparent 55%),
    linear-gradient(180deg, #edf4fa, #e2ebf3);
  border: 1px solid var(--pe-line);
}
.pe-cat-tile__name {
  font-size: 0.88rem;
  color: var(--pe-ink);
  line-height: 1.3;
}
.pe-cat-tile:hover .pe-cat-tile__name { color: var(--pe-blue); }

.pe-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.1rem;
}
.pe-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pe-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f7fb, #e8eef5);
  border: 1px solid var(--pe-line);
}
.pe-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}
.pe-product-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 42%, rgba(47, 158, 214, 0.18), transparent 42%),
    linear-gradient(180deg, #f5f9fc, #e6eef6);
}
.pe-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 24px;
  padding: 0 0.45rem;
  border-radius: 6px;
  background: #4db56f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pe-product-card__body {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.1rem 0;
}
.pe-product-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  min-height: 2.7em;
}
.pe-product-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pe-product-card__title a:hover { color: var(--pe-blue); }
.pe-product-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pe-ink);
}
.pe-product-card__meta {
  font-size: 0.8rem;
  color: var(--pe-mist);
}
.pe-product-card__btn {
  margin-top: 0.35rem;
  width: fit-content;
  min-height: 38px;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
}

.pe-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--pe-slate);
  font-size: 0.9rem;
}
.pe-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--pe-line);
  background: #fff;
}
.pe-pagination a:hover {
  border-color: var(--pe-blue);
  color: var(--pe-blue);
}

@media (max-width: 980px) {
  .pe-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pe-catalog-layout { grid-template-columns: 1fr; }
  .pe-filters { position: static; }
}
@media (max-width: 560px) {
  .pe-product-grid { grid-template-columns: 1fr; }
  .pe-cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 152-FZ consent + legal + cookie bar */
.pd-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 0.15rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--pe-slate);
  cursor: pointer;
  text-align: left;
}
.pd-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0.15rem 0 0;
  accent-color: var(--pe-blue);
}
.pd-consent span { flex: 1 1 auto; }
.pd-consent a.pd-consent__link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--pe-deep);
}
.pd-consent a.pd-consent__link:hover { color: var(--pe-blue); }

.pe-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: flex-end;
}
.pe-foot__legal a {
  color: var(--pe-mist);
  font-size: 0.8rem;
}
.pe-foot__legal a:hover { color: var(--pe-blue); }

.pe-legal__title { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.pe-legal__body {
  max-width: 48rem;
  color: var(--pe-slate);
  font-size: 0.95rem;
}
.pe-legal__body p { margin: 0 0 0.9rem; }
.pe-legal__body ul { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.pe-legal__body li { margin: 0.25rem 0; }
.pe-legal__body a { color: var(--pe-blue); text-decoration: underline; text-underline-offset: 2px; }

.pe-auth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.pe-auth__card {
  border: 1px solid var(--pe-line);
  border-radius: 16px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.85);
}
.pe-auth__errors { color: #b42318; font-size: 0.86rem; }
@media (max-width: 720px) {
  .pe-auth__grid { grid-template-columns: 1fr; }
  .pe-foot__copy { flex-direction: column; align-items: flex-start; }
  .pe-foot__legal { justify-content: flex-start; }
}

.pe-cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--pe-line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 42, 70, 0.18);
  color: var(--pe-slate);
  font-size: 0.86rem;
  line-height: 1.4;
}
.pe-cookie[hidden] { display: none !important; }
.pe-cookie p { margin: 0; max-width: 52rem; }
.pe-cookie a { color: var(--pe-blue); text-decoration: underline; }
.pe-cookie .pe-btn { border-radius: 10px; min-height: 40px; padding: 0.45rem 1rem; }

.pe-body .navbar-default,
.pe-body #blockmsgs { display: none !important; }
