@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

* {
    vertical-align: baseline;
    font-weight: inherit;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
  }

:root {
  --verde: #298e52;
  --verde-due: #77ab58;
  --verde-tre: #bbc767;
  --giallo: #ffe081;
  --nero: #000000;
  --grigio: #F6F6F6;
  --bianco: #FFFFFF;
  --font-titolo: 'Brockmann', sans-serif;
  --font-testo: 'Inter Tight', sans-serif;
  --spaziatura: -3%;
}

/* TIPOGRAFIA ED ELEMENTI GLOBALI */

@font-face {
  font-family: 'Brockmann';
  src: url('../Brockmann/brockmann-medium-webfont.woff2') format('woff2');
}

body {
  font-family: var(--font-testo);
  font-weight: 300;
  color: var(--nero);
  font-size: 1.2vw;
  line-height: 1.3em;
}

h1 {
  font-family: var(--font-titolo);
  color: var(--verde);
  font-size: 5vw;
  letter-spacing: var(--spaziatura);
  line-height: 1em;
}

h2 {
  font-family: var(--font-titolo);
  letter-spacing: var(--spaziatura);
  color: var(--rosso);
  font-size: 6vw;
  line-height: 1em;
}

h3 {
  font-family: var(--font-titolo);
  letter-spacing: var(--spaziatura);
  color: var(--rosso);
  font-size: 3vw;
  line-height: 1em;
}

h4 {
  font-family: var(--font-testo);
  font-weight: 400;
  font-size: 2vw;
  line-height: 1.2em;
}

h5 {
  font-family: var(--font-testo);
  font-weight: 600;
  color: var(--rosso);
  font-size: 1.2em;
  line-height: 1em;
  text-wrap: balance;
}

.font-weight-bold {
  font-weight: 800!important;
  color: var(--nero);
}

a {
  color: var(--nero);

  &:hover {
    text-decoration: none;
    color: var(--nero);
  }
}

.verde {
  color: var(--verde);
}

.verde-due {
  color: var(--verde-due);
}

.verde-tre {
  color: var(--verde-tre);
}

.giallo {
  color: var(--giallo);
}

.nero {
  color: var(--nero);
}

.bianco {
  color: var(--bianco);
}

img {
  border-radius: 50px;
}

.img-par, .img-par-due {
  overflow: hidden;
  position: relative;
  border-radius: 50px;
}

.img-par img, .img-par-due img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
}


/* PADDING - MARGINI */
.pd-top-200 {
  padding-top: 200px;
}

.pd-top-100 {
  padding-top: 100px;
}

.pd-top-50 {
  padding-top: 50px;
}

.pd-top-25 {
  padding-top: 25px;
}

.pd-top-10 {
  padding-top: 10px;
}

.pd-top-btm-100 {
  padding: 100px 0;
}

.pd-btm-50 {
  padding-bottom: 50px;
}

.pd-btm-25 {
  padding-bottom: 25px;
}

.pd-btm-10 {
  padding-bottom: 10px;
}

.mg-top-100 {
  margin-top: 100px;
}

/* CURSORE PERSONALIZZATO */
.outline {
  width: 0;
  height: 0;
  border-radius: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  transform: translate(-50px, -50px);
  transition: all .2s cubic-bezier(.215, .61, .355, 1);
  pointer-events: none;
}

.outline.hover {
  width: 175px;
  height: 175px;
  content: url('../img/Scopri_Prog.svg');
  border: 0;
}

a.curs {
  cursor: none;
}


/* ------------------------------------------------ CTA ------------------------------------------------ */

/* ── Wrapper STD ──────────────────────────────── */
.read-more-wrap {
  display: inline-block;
  padding-top: 50px;
  width: fit-content;
}

/* ── Link ─────────────────────────────────── */
.wgl-cases__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--verde);
  font-size: 2vw;
  letter-spacing: var(--spaziatura);
  font-family: var(--font-titolo);
  transition: all .5s cubic-bezier(.215, .61, .355, 1);
}

/* ── Contenitore freccia (spazio riservato) ── */
.read-more-icon {
  display: inline-block;
  width: 1.8vw;
  height: 25px;
  overflow: hidden;
  position: relative;
}

/* ── Freccia con ::before ─────────────────── */
.read-more-icon::before {
  content: "→";
  font-size: 2vw;
  color: var(--nero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  transition: transform 0.3s ease;
  width: 50px;
}

/* ── Hover: esce a destra e rientra da sinistra ── */
.wgl-cases__button:hover .read-more-icon::before {
  animation: arrow-slide .3s ease forwards;
  color: var(--verde);
}

@keyframes arrow-slide {
  0%   { transform: translateY(-50%) translateX(0); }
  49%  { transform: translateY(-50%) translateX(120%); opacity: 0; }
  50%  { transform: translateY(-50%) translateX(-120%); opacity: 0; }
  100% { transform: translateY(-50%) translateX(0); opacity: 1; }
}

/* ── Wrapper BIANCO ──────────────────────────────── */

.read-more-wrap-bianco {
  display: inline-block;
  padding-top: 50px;
}

/* ── Link ─────────────────────────────────── */
.wgl-cases__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--nero);
  font-size: 2vw;
  letter-spacing: var(--spaziatura);
  font-family: var(--font-titolo);
  transition: all .5s cubic-bezier(.215, .61, .355, 1);
}

/* ── Contenitore freccia (spazio riservato) ── */
.read-more-icon {
  display: inline-block;
  width: 1.8vw;
  height: 25px;
  overflow: hidden;
  position: relative;
}

/* ── Freccia con ::before ─────────────────── */
.read-more-icon::before {
  content: "→";
  font-size: 2vw;
  color: var(--nero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  transition: transform 0.3s ease;
  width: 50px;
}

/* ── Hover: esce a destra e rientra da sinistra ── */
.wgl-cases__button:hover .read-more-icon::before {
  animation: arrow-slide .3s ease forwards;
  color: var(--nero);
}

/* CTA SM */

.cta-sm-forse {
  background: var(--nero);
  padding: 15px 15px;
  text-align: center;
  font-size: 5vw;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--verde);
  border-radius: .6em;
  font-family: var(--font-testo);
  margin-top: 50px;
  width: 100%;
}

.cta-sm {
  font-size: 6vw;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--verde);
  border-radius: .6em;
  font-family: var(--font-titolo);
  letter-spacing: var(--spaziatura);
  margin-top: 50px;
  width: 100%;
  display: block;

  &::before {
    content: "→";
    font-size: 7vw;
    color: var(--nero);
    margin-right: 10px;
  }
}

.cta-sm-due {
  font-size: 6vw;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--bianco);
  border-radius: .6em;
  font-family: var(--font-titolo);
  letter-spacing: var(--spaziatura);
  margin-top: 50px;
  width: 100%;
  display: block;

  &::before {
    content: "→";
    font-size: 7vw;
    color: var(--nero);
    margin-right: 10px;
  }
}

.cta-sm-tre {
  font-size: 6vw;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--bianco);
  border-radius: .6em;
  font-family: var(--font-titolo);
  letter-spacing: var(--spaziatura);
  margin-top: 20px;
  margin-bottom: 50px;
  width: 100%;
  display: block;

  &::before {
    content: "→";
    font-size: 7vw;
    color: var(--verde);
    margin-right: 10px;
  }
}

/* ------------------------------------------------ HOME PAGE ------------------------------------------------ */

#heroHome {
  padding: 100px 0;
  height: auto;
  width: 100%;
  background-image: url('../img/Hero.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  h2 {
    font-size: clamp(2rem, 25vw, 25vw);
    white-space: nowrap;
    text-align: center;
  }

  h1 {
    color: var(--bianco);
    padding-top: 100px;
    padding-bottom: 150px;
  }

  h3 {
    color: var(--giallo);
    padding-bottom: 150px;
  }

  h4 {
    color: var(--bianco);
    font-size: 1.7vw;
    font-weight: 400;
    width: 75%;
  }

  .col-lg-4 {
    display: flex;
    align-items: end;
  }

  .linea-prog {
    margin-bottom: 25px;
  }

  .logo-pit {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    opacity: .2;
  }
}

.linea {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--verde);
}

.linea-prog {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bianco);
  transform-origin: left center; /* fondamentale: parte da sinistra */
}

#homeDue {
  padding: 150px 0;

  h2 {
    font-size: 12vw;
    font-family: var(--font-testo);
    font-weight: 700;
    padding-bottom: 100px;
    padding-left: 50px;
  }



  h5 {
    padding: 50px 0;
  }

  .uno {
    width: 100%;
    height: 700px;
  }

  p {
    padding-left: 50px;
  }

  .col-12.col-lg-5 {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
  }
}

#divisioniHome {
  h2 {
    white-space: pre-line;
    background: var(--nero);
    position: relative;
    z-index: 1;
    padding: 25px 35px;
    border-radius: 50px;
    margin-bottom: 200px;
    font-size: 5vw;
  }

  h4 {
    color: var(--nero);
  }

  .cont {
    padding: 0 1em;
  }

  .riga {
    display: flex;
    gap: 20px;
  }

  .ambiente {
    width: 100%;
    height: 100%;
    padding: 50px;
    background: var(--verde-due);
    border-radius: 50px;
    position: relative;

    h2 {
      color: var(--verde-due);
    }
  }

  .calcestruzzo {
    width: 100%;
    height: 100%;
    padding: 50px;
    background: var(--verde-tre);
    border-radius: 50px;
    position: relative;

    h2 {
      color: var(--verde-tre);
    }

    .cont-img.due {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;

      img {
        filter: grayscale(1);
        mix-blend-mode: soft-light;
        opacity: .5;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }

  .cont-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    img {
      filter: grayscale(1);
      mix-blend-mode: soft-light;
      opacity: .5;
    }
  }
}

#marqueeSec {
  padding: 200px 0;
  position: relative;

    .img {
      width: 30vw;
      height: 20vh;
      position: absolute;
      top: 200px;
      left: 50%;
      transform: translate(-50%);
      z-index: 1;
      mix-blend-mode: screen;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }

#sostenibilita.marquee-sec {
  padding: 200px 0;
  position: relative;

    .img {
      width: 30vw;
      height: 20vh;
      position: absolute;
      top: 200px;
      left: 50%;
      transform: translate(-50%);
      z-index: 1;
      mix-blend-mode: screen;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }

  .cont-marquee {
  overflow: hidden;
  width: 100%;

    h2 {
    display: flex;
    white-space: nowrap;
    align-items: center;
    font-size: 8em;
    color: var(--verde);
    }

    .marquee-inner {
      display: flex;
      width: max-content;
      padding-top: 10px;
    }
  }

.eracem {
  font-family: var(--font-titolo);
  font-size: 110%;
}

#fiducia {
  background: var(--giallo);
  padding: 150px 0;

  h2 {
    font-family: var(--font-testo);
    font-size: 9vw;
    text-align: center;
    padding-bottom: 50px;
    line-height: 1.2em;
  }

  .cards-wrapper {
    overflow: hidden;
    border-radius: 50px;
  }

  .cards-track {
    display: flex;
    gap: 30px;
    width: max-content;
  }

  .col-card {
    width: 80vw;
    flex-shrink: 0;
  }

  .cont {
    display: flex;
    gap: 20px;
  }

  .uno {
    background: var(--verde);
    border-radius: 50px;
    padding: 50px;
  }

  .due {
    background: var(--verde-due);
    border-radius: 50px;
    padding: 50px;
  }

  .tre {
    background: var(--verde-tre);
    border-radius: 50px;
    padding: 50px;
  }

  .cont-testo {
    width: 50%;
    padding-right: 100px;
  }

  .cont-img {
    width: 50%;

    img {
      width: 100%;
      height: 40vh;
      object-fit: cover;
    }
  }

  h3 {
    color: var(--bianco);
    padding-bottom: 50px;
  }

  .hvr-underline-from-left:before {
    background: var(--bianco) !important;
  }
}

/* ============== PAGINE INTERNE — HERO ============== */
#heroPagina {
  padding: 200px 0 100px;
  background-image: url('../img/Chi_Siamo_01.jpg');
  background-size: cover;
  background-position: center;

  h2 {
    font-size: clamp(2rem, 18vw, 18vw);
    text-transform: lowercase;
    color: var(--bianco);
    text-align: right;
    opacity: .35;
    mix-blend-mode: overlay;
  }

  h1 {
    color: var(--bianco);
    padding-top: 50px;
    padding-bottom: 150px;
  }

  h3 {
    color: var(--giallo);
  }

  h4 {
    color: var(--bianco);
    font-size: 1.7vw;
    font-weight: 400;
    padding-top: 25px;
  }

  .col-lg-4 {
    display: flex;
    align-items: end;
  }

  .linea-prog {
    margin-bottom: 25px;
  }
}

/* ============== PAGINE INTERNE — HERO (VARIANTE) ============== */
#heroPaginaAlt {
  padding: 250px 0 100px;

  .col-lg-7 {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    padding-right: 100px;
  }

  .etichetta {
    align-self: flex-start;
    background: var(--giallo);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    margin-bottom: 50px;
  }

  h1 {
    padding-bottom: 50px;
  }

  h3 {
    color: var(--nero);
    padding-bottom: 50px;
  }

  h4 {
    font-size: 1.7vw;
    font-weight: 400;
    padding-top: 25px;
  }

  .linea-prog {
    background: var(--verde);
  }

  .cont-img {
    width: 100%;
    height: 700px;
  }
}

/* ============== PAGINA AMBIENTE — SERVIZI ============== */
#sostenibilita.servizi-ambiente {
  padding: 150px 0;

  h2 {
    font-family: var(--font-testo);
    font-size: 9vw;
    font-weight: 700;
    padding-bottom: 75px;
  }

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

  .servizio {
    border-radius: 50px;
    padding: 50px;
    display: flex;
    flex-direction: column;

    h3 {
      color: var(--bianco);
      font-size: 2.2vw;
      padding-bottom: 25px;
    }

    .cont-img {
      margin-top: auto;
      padding-top: 50px;
      width: 100%;

      img {
        width: 100%;
        height: 35vh;
        object-fit: cover;
        display: block;
      }
    }
  }

  .uno {
    background: var(--verde);
  }

  .due {
    background: var(--verde-due);
  }

  .tre {
    background: var(--verde-tre);
  }
}

/* ============== PAGINA CALCESTRUZZO — INTRO ============== */
#introCalcestruzzo {
  padding: 150px 0;

  .cont-img {
    width: 100%;
    height: 600px;
  }

  .testo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 75px;
  }

  h5 {
  padding: 50px 0 5px;
  }
}

/* ============== PAGINA CALCESTRUZZO — PRODOTTI (lista interattiva) ============== */
#sostenibilita.prodotti-calcestruzzo {
  padding: 100px 0 150px;
  background: var(--giallo);

  .intestazione {
    align-items: end;
    margin-bottom: 100px;

    h2 {
      font-family: var(--font-testo);
      color: var(--verde);
      font-size: 12vw;
      font-weight: 700;
    }

    h4 {
      font-size: 1.5vw;
      font-weight: 400;
      padding-bottom: 15px;
    }
  }

  .lista-prodotti {
    position: relative;
  }

  .riga-prodotto {
    display: block;
    border-bottom: 2px solid var(--nero);
    padding: 35px 0;

    &:last-child {
      border-bottom: 2px solid var(--nero);
    }
  }

  .riga-head {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 58%;

    .numero {
      font-family: var(--font-titolo);
      font-size: 1.5vw;
      color: var(--verde);
    }

    h3 {
      flex: 1;
      color: var(--nero);
      transition: transform .4s cubic-bezier(.215, .61, .355, 1), color .4s;
    }

    .freccia {
      font-family: var(--font-titolo);
      font-size: 2.5vw;
      color: var(--nero);
      opacity: 0;
      transform: translateX(-20px);
      transition: all .4s cubic-bezier(.215, .61, .355, 1);
    }
  }

  .riga-preview {
    position: absolute;
    top: 35%;
    right: 0;
    width: 36%;
    transform: translateY(-50%) scale(.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, transform .45s cubic-bezier(.215, .61, .355, 1);
    z-index: 5;
    background: var(--verde-due);
    border-radius: 50px;
    padding: 50px;

    .cont-img {
      width: 100%;
      height: 340px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    p {
      padding-top: 25px;
    }
  }

  .riga-prodotto:hover {
    .numero {
      color: var(--verde);
    }

    h3 {
      color: var(--verde);
      transform: translateX(30px);
    }

    .freccia {
      opacity: 1;
      transform: translateX(0);
    }

    .riga-preview {
      opacity: 1;
      visibility: visible;
      transform: translateY(-50%) scale(1);
      pointer-events: auto;
    }
  }
}

/* ============== PAGINA CHI SIAMO — L'AZIENDA ============== */
#aziendaChiSiamo {
  padding: 150px 0;

  .cont-img {
    width: 100%;
    height: 600px;
  }

  .testo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 75px;
    
    p {
      width: 75%;
    }
  }

  .due {
    width: 50%;
    height: 60%;
    float: right;
    margin-top: 50px;
  }

  .logo {
    border-radius: 0;
    width: 50%;
    margin-bottom: 100px;
  }

  h5 {
    font-family: var(--font-titolo);
    letter-spacing: var(--spaziatura);
    font-size: 2vw;
    width: 75%;
    line-height: 1.1em;
    padding-top: 50px;
  }
}

/* ============== PAGINA CHI SIAMO — PRINCIPI (stats + accordion) ============== */
#principi {
  position: relative;
  background-image: url('../img/Chi_Siamo_04.jpg');
  background-size: cover;
  padding: 100px 75px;

  .row {
    align-items: stretch;
  }

  .cont-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0;
    }
  }

  .lato-img {
    display: flex;
    flex-wrap: wrap;
    align-content: end;
  }

  .stats {
    position: relative;
    display: flex;
    gap: 20px;
  }

  .stat-card {
    width: 230px;
    height: 260px;
    border-radius: 35px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    h4 {
      font-size: 1vw;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .counter {
      font-family: var(--font-titolo);
      font-size: 4vw;
      line-height: 1;
      letter-spacing: var(--spaziatura);
    }
  }

  .stat-card.uno {
    background: var(--verde-due);
    color: var(--nero);
  }

  .stat-card.due {
    background: var(--verde-tre);
    color: var(--nero);
  }

  /* pannello scuro con accordion */
  .lato-testo {
    border-radius: 50px;
    padding: 75px;
    color: var(--bianco);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.5px);
    -webkit-backdrop-filter: blur(9.5px);
  }

  .eyebrow {
    display: block;
    text-transform: uppercase;
    font-size: 1vw;
    color: var(--verde);
    margin-bottom: 20px;
    font-weight: 700;
  }

  .lato-testo h2 {
    color: var(--bianco);
    font-size: 3.5vw;
    font-family: var(--font-titolo);
    letter-spacing: var(--spaziatura);
    font-weight: 700;
    padding-bottom: 50px;
  }

  .principi-accordion .cont {
    border-top: 2px solid var(--verde);

    &:last-child {
      border-bottom: 2px solid var(--verde);
    }
  }

  .cont-titolo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    cursor: pointer;

    h3 {
      color: var(--bianco);
      font-size: 1.8vw;
      transition: color .4s;
    }

    .arrow {
      font-family: var(--font-titolo);
      font-size: 1.6vw;
      color: var(--bianco);
      transition: transform .4s, color .4s;
    }

    /* aperto (Bootstrap toglie .collapsed quando espanso) */
    &:not(.collapsed) {
      h3 {
        color: var(--verde);
      }

      .arrow {
        transform: rotate(180deg);
        color: var(--verde);
      }
    }
  }

  .cont-testo p {
    color: rgba(255, 255, 255, .7);
    padding-bottom: 30px;
  }
}

/* ============== PAGINA CHI SIAMO — SOSTENIBILITÀ ============== */
#sostenibilitaChiSiamo {
  padding: 100px 0;

  h2 {
    font-family: var(--font-titolo);
    letter-spacing: var(--spaziatura);
    font-size: 6vw;
    color: var(--nero);

    span {
      text-transform: uppercase;
    }
  }

  .testo {
    padding-left: 75px;
  }

  h5 {
    padding-top: 35px;
  }
}

#sostenibilita.sostenibilita-home {
  padding: 100px 0;

  h2 {
    font-size: 12vw;
    font-family: var(--font-testo);
    color: var(--verde);
    font-weight: 700;
    letter-spacing: normal;
    padding-bottom: 100px;
  }

  h5 {
    padding: 50px 0 100px;
  }

  .cont-img {
    width: 100%;
    height: 40vh;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

footer {
  background: var(--nero);
  padding: 150px 0 100px;
  color: var(--bianco);
  position: relative;

  #certificazioniContatti {
    padding-left: 50px;
    padding-right: 50px;

    h3 {
      color: var(--verde);
      padding-bottom: 25px;
    }

    span {
      font-family: var(--font-titolo);
      font-size: 200%;
      font-weight: 400;
    }

    span.verde {
      font-size: 105%;
    }
  }

  /* ── Wrapper VERDE ──────────────────────────────── */

  .read-more-wrap-verde {
    display: inline-block;
    padding-top: 50px;
  }

  /* ── Link ─────────────────────────────────── */
  .wgl-cases__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--bianco);
    font-size: 1vw;
    letter-spacing: var(--spaziatura);
    font-family: var(--font-titolo);
    transition: all .5s cubic-bezier(.215, .61, .355, 1);
  }

  /* ── Contenitore freccia (spazio riservato) ── */
  .read-more-icon {
    display: inline-block;
    width: 1.8vw;
    height: 25px;
    overflow: hidden;
    position: relative;
  }

  /* ── Freccia con ::before ─────────────────── */
  .read-more-icon::before {
    content: "→";
    font-size: 2vw;
    color: var(--verde);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    transition: transform 0.3s ease;
    width: 50px;
  }

  /* ── Hover: esce a destra e rientra da sinistra ── */
  .wgl-cases__button:hover .read-more-icon::before {
    animation: arrow-slide .3s ease forwards;
    color: var(--bianco);
  }

  .cta {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;

    h3 {
      color: var(--giallo)!important;
    }

    p {
      width: 85%;
    }

    h5 {
      color: var(--giallo);
    }
  }

  .form-contatti {
    margin-top: 100px;
    background: var(--bianco);
    padding: 50px;
    border-radius: 50px;

    p {
      margin-bottom: 0;
      font-family: var(--font-titolo);
      font-size: 1.8vw;
      letter-spacing: var(--spaziatura);
      padding-bottom: 10px;
      color: var(--nero);
    }

    a {
      color: var(--verde);
      font-family: var(--font-titolo);
      font-size: 1.8vw;
      letter-spacing: var(--spaziatura);
    }

    span.linea {
      margin: 25px 0;
    }

    img {
      width: 150px;
      border-radius: 0;
      margin-bottom: 50px;
    }

    h2 {
      color: var(--nero);
      padding-bottom: 50px;
    }

    form {
      color: var(--nero);

      .form-control {
        border: solid 2px var(--verde)!important;
        border-radius: .8em;
        padding: 20px 15px!important;

        &:focus {
          box-shadow: none!important;
        }
      }
      .row {
        margin: 15px 0;
      }

      label {
        font-size: 14px;
        line-height: 1.2em;

        a {
          color: var(--nero)!important;
          font-size: 14px;
          text-decoration: underline;
          transition: all .5s cubic-bezier(.215, .61, .355, 1);

          &:hover {
            color: var(--verde)!important;
          }
        }
      }

      button {
        width: 100%!important;
        padding: 10px 15px!important;
        border-radius: .8em;
        background-color: var(--verde)!important;
        border-color: transparent!important;
        transition: all .5s cubic-bezier(.215, .61, .355, 1);
        color: var(--nero)!important;
        font-family: var(--font-titolo);
        letter-spacing: var(--spaziatura);
        font-size: 1.2vw;
        text-transform: uppercase;

        &:hover {
          background-color: var(--nero)!important;
          color: var(--verde)!important;
        }
      }
    }
  }
  
  .dati {
    font-size: 75%;
    padding-top: 25px;
    width: 100%;
    display: flex;
    justify-content: space-between;

    a {
      color: var(--bianco);
      transition: all .5s cubic-bezier(.215, .61, .355, 1);

        &:hover {
        color: var(--verde)!important;
        }
    }
  }

  .logotipo {

    p {
      font-size: 28vw!important;
      line-height: 1em;
      height: 300px;
      font-family: var(--font-titolo);
      letter-spacing: var(--spaziatura);
      text-align: center;
    }
  }
}

#servizioCompleto {
  padding: 200px 0;
  position: relative;
  overflow: hidden;

  .container-fluid {
    position: relative;
    z-index: 1;
    mix-blend-mode: screen;
  }

  h4 {
    font-family: var(--font-titolo);
    letter-spacing: var(--spaziatura);
    color: #e0e0e0;
    line-height: 1.3em;
    font-size: 3vw;
  }

  .float-imgs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .float-img {
    position: absolute;
    will-change: transform;
    visibility: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

  .float-img.f1 { width: 50vw; height: 40vh; left: 5%;  top: 26%; }
  .float-img.f2 { width: 25vw; height: 40vh; left: 74%; top: 14%; }
  .float-img.f3 { width: 40vw; height: 40vh; left: 47%; top: 46%; }
  .float-img.f4 { width: 35vw; height: 40vh; left: 23%; top: 60%; }
}

.ev-forzato {
  color: var(--nero)!important;
}

#marqueeSec.ambiente {
  padding: 0;

  .cont-marquee {
  overflow: hidden;
  width: 100%;
  height: 100%;

    h2 {
    display: flex;
    white-space: nowrap;
    align-items: center;
    font-size: 6em;
    line-height: 2em;
    color: var(--nero);
    }

    .marquee-inner {
      display: flex;
      width: max-content;
      padding-top: 10px;
    }
  }
}

#sostenibilita.servizi-ambiente {

  span.eracem {
    font-family: var(--font-titolo);
    letter-spacing: var(--spaziatura);
    font-size: 115%;
  }
}

#immAzienda {

  .cont-img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: -1;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

#heroPagina.ambiente {
  padding: 200px 0 100px;
  background-image: url('../img/AR_01.jpg');
  background-size: cover;
  background-position: center;
}

#heroPagina.calcestruzzo {
  padding: 200px 0 100px;
  background-image: url('../img/Calcestruzzo_01.jpg');
  background-size: cover;
  background-position: center;
}

/* ============== THANK YOU PAGE ============== */
#grazie {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grigio);
  padding: 100px 0;

  .cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo img {
    width: 20vw;
    border-radius: 0;
    margin-bottom: 100px;
  }

  h1 {
    font-size: 8vw;
    padding-bottom: 35px;
  }

  p {
    font-size: 1.8vw;
    line-height: 1.3em;
    padding-bottom: 50px;
  }

  .btn-home {
    padding: 15px 50px;
    border-radius: .8em;
    background-color: var(--verde);
    color: var(--nero);
    font-family: var(--font-titolo);
    letter-spacing: var(--spaziatura);
    font-size: 1.2vw;
    text-transform: uppercase;
    transition: all .5s cubic-bezier(.215, .61, .355, 1);

    &:hover {
      background-color: var(--nero);
      color: var(--verde);
    }
  }
}