/* Cost hub: dense commercial data in the existing ROSKROVLYA visual system. */
.price-page { overflow-x: hidden; }
.price-page main { background: var(--concrete); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-hero { border-bottom: 1px solid var(--line); }
.price-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  min-height: min(680px, calc(100dvh - 120px));
  padding-inline: 0;
  border-inline: 1px solid var(--line);
}
.price-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  border-right: 1px solid var(--line);
}
.price-hero__copy h1 {
  width: 100%;
  max-width: 780px;
  margin-top: 26px;
  font-size: clamp(43px, 4.65vw, 64px);
  line-height: .98;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
}
.price-hero__copy > p {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}
.price-hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.price-hero__visual {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}
.price-hero__visual::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(20, 22, 26, .28);
  pointer-events: none;
}
.price-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-facts { border-bottom: 1px solid var(--line); }
.price-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: 0;
  border-inline: 1px solid var(--line);
}
.price-facts__grid > div {
  min-width: 0;
  padding: 26px var(--gutter);
  border-right: 1px solid var(--line);
}
.price-facts__grid > div:last-child { border-right: 0; }
.price-facts b {
  display: block;
  color: var(--accent-deep);
  font-family: var(--f-head);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1;
  text-transform: uppercase;
}
.price-facts span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.price-quicknav {
  position: sticky;
  top: 72px;
  z-index: 24;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 244, 240, .96);
  backdrop-filter: blur(12px);
}
.price-quicknav__track {
  display: flex;
  gap: 0;
  padding-inline: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.price-quicknav a {
  flex: 0 0 auto;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  scroll-snap-align: start;
}
.price-quicknav a:first-child { border-left: 1px solid var(--line); }
.price-quicknav a:hover, .price-quicknav a:focus-visible { color: var(--accent-deep); }

.price-section-head {
  max-width: 800px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.price-section-head h2 { font-size: clamp(30px, 4.4vw, 58px); }
.price-section-head p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.matrix-layout {
  display: grid;
  grid-template-columns: minmax(245px, 320px) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}
.matrix-tabs { display: none; }
.price-js .matrix-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
  background: var(--concrete-2);
}
.matrix-tab {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 21px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}
.matrix-tab > span {
  color: var(--accent-deep);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
}
.matrix-tab:hover { background: var(--surface); }
.matrix-tab.is-active {
  background: var(--ink);
  color: var(--text-dark);
}
.matrix-tab:focus-visible, .catalog-section summary:focus-visible, .text-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.matrix-panels { min-width: 0; }
.matrix-panel { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.matrix-panel + .matrix-panel { border-top: 1px solid var(--line); }
.price-js .matrix-panel[hidden] { display: none; }
.matrix-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 34%);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: 34px;
}
.matrix-panel__id {
  color: var(--accent-deep);
  font-family: var(--f-mono);
  font-size: 11px;
}
.matrix-panel h3 {
  margin-top: 14px;
  font-size: clamp(23px, 2.6vw, 37px);
  line-height: 1.08;
}
.matrix-panel__head img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--concrete);
}
.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--accent);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.text-link:hover { color: var(--accent-deep); }

.price-table-wrap { min-width: 0; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.price-table th {
  padding: 12px 14px;
  background: var(--ink);
  color: var(--text-dark);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}
.price-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 15px;
  vertical-align: top;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: var(--concrete); }
.price-table--matrix th:last-child, .price-table--matrix td:last-child {
  width: 36%;
  font-family: var(--f-mono);
  font-weight: 700;
  text-align: right;
}
.price-notice {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: start;
  margin-top: 24px;
  padding: 25px 28px;
  border-left: 6px solid var(--accent);
  background: var(--ink);
  color: var(--text-dark);
}
.price-notice strong {
  font-family: var(--f-head);
  font-size: 15px;
  line-height: 1.35;
  text-transform: uppercase;
}
.price-notice p { margin: 0; color: var(--text-dim); font-size: 14px; }

.price-catalogue { border-top: 1px solid var(--line); }
.catalogue-list { border-top: 1px solid var(--line); }
.catalog-section { border-bottom: 1px solid var(--line); }
.catalog-section summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 74px 24px;
  gap: 16px;
  align-items: center;
  padding: 24px 8px;
  cursor: pointer;
  list-style: none;
}
.catalog-section summary::-webkit-details-marker { display: none; }
.catalog-section[open] summary { background: var(--concrete-2); }
.catalog-section__id {
  color: var(--accent-deep);
  font-family: var(--f-mono);
  font-size: 12px;
}
.catalog-section__title {
  font-family: var(--f-head);
  font-size: clamp(17px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}
.catalog-section__title small {
  display: block;
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
}
.catalog-section__count {
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  text-align: right;
  text-transform: uppercase;
}
.catalog-section__sign { position: relative; width: 18px; height: 18px; }
.catalog-section__sign::before, .catalog-section__sign::after {
  content: "";
  position: absolute;
  background: var(--accent-deep);
}
.catalog-section__sign::before { top: 8px; left: 0; right: 0; height: 2px; }
.catalog-section__sign::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.catalog-section[open] .catalog-section__sign::after { transform: scaleY(0); }
.catalog-section__body { padding: 0 8px 32px; }
.catalog-section__toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.catalog-section__toolbar .text-link { margin-top: 0; }
.price-table--catalogue th:nth-child(1) { width: 68%; }
.price-table--catalogue th:nth-child(2) { width: 12%; }
.price-table--catalogue th:nth-child(3) { width: 20%; text-align: right; }
.price-table--catalogue td:nth-child(2) { font-family: var(--f-mono); font-size: 12px; }
.price-table--catalogue td:nth-child(3) {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.row-id {
  display: inline-block;
  width: 54px;
  color: var(--accent-deep);
  font-family: var(--f-mono);
  font-size: 10px;
}
.price-notice--catalogue { margin-top: 34px; }

.price-terms { border-top: 1px solid var(--line); }
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.terms-grid article {
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.terms-grid article > span {
  color: var(--accent-deep);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.terms-grid h3 { margin-top: 20px; font-size: clamp(20px, 2.3vw, 30px); }
.terms-grid p { max-width: 510px; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.estimate-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--concrete-2);
  border: 1px solid var(--line);
}
.estimate-link h3 { font-size: clamp(22px, 2.8vw, 34px); }
.estimate-link p { max-width: 640px; margin: 14px 0 0; color: var(--muted); }

.price-faq { border-top: 1px solid var(--line); }
.price-faq .price-section-head { margin-bottom: 22px; }
.cta__note {
  max-width: 550px;
  margin: 30px 0 0;
  color: var(--text-dim);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.7;
  text-transform: uppercase;
}
.price-related { border-top: 1px solid var(--line); }
.price-related .price-section-head { margin-bottom: 22px; }

@media (max-width: 1080px) {
  .price-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .price-hero__copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-hero__visual { min-height: 390px; }
  .price-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-facts__grid > div:nth-child(2) { border-right: 0; }
  .price-facts__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .matrix-layout { grid-template-columns: minmax(215px, 270px) minmax(0, 1fr); }
  .matrix-panel__head { grid-template-columns: 1fr; }
  .matrix-panel__head img { max-height: 260px; }
}

@media (max-width: 760px) {
  .price-hero__copy h1 {
    font-size: clamp(32px, 10vw, 48px);
    letter-spacing: -0.055em;
    overflow-wrap: normal;
    word-break: normal;
  }
  .price-hero__actions { display: grid; grid-template-columns: 1fr; }
  .price-hero__actions .btn { width: 100%; }
  .price-hero__visual { min-height: 300px; }
  .price-quicknav { top: 64px; }
  .matrix-layout { grid-template-columns: 1fr; }
  .price-js .matrix-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scroll-snap-type: x mandatory;
  }
  .matrix-tab {
    flex: 0 0 250px;
    grid-template-columns: 40px minmax(0, 1fr);
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: start;
  }
  .matrix-panel { padding: 20px; }
  .price-notice { grid-template-columns: 1fr; gap: 12px; }
  .catalog-section summary { grid-template-columns: 44px minmax(0, 1fr) 22px; gap: 10px; }
  .catalog-section__count { display: none; }
  .catalog-section__title small { font-size: 12px; }
  .catalog-section__toolbar { align-items: flex-start; flex-direction: column; }
  .price-table--catalogue thead { display: none; }
  .price-table--catalogue, .price-table--catalogue tbody, .price-table--catalogue tr, .price-table--catalogue td { display: block; width: 100%; }
  .price-table--catalogue tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .price-table--catalogue td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    border: 0;
    text-align: left !important;
  }
  .price-table--catalogue td::before {
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--f-mono);
    font-size: 10px;
    text-transform: uppercase;
  }
  .price-table--catalogue td:first-child {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .price-table--catalogue td:first-child::before {
    grid-column: 1;
    grid-row: 1;
  }
  .price-table--catalogue td:first-child .row-id {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .price-table--catalogue td:first-child .row-name {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.45;
  }
  .price-table--catalogue tbody tr:nth-child(even) { background: transparent; }
  .row-id { width: auto; margin-right: 9px; }
  .terms-grid { grid-template-columns: 1fr; }
  .estimate-link { grid-template-columns: 1fr; }
  .estimate-link .btn { width: 100%; }
}

@media (max-width: 560px) {
  .price-hero__grid { border-inline: 0; }
  .price-hero__copy { padding: 38px 18px 42px; }
  .price-hero__visual { min-height: 255px; }
  .price-hero__visual::after { inset: 12px; }
  .price-facts__grid { grid-template-columns: 1fr; border-inline: 0; }
  .price-facts__grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-facts__grid > div:last-child { border-bottom: 0; }
  .price-quicknav__track { padding-inline: 0; }
  .price-table--matrix thead { display: none; }
  .price-table--matrix, .price-table--matrix tbody, .price-table--matrix tr, .price-table--matrix td { display: block; width: 100%; }
  .price-table--matrix tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .price-table--matrix td { padding: 0; border: 0; text-align: left; }
  .price-table--matrix td:last-child { text-align: right; }
  .price-table--matrix tbody tr:nth-child(even) { background: transparent; }
  .catalog-section__body { padding-inline: 0; }
  .catalog-section summary { padding-inline: 0; }
}

@media (max-width: 360px) {
  .price-page .header__call { display: none; }
  .price-hero__copy h1 {
    font-size: clamp(28px, 9.3vw, 32px);
    letter-spacing: -0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-quicknav { backdrop-filter: none; }
  .catalog-section__sign::after, .btn__arrow { transition: none; }
}
