.catalog-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: 40px;
  overflow: hidden;
  padding: 150px clamp(22px, 5vw, 78px) 86px;
  background:
    radial-gradient(circle at 70% 20%, rgba(33, 230, 255, 0.22), transparent 30%),
    radial-gradient(circle at 15% 72%, rgba(120, 255, 202, 0.14), transparent 24%),
    linear-gradient(135deg, #03141a, #082b36 62%, #03141a);
}

.catalog-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(0deg, #eef8f8, rgba(238, 248, 248, 0));
  opacity: 0.08;
}

.catalog-hero__content,
.catalog-hero__stats {
  position: relative;
  z-index: 2;
}

.catalog-hero h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.9;
}

.catalog-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(246, 251, 255, 0.76);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.58;
}

.catalog-hero__stats {
  display: grid;
  border: 1px solid var(--line);
  background: rgba(3, 20, 26, 0.58);
  backdrop-filter: blur(16px);
}

.catalog-hero__stats div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.catalog-hero__stats div:last-child {
  border-bottom: 0;
}

.catalog-hero__stats strong,
.family-count {
  display: block;
  color: var(--mint);
  font-size: 38px;
  line-height: 1;
}

.catalog-hero__stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.catalog-nav {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px clamp(22px, 5vw, 78px);
  background: rgba(238, 248, 248, 0.92);
  border-bottom: 1px solid rgba(5, 36, 45, 0.12);
  backdrop-filter: blur(16px);
}

.catalog-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(5, 36, 45, 0.14);
  border-radius: 999px;
  color: #05242d;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.7);
}

.catalog-list {
  background: #eef8f8;
  color: #05242d;
}

.family {
  padding: 86px clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(5, 36, 45, 0.12);
}

.family__head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.38fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

.family__head h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.98;
}

.family__head p {
  max-width: 760px;
  color: rgba(5, 36, 45, 0.68);
  font-size: 18px;
  line-height: 1.6;
}

.family-meta {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.family-count {
  color: #087c91;
}

.application-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.application-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 124, 145, 0.09);
  color: #087c91;
  font-size: 12px;
  font-weight: 800;
}

.representative-note {
  margin: -8px 0 28px;
  color: rgba(5, 36, 45, 0.56);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-product {
  display: grid;
  grid-template-rows: minmax(0, 250px) auto;
  overflow: hidden;
  border: 1px solid rgba(5, 36, 45, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(5, 36, 45, 0.08);
}

.catalog-product__image {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 70% 20%, rgba(33, 230, 255, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(2, 18, 24, 0.92), rgba(8, 124, 145, 0.72));
}

.catalog-product__image img {
  width: 92%;
  height: 92%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: saturate(1.08) contrast(1.06) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.24));
}

.catalog-product__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.catalog-product__model {
  color: #087c91;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-product h3 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.1;
}

.catalog-product p {
  color: rgba(5, 36, 45, 0.64);
  line-height: 1.55;
}

.measure-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #05242d;
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.catalog-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.mini-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(5, 36, 45, 0.14);
  border-radius: 6px;
  background: #eef8f8;
  color: #05242d;
  font-size: 13px;
  font-weight: 850;
}

.mini-button--dark {
  background: linear-gradient(135deg, #21e6ff, #78ffca);
  color: #00212b;
  border-color: transparent;
}

.spec-viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 64px 20px 28px;
  background: rgba(3, 20, 26, 0.88);
  backdrop-filter: blur(12px);
  cursor: none;
}

.spec-viewer.is-open {
  display: grid;
}

.spec-viewer__close {
  position: absolute;
  top: 18px;
  right: 20px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(246, 251, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 850;
}

.spec-sheet {
  width: min(980px, 100%);
  max-height: 84vh;
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(160, 232, 255, 0.18);
  background:
    radial-gradient(circle at 86% 10%, rgba(33, 230, 255, 0.16), transparent 32%),
    rgba(3, 20, 26, 0.92);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.spec-sheet__head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.spec-sheet__head h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 0.95;
}

.spec-sheet__head span {
  color: var(--muted);
  font-size: 18px;
}

.spec-sheet table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.spec-sheet th,
.spec-sheet td {
  padding: 16px;
  border: 1px solid rgba(160, 232, 255, 0.16);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.spec-sheet th {
  width: 30%;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spec-sheet td {
  color: rgba(246, 251, 255, 0.84);
}

.spec-sheet__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.spec-sheet__note a {
  color: var(--mint);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .catalog-hero,
  .family__head {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-hero {
    min-height: auto;
    padding-top: 122px;
  }

  .catalog-hero h1 {
    font-size: 48px;
  }

  .family {
    padding-top: 62px;
    padding-bottom: 62px;
  }

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

  .catalog-product {
    grid-template-rows: minmax(0, 220px) auto;
  }

  .spec-sheet th,
  .spec-sheet td {
    display: block;
    width: 100%;
    padding: 13px;
    font-size: 15px;
  }

  .spec-sheet__head h2 {
    font-size: 44px;
  }

  .spec-sheet__head span {
    font-size: 16px;
  }
}
