/*////////////// CSS REVISTO //////////////*/


.newsletter-seccion {
  position: relative;
  background: linear-gradient(to right, var(--color-secondary), var(--color-white));
  padding-block: clamp(5rem, 15vw, 10rem);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}


.nl-svg-boneco,
.nl-svg-ponte {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.nl-svg-boneco {
  left: 0;
  bottom: 0;
  width: clamp(100px, 18vw, 280px);
  height: auto;
}

.nl-svg-ponte {
  right: 0;
  top: clamp(2rem, 8vw, 6rem);
  width: clamp(100px, 20vw, 340px);
  height: auto;
}

.nl-svg-boneco svg,
.nl-svg-ponte svg {
  display: block;
  width: 100%;
  height: auto;
}

.newsletter-seccion .container {
  position: relative;
  z-index: 1;
}


.newsletter-box {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--soft-shadow);
  text-align: center;
}


.modal-nl-titulo {
  color: var(--color-heading);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.modal-nl-subtitulo {
  color: var(--color-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  opacity: 0.8;
}


.nl-form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
}

.nl-input {
  flex: 1 1 220px;
  max-width: 360px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: var(--color-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  max-height: 50px;
}

.nl-input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(4, 172, 211, 0.15);
  outline: none;
}

.nl-input::placeholder {
  color: var(--color-text);
  opacity: 0.55;
}

.btn-newsletter {
  color: var(--color-heading) !important;
  border: none;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}


@media (max-width: 767px) {
  .nl-svg-boneco {
    width: clamp(70px, 22vw, 130px);
    opacity: 0.5;
  }

  .nl-svg-ponte {
    width: clamp(70px, 24vw, 140px);
    opacity: 0.4;
    top: 0;
  }

  .nl-form-group {
    flex-direction: column;
    align-items: center;
  }

  .nl-input {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 479px) {

  .nl-svg-boneco,
  .nl-svg-ponte {
    display: none;
  }
}

@media (min-width: 1400px) {
  .nl-svg-boneco {
    width: clamp(220px, 16vw, 320px);
  }

  .nl-svg-ponte {
    width: clamp(260px, 18vw, 380px);
  }
}