/* Главная ПроГОСТ */
.page__container:has(> .pghome) {
  width: min(1280px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
.pghome {
  --home-navy: #093853;
  --home-ink: #173c52;
  --home-muted: #496274;
  --home-line: #d2dfe8;
  --home-mist: #edf4f8;
  --home-link: #235c88;
  --home-action: #bc3035;
  --home-section-gap: clamp(38px, 4.8vw, 68px);
  padding: clamp(12px, 1.6vw, 24px) 0 var(--home-section-gap);
  color: var(--home-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.pghome, .pghome *, .pghome *::before, .pghome *::after,
.pghome-popup, .pghome-popup * { box-sizing: border-box; }
.pghome :is(figure, blockquote, ol, ul, p, h1, h2, h3) { margin: 0; }
.pghome :is(a, button, input, summary):focus-visible {
  outline: 3px solid #2876b3;
  outline-offset: 3px;
}
.pghome a { color: var(--home-link); text-decoration: none; }
.pghome button, .pghome input { font: inherit; }
.pghome :is(h1, h2, h3) {
  padding: 0;
  color: var(--home-navy);
  text-transform: none;
  text-align: start;
}
.pghome h2 {
  font-size: clamp(28px, 3.15vw, 45px);
  font-weight: 750;
  line-height: 1.09;
  letter-spacing: -.043em;
}
.pghome h3 {
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -.026em;
}
.pghome > section + section { margin-block-start: var(--home-section-gap); }
.pghome section[id], .pghome div[id] { scroll-margin-top: 18px; }
.pghome-icon { display: inline-block; flex: none; width: 24px; height: 24px; }
.pghome .pghome-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-mist);
}
.pghome-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 3.55vw, 50px);
}
.pghome .pghome-intro h1 {
  max-width: 17ch;
  font-size: clamp(37px, 4.35vw, 64px);
  font-weight: 750;
  line-height: 1.015;
  letter-spacing: -.053em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.pghome .pghome-intro > p {
  max-width: 48ch;
  margin-top: clamp(14px, 1.5vw, 23px);
  color: var(--home-muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.45;
}
.pghome-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.pghome-intro > .pghome-actions { margin-top: clamp(18px, 2vw, 30px); }
.pghome .pghome-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 19px;
  border: 0;
  border-radius: 8px;
  background: var(--home-action);
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.pghome .pghome-primary:hover { background: #9d242b; color: white; }
.pghome .pghome-textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--home-link);
  font-weight: 650;
  line-height: 1.28;
}
.pghome .pghome-textlink:hover, .pghome .pghome-services a:hover {
  text-decoration: underline;
  text-underline-offset: .22em;
}
.pghome-actions svg, .pghome-textlink svg { flex: none; width: 17px; height: 17px; }
.pghome .pghome-graphic {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 32px);
  border-left: 1px solid #d0dfe9;
  background: #e3eef4;
}
.pghome-input { min-width: 0; }
.pghome-diagram-heading { display: flex; align-items: center; gap: 9px; }
.pghome-diagram-heading > svg { width: 22px; height: 22px; color: var(--home-link); }
.pghome-diagram-heading h2 {
  font-size: clamp(20px, 1.65vw, 24px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.pghome .pghome-input-note { margin-top: 4px; color: var(--home-muted); font-size: 14px; }
.pghome-samples {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  margin: 6px 0 0;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent),
    linear-gradient(180deg, transparent, black 6%, black 95%, transparent);
  mask-composite: intersect;
}
.pghome-sample-links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 2px;
}
.pghome-sample-links::after {
  position: absolute;
  inset: auto 16.66% -2px;
  height: 5px;
  border: solid #85a4b8;
  border-width: 0 1px 1px;
  border-radius: 0 0 3px 3px;
  pointer-events: none;
  content: '';
}
.pghome-sample-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 3px;
  border-radius: 4px;
  color: #254e70;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: #7b97ae;
  text-underline-offset: 3px;
}
.pghome-sample-links a:hover { background: #dae7ee; text-decoration-color: currentColor; }
.pghome-sample-links svg { flex: none; width: 16px; height: 16px; }
.pghome-result {
  position: relative;
  margin-top: 15px;
  padding: 15px 18px;
  border: 1px solid #bdcedc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 0 #cfdee7;
}
.pghome-result::before, .pghome-result::after {
  position: absolute;
  left: 50%;
  content: '';
}
.pghome-result::before {
  width: 2px;
  height: 14px;
  top: -18px;
  margin-left: -1px;
  background: var(--home-action);
}
.pghome-result::after {
  top: -12px;
  width: 8px;
  height: 8px;
  border: solid var(--home-action);
  border-width: 0 2px 2px 0;
  transform: translateX(-50%) rotate(45deg);
}
.pghome-result h3 { font-size: 18px; line-height: 1.24; }
.pghome-result ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.pghome-result li {
  position: relative;
  padding-left: 13px;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.3;
}
.pghome-result li::before {
  position: absolute;
  top: .36em;
  left: 0;
  width: 8px;
  height: 5px;
  border: solid #427394;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
  content: '';
}
.pghome-index {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 22px;
  padding: 8px 0;
  border-bottom: 1px solid var(--home-line);
}
.pghome-index a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 650; }
.pghome-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 5px 22px;
  margin-bottom: clamp(16px, 1.8vw, 25px);
}
.pghome-heading > div { min-width: 0; }
.pghome-heading p { max-width: 72ch; margin-top: 8px; color: var(--home-muted); }
.pghome-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pghome .pghome-route {
  position: relative;
  display: grid;
  align-content: start;
  align-items: start;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  column-gap: 15px;
  padding: clamp(17px, 2vw, 26px);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  color: var(--home-ink);
  background: #f5f8fb;
}
.pghome .pghome-route:nth-child(2) { background: #f0f5f8; }
.pghome-route > :first-child:is(svg, .pghome-icon) {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 7px;
  background: white;
  color: var(--home-link);
}
.pghome-route > :is(h3, div, p, a) { grid-column: 2; min-width: 0; }
.pghome-route p { margin-top: 5px; color: var(--home-muted); font-size: 15px; }
.pghome-route :is(a, .pghome-textlink) { font-size: 15px; font-weight: 700; }
.pghome-route > svg:last-child { grid-column: 3; grid-row: 1; align-self: center; width: 18px; height: 18px; }
.pghome a.pghome-route:hover, .pghome .pghome-guide:hover, .pghome-products a:hover {
  border-color: #89aabe;
  background: #e9f1f7;
}
.pghome-search {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(0, 2fr);
  gap: 8px 20px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--home-line);
}
.pghome-search > label { color: var(--home-navy); font-weight: 700; }
.pghome-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 4px 4px 12px;
  border: 1px solid #71899a;
  border-radius: 8px;
  background: white;
}
.pghome-search-field > svg { width: 18px; height: 18px; color: var(--home-muted); }
.pghome-search-field input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--home-ink);
}
.pghome-search-field input::placeholder { color: #536a7a; opacity: 1; }
.pghome-search-field button {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 5px;
  background: var(--home-navy);
  color: white;
  font-weight: 650;
  cursor: pointer;
}
.pghome-search-field button:hover { background: #155574; }
.pghome-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.pghome-products a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 69px;
  padding: 10px 13px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}
.pghome-products .pgx-product-icon { width: 31px; height: 31px; flex: none; }
.pghome-products span { min-width: 0; overflow-wrap: break-word; }
.pghome :is(.pghome-services, .pghome-checks, .pghome-steps) { margin: 0; padding: 0; list-style: none; }
.pghome-services { display: flex; flex-wrap: wrap; gap: 0 18px; }
.pghome-services a { display: inline-flex; align-items: center; min-height: 42px; font-size: 15px; }
.pghome-more { border-block: 1px solid var(--home-line); }
.pghome-more + .pghome-more { border-top: 0; }
.pghome-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-block: 10px;
  color: var(--home-navy);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.pghome-more summary::-webkit-details-marker { display: none; }
.pghome-more summary::after {
  flex: none;
  width: 8px;
  height: 8px;
  margin: -4px 5px 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  content: '';
}
.pghome-more[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.pghome-more > :last-child:not(summary) { padding-bottom: 14px; }

.pghome-process {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(26px, 5.1vw, 78px);
}
.pghome-workphoto { overflow: hidden; border-radius: 13px; background: var(--home-mist); }
.pghome-workphoto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.pghome-work h2 { margin-bottom: 14px; }
.pghome-steps { counter-reset: home-step; }
.pghome-steps li {
  position: relative;
  padding: 13px 0 13px 40px;
  border-top: 1px solid var(--home-line);
  counter-increment: home-step;
}
.pghome-steps li::before {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--home-link);
  font: 650 14px/1.4 Inter, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  content: counter(home-step, decimal-leading-zero);
}
.pghome-steps strong { color: var(--home-navy); font-size: 18px; }
.pghome-steps p { margin-top: 3px; color: var(--home-muted); font-size: 15px; }
.pghome-estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 4vw, 66px);
  padding: clamp(22px, 3.6vw, 48px);
  border-radius: 14px;
  background: var(--home-navy);
  color: #fff;
}
.pghome .pghome-estimate :is(h2, h3, strong, summary) { color: #fff; }
.pghome-estimate-action { align-self: center; }
.pghome-estimate .pghome-primary { box-shadow: inset 0 0 0 1px #edadae; }
.pghome-estimate-copy p, .pghome-estimate-action p { margin-top: 11px; color: #e0ebf1; }
.pghome-estimate .pghome-more { margin-top: 14px; border-color: #527185; }
.pghome-estimate .pghome-textlink { color: #fff; text-decoration: underline; text-underline-offset: .22em; }
.pghome-estimate-action h3 { margin-bottom: 12px; }
.pghome-estimate .pghome-more ul:not(.pghome-systems) { padding-inline-start: 20px; list-style: disc; }
.pghome-estimate .pghome-systems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0 16px;
  padding-inline: 0;
  list-style: none;
}
.pghome .pghome-systems a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #eef7ff;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.pghome .pghome-systems a:hover { text-decoration-thickness: 2px; }
.pghome-estimate .pghome-actions { margin-top: 18px; }
.pghome-estimate :is(a, summary, button):focus-visible { outline-color: #aadaff; }
.pghome-checks li { position: relative; margin-bottom: 6px; padding-left: 23px; }
.pghome-checks li::before {
  position: absolute;
  top: .55em;
  left: 1px;
  width: 11px;
  height: 6px;
  border: solid #a5d7ed;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
  content: '';
}

.pghome-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pghome .pghome-guide {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 15px;
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  color: var(--home-link);
}
.pghome-guide > svg:first-child { width: 24px; height: 24px; }
.pghome-guide > svg:last-child { align-self: center; width: 15px; height: 15px; }
.pghome-guide h3 { font-size: 19px; }
.pghome-guide p { margin-top: 5px; color: var(--home-muted); font-size: 14px; }
.pghome-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); gap: 15px; }
.pghome-review {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-content: start;
  gap: 10px 14px;
  padding: clamp(18px, 2vw, 30px);
  border-left: 3px solid #607f9d;
  background: #f3f7f9;
}
.pghome-review > svg { width: 26px; height: 26px; color: #527698; }
.pghome-review > blockquote { grid-column: 2; max-width: 76ch; color: var(--home-ink); font-size: clamp(16px, 1.5vw, 21px); }
.pghome-review figcaption { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
.pghome-review time, .pghome-news-list time { color: var(--home-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.pghome-news-list { border-top: 1px solid var(--home-line); }
.pghome-news-list > a {
  display: grid;
  grid-template-columns: 90px 91px minmax(0, 1fr) 18px;
  grid-template-areas: "image date title arrow";
  align-items: center;
  gap: 8px clamp(12px, 2vw, 27px);
  padding-block: 11px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-navy);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 650;
  line-height: 1.35;
}
.pghome-news-image {
  grid-area: image;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  background: var(--home-mist);
  color: var(--home-link);
}
.pghome-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pghome-news-image svg { width: 25px; height: 25px; }
.pghome-news-list time { grid-area: date; font-weight: 500; }
.pghome-news-title { grid-area: title; overflow-wrap: break-word; }
.pghome-news-list a:hover .pghome-news-title { text-decoration: underline; text-underline-offset: .2em; }
.pghome-news-list a > svg { grid-area: arrow; width: 18px; height: 18px; }
.pghome:has(> .pghome-info:last-child) { padding-bottom: clamp(22px, 3vw, 38px); }
.pghome > section + .pghome-info { margin-top: clamp(22px, 2.6vw, 32px); }
.pghome-guide-grid + .pghome-more { margin-top: 12px; }
.pghome-info .pghome-heading { margin-bottom: 15px; }
.pghome .pghome-rich { max-width: 82ch; color: var(--home-muted); overflow-wrap: break-word; }
.pghome-rich p[style*="justify"] { text-align: start !important; }
.pghome-rich :is(p, ul, ol) + :is(p, ul, ol) { margin-top: 10px; }
.pghome-rich ul, .pghome-rich ol { padding-left: 22px; }
.pghome-rich ul { list-style: disc; }
.pghome-rich ol { list-style: decimal; }
.pghome-info article + article { margin-top: 17px; }
.pghome-rich :is(h2, h3) { margin: 15px 0 6px; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.pghome-rich :is(h2, h3):first-child { margin-top: 0; }
.pghome-rich a { text-decoration: underline; text-underline-offset: .15em; }

/* Сохраняем механизм показа существующего окна и стилизуем только форму главной. */
.pghome-popup.popup { padding: 12px; overscroll-behavior: contain; }
/* Штатная cookie-плашка имеет z-index: 999. */
body:has(.pghome-popup[aria-hidden="false"])::after { z-index: 1000; }
.pghome-popup.popup[aria-hidden="false"] { z-index: 1001; }
.pghome-popup .popup__content {
  position: relative;
  width: min(100%, 470px);
  max-width: 470px;
  margin-block: auto;
  font-family: Inter, Arial, sans-serif;
}
.pghome-popup .popup__order.form {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid #cbd9e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px #0a263844;
}
.pghome-popup .popup__order.form .h3 {
  padding-right: 30px;
  margin: 0;
  color: #093853;
  font-size: clamp(23px, 4vw, 29px);
  line-height: 1.13;
  letter-spacing: -.035em;
  text-align: start;
}
.pghome-popup .popup__order.form p {
  width: auto;
  margin: 9px 0 16px;
  color: #496274;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  text-align: start;
}
.pghome-popup .popup__close {
  top: 6px;
  right: 6px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #24465c;
  cursor: pointer;
}
.pghome-popup .popup__close img { display: none; }
.pghome-popup .popup__close::before, .pghome-popup .popup__close::after {
  position: absolute;
  top: 21px;
  left: 13px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  content: '';
}
.pghome-popup .popup__close::after { transform: rotate(-45deg); }
.pghome-popup .popup__close:hover { background: #eef4f7; }
.pghome-popup form > label {
  display: block;
  margin: 8px 0 4px;
  color: #173c52;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}
.pghome-popup .popup__order input:is([type=text], [type=tel], [type=email]) {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #71899a;
  border-radius: 6px;
  background: #fff;
  color: #173c52;
  font: 400 16px/1.35 Inter, Arial, sans-serif;
}
.pghome-popup .popup__order input::placeholder { color: #5b7180; font-size: 15px; }
.pghome-popup .popup__order input:is(._form-error, [aria-invalid=true]) { border-color: #a8222b; }
.pghome-popup .checkbox { position: relative; margin: 12px 0; }
.pghome-popup .checkbox__input { width: 1px; height: 1px; margin: 0; padding: 0; clip-path: inset(50%); }
.pghome-popup .checkbox__label { min-height: 34px; }
.pghome-popup .checkbox__label::before { align-self: center; border-radius: 3px; }
.pghome-popup .checkbox__text { color: #334f60; font-size: 14px; line-height: 1.38; }
.pghome-popup .checkbox__text a { color: #235c88; text-underline-offset: 2px; }
.pghome-popup .popup__order input[type=submit] {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 15px;
  border: 0;
  border-radius: 7px;
  background: #bc3035;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.pghome-popup .popup__order input[type=submit]:hover { background: #9d242b; }
.pghome-popup :is(button, a, input):focus-visible,
.pghome-popup .checkbox__input:focus-visible + .checkbox__label::before {
  outline: 3px solid #2876b3;
  outline-offset: 2px;
}

@media (min-width: 741px) and (max-width: 1000px) {
  .pghome .pghome-graphic { padding-inline: 13px; }
  .pghome-sample-links a { font-size: 13px; }
  .pghome-sample-links svg { display: none; }
  .pghome-result { padding: 13px; }
  .pghome-result ul { gap: 5px; }
  .pghome-result li { padding-left: 11px; font-size: 13px; }
}
@media (max-width: 980px) {
  .pghome-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pghome-route { column-gap: 10px; }
  .pghome .pghome-guide { grid-template-columns: 23px minmax(0, 1fr); gap: 9px; }
  .pghome-guide > svg:last-child { display: none; }
}
@media (max-width: 740px) {
  .page__container:has(> .pghome) { width: calc(100% - 28px); }
  .pghome { --home-section-gap: 35px; padding-top: 12px; }
  .pghome .pghome-hero { grid-template-columns: minmax(0, 1fr); border-radius: 13px; }
  .pghome-intro { padding: 21px 19px 16px; }
  .pghome .pghome-intro h1 { max-width: 20ch; font-size: clamp(33px, 6.2vw, 45px); }
  .pghome .pghome-intro > p { margin-top: 11px; }
  .pghome-intro > .pghome-actions { margin-top: 14px; }
  .pghome .pghome-graphic {
    padding: 16px 18px 18px;
    border-left: 0;
    border-top: 1px solid #d0dfe9;
  }
  .pghome-samples { max-height: 145px; }
  .pghome-sample-links a { min-height: 36px; }
  .pghome-result { margin-top: 14px; padding: 12px 15px; }
  .pghome-result h3 { font-size: 17px; }
  .pghome-index { gap: 0 13px; }
  .pghome-routes { gap: 8px; }
  .pghome .pghome-route { grid-template-columns: minmax(0, 1fr) auto; padding: 15px; }
  .pghome-route > :first-child:is(svg, .pghome-icon) { grid-column: 1; grid-row: auto; margin-bottom: 8px; }
  .pghome-route > :is(h3, div, p, a) { grid-column: 1 / -1; }
  .pghome-route > svg:last-child { grid-column: 2; }
  .pghome-search { grid-template-columns: minmax(0, 1fr); }
  .pghome-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pghome-products a { min-height: 58px; padding: 8px; gap: 8px; font-size: 14px; }
  .pghome-products .pgx-product-icon { width: 25px; height: 25px; }
  .pghome-process { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .pghome-work { grid-row: 1; }
  .pghome-news-list > a {
    grid-template-columns: 64px minmax(0, 1fr) 15px;
    grid-template-areas: "image date arrow" "image title arrow";
    align-content: center;
    gap: 2px 10px;
    padding-block: 10px;
  }
  .pghome-news-list time { align-self: end; font-size: 13px; }
  .pghome-news-title { align-self: start; }
  .pghome-news-image { aspect-ratio: 8 / 7; }
  .pghome-news-list a > svg { width: 15px; height: 15px; }
  .pghome-workphoto img { max-height: 260px; }
  .pghome-estimate { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pghome-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pghome .pghome-guide { grid-template-columns: 25px minmax(0, 1fr) 15px; padding: 14px; }
  .pghome-guide > svg:last-child { display: block; }
}
@media (max-width: 520px) {
  .pghome h2 { font-size: 28px; }
  .pghome-heading { align-items: start; margin-bottom: 13px; }
  .pghome-heading > .pghome-textlink { min-height: 36px; }
  .pghome .pghome-route { padding: 12px; }
  .pghome-route > :first-child:is(svg, .pghome-icon) { width: 30px; height: 30px; margin-bottom: 5px; }
  .pghome-route h3 { font-size: 18px; }
  .pghome-route p { font-size: 14px; line-height: 1.4; }
  .pghome-search-field { gap: 6px; padding-left: 8px; }
  .pghome-search-field button { padding-inline: 10px; }
  .pghome .pghome-graphic { padding: 13px 13px 16px; }
  .pghome-diagram-heading h2 { font-size: 19px; }
  .pghome .pghome-input-note { font-size: 13px; }
  .pghome-samples { max-height: 115px; margin-top: 4px; }
  .pghome-sample-links { grid-template-columns: .93fr .88fr 1.19fr; }
  .pghome-sample-links a { font-size: 13px; }
  .pghome-sample-links svg { display: none; }
  .pghome-result { padding: 10px 11px; }
  .pghome-result ul { gap: 6px; }
  .pghome-result li { padding-left: 11px; font-size: 13px; }
  .pghome-steps li { padding-left: 32px; }
  .pghome-popup.popup { padding: 8px; }
}
@media (max-width: 370px) {
  .pghome-result { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: 7px; }
  .pghome-result h3 { font-size: 15px; }
  .pghome-result ul { grid-template-columns: minmax(0, 1fr); gap: 3px; margin-top: 0; }
  .pghome-routes { grid-template-columns: minmax(0, 1fr); }
  .pghome .pghome-route { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 0 9px; }
  .pghome-route > :first-child:is(svg, .pghome-icon) { grid-column: 1; grid-row: 1; }
  .pghome-route > div { grid-column: 2; }
  .pghome-route > svg:last-child { grid-column: 3; }
  .pghome .pghome-intro { padding-inline: 15px; }
  .pghome .pghome-primary { padding-inline: 12px; font-size: 15px; }
  .pghome-primary svg { display: none; }
  .pghome-products { grid-template-columns: minmax(0, 1fr); }
  .pghome-products a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .pghome-popup .popup__content { transition: none; }
}

/* Главная региона: карточка офиса в первом экране и городской текст (04.12.2026). */
.pghome-office { display: flex; gap: 12px; align-items: flex-start; margin-top: clamp(16px, 2vw, 24px); padding: 14px 16px; max-width: 520px; border: 1px solid #d0dfe9; border-radius: 10px; background: #f5f9fc; }
.pghome-office > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--home-action); }
.pghome .pghome-office p { margin: 0; }
.pghome .pghome-office-name { font-weight: 750; }
.pghome-office address { margin-top: 2px; font-style: normal; }
.pghome .pghome-office-meta { margin-top: 4px; color: var(--home-muted); font-size: 14px; }
.pghome-office-meta a { color: inherit; font-weight: 650; white-space: nowrap; }
.pghome .pghome-office-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.pghome-office-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--home-link); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.pghome-city-text .pghome-rich :is(h2, h3) { color: var(--home-ink, inherit); }
.pghome-city-text .pghome-rich table { width: 100%; border-collapse: collapse; }
.pghome-city-text .pghome-rich :is(td, th) { padding: 6px 8px; border-bottom: 1px solid #d0dfe9; text-align: left; }
