.site-header-bar {
  position: sticky;
  top: var(--page-pad);
  z-index: 200;
}

.to-top {
  display: none;
  position: fixed;
  right: var(--page-pad);
  bottom: var(--page-pad);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 0.8rem 2.4rem rgb(28 35 36 / 12%);
  transition: opacity var(--dur) var(--ease-out),
    visibility var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 1101px) {
  .to-top {
    display: inline-flex;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  height: 8rem;
  padding: var(--space-20);
  background: var(--bg-main);
  border-radius: var(--radius-l);
  position: relative;
  box-shadow: none;
  transition: box-shadow var(--dur) var(--ease-out);
}

.site-header-bar.is-stuck .site-header,
.page--home .site-header-bar.is-visible .site-header {
  box-shadow: 0 0.8rem 2.4rem rgb(28 35 36 / 8%);
}

:root {
  --header-sticky-top: calc(var(--page-pad) + 8rem + var(--space-12));
}

.page--home .site-header-bar {
  position: fixed;
  top: var(--page-pad);
  left: 50%;
  width: min(calc(192rem - 2 * var(--page-pad)), calc(100% - 2 * var(--page-pad)));
  transform: translateX(-50%);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur) var(--ease-out);
}

.page--home .site-header-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header .logo__mark {
  width: 4rem;
  height: 4rem;
}

.site-header .logo {
  gap: var(--space-16);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-header__nav a {
  display: flex;
  align-items: center;
  height: 3.8rem;
  padding: 1rem;
  gap: 0;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: 600;
  letter-spacing: var(--ls);
  font-synthesis: none;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease-out), gap var(--dur) var(--ease-out);
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  color: var(--text-primary);
  gap: 1rem;
}

.site-header__nav a.is-active {
  color: var(--text-primary);
}

.site-header__cta {
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.site-header__burger {
  display: none;
  width: 4rem;
  height: 4rem;
  border: none;
  background: var(--buttons-main);
  border-radius: 50%;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  place-content: center;
  grid-template-columns: repeat(2, 0.6rem);
  grid-template-rows: repeat(2, 0.6rem);
  gap: 0.3rem;
}

.site-header__burger span {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--text-white);
  border-radius: 1px;
}

/* ========== MOBILE MENU POPUP ========== */
body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(34.8rem, calc(100% - 2.7rem));
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  padding: var(--space-20) var(--space-16);
  background: var(--bg-main);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.mobile-menu__logo.logo {
  gap: var(--space-8);
}

.mobile-menu__logo .logo__mark {
  width: 2rem;
  height: 2rem;
}

.mobile-menu__logo .logo__text {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--buttons-main);
  color: var(--text-white);
  flex-shrink: 0;
}

.mobile-menu__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  height: 3.2rem;
  padding: var(--space-4);
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-regular);
  color: var(--text-primary);
  white-space: nowrap;
}

.mobile-menu__nav a.is-active {
  font-weight: var(--fw-bold);
}

.mobile-menu__cta {
  width: 100%;
  justify-content: space-between;
  flex-shrink: 0;
  margin-top: auto;
}

.mobile-menu__cta .btn__label {
  flex: 1;
  justify-content: center;
}

.mobile-menu__contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-shrink: 0;
}

.mobile-menu__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  color: var(--text-secondary);
  white-space: nowrap;
}

.mobile-menu__contact-icon {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

.mobile-menu__contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========== LAYOUT SHELL ========== */
.layout {
  display: grid;
  grid-template-columns: 33.5rem 1fr;
  gap: 0;
  background: var(--bg-main);
  border-radius: var(--radius-l);
  overflow: visible;
  min-height: 45rem;
  min-width: 0;
  max-width: 100%;
}

.layout__sidebar {
  padding: var(--space-20);
  border-right: 1px solid var(--stroke-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  min-width: 0;
  position: sticky;
  top: var(--header-sticky-top);
  align-self: start;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.layout__sidebar-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.layout__content {
  padding: var(--space-20);
  min-width: 0;
}

.side-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.side-tabs a,
.side-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  height: 3.2rem;
  padding: var(--space-4) 0;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s ease;
}

.side-tabs a:hover,
.side-tabs a.is-active,
.side-tabs button.is-active {
  font-weight: var(--fw-bold);
}

.side-tabs__go {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

/* ========== GEOGRAPHY PAGE (Figma 4386:11801 / 4386:11883) ========== */
.geo-page {
  display: grid;
  grid-template-columns: 33.5rem minmax(0, 1fr);
  gap: var(--space-20);
  align-items: start;
}

.geo-page__side {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  min-height: 47rem;
  position: sticky;
  top: var(--header-sticky-top);
  align-self: start;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.phone-desk{
  max-width: 125px;
}

.geo-page__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.geo-page__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls);
}

.geo-page__desc {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.geo-page__tabs {
  margin-top: auto;
  padding-top: var(--space-16);
}

.geo-page__tabs button.is-active {
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.geo-page__content {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  min-width: 0;
}

.geo-page__table-wrap {
  overflow-x: auto;
}

.geo-page__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 72rem;
}

.geo-page__table thead th {
  background: var(--bg-base);
  text-align: left;
  height: 3.2rem;
  padding: 0 1.2rem;
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  font-weight: var(--fw-bold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

.geo-page__table thead th:first-child {
  border-radius: var(--radius-m) 0 0 var(--radius-m);
}

.geo-page__table thead th:last-child {
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}

.geo-page__table tbody td {
  text-align: left;
  height: 8rem;
  padding: 1.6rem 1.2rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  color: var(--text-primary);
  vertical-align: middle;
  border-bottom: 1px solid var(--stroke-light);
}

.geo-page__table tbody tr[hidden] {
  display: none;
}

/* ========== PRODUCTS CATALOG ========== */
.catalog {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: 26.6rem fit-content(100%) 14.3rem;
  gap: var(--space-20);
  width: 100%;
  align-content: start;
}

.catalog__intro {
  grid-column: 1 / span 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  padding: var(--space-20);
  min-height: 26.6rem;
}

.catalog__intro-mobile {
  display: none;
}

.catalog__intro-desktop {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.catalog-card {
  position: relative;
  display: flex;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  background: var(--bg-main);
  padding: var(--space-24);
  transition: border-color var(--dur) var(--ease-out);
  min-height: 0;
  overflow: hidden;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  border-color: var(--stroke-light);
}

.catalog-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-20);
  width: 100%;
}

.catalog-card__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
}

.catalog-card__btn {
  flex-shrink: 0;
}

.catalog-card__title {
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  font-weight: var(--fw-bold);
}

.catalog-card__desc {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.catalog-card__media {
  position: relative;
  display: block;
  flex-shrink: 0;
  margin-top: auto;
  align-self: flex-start;
}

.catalog-card--row .catalog-card__media {
  margin-top: 0;
}

.catalog-card__visual {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
}

.catalog-card__thumb {
  width: 7.9rem;
  height: 7.9rem;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
}

.catalog-card__media .catalog-card__hover {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.catalog-card__media .catalog-card__base {
  transition: opacity var(--dur) var(--ease-out);
}

.catalog-card:hover .catalog-card__media .catalog-card__base,
.catalog-card:focus-visible .catalog-card__media .catalog-card__base {
  opacity: 0;
}

.catalog-card:hover .catalog-card__media .catalog-card__hover,
.catalog-card:focus-visible .catalog-card__media .catalog-card__hover {
  opacity: 1;
}

/* Напорные трубы — col 4-7, rows 1-2 */
.catalog-card--featured {
  grid-column: 4 / span 4;
  grid-row: 1 / span 2;
  flex-direction: column;
  gap: var(--space-20);
  height: 53.6rem;
}

.catalog-card--featured .catalog-card__visual--lg {
  width: 39.2rem;
  max-width: 100%;
  height: 39.2rem;
  margin-top: auto;
}

/* Комплектующие — col 8-9, row 1 */
.catalog-card--parts {
  grid-column: 8 / span 2;
  grid-row: 1;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 26.6rem;
  background: var(--bg-base);
}

.catalog-card--parts .catalog-card__btn,
.catalog-card--glue .catalog-card__btn {
  align-self: flex-end;
}

/* Запорная арматура — col 1-3, rows 2-3 */
.catalog-card--valve {
  grid-column: 1 / span 3;
  grid-row: 2 / span 2;
  flex-direction: column;
  gap: var(--space-20);
  height: 41.3rem;
}

.catalog-card--valve .catalog-card__visual--md {
  width: 24rem;
  height: 24rem;
  margin-top: auto;
}

/* Клеи — col 8-9, row 2 */
.catalog-card--glue {
  grid-column: 8 / span 2;
  grid-row: 2;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 25rem;
  background: var(--bg-base);
}

/* Фитинги / Фильтры — row 3 */
.catalog-card--row {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-20);
  height: 14.3rem;
}

.catalog-card--fittings {
  grid-column: 4 / span 3;
  grid-row: 3;
}

.catalog-card--filters {
  grid-column: 7 / span 3;
  grid-row: 3;
}

.catalog-card--row .catalog-card__copy {
  flex: 1;
}

.catalog-card--row .catalog-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== DOCUMENTS ========== */
.layout--docs {
  display: grid;
  grid-template-columns: 33.5rem minmax(0, 1fr);
  gap: var(--space-20);
  background: transparent;
  border-radius: 0;
  overflow: visible;
  min-height: 0;
}

.layout--docs .layout__sidebar,
.layout--docs .layout__content {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
}

.layout--docs .layout__sidebar {
  border-right: none;
  align-self: start;
  gap: var(--space-20);
}

.layout__title-mobile {
  display: none;
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-20);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-m);
  min-height: 20.8rem;
  background: var(--bg-main);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.doc-card:hover,
.doc-card:focus-visible {
  border-color: var(--stroke-light);
}

.doc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
}

.doc-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.8rem;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  font-weight: var(--fw-bold);
  color: var(--text-white);
  white-space: nowrap;
}

.doc-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  flex: 1;
}

.doc-card__title {
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  font-weight: var(--fw-bold);
}

.doc-card__desc {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.doc-card__meta {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-secondary);
}

.doc-card__meta a {
  color: inherit;
  font-weight: var(--fw-bold);
}

.doc-card__meta a:hover {
  color: var(--text-primary);
}

/* ========== BLOG PAGE ========== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.blog-list > .news-card {
  border-bottom: 1px solid var(--stroke-light);
  padding-bottom: var(--space-16);
  height: auto;
  min-height: 0;
}

.blog-list__pager {
  margin-top: var(--space-32);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.pager__item,
.pager__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 var(--space-12);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-s);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.pager__arrow {
  width: 4rem;
  padding: 0;
  border-radius: 50%;
  border-color: var(--stroke-primary);
  background: transparent;
}

.pager__item:hover,
.pager__arrow:hover {
  border-color: var(--stroke-primary);
  background: var(--bg-base);
}

.pager__arrow:hover {
  background: var(--bg-brand);
  border-color: transparent;
}

.pager__item.is-active {
  background: var(--bg-brand);
  border-color: transparent;
  color: var(--text-primary);
  font-weight: var(--fw-bold);
  pointer-events: none;
}

.pager__arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pager__icon {
  width: 1.6rem;
  height: 1.6rem;
  display: block;
}

.pager__icon--prev {
  transform: rotate(-90deg);
}

.pager__icon--next {
  transform: rotate(90deg);
}

.pager__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  color: var(--text-tertiary);
  font-size: var(--fs-text-s);
}

/* ========== ARTICLE (Figma 4386:12194 / 4386:12331) ========== */
.article {
  display: grid;
  grid-template-columns: 45.3rem minmax(0, 1fr);
  gap: var(--space-20);
  padding: 0;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

.article__side {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  align-self: start;
  position: sticky;
  top: var(--header-sticky-top);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.article__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.article__back,
.vacancy__back,
.pl-side__back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 2.4rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls);
  text-transform: uppercase;
  color: var(--text-brand-heavy);
}

.article__back:hover,
.vacancy__back:hover,
.pl-side__back:hover {
  color: var(--bg-brand);
}

.article__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls);
  color: var(--text-primary);
}

.article__lead {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-tertiary);
}

.article__related {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.article__related-title {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.article__related-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article__preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  min-height: 5.8rem;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-m);
  background: var(--bg-main);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.article__preview:hover {
  border-color: var(--stroke-secondary);
  background: var(--bg-base);
}

.article__preview-name {
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.article__preview-date {
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-tertiary);
}

.article__main {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  min-width: 0;
}

.article__hero {
  width: fit-content;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
  margin-bottom: 4.8rem;
}

.article__hero img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40rem;
  object-fit: contain;
}

.article__row {
  display: grid;
  grid-template-columns: minmax(0, 85.8rem) 20.9rem;
  gap: var(--space-20);
  align-items: start;
  justify-content: space-between;
}

.article__body {
  min-width: 0;
  max-width: 85.8rem;
}

.article__body > h2 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0 0 var(--space-32);
  scroll-margin-top: calc(var(--header-sticky-top) + var(--space-12));
}

.article__body h3 {
  margin: 0 0 3rem;
}

.article__body > p,
.article__sub > p {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
  margin: 0 0 0;
}

.article__body > p {
  margin-bottom: 3.2rem;
  scroll-margin-top: calc(var(--header-sticky-top) + var(--space-12));
}

.article__sub {
  margin-top: 3.2rem;
  scroll-margin-top: calc(var(--header-sticky-top) + var(--space-12));
}

.article__sub > h3 {
  font-size: 2.4rem;
  line-height: 2.8rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0 0 var(--space-20);
}

.article__sub > p {
  margin-bottom: var(--space-20);
}

.article__list-block {
  margin: var(--space-20) 0 0;
}

.article__list-title {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0 0 0.8rem;
}

.article__olist {
  list-style: none;
  counter-reset: article-ol;
  margin: 0 0 var(--space-16);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.article__olist li {
  counter-increment: article-ol;
  position: relative;
  display: block;
  gap: 0.4rem;
  align-items: start;
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
  min-height: 2.2rem;
}

.article__olist li::before {
  content: counter(article-ol) ". ";
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
}

.article__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.2rem;
  margin-top: 0.8rem;
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  font-weight: var(--fw-regular);
  color: var(--text-brand-heavy, #d5b02a);
}

.article__link:hover {
  color: var(--bg-brand);
}

.article__link img,
.article__link svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

.article__figure {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: var(--space-20) 0 0;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
  cursor: zoom-in;
}

.article__figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: fit-content;
  max-height: 40rem;
  object-fit: contain;
}

.article__figure::after {
  content: "+";
  position: absolute;
  right: var(--space-12);
  bottom: var(--space-12);
  z-index: 1;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--buttons-main);
  color: var(--text-white);
  font-size: 2rem;
  line-height: 1;
  font-weight: var(--fw-regular);
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.article__figure:hover::after,
.article__figure:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.article-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--page-pad);
  background: rgb(28 35 36 / 72%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur) var(--ease-out);
}

.article-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.article-lightbox__img {
  display: block;
  max-width: min(100%, 160rem);
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: 0 0.8rem 2.4rem rgb(28 35 36 / 24%);
}

.article-lightbox__close {
  position: absolute;
  top: var(--page-pad);
  right: var(--page-pad);
  width: 4rem;
  height: 4rem;
  border: 0;
  border-radius: 50%;
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.article-video__figure {
  margin: var(--space-20) 0 0;
  width: fit-content;
  height: 60rem;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
}

.article-video__figure video {
  display: block;
  width: auto;
  height: 60rem;
  max-height: none;
  object-fit: contain;
  vertical-align: top;
  background: #000;
}

.article__quote {
  margin: 3.2rem 0 3rem;
  padding: var(--space-20);
  border: none;
  border-radius: var(--radius-l);
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.article__quote-icon {
  display: block;
  width: 4.8rem;
  height: 4.8rem;
  flex-shrink: 0;
}

.article__quote-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 100%;
  margin-top: 0;
}

.article__quote p {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-l);
  font-style: italic;
  font-weight: 200;
  color: var(--text-primary);
  margin: 0;
}

.article__quote cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.article__ulist {
  list-style: none;
  margin: var(--space-20) 0 var(--space-40);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.article__ulist li {
  position: relative;
  display: block;
  padding-left: 2rem;
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.article__ulist li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.9rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--text-primary);
}

.article__ulist-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.article__ulist strong {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0;
}

.article__ulist-text strong {
  display: block;
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
}

.article__ulist p {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.article__ulist-text p {
  display: block;
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.article__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-20);
  margin-top: var(--space-20);
}

.article__gallery img {
  width: 100%;
  height: 36.7rem;
  object-fit: cover;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  background: var(--bg-base);
}

.article__table-block {
  margin-top: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: flex-start;
  width: 100%;
}

.article__table-title {
  margin: 0;
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.article__table-wrap {
  overflow-x: auto;
  width: 100%;
}

.article__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 52rem;
}

.article__table thead th {
  background: var(--bg-base);
  text-align: left;
  height: 3.2rem;
  padding: 0.6rem 1.2rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls);
  vertical-align: middle;
  border-bottom: 1px solid #f5f5f5;
}

.article__table thead th:first-child {
  border-radius: var(--radius-m) 0 0 0;
}

.article__table thead th:last-child {
  border-radius: 0 var(--radius-m) 0 0;
}

.article__table tbody td {
  text-align: left;
  height: 8rem;
  padding: 0.6rem 1.2rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  color: var(--text-primary);
  vertical-align: middle;
  border-bottom: 1px solid #f5f5f5;
}

.article__table tbody tr[data-article-table-extra] {
  display: none;
}

.article__table-block.is-expanded tbody tr[data-article-table-extra] {
  display: table-row;
}

.article__cell-main,
.article__cell-sub {
  display: block;
}

.article__cell-sub {
  margin-top: 0.2rem;
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-tertiary);
}

.article__cta {
  margin-top: 0;
}

/* TOC — Figma On-page Navigation, sticky */
.article__toc {
  position: sticky;
  top: var(--header-sticky-top);
  width: 20.9rem;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.article__toc a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.4rem 0 0.4rem 1.6rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
  border-left: 1px solid var(--stroke-light);
}

.article__toc a.is-active {
  color: var(--text-primary);
  font-weight: var(--fw-bold);
  border-left-color: var(--text-primary);
  border-left-width: 2px;
  padding-left: 1.5rem;
}

.article__toc a.is-active::before {
  content: none;
}

/* ========== CONTACTS ========== */
.contacts-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  min-width: 0;
  width: 100%;
}

.contact-card {
  padding: var(--space-20);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  background: var(--bg-main);
  min-height: 21.5rem;
  min-width: 0;
  max-width: 100%;
}

.contact-card--tall {
  min-height: 45rem;
  grid-row: 1 / span 2;
}

.contact-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  background: var(--buttons-main);
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  font-weight: var(--fw-bold);
  color: var(--text-white);
  letter-spacing: var(--ls);
}

.contact-card__title {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
}

.contact-card--office .contact-card__title {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
}

.contact-card__subtitle {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.requisites {
  position: relative;
  background: var(--bg-dark);
  border-radius: var(--radius-m);
  padding: var(--space-16);
  padding-right: calc(var(--space-16) + 3.2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
  max-width: 100%;
}

.requisites__copy {
  position: absolute;
  top: var(--space-12);
  right: var(--space-12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.requisites__copy img {
  width: 1.6rem;
  height: 1.6rem;
}

.requisites__copy.is-copied {
  opacity: 0.6;
}

.requisites__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--space-12);
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  min-width: 0;
}

.requisites__row span:first-child {
  color: var(--stroke-secondary);
}

.requisites__row span:last-child {
  color: var(--text-white);
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card__line {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
}

.contact-card__muted {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.contact-card__address-label {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
}

.contact-card__address-value {
  margin-top: var(--space-8);
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-top: var(--space-8);
}

.hours__label {
  font-size: var(--fs-text-s);
  color: var(--text-secondary);
}

.hours__value {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-top: var(--space-16);
}

/* ========== CAREER ========== */
.career-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.career-card {
  display: block;
  padding: var(--space-20);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  background: var(--bg-main);
  min-height: 13.1rem;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.career-card:hover,
.career-card:focus-visible {
  border-color: var(--stroke-secondary);
}

.career-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.career-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.career-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  font-weight: var(--fw-bold);
  background: var(--bg-main);
  color: var(--text-secondary);
  white-space: nowrap;
  border: 1px solid var(--stroke-light);
}

.career-card .career-card__tag {
  background: var(--buttons-main);
  color: var(--text-white);
  border: unset;
}

.career-card__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-20);
}

.career-card__title {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-8);
}

.career-card__desc {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
  max-width: 82.1rem;
}

.career-card__salary {
  flex-shrink: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

/* ========== VACANCY ========== */
.vacancy {
  display: grid;
  grid-template-columns: 45.3rem minmax(0, 1fr);
  gap: var(--space-20);
  padding: 0 var(--space-20) var(--space-20);
}

.vacancy__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  position: sticky;
  top: var(--header-sticky-top);
  align-self: start;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.vacancy__intro,
.vacancy__others {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
}

.vacancy__back {
  margin-bottom: var(--space-16);
}

.vacancy__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-16);
}

.vacancy__lead {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
  margin-bottom: var(--space-16);
}

.vacancy__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.vacancy__others-title {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-16);
}

.vacancy__others-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.vacancy__other {
  display: block;
  padding: var(--space-8);
  border-radius: var(--radius-s);
  transition: background var(--dur-fast) var(--ease-out);
}

.vacancy__other:hover,
.vacancy__other:focus-visible {
  background: var(--bg-base);
}

.vacancy__other-title {
  display: block;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
}

.vacancy__other-meta {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-secondary);
}

.vacancy__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.vacancy__facts,
.vacancy__block,
.vacancy__apply {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
}

.vacancy__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

.vacancy__facts-row {
  display: contents;
}

.vacancy-fact {
  padding: var(--space-20);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  min-height: 10.5rem;
}

.vacancy-fact__value {
  margin-top: var(--space-20);
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
}

.vacancy__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.vacancy-section__title {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-12);
}

.vacancy-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-left: 1.25rem;
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-primary);
}

.vacancy-list li {
  padding-left: var(--space-4);
}

.vacancy__apply-head {
  margin-bottom: var(--space-20);
}

.vacancy__apply-title {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
  margin: var(--space-16) 0 var(--space-8);
}

.vacancy__apply-desc {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.vacancy-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.vacancy-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

/* ========== POLICY ========== */
.policy-page {
  padding: 0;
}

.policy-page__wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-20);
}

.policy {
  grid-column: 3 / span 8;
  display: grid;
  grid-template-columns: minmax(0, 67rem) minmax(0, 1fr);
  gap: var(--space-20);
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  align-items: start;
}

.policy__content {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  min-width: 0;
}

.policy__title {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls);
  color: var(--text-primary);
}

.policy__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  scroll-margin-top: 2.4rem;
}

.policy__section h2 {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls);
  color: var(--text-primary);
}

.policy__points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.policy__section p,
.policy__points p,
.policy__text {
  margin: 0;
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls);
  color: var(--text-secondary);
}

.policy__text {
  scroll-margin-top: 2.4rem;
}

.policy__toc {
  position: sticky;
  top: var(--header-sticky-top);
  align-self: start;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 20.9rem;
}

.policy__toc a {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.4rem 0 0.4rem 1.6rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls);
  color: var(--text-secondary);
  border-left: 1px solid var(--stroke-light);
}

.policy__toc a.is-active {
  color: var(--text-primary);
  border-left-color: var(--text-primary);
  border-left-width: 2px;
  padding-left: 1.5rem;
}

.policy__toc a:hover {
  color: var(--text-primary);
}

/* ========== FILE CARDS ========== */
.file-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-8);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-s);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.file-card:hover,
.file-card:focus-visible {
  border-color: var(--stroke-light);
}

.file-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.file-card__icon {
  width: auto;
  min-width: 3.6rem;
  height: 3.6rem;
  padding: 1.2rem 0.8rem;
  background: var(--bg-dark);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  font-weight: var(--fw-bold);
  color: var(--text-white);
  flex-shrink: 0;
}

.file-card__title {
  display: block;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-secondary);
}

.file-card__link {
  font-weight: var(--fw-bold);
}

.pl-docs__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pl-docs--hero {
  width: 100%;
  padding-top: var(--space-20);
}

.pl-docs--hero .pl-docs__list {
  flex-direction: row;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 0.2rem;
}

.pl-docs--hero .file-card {
  flex: 0 0 min(28rem, 85vw);
}

.pl-docs--sidebar {
  width: 100%;
}

.pl-docs--hero {
  display: none;
}

/* ========== PRODUCT PAGE ========== */
.pl-hero {
  display: flex;
  gap: var(--space-20);
  align-items: stretch;
  min-height: 72rem;
  min-width: 0;
  max-width: 100%;
}

.pl-hero__promo {
  position: relative;
  flex: 0 0 70rem;
  width: 70rem;
  max-width: min(70rem, 100%);
  aspect-ratio: 700 / 720;
  height: auto;
  border-radius: var(--radius-l);
  overflow: hidden;
}

.pl-hero__promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pl-hero__card--desktop {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--bg-main);
  border-radius: var(--radius-l);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pl-hero__cover {
  display: none;
}

.pl-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  width: 100%;
}

.pl-hero__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls);
}

.pl-hero__title span {
  display: block;
}

.pl-hero__desc {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
  max-width: 52rem;
}

.pl-hero__specs,
.pl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-48);
}

.pl-spec {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
}

.pl-spec--chip {
  padding: var(--space-12) 0;
}

.pl-spec__dot {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--text-primary);
  flex-shrink: 0;
  margin-top: 0.4rem;
  position: relative;
}

.pl-spec__dot::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 50%;
  background: var(--bg-brand);
}

.pl-spec__value {
  display: block;
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  font-weight: var(--fw-bold);
}

.pl-spec__label {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--lx-desc);
  line-height: var(--lh-desc);
  color: var(--text-secondary);
}

.pl-action {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.pl-action__icon {
  width: 4rem;
  height: 4rem;
  background: var(--bg-dark);
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
}

.pl-action__icon img,
.pl-action__icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
}

.pl-action__label {
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
}

.pl-hero-chip {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-12);
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.15);
  min-width: 0;
}

.pl-hero-chip__dot {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--text-primary);
  position: relative;
  flex-shrink: 0;
}

.pl-hero-chip__dot::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 50%;
  background: var(--bg-brand);
}

.pl-hero-chip strong {
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-bold);
}

.pl-hero-chip span {
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-secondary);
}

.pl-hero__chips {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

.pl-hero__chips-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
}

.pl-layout {
  display: grid;
  grid-template-columns: 33.5rem minmax(0, 1fr);
  gap: var(--space-20);
  background: transparent;
  overflow: visible;
  min-width: 0;
  max-width: 100%;
}

.pl-layout__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  align-items: stretch;
  position: sticky;
  top: var(--header-sticky-top);
  align-self: start;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.pl-side {
  padding: var(--space-20);
  background: var(--bg-main);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
}

.pl-side .section-label,
.pl-side__back {
  margin-bottom: var(--space-20);
}

.pl-docs__title {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-16);
}

.pl-main {
  padding: var(--space-32);
  background: var(--bg-main);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  min-width: 0;
  height: fit-content;
  min-height: 31.5rem;
  position: sticky;
  top: 110px;
}

.pl-block--intro {
  gap: var(--space-40);
}

.pl-intro__text {
  max-width: 88.8rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-intro__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
}

.pl-intro__desc {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.pl-intro__gallery {
  display: flex;
  align-items: stretch;
  gap: var(--space-20);
  aspect-ratio: 981 / 438;
}

.pl-intro__shot {
  position: relative;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
  min-width: 0;
  min-height: 0;
  height: auto;
  align-self: stretch;
}

.pl-intro__shot--narrow {
  flex: 303 1 0;
}

.pl-intro__shot:not(.pl-intro__shot--narrow) {
  flex: 658 1 0;
}

.pl-intro__shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-metrics-block {
  background: var(--bg-base);
  border-radius: var(--radius-l);
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-32);
}

.pl-metric {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-metric__value {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
}

.pl-metric__label {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.pl-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.pl-block__head {
  max-width: 64rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-block__head--narrow {
  max-width: 44rem;
}

.pl-block__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
}

.pl-block__desc {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.pl-bento {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: var(--space-20);
  height: auto;
  padding-top: var(--space-20);
  border-top: 1px solid var(--stroke-light);
}

.pl-bento__text {
  grid-column: 1 / span 3;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  justify-content: flex-end;
  padding: var(--space-20) var(--space-20) 8.4rem;
  min-height: 26.6rem;
}

.pl-bento__text .pl-block__title,
.pl-bento__text .pl-block__desc {
  max-width: none;
}

.pl-bento__img {
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
}

.pl-bento__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-bento__img--mid {
  grid-column: 4 / span 3;
  grid-row: 1 / span 2;
  aspect-ratio: 367 / 354;
  height: auto;
  min-height: 0;
}

.pl-bento__img--wide {
  grid-column: 4 / span 6;
  grid-row: 3 / span 2;
  aspect-ratio: 733 / 354;
  height: auto;
  min-height: 0;
}

.pl-bento__card {
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-m);
  padding: var(--space-20);
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  justify-content: flex-start;
}

.pl-bento__card:nth-child(3) {
  grid-column: 7 / span 3;
  grid-row: 1;
}

.pl-bento__card:nth-child(4) {
  grid-column: 7 / span 3;
  grid-row: 2;
}

.pl-bento__card:nth-child(6) {
  grid-column: 1 / span 3;
  grid-row: 3;
}

.pl-bento__card:nth-child(7) {
  grid-column: 1 / span 3;
  grid-row: 4;
}

.pl-bento__card--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.pl-bento__num {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
}

.pl-bento__cap {
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  color: var(--text-secondary);
}

.pl-bento__card--dark .pl-bento__cap {
  color: rgba(255, 255, 255, 0.72);
}

.pl-pair {
  display: flex;
  align-items: stretch;
  gap: var(--space-20);
  aspect-ratio: 981 / 438;
}

.pl-pair__item {
  position: relative;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  height: auto;
  align-self: stretch;
  background: var(--bg-base);
}

.pl-pair__item:first-child {
  flex: 658 1 0;
}

.pl-pair__item:last-child {
  flex: 303 1 0;
}

.pl-pair__item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-block--bordered {
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  gap: var(--space-20);
}

.pl-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-features__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-20);
}

.pl-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-20);
  border-radius: var(--radius-m);
}

.pl-feature__dot {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--text-primary);
  flex-shrink: 0;
  position: relative;
  margin-top: 0.4rem;
}

.pl-feature__dot::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 50%;
  background: var(--bg-brand);
}

.pl-feature strong {
  display: block;
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  font-weight: var(--fw-bold);
}

.pl-feature span {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--lx-desc);
  line-height: var(--lhx-desc);
  color: var(--text-secondary);
}

.pl-factors {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: var(--space-20);
  height: auto;
  align-items: start;
}

.pl-factors__list {
  grid-column: 1 / span 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding: var(--space-20);
  justify-content: center;
  min-width: 0;
}

.pl-factors__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl-factor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.pl-factor::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.9rem;
  margin-left: 1rem;
  border-radius: 50%;
  background: var(--text-primary);
}

.pl-factor h3 {
  grid-column: 2;
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  font-weight: var(--fw-bold);
}

.pl-factor p {
  grid-column: 2;
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
}

.pl-factors__media {
  grid-column: 5 / span 5;
  grid-row: 1;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 0;
  width: 100%;
  height: auto;
  background: var(--bg-base);
  aspect-ratio: 16 / 10;
}

.pl-factors__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-m);
  max-width: 100%;
}

.pl-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 64rem;
}

.pl-table th,
.pl-table td {
  text-align: left;
  padding: 0.6rem 1.2rem;
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  border-bottom: 1px solid var(--stroke-light);
  vertical-align: middle;
}

.pl-table th {
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  background: var(--bg-base);
  text-transform: uppercase;
  height: 3.2rem;
}

.pl-table td {
  height: 8rem;
  background: var(--bg-main);
}

.pl-table__main {
  display: block;
  font-weight: var(--fw-regular);
  color: var(--text-primary);
}

.pl-table__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-desc);
  line-height: var(--lh-desc);
  color: var(--text-secondary);
  font-weight: var(--fw-regular);
}

.pl-geometry {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: var(--space-20);
  align-items: stretch;
}

.pl-geometry__card--lead {
  grid-column: 1 / span 5;
  grid-row: 1;
  background: var(--bg-base);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  justify-content: center;
}

.pl-geometry__main {
  grid-column: 6 / span 7;
  grid-row: 1;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
  aspect-ratio: 700 / 236;
  height: auto;
  min-height: 0;
}

.pl-geometry__shot--wide {
  grid-column: 1 / span 6;
  grid-row: 2;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
  aspect-ratio: 600 / 236;
  height: auto;
  min-height: 0;
}

.pl-geometry__card--side {
  grid-column: 7 / span 3;
  grid-row: 2;
  background: var(--bg-base);
  border-radius: var(--radius-l);
  padding: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  justify-content: flex-start;
}

.pl-geometry__shot:not(.pl-geometry__shot--wide) {
  grid-column: 10 / span 3;
  grid-row: 2;
  border: 1px solid var(--stroke-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-base);
  aspect-ratio: 300 / 236;
  height: auto;
  min-height: 0;
}

.pl-geometry__icon {
  width: 4rem;
  height: 4rem;
  padding: 0.8rem;
  background: var(--bg-dark);
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pl-geometry__icon img {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
}

.pl-geometry__main img,
.pl-geometry__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-geometry__card h3 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
}

.pl-geometry__card p {
  font-size: var(--fs-text-l);
  line-height: var(--lh-text-l);
  color: var(--text-secondary);
}

.pl-geometry__card--side p {
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-primary);
  font-weight: var(--fw-bold);
}

.pl-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-24);
  padding: var(--space-20);
  background: var(--bg-main);
  border-radius: var(--radius-l);
}

.pl-cta__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pl-cta__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  max-width: 72rem;
}

/* ========== FEEDBACK MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 35, 36, 0.72);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  background: var(--bg-main);
  border-radius: var(--radius-xl);
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  box-shadow: 0 2.4rem 6.4rem rgba(28, 35, 36, 0.18);
  transform: translateY(1.2rem);
  transition: transform 0.25s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
}

.modal__close {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-l);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.modal__close:hover {
  opacity: 0.6;
}

.modal__title {
  margin-top: var(--space-16);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  max-width: 52rem;
}

.modal__desc {
  margin-top: var(--space-12);
  font-size: var(--fs-text-m);
  line-height: var(--lh-text-m);
  color: var(--text-secondary);
  max-width: 56rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.modal__grid .field--full {
  grid-column: 1 / -1;
}

.modal__form .field input,
.modal__form .field textarea {
  border-radius: var(--radius-s);
}

.modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.modal__legal {
  flex: 1;
  min-width: 0;
  max-width: none;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--fs-text-s);
  line-height: var(--lh-text-s);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls);
  color: var(--text-primary);
  cursor: pointer;
}

.modal__legal input[type="checkbox"] {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--buttons-main);
  cursor: pointer;
}

.modal__legal a {
  color: var(--text-brand-heavy, #d5b02a);
  text-decoration: none;
}

.modal__legal a:hover {
  text-decoration: underline;
}

.modal__legal.is-invalid {
  color: #c53030;
}

body.modal-open {
  overflow: hidden;
}
/* ========== 404 ========== */
.error-404 {
  background: var(--bg-main);
  border-radius: var(--radius-l);
  min-height: calc(100vh - 28rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-48) var(--space-40);
  position: relative;
  overflow: hidden;
}

.error-404::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: min(52rem, 70vw);
  height: min(52rem, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgb(255 211 49 / 28%) 0%, rgb(255 211 49 / 0%) 68%);
  pointer-events: none;
}

.error-404__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  max-width: 56rem;
  width: 100%;
}

.error-404__code {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-bold);
  color: var(--bg-brand);
  letter-spacing: var(--ls);
  margin: var(--space-8) 0 0;
}

.error-404 .section-title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  max-width: 20ch;
}

.error-404 .section-desc {
  max-width: 42rem;
  margin-bottom: var(--space-8);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-12);
  margin-top: var(--space-8);
}

.error-404__inner > * {
  animation: error-404-in var(--dur-slow) var(--ease-out) both;
}

.error-404__inner > .section-label {
  animation-delay: 0.05s;
}

.error-404__code {
  animation-delay: 0.12s;
}

.error-404 .section-title {
  animation-delay: 0.2s;
}

.error-404 .section-desc {
  animation-delay: 0.28s;
}

.error-404__actions {
  animation-delay: 0.36s;
}

@keyframes error-404-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-404__inner > * {
    animation: none;
  }
}