/* Rifiniture richieste — 21 settembre 2026 */

/* Home: schermate software nitide dentro una cornice monitor. */
body.theme-home .hm-software-panel__media {
  box-sizing: border-box;
  flex: 0 0 268px;
  height: 226px;
  padding: 11px 11px 23px;
  overflow: hidden;
  border: 1px solid #111820;
  border-radius: 19px;
  background: linear-gradient(145deg, #303b45 0%, #111820 78%);
  box-shadow: 0 20px 38px rgba(17, 24, 32, 0.18), inset 0 1px rgba(255, 255, 255, 0.18);
}

body.theme-home .hm-software-panel__media::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #72808c;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

body.theme-home .hm-software-panel__media::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: #88949e;
  transform: translateX(-50%);
  pointer-events: none;
}

body.theme-home .hm-software-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #eef1f3;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Contatti: il numero diventa l'azione primaria, soprattutto su telefono. */
.info-pill.info-pill--call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8d3a00;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 22px rgba(65, 25, 0, 0.17);
}

.info-pill--call svg {
  flex: 0 0 auto;
}

.info-pill--call strong {
  font-weight: 850;
}

/* LogiBARRE: produttori e controlli leggibili, cliccabili e responsive. */
.lb-integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lb-integration-card {
  display: flex;
  min-height: 166px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(215, 95, 0, 0.17);
  border-radius: 18px;
  background: linear-gradient(150deg, #fff 0%, #fff9f3 100%);
  box-shadow: 0 12px 28px rgba(56, 34, 17, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lb-integration-card:hover,
.lb-integration-card:focus-visible {
  color: inherit;
  border-color: #d75f00;
  box-shadow: 0 16px 32px rgba(56, 34, 17, 0.13);
  transform: translateY(-3px);
}

.lb-integration-card:focus-visible {
  outline: 3px solid rgba(215, 95, 0, 0.3);
  outline-offset: 3px;
}

.lb-integration-card__top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lb-integration-card strong {
  color: #7f3600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.lb-integration-card p {
  margin: 0;
  color: #545b62;
  line-height: 1.55;
}

.lb-integration-card__arrow {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #d75f00;
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 1000px) {
  .lb-integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.theme-home .hm-software-panel__media {
    flex-basis: 100%;
    width: 100%;
    height: clamp(194px, 59vw, 234px);
    padding: 9px 9px 21px;
    border-radius: 16px;
  }

  .info-hero__pills .info-pill--call {
    flex: 1 1 100%;
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  .lb-integration-grid {
    grid-template-columns: 1fr;
  }

  .lb-integration-card {
    min-height: 0;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lb-integration-card {
    transition: none;
  }
}
