/* Sostenibilità (/sostenibilita): vuoto a rendere e cargo bike.
   Usa i pezzi del sito (sito.css); qui solo testata, anello del giro della
   bottiglia e sezione della cargo bike. */

/* ------------------------------------------------------------ testata */

.sost-testa {
  padding: 48px 0 72px;
  border-bottom: var(--bordo);
  background: var(--crema-2);
}

.sost-testa__interno {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.sost-testa h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  max-width: 11ch;
}

.sost-testa__intro {
  max-width: 34em;
  margin: 22px 0 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--nero-2);
}

.sost-salti {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.sost-salti a {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--nero);
  color: var(--crema);
  font-weight: 800;
  text-decoration: none;
  transition: background var(--t);
}

.sost-salti a:hover {
  background: var(--rosso);
}

.sost-testa__foto {
  margin: 0;
  transform: rotate(1.5deg);
}

/* ------------------------------------------------- giro della bottiglia */

.sost-giro__testa {
  max-width: 680px;
}

.sost-giro__testa h2,
.sost-bici h2 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
}

.sost-giro__testa h2 em {
  font-style: normal;
  font-family: var(--slab);
  font-weight: 900;
  text-transform: none;
  color: var(--rosso);
}

.sost-giro__testa p {
  font-size: 1.12rem;
  line-height: 1.6;
}

.sost-giro__testa p + p {
  margin-top: 14px;
}

/* L'anello: quattro tappe sui punti cardinali di un cerchio di frecce,
   il motto al centro. Sotto i 760px diventa un elenco. */
.sost-anello {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 1;
  margin: 40px auto 0;
}

.sost-anello__cerchio {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--rosso);
}

.sost-anello__cerchio path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.sost-anello__tappe {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tappa;
}

.sost-anello__tappe li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border: var(--bordo);
  border-radius: var(--r);
  background: var(--carta);
  box-shadow: var(--ombra-piccola);
  counter-increment: tappa;
}

.sost-anello__tappe li::before {
  content: counter(tappa);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rosso);
  color: #fff;
  font-family: var(--slab);
  font-weight: 900;
  font-size: 1.15rem;
}

.sost-anello__tappe li:nth-child(1) {
  grid-area: 1 / 2;
  align-self: start;
}

.sost-anello__tappe li:nth-child(2) {
  grid-area: 2 / 3;
  align-self: center;
}

.sost-anello__tappe li:nth-child(3) {
  grid-area: 3 / 2;
  align-self: end;
}

.sost-anello__tappe li:nth-child(4) {
  grid-area: 2 / 1;
  align-self: center;
}

.sost-anello__tappe h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
  line-height: 1;
}

.sost-anello__tappe p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.sost-anello__motto {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--slab);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  text-align: center;
  color: var(--rosso);
}

/* Riquadro «Hai dei vuoti a casa?» (grafica di Milly, 01/12/2026): titolo,
   due righe, i tre passi con le icone rosse, poi le tre bottiglie con il
   cartellino dello sconto e il formato sotto. Niente cornice: è aperto. */
.sost-riporta {
  width: min(100%, 900px);
  margin: 72px auto 0;
  text-align: center;
}

.sost-riporta h3 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.sost-riporta p {
  margin: 0;
  line-height: 1.55;
}

.sost-riporta__intro {
  font-size: 1.12rem;
  color: var(--nero-2);
}

.sost-passi {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sost-passi li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}

.sost-passi li + li::before {
  content: '';
  width: 44px;
  height: 2px;
  margin: 0 14px;
  background: var(--nero);
}

.sost-passi li + li {
  position: relative;
}

.sost-passi li + li::after {
  content: '';
  position: absolute;
  left: 50px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--nero);
  border-right: 2px solid var(--nero);
  transform: translateY(-50%) rotate(45deg);
}

.sost-passi svg {
  flex: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--rosso);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Le bottiglie poggiano sulla stessa linea; il cartellino sta in alto a
   sinistra di ognuna, con l'ombra piena come le schede del sito. */
.sost-vuoti {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px clamp(20px, 5vw, 56px);
  margin: 44px 0 30px;
  padding: 0;
  list-style: none;
}

.sost-vuoti__voce {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    'sconto bottiglia'
    '. formato';
  align-items: start;
}

.sost-vuoti__sconto {
  grid-area: sconto;
  position: relative;
  z-index: 1;
  margin: -34px -6px 0 0;
  padding: 8px 14px;
  border: var(--bordo);
  border-radius: 10px;
  background: var(--carta);
  box-shadow: -4px 4px 0 var(--nero);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.05;
  white-space: nowrap;
}

.sost-vuoti__sconto b {
  display: block;
  font-size: 1.3rem;
}

.sost-vuoti__voce img {
  grid-area: bottiglia;
  width: auto;
  height: 130px;
}

.sost-vuoti__voce--75cl img {
  height: 175px;
}

.sost-vuoti__voce--150cl img {
  height: 225px;
}

.sost-vuoti__formato {
  grid-area: formato;
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
}

.sost-riporta__dove {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 22px;
  border-top: 1px solid var(--linea);
}

.sost-riporta__dove p {
  font-size: 0.95rem;
}

/* ----------------------------------------------------------- cargo bike */

.sost-bici p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e9dfcf;
}

.sost-bici .sost-motto {
  margin: 26px 0;
  font-family: var(--slab);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  color: #fff;
}

.sost-azioni {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sost-bici__foto {
  margin: 0;
}

/* ------------------------------------------------------------- telefono */

@media (max-width: 900px) {
  .sost-testa__interno {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sost-testa__foto {
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  .sost-anello {
    aspect-ratio: auto;
    margin-top: 28px;
  }

  .sost-anello__cerchio {
    display: none;
  }

  .sost-anello__tappe {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .sost-passi {
    flex-direction: column;
    gap: 0;
  }

  .sost-passi li {
    flex-direction: column;
    gap: 6px;
    font-size: 1.15rem;
  }

  .sost-passi li + li::before {
    width: 2px;
    height: 22px;
    margin: 8px 0 4px;
  }

  .sost-passi li + li::after {
    left: 50%;
    top: 25px;
    transform: translateX(-50%) rotate(135deg);
  }

  .sost-vuoti {
    gap: 14px;
  }

  .sost-vuoti__voce {
    grid-template-columns: auto;
    grid-template-areas: 'sconto' 'bottiglia' 'formato';
    justify-items: center;
  }

  .sost-vuoti__sconto {
    margin: 0 0 10px;
    padding: 6px 9px;
    font-size: 0.85rem;
    box-shadow: -3px 3px 0 var(--nero);
  }

  .sost-vuoti__sconto b {
    font-size: 1rem;
  }

  .sost-vuoti__voce img {
    height: 80px;
  }

  .sost-vuoti__voce--75cl img {
    height: 106px;
  }

  .sost-vuoti__voce--150cl img {
    height: 136px;
  }

  .sost-vuoti__formato {
    font-size: 1.1rem;
  }

  .sost-anello__motto {
    position: static;
    width: auto;
    margin-top: 22px;
    transform: none;
  }
}

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