/* MR Systems professional overrides */

.site-header .nav {
  min-height: 92px;
}

.brand {
  gap: 0;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 86px;
  height: 86px;
  max-width: 25vw;
  display: block;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.18);
  object-fit: contain;
}

.footer-logo {
  width: 118px;
  height: 118px;
  max-width: 70vw;
  display: block;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  object-fit: contain;
}

/* HERO IMAGE CARD - clean version */
.hero-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: auto !important;
  aspect-ratio: 3 / 2 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 36px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background-color: #07101c !important;
  background-image: url("assets/hero-oggetti.jpg"), url("assets/hero-unique-objects.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36) !important;
}

.hero-card::before,
.hero-card .printer-visual,
.hero-card .hero-stat {
  display: none !important;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -80px 120px rgba(0, 0, 0, 0.18);
}

.trust-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-grid div,
.materials-grid article,
.reviews-grid article,
.faq-list details,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.trust-grid div {
  padding: 18px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 6px;
}

.trust-grid span,
.materials-grid p,
.reviews-grid p,
.faq-list p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.mini-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mini-checklist span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.materials-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.materials-grid article,
.reviews-grid article {
  padding: 24px;
}

.review-section {
  padding: 88px 0;
  background: rgba(255, 255, 255, 0.04);
  border-block: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.enhanced-footer {
  align-items: flex-start;
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.details-button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  transition: 0.25s;
}

.product-modal.open {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.6);
}

.product-modal-panel {
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #0f1524;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  opacity: 0;
  transition: 0.25s;
  position: relative;
}

.product-modal.open .product-modal-panel {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.modal-grid img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: var(--panel-2);
}

.modal-copy {
  padding: 34px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.spec-grid div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.spec-grid small {
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}

.legal-page {
  padding: 72px 0;
}

.legal-card {
  padding: 34px;
  margin-bottom: 18px;
}

.legal-card ul {
  padding-left: 22px;
}

@media (max-width: 1000px) {
  .trust-grid,
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header .nav {
    min-height: 82px;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

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

  .modal-grid img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .site-header .nav {
    min-height: 74px;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .footer-logo {
    width: 96px;
    height: 96px;
  }

  .hero-card {
    aspect-ratio: 3 / 2 !important;
    background-position: center center !important;
  }

  .trust-grid,
  .materials-grid,
  .reviews-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .enhanced-footer {
    align-items: flex-start;
  }
}
