.page-products {
  --products-line: linear-gradient(135deg, #FF6B00 0%, #FFC400 100%);
  --products-panel-angle: 12px;
  --products-table-radius: 16px;
  background: var(--light-gray);
  color: var(--dark);
  overflow-x: hidden;
}

.page-products .accent {
  color: var(--orange);
}

.page-products .breadcrumb {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 24px 32px 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--gray);
}

.page-products .breadcrumb a {
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 600;
}

.page-products .breadcrumb a:hover {
  color: var(--orange);
}

.page-products .breadcrumb__sep {
  margin: 0 10px;
  color: var(--orange);
  font-family: var(--font-index);
}

.page-products .index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-index);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--deep-blue);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.page-products .index-label::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--orange);
  flex-shrink: 0;
}

.page-products .section {
  padding: 72px 0;
}

.page-products .section--tight {
  padding: 40px 0;
}

.page-products .section--tint {
  background: var(--light-orange);
}

.page-products .section--dark {
  background: var(--deep-blue);
  color: var(--white);
}

.page-products .container {
  width: calc(100% - 64px);
  max-width: var(--container-w);
  margin: 0 auto;
}

.page-products .section-head {
  margin-bottom: 40px;
  max-width: 680px;
}

.page-products .section-head--invert {
  color: var(--white);
}

.page-products .section-head--invert .index-label {
  color: var(--white);
}

.page-products .section-head--invert .index-label::before {
  background: var(--yellow);
}

.page-products .section-head__index {
  font-family: var(--font-index);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.page-products .section-head--invert .section-head__index {
  color: var(--yellow);
}

.page-products .section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--deep-blue);
}

.page-products .section-head--invert h2 {
  color: var(--white);
}

.page-products .section-head__note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.page-products .section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}

/* Hero */
.page-products .products-hero {
  padding: 48px 0 72px;
  background: var(--light-gray);
  position: relative;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 46px;
  background: var(--yellow);
  transform: skewX(-18deg);
  transform-origin: right top;
  display: block;
}

.page-products .products-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.page-products .products-hero__intro {
  position: relative;
  z-index: 1;
}

.page-products .products-hero__intro h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--deep-blue);
  margin: 0 0 24px;
  max-width: 640px;
}

.page-products .products-hero__lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 560px;
  margin: 0 0 32px;
}

.page-products .products-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-products .products-hero__visual {
  position: relative;
}

.page-products .products-hero__image {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  border-radius: 16px 16px 0 0;
  margin-left: auto;
  object-fit: cover;
}

.page-products .products-hero__stripe {
  position: absolute;
  bottom: -14px;
  left: 12%;
  width: 42%;
  height: 8px;
  background: var(--orange);
  transform: skewX(-24deg);
  display: block;
}

/* Product grid */
.page-products .product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .product-card {
  position: relative;
  background: var(--white);
  padding: 28px 26px 26px;
  border-radius: 4px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.page-products .product-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.page-products .product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.page-products .product-card:hover::after {
  opacity: 1;
}

.page-products .product-card__line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--orange);
  border-radius: 0 3px 3px 0;
}

.page-products .product-card--venues .product-card__line {
  background: var(--tech-blue);
}

.page-products .product-card--courses .product-card__line {
  background: var(--yellow);
}

.page-products .product-card--equipment .product-card__line {
  background: var(--deep-orange);
}

.page-products .product-card--data .product-card__line {
  background: var(--deep-blue);
}

.page-products .product-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 10px;
}

.page-products .product-card__text {
  flex: 1;
  min-width: 0;
}

.page-products .product-card__title-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.page-products .product-card__title-row h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.3;
  margin: 0;
}

.page-products .product-card__count {
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--gray);
  background: var(--light-gray);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.page-products .product-card__text > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  margin: 0 0 12px;
}

.page-products .product-card__details {
  border-top: 1px dashed var(--light-orange);
  padding-top: 10px;
  margin-top: 2px;
}

.page-products .product-card__details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.page-products .product-card__details summary::before {
  content: "+";
  font-family: var(--font-index);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.2s var(--ease-out);
}

.page-products .product-card__details[open] summary::before {
  transform: rotate(45deg);
}

.page-products .product-card__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.page-products .product-card__list li {
  font-size: 14px;
  color: var(--dark);
  padding-left: 16px;
  position: relative;
}

.page-products .product-card__list li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: var(--font-index);
  font-size: 12px;
  top: 1px;
}

/* Catalog table */
.page-products .catalog-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.page-products .catalog-section__badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.page-products .catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .catalog-table-wrap {
  min-width: 0;
}

.page-products .catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--products-table-radius) var(--products-table-radius) 0 0;
  border-bottom: 1px solid rgba(10, 30, 63, 0.08);
}

.page-products .catalog-filter__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-right: 4px;
}

.page-products .catalog-filter__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--light-gray);
  user-select: none;
}

.page-products .catalog-filter__item input {
  accent-color: var(--orange);
  width: 14px;
  height: 14px;
}

.page-products .catalog-table-scroll {
  max-height: 480px;
  overflow: auto;
  border-radius: 0 0 var(--products-table-radius) var(--products-table-radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.page-products .catalog-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .catalog-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-products .catalog-table th {
  background: var(--deep-blue);
  color: var(--white);
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.page-products .catalog-table th:first-child {
  border-radius: 4px 0 0 0;
}

.page-products .catalog-table th:last-child {
  border-radius: 0 4px 0 0;
}

.page-products .catalog-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 30, 63, 0.06);
  vertical-align: middle;
  color: var(--dark);
}

.page-products .catalog-table tbody tr {
  transition: background 0.2s var(--ease-out);
}

.page-products .catalog-table tbody tr:hover {
  background: var(--light-orange);
}

.page-products .catalog-table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .catalog-table__no {
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--gray);
  width: 48px;
}

.page-products .catalog-table__line {
  font-weight: 700;
  color: var(--deep-blue);
  white-space: nowrap;
}

.page-products .catalog-table__ver {
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  background: var(--light-gray);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.page-products .catalog-table td .status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 6px;
  vertical-align: 1px;
}

.page-products .catalog-table__note {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin: 16px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
}

.page-products .catalog-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-products .catalog-aside__image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.page-products .catalog-aside__note {
  position: relative;
  background: var(--white);
  padding: 22px 24px 22px 36px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.page-products .catalog-aside__note p {
  margin: 0;
}

.page-products .catalog-aside__arrow {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  transform: rotate(45deg);
  display: block;
}

/* Login section */
.page-products .login-section {
  background: var(--white);
}

.page-products .login-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.page-products .login-panel::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: var(--light-orange);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
  opacity: 0.6;
}

.page-products .login-panel__text {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.page-products .login-panel__text h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 900;
  color: var(--deep-blue);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.page-products .login-panel__text > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin: 0 0 24px;
}

.page-products .login-panel__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .login-panel__list li {
  font-size: 15px;
  color: var(--dark);
  padding-left: 26px;
  position: relative;
}

.page-products .login-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-products .login-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.page-products .login-panel__phone {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  display: block;
}

.page-products .login-panel__badge {
  position: absolute;
  right: 26px;
  bottom: 36px;
  background: var(--yellow);
  color: var(--deep-blue);
  font-family: var(--font-index);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-sm);
}

/* Download section */
.page-products .download-section {
  position: relative;
}

.page-products .download-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--orange);
}

.page-products .download-section .section-head__note {
  color: rgba(255, 255, 255, 0.7);
}

.page-products .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-products .download-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 30px 28px;
  position: relative;
  backdrop-filter: blur(4px);
}

.page-products .download-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--orange);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.page-products .download-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin: 20px 0 8px;
}

.page-products .download-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}

.page-products .download-card__qr {
  position: relative;
  width: 160px;
  height: 160px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.page-products .download-card__qr-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--orange);
  border-style: solid;
  border-width: 0;
}

.page-products .download-card__qr-corner:nth-child(1) {
  top: -4px;
  left: -4px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.page-products .download-card__qr-corner:nth-child(2) {
  top: -4px;
  right: -4px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.page-products .download-card__qr-corner:nth-child(3) {
  bottom: -4px;
  left: -4px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}

.page-products .download-card__qr-corner:nth-child(4) {
  bottom: -4px;
  right: -4px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.page-products .download-card__hint {
  font-family: var(--font-index);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  word-break: break-all;
  margin: 12px 0 0;
  display: block;
}

.page-products .download-card__web-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.page-products .download-card__secure-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.page-products .download-card__secure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-products .download-card__secure-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 18px;
  position: relative;
}

.page-products .download-card__secure-list li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-family: var(--font-index);
  font-size: 12px;
  top: 1px;
}

/* Archive section */
.page-products .archive-section {
  background: var(--light-gray);
}

.page-products .archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-products .archive-layout__text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--deep-blue);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.page-products .archive-layout__lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-blue);
  background: var(--light-orange);
  padding: 18px 20px;
  border-radius: 4px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.page-products .archive-layout__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin: 0 0 14px;
  max-width: 640px;
}

.page-products .archive-layout__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .archive-layout__visual img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Buttons */
.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: var(--deep-blue);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  font-family: var(--font-body);
}

.page-products .btn:hover {
  background: var(--deep-orange);
  color: var(--white);
  transform: translateY(-1px);
}

.page-products .btn--yellow {
  background: var(--yellow);
}

.page-products .btn--yellow:hover {
  background: var(--orange);
  color: var(--white);
}

.page-products .btn--ghost {
  background: transparent;
  border-color: var(--deep-blue);
  color: var(--deep-blue);
}

.page-products .btn--ghost:hover {
  background: var(--deep-blue);
  color: var(--white);
}

.page-products .section--dark .btn--ghost {
  border-color: var(--white);
  color: var(--white);
}

.page-products .section--dark .btn--ghost:hover {
  background: var(--white);
  color: var(--deep-blue);
}

.page-products .btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

/* Tag */
.page-products .tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.page-products .tag--line {
  background: transparent;
  border: 1px solid var(--deep-blue);
}

/* Media queries */
@media (min-width: 640px) {
  .page-products .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .product-card--events {
    grid-column: 1 / -1;
  }

  .page-products .product-card--data {
    grid-column: 1 / -1;
  }

  .page-products .product-card__list {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .catalog-layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }

  .page-products .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .download-card--secure {
    grid-column: 1 / -1;
  }

  .page-products .archive-layout {
    grid-template-columns: 1fr 300px;
    align-items: center;
  }
}

@media (min-width: 920px) {
  .page-products .products-hero__grid {
    grid-template-columns: 5fr 4fr;
    align-items: center;
    gap: 48px;
  }

  .page-products .product-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-products .product-card--events {
    grid-column: span 4;
  }

  .page-products .product-card--venues {
    grid-column: span 2;
  }

  .page-products .product-card--courses {
    grid-column: span 2;
  }

  .page-products .product-card--equipment {
    grid-column: span 2;
  }

  .page-products .product-card--data {
    grid-column: span 2;
  }

  .page-products .catalog-layout {
    grid-template-columns: 1fr 320px;
    gap: 36px;
  }

  .page-products .catalog-aside {
    position: sticky;
    top: 24px;
  }

  .page-products .login-panel {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .download-card--secure {
    grid-column: auto;
  }

  .page-products .archive-layout {
    grid-template-columns: 1fr 400px;
    gap: 56px;
  }
}

@media (min-width: 1200px) {
  .page-products .product-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-products .product-card--events {
    grid-column: span 6;
  }

  .page-products .product-card--venues {
    grid-column: span 6;
  }

  .page-products .product-card--courses {
    grid-column: span 4;
  }

  .page-products .product-card--equipment {
    grid-column: span 4;
  }

  .page-products .product-card--data {
    grid-column: span 4;
  }

  .page-products .product-card__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .page-products .container {
    width: calc(100% - 40px);
  }

  .page-products .breadcrumb {
    padding: 20px 20px 0;
  }

  .page-products .products-hero__grid {
    padding: 0 20px;
  }

  .page-products .section {
    padding: 56px 0;
  }

  .page-products .product-card {
    padding: 22px 18px;
    gap: 14px;
    flex-direction: column;
  }

  .page-products .product-card__icon {
    width: 48px;
    height: 48px;
  }

  .page-products .catalog-filter {
    padding: 10px 12px;
    border-radius: 12px 12px 0 0;
  }

  .page-products .catalog-table-scroll {
    max-height: 400px;
  }

  .page-products .login-panel__phone {
    max-width: 260px;
  }

  .page-products .download-section .btn {
    width: 100%;
  }

  .page-products .archive-layout__text .btn {
    width: 100%;
  }
}
