/* RESET E STILI GLOBALI */

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 14px;
  overflow-x: hidden; /* Nascondi eventuale overflow orizzontale */
}

.nuova_landing {
  line-height: 1.25;
  font-family: "Montserrat", sans-serif;
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  background-color: var(--base-c1);
  color: var(--contrasto-c1);
  --base-c1: #0c161c;
  --contrasto-c1: #fff;
  --speciale-c1: #c12223;
  --cevi: #fff;
}

.nuova_landing * {
  margin: 0;
}

.nuova_landing-lmax {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  width: 100%;
}

.nuova_landing img {
  max-width: 100%;
  height: auto;
}

/* SEZIONE TOPBAR */
.nuova_landing-topbar {
  background: var(--contrasto-c1);
  color: var(--base-c1);
  padding: 1rem 0;
}

.nuova_landing-topbar-dx a {
  display: flex;
}

.nuova_landing-topbar-sx img {
  max-width: 200px;
  height: 42px;
}

.nuova_landing-topbar-dx {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  flex: 0 1 auto;
  justify-content: flex-end;
}

.nuova_landing-topbar-dx img {
  height: 32px;
}

.nuova_landing-topbar .nuova_landing-lmax {
  justify-content: space-between;
  gap: 15px;
}

.nuova_landing-topbar-dx p {
  font-size: 0.5rem;
  text-align: left;
  max-width: 220px;
}

/* SEZIONE HERO */
.nuova_landing-hero {
  background: url(imgs/sfondo-desk.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: flex-start;
}

.nuova_landing-hero .nuova_landing-lmax {
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.nuova_landing-hero-testi {
  max-width: 50%;
  width: 100%;
  gap: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8rem;
}

.nuova_landing-hero-testi h3 {
  color: var(--speciale-c1);
  font-size: 2.5rem;
  text-transform: uppercase;
}

.nuova_landing-hero-testi h1 {
  font-size: 5rem;
  text-transform: uppercase;
  max-width: 75%;
}

.nuova_landing-hero-testi p {
  font-size: 2rem;
}

.nuova_landing-hero-testi a {
  background-color: var(--speciale-c1);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2rem;
  text-decoration: unset;
  color: var(--cevi);
  max-width: fit-content;
  padding: 1rem 3rem;
}

.nuova_landing-hero-testi p.nuova_landing-small {
  font-size: 1rem;
}

/* SEZIONE CONTENUTO */
.nuova_landing-contenuto {
  width: 100%;
  max-width: 100%;
  background: rgb(193, 34, 35);
  background: linear-gradient(
    180deg,
    rgba(193, 34, 35, 1) 0%,
    rgba(12, 22, 28, 1) 85%
  );
}

.nuova_landing-contenuto .nuova_landing-lmax {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 3rem;
}

.nuova_landing-steps {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.nuova_landing-steps-nr {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
}

.nuova_landing-steps-nr-sx {
  font-size: 4rem;
  font-weight: 700;
  color: var(--speciale-c1);
  position: relative;
  background: none;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--speciale-c1);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  line-height: 1;
  align-items: flex-end;
}

.nuova_landing-steps-nr-sx::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border: 3px solid var(--cevi);
  border-radius: 50%;
  z-index: -1;
}

.nuova_landing-steps-nr-dx {
  font-size: 1rem;
}

.nuova_landing-steps-nr-dx h4 {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* SEZIONE FAQ */
.nuova_landing-faq {
  width: 100%;
  padding: 2rem;
  background-color: transparent;
  color: var(--contrasto-c1);
}

.nuova_landing-faq .accordion {
  background-color: transparent;
  color: var(--cevi);
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: background-color 0.3s;
  border: 1px solid var(--speciale-c1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.nuova_landing-faq .accordion:hover {
}

.nuova_landing-faq .accordion:after {
  content: "\002B";
  font-size: 1.5rem;
  float: right;
}

.nuova_landing-faq .accordion.active:after {
  content: "\2212";
}

.nuova_landing-faq .panel {
  padding: 1rem;
  background-color: transparent;
  display: none;
  overflow: hidden;
  color: var(--contrasto-c1);
  border: 1px solid var(--speciale-c1);
  border-top: 0px;
}

.nuova_landing-faq button.accordion.active {
  border-bottom: 0px;
}

/* SEZIONE FOOTER */
.nuova_landing-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--contrasto-c1);
}

.nuova_landing-footer .nlf-logo,
.nuova_landing-footer .nlf-aams {
  max-width: 150px;
  height: auto;
}

/* SEZIONE FOOTER */
.nuova_landing-footer {
  background-color: transparent;
  padding: 2rem;
  text-align: center;
  color: var(--contrasto-c1);
  width: 100%;
}

.nuova_landing-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.nuova_landing-footer p {
  font-size: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
}

.nuova_landing-footer-logos {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.nlf-logo,
.nlf-aams,
.nlf-pagamenti {
  max-width: 150px;
  height: auto;
}

img.nlf-pagamenti {
  max-width: 60%;
}

img.nlf-pagamenti.solo-desk {
  display: block !important;
}

/* MEDIA QUERY */
@media all and (max-width: 1530px) {
  .nuova_landing-lmax {
    max-width: calc(100% - 30px);
  }
}

@media all and (max-width: 1024px) {
  html {
    font-size: 12px;
  }

  .nuova_landing-hero {
    background-image: url(imgs/sfondo-mobil.jpg);
    align-items: flex-start;
    padding-top: 0;
    position: relative;
    min-height: calc(100vh - 61px);
  }

  .nuova_landing-hero:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #00000040;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .nuova_landing-hero * {
    z-index: 2;
  }

  .nuova_landing-hero-testi {
    max-width: 100%;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
  .nuova_landing-hero-testi h1 {
    max-width: 100%;
    font-size: 3.5rem;
  }

  .nuova_landing-steps {
    flex-direction: column;
  }

  .nuova_landing-steps-nr {
    justify-content: flex-start;
  }

  .nuova_landing-topbar-dx {
    display: none;
  }

  .nuova_landing-topbar .nuova_landing-lmax {
    justify-content: center;
  }

  .nuova_landing-topbar {
    background: var(--contrasto-c1);
  }

  .nuova_landing-topbar-sx img {
    height: 32px;
  }

  img.nlf-pagamenti.solo-desk {
    display: none !important;
  }

  img.nlf-pagamenti.solo-mobile {
    display: inline-block !important;
    width: 100% !important;
    max-width: 90% !important;
  }

  .nuova_landing-hero-testi p {
    font-size: 1.75rem;
  }

  .nuova_landing-hero-testi h3 {
    font-size: 2rem;
  }
}
