.catalog-page {
  background:
    radial-gradient(circle at 82% 11%, rgba(0, 157, 255, 0.08), transparent 24rem),
    var(--black);
}

.catalog-page::before {
  z-index: -2;
}

.catalog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: 590px;
  padding-top: 126px;
  padding-bottom: 54px;
  gap: clamp(42px, 6vw, 90px);
}

.catalog-hero__copy {
  position: relative;
  z-index: 2;
}

.catalog-hero h1 {
  margin: 25px 0 24px;
  font-size: clamp(3.25rem, 5.9vw, 6rem);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.catalog-hero h1 em,
.catalog-contact h2 em {
  color: var(--blue);
  font-style: normal;
  text-shadow: 0 0 40px rgba(0, 157, 255, 0.18);
}

.catalog-hero__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.76;
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
  gap: 13px;
}

.catalog-hero__trust {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 27px 0 0;
  color: #c8cdd2;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.catalog-hero__trust li {
  display: flex;
  align-items: center;
}

.catalog-hero__trust li:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 13px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 9px rgba(0, 157, 255, 0.8);
  content: "";
}

.catalog-hero__visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 27px 6px 27px 6px;
  background: #0b0f13;
  box-shadow:
    0 38px 95px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(0, 157, 255, 0.07);
  isolation: isolate;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.catalog-hero__visual > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) saturate(0.62) contrast(1.12) brightness(0.56);
}

.catalog-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(112deg, rgba(4, 7, 10, 0.88) 0%, rgba(4, 7, 10, 0.26) 58%, rgba(0, 157, 255, 0.08)),
    linear-gradient(180deg, transparent 46%, rgba(4, 7, 10, 0.88));
}

.catalog-hero__logo {
  position: absolute;
  right: -7%;
  bottom: 13%;
  z-index: 2;
  width: 92%;
  aspect-ratio: 3467 / 1518;
  opacity: 0.56;
  transform: perspective(950px) rotateX(59deg) rotateZ(-13deg);
  transform-style: preserve-3d;
}

.catalog-hero__logo-back,
.catalog-hero__logo-face {
  position: absolute;
  inset: 0;
  -webkit-mask: url("./assets/cross-logo-original.png") center / contain no-repeat;
  mask: url("./assets/cross-logo-original.png") center / contain no-repeat;
}

.catalog-hero__logo-back {
  background: #02070b;
  filter: drop-shadow(0 21px 15px rgba(0, 0, 0, 0.85));
  transform: translate3d(12px, 15px, -16px);
}

.catalog-hero__logo-face {
  background:
    linear-gradient(102deg, rgba(3, 12, 18, 0.08), rgba(0, 157, 255, 0.11)),
    url("./assets/cross-logo-circuit-texture.webp") center / contain no-repeat;
  background-blend-mode: color, normal;
  filter:
    saturate(0.78) contrast(1.17) brightness(0.78)
    drop-shadow(0 0 10px rgba(0, 157, 255, 0.42));
  transform: translateZ(2px);
}

.catalog-hero__meta {
  position: absolute;
  right: 25px;
  bottom: 22px;
  left: 25px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #8e969f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.catalog-hero__meta strong {
  color: #d9dee3;
  font-size: inherit;
}

.catalog {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1014 0%, var(--black) 14%, var(--black) 100%);
}

.category-dock {
  position: sticky;
  top: 82px;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 11, 15, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.category-dock__inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 25px;
}

.category-dock__label {
  flex: 0 0 auto;
  color: #858b92;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-nav {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #b8bec5;
  font-size: 0.79rem;
  font-weight: 690;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.category-nav a:hover,
.category-nav a:focus-visible,
.category-nav a.is-active {
  border-color: rgba(0, 157, 255, 0.58);
  background: rgba(0, 157, 255, 0.1);
  box-shadow: inset 0 0 18px rgba(0, 157, 255, 0.04), 0 0 18px rgba(0, 157, 255, 0.06);
  color: var(--white);
}

.symptom-explorer {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  padding: 32px 34px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 20px 5px 20px 5px;
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 157, 255, 0.1), transparent 28%),
    rgba(20, 23, 28, 0.76);
  gap: 38px;
}

.symptom-explorer h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.symptom-explorer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.symptom-explorer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #d7dbe0;
  font-size: 0.84rem;
  font-weight: 680;
  gap: 10px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.symptom-explorer nav a:hover,
.symptom-explorer nav a:focus-visible {
  border-color: rgba(0, 157, 255, 0.5);
  background: rgba(0, 157, 255, 0.07);
  transform: translateY(-2px);
}

.symptom-explorer nav span {
  color: var(--blue);
}

.catalog-section {
  padding-top: 114px;
  scroll-margin-top: 148px;
}

.catalog-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  align-items: end;
  margin-bottom: 42px;
  gap: 55px;
}

.catalog-section__heading h2 {
  margin: 23px 0 0;
  font-size: clamp(2.65rem, 5.1vw, 5rem);
  font-weight: 690;
  letter-spacing: -0.06em;
  line-height: 0.97;
}

.catalog-section__heading h2 span {
  color: var(--blue);
}

.catalog-section__heading > p {
  max-width: 500px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.catalog-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 38%),
    rgba(23, 24, 27, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.catalog-card::after {
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(0, 157, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(0, 157, 255, 0.018), 0 0 0 56px rgba(0, 157, 255, 0.012);
  content: "";
  pointer-events: none;
}

.catalog-card:hover,
.catalog-card:focus-within,
.catalog-card[open] {
  border-color: rgba(0, 157, 255, 0.43);
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.07), transparent 40%),
    rgba(23, 24, 27, 0.94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), 0 0 28px rgba(0, 157, 255, 0.045);
  transform: translateY(-3px);
}

.catalog-card--featured {
  border-color: rgba(0, 157, 255, 0.25);
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.12), transparent 46%),
    rgba(23, 24, 27, 0.9);
}

.catalog-card summary {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 335px;
  padding: 27px;
  cursor: pointer;
  list-style: none;
}

.catalog-grid--three .catalog-card summary {
  min-height: 350px;
}

.catalog-card summary::-webkit-details-marker {
  display: none;
}

.catalog-card summary::marker {
  content: "";
}

.catalog-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #69717a;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.catalog-card__top span:last-child {
  color: #83909b;
}

.catalog-card__title {
  display: block;
  max-width: 470px;
  margin-top: 42px;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.catalog-card__description {
  display: block;
  max-width: 490px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.66;
}

.catalog-card__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
  gap: 18px;
}

.catalog-card__price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  width: max-content;
  column-gap: 7px;
}

.catalog-card__price small {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: #838990;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-card__price b {
  color: var(--blue);
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.catalog-card__price em {
  max-width: 93px;
  padding-bottom: 2px;
  color: #7f8790;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.catalog-card__price--consult b {
  color: #dbe4ea;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.catalog-card__expand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #b7bec5;
  font-size: 0.72rem;
  font-weight: 720;
  gap: 9px;
}

.catalog-card__expand i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(0, 157, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 157, 255, 0.07);
  color: var(--blue);
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 430;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease;
}

.catalog-card[open] .catalog-card__expand i {
  background: rgba(0, 157, 255, 0.14);
  transform: rotate(45deg);
}

.catalog-card__detail {
  position: relative;
  z-index: 2;
  padding: 24px 27px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 10, 13, 0.42);
  animation: catalogDetailIn 240ms ease both;
}

.catalog-card__detail p {
  margin: 0;
  color: #aeb5bc;
  font-size: 0.91rem;
  line-height: 1.67;
}

.catalog-card__detail p + p {
  margin-top: 10px;
}

.catalog-card__detail strong {
  color: var(--white);
}

.catalog-card__detail .button {
  min-height: 46px;
  margin-top: 22px;
  padding-inline: 16px;
  font-size: 0.8rem;
}

.catalog-card__detail .button span {
  color: var(--blue);
}

@keyframes catalogDetailIn {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 32px 36px;
  margin-top: 104px;
  margin-bottom: 118px;
  border: 1px solid rgba(0, 157, 255, 0.22);
  border-radius: 6px 24px 6px 24px;
  background:
    linear-gradient(125deg, rgba(0, 157, 255, 0.11), transparent 38%),
    #11151a;
  gap: 28px;
}

.pricing-note > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(0, 157, 255, 0.3);
  border-radius: 16px 5px 16px 5px;
  background: rgba(0, 157, 255, 0.08);
  color: var(--blue);
  font-size: 1.65rem;
  font-weight: 800;
}

.pricing-note h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.pricing-note p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.7;
}

.catalog-contact {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 157, 255, 0.15), transparent 31%),
    linear-gradient(180deg, #0f1216, #080a0d);
  text-align: center;
}

.catalog-contact__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1030px, 88vw);
  aspect-ratio: 3467 / 1518;
  background: rgba(255, 255, 255, 0.025);
  -webkit-mask: url("./assets/cross-logo-original.png") center / contain no-repeat;
  mask: url("./assets/cross-logo-original.png") center / contain no-repeat;
  transform: translate(-50%, -50%) perspective(1050px) rotateX(62deg) rotateZ(-8deg);
}

.catalog-contact__inner {
  position: relative;
  z-index: 2;
}

.catalog-contact .eyebrow {
  justify-content: center;
}

.catalog-contact h2 {
  margin: 23px 0 24px;
  font-size: clamp(3.2rem, 7.2vw, 6.8rem);
  font-weight: 690;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.catalog-contact__inner > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .catalog-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 42px;
  }

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

  .catalog-grid--three .catalog-card summary {
    min-height: 335px;
  }
}

@media (max-width: 820px) {
  .catalog-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 55px;
  }

  .catalog-hero__copy > p:not(.eyebrow) {
    max-width: 650px;
  }

  .catalog-hero__visual {
    min-height: 390px;
    transform: none;
  }

  .category-dock {
    top: 72px;
  }

  .category-dock__inner {
    min-height: 67px;
  }

  .category-dock__label {
    display: none;
  }

  .category-nav {
    margin-inline: -2px;
  }

  .symptom-explorer,
  .catalog-section__heading {
    grid-template-columns: 1fr;
  }

  .symptom-explorer {
    align-items: start;
    gap: 24px;
  }

  .symptom-explorer nav {
    justify-content: flex-start;
  }

  .catalog-section {
    padding-top: 94px;
    scroll-margin-top: 135px;
  }

  .catalog-section__heading {
    align-items: start;
    gap: 24px;
  }

  .catalog-section__heading > p {
    max-width: 630px;
  }
}

@media (max-width: 600px) {
  .catalog-hero {
    padding-top: 111px;
    gap: 39px;
  }

  .catalog-hero h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .catalog-hero__trust {
    flex-direction: column;
    gap: 7px;
  }

  .catalog-hero__actions {
    align-items: stretch;
  }

  .catalog-hero__actions .button {
    width: 100%;
  }

  .catalog-hero__trust li:not(:last-child)::after {
    display: none;
  }

  .catalog-hero__visual {
    min-height: 335px;
    border-radius: 20px 5px 20px 5px;
  }

  .catalog-hero__logo {
    right: -24%;
    bottom: 18%;
    width: 132%;
  }

  .catalog-hero__meta {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .catalog-hero__meta strong {
    display: none;
  }

  .category-dock__inner {
    width: calc(100% - 20px);
  }

  .category-nav a {
    min-height: 38px;
    padding: 0 12px;
  }

  .symptom-explorer {
    padding: 25px 21px;
    margin-top: 30px;
  }

  .symptom-explorer nav a {
    min-height: 40px;
  }

  .catalog-section {
    padding-top: 78px;
  }

  .catalog-section__heading {
    margin-bottom: 32px;
  }

  .catalog-section__heading h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .catalog-grid,
  .catalog-grid--three {
    grid-template-columns: 1fr;
  }

  .catalog-card summary,
  .catalog-grid--three .catalog-card summary {
    min-height: 322px;
    padding: 24px 21px;
  }

  .catalog-card__title {
    margin-top: 34px;
    font-size: 1.32rem;
  }

  .catalog-card__bottom {
    gap: 12px;
  }

  .catalog-card__expand > span {
    display: none;
  }

  .catalog-card__detail {
    padding: 22px 21px 24px;
  }

  .catalog-card__detail .button {
    width: 100%;
  }

  .pricing-note {
    grid-template-columns: 1fr;
    padding: 27px 23px;
    margin-top: 76px;
    margin-bottom: 82px;
    gap: 19px;
  }

  .pricing-note > span {
    width: 53px;
    height: 53px;
  }

  .catalog-contact {
    min-height: 590px;
  }

  .catalog-contact h2 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .catalog-contact .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card__detail {
    animation: none;
  }
}
