
  .hgp-pf {
    /* v4.0 — тёмная стена + точки канона С ПАРАЛЛАКСОМ (fixed):
       геометрия точек 1:1 с соседними секциями → паттерн течёт сквозь секции непрерывно */
    background-color: #C6BAA1 !important;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vh, 48px) 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  /* точки канона: те же размеры/смещение, что у соседних секций, но контрастнее под тёмный фон */
  .hgp-pf::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
    background-image: radial-gradient(circle, rgba(90,74,58,0.30) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    background-attachment: fixed;
  }
  .hgp-pf::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(circle, rgba(90,74,58,0.35) 2px, transparent 2px);
    background-size: 64px 64px;
    background-position: 12px 12px;
    background-attachment: fixed;
  }
  .hgp-pf .hgp-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
    width: 100%;
    box-sizing: border-box;
  }

  .hgp-pf .hgp-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
    color: #5a4a3a;
    margin-bottom: 12px; display: block;
    text-transform: uppercase;
  }
  .hgp-pf-h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #2C2620;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .hgp-pf-h2 .hgp-outline {
    -webkit-text-stroke: 1.5px #6B5F4A;
    color: transparent;
  }
  .hgp-pf-sub {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px; line-height: 1.4;
    color: rgba(44, 38, 32, 0.8);
    margin: 0 0 20px;
    max-width: 640px;
  }

  .hgp-pf-carousels {
    position: relative;
  }
  .hgp-pf-carousel {
    margin-bottom: 16px;
  }
  .hgp-pf-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    margin: 0 -8px;
    scroll-behavior: smooth;
  }
  .hgp-pf-track::-webkit-scrollbar { display: none; }

  .hgp-pf-card {
    flex: 0 0 calc(30% - 5.33px);
    min-width: 216px;
    scroll-snap-align: start;
    background: #FFFFFF;
    padding: 6px 6px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
    border-radius: 2px;
  }
  .hgp-pf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }
  .hgp-pf-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  .hgp-pf-card figcaption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px; font-weight: 500; letter-spacing: 0.08em;
    color: rgba(44, 38, 32, 0.65);
    padding: 6px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
  }

  .hgp-pf-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(90, 74, 58, 0.3);
    color: #5a4a3a;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .hgp-pf-arrow--prev { left: 4px; }
  .hgp-pf-arrow--next { right: 4px; }
  .hgp-pf-arrow:hover {
    background: #FFFFFF;
    border-color: #C62828;
    color: #C62828;
    box-shadow: 0 6px 16px rgba(198, 40, 40, 0.3);
  }

  .hgp-pf-cta {
    text-align: center;
    margin-top: 24px;
  }
  .hgp-pf-cta .hgp-btn {
    background: #C62828;
    border: 2px solid #C62828;
    color: #FAFAFA;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.35s ease;
  }
  .hgp-pf-cta .hgp-btn:hover {
    background: transparent;
    color: #C62828;
  }

  .hgp-pf-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,10,10,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .hgp-pf-lb.is-open {
    opacity: 1;
    visibility: visible;
  }
  .hgp-pf-lb figure {
    margin: 0;
    max-width: 90vw;
    text-align: center;
    transform: scale(0.96);
    transition: transform 0.3s ease;
  }
  .hgp-pf-lb.is-open figure { transform: scale(1); }
  .hgp-pf-lb img {
    max-width: 90vw;
    max-height: 80vh;
    display: block;
    box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  }
  .hgp-pf-lb figcaption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: rgba(250,250,250,0.65);
    padding-top: 16px;
  }
  .hgp-pf-lb__close,
  .hgp-pf-lb__nav {
    position: absolute;
    background: none;
    border: 0;
    color: rgba(250,250,250,0.75);
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
  }
  .hgp-pf-lb__close { top: 20px; right: 24px; font-size: 12px; letter-spacing: 0.2em; padding: 10px; }
  .hgp-pf-lb__nav { top: 50%; transform: translateY(-50%); font-size: 44px; padding: 20px; }
  .hgp-pf-lb__nav--prev { left: 8px; }
  .hgp-pf-lb__nav--next { right: 8px; }
  .hgp-pf-lb__close:hover,
  .hgp-pf-lb__nav:hover { color: #fff; }
  body.hgp-pf-lock { overflow: hidden; }

  @media (max-width: 768px) {
    .hgp-pf-track {
      gap: 6px;
    }
    .hgp-pf-card {
      flex: 0 0 calc(45% - 4px);
      min-width: 160px;
    }
    .hgp-pf-arrow {
      width: 32px;
      height: 32px;
      font-size: 16px;
    }
    .hgp-pf {
      min-height: 0;
      align-items: flex-start;
    }
    .hgp-pf-card:hover {
      transform: none;
    }
    /* как в каноне: на мобильном параллакс отключается */
    .hgp-pf::before,
    .hgp-pf::after {
      background-attachment: scroll;
    }
  }

