/* BID & WEAR — pagina HTML/CSS responsive. Nessun testo è incorporato nella hero. */
body.bid-wear-page {
  background: #000;
  color: #151515;
}

.bw-page {
  overflow: hidden;
  background: #fff;
}

.bw-shell {
  width: min(calc(100% - 64px), 1320px);
  margin-inline: auto;
}

.bw-hero {
  position: relative;
  min-height: clamp(570px, 44vw, 720px);
  overflow: hidden;
  isolation: isolate;
  background: #000;
  color: #fff;
}

.bw-hero__media {
  position: absolute;
  inset: 0;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
}

.bw-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.bw-hero__media::before,
.bw-hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(22px, 3vw, 54px);
  pointer-events: none;
}

.bw-hero__media::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, rgba(0,0,0,.55) 34%, transparent 100%);
}

.bw-hero__media::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, rgba(0,0,0,.55) 34%, transparent 100%);
}

.bw-hero__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.77) 27%, rgba(0,0,0,.24) 58%, rgba(0,0,0,.05) 78%),
    linear-gradient(0deg, rgba(0,0,0,.48) 0%, transparent 38%);
  pointer-events: none;
}

.bw-hero__content {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(56px, 7vw, 96px);
}

.bw-kicker,
.bw-section-heading > p:first-child,
.bw-proof__inner > div > p:first-child {
  margin: 0 0 14px;
  color: #ef1f2f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.bw-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 6.5vw, 104px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .95;
}

.bw-title-line,
.bw-section-heading > span {
  display: block;
  width: 74px;
  height: 4px;
  margin: 24px 0 22px;
  background: #ef1f2f;
}

.bw-hero__claim {
  max-width: 690px;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.25;
}

.bw-hero__lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
}

.bw-section {
  padding-block: clamp(72px, 7vw, 108px);
}

.bw-section--white { background: #fff; }
.bw-section--paper { background: #f5f3ef; }
.bw-section--soft { background: #f0f0ee; }
.bw-section--ink,
.bw-section--software,

.bw-section--software {
  background:
    radial-gradient(circle at 82% 20%, rgba(239,31,47,.14), transparent 36%),
    linear-gradient(135deg, #07090d, #11151d 74%, #090a0d);
}

.bw-section-heading {
  max-width: 980px;
  margin-bottom: 48px;
}

.bw-section-heading h2,
.bw-proof h2 {
  margin: 0;
  color: #151515;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.bw-section-heading--light h2,
.bw-section-heading--light .bw-section-lead,
.bw-proof h2 {
  color: #fff;
}

.bw-section-lead {
  max-width: 900px;
  margin: 0;
  color: #505050;
  font-size: 17px;
  line-height: 1.7;
}

.bw-section-heading--light .bw-section-lead {
  color: rgba(255,255,255,.72);
}

.bw-regulation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bw-regulation-card {
  min-height: 252px;
  padding: 28px 26px;
  border: 1px solid #d8d5cf;
  background: rgba(255,255,255,.74);
}

.bw-regulation-card--accent {
  border-color: #ef1f2f;
  color: #fff;
  background: #ef1f2f;
}

.bw-regulation-card strong {
  display: block;
  margin-bottom: 20px;
  color: #ef1f2f;
  font-size: 11px;
  letter-spacing: .14em;
}

.bw-regulation-card--accent strong { color: #fff; }

.bw-regulation-card h3 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.08;
}

.bw-regulation-card p,
.bw-problem-card p,
.bw-value-card p,
.bw-software-grid p,
.bw-benefit-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

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

.bw-problem-card {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
}

.bw-problem-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  fill: none;
  stroke: #ef1f2f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bw-problem-card h3,
.bw-value-card h3,
.bw-software-grid h3,
.bw-benefit-grid h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.bw-problem-card p { color: rgba(255,255,255,.72); }

.bw-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.bw-flow article {
  position: relative;
  min-height: 210px;
  padding: 34px 30px;
  border: 1px solid #dedede;
  background: #fff;
}

.bw-flow article b {
  display: block;
  margin-bottom: 22px;
  color: #ef1f2f;
  font-size: 31px;
  font-weight: 500;
}

.bw-flow article h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.bw-flow article p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.bw-flow__arrow {
  align-self: center;
  color: #ef1f2f;
  font-size: 34px;
}

.bw-positioning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.bw-positioning {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  margin: 0;
  padding: 26px 30px;
  background: #111;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  color: #fff;
  text-align: center;
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .045em;
}

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

.bw-value-card {
  padding: 36px 32px;
  border-top: 4px solid #ef1f2f;
  background: #fff;
  box-shadow: 0 14px 42px rgba(0,0,0,.07);
}

.bw-value-card > span {
  display: block;
  margin-bottom: 42px;
  color: #ef1f2f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.bw-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bw-responsibility-card {
  padding: clamp(34px, 4vw, 56px);
  border: 1px solid #d9d9d9;
  background: #f7f7f5;
}

.bw-responsibility-card--dark {
  color: #fff;
  border-color: #11151c;
  background: #0b0e13;
}

.bw-responsibility-card__label {
  margin: 0 0 18px;
  color: #ef1f2f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.bw-responsibility-card h3 {
  margin: 0 0 28px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.15;
}

.bw-responsibility-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bw-responsibility-card li {
  position: relative;
  padding-left: 25px;
  line-height: 1.55;
}

.bw-responsibility-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 9px;
  height: 2px;
  background: #ef1f2f;
}

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

.bw-software-grid article {
  min-height: 176px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.045);
}

.bw-software-grid h3 { color: #ef1f2f; }
.bw-software-grid p { color: rgba(255,255,255,.72); }

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

.bw-benefit-grid article {
  min-height: 190px;
  padding: 30px 24px;
  border: 1px solid #e0e0e0;
  border-bottom: 4px solid #ef1f2f;
  background: #fff;
}

.bw-proof {
  padding-block: 56px;
  color: #fff;
  background: #17191e;
}

.bw-proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.bw-proof h2 {
  margin-bottom: 14px;
  font-size: clamp(27px, 2.8vw, 42px);
}

.bw-proof__inner > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
}

.bw-proof a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: #ef1f2f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .18s ease, background .18s ease;
}

.bw-proof a:hover,
.bw-proof a:focus-visible {
  transform: translateY(-2px);
  background: #ca1423;
}

@media (max-width: 1100px) {
  .bw-shell { width: min(calc(100% - 48px), 1320px); }
  .bw-regulation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bw-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .bw-hero {
    min-height: 680px;
  }

  .bw-hero__media img {
    object-position: 64% center;
  }

  .bw-hero__overlay {
    background:
      linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.74) 47%, rgba(0,0,0,.18) 100%),
      linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%);
  }

  .bw-hero__content { justify-content: flex-end; }
  .bw-problem-grid,
  .bw-value-grid,
  .bw-software-grid { grid-template-columns: 1fr; }
  .bw-flow { grid-template-columns: 1fr; }
  .bw-flow__arrow { transform: rotate(90deg); justify-self: center; }
  .bw-responsibility-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .bw-shell { width: min(calc(100% - 32px), 1320px); }
  .bw-hero {
    min-height: 660px;
  }
  .bw-hero__content { padding-block: 42px; }
  .bw-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .bw-hero__claim { font-size: 22px; }
  .bw-section { padding-block: 68px; }
  .bw-section-heading { margin-bottom: 36px; }
  .bw-section-heading h2 { font-size: clamp(30px, 9vw, 42px); }
  .bw-regulation-grid,
  .bw-benefit-grid,
  .bw-positioning-grid { grid-template-columns: 1fr; }
  .bw-regulation-card { min-height: auto; }
  .bw-value-card > span { margin-bottom: 24px; }
  .bw-proof { padding-block: 46px; }
}

@media (max-width: 500px) {
  .bw-hero {
    min-height: 620px;
  }
  .bw-hero__media img { object-position: 69% center; }
  .bw-hero__overlay {
    background:
      linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 48%, rgba(0,0,0,.18) 100%);
  }
  .bw-hero__content { justify-content: flex-end; }
  .bw-hero__lead { max-width: 100%; font-size: 14px; }
  .bw-section-lead { font-size: 15px; }
  .bw-positioning { min-height: 86px; padding: 22px 20px; }
  .bw-problem-card,
  .bw-value-card,
  .bw-flow article,
  .bw-responsibility-card,
  .bw-software-grid article,
  .bw-benefit-grid article { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .bw-proof a { transition: none; }
}

/* REVISIONE 14 — correzioni responsive smartphone/tablet */
@media (max-width: 900px) {
  .bw-proof__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .bw-proof__inner > div {
    min-width: 0;
  }

  .bw-proof h2 {
    max-width: 22ch;
    font-size: clamp(2rem, 7vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .bw-proof__inner > div > p:last-child {
    max-width: 60ch;
    font-size: 1rem;
  }

  .bw-proof a {
    justify-self: start;
    width: auto;
    max-width: 100%;
    min-height: 52px;
    padding-inline: 24px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .bw-page {
    overflow-x: clip;
  }

  .bw-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    background: #000;
  }

  .bw-hero__media {
    position: relative;
    inset: auto;
    left: auto;
    order: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    transform: none;
    background: #000;
  }

  .bw-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .bw-hero__media::before,
  .bw-hero__media::after,
  .bw-hero__overlay {
    display: none;
  }

  .bw-hero__content {
    order: 2;
    min-height: 0;
    width: min(calc(100% - 32px), 1320px);
    padding: 38px 0 46px;
    justify-content: flex-start;
    background: #000;
  }

  .bw-kicker {
    margin-bottom: 12px;
  }

  .bw-hero h1 {
    max-width: none;
    font-size: clamp(2.9rem, 14vw, 4.4rem);
    line-height: .98;
  }

  .bw-title-line {
    margin: 20px 0 20px;
  }

  .bw-hero__claim {
    max-width: 22ch;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.22;
  }

  .bw-hero__lead {
    max-width: 38ch;
    margin-top: 16px;
    font-size: .95rem;
    line-height: 1.6;
  }

  .bw-proof__inner {
    gap: 24px;
  }

  .bw-proof h2 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .bw-proof a {
    width: 100%;
  }
}
