.page-3d .vision-poster-inner {
  grid-template-columns: minmax(0, 720px);
  justify-content: start;
}

.page-3d .vision-poster-copy {
  max-width: 720px;
}

.page-3d #products,
.page-3d #systems,
.page-3d #cases,
.page-3d #contact {
  scroll-margin-top: 150px;
}

.page-3d .three-d-catalog {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.three-d-catalog-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-3d .three-d-catalog-head h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.three-d-family {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 2.25fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
}

.three-d-family:first-of-type {
  border-top-color: var(--ink);
}

.three-d-family-media {
  min-height: 280px;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background:
    linear-gradient(rgba(17, 26, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 26, 36, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
  border: 1px solid var(--line);
}

.three-d-family-media img {
  width: min(100%, 320px);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(17, 26, 36, 0.12));
  transition: transform 0.35s ease;
}

.three-d-family-media--wide img {
  width: min(100%, 390px);
}

.three-d-family:hover .three-d-family-media img {
  transform: scale(1.02);
}

.three-d-family-media figcaption {
  width: 100%;
  padding-top: 1.1rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
}

.three-d-family-content {
  min-width: 0;
}

.three-d-family-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.three-d-family-heading p,
.three-d-system-card > div:last-child > p {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.three-d-family-heading h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  line-height: 1.15;
}

.three-d-family-heading > span {
  max-width: 26rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.three-d-family-summary {
  max-width: 62rem;
  margin: 1rem 0 1.5rem;
  color: var(--ink-soft);
}

.three-d-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

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

.three-d-model-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.three-d-model {
  min-width: 0;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.three-d-model:hover {
  background: #fff;
}

.three-d-model h4 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.2;
}

.three-d-model dl {
  margin: 0;
}

.three-d-model dl div {
  display: grid;
  grid-template-columns: minmax(6.4rem, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(215, 222, 230, 0.72);
}

.three-d-model dt,
.three-d-model dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.three-d-model dt {
  color: var(--ink-soft);
}

.three-d-model dd {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.three-d-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: 1px;
  background: var(--line);
}

.three-d-system-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: #101a24;
  color: #fff;
}

.three-d-system-media {
  min-height: 230px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.three-d-system-media img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
}

.three-d-system-media--screen {
  padding: 1rem;
  background: #f3f5f6;
}

.three-d-system-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.three-d-system-card strong {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.three-d-system-card ul {
  margin: 1.15rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.three-d-system-card li + li {
  margin-top: 0.35rem;
}

.page-3d .three-d-case-head {
  margin-bottom: 1.6rem;
}

.page-3d .three-d-case-head h2,
.page-3d .three-d-contact h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.page-3d .featured-case-points span {
  border-radius: 4px;
  text-transform: none;
}

.three-d-contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(430px, 1.35fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  border-top-color: var(--ink);
}

.three-d-contact-details {
  display: grid;
  grid-template-columns: 0.55fr 0.85fr 1.45fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.three-d-contact-details p {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.three-d-contact-details span,
.three-d-contact-details strong,
.three-d-contact-details a {
  display: block;
}

.three-d-contact-details span {
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.three-d-contact-details strong,
.three-d-contact-details a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.three-d-contact-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}

.three-d-contact-actions .btn {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .three-d-family {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  }

  .three-d-model-grid--three {
    grid-template-columns: 1fr;
  }

  .three-d-system-grid {
    grid-template-columns: 1fr;
  }

  .three-d-contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .three-d-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-3d {
    padding-bottom: 0;
  }

  .page-3d .page-anchor-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
    white-space: nowrap;
  }

  .page-3d .page-anchor-bar a {
    flex: 0 0 auto;
  }

  .page-3d .mobile-contact-bar {
    display: none;
  }

  .three-d-family {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 0;
  }

  .three-d-family-media {
    min-height: 230px;
    padding: 1.2rem;
  }

  .three-d-family-media img,
  .three-d-family-media--wide img {
    max-height: 180px;
  }

  .three-d-family-heading {
    display: block;
  }

  .three-d-family-heading > span {
    display: block;
    margin-top: 0.7rem;
    text-align: left;
  }

  .three-d-model-grid,
  .three-d-model-grid--four {
    grid-template-columns: 1fr;
  }

  .three-d-model {
    padding: 1rem;
  }

  .three-d-system-card {
    grid-template-columns: 1fr;
  }

  .three-d-system-media {
    min-height: 210px;
  }

  .three-d-contact-details {
    grid-template-columns: 1fr;
  }

  .three-d-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .three-d-family-media img {
    transform: none !important;
    transition: none;
  }
}
